diff --git a/12888559_608979252584725_2061282693707058663_o.png b/12888559_608979252584725_2061282693707058663_o.png new file mode 100644 index 0000000..ea3172d Binary files /dev/null and b/12888559_608979252584725_2061282693707058663_o.png differ diff --git a/404.html b/404.html new file mode 100644 index 0000000..0a23c26 --- /dev/null +++ b/404.html @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + 404 Not Found | 六角學院 + + + + + + +
+
+ +

404 Not Found

+

Oops!你似乎迷路了

+
+
+

錯誤說明:

+

這個頁面可能不存在

+
+ +
+ 你可以點此 回到首頁,或等待 5 秒後自動跳轉。 +
+ +
+ 六角學院 +
+
+ + + + + + + \ No newline at end of file diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..7229a18 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +dev-hex-assistant.hexschool.io diff --git a/assets/QuestionsView.d5083a88.js b/assets/QuestionsView.d5083a88.js new file mode 100644 index 0000000..2f9c4b1 --- /dev/null +++ b/assets/QuestionsView.d5083a88.js @@ -0,0 +1 @@ +import{r as ae,o as X,a as p,w as B,b as i,c,d as e,e as N,f as S,v as Z,F as Q,g as D,t as u,h as ie,i as O,j as ye,k as be,l as W,m as P,n as ce,u as t,p as ke,q as ge,s as A,x as R,y as $e,z as oe,A as we}from"./index.e111e784.js";import{g as I,a as K,v as xe,A as le,_ as Re,C as ne,Q as Ce,D as qe,b as Le,c as Ae,l as w,d as re,e as Se,f as Qe,h as De}from"./formatUrl.12c7b985.js";const Ve={ref:"categoryRef",class:"my-3"},Ee={id:"accordionExample",ref:"bsAccordion",class:"accordion"},Ne=e("div",{class:"accordion-item"},[e("h2",{id:"headingOne",class:"accordion-header"},[e("button",{class:"accordion-button",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapseOne","aria-expanded":"true","aria-controls":"collapseOne"}," \u52A9\u6559\u529F\u80FD ")])],-1),Oe={class:"accordion-item"},Te={id:"collapseOne",class:"accordion-collapse collapse show","aria-labelledby":"headingOne","data-bs-parent":"#accordionExample"},Ue={class:"accordion-body"},Fe=["onSubmit"],Me={class:"row mb-3"},je={class:"col-md-7"},Pe=e("option",{value:0,selected:""}," \u5168\u90E8\u8AB2\u7A0B ",-1),Be=["value"],Ge={class:"row"},He={class:"col-md-7 mb-3"},ze={class:"input-group"},Je=e("option",{value:0,selected:""}," \u641C\u5C0B\u7BC4\u570D ",-1),Ie=["value"],Ke={key:0,id:"searchValueStatus",class:"mt-2 text-danger"},We={class:"mb-3"},Xe=e("h6",null,"\u4F86\u6E90\u7BE9\u9078",-1),Ye={class:"d-flex"},Ze={class:"form-check me-5"},es=e("label",{class:"form-check-label",for:"defaultAll"},"\u5168\u90E8",-1),ss=["id","onClick"],ts=["for"],os={class:"mb-3"},ls=e("h6",null,"\u56DE\u8986\u72C0\u614B",-1),ns={class:"d-flex"},as={class:"form-check me-5"},is=e("label",{class:"form-check-label",for:"radioAllAnswer"},"\u5168\u90E8",-1),cs={class:"form-check me-5"},rs=e("label",{class:"form-check-label",for:"radioNoReply"},"\u6C92\u6709\u56DE\u8986",-1),ds={class:"form-check"},us=e("label",{class:"form-check-label",for:"radioReply"},"\u5DF2\u6709\u56DE\u8986",-1),_s={class:"mb-3"},ps=e("h6",null,"\u89E3\u6C7A\u72C0\u614B",-1),ms={class:"d-flex"},vs={class:"form-check me-5"},fs=e("label",{class:"form-check-label",for:"radioAllResolve"},"\u5168\u90E8",-1),hs={class:"form-check me-5"},ys=e("label",{class:"form-check-label",for:"radioNoResolve"},"\u672A\u89E3\u6C7A",-1),bs={class:"form-check"},ks=e("label",{class:"form-check-label",for:"radioResolve"},"\u5DF2\u89E3\u6C7A",-1),gs={class:"mb-3"},$s=e("h6",null,"\u767C\u554F\u985E\u5225",-1),ws={class:"d-flex"},xs={class:"form-check me-5"},Rs=e("label",{class:"form-check-label",for:"radioIssueAll"},"\u5168\u90E8",-1),Cs=["id","value"],qs=["for"],Ls={class:"mb-3"},As=e("h6",null,"\u6307\u6D3E\u72C0\u614B",-1),Ss={class:"d-flex"},Qs={class:"form-check me-5"},Ds=e("label",{class:"form-check-label",for:"radioAll"},"\u5168\u90E8",-1),Vs={class:"form-check me-5"},Es=e("label",{class:"form-check-label",for:"radioNot"},"\u5C1A\u672A\u6307\u6D3E\u7684\u554F\u984C",-1),Ns={class:"form-check"},Os=e("label",{class:"form-check-label",for:"radioForMe"},"\u6307\u6D3E\u7D66\u6211\u7684\u554F\u984C",-1),Ts={class:"btn-group"},Us=["disabled"],Fs={__name:"QuestionsCategory",props:{questionsFilters:{type:Object,default(){return{}}}},emits:["filterQuestions"],setup(V,{emit:v}){const f=V,d=ae({video_coures_id:0,filter:0,is_resolve:0,count:100,assign:"me"}),m=()=>{const h=JSON.parse(JSON.stringify(d));Object.keys(h).forEach(s=>{h[s]===0&&s!=="is_resolve"&&delete h[s]}),v("filterQuestions",h)};X(m);const _=p(!1);B(()=>d.search_value,()=>{_.value=!0,d.search_value.length>=2&&(_.value=!1)});const y=()=>{window.location.reload()};return(h,s)=>{var E,C,n,b;return i(),c("div",Ve,[e("div",Ee,[Ne,e("div",Oe,[e("div",Te,[e("div",Ue,[e("form",{onSubmit:N(m,["prevent"])},[e("div",Me,[e("div",je,[S(e("select",{id:"videoCouresId","onUpdate:modelValue":s[0]||(s[0]=a=>d.video_coures_id=a),class:"form-select","aria-label":"Default select example"},[Pe,(i(!0),c(Q,null,D((E=f.questionsFilters)==null?void 0:E.video_courses,a=>(i(),c("option",{key:a.id,value:a.id},u(a.name),9,Be))),128))],512),[[Z,d.video_coures_id]])])]),e("div",Ge,[e("div",He,[e("div",ze,[S(e("select",{id:"searchOptions","onUpdate:modelValue":s[1]||(s[1]=a=>d.filter=a),class:"form-select"},[Je,(i(!0),c(Q,null,D((C=f.questionsFilters)==null?void 0:C.search_filters,a=>(i(),c("option",{key:a.name,value:a.name},u(a.cht_name),9,Ie))),128))],512),[[Z,d.filter]]),S(e("input",{id:"searchValue","onUpdate:modelValue":s[2]||(s[2]=a=>d.search_value=a),type:"text",class:"form-control w-75"},null,512),[[ie,d.search_value,void 0,{trim:!0}]])]),_.value?(i(),c("div",Ke," \u8ACB\u8F38\u5165\u81F3\u5C11 2 \u5B57\u5143\u3002 ")):O("",!0)])]),e("div",We,[Xe,e("div",Ye,[e("div",Ze,[e("input",{id:"defaultAll",class:"form-check-input",type:"radio",name:"source",checked:"",onClick:s[3]||(s[3]=a=>delete d.platform_id)}),es]),(i(!0),c(Q,null,D((n=f.questionsFilters)==null?void 0:n.platforms,a=>(i(),c("div",{key:a.id,class:"platforms form-check me-5"},[e("input",{id:a.name,class:"form-check-input",type:"radio",name:"source",onClick:T=>d.platform_id=a.id},null,8,ss),e("label",{class:"form-check-label",for:a.name},u(a.name),9,ts)]))),128))])]),e("div",os,[ls,e("div",ns,[e("div",as,[e("input",{id:"radioAllAnswer",class:"form-check-input",type:"radio",name:"answer",checked:"",onClick:s[4]||(s[4]=a=>delete d.has_reply)}),is]),e("div",cs,[e("input",{id:"radioNoReply",class:"form-check-input",type:"radio",name:"answer",onClick:s[5]||(s[5]=a=>d.has_reply=0)}),rs]),e("div",ds,[e("input",{id:"radioReply",class:"form-check-input",type:"radio",name:"answer",onClick:s[6]||(s[6]=a=>d.has_reply=1)}),us])])]),e("div",_s,[ps,e("div",ms,[e("div",vs,[e("input",{id:"radioAllResolve",class:"form-check-input",type:"radio",name:"resolve",onClick:s[7]||(s[7]=a=>delete d.is_resolve)}),fs]),e("div",hs,[e("input",{id:"radioNoResolve",class:"form-check-input",type:"radio",name:"resolve",checked:"",onClick:s[8]||(s[8]=a=>d.is_resolve=0)}),ys]),e("div",bs,[e("input",{id:"radioResolve",class:"form-check-input",type:"radio",name:"resolve",onClick:s[9]||(s[9]=a=>d.is_resolve=1)}),ks])])]),e("div",gs,[$s,e("div",ws,[e("div",xs,[e("input",{id:"radioIssueAll",class:"form-check-input",type:"radio",name:"issue",checked:"",onClick:s[10]||(s[10]=a=>delete d.type_id)}),Rs]),(i(!0),c(Q,null,D((b=f.questionsFilters)==null?void 0:b.types,a=>(i(),c("div",{key:a.id,class:"form-check me-5"},[S(e("input",{id:`radioCourses${a.id}`,"onUpdate:modelValue":s[11]||(s[11]=T=>d.type_id=T),class:"form-check-input",type:"radio",name:"issue",value:a.id},null,8,Cs),[[ye,d.type_id]]),e("label",{class:"form-check-label",for:`radioCourses${a.id}`},u(a.name),9,qs)]))),128))])]),e("div",Ls,[As,e("div",Ss,[e("div",Qs,[e("input",{id:"radioAll",class:"form-check-input",type:"radio",name:"assign",onClick:s[12]||(s[12]=a=>delete d.assign)}),Ds]),e("div",Vs,[e("input",{id:"radioNot",class:"form-check-input",type:"radio",name:"assign",onClick:s[13]||(s[13]=a=>d.assign="empty")}),Es]),e("div",Ns,[e("input",{id:"radioForMe",class:"form-check-input",type:"radio",name:"assign",checked:"",onClick:s[14]||(s[14]=a=>d.assign="me")}),Os])])]),e("div",Ts,[e("button",{type:"submit",class:"btn btn-outline-primary mt-3",disabled:_.value}," \u5957\u7528\u7BE9\u9078 ",8,Us),e("button",{type:"button",class:"btn btn-outline-secondary mt-3",onClick:y}," \u6E05\u7A7A\u641C\u5C0B ")])],40,Fe)])])])],512)],512)}}},Ms={class:"row g-2"},js={class:"list-group"},Ps={class:"text-break"},Bs={key:0,class:"fs-6 list-custom-text-primary"},Gs={key:1,class:"fs-6 text-break"},Hs={class:"m-0"},zs={class:"m-0 fw-bold"},Js={key:0,class:"list-custom-text-primary"},Is={key:1,class:"list-custom-text-secondary"},Ks={class:"m-0"},Ws={class:"d-flex flex-column justify-content-between text-end flex-shrink-0"},Xs={class:"m-0"},Ys={class:"m-0"},Zs={__name:"QuestionsList",props:{data:{type:Array,default(){return[]}}},emits:["getQuestions"],setup(V,{expose:v,emit:f}){const d=V,m=p(null);return X(()=>{const x=m.value;x.addEventListener("scroll",y=>{y.target.clientHeight+y.target.scrollTop===x.scrollHeight&&f("getQuestions",1)})}),v({questionsListRef:m}),(x,y)=>{const h=be("RouterLink");return i(),c("div",null,[e("div",Ms,[e("div",{ref_key:"questionsListRef",ref:m,class:"col-12 overflow-auto questionsList",style:{"max-height":"calc(500px + 97px)"}},[e("div",js,[(i(!0),c(Q,null,D(d.data,s=>(i(),W(h,{key:s.id,class:"list-group-item list-group-item-action d-flex justify-content-between",to:{name:"questions",params:{id:s.id}},title:`\u6642\u9593\uFF1A${t(K)(s.create_time)}`},{default:P(()=>[e("div",null,[e("h5",Ps,[ce(u(s.title)+" ",1),e("p",null,[s.from==="teachable"?(i(),c("span",Bs,"\u4F86\u81EA "+u(s.from),1)):(i(),c("span",Gs,"\u4F86\u81EA "+u(s.from),1))])]),e("p",Hs,[e("small",null,u(s.video_course_name),1)]),e("p",zs,[s.assign_user_nickname?(i(),c("small",Js,"\u6307\u6D3E\u7D66 "+u(s.assign_user_nickname),1)):(i(),c("small",Is,"\u5C1A\u672A\u6307\u6D3E"))]),e("p",Ks,[e("small",null,u(s.video_course_lecture_name),1)])]),e("div",Ws,[e("p",Xs,[e("small",null,u(s.nickname),1)]),e("p",Ys,[e("small",null,u(t(I)(s.create_time)),1)])])]),_:2},1032,["to","title"]))),128))])],512)])])}}},et={class:"position-relative"},st={class:"d-flex justify-content-end align-items-center mb-2"},tt={class:"me-1"},ot={class:"btn-group"},lt={class:"row g-2"},nt={class:"card"},at={class:"card-header"},it={class:"d-flex justify-content-between"},ct=["href"],rt={key:0,class:"fs-6 text-primary"},dt={key:1,class:"fs-6 text-danger"},ut={class:"m-0"},_t={class:"m-0"},pt={class:"text-end flex-shrink-0"},mt=["value"],vt={class:"assign-user m-0"},ft={key:0,class:"text-primary"},ht={key:1,class:"text-secondary"},yt={class:"m-0"},bt=["title"],kt={class:"list-unstyled"},gt={class:"d-flex justify-content-between mb-3"},$t={class:"d-flex align-items-center"},wt={class:"ms-2"},xt={class:"m-0"},Rt={class:"fw-bold"},Ct=["data-name","onClick"],qt=["title"],Lt={key:0,class:"badge bg-secondary d-block"},At={key:1,class:"badge bg-success d-block"},St=e("hr",null,null,-1),Qt={class:"d-flex justify-content-between mb-3"},Dt={class:"d-flex align-items-center"},Vt={class:"ms-2"},Et=["href"],Nt={key:0},Ot={key:1,class:"fw-bold m-0"},Tt=["data-name"],Ut={class:"small breadcrumb m-0"},Ft=["title"],Mt={key:0,class:"breadcrumb-item"},jt={class:"breadcrumb-item"},Pt={key:0,class:"dropstart"},Bt=e("button",{type:"button",class:"btn btn-outline-primary btn-sm","data-bs-toggle":"dropdown","aria-expanded":"false"},[e("i",{class:"bi bi-three-dots"})],-1),Gt={class:"dropdown-menu"},Ht=["onClick"],zt=["onClick"],Jt={key:0},It={class:"mt-3 text-end"},Kt=["disabled"],Wt={class:"form-floating mb-3"},Xt=e("label",{for:"floatingInput"},"\u641C\u5C0B\u52A9\u6559",-1),Yt={class:"list-group mt-2 overflow-auto",style:{"max-height":"700px"}},Zt=["onClick"],eo={__name:"QuestionsCard",props:{body:{type:Object,default(){return{replies:[{}]}}},types:{type:Array,default(){return[]}},listStatus:{type:Boolean,default:!0}},emits:["detailed","editQuestion","questionsListStatus"],setup(V,{emit:v}){const f=V,{apiGetReplyAssistants:d,apiPutAssignUser:m,apiDeleteAssignUser:_,apiPutResolve:x,apiPutQuestionType:y,apiPostReplies:h,apiPutReplies:s,apiDeleteReplies:E}=re,C=xe.useRoute(),{body:n}=ke(f),b=p(!0),a=p({reply_assistants:[]});X(()=>{[].slice.call(document.querySelectorAll(".dropdown-toggle")).map(o=>new Ae(o))});const U=p(null),q=p(null),k=p(null),F=p(null),L=w(async r=>{a.value=await d(r)},()=>q.value);B(()=>C.params.id,async()=>{b.value||await L(C.params.id)}),B(()=>n.value.id,async()=>{U.value.scrollTop=0});const G=p(""),de=ge(()=>a.value.reply_assistants.filter(r=>G.value?r.nickname.match(G.value):r.nickname)),ue=w(async(r,o)=>{var $;(($=n.value.assign_users[0])==null?void 0:$.id)===o?await _(r,o):await m(r,o),v("detailed",r)},()=>q.value),se=w(async(r,o)=>{let $="resolve";o&&($="unresolve"),await x(r,$),v("detailed",r)},()=>q.value),_e=(r,o)=>{window.confirm(`\u4F60\u78BA\u5B9A\u8981\u6A19\u8A3B\u70BA${o?"\u672A\u89E3\u6C7A":"\u5DF2\u89E3\u6C7A"}\uFF1F`)&&se(r,o)},Y={id:"",content:""},g=ae({...Y});B(()=>C.params.id,()=>{Object.assign(g,Y),k.value.clearContent()});const pe=w(async r=>{g.id?(await s(r,g.id,g.content),v("detailed",r)):(await h(r,g.content),await se(r,0)),Object.assign(g,Y),k.value.clearContent()},()=>q.value),me=w(async(r,o)=>{await E(r,o),v("detailed",r)},()=>q.value),ve=(r,o)=>{window.confirm("\u4F60\u78BA\u5B9A\u8981\u522A\u9664\u8A72\u56DE\u8986\uFF1F")&&me(r,o)},fe=w(async(r,o)=>{await y(r,o),v("detailed",r)},()=>q.value),H=p("\u9084\u6C92\u5B9A\u7FA9"),te=async r=>{const{name:o}=r.target.dataset;H.value=o;const $=JSON.parse(localStorage.getItem("replyTemplate"))||"";let j=$.replace("{{}}",o);$||(j=`Hi\uFF0C${o}\uFF1A`),g.content+=j,k.value.setContent(g.content),setTimeout(()=>{H.value=""},2e3)},he=r=>{F.value.getReplyTemplate(r)};return(r,o)=>{var $,j;return i(),c("div",{ref_key:"questionsCardRef",ref:q},[e("div",et,[e("div",st,[e("div",tt,[e("button",{type:"button",class:"btn-reply-modal btn btn-sm btn-outline-primary",onClick:o[0]||(o[0]=l=>he("replyTemplate"))}," \u8A2D\u5B9A\u7BC4\u672C ")]),e("div",ot,[e("button",{type:"button",class:A(["btn-assign btn btn-sm btn-outline-primary",{active:!b.value}]),onClick:o[1]||(o[1]=l=>{b.value=!1,t(L)(t(n).id)})}," \u6307\u6D3E ",2),e("button",{type:"button",class:A(["btn-reply btn btn-sm btn-outline-primary",{active:b.value}]),onClick:o[2]||(o[2]=l=>b.value=!0)}," \u56DE\u8986 ",2)]),e("button",{type:"button",class:"btn-toggle-list btn btn-outline-primary btn-sm ms-1",title:"\u7E2E\u5408\u554F\u984C\u5217\u8868",onClick:o[3]||(o[3]=l=>v("questionsListStatus"))},[e("i",{class:A(["bi",[f.listStatus?"bi-arrow-bar-left":"bi-arrow-bar-right"]])},null,2)])]),e("div",lt,[e("div",{class:A([f.listStatus?"col-md-6":"col-md-5"])},[e("div",nt,[e("div",at,[e("div",it,[e("div",null,[e("h5",null,[e("a",{href:t(n).url,class:"me-2 link-underline link-underline-opacity-0",target:"_blank",title:"\u524D\u5F80\u8A72\u554F\u984C\u9801\u9762"},u(t(n).title),9,ct),e("p",null,[t(n).from==="teachable"?(i(),c("span",rt,"\u4F86\u81EA "+u(t(n).from),1)):(i(),c("span",dt,"\u4F86\u81EA "+u(t(n).from),1))])]),e("p",ut,[e("small",null,u(t(n).video_courses_name),1)]),e("p",_t,[e("small",null,u(t(n).video_course_lecture_name),1)])]),e("div",pt,[S(e("select",{"onUpdate:modelValue":o[4]||(o[4]=l=>t(n).question_type_id=l),class:"btn-change-type form-select form-select-sm",onChange:o[5]||(o[5]=l=>t(fe)(t(n).id,l.target.value))},[(i(!0),c(Q,null,D(V.types,l=>(i(),c("option",{key:l.id,value:l.id},u(l.name),9,mt))),128))],544),[[Z,t(n).question_type_id]]),e("p",vt,[t(n).assign_users.length?(i(),c("small",ft,"\u6307\u6D3E\u7D66 "+u(($=t(n).assign_users[0])==null?void 0:$.nickname),1)):(i(),c("small",ht,"\u5C1A\u672A\u6307\u6D3E"))]),e("p",yt,[e("small",{title:`\u6642\u9593\uFF1A${t(K)(t(n).create_time)}`},u(t(I)(t(n).create_time))+" / "+u(t(n).replies.length)+" \u500B\u7B54\u6848",9,bt)])])])]),e("div",{ref_key:"questionListRef",ref:U,class:"card-body overflow-auto",style:{"max-height":"500px"}},[e("ul",kt,[e("li",null,[e("div",gt,[e("div",$t,[R(le,{avatar:t(n).avatar},null,8,["avatar"]),e("div",wt,[e("p",xt,[e("span",Rt,u(t(n).nickname),1),e("a",{class:"btn-copy-username mx-2",href:"#",title:"\u8907\u88FD\u66B1\u7A31","data-name":t(n).nickname,onClick:N(te,["prevent"])},[e("i",{class:A(["pe-none bi",H.value===t(n).nickname?"bi-check-lg":"bi-clipboard"])},null,2)],8,Ct),((j=t(n))==null?void 0:j.replies.length)!==1?(i(),W(Re,{key:0,DOMRef:U.value},null,8,["DOMRef"])):O("",!0)]),e("p",{class:"m-0 small",title:`\u6642\u9593\uFF1A${t(K)(t(n).create_time)}`},u(t(I)(t(n).create_time)),9,qt)])]),e("a",{href:"#",class:"toggle-resolve",onClick:o[6]||(o[6]=N(l=>_e(t(n).id,t(n).resolve),["prevent"]))},[t(n).resolve?(i(),c("span",Lt,"\u6A19\u8A3B\u70BA\u672A\u89E3\u6C7A")):(i(),c("span",At,"\u6A19\u8A3B\u70BA\u5DF2\u89E3\u6C7A"))])]),R(ne,{content:t(n).body},null,8,["content"]),St]),(i(!0),c(Q,null,D(t(n).replies,(l,z)=>(i(),c("li",{key:l.id},[e("div",Qt,[e("div",Dt,[R(le,{avatar:l.avatar},null,8,["avatar"]),e("div",Vt,[l.assistant_level?(i(),c("p",{key:0,style:$e({color:l.assistant_color_code}),class:"fw-bold m-0"},[e("a",{href:l.assistant_icon_url},[ce(u(l.nickname)+" ",1),l.assistant_title?(i(),c("span",Nt," ("+u(l.assistant_title)+") ",1)):O("",!0)],8,Et)],4)):(i(),c("p",Ot,[e("span",null,u(l.nickname),1),e("a",{class:"replies-nickname ms-2",href:"#",title:"\u8907\u88FD\u66B1\u7A31","data-name":l.nickname,onClick:o[7]||(o[7]=N(J=>te(J),["prevent"]))},[e("i",{class:A(["pe-none bi",H.value===l.nickname?"bi-check-lg":"bi-clipboard"])},null,2)],8,Tt)])),e("ol",Ut,[e("li",{class:"breadcrumb-item",title:`\u6642\u9593\uFF1A${t(K)(l.create_time)}`},u(t(I)(l.create_time)),9,Ft),l.is_best_answer?(i(),c("li",Mt," \u6700\u4F73\u89E3\u7B54 ")):O("",!0),e("li",jt,u(l.upvotes)+" \u500B\u63A8 ",1)])])]),l.is_author?(i(),c("div",Pt,[Bt,e("ul",Gt,[e("li",null,[e("a",{class:"btn-edit-reply dropdown-item",href:"#",onClick:N(J=>{k.value.setContent(l.body),g.id=l.id},["prevent"])},"\u7DE8\u8F2F",8,Ht)]),e("li",null,[e("a",{class:"btn-delete-reply dropdown-item",href:"#",onClick:N(J=>ve(t(n).id,l.id),["prevent"])},"\u522A\u9664",8,zt)])])])):O("",!0)]),R(ne,{content:l.body},null,8,["content"]),t(n).replies.length!==z+1?(i(),c("hr",Jt)):O("",!0)]))),128))])],512)])],2),e("div",{class:A(["assistant position-relative",[f.listStatus?"col-md-6":"col-md-7"]])},[S(e("div",null,[R(Ce,{ref_key:"quillEditorRef",ref:k,modelValue:g.content,"onUpdate:modelValue":o[8]||(o[8]=l=>g.content=l)},null,8,["modelValue"]),e("div",It,[e("button",{type:"button",class:"submit-reply btn btn-outline-primary",disabled:g.content==="",onClick:o[9]||(o[9]=l=>t(pe)(t(n).id))}," \u9001\u51FA\u56DE\u8986 ",8,Kt)])],512),[[oe,b.value]]),S(e("div",null,[e("div",Wt,[S(e("input",{id:"searchUserName","onUpdate:modelValue":o[10]||(o[10]=l=>G.value=l),type:"text",class:"form-control",placeholder:"\u52A9\u6559\u540D\u7A31"},null,512),[[ie,G.value]]),Xt,e("div",Yt,[(i(!0),c(Q,null,D(t(de),l=>{var z;return i(),c("a",{key:l.user_id,href:"#",class:A(["list-group-item list-group-item-action",((z=t(n).assign_users[0])==null?void 0:z.id)===l.user_id?"active":""]),onClick:N(J=>t(ue)(t(n).id,l.user_id),["prevent"])},u(l.nickname),11,Zt)}),128))])])],512),[[oe,!b.value]])],2)]),t(n).id?O("",!0):(i(),W(qe,{key:0,name:"\u554F\u984C"}))]),R(Le,{ref_key:"replyTemplateModalRef",ref:F},null,512)],512)}}},lo={__name:"QuestionsView",setup(V){const{apiGetQuestionsList:v,apiGetQuestionsFilters:f,apiGetQuestionBody:d}=re,m=we(),_=p({questions:[]}),x=p({filters:{}}),y=p({question:{assign_users:[{}],replies:[{}]}});let h="";const s=p(1),E=p(null),C=p(null),n=p(null),b=w(async()=>{x.value=await f(),m.params.id&&(y.value=await d(m.params.id))});X(b);const a=w(async()=>{!m.params.id||(y.value=await d(m.params.id))},C.value);B(()=>m.params.id,a);const T=w(async k=>{y.value=await d(k)},()=>C.value),U=w(async k=>{const F=_.value.pagination.total_page,L=_.value.pagination.current_page;if(F===L)return;s.value+=k;const M=await v(h,s.value),ee=_.value.questions.concat(M.questions);_.value.questions=ee,_.value.pagination=M.pagination},()=>E.value),q=w(async k=>{h=De(n.value.questionsListRef,k),s.value=1,_.value=await v(h,s.value)},()=>E.value);return(k,F)=>(i(),W(Se,null,{category:P(()=>[R(Fs,{"questions-filters":x.value.filters,onFilterQuestions:t(q)},null,8,["questions-filters","onFilterQuestions"])]),"count-block":P(()=>{var L;return[R(Qe,{total:(L=_.value.pagination)==null?void 0:L.total,length:_.value.questions.length,title:"\u554F\u984C"},null,8,["total","length"])]}),list:P(()=>[R(Zs,{ref_key:"questionsListComponentRef",ref:n,data:_.value.questions,onGetQuestions:t(U)},null,8,["data","onGetQuestions"])]),body:P(({toggleList:L,listStatus:M})=>[R(eo,{listStatus:M,body:y.value.question,types:x.value.filters.types,onDetailed:t(T),onQuestionsListStatus:L},null,8,["listStatus","body","types","onDetailed","onQuestionsListStatus"])]),_:1}))}};export{lo as default}; diff --git a/assets/TasksView.aaa52f0b.js b/assets/TasksView.aaa52f0b.js new file mode 100644 index 0000000..5a1ef2c --- /dev/null +++ b/assets/TasksView.aaa52f0b.js @@ -0,0 +1,65 @@ +import{a as O,r as Qe,o as Nt,w as Ot,b as d,c as f,d as a,e as zt,f as J,v as qt,F as ot,g as nt,t as $,i as W,h as ts,j as me,k as Vn,l as Qt,m as Ut,n as Et,u as r,bs as ft,p as zn,q as Ye,s as _t,x as rt,y as qn,z as Je,A as Un}from"./index.e111e784.js";import{g as Ft,a as Lt,i as X,B as Fn,v as Nn,A as Wn,_ as Kn,C as Gn,Q as Zn,D as Yn,b as Jn,c as Xn,l as tt,e as Qn,f as ta,h as ea}from"./formatUrl.12c7b985.js";const sa=(b,x,l)=>{const p=O(""),A=O(l);return{copyName:p,copyUserName:P=>{p.value=P;const M=JSON.parse(localStorage.getItem(A.value))||"";let j=M.replace("{{}}",P);M||(j=`Hi\uFF0C${P}\uFF1A`),b.content+=j,x.value.setContent(b.content),setTimeout(()=>{p.value=""},2e3)},templateName:A}},oa={ref:"categoryRef",class:"my-3"},na={id:"accordionExample",ref:"bsAccordion",class:"accordion"},aa=a("div",{class:"accordion-item"},[a("h2",{id:"headingOne",class:"accordion-header"},[a("button",{class:"accordion-button",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapseOne","aria-expanded":"true","aria-controls":"collapseOne"}," \u4EFB\u52D9\u529F\u80FD ")])],-1),ia={class:"accordion-item"},la={id:"collapseOne",class:"accordion-collapse collapse show","aria-labelledby":"headingOne","data-bs-parent":"#accordionExample"},ra={class:"accordion-body"},ca=["onSubmit"],ua={class:"row"},da={class:"col-md-7"},pa={class:"input-group mb-3"},fa=a("option",{value:"group"}," \u4EFB\u52D9\u7FA4\u7D44 ",-1),ma=a("option",{value:"tags"}," \u4EFB\u52D9\u6A19\u7C64 ",-1),wa=[fa,ma],ga=a("option",{value:0,selected:""}," \u5168\u90E8\u4EFB\u52D9\u7FA4\u7D44 ",-1),ha=["value"],ba=a("option",{value:0,selected:""}," \u5168\u90E8\u4EFB\u52D9\u6A19\u7C64 ",-1),ya=["value"],ka={class:"row"},va={class:"col-md-7 mb-3"},_a={class:"input-group"},xa=a("option",{value:0,selected:""}," \u641C\u5C0B\u7BC4\u570D ",-1),Ca=["value"],$a={key:0,id:"searchValueStatus",class:"mt-2 text-danger"},Aa={class:"mb-3"},Pa=a("h6",null,"\u56DE\u8986\u72C0\u614B",-1),Ta={class:"d-flex"},Sa=["id","onClick","value"],Ba=["for"],Ea={class:"mb-3"},La=a("h6",null,"\u6307\u6D3E\u72C0\u614B",-1),Oa={class:"d-flex"},Ia={class:"form-check me-5"},Ma=a("label",{class:"form-check-label",for:"radioAllTasks"},"\u5168\u90E8\u4EFB\u52D9",-1),ja=["id","value"],Da=["for"],Ha={class:"btn-group"},Ra=["disabled"],Va={__name:"TasksCategory",props:{selector:{type:Object,default(){return{task_groups:[],task_tags:[]}}},tasks:{type:Object,default(){return{task_status:[],search_filters:[],assign:[]}}}},emits:["update:filterUrl"],setup(b,{emit:x}){const l=b,p=Qe({task_group_id:0,task_tag_id:0,filter:0,task_status:"pending",count:100}),A=O("group"),n=()=>{const C=JSON.parse(JSON.stringify(p));Object.keys(C).forEach(m=>{C[m]===0&&delete C[m]}),x("update:filterUrl",C)};Nt(n);const P=O(!1),M=O(2);Ot(()=>p.search_value,()=>{if(P.value=!0,p.filter==="userReplyContent"){M.value=4,p.search_value.length>=4&&(P.value=!1);return}if(p.filter==="assistantReplyContent"){M.value=4,p.search_value.length>=4&&(P.value=!1);return}p.search_value.length>=2&&(M.value=2,P.value=!1)});const T=()=>{window.location.reload()};return(C,m)=>{var u,H;return d(),f("div",oa,[a("div",na,[aa,a("div",ia,[a("div",la,[a("div",ra,[a("form",{onSubmit:zt(n,["prevent"])},[a("div",ua,[a("div",da,[a("div",pa,[J(a("select",{"onUpdate:modelValue":m[0]||(m[0]=g=>A.value=g),class:"form-select"},wa,512),[[qt,A.value]]),A.value==="group"?J((d(),f("select",{key:0,id:"taskGroupId","onUpdate:modelValue":m[1]||(m[1]=g=>p.task_group_id=g),class:"form-select w-75",onClick:m[2]||(m[2]=g=>delete p.task_tag_id)},[ga,(d(!0),f(ot,null,nt(l.selector.task_groups,g=>(d(),f("option",{key:g.id,value:g.id},$(g.name),9,ha))),128))],512)),[[qt,p.task_group_id]]):W("",!0),A.value==="tags"?J((d(),f("select",{key:1,id:"taskTagsId","onUpdate:modelValue":m[3]||(m[3]=g=>p.task_tag_id=g),class:"form-select w-75",onClick:m[4]||(m[4]=g=>delete p.task_group_id)},[ba,(d(!0),f(ot,null,nt(l.selector.task_tags,g=>(d(),f("option",{key:g.id,value:g.id},$(g.name),9,ya))),128))],512)),[[qt,p.task_tag_id]]):W("",!0)])])]),a("div",ka,[a("div",va,[a("div",_a,[J(a("select",{id:"searchOptions","onUpdate:modelValue":m[5]||(m[5]=g=>p.filter=g),class:"form-select"},[xa,(d(!0),f(ot,null,nt((u=l.tasks)==null?void 0:u.search_filters,g=>(d(),f("option",{key:g.name,value:g.name},$(g.cht_name),9,Ca))),128))],512),[[qt,p.filter]]),p.filter!=="taskTag"?J((d(),f("input",{key:0,id:"searchValue","onUpdate:modelValue":m[6]||(m[6]=g=>p.search_value=g),type:"text",class:"form-control w-75"},null,512)),[[ts,p.search_value,void 0,{trim:!0}]]):W("",!0)]),P.value&&p.filter!=="taskTag"?(d(),f("div",$a," \u8ACB\u8F38\u5165\u81F3\u5C11 "+$(M.value)+" \u5B57\u5143\u3002 ",1)):W("",!0)])]),a("div",Aa,[Pa,a("div",Ta,[(d(!0),f(ot,null,nt((H=l.tasks)==null?void 0:H.task_status,g=>(d(),f("div",{class:"form-check me-5",key:g.id},[J(a("input",{id:g.name,class:"form-check-input",type:"radio",name:"taskStatus",onClick:F=>p.task_status=g.name,"onUpdate:modelValue":m[7]||(m[7]=F=>p.task_status=F),value:g.name},null,8,Sa),[[me,p.task_status]]),a("label",{class:"form-check-label",for:g.name},$(g.cht_name),9,Ba)]))),128))])]),a("div",Ea,[La,a("div",Oa,[a("div",Ia,[a("input",{id:"radioAllTasks",class:"form-check-input",type:"radio",name:"radioTasks",onClick:m[8]||(m[8]=g=>delete p.assign),checked:""}),Ma]),(d(!0),f(ot,null,nt(l.tasks.assign,g=>(d(),f("div",{class:"form-check me-5",key:g.name},[J(a("input",{id:g.name,class:"form-check-input",type:"radio",name:"radioTasks","onUpdate:modelValue":m[9]||(m[9]=F=>p.assign=F),value:g.name},null,8,ja),[[me,p.assign]]),a("label",{class:"form-check-label",for:g.name},$(g.cht_name),9,Da)]))),128))])]),a("div",Ha,[a("button",{type:"submit",class:"btn btn-outline-primary mt-3",disabled:P.value}," \u5957\u7528\u7BE9\u9078 ",8,Ra),a("button",{type:"button",class:"btn btn-outline-secondary mt-3",onClick:T}," \u6E05\u7A7A\u641C\u5C0B ")])],40,ca)])])])],512)],512)}}},za={class:"row g-2"},qa={class:"list-group"},Ua={class:"text-break"},Fa={class:"mb-0"},Na={key:0},Wa={key:1},Ka={class:"mb-0 fw-bold"},Ga={key:0,class:"list-custom-text-primary"},Za={key:1,class:"list-custom-text-secondary"},Ya=a("small",null,"\u5C1A\u672A\u6307\u6D3E",-1),Ja=[Ya],Xa={class:"mb-0 mt-3"},Qa={key:0,class:"badge bg-info"},ti={class:"mb-0"},ei={class:"d-flex flex-column justify-content-between text-end flex-shrink-0 ms-2"},si={class:"mb-0"},oi={class:"mb-0"},ni={key:0},ai={key:1},ii={__name:"TasksList",props:{data:{type:Object,default(){return[]}},taskStatus:{type:String,default:"pending"}},emits:["getTasks"],setup(b,{expose:x,emit:l}){const p=b,A=O(null);return Nt(()=>{const P=A.value;P.addEventListener("scroll",M=>{M.target.clientHeight+M.target.scrollTop===P.scrollHeight&&l("getTasks",1)})}),x({taskListRef:A}),(P,M)=>{const j=Vn("RouterLink");return d(),f("div",null,[a("div",za,[a("div",{ref_key:"taskListRef",ref:A,class:"col-12 overflow-auto",style:{"max-height":"calc(500px + 97px)"}},[a("div",qa,[(d(!0),f(ot,null,nt(p.data,T=>(d(),Qt(j,{key:T.id,class:"list-group-item list-group-item-action d-flex justify-content-between",to:{name:"tasks",params:{id:T.id}},title:`\u4EFB\u52D9\u7E73\u4EA4\u6642\u9593\uFF1A${r(Lt)(T.feedback_at)}`},{default:Ut(()=>{var C;return[a("div",null,[a("h5",Ua,$(T.name),1),a("p",Fa,[T.level_name?(d(),f("small",Na,"\u63D0\u4EA4\u7B49\u7D1A\uFF1A"+$(T.level),1)):(d(),f("small",Wa,"\u7121\u63D0\u4EA4\u7B49\u7D1A"))]),a("p",Ka,[(C=T.assign_user)!=null&&C.id?(d(),f("span",Ga,[a("small",null,"\u6307\u6D3E\u7D66 "+$(T.assign_user.nickname),1)])):(d(),f("span",Za,Ja))]),a("p",Xa,[a("small",null,[Et($(T.status)+" ",1),T.is_completed&&T.status==="\u7B49\u5F85\u52A9\u6559\u56DE\u8986"?(d(),f("span",Qa,"\u7559\u8A00")):W("",!0)])]),a("p",ti,[a("small",null,$(T.group),1)])]),a("div",ei,[a("p",si,[a("small",null,$(T.nickname),1)]),a("p",oi,[p.taskStatus==="pending"?(d(),f("small",ni,$(r(Ft)(T.feedback_at)),1)):(d(),f("small",ai,$(r(Ft)(T.updated_at)),1))])])]}),_:2},1032,["to","title"]))),128))])],512)])])}}},li=b=>{const x=Math.floor(b/24),l=b%24;return{days:x,hours:l}},ri=()=>X.get("/v1/tasks/selector"),ci=()=>X.get("/v1/tasks/filters"),ui=(b,x=1)=>X.get(`/v1/tasks?${b?`${b}&`:""}page=${x}`),di=b=>X.get(`/v1/tasks/${b}`),pi=b=>X.get(`/v1/tasks/${b}/reply-assistants`),fi=(b,x)=>X.put(`/v1/tasks/${b}/assign`,{user_id:x}),mi=(b,x)=>X.delete(`/v1/tasks/${b}/assign`,{user_id:x}),wi=({taskId:b,body:x})=>X.post(`/v1/tasks/${b}/replies`,x),gi=({taskId:b,body:x})=>X.put(`/v1/tasks/${b}/replies`,x),hi=(b,x)=>X.put(`/v1/tasks/${b}/status`,{task_status:x}),bi=b=>X.delete(`/v1/tasks/${b}/replies`),yi=b=>X.put(`/v1/tasks/${b}/completed`),es={apiGetTaskSelector:ri,apiGetTaskFilters:ci,apiGetTasks:ui,apiGetTasksDetail:di,apiGetTasksReplyAssistants:pi,apiPutTasksAssign:fi,apiDeleteTasksAssign:mi,apiPostTasksReplies:wi,apiPutTasksReplies:gi,apiPutTasksStatus:hi,apiDeleteTasksReplies:bi,apiPutTasksCompleted:yi};var ss={exports:{}};/*! +* sweetalert2 v11.7.3 +* Released under the MIT License. +*/(function(b,x){(function(l,p){b.exports=p()})(ft,function(){var l={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const p="swal2-",A=t=>{const e={};for(const s in t)e[t[s]]=p+t[s];return e},n=A(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"]),P=A(["success","warning","info","question","error"]),M="SweetAlert2:",j=t=>{const e=[];for(let s=0;st.charAt(0).toUpperCase()+t.slice(1),C=t=>{console.warn(`${M} ${typeof t=="object"?t.join(" "):t}`)},m=t=>{console.error(`${M} ${t}`)},u=[],H=t=>{u.includes(t)||(u.push(t),C(t))},g=(t,e)=>{H(`"${t}" is deprecated and will be removed in the next major release. Please use "${e}" instead.`)},F=t=>typeof t=="function"?t():t,at=t=>t&&typeof t.toPromise=="function",ct=t=>at(t)?t.toPromise():Promise.resolve(t),it=t=>t&&Promise.resolve(t)===t,B=()=>document.body.querySelector(`.${n.container}`),K=t=>{const e=B();return e?e.querySelector(t):null},I=t=>K(`.${t}`),v=()=>I(n.popup),V=()=>I(n.icon),mt=()=>I(n["icon-content"]),lt=()=>I(n.title),xt=()=>I(n["html-container"]),Wt=()=>I(n.image),wt=()=>I(n["progress-steps"]),E=()=>I(n["validation-message"]),Y=()=>K(`.${n.actions} .${n.confirm}`),ut=()=>K(`.${n.actions} .${n.cancel}`),Q=()=>K(`.${n.actions} .${n.deny}`),te=()=>I(n["input-label"]),dt=()=>K(`.${n.loader}`),gt=()=>I(n.actions),Kt=()=>I(n.footer),Ct=()=>I(n["timer-progress-bar"]),It=()=>I(n.close),ee=` + a[href], + area[href], + input:not([disabled]), + select:not([disabled]), + textarea:not([disabled]), + button:not([disabled]), + iframe, + object, + embed, + [tabindex="0"], + [contenteditable], + audio[controls], + video[controls], + summary +`,Mt=()=>{const t=Array.from(v().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort((s,o)=>{const i=parseInt(s.getAttribute("tabindex")),c=parseInt(o.getAttribute("tabindex"));return i>c?1:is.getAttribute("tabindex")!=="-1");return j(t.concat(e)).filter(s=>G(s))},jt=()=>q(document.body,n.shown)&&!q(document.body,n["toast-shown"])&&!q(document.body,n["no-backdrop"]),ht=()=>v()&&q(v(),n.toast),y=()=>v().hasAttribute("data-loading"),h={previousBodyPadding:null},S=(t,e)=>{if(t.textContent="",e){const o=new DOMParser().parseFromString(e,"text/html");Array.from(o.querySelector("head").childNodes).forEach(i=>{t.appendChild(i)}),Array.from(o.querySelector("body").childNodes).forEach(i=>{i instanceof HTMLVideoElement||i instanceof HTMLAudioElement?t.appendChild(i.cloneNode(!0)):t.appendChild(i)})}},q=(t,e)=>{if(!e)return!1;const s=e.split(/\s+/);for(let o=0;o{Array.from(t.classList).forEach(s=>{!Object.values(n).includes(s)&&!Object.values(P).includes(s)&&!Object.values(e.showClass).includes(s)&&t.classList.remove(s)})},D=(t,e,s)=>{if(w(t,e),e.customClass&&e.customClass[s]){if(typeof e.customClass[s]!="string"&&!e.customClass[s].forEach){C(`Invalid type of customClass.${s}! Expected string or iterable object, got "${typeof e.customClass[s]}"`);return}_(t,e.customClass[s])}},bt=(t,e)=>{if(!e)return null;switch(e){case"select":case"textarea":case"file":return t.querySelector(`.${n.popup} > .${n[e]}`);case"checkbox":return t.querySelector(`.${n.popup} > .${n.checkbox} input`);case"radio":return t.querySelector(`.${n.popup} > .${n.radio} input:checked`)||t.querySelector(`.${n.popup} > .${n.radio} input:first-child`);case"range":return t.querySelector(`.${n.popup} > .${n.range} input`);default:return t.querySelector(`.${n.popup} > .${n.input}`)}},yt=t=>{if(t.focus(),t.type!=="file"){const e=t.value;t.value="",t.value=e}},we=(t,e,s)=>{!t||!e||(typeof e=="string"&&(e=e.split(/\s+/).filter(Boolean)),e.forEach(o=>{Array.isArray(t)?t.forEach(i=>{s?i.classList.add(o):i.classList.remove(o)}):s?t.classList.add(o):t.classList.remove(o)}))},_=(t,e)=>{we(t,e,!0)},et=(t,e)=>{we(t,e,!1)},pt=(t,e)=>{const s=Array.from(t.children);for(let o=0;o{s===`${parseInt(s)}`&&(s=parseInt(s)),s||parseInt(s)===0?t.style[e]=typeof s=="number"?`${s}px`:s:t.style.removeProperty(e)},R=function(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"flex";t.style.display=e},z=t=>{t.style.display="none"},ge=(t,e,s,o)=>{const i=t.querySelector(e);i&&(i.style[s]=o)},Gt=function(t,e){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"flex";e?R(t,s):z(t)},G=t=>!!(t&&(t.offsetWidth||t.offsetHeight||t.getClientRects().length)),os=()=>!G(Y())&&!G(Q())&&!G(ut()),he=t=>t.scrollHeight>t.clientHeight,be=t=>{const e=window.getComputedStyle(t),s=parseFloat(e.getPropertyValue("animation-duration")||"0"),o=parseFloat(e.getPropertyValue("transition-duration")||"0");return s>0||o>0},se=function(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const s=Ct();G(s)&&(e&&(s.style.transition="none",s.style.width="100%"),setTimeout(()=>{s.style.transition=`width ${t/1e3}s linear`,s.style.width="0%"},10))},ns=()=>{const t=Ct(),e=parseInt(window.getComputedStyle(t).width);t.style.removeProperty("transition"),t.style.width="100%";const s=parseInt(window.getComputedStyle(t).width),o=e/s*100;t.style.width=`${o}%`},as=100,k={},is=()=>{k.previousActiveElement instanceof HTMLElement?(k.previousActiveElement.focus(),k.previousActiveElement=null):document.body&&document.body.focus()},ls=t=>new Promise(e=>{if(!t)return e();const s=window.scrollX,o=window.scrollY;k.restoreFocusTimeout=setTimeout(()=>{is(),e()},as),window.scrollTo(s,o)}),ye=()=>typeof window>"u"||typeof document>"u",rs=` +
+ +
    +
    + +

    +
    + + +
    + + +
    + +
    + + +
    +
    +
    + + + +
    +
    +
    +
    +
    +
    +`.replace(/(^|\n)\s*/g,""),cs=()=>{const t=B();return t?(t.remove(),et([document.documentElement,document.body],[n["no-backdrop"],n["toast-shown"],n["has-column"]]),!0):!1},kt=()=>{k.currentInstance.resetValidationMessage()},us=()=>{const t=v(),e=pt(t,n.input),s=pt(t,n.file),o=t.querySelector(`.${n.range} input`),i=t.querySelector(`.${n.range} output`),c=pt(t,n.select),L=t.querySelector(`.${n.checkbox} input`),Z=pt(t,n.textarea);e.oninput=kt,s.onchange=kt,c.onchange=kt,L.onchange=kt,Z.oninput=kt,o.oninput=()=>{kt(),i.value=o.value},o.onchange=()=>{kt(),i.value=o.value}},ds=t=>typeof t=="string"?document.querySelector(t):t,ps=t=>{const e=v();e.setAttribute("role",t.toast?"alert":"dialog"),e.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||e.setAttribute("aria-modal","true")},fs=t=>{window.getComputedStyle(t).direction==="rtl"&&_(B(),n.rtl)},ms=t=>{const e=cs();if(ye()){m("SweetAlert2 requires document to initialize");return}const s=document.createElement("div");s.className=n.container,e&&_(s,n["no-transition"]),S(s,rs);const o=ds(t.target);o.appendChild(s),ps(t),fs(o),us()},oe=(t,e)=>{t instanceof HTMLElement?e.appendChild(t):typeof t=="object"?ws(t,e):t&&S(e,t)},ws=(t,e)=>{t.jquery?gs(e,t):S(e,t.toString())},gs=(t,e)=>{if(t.textContent="",0 in e)for(let s=0;s in e;s++)t.appendChild(e[s].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},Dt=(()=>{if(ye())return!1;const t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)&&typeof t.style[s]<"u")return e[s];return!1})(),hs=()=>{const t=document.createElement("div");t.className=n["scrollbar-measure"],document.body.appendChild(t);const e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},bs=(t,e)=>{const s=gt(),o=dt();!e.showConfirmButton&&!e.showDenyButton&&!e.showCancelButton?z(s):R(s),D(s,e,"actions"),ys(s,o,e),S(o,e.loaderHtml),D(o,e,"loader")};function ys(t,e,s){const o=Y(),i=Q(),c=ut();ne(o,"confirm",s),ne(i,"deny",s),ne(c,"cancel",s),ks(o,i,c,s),s.reverseButtons&&(s.toast?(t.insertBefore(c,o),t.insertBefore(i,o)):(t.insertBefore(c,e),t.insertBefore(i,e),t.insertBefore(o,e)))}function ks(t,e,s,o){if(!o.buttonsStyling){et([t,e,s],n.styled);return}_([t,e,s],n.styled),o.confirmButtonColor&&(t.style.backgroundColor=o.confirmButtonColor,_(t,n["default-outline"])),o.denyButtonColor&&(e.style.backgroundColor=o.denyButtonColor,_(e,n["default-outline"])),o.cancelButtonColor&&(s.style.backgroundColor=o.cancelButtonColor,_(s,n["default-outline"]))}function ne(t,e,s){Gt(t,s[`show${T(e)}Button`],"inline-block"),S(t,s[`${e}ButtonText`]),t.setAttribute("aria-label",s[`${e}ButtonAriaLabel`]),t.className=n[e],D(t,s,`${e}Button`),_(t,s[`${e}ButtonClass`])}const vs=(t,e)=>{const s=It();S(s,e.closeButtonHtml),D(s,e,"closeButton"),Gt(s,e.showCloseButton),s.setAttribute("aria-label",e.closeButtonAriaLabel)},_s=(t,e)=>{const s=B();!s||(xs(s,e.backdrop),Cs(s,e.position),$s(s,e.grow),D(s,e,"container"))};function xs(t,e){typeof e=="string"?t.style.background=e:e||_([document.documentElement,document.body],n["no-backdrop"])}function Cs(t,e){e in n?_(t,n[e]):(C('The "position" parameter is not valid, defaulting to "center"'),_(t,n.center))}function $s(t,e){if(e&&typeof e=="string"){const s=`grow-${e}`;s in n&&_(t,n[s])}}const As=["input","file","range","select","radio","checkbox","textarea"],Ps=(t,e)=>{const s=v(),o=l.innerParams.get(t),i=!o||e.input!==o.input;As.forEach(c=>{const L=pt(s,n[c]);Bs(c,e.inputAttributes),L.className=n[c],i&&z(L)}),e.input&&(i&&Ts(e),Es(e))},Ts=t=>{if(!N[t.input]){m(`Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "${t.input}"`);return}const e=ke(t.input),s=N[t.input](e,t);R(e),t.inputAutoFocus&&setTimeout(()=>{yt(s)})},Ss=t=>{for(let e=0;e{const s=bt(v(),t);if(!!s){Ss(s);for(const o in e)s.setAttribute(o,e[o])}},Es=t=>{const e=ke(t.input);typeof t.customClass=="object"&&_(e,t.customClass.input)},ae=(t,e)=>{(!t.placeholder||e.inputPlaceholder)&&(t.placeholder=e.inputPlaceholder)},Ht=(t,e,s)=>{if(s.inputLabel){t.id=n.input;const o=document.createElement("label"),i=n["input-label"];o.setAttribute("for",t.id),o.className=i,typeof s.customClass=="object"&&_(o,s.customClass.inputLabel),o.innerText=s.inputLabel,e.insertAdjacentElement("beforebegin",o)}},ke=t=>pt(v(),n[t]||n.input),Zt=(t,e)=>{["string","number"].includes(typeof e)?t.value=`${e}`:it(e)||C(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof e}"`)},N={};N.text=N.email=N.password=N.number=N.tel=N.url=(t,e)=>(Zt(t,e.inputValue),Ht(t,t,e),ae(t,e),t.type=e.input,t),N.file=(t,e)=>(Ht(t,t,e),ae(t,e),t),N.range=(t,e)=>{const s=t.querySelector("input"),o=t.querySelector("output");return Zt(s,e.inputValue),s.type=e.input,Zt(o,e.inputValue),Ht(s,t,e),t},N.select=(t,e)=>{if(t.textContent="",e.inputPlaceholder){const s=document.createElement("option");S(s,e.inputPlaceholder),s.value="",s.disabled=!0,s.selected=!0,t.appendChild(s)}return Ht(t,t,e),t},N.radio=t=>(t.textContent="",t),N.checkbox=(t,e)=>{const s=bt(v(),"checkbox");s.value="1",s.id=n.checkbox,s.checked=Boolean(e.inputValue);const o=t.querySelector("span");return S(o,e.inputPlaceholder),s},N.textarea=(t,e)=>{Zt(t,e.inputValue),ae(t,e),Ht(t,t,e);const s=o=>parseInt(window.getComputedStyle(o).marginLeft)+parseInt(window.getComputedStyle(o).marginRight);return setTimeout(()=>{if("MutationObserver"in window){const o=parseInt(window.getComputedStyle(v()).width),i=()=>{const c=t.offsetWidth+s(t);c>o?v().style.width=`${c}px`:v().style.width=null};new MutationObserver(i).observe(t,{attributes:!0,attributeFilter:["style"]})}}),t};const Ls=(t,e)=>{const s=xt();D(s,e,"htmlContainer"),e.html?(oe(e.html,s),R(s,"block")):e.text?(s.textContent=e.text,R(s,"block")):z(s),Ps(t,e)},Os=(t,e)=>{const s=Kt();Gt(s,e.footer),e.footer&&oe(e.footer,s),D(s,e,"footer")},Is=(t,e)=>{const s=l.innerParams.get(t),o=V();if(s&&e.icon===s.icon){_e(o,e),ve(o,e);return}if(!e.icon&&!e.iconHtml){z(o);return}if(e.icon&&Object.keys(P).indexOf(e.icon)===-1){m(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${e.icon}"`),z(o);return}R(o),_e(o,e),ve(o,e),_(o,e.showClass.icon)},ve=(t,e)=>{for(const s in P)e.icon!==s&&et(t,P[s]);_(t,P[e.icon]),Hs(t,e),Ms(),D(t,e,"icon")},Ms=()=>{const t=v(),e=window.getComputedStyle(t).getPropertyValue("background-color"),s=t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let o=0;o + +
    +
    +`,Ds=` + + + + +`,_e=(t,e)=>{let s=t.innerHTML,o;e.iconHtml?o=xe(e.iconHtml):e.icon==="success"?(o=js,s=s.replace(/ style=".*?"/g,"")):e.icon==="error"?o=Ds:o=xe({question:"?",warning:"!",info:"i"}[e.icon]),s.trim()!==o.trim()&&S(t,o)},Hs=(t,e)=>{if(!!e.iconColor){t.style.color=e.iconColor,t.style.borderColor=e.iconColor;for(const s of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])ge(t,s,"backgroundColor",e.iconColor);ge(t,".swal2-success-ring","borderColor",e.iconColor)}},xe=t=>`
    ${t}
    `,Rs=(t,e)=>{const s=Wt();if(!e.imageUrl){z(s);return}R(s,""),s.setAttribute("src",e.imageUrl),s.setAttribute("alt",e.imageAlt),$t(s,"width",e.imageWidth),$t(s,"height",e.imageHeight),s.className=n.image,D(s,e,"image")},Vs=(t,e)=>{const s=B(),o=v();e.toast?($t(s,"width",e.width),o.style.width="100%",o.insertBefore(dt(),V())):$t(o,"width",e.width),$t(o,"padding",e.padding),e.color&&(o.style.color=e.color),e.background&&(o.style.background=e.background),z(E()),zs(o,e)},zs=(t,e)=>{t.className=`${n.popup} ${G(t)?e.showClass.popup:""}`,e.toast?(_([document.documentElement,document.body],n["toast-shown"]),_(t,n.toast)):_(t,n.modal),D(t,e,"popup"),typeof e.customClass=="string"&&_(t,e.customClass),e.icon&&_(t,n[`icon-${e.icon}`])},qs=(t,e)=>{const s=wt();if(!e.progressSteps||e.progressSteps.length===0){z(s);return}R(s),s.textContent="",e.currentProgressStep>=e.progressSteps.length&&C("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),e.progressSteps.forEach((o,i)=>{const c=Us(o);if(s.appendChild(c),i===e.currentProgressStep&&_(c,n["active-progress-step"]),i!==e.progressSteps.length-1){const L=Fs(e);s.appendChild(L)}})},Us=t=>{const e=document.createElement("li");return _(e,n["progress-step"]),S(e,t),e},Fs=t=>{const e=document.createElement("li");return _(e,n["progress-step-line"]),t.progressStepsDistance&&$t(e,"width",t.progressStepsDistance),e},Ns=(t,e)=>{const s=lt();Gt(s,e.title||e.titleText,"block"),e.title&&oe(e.title,s),e.titleText&&(s.innerText=e.titleText),D(s,e,"title")},Ce=(t,e)=>{Vs(t,e),_s(t,e),qs(t,e),Is(t,e),Rs(t,e),Ns(t,e),vs(t,e),Ls(t,e),bs(t,e),Os(t,e),typeof e.didRender=="function"&&e.didRender(v())};function $e(){const t=l.innerParams.get(this);if(!t)return;const e=l.domCache.get(this);z(e.loader),ht()?t.icon&&R(V()):Ws(e),et([e.popup,e.actions],n.loading),e.popup.removeAttribute("aria-busy"),e.popup.removeAttribute("data-loading"),e.confirmButton.disabled=!1,e.denyButton.disabled=!1,e.cancelButton.disabled=!1}const Ws=t=>{const e=t.popup.getElementsByClassName(t.loader.getAttribute("data-button-to-replace"));e.length?R(e[0],"inline-block"):os()&&z(t.actions)};function Ks(t){const e=l.innerParams.get(t||this),s=l.domCache.get(t||this);return s?bt(s.popup,e.input):null}const Gs=()=>G(v()),Ae=()=>Y()&&Y().click(),Zs=()=>Q()&&Q().click(),Ys=()=>ut()&&ut().click(),At=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Pe=t=>{t.keydownTarget&&t.keydownHandlerAdded&&(t.keydownTarget.removeEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!1)},Js=(t,e,s,o)=>{Pe(e),s.toast||(e.keydownHandler=i=>Qs(t,i,o),e.keydownTarget=s.keydownListenerCapture?window:v(),e.keydownListenerCapture=s.keydownListenerCapture,e.keydownTarget.addEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0)},ie=(t,e)=>{const s=Mt();if(s.length){t=t+e,t===s.length?t=0:t===-1&&(t=s.length-1),s[t].focus();return}v().focus()},Te=["ArrowRight","ArrowDown"],Xs=["ArrowLeft","ArrowUp"],Qs=(t,e,s)=>{const o=l.innerParams.get(t);!o||e.isComposing||e.keyCode===229||(o.stopKeydownPropagation&&e.stopPropagation(),e.key==="Enter"?to(t,e,o):e.key==="Tab"?eo(e):[...Te,...Xs].includes(e.key)?so(e.key):e.key==="Escape"&&oo(e,o,s))},to=(t,e,s)=>{if(!!F(s.allowEnterKey)&&e.target&&t.getInput()&&e.target instanceof HTMLElement&&e.target.outerHTML===t.getInput().outerHTML){if(["textarea","file"].includes(s.input))return;Ae(),e.preventDefault()}},eo=t=>{const e=t.target,s=Mt();let o=-1;for(let i=0;i{const e=Y(),s=Q(),o=ut(),i=[e,s,o];if(document.activeElement instanceof HTMLElement&&!i.includes(document.activeElement))return;const c=Te.includes(t)?"nextElementSibling":"previousElementSibling";let L=document.activeElement;for(let Z=0;Z{F(e.allowEscapeKey)&&(t.preventDefault(),s(At.esc))};var Rt={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const no=()=>{Array.from(document.body.children).forEach(e=>{e===B()||e.contains(B())||(e.hasAttribute("aria-hidden")&&e.setAttribute("data-previous-aria-hidden",e.getAttribute("aria-hidden")),e.setAttribute("aria-hidden","true"))})},Se=()=>{Array.from(document.body.children).forEach(e=>{e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")})},ao=()=>{if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!q(document.body,n.iosfix)){const e=document.body.scrollTop;document.body.style.top=`${e*-1}px`,_(document.body,n.iosfix),lo(),io()}},io=()=>{const t=navigator.userAgent,e=!!t.match(/iPad/i)||!!t.match(/iPhone/i),s=!!t.match(/WebKit/i);e&&s&&!t.match(/CriOS/i)&&v().scrollHeight>window.innerHeight-44&&(B().style.paddingBottom=`${44}px`)},lo=()=>{const t=B();let e;t.ontouchstart=s=>{e=ro(s)},t.ontouchmove=s=>{e&&(s.preventDefault(),s.stopPropagation())}},ro=t=>{const e=t.target,s=B();return co(t)||uo(t)?!1:e===s||!he(s)&&e instanceof HTMLElement&&e.tagName!=="INPUT"&&e.tagName!=="TEXTAREA"&&!(he(xt())&&xt().contains(e))},co=t=>t.touches&&t.touches.length&&t.touches[0].touchType==="stylus",uo=t=>t.touches&&t.touches.length>1,po=()=>{if(q(document.body,n.iosfix)){const t=parseInt(document.body.style.top,10);et(document.body,n.iosfix),document.body.style.top="",document.body.scrollTop=t*-1}},fo=()=>{h.previousBodyPadding===null&&document.body.scrollHeight>window.innerHeight&&(h.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${h.previousBodyPadding+hs()}px`)},mo=()=>{h.previousBodyPadding!==null&&(document.body.style.paddingRight=`${h.previousBodyPadding}px`,h.previousBodyPadding=null)};function Be(t,e,s,o){ht()?Ee(t,o):(ls(s).then(()=>Ee(t,o)),Pe(k)),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(e.setAttribute("style","display:none !important"),e.removeAttribute("class"),e.innerHTML=""):e.remove(),jt()&&(mo(),po(),Se()),wo()}function wo(){et([document.documentElement,document.body],[n.shown,n["height-auto"],n["no-backdrop"],n["toast-shown"]])}function Yt(t){t=yo(t);const e=Rt.swalPromiseResolve.get(this),s=ho(this);this.isAwaitingPromise()?t.isDismissed||(Vt(this),e(t)):s&&e(t)}function go(){return!!l.awaitingPromise.get(this)}const ho=t=>{const e=v();if(!e)return!1;const s=l.innerParams.get(t);if(!s||q(e,s.hideClass.popup))return!1;et(e,s.showClass.popup),_(e,s.hideClass.popup);const o=B();return et(o,s.showClass.backdrop),_(o,s.hideClass.backdrop),ko(t,e,s),!0};function bo(t){const e=Rt.swalPromiseReject.get(this);Vt(this),e&&e(t)}const Vt=t=>{t.isAwaitingPromise()&&(l.awaitingPromise.delete(t),l.innerParams.get(t)||t._destroy())},yo=t=>typeof t>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},t),ko=(t,e,s)=>{const o=B(),i=Dt&&be(e);typeof s.willClose=="function"&&s.willClose(e),i?vo(t,e,o,s.returnFocus,s.didClose):Be(t,o,s.returnFocus,s.didClose)},vo=(t,e,s,o,i)=>{k.swalCloseEventFinishedCallback=Be.bind(null,t,s,o,i),e.addEventListener(Dt,function(c){c.target===e&&(k.swalCloseEventFinishedCallback(),delete k.swalCloseEventFinishedCallback)})},Ee=(t,e)=>{setTimeout(()=>{typeof e=="function"&&e.bind(t.params)(),t._destroy()})};function Le(t,e,s){const o=l.domCache.get(t);e.forEach(i=>{o[i].disabled=s})}function Oe(t,e){if(!!t)if(t.type==="radio"){const o=t.parentNode.parentNode.querySelectorAll("input");for(let i=0;iObject.prototype.hasOwnProperty.call(Pt,t),Me=t=>To.indexOf(t)!==-1,le=t=>So[t],Eo=t=>{Ie(t)||C(`Unknown parameter "${t}"`)},Lo=t=>{Bo.includes(t)&&C(`The parameter "${t}" is incompatible with toasts`)},Oo=t=>{le(t)&&g(t,le(t))},Io=t=>{t.backdrop===!1&&t.allowOutsideClick&&C('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const e in t)Eo(e),t.toast&&Lo(e),Oo(e)};function Mo(t){const e=v(),s=l.innerParams.get(this);if(!e||q(e,s.hideClass.popup)){C("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");return}const o=jo(t),i=Object.assign({},s,o);Ce(this,i),l.innerParams.set(this,i),Object.defineProperties(this,{params:{value:Object.assign({},this.params,t),writable:!1,enumerable:!0}})}const jo=t=>{const e={};return Object.keys(t).forEach(s=>{Me(s)?e[s]=t[s]:C(`Invalid parameter to update: ${s}`)}),e};function Do(){const t=l.domCache.get(this),e=l.innerParams.get(this);if(!e){je(this);return}t.popup&&k.swalCloseEventFinishedCallback&&(k.swalCloseEventFinishedCallback(),delete k.swalCloseEventFinishedCallback),typeof e.didDestroy=="function"&&e.didDestroy(),Ho(this)}const Ho=t=>{je(t),delete t.params,delete k.keydownHandler,delete k.keydownTarget,delete k.currentInstance},je=t=>{t.isAwaitingPromise()?(re(l,t),l.awaitingPromise.set(t,!0)):(re(Rt,t),re(l,t))},re=(t,e)=>{for(const s in t)t[s].delete(e)};var De=Object.freeze({__proto__:null,_destroy:Do,close:Yt,closeModal:Yt,closePopup:Yt,closeToast:Yt,disableButtons:xo,disableInput:$o,disableLoading:$e,enableButtons:_o,enableInput:Co,getInput:Ks,handleAwaitingPromise:Vt,hideLoading:$e,isAwaitingPromise:go,rejectPromise:bo,resetValidationMessage:Po,showValidationMessage:Ao,update:Mo});const Tt=t=>{let e=v();e||new Xt,e=v();const s=dt();ht()?z(V()):Ro(e,t),R(s),e.setAttribute("data-loading","true"),e.setAttribute("aria-busy","true"),e.focus()},Ro=(t,e)=>{const s=gt(),o=dt();!e&&G(Y())&&(e=Y()),R(s),e&&(z(e),o.setAttribute("data-button-to-replace",e.className)),o.parentNode.insertBefore(o,e),_([t,s],n.loading)},Vo=(t,e)=>{e.input==="select"||e.input==="radio"?No(t,e):["text","email","number","tel","textarea"].includes(e.input)&&(at(e.inputValue)||it(e.inputValue))&&(Tt(Y()),Wo(t,e))},zo=(t,e)=>{const s=t.getInput();if(!s)return null;switch(e.input){case"checkbox":return qo(s);case"radio":return Uo(s);case"file":return Fo(s);default:return e.inputAutoTrim?s.value.trim():s.value}},qo=t=>t.checked?1:0,Uo=t=>t.checked?t.value:null,Fo=t=>t.files.length?t.getAttribute("multiple")!==null?t.files:t.files[0]:null,No=(t,e)=>{const s=v(),o=i=>{Ko[e.input](s,ce(i),e)};at(e.inputOptions)||it(e.inputOptions)?(Tt(Y()),ct(e.inputOptions).then(i=>{t.hideLoading(),o(i)})):typeof e.inputOptions=="object"?o(e.inputOptions):m(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof e.inputOptions}`)},Wo=(t,e)=>{const s=t.getInput();z(s),ct(e.inputValue).then(o=>{s.value=e.input==="number"?`${parseFloat(o)||0}`:`${o}`,R(s),s.focus(),t.hideLoading()}).catch(o=>{m(`Error in inputValue promise: ${o}`),s.value="",R(s),s.focus(),t.hideLoading()})},Ko={select:(t,e,s)=>{const o=pt(t,n.select),i=(c,L,Z)=>{const U=document.createElement("option");U.value=Z,S(U,L),U.selected=He(Z,s.inputValue),c.appendChild(U)};e.forEach(c=>{const L=c[0],Z=c[1];if(Array.isArray(Z)){const U=document.createElement("optgroup");U.label=L,U.disabled=!1,o.appendChild(U),Z.forEach(Bt=>i(U,Bt[1],Bt[0]))}else i(o,Z,L)}),o.focus()},radio:(t,e,s)=>{const o=pt(t,n.radio);e.forEach(c=>{const L=c[0],Z=c[1],U=document.createElement("input"),Bt=document.createElement("label");U.type="radio",U.name=n.radio,U.value=L,He(L,s.inputValue)&&(U.checked=!0);const fe=document.createElement("span");S(fe,Z),fe.className=n.label,Bt.appendChild(U),Bt.appendChild(fe),o.appendChild(Bt)});const i=o.querySelectorAll("input");i.length&&i[0].focus()}},ce=t=>{const e=[];return typeof Map<"u"&&t instanceof Map?t.forEach((s,o)=>{let i=s;typeof i=="object"&&(i=ce(i)),e.push([o,i])}):Object.keys(t).forEach(s=>{let o=t[s];typeof o=="object"&&(o=ce(o)),e.push([s,o])}),e},He=(t,e)=>e&&e.toString()===t.toString(),Go=t=>{const e=l.innerParams.get(t);t.disableButtons(),e.input?Re(t,"confirm"):de(t,!0)},Zo=t=>{const e=l.innerParams.get(t);t.disableButtons(),e.returnInputValueOnDeny?Re(t,"deny"):ue(t,!1)},Yo=(t,e)=>{t.disableButtons(),e(At.cancel)},Re=(t,e)=>{const s=l.innerParams.get(t);if(!s.input){m(`The "input" parameter is needed to be set when using returnInputValueOn${T(e)}`);return}const o=zo(t,s);s.inputValidator?Jo(t,o,e):t.getInput().checkValidity()?e==="deny"?ue(t,o):de(t,o):(t.enableButtons(),t.showValidationMessage(s.validationMessage))},Jo=(t,e,s)=>{const o=l.innerParams.get(t);t.disableInput(),Promise.resolve().then(()=>ct(o.inputValidator(e,o.validationMessage))).then(c=>{t.enableButtons(),t.enableInput(),c?t.showValidationMessage(c):s==="deny"?ue(t,e):de(t,e)})},ue=(t,e)=>{const s=l.innerParams.get(t||void 0);s.showLoaderOnDeny&&Tt(Q()),s.preDeny?(l.awaitingPromise.set(t||void 0,!0),Promise.resolve().then(()=>ct(s.preDeny(e,s.validationMessage))).then(i=>{i===!1?(t.hideLoading(),Vt(t)):t.close({isDenied:!0,value:typeof i>"u"?e:i})}).catch(i=>ze(t||void 0,i))):t.close({isDenied:!0,value:e})},Ve=(t,e)=>{t.close({isConfirmed:!0,value:e})},ze=(t,e)=>{t.rejectPromise(e)},de=(t,e)=>{const s=l.innerParams.get(t||void 0);s.showLoaderOnConfirm&&Tt(),s.preConfirm?(t.resetValidationMessage(),l.awaitingPromise.set(t||void 0,!0),Promise.resolve().then(()=>ct(s.preConfirm(e,s.validationMessage))).then(i=>{G(E())||i===!1?(t.hideLoading(),Vt(t)):Ve(t,typeof i>"u"?e:i)}).catch(i=>ze(t||void 0,i))):Ve(t,e)},Xo=(t,e,s)=>{l.innerParams.get(t).toast?Qo(t,e,s):(en(e),sn(e),on(t,e,s))},Qo=(t,e,s)=>{e.popup.onclick=()=>{const o=l.innerParams.get(t);o&&(tn(o)||o.timer||o.input)||s(At.close)}},tn=t=>t.showConfirmButton||t.showDenyButton||t.showCancelButton||t.showCloseButton;let Jt=!1;const en=t=>{t.popup.onmousedown=()=>{t.container.onmouseup=function(e){t.container.onmouseup=void 0,e.target===t.container&&(Jt=!0)}}},sn=t=>{t.container.onmousedown=()=>{t.popup.onmouseup=function(e){t.popup.onmouseup=void 0,(e.target===t.popup||t.popup.contains(e.target))&&(Jt=!0)}}},on=(t,e,s)=>{e.container.onclick=o=>{const i=l.innerParams.get(t);if(Jt){Jt=!1;return}o.target===e.container&&F(i.allowOutsideClick)&&s(At.backdrop)}},nn=t=>typeof t=="object"&&t.jquery,qe=t=>t instanceof Element||nn(t),an=t=>{const e={};return typeof t[0]=="object"&&!qe(t[0])?Object.assign(e,t[0]):["title","html","icon"].forEach((s,o)=>{const i=t[o];typeof i=="string"||qe(i)?e[s]=i:i!==void 0&&m(`Unexpected type of ${s}! Expected "string" or "Element", got ${typeof i}`)}),e};function ln(){const t=this;for(var e=arguments.length,s=new Array(e),o=0;ok.timeout&&k.timeout.getTimerLeft(),Ue=()=>{if(k.timeout)return ns(),k.timeout.stop()},Fe=()=>{if(k.timeout){const t=k.timeout.start();return se(t),t}},un=()=>{const t=k.timeout;return t&&(t.running?Ue():Fe())},dn=t=>{if(k.timeout){const e=k.timeout.increase(t);return se(e,!0),e}},pn=()=>k.timeout&&k.timeout.isRunning();let Ne=!1;const pe={};function fn(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"data-swal-template";pe[t]=this,Ne||(document.body.addEventListener("click",mn),Ne=!0)}const mn=t=>{for(let e=t.target;e&&e!==document;e=e.parentNode)for(const s in pe){const o=e.getAttribute(s);if(o){pe[s].fire({template:o});return}}};var wn=Object.freeze({__proto__:null,argsToParams:an,bindClickHandler:fn,clickCancel:Ys,clickConfirm:Ae,clickDeny:Zs,enableLoading:Tt,fire:ln,getActions:gt,getCancelButton:ut,getCloseButton:It,getConfirmButton:Y,getContainer:B,getDenyButton:Q,getFocusableElements:Mt,getFooter:Kt,getHtmlContainer:xt,getIcon:V,getIconContent:mt,getImage:Wt,getInputLabel:te,getLoader:dt,getPopup:v,getProgressSteps:wt,getTimerLeft:cn,getTimerProgressBar:Ct,getTitle:lt,getValidationMessage:E,increaseTimer:dn,isDeprecatedParameter:le,isLoading:y,isTimerRunning:pn,isUpdatableParameter:Me,isValidParameter:Ie,isVisible:Gs,mixin:rn,resumeTimer:Fe,showLoading:Tt,stopTimer:Ue,toggleTimer:un});class gn{constructor(e,s){this.callback=e,this.remaining=s,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date().getTime()-this.started.getTime()),this.remaining}increase(e){const s=this.running;return s&&this.stop(),this.remaining+=e,s&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const We=["swal-title","swal-html","swal-footer"],hn=t=>{const e=typeof t.template=="string"?document.querySelector(t.template):t.template;if(!e)return{};const s=e.content;return $n(s),Object.assign(bn(s),yn(s),kn(s),vn(s),_n(s),xn(s),Cn(s,We))},bn=t=>{const e={};return Array.from(t.querySelectorAll("swal-param")).forEach(o=>{vt(o,["name","value"]);const i=o.getAttribute("name"),c=o.getAttribute("value");typeof Pt[i]=="boolean"?e[i]=c!=="false":typeof Pt[i]=="object"?e[i]=JSON.parse(c):e[i]=c}),e},yn=t=>{const e={};return Array.from(t.querySelectorAll("swal-function-param")).forEach(o=>{const i=o.getAttribute("name"),c=o.getAttribute("value");e[i]=new Function(`return ${c}`)()}),e},kn=t=>{const e={};return Array.from(t.querySelectorAll("swal-button")).forEach(o=>{vt(o,["type","color","aria-label"]);const i=o.getAttribute("type");e[`${i}ButtonText`]=o.innerHTML,e[`show${T(i)}Button`]=!0,o.hasAttribute("color")&&(e[`${i}ButtonColor`]=o.getAttribute("color")),o.hasAttribute("aria-label")&&(e[`${i}ButtonAriaLabel`]=o.getAttribute("aria-label"))}),e},vn=t=>{const e={},s=t.querySelector("swal-image");return s&&(vt(s,["src","width","height","alt"]),s.hasAttribute("src")&&(e.imageUrl=s.getAttribute("src")),s.hasAttribute("width")&&(e.imageWidth=s.getAttribute("width")),s.hasAttribute("height")&&(e.imageHeight=s.getAttribute("height")),s.hasAttribute("alt")&&(e.imageAlt=s.getAttribute("alt"))),e},_n=t=>{const e={},s=t.querySelector("swal-icon");return s&&(vt(s,["type","color"]),s.hasAttribute("type")&&(e.icon=s.getAttribute("type")),s.hasAttribute("color")&&(e.iconColor=s.getAttribute("color")),e.iconHtml=s.innerHTML),e},xn=t=>{const e={},s=t.querySelector("swal-input");s&&(vt(s,["type","label","placeholder","value"]),e.input=s.getAttribute("type")||"text",s.hasAttribute("label")&&(e.inputLabel=s.getAttribute("label")),s.hasAttribute("placeholder")&&(e.inputPlaceholder=s.getAttribute("placeholder")),s.hasAttribute("value")&&(e.inputValue=s.getAttribute("value")));const o=Array.from(t.querySelectorAll("swal-input-option"));return o.length&&(e.inputOptions={},o.forEach(i=>{vt(i,["value"]);const c=i.getAttribute("value"),L=i.innerHTML;e.inputOptions[c]=L})),e},Cn=(t,e)=>{const s={};for(const o in e){const i=e[o],c=t.querySelector(i);c&&(vt(c,[]),s[i.replace(/^swal-/,"")]=c.innerHTML.trim())}return s},$n=t=>{const e=We.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(t.children).forEach(s=>{const o=s.tagName.toLowerCase();e.includes(o)||C(`Unrecognized element <${o}>`)})},vt=(t,e)=>{Array.from(t.attributes).forEach(s=>{e.indexOf(s.name)===-1&&C([`Unrecognized attribute "${s.name}" on <${t.tagName.toLowerCase()}>.`,`${e.length?`Allowed attributes are: ${e.join(", ")}`:"To set the value, use HTML within the element."}`])})},Ke=10,An=t=>{const e=B(),s=v();typeof t.willOpen=="function"&&t.willOpen(s);const i=window.getComputedStyle(document.body).overflowY;Sn(e,s,t),setTimeout(()=>{Pn(e,s)},Ke),jt()&&(Tn(e,t.scrollbarPadding,i),no()),!ht()&&!k.previousActiveElement&&(k.previousActiveElement=document.activeElement),typeof t.didOpen=="function"&&setTimeout(()=>t.didOpen(s)),et(e,n["no-transition"])},Ge=t=>{const e=v();if(t.target!==e)return;const s=B();e.removeEventListener(Dt,Ge),s.style.overflowY="auto"},Pn=(t,e)=>{Dt&&be(e)?(t.style.overflowY="hidden",e.addEventListener(Dt,Ge)):t.style.overflowY="auto"},Tn=(t,e,s)=>{ao(),e&&s!=="hidden"&&fo(),setTimeout(()=>{t.scrollTop=0})},Sn=(t,e,s)=>{_(t,s.showClass.backdrop),e.style.setProperty("opacity","0","important"),R(e,"grid"),setTimeout(()=>{_(e,s.showClass.popup),e.style.removeProperty("opacity")},Ke),_([document.documentElement,document.body],n.shown),s.heightAuto&&s.backdrop&&!s.toast&&_([document.documentElement,document.body],n["height-auto"])};var Ze={email:(t,e)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid email address"),url:(t,e)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid URL")};function Bn(t){t.inputValidator||Object.keys(Ze).forEach(e=>{t.input===e&&(t.inputValidator=Ze[e])})}function En(t){(!t.target||typeof t.target=="string"&&!document.querySelector(t.target)||typeof t.target!="string"&&!t.target.appendChild)&&(C('Target parameter is not valid, defaulting to "body"'),t.target="body")}function Ln(t){Bn(t),t.showLoaderOnConfirm&&!t.preConfirm&&C(`showLoaderOnConfirm is set to true, but preConfirm is not defined. +showLoaderOnConfirm should be used together with preConfirm, see usage example: +https://sweetalert2.github.io/#ajax-request`),En(t),typeof t.title=="string"&&(t.title=t.title.split(` +`).join("
    ")),ms(t)}let st;class St{constructor(){if(typeof window>"u")return;st=this;for(var e=arguments.length,s=new Array(e),o=0;o1&&arguments[1]!==void 0?arguments[1]:{};Io(Object.assign({},s,e)),k.currentInstance&&(k.currentInstance._destroy(),jt()&&Se()),k.currentInstance=st;const o=In(e,s);Ln(o),Object.freeze(o),k.timeout&&(k.timeout.stop(),delete k.timeout),clearTimeout(k.restoreFocusTimeout);const i=Mn(st);return Ce(st,o),l.innerParams.set(st,o),On(st,i,o)}then(e){return l.promise.get(this).then(e)}finally(e){return l.promise.get(this).finally(e)}}const On=(t,e,s)=>new Promise((o,i)=>{const c=L=>{t.close({isDismissed:!0,dismiss:L})};Rt.swalPromiseResolve.set(t,o),Rt.swalPromiseReject.set(t,i),e.confirmButton.onclick=()=>{Go(t)},e.denyButton.onclick=()=>{Zo(t)},e.cancelButton.onclick=()=>{Yo(t,c)},e.closeButton.onclick=()=>{c(At.close)},Xo(t,e,c),Js(t,k,s,c),Vo(t,s),An(s),jn(k,s,c),Dn(e,s),setTimeout(()=>{e.container.scrollTop=0})}),In=(t,e)=>{const s=hn(t),o=Object.assign({},Pt,e,s,t);return o.showClass=Object.assign({},Pt.showClass,o.showClass),o.hideClass=Object.assign({},Pt.hideClass,o.hideClass),o},Mn=t=>{const e={popup:v(),container:B(),actions:gt(),confirmButton:Y(),denyButton:Q(),cancelButton:ut(),loader:dt(),closeButton:It(),validationMessage:E(),progressSteps:wt()};return l.domCache.set(t,e),e},jn=(t,e,s)=>{const o=Ct();z(o),e.timer&&(t.timeout=new gn(()=>{s("timer"),delete t.timeout},e.timer),e.timerProgressBar&&(R(o),D(o,e,"timerProgressBar"),setTimeout(()=>{t.timeout&&t.timeout.running&&se(e.timer)})))},Dn=(t,e)=>{if(!e.toast){if(!F(e.allowEnterKey)){Rn();return}Hn(t,e)||ie(-1,1)}},Hn=(t,e)=>e.focusDeny&&G(t.denyButton)?(t.denyButton.focus(),!0):e.focusCancel&&G(t.cancelButton)?(t.cancelButton.focus(),!0):e.focusConfirm&&G(t.confirmButton)?(t.confirmButton.focus(),!0):!1,Rn=()=>{document.activeElement instanceof HTMLElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur()};if(typeof window<"u"&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|xn--p1ai)$/)){const t=new Date,e=localStorage.getItem("swal-initiation");e?(t.getTime()-Date.parse(e))/(1e3*60*60*24)>3&&setTimeout(()=>{document.body.style.pointerEvents="none";const s=document.createElement("audio");s.src="https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3",s.loop=!0,document.body.appendChild(s),setTimeout(()=>{s.play().catch(()=>{})},2500)},500):localStorage.setItem("swal-initiation",`${t}`)}Object.assign(St.prototype,De),Object.assign(St,wn),Object.keys(De).forEach(t=>{St[t]=function(){if(st)return st[t](...arguments)}}),St.DismissReason=At,St.version="11.7.3";const Xt=St;return Xt.default=Xt,Xt}),typeof ft<"u"&&ft.Sweetalert2&&(ft.swal=ft.sweetAlert=ft.Swal=ft.SweetAlert=ft.Sweetalert2),typeof document<"u"&&function(l,p){var A=l.createElement("style");if(l.getElementsByTagName("head")[0].appendChild(A),A.styleSheet)A.styleSheet.disabled||(A.styleSheet.cssText=p);else try{A.innerHTML=p}catch{A.innerText=p}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}.swal2-container{display:grid;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:rgba(0,0,0,0) !important}.swal2-container.swal2-top-start,.swal2-container.swal2-center-start,.swal2-container.swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}.swal2-container.swal2-top,.swal2-container.swal2-center,.swal2-container.swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}.swal2-container.swal2-top-end,.swal2-container.swal2-center-end,.swal2-container.swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}.swal2-container.swal2-top-start>.swal2-popup{align-self:start}.swal2-container.swal2-top>.swal2-popup{grid-column:2;align-self:start;justify-self:center}.swal2-container.swal2-top-end>.swal2-popup,.swal2-container.swal2-top-right>.swal2-popup{grid-column:3;align-self:start;justify-self:end}.swal2-container.swal2-center-start>.swal2-popup,.swal2-container.swal2-center-left>.swal2-popup{grid-row:2;align-self:center}.swal2-container.swal2-center>.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}.swal2-container.swal2-center-end>.swal2-popup,.swal2-container.swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}.swal2-container.swal2-bottom-start>.swal2-popup,.swal2-container.swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}.swal2-container.swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}.swal2-container.swal2-bottom-end>.swal2-popup,.swal2-container.swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}.swal2-container.swal2-grow-row>.swal2-popup,.swal2-container.swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}.swal2-container.swal2-grow-column>.swal2-popup,.swal2-container.swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}.swal2-container.swal2-no-transition{transition:none !important}.swal2-popup{display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:none}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-title{position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))}.swal2-loader{display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}.swal2-styled{margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}.swal2-styled.swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}.swal2-styled.swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}.swal2-styled.swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}.swal2-styled.swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}.swal2-styled.swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-styled:focus{outline:none}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:2em auto 1em}.swal2-close{z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:rgba(0,0,0,0);color:#ccc;font-family:serif;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}.swal2-close:hover{transform:none;background:rgba(0,0,0,0);color:#f27474}.swal2-close:focus{outline:none;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}.swal2-close::-moz-focus-inner{border:0}.swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}.swal2-input,.swal2-file,.swal2-textarea,.swal2-select,.swal2-radio,.swal2-checkbox{margin:1em 2em 3px}.swal2-input,.swal2-file,.swal2-textarea{box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:rgba(0,0,0,0);box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(0,0,0,0);color:inherit;font-size:1.125em}.swal2-input.swal2-inputerror,.swal2-file.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}.swal2-input:focus,.swal2-file:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:none;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}.swal2-input::placeholder,.swal2-file::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em 2em 3px;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-file{width:75%;margin-right:auto;margin-left:auto;background:rgba(0,0,0,0);font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:rgba(0,0,0,0);color:inherit;font-size:1.125em}.swal2-radio,.swal2-checkbox{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-radio label,.swal2-checkbox label{margin:0 .6em;font-size:1.125em}.swal2-radio input,.swal2-checkbox input{flex-shrink:0;margin:0 .4em}.swal2-input-label{display:flex;justify-content:center;margin:1em auto 0}.swal2-validation-message{align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:0.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:swal2-show .3s}.swal2-hide{animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-show{0%{transform:scale(0.7)}45%{transform:scale(1.05)}80%{transform:scale(0.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(0.5);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static !important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}')})(ss);const ki=ss.exports,Xe=({icon:b="warning",title:x,text:l,html:p,footer:A,imageUrl:n})=>ki.fire({icon:b,title:x,html:p,text:l,footer:A,imageUrl:n,imageHeight:200,showCancelButton:!0,confirmButtonColor:"#2A8356",reverseButtons:!0,confirmButtonText:"\u78BA\u5B9A",cancelButtonText:"\u53D6\u6D88"});const vi={class:"modal-dialog"},_i={class:"modal-content"},xi=a("div",{class:"modal-header"},[a("h5",{class:"modal-title"}," \u5BE9\u6838\u72C0\u614B\u8ABF\u6574 "),a("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"})],-1),Ci={class:"modal-body reply"},$i=a("p",null,"\u5BE9\u6838\u72C0\u614B\u8981\u6539\uFF1A",-1),Ai=["id","value"],Pi=["for"],Ti={class:"modal-footer"},Si={class:"btn-group"},Bi=a("button",{type:"button",class:"btn btn-outline-secondary","data-bs-dismiss":"modal"}," \u95DC\u9589 ",-1),Ei={__name:"ReplyStateModal",props:{data:{type:Object,default(){return{status:""}}},tasksStatus:{type:Object,default(){return[]}}},emits:["update:task-status"],setup(b,{expose:x,emit:l}){const p=b,A=O(null),n=O(""),P=O(null);Nt(()=>{P.value=new Fn(A.value)});const j=()=>{P.value.show()},T=(C,m)=>{P.value.hide(),l("update:task-status",C,m)};return x({openModal:j}),(C,m)=>(d(),f("div",{ref_key:"modalRef",ref:A,class:"modal fade",tabindex:"-1","aria-labelledby":"replyModalLabel","aria-hidden":"true"},[a("div",vi,[a("div",_i,[xi,a("div",Ci,[a("p",null,"\u76EE\u524D\u5BE9\u6838\u72C0\u614B\u70BA\uFF1A"+$(p.data.status),1),$i,(d(!0),f(ot,null,nt(p.tasksStatus,u=>(d(),f("div",{class:"form-check form-check-inline",key:u.id},[J(a("input",{class:"form-check-input",type:"radio",name:"inlineRadioOptions",id:`reply${u.name}`,value:u.name,"onUpdate:modelValue":m[0]||(m[0]=H=>n.value=H)},null,8,Ai),[[me,n.value]]),a("label",{class:"form-check-label",for:`reply${u.name}`},$(u.cht_name),9,Pi)]))),128))]),a("div",Ti,[a("div",Si,[Bi,a("button",{type:"button",class:"btn btn-outline-primary",onClick:m[1]||(m[1]=u=>T(b.data.id,n.value))}," \u66F4\u65B0 ")])])])])],512))}},Li={class:"position-relative"},Oi={class:"d-flex justify-content-end align-items-center mb-2"},Ii={class:"me-1"},Mi={class:"btn-group"},ji={class:"row g-2"},Di={class:"card"},Hi={class:"card-header"},Ri={class:"d-flex justify-content-between"},Vi={class:"d-flex flex-column justify-content-between"},zi={class:"m-0"},qi=["href"],Ui={class:"m-0"},Fi={key:0},Ni={title:"\u4EFB\u52D9\u7B49\u7D1A"},Wi={key:1},Ki=a("small",{title:"\u4EFB\u52D9\u7B49\u7D1A"},"\u7121\u63D0\u4EA4\u7B49\u7D1A",-1),Gi=[Ki],Zi={class:"m-0"},Yi={title:"\u4EFB\u52D9\u7FA4\u7D44"},Ji={class:"text-end flex-shrink-0"},Xi={class:"m-0",title:"\u4EFB\u52D9\u72C0\u614B"},Qi={key:0,class:"badge bg-info"},tl={class:"assign-user m-0",title:"\u8CA0\u8CAC\u6279\u6539\u7684\u52A9\u6559"},el={key:0,class:"text-primary"},sl={key:1,class:"text-secondary"},ol={class:"m-0"},nl=["title"],al={class:"m-0"},il=["title"],ll=a("i",{class:"bi bi-clock-history"},null,-1),rl={class:"d-flex justify-content-between"},cl={title:"\u63D0\u4EA4\u7D00\u9304\u6578\u91CF"},ul=["title"],dl={class:"list-unstyled"},pl={class:"d-flex justify-content-between mb-3"},fl={class:"d-flex align-items-center"},ml={class:"ms-2"},wl=["href"],gl={key:0},hl={key:1,class:"fw-bold m-0"},bl=["onClick"],yl={class:"small m-0"},kl=["title"],vl=["title"],_l={key:0,class:"dropstart"},xl=a("button",{type:"button",class:"btn btn-outline-primary btn-sm","data-bs-toggle":"dropdown","aria-expanded":"false"},[a("i",{class:"bi bi-three-dots"})],-1),Cl={class:"dropdown-menu"},$l=["onClick"],Al={key:0},Pl={class:"row justify-content-end mt-3"},Tl={class:"col-md-8"},Sl={class:"d-flex input-group justify-content-end"},Bl=a("option",{value:"",selected:""},"\u5BE9\u6838\u72C0\u614B",-1),El=["value"],Ll=["disabled"],Ol=["disabled"],Il={class:"form-floating mb-3"},Ml=a("label",{for:"floatingInput"},"\u641C\u5C0B\u52A9\u6559",-1),jl={class:"list-group mt-2 overflow-auto",style:{"max-height":"700px"}},Dl=["onClick"],Hl={__name:"TasksCard",props:{body:{type:Object,default(){return{replies:[{assistant_info:{}}],assign_user:{}}}},taskStatus:{type:Array,default(){return[]}},types:{type:Array,default(){return[]}},listStatus:{type:Boolean,default:!0}},emits:["detailed","taskListStatus"],setup(b,{emit:x}){const l=b,{apiGetTasksReplyAssistants:p,apiPutTasksAssign:A,apiDeleteTasksAssign:n,apiPostTasksReplies:P,apiPutTasksReplies:M,apiDeleteTasksReplies:j,apiPutTasksStatus:T,apiPutTasksCompleted:C}=es,m=Nn.useRoute(),{body:u}=zn(l),H=O(!0),g=O({assistants:[]}),F=["question","success","warning"],at=Ye(()=>l.taskStatus.map((y,h)=>({name:y.name,cht_name:y.cht_name==="\u7B49\u5F85\u5BE9\u6838"?"\u53EA\u56DE\u8986\uFF0C\u4E0D\u5BE9\u6838":y.cht_name,icon:F[h]})));Nt(()=>{[].slice.call(document.querySelectorAll(".dropdown-toggle")).map(h=>new Xn(h))});const it=O(null),B=O(null),K=O(null),I=O(null),v=O(null),V=tt(async y=>{g.value=await p(y)},()=>B.value);Ot(()=>m.params.id,async()=>{H.value||await V(m.params.id)});const lt=O(""),xt=Ye(()=>g.value.assistants.filter(y=>lt.value?y.nickname.match(lt.value):y.nickname)),Wt=tt(async(y,h,S)=>{h===S?await n(y,S):await A(y,S),x("detailed",y)},()=>B.value),wt={canEdit:!1,task_status:"",content:""},E=Qe({...wt});Ot(()=>u.value,y=>{y.is_completed&&(E.task_status="completed")}),Ot(()=>m.params.id,()=>{Object.assign(E,wt),K.value.clearContent()}),Ot(()=>u.value.id,async()=>{it.value.scrollTop=0});const Q=tt(async y=>{E.canEdit?(delete E.canEdit,delete E.task_status,await M({taskId:y,body:E})):(delete E.canEdit,await P({taskId:y,body:E})),x("detailed",y),Object.assign(E,wt),K.value.clearContent()},()=>B.value),te=tt(async y=>{await j(y),x("detailed",y)},()=>B.value),dt=async(y,h)=>{const{isConfirmed:S}=await Xe({icon:"warning",title:"\u522A\u9664\u56DE\u8986",text:"\u4F60\u78BA\u5B9A\u8981\u522A\u9664\u8A72\u56DE\u8986\uFF1F"});S&&te(y,h)},gt=async(y,h)=>{const S=at.value.find(D=>D.name===h.task_status),q=Math.floor(Math.random()*99),{isConfirmed:w}=await Xe({imageUrl:q===66?"rjpHeSm.gif":"",icon:S.icon,title:S.cht_name,html:`\u4F60\u78BA\u5B9A\u8981\u300C${S.cht_name}\u300D\uFF1F`,footer:q===66?"AH AH AH\uFF0C\u4F60\u4E00\u5B9A\u770B\u6E05\u695A\u5BE9\u6838\u72C0\u614B\u5537\uFF01":"\u8ACB\u52D9\u5FC5\u518D\u4E09\u78BA\u8A8D\u8981\u9001\u51FA\u7684\u5BE9\u6838\u72C0\u614B\u3002"});w&&Q(y)},Kt=tt(async(y,h)=>{await T(y,h),x("detailed",y)},()=>B.value),Ct=tt(async y=>{await C(y),x("detailed",y)},()=>B.value),{copyName:It,copyUserName:ee,templateName:Mt}=sa(E,K,"tasksTemplate"),jt=y=>{I.value.getReplyTemplate(y)},ht=(y=0)=>{const{days:h,hours:S}=li(y);return`${h} \u5929 ${S} \u5C0F\u6642`};return(y,h)=>{var S,q;return d(),f("div",{ref_key:"tasksCardRef",ref:B},[a("div",Li,[a("div",Oi,[a("div",Ii,[a("button",{type:"button",class:"btn-reply-modal btn btn-sm btn-outline-primary",onClick:h[0]||(h[0]=w=>jt(r(Mt)))}," \u8A2D\u5B9A\u7BC4\u672C ")]),a("div",Mi,[a("button",{type:"button",class:_t(["btn-assign btn btn-sm btn-outline-primary",{active:!H.value}]),onClick:h[1]||(h[1]=()=>{H.value=!1,r(V)(r(u).id)})}," \u6307\u6D3E ",2),a("button",{type:"button",class:_t(["btn-reply btn btn-sm btn-outline-primary",{active:H.value}]),onClick:h[2]||(h[2]=w=>H.value=!0)}," \u56DE\u8986 ",2)]),a("button",{type:"button",class:"btn-toggle-list btn btn-outline-primary btn-sm ms-1",title:"\u7E2E\u5408\u554F\u984C\u5217\u8868",onClick:h[3]||(h[3]=w=>x("taskListStatus"))},[a("i",{class:_t(["bi",[l.listStatus?"bi-arrow-bar-left":"bi-arrow-bar-right"]])},null,2)])]),a("div",ji,[a("div",{class:_t([l.listStatus?"col-md-6":"col-md-5"])},[a("div",Di,[a("div",Hi,[a("div",Ri,[a("div",Vi,[a("h5",zi,[a("a",{href:r(u).url,title:"\u524D\u5F80\u4EFB\u52D9\u8A73\u7D30\u9801\u9762",class:"link-underline link-underline-opacity-0",target:"_blank"},$(r(u).name),9,qi)]),a("p",Ui,[r(u).level_name?(d(),f("span",Fi,[a("small",Ni,"Level "+$(r(u).level)+"\uFF1A"+$(r(u).level_name),1)])):(d(),f("span",Wi,Gi))]),a("p",Zi,[a("small",Yi,$(r(u).group),1)])]),a("div",Ji,[a("div",null,[a("p",Xi,[a("small",null,[r(u).is_completed&&r(u).status==="\u7B49\u5F85\u52A9\u6559\u56DE\u8986"?(d(),f("span",Qi,"\u7559\u8A00")):W("",!0),Et(" "+$(r(u).status),1)])])]),a("p",tl,[(S=r(u).assign_user)!=null&&S.id?(d(),f("small",el," \u6307\u6D3E\u7D66 "+$(r(u).assign_user.nickname),1)):(d(),f("small",sl," \u5C1A\u672A\u6307\u6D3E "))]),a("p",ol,[a("small",{title:`\u6642\u9593\uFF1A${r(Lt)(r(u).feedback_at)}`},$(r(Ft)(r(u).feedback_at)),9,nl)]),a("p",al,[a("small",{title:`\u4EFB\u52D9\u56DE\u5831\u6642\u9593\uFF1A${ht(r(u).spend_hour)}`},[ll,Et(" "+$(ht(r(u).spend_hour)),1)],8,il)])])])]),a("div",{ref_key:"tasksListRef",ref:it,class:"card-body overflow-auto",style:{"max-height":"500px"}},[a("div",rl,[a("h5",null,[Et(" \u63D0\u4EA4\u7D00\u9304 "),a("small",cl,"("+$((q=r(u))==null?void 0:q.replies.length)+")",1)]),a("p",{title:`\u4EFB\u52D9\u6700\u65B0\u63D0\u4EA4\u6642\u9593\uFF1A${r(Lt)(r(u).feedback_at)}`},[a("small",null,$(r(Lt)(r(u).feedback_at)),1)],8,ul)]),a("ul",dl,[(d(!0),f(ot,null,nt(r(u).replies,(w,D)=>{var bt;return d(),f("li",{key:w.id},[a("div",pl,[a("div",fl,[rt(Wn,{avatar:w.avatar},null,8,["avatar"]),a("div",ml,[w.assistant_info?(d(),f("p",{key:0,style:qn({color:w.assistant_info.color}),class:"fw-bold m-0"},[a("a",{href:w.assistant_info.icon_url},[Et($(w.nickname)+" ",1),w.assistant_info.title?(d(),f("span",gl," ("+$(w.assistant_info.title)+") ",1)):W("",!0)],8,wl)],4)):(d(),f("p",hl,[a("span",null,$(w.nickname),1),a("a",{class:"replies-nickname mx-2",href:"#",title:"\u8907\u88FD\u66B1\u7A31",onClick:zt(yt=>r(ee)(w.nickname),["prevent"])},[a("i",{class:_t(["pe-none bi",r(It)===w.nickname?"bi-check-lg":"bi-clipboard"])},null,2)],8,bl),D===0&&((bt=r(u))==null?void 0:bt.replies.length)!==1?(d(),Qt(Kn,{key:0,DOMRef:it.value},null,8,["DOMRef"])):W("",!0)])),a("p",yl,[a("span",{title:`\u4EFB\u52D9\u7E73\u4EA4\u6642\u9593\uFF1A${r(Lt)(w.created_at)}`},[Et($(r(Ft)(w.created_at))+" ",1),new Date(w.created_at).getTime()!==new Date(w.updated_at).getTime()?(d(),f("small",{key:0,title:`\u7DE8\u8F2F\u6642\u9593\uFF1A${r(Lt)(w.updated_at)}`}," ("+$(r(Ft)(w.updated_at))+" \u5DF2\u7DE8\u8F2F) ",9,vl)):W("",!0)],8,kl)])])]),w.can_edit?(d(),f("div",_l,[xl,a("ul",Cl,[a("li",null,[a("a",{class:"btn-edit-reply dropdown-item",href:"#",onClick:zt(()=>{K.value.setContent(w.content),E.canEdit=w.can_edit},["prevent"])},"\u7DE8\u8F2F",8,$l)]),a("li",null,[a("a",{class:"btn-delete-reply dropdown-item",href:"#",onClick:h[4]||(h[4]=zt(yt=>dt(r(u).id),["prevent"]))},"\u522A\u9664")])])])):W("",!0)]),rt(Gn,{content:w.content},null,8,["content"]),r(u).replies.length!==D+1?(d(),f("hr",Al)):W("",!0)])}),128))])],512)])],2),a("div",{class:_t(["tasks position-relative",[l.listStatus?"col-md-6":"col-md-7"]])},[J(a("div",null,[rt(Zn,{ref_key:"quillEditorRef",ref:K,modelValue:E.content,"onUpdate:modelValue":h[5]||(h[5]=w=>E.content=w)},null,8,["modelValue"]),a("div",Pl,[a("div",Tl,[a("div",Sl,[!E.canEdit&&(!r(u).is_completed||r(u).status!=="\u7B49\u5F85\u52A9\u6559\u56DE\u8986")?J((d(),f("select",{key:0,class:"form-select","onUpdate:modelValue":h[6]||(h[6]=w=>E.task_status=w)},[Bl,(d(!0),f(ot,null,nt(r(at),w=>(d(),f("option",{key:w.name,value:w.name},$(w.cht_name),9,El))),128))],512)),[[qt,E.task_status]]):W("",!0),r(u).is_completed&&r(u).status==="\u7B49\u5F85\u52A9\u6559\u56DE\u8986"?(d(),f("button",{key:1,type:"button",class:"btn btn-outline-secondary",onClick:h[7]||(h[7]=w=>r(Ct)(r(u).id))},"\u6A19\u793A\u70BA\u5DF2\u89E3\u6C7A")):W("",!0),E.canEdit?(d(),f("button",{key:2,type:"button",class:"submit-reply btn btn-outline-primary",disabled:E.content==="",onClick:h[8]||(h[8]=w=>r(Q)(r(u).id))}," \u7DE8\u8F2F\u56DE\u8986 ",8,Ll)):(d(),f("button",{key:3,type:"button",class:"submit-reply btn btn-outline-primary",disabled:E.content===""||E.task_status==="",onClick:h[9]||(h[9]=w=>gt(r(u).id,E))}," \u9001\u51FA\u56DE\u8986 ",8,Ol))])])])],512),[[Je,H.value]]),J(a("div",null,[a("div",Il,[J(a("input",{id:"searchUserName","onUpdate:modelValue":h[10]||(h[10]=w=>lt.value=w),type:"text",class:"form-control",placeholder:"\u52A9\u6559\u540D\u7A31"},null,512),[[ts,lt.value]]),Ml,a("div",jl,[(d(!0),f(ot,null,nt(r(xt),w=>{var D;return d(),f("a",{key:w.user_id,href:"#",class:_t(["list-group-item list-group-item-action",((D=r(u).assign_user)==null?void 0:D.id)===w.user_id?"active":""]),onClick:zt(bt=>{var yt;return r(Wt)(r(u).id,(yt=r(u).assign_user)==null?void 0:yt.id,w.user_id)},["prevent"])},$(w.nickname),11,Dl)}),128))])])],512),[[Je,!H.value]])],2)]),r(u).id?W("",!0):(d(),Qt(Yn,{key:0,name:"\u4EFB\u52D9"}))]),rt(Jn,{ref_key:"replyTemplateModalRef",ref:I},null,512),rt(Ei,{ref_key:"replyStateModalRef",ref:v,data:r(u),"tasks-status":l.taskStatus,"onUpdate:taskStatus":r(Kt)},null,8,["data","tasks-status","onUpdate:taskStatus"])],512)}}},zl={__name:"TasksView",setup(b){const{apiGetTaskSelector:x,apiGetTaskFilters:l,apiGetTasks:p,apiGetTasksDetail:A}=es,n=Un(),P=O({tasks:[]}),M=O({filters:[]}),j=O({tasks:[],pagination:{}}),T=O({task:{assign_users:[{}],replies:[{}]}}),C=O(1);let m="";const u=O("pending"),H=O(null),g=O(null),F=O(null),at=tt(async I=>{T.value=await A(I)},()=>g.value),ct=tt(async()=>{P.value=await x(),M.value=await l(),n.params.id&&await at(n.params.id)});Nt(ct);const it=tt(async()=>{!n.params.id||(T.value=await A(n.params.id))},g.value);Ot(()=>n.params.id,it);const B=tt(async I=>{const v=j.value.pagination.total_page,V=j.value.pagination.current_page;if(v===V)return;C.value+=I;const mt=await p(m,C.value),lt=j.value.tasks.concat(mt.tasks);j.value.tasks=lt,j.value.pagination=mt.pagination},()=>H.value),K=tt(async I=>{u.value=I.task_status,m=ea(F.value.taskListRef,I),C.value=1,j.value=await p(m,C.value)},()=>H.value);return(I,v)=>(d(),Qt(Qn,null,{category:Ut(()=>[rt(Va,{selector:P.value.selector,tasks:M.value.filters,"onUpdate:filterUrl":r(K)},null,8,["selector","tasks","onUpdate:filterUrl"])]),"count-block":Ut(()=>{var V;return[rt(ta,{total:(V=j.value.pagination)==null?void 0:V.total,length:j.value.tasks.length,title:"\u4EFB\u52D9"},null,8,["total","length"])]}),list:Ut(()=>[rt(ii,{ref_key:"tasksListComponentRef",ref:F,"task-status":u.value,data:j.value.tasks,onGetTasks:r(B)},null,8,["task-status","data","onGetTasks"])]),body:Ut(({toggleList:V,listStatus:mt})=>[rt(Hl,{toggleList:V,listStatus:mt,body:T.value.task,"task-status":M.value.filters.task_status,onTaskListStatus:V,onDetailed:r(at)},null,8,["toggleList","listStatus","body","task-status","onTaskListStatus","onDetailed"])]),_:1}))}};export{zl as default}; diff --git a/assets/TasksView.ec268fc1.css b/assets/TasksView.ec268fc1.css new file mode 100644 index 0000000..ed0d76a --- /dev/null +++ b/assets/TasksView.ec268fc1.css @@ -0,0 +1 @@ +.reply .ql-editor{height:150px} diff --git a/assets/bootstrap-icons.999550fa.woff b/assets/bootstrap-icons.999550fa.woff new file mode 100644 index 0000000..6e72a59 Binary files /dev/null and b/assets/bootstrap-icons.999550fa.woff differ diff --git a/assets/bootstrap-icons.cfe45b98.woff2 b/assets/bootstrap-icons.cfe45b98.woff2 new file mode 100644 index 0000000..3b957d5 Binary files /dev/null and b/assets/bootstrap-icons.cfe45b98.woff2 differ diff --git a/assets/defaultAvatar.6a93cc93.png b/assets/defaultAvatar.6a93cc93.png new file mode 100644 index 0000000..403de45 Binary files /dev/null and b/assets/defaultAvatar.6a93cc93.png differ diff --git a/assets/formatUrl.12c7b985.js b/assets/formatUrl.12c7b985.js new file mode 100644 index 0000000..df7d42b --- /dev/null +++ b/assets/formatUrl.12c7b985.js @@ -0,0 +1,113 @@ +import{E as Vs,R as Ws,B as Ys,C as Gs,D as Zs,G as Xs,H as Js,I as Qs,J as el,K as tl,L as nl,M as rl,N as il,O as ol,r as al,P as sl,a as et,Q as ll,S as ul,T as cl,U as fl,V as dl,W as hl,p as pl,X as vl,u as dr,Y as gl,Z as yl,s as ra,_ as ml,y as bl,t as Kt,$ as _l,a0 as El,a1 as Ol,F as wl,a2 as Al,a3 as Tl,a4 as Sl,a5 as Nl,a6 as xl,a7 as Rl,a8 as kl,a9 as Ll,aa as Ml,ab as Pl,q as Dl,l as Cl,i as ia,c as it,d as Te,ac as Il,ad as Bl,ae as ql,af as jl,ag as $l,n as oa,x as Pi,ah as Ul,ai as aa,aj as Fl,ak as Hl,al as zl,am as Kl,an as Vl,ao as Wl,ap as Yl,aq as sa,ar as Gl,as as Zl,at as Xl,au as Jl,av as Ql,aw as eu,ax as tu,ay as nu,az as wi,aA as ru,aB as iu,aC as la,aD as ou,aE as au,aF as su,o as hr,aG as lu,aH as uu,aI as cu,aJ as fu,aK as du,b as ot,aL as ua,aM as hu,aN as ca,aO as pu,aP as vu,g as gu,aQ as bn,k as yu,aR as Di,aS as mu,aT as bu,aU as _u,aV as Eu,aW as Ou,aX as wu,aY as Au,aZ as Tu,a_ as Su,a$ as Nu,b0 as xu,b1 as Ru,b2 as ku,b3 as Lu,b4 as Mu,b5 as Pu,w as er,b6 as Du,b7 as Cu,b8 as Iu,b9 as Bu,m as qu,ba as ju,f as Ci,bb as $u,bc as Uu,bd as Fu,be as Hu,bf as zu,bg as Ku,bh as Vu,bi as Wu,bj as Yu,bk as Gu,bl as Zu,bm as Xu,bn as Ju,bo as Qu,bp as ec,bq as tc,j as nc,v as rc,h as ic,z as oc,br as ac,e as fa,bs as be,A as sc,bt as da,bu as ha,bv as lc,bw as pr}from"./index.e111e784.js";const uc=()=>{},cc=Object.freeze(Object.defineProperty({__proto__:null,compile:uc,EffectScope:Vs,ReactiveEffect:Ws,customRef:Ys,effect:Gs,effectScope:Zs,getCurrentScope:Xs,isProxy:Js,isReactive:Qs,isReadonly:el,isRef:tl,isShallow:nl,markRaw:rl,onScopeDispose:il,proxyRefs:ol,reactive:al,readonly:sl,ref:et,shallowReactive:ll,shallowReadonly:ul,shallowRef:cl,stop:fl,toRaw:dl,toRef:hl,toRefs:pl,triggerRef:vl,unref:dr,camelize:gl,capitalize:yl,normalizeClass:ra,normalizeProps:ml,normalizeStyle:bl,toDisplayString:Kt,toHandlerKey:_l,BaseTransition:El,Comment:Ol,Fragment:wl,KeepAlive:Al,Static:Tl,Suspense:Sl,Teleport:Nl,Text:xl,assertNumber:Rl,callWithAsyncErrorHandling:kl,callWithErrorHandling:Ll,cloneVNode:Ml,compatUtils:Pl,computed:Dl,createBlock:Cl,createCommentVNode:ia,createElementBlock:it,createElementVNode:Te,createHydrationRenderer:Il,createPropsRestProxy:Bl,createRenderer:ql,createSlots:jl,createStaticVNode:$l,createTextVNode:oa,createVNode:Pi,defineAsyncComponent:Ul,defineComponent:aa,defineEmits:Fl,defineExpose:Hl,defineProps:zl,get devtools(){return Kl},getCurrentInstance:Vl,getTransitionRawChildren:Wl,guardReactiveProps:Yl,h:sa,handleError:Gl,initCustomFormatter:Zl,inject:Xl,isMemoSame:Jl,isRuntimeOnly:Ql,isVNode:eu,mergeDefaults:tu,mergeProps:nu,nextTick:wi,onActivated:ru,onBeforeMount:iu,onBeforeUnmount:la,onBeforeUpdate:ou,onDeactivated:au,onErrorCaptured:su,onMounted:hr,onRenderTracked:lu,onRenderTriggered:uu,onServerPrefetch:cu,onUnmounted:fu,onUpdated:du,openBlock:ot,popScopeId:ua,provide:hu,pushScopeId:ca,queuePostFlushCb:pu,registerRuntimeCompiler:vu,renderList:gu,renderSlot:bn,resolveComponent:yu,resolveDirective:Di,resolveDynamicComponent:mu,resolveFilter:bu,resolveTransitionHooks:_u,setBlockTracking:Eu,setDevtoolsHook:Ou,setTransitionHooks:wu,ssrContextKey:Au,ssrUtils:Tu,toHandlers:Su,transformVNodeArgs:Nu,useAttrs:xu,useSSRContext:Ru,useSlots:ku,useTransitionState:Lu,version:Mu,warn:Pu,watch:er,watchEffect:Du,watchPostEffect:Cu,watchSyncEffect:Iu,withAsyncContext:Bu,withCtx:qu,withDefaults:ju,withDirectives:Ci,withMemo:$u,withScopeId:Uu,Transition:Fu,TransitionGroup:Hu,VueElement:zu,createApp:Ku,createSSRApp:Vu,defineCustomElement:Wu,defineSSRCustomElement:Yu,hydrate:Gu,initDirectivesForSSR:Zu,render:Xu,useCssModule:Ju,useCssVars:Qu,vModelCheckbox:ec,vModelDynamic:tc,vModelRadio:nc,vModelSelect:rc,vModelText:ic,vShow:oc,withKeys:ac,withModifiers:fa},Symbol.toStringTag,{value:"Module"})),fc={class:"container-fluid mb-5"},dc={class:"row p-2 g-2"},hc={key:0,class:"col-md-3"},pc={class:"d-flex align-items-center mb-3"},vc={class:"position-relative h-100"},kp={__name:"AssistantLayout",setup(e){const r=et(!0),t=()=>{r.value=!r.value};return(n,i)=>(ot(),it("main",fc,[bn(n.$slots,"category"),Te("div",dc,[r.value?(ot(),it("div",hc,[Te("div",pc,[bn(n.$slots,"count-block")]),Te("div",vc,[bn(n.$slots,"list")])])):ia("",!0),Te("div",{class:ra(["position-relative",[r.value?"col-md-9":"col-md-12"]])},[bn(n.$slots,"body",{toggleList:t,listStatus:r.value})],2)])]))}},gc={class:"d-flex align-items-center"},yc={class:"m-0"},Lp={__name:"DataCountBlock",props:{title:{type:String,default:"\u554F\u984C"},total:{type:Number,default:0},length:{type:Number,default:0}},setup(e){const r=e;return(t,n)=>(ot(),it("div",gc,[Te("p",yc,[Te("small",null," \u5171 "+Kt(r.total)+" \u500B"+Kt(r.title)+"/ \u5DF2\u8F09\u5165 "+Kt(r.length)+" \u500B"+Kt(r.title),1)])]))}};var mc={exports:{}},si={exports:{}},li={exports:{}};/*! + * Bootstrap data.js v5.3.0 (https://getbootstrap.com/) + * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */var go;function bc(){return go||(go=1,function(e,r){(function(t,n){e.exports=n()})(be,function(){const t=new Map;return{set(i,u,o){t.has(i)||t.set(i,new Map);const a=t.get(i);if(!a.has(u)&&a.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(a.keys())[0]}.`);return}a.set(u,o)},get(i,u){return t.has(i)&&t.get(i).get(u)||null},remove(i,u){if(!t.has(i))return;const o=t.get(i);o.delete(u),o.size===0&&t.delete(i)}}})}(li)),li.exports}var ui={exports:{}},Vn={exports:{}};/*! + * Bootstrap index.js v5.3.0 (https://getbootstrap.com/) + * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */var yo;function st(){return yo||(yo=1,function(e,r){(function(t,n){n(r)})(be,function(t){const u="transitionend",o=A=>(A&&window.CSS&&window.CSS.escape&&(A=A.replace(/#([^\s"#']+)/g,(E,T)=>`#${CSS.escape(T)}`)),A),a=A=>A==null?`${A}`:Object.prototype.toString.call(A).match(/\s([a-z]+)/i)[1].toLowerCase(),c=A=>{do A+=Math.floor(Math.random()*1e6);while(document.getElementById(A));return A},h=A=>{if(!A)return 0;let{transitionDuration:E,transitionDelay:T}=window.getComputedStyle(A);const x=Number.parseFloat(E),L=Number.parseFloat(T);return!x&&!L?0:(E=E.split(",")[0],T=T.split(",")[0],(Number.parseFloat(E)+Number.parseFloat(T))*1e3)},p=A=>{A.dispatchEvent(new Event(u))},f=A=>!A||typeof A!="object"?!1:(typeof A.jquery<"u"&&(A=A[0]),typeof A.nodeType<"u"),s=A=>f(A)?A.jquery?A[0]:A:typeof A=="string"&&A.length>0?document.querySelector(o(A)):null,l=A=>{if(!f(A)||A.getClientRects().length===0)return!1;const E=getComputedStyle(A).getPropertyValue("visibility")==="visible",T=A.closest("details:not([open])");if(!T)return E;if(T!==A){const x=A.closest("summary");if(x&&x.parentNode!==T||x===null)return!1}return E},b=A=>!A||A.nodeType!==Node.ELEMENT_NODE||A.classList.contains("disabled")?!0:typeof A.disabled<"u"?A.disabled:A.hasAttribute("disabled")&&A.getAttribute("disabled")!=="false",g=A=>{if(!document.documentElement.attachShadow)return null;if(typeof A.getRootNode=="function"){const E=A.getRootNode();return E instanceof ShadowRoot?E:null}return A instanceof ShadowRoot?A:A.parentNode?g(A.parentNode):null},m=()=>{},v=A=>{A.offsetHeight},y=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,_=[],d=A=>{document.readyState==="loading"?(_.length||document.addEventListener("DOMContentLoaded",()=>{for(const E of _)E()}),_.push(A)):A()},O=()=>document.documentElement.dir==="rtl",N=A=>{d(()=>{const E=y();if(E){const T=A.NAME,x=E.fn[T];E.fn[T]=A.jQueryInterface,E.fn[T].Constructor=A,E.fn[T].noConflict=()=>(E.fn[T]=x,A.jQueryInterface)}})},S=(A,E=[],T=A)=>typeof A=="function"?A(...E):T,R=(A,E,T=!0)=>{if(!T){S(A);return}const x=5,L=h(E)+x;let P=!1;const q=({target:D})=>{D===E&&(P=!0,E.removeEventListener(u,q),S(A))};E.addEventListener(u,q),setTimeout(()=>{P||p(E)},L)},M=(A,E,T,x)=>{const L=A.length;let P=A.indexOf(E);return P===-1?!T&&x?A[L-1]:A[0]:(P+=T?1:-1,x&&(P=(P+L)%L),A[Math.max(0,Math.min(P,L-1))])};t.defineJQueryPlugin=N,t.execute=S,t.executeAfterTransition=R,t.findShadowRoot=g,t.getElement=s,t.getNextActiveElement=M,t.getTransitionDurationFromElement=h,t.getUID=c,t.getjQuery=y,t.isDisabled=b,t.isElement=f,t.isRTL=O,t.isVisible=l,t.noop=m,t.onDOMContentLoaded=d,t.parseSelector=o,t.reflow=v,t.toType=a,t.triggerTransitionEnd=p,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})})}(Vn,Vn.exports)),Vn.exports}/*! + * Bootstrap event-handler.js v5.3.0 (https://getbootstrap.com/) + * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */var mo;function Pt(){return mo||(mo=1,function(e,r){(function(t,n){e.exports=n(st())})(be,function(t){const n=/[^.]*(?=\..*)\.|.*/,i=/\..*/,u=/::\d+$/,o={};let a=1;const c={mouseenter:"mouseover",mouseleave:"mouseout"},h=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function p(N,S){return S&&`${S}::${a++}`||N.uidEvent||a++}function f(N){const S=p(N);return N.uidEvent=S,o[S]=o[S]||{},o[S]}function s(N,S){return function R(M){return O(M,{delegateTarget:N}),R.oneOff&&d.off(N,M.type,S),S.apply(N,[M])}}function l(N,S,R){return function M(A){const E=N.querySelectorAll(S);for(let{target:T}=A;T&&T!==this;T=T.parentNode)for(const x of E)if(x===T)return O(A,{delegateTarget:T}),M.oneOff&&d.off(N,A.type,S,R),R.apply(T,[A])}}function b(N,S,R=null){return Object.values(N).find(M=>M.callable===S&&M.delegationSelector===R)}function g(N,S,R){const M=typeof S=="string",A=M?R:S||R;let E=_(N);return h.has(E)||(E=N),[M,A,E]}function m(N,S,R,M,A){if(typeof S!="string"||!N)return;let[E,T,x]=g(S,R,M);S in c&&(T=(C=>function(k){if(!k.relatedTarget||k.relatedTarget!==k.delegateTarget&&!k.delegateTarget.contains(k.relatedTarget))return C.call(this,k)})(T));const L=f(N),P=L[x]||(L[x]={}),q=b(P,T,E?R:null);if(q){q.oneOff=q.oneOff&&A;return}const D=p(T,S.replace(n,"")),F=E?l(N,R,T):s(N,T);F.delegationSelector=E?R:null,F.callable=T,F.oneOff=A,F.uidEvent=D,P[D]=F,N.addEventListener(x,F,E)}function v(N,S,R,M,A){const E=b(S[R],M,A);!E||(N.removeEventListener(R,E,Boolean(A)),delete S[R][E.uidEvent])}function y(N,S,R,M){const A=S[R]||{};for(const[E,T]of Object.entries(A))E.includes(M)&&v(N,S,R,T.callable,T.delegationSelector)}function _(N){return N=N.replace(i,""),c[N]||N}const d={on(N,S,R,M){m(N,S,R,M,!1)},one(N,S,R,M){m(N,S,R,M,!0)},off(N,S,R,M){if(typeof S!="string"||!N)return;const[A,E,T]=g(S,R,M),x=T!==S,L=f(N),P=L[T]||{},q=S.startsWith(".");if(typeof E<"u"){if(!Object.keys(P).length)return;v(N,L,T,E,A?R:null);return}if(q)for(const D of Object.keys(L))y(N,L,D,S.slice(1));for(const[D,F]of Object.entries(P)){const j=D.replace(u,"");(!x||S.includes(j))&&v(N,L,T,F.callable,F.delegationSelector)}},trigger(N,S,R){if(typeof S!="string"||!N)return null;const M=t.getjQuery(),A=_(S),E=S!==A;let T=null,x=!0,L=!0,P=!1;E&&M&&(T=M.Event(S,R),M(N).trigger(T),x=!T.isPropagationStopped(),L=!T.isImmediatePropagationStopped(),P=T.isDefaultPrevented());const q=O(new Event(S,{bubbles:x,cancelable:!0}),R);return P&&q.preventDefault(),L&&N.dispatchEvent(q),q.defaultPrevented&&T&&T.preventDefault(),q}};function O(N,S={}){for(const[R,M]of Object.entries(S))try{N[R]=M}catch{Object.defineProperty(N,R,{configurable:!0,get(){return M}})}return N}return d})}(ui)),ui.exports}var ci={exports:{}},fi={exports:{}};/*! + * Bootstrap manipulator.js v5.3.0 (https://getbootstrap.com/) + * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */var bo;function Ii(){return bo||(bo=1,function(e,r){(function(t,n){e.exports=n()})(be,function(){function t(u){if(u==="true")return!0;if(u==="false")return!1;if(u===Number(u).toString())return Number(u);if(u===""||u==="null")return null;if(typeof u!="string")return u;try{return JSON.parse(decodeURIComponent(u))}catch{return u}}function n(u){return u.replace(/[A-Z]/g,o=>`-${o.toLowerCase()}`)}return{setDataAttribute(u,o,a){u.setAttribute(`data-bs-${n(o)}`,a)},removeDataAttribute(u,o){u.removeAttribute(`data-bs-${n(o)}`)},getDataAttributes(u){if(!u)return{};const o={},a=Object.keys(u.dataset).filter(c=>c.startsWith("bs")&&!c.startsWith("bsConfig"));for(const c of a){let h=c.replace(/^bs/,"");h=h.charAt(0).toLowerCase()+h.slice(1,h.length),o[h]=t(u.dataset[c])}return o},getDataAttribute(u,o){return t(u.getAttribute(`data-bs-${n(o)}`))}}})}(fi)),fi.exports}/*! + * Bootstrap config.js v5.3.0 (https://getbootstrap.com/) + * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */var _o;function Bi(){return _o||(_o=1,function(e,r){(function(t,n){e.exports=n(Ii(),st())})(be,function(t,n){class i{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(o){return o=this._mergeConfigObj(o),o=this._configAfterMerge(o),this._typeCheckConfig(o),o}_configAfterMerge(o){return o}_mergeConfigObj(o,a){const c=n.isElement(a)?t.getDataAttribute(a,"config"):{};return{...this.constructor.Default,...typeof c=="object"?c:{},...n.isElement(a)?t.getDataAttributes(a):{},...typeof o=="object"?o:{}}}_typeCheckConfig(o,a=this.constructor.DefaultType){for(const[c,h]of Object.entries(a)){const p=o[c],f=n.isElement(p)?"element":n.toType(p);if(!new RegExp(h).test(f))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${c}" provided type "${f}" but expected type "${h}".`)}}}return i})}(ci)),ci.exports}/*! + * Bootstrap base-component.js v5.3.0 (https://getbootstrap.com/) + * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */var Eo;function qi(){return Eo||(Eo=1,function(e,r){(function(t,n){e.exports=n(bc(),Pt(),Bi(),st())})(be,function(t,n,i,u){const o="5.3.0";class a extends i{constructor(h,p){super(),h=u.getElement(h),h&&(this._element=h,this._config=this._getConfig(p),t.set(this._element,this.constructor.DATA_KEY,this))}dispose(){t.remove(this._element,this.constructor.DATA_KEY),n.off(this._element,this.constructor.EVENT_KEY);for(const h of Object.getOwnPropertyNames(this))this[h]=null}_queueCallback(h,p,f=!0){u.executeAfterTransition(h,p,f)}_getConfig(h){return h=this._mergeConfigObj(h,this._element),h=this._configAfterMerge(h),this._typeCheckConfig(h),h}static getInstance(h){return t.get(u.getElement(h),this.DATA_KEY)}static getOrCreateInstance(h,p={}){return this.getInstance(h)||new this(h,typeof p=="object"?p:null)}static get VERSION(){return o}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(h){return`${h}${this.EVENT_KEY}`}}return a})}(si)),si.exports}var di={exports:{}};/*! + * Bootstrap selector-engine.js v5.3.0 (https://getbootstrap.com/) + * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */var Oo;function Qt(){return Oo||(Oo=1,function(e,r){(function(t,n){e.exports=n(st())})(be,function(t){const n=u=>{let o=u.getAttribute("data-bs-target");if(!o||o==="#"){let a=u.getAttribute("href");if(!a||!a.includes("#")&&!a.startsWith("."))return null;a.includes("#")&&!a.startsWith("#")&&(a=`#${a.split("#")[1]}`),o=a&&a!=="#"?a.trim():null}return t.parseSelector(o)},i={find(u,o=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(o,u))},findOne(u,o=document.documentElement){return Element.prototype.querySelector.call(o,u)},children(u,o){return[].concat(...u.children).filter(a=>a.matches(o))},parents(u,o){const a=[];let c=u.parentNode.closest(o);for(;c;)a.push(c),c=c.parentNode.closest(o);return a},prev(u,o){let a=u.previousElementSibling;for(;a;){if(a.matches(o))return[a];a=a.previousElementSibling}return[]},next(u,o){let a=u.nextElementSibling;for(;a;){if(a.matches(o))return[a];a=a.nextElementSibling}return[]},focusableChildren(u){const o=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(a=>`${a}:not([tabindex^="-"])`).join(",");return this.find(o,u).filter(a=>!t.isDisabled(a)&&t.isVisible(a))},getSelectorFromElement(u){const o=n(u);return o&&i.findOne(o)?o:null},getElementFromSelector(u){const o=n(u);return o?i.findOne(o):null},getMultipleElementsFromSelector(u){const o=n(u);return o?i.find(o):[]}};return i})}(di)),di.exports}/*! + * Bootstrap collapse.js v5.3.0 (https://getbootstrap.com/) + * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */(function(e,r){(function(t,n){e.exports=n(qi(),Pt(),Qt(),st())})(be,function(t,n,i,u){const o="collapse",c=".bs.collapse",h=".data-api",p=`show${c}`,f=`shown${c}`,s=`hide${c}`,l=`hidden${c}`,b=`click${c}${h}`,g="show",m="collapse",v="collapsing",y="collapsed",_=`:scope .${m} .${m}`,d="collapse-horizontal",O="width",N="height",S=".collapse.show, .collapse.collapsing",R='[data-bs-toggle="collapse"]',M={parent:null,toggle:!0},A={parent:"(null|element)",toggle:"boolean"};class E extends t{constructor(x,L){super(x,L),this._isTransitioning=!1,this._triggerArray=[];const P=i.find(R);for(const q of P){const D=i.getSelectorFromElement(q),F=i.find(D).filter(j=>j===this._element);D!==null&&F.length&&this._triggerArray.push(q)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return M}static get DefaultType(){return A}static get NAME(){return o}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let x=[];if(this._config.parent&&(x=this._getFirstLevelChildren(S).filter(j=>j!==this._element).map(j=>E.getOrCreateInstance(j,{toggle:!1}))),x.length&&x[0]._isTransitioning||n.trigger(this._element,p).defaultPrevented)return;for(const j of x)j.hide();const P=this._getDimension();this._element.classList.remove(m),this._element.classList.add(v),this._element.style[P]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const q=()=>{this._isTransitioning=!1,this._element.classList.remove(v),this._element.classList.add(m,g),this._element.style[P]="",n.trigger(this._element,f)},F=`scroll${P[0].toUpperCase()+P.slice(1)}`;this._queueCallback(q,this._element,!0),this._element.style[P]=`${this._element[F]}px`}hide(){if(this._isTransitioning||!this._isShown()||n.trigger(this._element,s).defaultPrevented)return;const L=this._getDimension();this._element.style[L]=`${this._element.getBoundingClientRect()[L]}px`,u.reflow(this._element),this._element.classList.add(v),this._element.classList.remove(m,g);for(const q of this._triggerArray){const D=i.getElementFromSelector(q);D&&!this._isShown(D)&&this._addAriaAndCollapsedClass([q],!1)}this._isTransitioning=!0;const P=()=>{this._isTransitioning=!1,this._element.classList.remove(v),this._element.classList.add(m),n.trigger(this._element,l)};this._element.style[L]="",this._queueCallback(P,this._element,!0)}_isShown(x=this._element){return x.classList.contains(g)}_configAfterMerge(x){return x.toggle=Boolean(x.toggle),x.parent=u.getElement(x.parent),x}_getDimension(){return this._element.classList.contains(d)?O:N}_initializeChildren(){if(!this._config.parent)return;const x=this._getFirstLevelChildren(R);for(const L of x){const P=i.getElementFromSelector(L);P&&this._addAriaAndCollapsedClass([L],this._isShown(P))}}_getFirstLevelChildren(x){const L=i.find(_,this._config.parent);return i.find(x,this._config.parent).filter(P=>!L.includes(P))}_addAriaAndCollapsedClass(x,L){if(!!x.length)for(const P of x)P.classList.toggle(y,!L),P.setAttribute("aria-expanded",L)}static jQueryInterface(x){const L={};return typeof x=="string"&&/show|hide/.test(x)&&(L.toggle=!1),this.each(function(){const P=E.getOrCreateInstance(this,L);if(typeof x=="string"){if(typeof P[x]>"u")throw new TypeError(`No method named "${x}"`);P[x]()}})}}return n.on(document,b,R,function(T){(T.target.tagName==="A"||T.delegateTarget&&T.delegateTarget.tagName==="A")&&T.preventDefault();for(const x of i.getMultipleElementsFromSelector(this))E.getOrCreateInstance(x,{toggle:!1}).toggle()}),u.defineJQueryPlugin(E),E})})(mc);var ji={exports:{}};(function(e,r){(function(t,n){e.exports=n()})(be,function(){var t=1e3,n=6e4,i=36e5,u="millisecond",o="second",a="minute",c="hour",h="day",p="week",f="month",s="quarter",l="year",b="date",g="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(x){var L=["th","st","nd","rd"],P=x%100;return"["+x+(L[(P-20)%10]||L[P]||L[0])+"]"}},_=function(x,L,P){var q=String(x);return!q||q.length>=L?x:""+Array(L+1-q.length).join(P)+x},d={s:_,z:function(x){var L=-x.utcOffset(),P=Math.abs(L),q=Math.floor(P/60),D=P%60;return(L<=0?"+":"-")+_(q,2,"0")+":"+_(D,2,"0")},m:function x(L,P){if(L.date()1)return x(j[0])}else{var C=L.name;N[C]=L,D=C}return!q&&D&&(O=D),D||!q&&O},M=function(x,L){if(S(x))return x.clone();var P=typeof L=="object"?L:{};return P.date=x,P.args=arguments,new E(P)},A=d;A.l=R,A.i=S,A.w=function(x,L){return M(x,{locale:L.$L,utc:L.$u,x:L.$x,$offset:L.$offset})};var E=function(){function x(P){this.$L=R(P.locale,null,!0),this.parse(P)}var L=x.prototype;return L.parse=function(P){this.$d=function(q){var D=q.date,F=q.utc;if(D===null)return new Date(NaN);if(A.u(D))return new Date;if(D instanceof Date)return new Date(D);if(typeof D=="string"&&!/Z$/i.test(D)){var j=D.match(m);if(j){var C=j[2]-1||0,k=(j[7]||"0").substring(0,3);return F?new Date(Date.UTC(j[1],C,j[3]||1,j[4]||0,j[5]||0,j[6]||0,k)):new Date(j[1],C,j[3]||1,j[4]||0,j[5]||0,j[6]||0,k)}}return new Date(D)}(P),this.$x=P.x||{},this.init()},L.init=function(){var P=this.$d;this.$y=P.getFullYear(),this.$M=P.getMonth(),this.$D=P.getDate(),this.$W=P.getDay(),this.$H=P.getHours(),this.$m=P.getMinutes(),this.$s=P.getSeconds(),this.$ms=P.getMilliseconds()},L.$utils=function(){return A},L.isValid=function(){return this.$d.toString()!==g},L.isSame=function(P,q){var D=M(P);return this.startOf(q)<=D&&D<=this.endOf(q)},L.isAfter=function(P,q){return M(P)0,N<=O.r||!O.r){N<=1&&d>0&&(O=y[d-1]);var S=v[O.l];l&&(N=l(""+N)),g=typeof S=="string"?S.replace("%d",N):S(N,p,O.l,m);break}}if(p)return g;var R=m?v.future:v.past;return typeof R=="function"?R(g):R.replace("%s",g)},u.to=function(h,p){return a(h,p,this,!0)},u.from=function(h,p){return a(h,p,this)};var c=function(h){return h.$u?i.utc():i()};u.toNow=function(h){return this.to(c(this),h)},u.fromNow=function(h){return this.from(c(this),h)}}})})(va);const Ec=va.exports;var Oc={exports:{}};(function(e,r){(function(t,n){e.exports=n(ji.exports)})(be,function(t){function n(o){return o&&typeof o=="object"&&"default"in o?o:{default:o}}var i=n(t),u={name:"zh-tw",weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u9031\u65E5_\u9031\u4E00_\u9031\u4E8C_\u9031\u4E09_\u9031\u56DB_\u9031\u4E94_\u9031\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(o,a){return a==="W"?o+"\u9031":o+"\u65E5"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5 HH:mm",LLLL:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5167",past:"%s\u524D",s:"\u5E7E\u79D2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5C0F\u6642",hh:"%d \u5C0F\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500B\u6708",MM:"%d \u500B\u6708",y:"1 \u5E74",yy:"%d \u5E74"},meridiem:function(o,a){var c=100*o+a;return c<600?"\u51CC\u6668":c<900?"\u65E9\u4E0A":c<1100?"\u4E0A\u5348":c<1300?"\u4E2D\u5348":c<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};return i.default.locale(u,null,!0),u})})(Oc);Sn.extend(_c);Sn.extend(Ec);Sn.locale("zh-tw");const Mp=e=>Sn.utc(e).fromNow(),Pp=e=>Sn(e).format("YYYY/MM/DD HH:mm:ss"),Dp={useRoute:sc};var ga={exports:{}},Be="top",He="bottom",ze="right",qe="left",vr="auto",en=[Be,He,ze,qe],Lt="start",Vt="end",ya="clippingParents",$i="viewport",zt="popper",ma="reference",Ai=en.reduce(function(e,r){return e.concat([r+"-"+Lt,r+"-"+Vt])},[]),Ui=[].concat(en,[vr]).reduce(function(e,r){return e.concat([r,r+"-"+Lt,r+"-"+Vt])},[]),ba="beforeRead",_a="read",Ea="afterRead",Oa="beforeMain",wa="main",Aa="afterMain",Ta="beforeWrite",Sa="write",Na="afterWrite",xa=[ba,_a,Ea,Oa,wa,Aa,Ta,Sa,Na];function at(e){return e?(e.nodeName||"").toLowerCase():null}function Ke(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var r=e.ownerDocument;return r&&r.defaultView||window}return e}function Mt(e){var r=Ke(e).Element;return e instanceof r||e instanceof Element}function We(e){var r=Ke(e).HTMLElement;return e instanceof r||e instanceof HTMLElement}function Fi(e){if(typeof ShadowRoot>"u")return!1;var r=Ke(e).ShadowRoot;return e instanceof r||e instanceof ShadowRoot}function wc(e){var r=e.state;Object.keys(r.elements).forEach(function(t){var n=r.styles[t]||{},i=r.attributes[t]||{},u=r.elements[t];!We(u)||!at(u)||(Object.assign(u.style,n),Object.keys(i).forEach(function(o){var a=i[o];a===!1?u.removeAttribute(o):u.setAttribute(o,a===!0?"":a)}))})}function Ac(e){var r=e.state,t={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,t.popper),r.styles=t,r.elements.arrow&&Object.assign(r.elements.arrow.style,t.arrow),function(){Object.keys(r.elements).forEach(function(n){var i=r.elements[n],u=r.attributes[n]||{},o=Object.keys(r.styles.hasOwnProperty(n)?r.styles[n]:t[n]),a=o.reduce(function(c,h){return c[h]="",c},{});!We(i)||!at(i)||(Object.assign(i.style,a),Object.keys(u).forEach(function(c){i.removeAttribute(c)}))})}}const Hi={name:"applyStyles",enabled:!0,phase:"write",fn:wc,effect:Ac,requires:["computeStyles"]};function rt(e){return e.split("-")[0]}var xt=Math.max,ar=Math.min,Wt=Math.round;function Ti(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(r){return r.brand+"/"+r.version}).join(" "):navigator.userAgent}function Ra(){return!/^((?!chrome|android).)*safari/i.test(Ti())}function Yt(e,r,t){r===void 0&&(r=!1),t===void 0&&(t=!1);var n=e.getBoundingClientRect(),i=1,u=1;r&&We(e)&&(i=e.offsetWidth>0&&Wt(n.width)/e.offsetWidth||1,u=e.offsetHeight>0&&Wt(n.height)/e.offsetHeight||1);var o=Mt(e)?Ke(e):window,a=o.visualViewport,c=!Ra()&&t,h=(n.left+(c&&a?a.offsetLeft:0))/i,p=(n.top+(c&&a?a.offsetTop:0))/u,f=n.width/i,s=n.height/u;return{width:f,height:s,top:p,right:h+f,bottom:p+s,left:h,x:h,y:p}}function zi(e){var r=Yt(e),t=e.offsetWidth,n=e.offsetHeight;return Math.abs(r.width-t)<=1&&(t=r.width),Math.abs(r.height-n)<=1&&(n=r.height),{x:e.offsetLeft,y:e.offsetTop,width:t,height:n}}function ka(e,r){var t=r.getRootNode&&r.getRootNode();if(e.contains(r))return!0;if(t&&Fi(t)){var n=r;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ht(e){return Ke(e).getComputedStyle(e)}function Tc(e){return["table","td","th"].indexOf(at(e))>=0}function _t(e){return((Mt(e)?e.ownerDocument:e.document)||window.document).documentElement}function gr(e){return at(e)==="html"?e:e.assignedSlot||e.parentNode||(Fi(e)?e.host:null)||_t(e)}function wo(e){return!We(e)||ht(e).position==="fixed"?null:e.offsetParent}function Sc(e){var r=/firefox/i.test(Ti()),t=/Trident/i.test(Ti());if(t&&We(e)){var n=ht(e);if(n.position==="fixed")return null}var i=gr(e);for(Fi(i)&&(i=i.host);We(i)&&["html","body"].indexOf(at(i))<0;){var u=ht(i);if(u.transform!=="none"||u.perspective!=="none"||u.contain==="paint"||["transform","perspective"].indexOf(u.willChange)!==-1||r&&u.willChange==="filter"||r&&u.filter&&u.filter!=="none")return i;i=i.parentNode}return null}function Nn(e){for(var r=Ke(e),t=wo(e);t&&Tc(t)&&ht(t).position==="static";)t=wo(t);return t&&(at(t)==="html"||at(t)==="body"&&ht(t).position==="static")?r:t||Sc(e)||r}function Ki(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function _n(e,r,t){return xt(e,ar(r,t))}function Nc(e,r,t){var n=_n(e,r,t);return n>t?t:n}function La(){return{top:0,right:0,bottom:0,left:0}}function Ma(e){return Object.assign({},La(),e)}function Pa(e,r){return r.reduce(function(t,n){return t[n]=e,t},{})}var xc=function(r,t){return r=typeof r=="function"?r(Object.assign({},t.rects,{placement:t.placement})):r,Ma(typeof r!="number"?r:Pa(r,en))};function Rc(e){var r,t=e.state,n=e.name,i=e.options,u=t.elements.arrow,o=t.modifiersData.popperOffsets,a=rt(t.placement),c=Ki(a),h=[qe,ze].indexOf(a)>=0,p=h?"height":"width";if(!(!u||!o)){var f=xc(i.padding,t),s=zi(u),l=c==="y"?Be:qe,b=c==="y"?He:ze,g=t.rects.reference[p]+t.rects.reference[c]-o[c]-t.rects.popper[p],m=o[c]-t.rects.reference[c],v=Nn(u),y=v?c==="y"?v.clientHeight||0:v.clientWidth||0:0,_=g/2-m/2,d=f[l],O=y-s[p]-f[b],N=y/2-s[p]/2+_,S=_n(d,N,O),R=c;t.modifiersData[n]=(r={},r[R]=S,r.centerOffset=S-N,r)}}function kc(e){var r=e.state,t=e.options,n=t.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=r.elements.popper.querySelector(i),!i)||!ka(r.elements.popper,i)||(r.elements.arrow=i))}const Da={name:"arrow",enabled:!0,phase:"main",fn:Rc,effect:kc,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Gt(e){return e.split("-")[1]}var Lc={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Mc(e,r){var t=e.x,n=e.y,i=r.devicePixelRatio||1;return{x:Wt(t*i)/i||0,y:Wt(n*i)/i||0}}function Ao(e){var r,t=e.popper,n=e.popperRect,i=e.placement,u=e.variation,o=e.offsets,a=e.position,c=e.gpuAcceleration,h=e.adaptive,p=e.roundOffsets,f=e.isFixed,s=o.x,l=s===void 0?0:s,b=o.y,g=b===void 0?0:b,m=typeof p=="function"?p({x:l,y:g}):{x:l,y:g};l=m.x,g=m.y;var v=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),_=qe,d=Be,O=window;if(h){var N=Nn(t),S="clientHeight",R="clientWidth";if(N===Ke(t)&&(N=_t(t),ht(N).position!=="static"&&a==="absolute"&&(S="scrollHeight",R="scrollWidth")),N=N,i===Be||(i===qe||i===ze)&&u===Vt){d=He;var M=f&&N===O&&O.visualViewport?O.visualViewport.height:N[S];g-=M-n.height,g*=c?1:-1}if(i===qe||(i===Be||i===He)&&u===Vt){_=ze;var A=f&&N===O&&O.visualViewport?O.visualViewport.width:N[R];l-=A-n.width,l*=c?1:-1}}var E=Object.assign({position:a},h&&Lc),T=p===!0?Mc({x:l,y:g},Ke(t)):{x:l,y:g};if(l=T.x,g=T.y,c){var x;return Object.assign({},E,(x={},x[d]=y?"0":"",x[_]=v?"0":"",x.transform=(O.devicePixelRatio||1)<=1?"translate("+l+"px, "+g+"px)":"translate3d("+l+"px, "+g+"px, 0)",x))}return Object.assign({},E,(r={},r[d]=y?g+"px":"",r[_]=v?l+"px":"",r.transform="",r))}function Pc(e){var r=e.state,t=e.options,n=t.gpuAcceleration,i=n===void 0?!0:n,u=t.adaptive,o=u===void 0?!0:u,a=t.roundOffsets,c=a===void 0?!0:a,h={placement:rt(r.placement),variation:Gt(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:i,isFixed:r.options.strategy==="fixed"};r.modifiersData.popperOffsets!=null&&(r.styles.popper=Object.assign({},r.styles.popper,Ao(Object.assign({},h,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:o,roundOffsets:c})))),r.modifiersData.arrow!=null&&(r.styles.arrow=Object.assign({},r.styles.arrow,Ao(Object.assign({},h,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})}const Vi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Pc,data:{}};var Wn={passive:!0};function Dc(e){var r=e.state,t=e.instance,n=e.options,i=n.scroll,u=i===void 0?!0:i,o=n.resize,a=o===void 0?!0:o,c=Ke(r.elements.popper),h=[].concat(r.scrollParents.reference,r.scrollParents.popper);return u&&h.forEach(function(p){p.addEventListener("scroll",t.update,Wn)}),a&&c.addEventListener("resize",t.update,Wn),function(){u&&h.forEach(function(p){p.removeEventListener("scroll",t.update,Wn)}),a&&c.removeEventListener("resize",t.update,Wn)}}const Wi={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Dc,data:{}};var Cc={left:"right",right:"left",bottom:"top",top:"bottom"};function tr(e){return e.replace(/left|right|bottom|top/g,function(r){return Cc[r]})}var Ic={start:"end",end:"start"};function To(e){return e.replace(/start|end/g,function(r){return Ic[r]})}function Yi(e){var r=Ke(e),t=r.pageXOffset,n=r.pageYOffset;return{scrollLeft:t,scrollTop:n}}function Gi(e){return Yt(_t(e)).left+Yi(e).scrollLeft}function Bc(e,r){var t=Ke(e),n=_t(e),i=t.visualViewport,u=n.clientWidth,o=n.clientHeight,a=0,c=0;if(i){u=i.width,o=i.height;var h=Ra();(h||!h&&r==="fixed")&&(a=i.offsetLeft,c=i.offsetTop)}return{width:u,height:o,x:a+Gi(e),y:c}}function qc(e){var r,t=_t(e),n=Yi(e),i=(r=e.ownerDocument)==null?void 0:r.body,u=xt(t.scrollWidth,t.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=xt(t.scrollHeight,t.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-n.scrollLeft+Gi(e),c=-n.scrollTop;return ht(i||t).direction==="rtl"&&(a+=xt(t.clientWidth,i?i.clientWidth:0)-u),{width:u,height:o,x:a,y:c}}function Zi(e){var r=ht(e),t=r.overflow,n=r.overflowX,i=r.overflowY;return/auto|scroll|overlay|hidden/.test(t+i+n)}function Ca(e){return["html","body","#document"].indexOf(at(e))>=0?e.ownerDocument.body:We(e)&&Zi(e)?e:Ca(gr(e))}function En(e,r){var t;r===void 0&&(r=[]);var n=Ca(e),i=n===((t=e.ownerDocument)==null?void 0:t.body),u=Ke(n),o=i?[u].concat(u.visualViewport||[],Zi(n)?n:[]):n,a=r.concat(o);return i?a:a.concat(En(gr(o)))}function Si(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function jc(e,r){var t=Yt(e,!1,r==="fixed");return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function So(e,r,t){return r===$i?Si(Bc(e,t)):Mt(r)?jc(r,t):Si(qc(_t(e)))}function $c(e){var r=En(gr(e)),t=["absolute","fixed"].indexOf(ht(e).position)>=0,n=t&&We(e)?Nn(e):e;return Mt(n)?r.filter(function(i){return Mt(i)&&ka(i,n)&&at(i)!=="body"}):[]}function Uc(e,r,t,n){var i=r==="clippingParents"?$c(e):[].concat(r),u=[].concat(i,[t]),o=u[0],a=u.reduce(function(c,h){var p=So(e,h,n);return c.top=xt(p.top,c.top),c.right=ar(p.right,c.right),c.bottom=ar(p.bottom,c.bottom),c.left=xt(p.left,c.left),c},So(e,o,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Ia(e){var r=e.reference,t=e.element,n=e.placement,i=n?rt(n):null,u=n?Gt(n):null,o=r.x+r.width/2-t.width/2,a=r.y+r.height/2-t.height/2,c;switch(i){case Be:c={x:o,y:r.y-t.height};break;case He:c={x:o,y:r.y+r.height};break;case ze:c={x:r.x+r.width,y:a};break;case qe:c={x:r.x-t.width,y:a};break;default:c={x:r.x,y:r.y}}var h=i?Ki(i):null;if(h!=null){var p=h==="y"?"height":"width";switch(u){case Lt:c[h]=c[h]-(r[p]/2-t[p]/2);break;case Vt:c[h]=c[h]+(r[p]/2-t[p]/2);break}}return c}function Zt(e,r){r===void 0&&(r={});var t=r,n=t.placement,i=n===void 0?e.placement:n,u=t.strategy,o=u===void 0?e.strategy:u,a=t.boundary,c=a===void 0?ya:a,h=t.rootBoundary,p=h===void 0?$i:h,f=t.elementContext,s=f===void 0?zt:f,l=t.altBoundary,b=l===void 0?!1:l,g=t.padding,m=g===void 0?0:g,v=Ma(typeof m!="number"?m:Pa(m,en)),y=s===zt?ma:zt,_=e.rects.popper,d=e.elements[b?y:s],O=Uc(Mt(d)?d:d.contextElement||_t(e.elements.popper),c,p,o),N=Yt(e.elements.reference),S=Ia({reference:N,element:_,strategy:"absolute",placement:i}),R=Si(Object.assign({},_,S)),M=s===zt?R:N,A={top:O.top-M.top+v.top,bottom:M.bottom-O.bottom+v.bottom,left:O.left-M.left+v.left,right:M.right-O.right+v.right},E=e.modifiersData.offset;if(s===zt&&E){var T=E[i];Object.keys(A).forEach(function(x){var L=[ze,He].indexOf(x)>=0?1:-1,P=[Be,He].indexOf(x)>=0?"y":"x";A[x]+=T[P]*L})}return A}function Fc(e,r){r===void 0&&(r={});var t=r,n=t.placement,i=t.boundary,u=t.rootBoundary,o=t.padding,a=t.flipVariations,c=t.allowedAutoPlacements,h=c===void 0?Ui:c,p=Gt(n),f=p?a?Ai:Ai.filter(function(b){return Gt(b)===p}):en,s=f.filter(function(b){return h.indexOf(b)>=0});s.length===0&&(s=f);var l=s.reduce(function(b,g){return b[g]=Zt(e,{placement:g,boundary:i,rootBoundary:u,padding:o})[rt(g)],b},{});return Object.keys(l).sort(function(b,g){return l[b]-l[g]})}function Hc(e){if(rt(e)===vr)return[];var r=tr(e);return[To(e),r,To(r)]}function zc(e){var r=e.state,t=e.options,n=e.name;if(!r.modifiersData[n]._skip){for(var i=t.mainAxis,u=i===void 0?!0:i,o=t.altAxis,a=o===void 0?!0:o,c=t.fallbackPlacements,h=t.padding,p=t.boundary,f=t.rootBoundary,s=t.altBoundary,l=t.flipVariations,b=l===void 0?!0:l,g=t.allowedAutoPlacements,m=r.options.placement,v=rt(m),y=v===m,_=c||(y||!b?[tr(m)]:Hc(m)),d=[m].concat(_).reduce(function(V,H){return V.concat(rt(H)===vr?Fc(r,{placement:H,boundary:p,rootBoundary:f,padding:h,flipVariations:b,allowedAutoPlacements:g}):H)},[]),O=r.rects.reference,N=r.rects.popper,S=new Map,R=!0,M=d[0],A=0;A=0,P=L?"width":"height",q=Zt(r,{placement:E,boundary:p,rootBoundary:f,altBoundary:s,padding:h}),D=L?x?ze:qe:x?He:Be;O[P]>N[P]&&(D=tr(D));var F=tr(D),j=[];if(u&&j.push(q[T]<=0),a&&j.push(q[D]<=0,q[F]<=0),j.every(function(V){return V})){M=E,R=!1;break}S.set(E,j)}if(R)for(var C=b?3:1,k=function(H){var $=d.find(function(K){var W=S.get(K);if(W)return W.slice(0,H).every(function(G){return G})});if($)return M=$,"break"},I=C;I>0;I--){var U=k(I);if(U==="break")break}r.placement!==M&&(r.modifiersData[n]._skip=!0,r.placement=M,r.reset=!0)}}const Ba={name:"flip",enabled:!0,phase:"main",fn:zc,requiresIfExists:["offset"],data:{_skip:!1}};function No(e,r,t){return t===void 0&&(t={x:0,y:0}),{top:e.top-r.height-t.y,right:e.right-r.width+t.x,bottom:e.bottom-r.height+t.y,left:e.left-r.width-t.x}}function xo(e){return[Be,ze,He,qe].some(function(r){return e[r]>=0})}function Kc(e){var r=e.state,t=e.name,n=r.rects.reference,i=r.rects.popper,u=r.modifiersData.preventOverflow,o=Zt(r,{elementContext:"reference"}),a=Zt(r,{altBoundary:!0}),c=No(o,n),h=No(a,i,u),p=xo(c),f=xo(h);r.modifiersData[t]={referenceClippingOffsets:c,popperEscapeOffsets:h,isReferenceHidden:p,hasPopperEscaped:f},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":f})}const qa={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Kc};function Vc(e,r,t){var n=rt(e),i=[qe,Be].indexOf(n)>=0?-1:1,u=typeof t=="function"?t(Object.assign({},r,{placement:e})):t,o=u[0],a=u[1];return o=o||0,a=(a||0)*i,[qe,ze].indexOf(n)>=0?{x:a,y:o}:{x:o,y:a}}function Wc(e){var r=e.state,t=e.options,n=e.name,i=t.offset,u=i===void 0?[0,0]:i,o=Ui.reduce(function(p,f){return p[f]=Vc(f,r.rects,u),p},{}),a=o[r.placement],c=a.x,h=a.y;r.modifiersData.popperOffsets!=null&&(r.modifiersData.popperOffsets.x+=c,r.modifiersData.popperOffsets.y+=h),r.modifiersData[n]=o}const ja={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Wc};function Yc(e){var r=e.state,t=e.name;r.modifiersData[t]=Ia({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})}const Xi={name:"popperOffsets",enabled:!0,phase:"read",fn:Yc,data:{}};function Gc(e){return e==="x"?"y":"x"}function Zc(e){var r=e.state,t=e.options,n=e.name,i=t.mainAxis,u=i===void 0?!0:i,o=t.altAxis,a=o===void 0?!1:o,c=t.boundary,h=t.rootBoundary,p=t.altBoundary,f=t.padding,s=t.tether,l=s===void 0?!0:s,b=t.tetherOffset,g=b===void 0?0:b,m=Zt(r,{boundary:c,rootBoundary:h,padding:f,altBoundary:p}),v=rt(r.placement),y=Gt(r.placement),_=!y,d=Ki(v),O=Gc(d),N=r.modifiersData.popperOffsets,S=r.rects.reference,R=r.rects.popper,M=typeof g=="function"?g(Object.assign({},r.rects,{placement:r.placement})):g,A=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),E=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,T={x:0,y:0};if(!!N){if(u){var x,L=d==="y"?Be:qe,P=d==="y"?He:ze,q=d==="y"?"height":"width",D=N[d],F=D+m[L],j=D-m[P],C=l?-R[q]/2:0,k=y===Lt?S[q]:R[q],I=y===Lt?-R[q]:-S[q],U=r.elements.arrow,V=l&&U?zi(U):{width:0,height:0},H=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:La(),$=H[L],K=H[P],W=_n(0,S[q],V[q]),G=_?S[q]/2-C-W-$-A.mainAxis:k-W-$-A.mainAxis,Q=_?-S[q]/2+C+W+K+A.mainAxis:I+W+K+A.mainAxis,ae=r.elements.arrow&&Nn(r.elements.arrow),se=ae?d==="y"?ae.clientTop||0:ae.clientLeft||0:0,fe=(x=E==null?void 0:E[d])!=null?x:0,ee=D+G-fe-se,le=D+Q-fe,ve=_n(l?ar(F,ee):F,D,l?xt(j,le):j);N[d]=ve,T[d]=ve-D}if(a){var ye,Z=d==="x"?Be:qe,Y=d==="x"?He:ze,re=N[O],ne=O==="y"?"height":"width",X=re+m[Z],he=re-m[Y],ce=[Be,qe].indexOf(v)!==-1,pe=(ye=E==null?void 0:E[O])!=null?ye:0,Se=ce?X:re-S[ne]-R[ne]-pe+A.altAxis,ie=ce?re+S[ne]+R[ne]-pe-A.altAxis:he,oe=l&&ce?Nc(Se,re,ie):_n(l?Se:X,re,l?ie:he);N[O]=oe,T[O]=oe-re}r.modifiersData[n]=T}}const $a={name:"preventOverflow",enabled:!0,phase:"main",fn:Zc,requiresIfExists:["offset"]};function Xc(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Jc(e){return e===Ke(e)||!We(e)?Yi(e):Xc(e)}function Qc(e){var r=e.getBoundingClientRect(),t=Wt(r.width)/e.offsetWidth||1,n=Wt(r.height)/e.offsetHeight||1;return t!==1||n!==1}function ef(e,r,t){t===void 0&&(t=!1);var n=We(r),i=We(r)&&Qc(r),u=_t(r),o=Yt(e,i,t),a={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!t)&&((at(r)!=="body"||Zi(u))&&(a=Jc(r)),We(r)?(c=Yt(r,!0),c.x+=r.clientLeft,c.y+=r.clientTop):u&&(c.x=Gi(u))),{x:o.left+a.scrollLeft-c.x,y:o.top+a.scrollTop-c.y,width:o.width,height:o.height}}function tf(e){var r=new Map,t=new Set,n=[];e.forEach(function(u){r.set(u.name,u)});function i(u){t.add(u.name);var o=[].concat(u.requires||[],u.requiresIfExists||[]);o.forEach(function(a){if(!t.has(a)){var c=r.get(a);c&&i(c)}}),n.push(u)}return e.forEach(function(u){t.has(u.name)||i(u)}),n}function nf(e){var r=tf(e);return xa.reduce(function(t,n){return t.concat(r.filter(function(i){return i.phase===n}))},[])}function rf(e){var r;return function(){return r||(r=new Promise(function(t){Promise.resolve().then(function(){r=void 0,t(e())})})),r}}function of(e){var r=e.reduce(function(t,n){var i=t[n.name];return t[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,t},{});return Object.keys(r).map(function(t){return r[t]})}var Ro={placement:"bottom",modifiers:[],strategy:"absolute"};function ko(){for(var e=arguments.length,r=new Array(e),t=0;tfe[le]})}}return ee.default=fe,Object.freeze(ee)}const h=c(t),p="dropdown",s=".bs.dropdown",l=".data-api",b="Escape",g="Tab",m="ArrowUp",v="ArrowDown",y=2,_=`hide${s}`,d=`hidden${s}`,O=`show${s}`,N=`shown${s}`,S=`click${s}${l}`,R=`keydown${s}${l}`,M=`keyup${s}${l}`,A="show",E="dropup",T="dropend",x="dropstart",L="dropup-center",P="dropdown-center",q='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',D=`${q}.${A}`,F=".dropdown-menu",j=".navbar",C=".navbar-nav",k=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",I=a.isRTL()?"top-end":"top-start",U=a.isRTL()?"top-start":"top-end",V=a.isRTL()?"bottom-end":"bottom-start",H=a.isRTL()?"bottom-start":"bottom-end",$=a.isRTL()?"left-start":"right-start",K=a.isRTL()?"right-start":"left-start",W="top",G="bottom",Q={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},ae={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class se extends n{constructor(ee,le){super(ee,le),this._popper=null,this._parent=this._element.parentNode,this._menu=o.next(this._element,F)[0]||o.prev(this._element,F)[0]||o.findOne(F,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Q}static get DefaultType(){return ae}static get NAME(){return p}toggle(){return this._isShown()?this.hide():this.show()}show(){if(a.isDisabled(this._element)||this._isShown())return;const ee={relatedTarget:this._element};if(!i.trigger(this._element,O,ee).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(C))for(const ve of[].concat(...document.body.children))i.on(ve,"mouseover",a.noop);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(A),this._element.classList.add(A),i.trigger(this._element,N,ee)}}hide(){if(a.isDisabled(this._element)||!this._isShown())return;const ee={relatedTarget:this._element};this._completeHide(ee)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(ee){if(!i.trigger(this._element,_,ee).defaultPrevented){if("ontouchstart"in document.documentElement)for(const ve of[].concat(...document.body.children))i.off(ve,"mouseover",a.noop);this._popper&&this._popper.destroy(),this._menu.classList.remove(A),this._element.classList.remove(A),this._element.setAttribute("aria-expanded","false"),u.removeDataAttribute(this._menu,"popper"),i.trigger(this._element,d,ee)}}_getConfig(ee){if(ee=super._getConfig(ee),typeof ee.reference=="object"&&!a.isElement(ee.reference)&&typeof ee.reference.getBoundingClientRect!="function")throw new TypeError(`${p.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return ee}_createPopper(){if(typeof h>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let ee=this._element;this._config.reference==="parent"?ee=this._parent:a.isElement(this._config.reference)?ee=a.getElement(this._config.reference):typeof this._config.reference=="object"&&(ee=this._config.reference);const le=this._getPopperConfig();this._popper=h.createPopper(ee,this._menu,le)}_isShown(){return this._menu.classList.contains(A)}_getPlacement(){const ee=this._parent;if(ee.classList.contains(T))return $;if(ee.classList.contains(x))return K;if(ee.classList.contains(L))return W;if(ee.classList.contains(P))return G;const le=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return ee.classList.contains(E)?le?U:I:le?H:V}_detectNavbar(){return this._element.closest(j)!==null}_getOffset(){const{offset:ee}=this._config;return typeof ee=="string"?ee.split(",").map(le=>Number.parseInt(le,10)):typeof ee=="function"?le=>ee(le,this._element):ee}_getPopperConfig(){const ee={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(u.setDataAttribute(this._menu,"popper","static"),ee.modifiers=[{name:"applyStyles",enabled:!1}]),{...ee,...a.execute(this._config.popperConfig,[ee])}}_selectMenuItem({key:ee,target:le}){const ve=o.find(k,this._menu).filter(ye=>a.isVisible(ye));!ve.length||a.getNextActiveElement(ve,le,ee===v,!ve.includes(le)).focus()}static jQueryInterface(ee){return this.each(function(){const le=se.getOrCreateInstance(this,ee);if(typeof ee=="string"){if(typeof le[ee]>"u")throw new TypeError(`No method named "${ee}"`);le[ee]()}})}static clearMenus(ee){if(ee.button===y||ee.type==="keyup"&&ee.key!==g)return;const le=o.find(D);for(const ve of le){const ye=se.getInstance(ve);if(!ye||ye._config.autoClose===!1)continue;const Z=ee.composedPath(),Y=Z.includes(ye._menu);if(Z.includes(ye._element)||ye._config.autoClose==="inside"&&!Y||ye._config.autoClose==="outside"&&Y||ye._menu.contains(ee.target)&&(ee.type==="keyup"&&ee.key===g||/input|select|option|textarea|form/i.test(ee.target.tagName)))continue;const re={relatedTarget:ye._element};ee.type==="click"&&(re.clickEvent=ee),ye._completeHide(re)}}static dataApiKeydownHandler(ee){const le=/input|textarea/i.test(ee.target.tagName),ve=ee.key===b,ye=[m,v].includes(ee.key);if(!ye&&!ve||le&&!ve)return;ee.preventDefault();const Z=this.matches(q)?this:o.prev(this,q)[0]||o.next(this,q)[0]||o.findOne(q,ee.delegateTarget.parentNode),Y=se.getOrCreateInstance(Z);if(ye){ee.stopPropagation(),Y.show(),Y._selectMenuItem(ee);return}Y._isShown()&&(ee.stopPropagation(),Y.hide(),Z.focus())}}return i.on(document,R,q,se.dataApiKeydownHandler),i.on(document,R,F,se.dataApiKeydownHandler),i.on(document,S,se.clearMenus),i.on(document,M,se.clearMenus),i.on(document,S,q,function(fe){fe.preventDefault(),se.getOrCreateInstance(this).toggle()}),a.defineJQueryPlugin(se),se})})(ga);const Cp=ga.exports;var Ua={exports:{}};const hf=da(cc);(function(e,r){(function(t,n){e.exports=n(hf)})(be,function(t){return(()=>{var n={553:(a,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.default=(h,p)=>{const f=h.__vccOpts||h;for(const[s,l]of p)f[s]=l;return f}},976:a=>{a.exports=t}},i={};function u(a){var c=i[a];if(c!==void 0)return c.exports;var h=i[a]={exports:{}};return n[a](h,h.exports,u),h.exports}u.d=(a,c)=>{for(var h in c)u.o(c,h)&&!u.o(a,h)&&Object.defineProperty(a,h,{enumerable:!0,get:c[h]})},u.o=(a,c)=>Object.prototype.hasOwnProperty.call(a,c),u.r=a=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})};var o={};return(()=>{u.r(o),u.d(o,{Component:()=>T,Plugin:()=>L,default:()=>P,useLoading:()=>x});var a=u(976);function c(q,D,F){let j=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const C=(0,a.h)(q,D,j),k=document.createElement("div");return k.classList.add("vld-container"),F.appendChild(k),(0,a.render)(C,k),C.component}const h=typeof window<"u"?window.HTMLElement:Object,p=["aria-busy"],f={class:"vld-icon"},s={mounted(){this.enforceFocus&&document.addEventListener("focusin",this.focusIn)},methods:{focusIn(q){if(!this.isActive||q.target===this.$refs.root||this.$refs.root.contains(q.target))return;let D=this.container?this.container:this.isFullPage?null:this.$refs.root.parentElement;(this.isFullPage||D&&D.contains(q.target))&&(q.preventDefault(),this.$refs.root.focus())}},beforeUnmount(){document.removeEventListener("focusin",this.focusIn)}},l=["width","height","stroke"],b=[(0,a.createStaticVNode)('',1)],g=(0,a.defineComponent)({name:"spinner",props:{color:{type:String,default:"#000"},height:{type:Number,default:64},width:{type:Number,default:64}}});var m=u(553);const v=(0,m.default)(g,[["render",function(q,D,F,j,C,k){return(0,a.openBlock)(),(0,a.createElementBlock)("svg",{viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",width:q.width,height:q.height,stroke:q.color},b,8,l)}]]),y=["fill","width","height"],_=[(0,a.createStaticVNode)('',3)],d=(0,a.defineComponent)({name:"dots",props:{color:{type:String,default:"#000"},height:{type:Number,default:240},width:{type:Number,default:60}}}),O=(0,m.default)(d,[["render",function(q,D,F,j,C,k){return(0,a.openBlock)(),(0,a.createElementBlock)("svg",{viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg",fill:q.color,width:q.width,height:q.height},_,8,y)}]]),N=["height","width","fill"],S=[(0,a.createStaticVNode)('',3)],R=(0,a.defineComponent)({name:"bars",props:{color:{type:String,default:"#000"},height:{type:Number,default:40},width:{type:Number,default:40}}}),M={Spinner:v,Dots:O,Bars:(0,m.default)(R,[["render",function(q,D,F,j,C,k){return(0,a.openBlock)(),(0,a.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",height:q.height,width:q.width,fill:q.color},S,8,N)}]])},A=(0,a.defineComponent)({name:"vue-loading",mixins:[s],props:{active:Boolean,programmatic:Boolean,container:[Object,Function,h],isFullPage:{type:Boolean,default:!0},enforceFocus:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!1},transition:{type:String,default:"fade"},canCancel:Boolean,onCancel:{type:Function,default:()=>{}},color:String,backgroundColor:String,blur:{type:String,default:"2px"},opacity:Number,width:Number,height:Number,zIndex:Number,loader:{type:String,default:"spinner"}},emits:["hide","update:active"],data(){return{isActive:this.active}},components:M,mounted(){document.addEventListener("keyup",this.keyPress)},methods:{cancel(){this.canCancel&&this.isActive&&(this.hide(),this.onCancel.apply(null,arguments))},hide(){this.$emit("hide"),this.$emit("update:active",!1),this.programmatic&&(this.isActive=!1,setTimeout(()=>{const q=this.$refs.root.parentElement;var D,F;(0,a.render)(null,q),(D=q).remove!==void 0?D.remove():(F=D.parentNode)===null||F===void 0||F.removeChild(D)},150))},disableScroll(){this.isFullPage&&this.lockScroll&&document.body.classList.add("vld-shown")},enableScroll(){this.isFullPage&&this.lockScroll&&document.body.classList.remove("vld-shown")},keyPress(q){q.keyCode===27&&this.cancel()}},watch:{active(q){this.isActive=q},isActive(q){q?this.disableScroll():this.enableScroll()}},computed:{bgStyle(){return{background:this.backgroundColor,opacity:this.opacity,backdropFilter:"blur(".concat(this.blur,")")}}},beforeUnmount(){document.removeEventListener("keyup",this.keyPress)}}),E=(0,m.default)(A,[["render",function(q,D,F,j,C,k){return(0,a.openBlock)(),(0,a.createBlock)(a.Transition,{ref:"root",name:q.transition},{default:(0,a.withCtx)(()=>[(0,a.withDirectives)((0,a.createElementVNode)("div",{tabindex:"0",class:(0,a.normalizeClass)(["vld-overlay is-active",{"is-full-page":q.isFullPage}]),"aria-busy":q.isActive,"aria-label":"Loading",style:(0,a.normalizeStyle)({zIndex:q.zIndex})},[(0,a.createElementVNode)("div",{class:"vld-background",onClick:D[0]||(D[0]=(0,a.withModifiers)(function(){return q.cancel&&q.cancel(...arguments)},["prevent"])),style:(0,a.normalizeStyle)(q.bgStyle)},null,4),(0,a.createElementVNode)("div",f,[(0,a.renderSlot)(q.$slots,"before"),(0,a.renderSlot)(q.$slots,"default",{},()=>[((0,a.openBlock)(),(0,a.createBlock)((0,a.resolveDynamicComponent)(q.loader),{color:q.color,width:q.width,height:q.height},null,8,["color","width","height"]))]),(0,a.renderSlot)(q.$slots,"after")])],14,p),[[a.vShow,q.isActive]])]),_:3},8,["name"])}]]),T=E;function x(){let q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{show(){let F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:q,j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:D;const C=Object.assign({},q,F,{programmatic:!0,lockScroll:!0,isFullPage:!1,active:!0});let k=C.container;C.container||(k=document.body,C.isFullPage=!0);const I=Object.assign({},D,j);return{hide:c(T,C,k,I).ctx.hide}}}}const L=function(q){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const j=x(D,F);q.config.globalProperties.$loading=j,q.provide("$loading",j)};T.install=L;const P=T})(),o})()})})(Ua);const pf={useLoading:Ua.exports.useLoading},Ip=(e,r)=>(...t)=>{const i=pf.useLoading().show({container:r?r():null});return e(...t).catch(u=>{var o,a,c;ha.usePushMessage("danger",`${((o=u.response)==null?void 0:o.data.error)||"\u767C\u751F\u932F\u8AA4"}-${((a=u.response)==null?void 0:a.data.statusCode)||"Error"}`,((c=u.response)==null?void 0:c.data.message)||"\u8ACB\u806F\u7D61\u7CFB\u7D71\u7BA1\u7406\u54E1\u3002")}).finally(i.hide)};function Fa(e,r){return function(){return e.apply(r,arguments)}}const{toString:Ha}=Object.prototype,{getPrototypeOf:Ji}=Object,Qi=(e=>r=>{const t=Ha.call(r);return e[t]||(e[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),pt=e=>(e=e.toLowerCase(),r=>Qi(r)===e),mr=e=>r=>typeof r===e,{isArray:tn}=Array,On=mr("undefined");function vf(e){return e!==null&&!On(e)&&e.constructor!==null&&!On(e.constructor)&&bt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const za=pt("ArrayBuffer");function gf(e){let r;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?r=ArrayBuffer.isView(e):r=e&&e.buffer&&za(e.buffer),r}const yf=mr("string"),bt=mr("function"),Ka=mr("number"),eo=e=>e!==null&&typeof e=="object",mf=e=>e===!0||e===!1,nr=e=>{if(Qi(e)!=="object")return!1;const r=Ji(e);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},bf=pt("Date"),_f=pt("File"),Ef=pt("Blob"),Of=pt("FileList"),wf=e=>eo(e)&&bt(e.pipe),Af=e=>{const r="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Ha.call(e)===r||bt(e.toString)&&e.toString()===r)},Tf=pt("URLSearchParams"),Sf=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function xn(e,r,{allOwnKeys:t=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!="object"&&(e=[e]),tn(e))for(n=0,i=e.length;n0;)if(i=t[n],r===i.toLowerCase())return i;return null}const Wa=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Ya=e=>!On(e)&&e!==Wa;function Ni(){const{caseless:e}=Ya(this)&&this||{},r={},t=(n,i)=>{const u=e&&Va(r,i)||i;nr(r[u])&&nr(n)?r[u]=Ni(r[u],n):nr(n)?r[u]=Ni({},n):tn(n)?r[u]=n.slice():r[u]=n};for(let n=0,i=arguments.length;n(xn(r,(i,u)=>{t&&bt(i)?e[u]=Fa(i,t):e[u]=i},{allOwnKeys:n}),e),xf=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Rf=(e,r,t,n)=>{e.prototype=Object.create(r.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:r.prototype}),t&&Object.assign(e.prototype,t)},kf=(e,r,t,n)=>{let i,u,o;const a={};if(r=r||{},e==null)return r;do{for(i=Object.getOwnPropertyNames(e),u=i.length;u-- >0;)o=i[u],(!n||n(o,e,r))&&!a[o]&&(r[o]=e[o],a[o]=!0);e=t!==!1&&Ji(e)}while(e&&(!t||t(e,r))&&e!==Object.prototype);return r},Lf=(e,r,t)=>{e=String(e),(t===void 0||t>e.length)&&(t=e.length),t-=r.length;const n=e.indexOf(r,t);return n!==-1&&n===t},Mf=e=>{if(!e)return null;if(tn(e))return e;let r=e.length;if(!Ka(r))return null;const t=new Array(r);for(;r-- >0;)t[r]=e[r];return t},Pf=(e=>r=>e&&r instanceof e)(typeof Uint8Array<"u"&&Ji(Uint8Array)),Df=(e,r)=>{const n=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=n.next())&&!i.done;){const u=i.value;r.call(e,u[0],u[1])}},Cf=(e,r)=>{let t;const n=[];for(;(t=e.exec(r))!==null;)n.push(t);return n},If=pt("HTMLFormElement"),Bf=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,i){return n.toUpperCase()+i}),Lo=(({hasOwnProperty:e})=>(r,t)=>e.call(r,t))(Object.prototype),qf=pt("RegExp"),Ga=(e,r)=>{const t=Object.getOwnPropertyDescriptors(e),n={};xn(t,(i,u)=>{r(i,u,e)!==!1&&(n[u]=i)}),Object.defineProperties(e,n)},jf=e=>{Ga(e,(r,t)=>{if(bt(e)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const n=e[t];if(!!bt(n)){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},$f=(e,r)=>{const t={},n=i=>{i.forEach(u=>{t[u]=!0})};return tn(e)?n(e):n(String(e).split(r)),t},Uf=()=>{},Ff=(e,r)=>(e=+e,Number.isFinite(e)?e:r),hi="abcdefghijklmnopqrstuvwxyz",Mo="0123456789",Za={DIGIT:Mo,ALPHA:hi,ALPHA_DIGIT:hi+hi.toUpperCase()+Mo},Hf=(e=16,r=Za.ALPHA_DIGIT)=>{let t="";const{length:n}=r;for(;e--;)t+=r[Math.random()*n|0];return t};function zf(e){return!!(e&&bt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Kf=e=>{const r=new Array(10),t=(n,i)=>{if(eo(n)){if(r.indexOf(n)>=0)return;if(!("toJSON"in n)){r[i]=n;const u=tn(n)?[]:{};return xn(n,(o,a)=>{const c=t(o,i+1);!On(c)&&(u[a]=c)}),r[i]=void 0,u}}return n};return t(e,0)},te={isArray:tn,isArrayBuffer:za,isBuffer:vf,isFormData:Af,isArrayBufferView:gf,isString:yf,isNumber:Ka,isBoolean:mf,isObject:eo,isPlainObject:nr,isUndefined:On,isDate:bf,isFile:_f,isBlob:Ef,isRegExp:qf,isFunction:bt,isStream:wf,isURLSearchParams:Tf,isTypedArray:Pf,isFileList:Of,forEach:xn,merge:Ni,extend:Nf,trim:Sf,stripBOM:xf,inherits:Rf,toFlatObject:kf,kindOf:Qi,kindOfTest:pt,endsWith:Lf,toArray:Mf,forEachEntry:Df,matchAll:Cf,isHTMLForm:If,hasOwnProperty:Lo,hasOwnProp:Lo,reduceDescriptors:Ga,freezeMethods:jf,toObjectSet:$f,toCamelCase:Bf,noop:Uf,toFiniteNumber:Ff,findKey:Va,global:Wa,isContextDefined:Ya,ALPHABET:Za,generateString:Hf,isSpecCompliantForm:zf,toJSONObject:Kf};function Oe(e,r,t,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",r&&(this.code=r),t&&(this.config=t),n&&(this.request=n),i&&(this.response=i)}te.inherits(Oe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:te.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Xa=Oe.prototype,Ja={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ja[e]={value:e}});Object.defineProperties(Oe,Ja);Object.defineProperty(Xa,"isAxiosError",{value:!0});Oe.from=(e,r,t,n,i,u)=>{const o=Object.create(Xa);return te.toFlatObject(e,o,function(c){return c!==Error.prototype},a=>a!=="isAxiosError"),Oe.call(o,e.message,r,t,n,i),o.cause=e,o.name=e.name,u&&Object.assign(o,u),o};const Vf=null;function xi(e){return te.isPlainObject(e)||te.isArray(e)}function Qa(e){return te.endsWith(e,"[]")?e.slice(0,-2):e}function Po(e,r,t){return e?e.concat(r).map(function(i,u){return i=Qa(i),!t&&u?"["+i+"]":i}).join(t?".":""):r}function Wf(e){return te.isArray(e)&&!e.some(xi)}const Yf=te.toFlatObject(te,{},null,function(r){return/^is[A-Z]/.test(r)});function br(e,r,t){if(!te.isObject(e))throw new TypeError("target must be an object");r=r||new FormData,t=te.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,m){return!te.isUndefined(m[g])});const n=t.metaTokens,i=t.visitor||p,u=t.dots,o=t.indexes,c=(t.Blob||typeof Blob<"u"&&Blob)&&te.isSpecCompliantForm(r);if(!te.isFunction(i))throw new TypeError("visitor must be a function");function h(b){if(b===null)return"";if(te.isDate(b))return b.toISOString();if(!c&&te.isBlob(b))throw new Oe("Blob is not supported. Use a Buffer instead.");return te.isArrayBuffer(b)||te.isTypedArray(b)?c&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function p(b,g,m){let v=b;if(b&&!m&&typeof b=="object"){if(te.endsWith(g,"{}"))g=n?g:g.slice(0,-2),b=JSON.stringify(b);else if(te.isArray(b)&&Wf(b)||(te.isFileList(b)||te.endsWith(g,"[]"))&&(v=te.toArray(b)))return g=Qa(g),v.forEach(function(_,d){!(te.isUndefined(_)||_===null)&&r.append(o===!0?Po([g],d,u):o===null?g:g+"[]",h(_))}),!1}return xi(b)?!0:(r.append(Po(m,g,u),h(b)),!1)}const f=[],s=Object.assign(Yf,{defaultVisitor:p,convertValue:h,isVisitable:xi});function l(b,g){if(!te.isUndefined(b)){if(f.indexOf(b)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(b),te.forEach(b,function(v,y){(!(te.isUndefined(v)||v===null)&&i.call(r,v,te.isString(y)?y.trim():y,g,s))===!0&&l(v,g?g.concat(y):[y])}),f.pop()}}if(!te.isObject(e))throw new TypeError("data must be an object");return l(e),r}function Do(e){const r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return r[n]})}function to(e,r){this._pairs=[],e&&br(e,this,r)}const es=to.prototype;es.append=function(r,t){this._pairs.push([r,t])};es.toString=function(r){const t=r?function(n){return r.call(this,n,Do)}:Do;return this._pairs.map(function(i){return t(i[0])+"="+t(i[1])},"").join("&")};function Gf(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ts(e,r,t){if(!r)return e;const n=t&&t.encode||Gf,i=t&&t.serialize;let u;if(i?u=i(r,t):u=te.isURLSearchParams(r)?r.toString():new to(r,t).toString(n),u){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+u}return e}class Zf{constructor(){this.handlers=[]}use(r,t,n){return this.handlers.push({fulfilled:r,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(r){this.handlers[r]&&(this.handlers[r]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(r){te.forEach(this.handlers,function(n){n!==null&&r(n)})}}const Co=Zf,ns={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Xf=typeof URLSearchParams<"u"?URLSearchParams:to,Jf=FormData,Qf=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),ed=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),tt={isBrowser:!0,classes:{URLSearchParams:Xf,FormData:Jf,Blob},isStandardBrowserEnv:Qf,isStandardBrowserWebWorkerEnv:ed,protocols:["http","https","file","blob","url","data"]};function td(e,r){return br(e,new tt.classes.URLSearchParams,Object.assign({visitor:function(t,n,i,u){return tt.isNode&&te.isBuffer(t)?(this.append(n,t.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)}},r))}function nd(e){return te.matchAll(/\w+|\[(\w*)]/g,e).map(r=>r[0]==="[]"?"":r[1]||r[0])}function rd(e){const r={},t=Object.keys(e);let n;const i=t.length;let u;for(n=0;n=t.length;return o=!o&&te.isArray(i)?i.length:o,c?(te.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!a):((!i[o]||!te.isObject(i[o]))&&(i[o]=[]),r(t,n,i[o],u)&&te.isArray(i[o])&&(i[o]=rd(i[o])),!a)}if(te.isFormData(e)&&te.isFunction(e.entries)){const t={};return te.forEachEntry(e,(n,i)=>{r(nd(n),i,t,0)}),t}return null}const id={"Content-Type":void 0};function od(e,r,t){if(te.isString(e))try{return(r||JSON.parse)(e),te.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(t||JSON.stringify)(e)}const _r={transitional:ns,adapter:["xhr","http"],transformRequest:[function(r,t){const n=t.getContentType()||"",i=n.indexOf("application/json")>-1,u=te.isObject(r);if(u&&te.isHTMLForm(r)&&(r=new FormData(r)),te.isFormData(r))return i&&i?JSON.stringify(rs(r)):r;if(te.isArrayBuffer(r)||te.isBuffer(r)||te.isStream(r)||te.isFile(r)||te.isBlob(r))return r;if(te.isArrayBufferView(r))return r.buffer;if(te.isURLSearchParams(r))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),r.toString();let a;if(u){if(n.indexOf("application/x-www-form-urlencoded")>-1)return td(r,this.formSerializer).toString();if((a=te.isFileList(r))||n.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return br(a?{"files[]":r}:r,c&&new c,this.formSerializer)}}return u||i?(t.setContentType("application/json",!1),od(r)):r}],transformResponse:[function(r){const t=this.transitional||_r.transitional,n=t&&t.forcedJSONParsing,i=this.responseType==="json";if(r&&te.isString(r)&&(n&&!this.responseType||i)){const o=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(r)}catch(a){if(o)throw a.name==="SyntaxError"?Oe.from(a,Oe.ERR_BAD_RESPONSE,this,null,this.response):a}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:tt.classes.FormData,Blob:tt.classes.Blob},validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};te.forEach(["delete","get","head"],function(r){_r.headers[r]={}});te.forEach(["post","put","patch"],function(r){_r.headers[r]=te.merge(id)});const no=_r,ad=te.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),sd=e=>{const r={};let t,n,i;return e&&e.split(` +`).forEach(function(o){i=o.indexOf(":"),t=o.substring(0,i).trim().toLowerCase(),n=o.substring(i+1).trim(),!(!t||r[t]&&ad[t])&&(t==="set-cookie"?r[t]?r[t].push(n):r[t]=[n]:r[t]=r[t]?r[t]+", "+n:n)}),r},Io=Symbol("internals");function yn(e){return e&&String(e).trim().toLowerCase()}function rr(e){return e===!1||e==null?e:te.isArray(e)?e.map(rr):String(e)}function ld(e){const r=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=t.exec(e);)r[n[1]]=n[2];return r}function ud(e){return/^[-_a-zA-Z]+$/.test(e.trim())}function pi(e,r,t,n){if(te.isFunction(n))return n.call(this,r,t);if(!!te.isString(r)){if(te.isString(n))return r.indexOf(n)!==-1;if(te.isRegExp(n))return n.test(r)}}function cd(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(r,t,n)=>t.toUpperCase()+n)}function fd(e,r){const t=te.toCamelCase(" "+r);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+t,{value:function(i,u,o){return this[n].call(this,r,i,u,o)},configurable:!0})})}class Er{constructor(r){r&&this.set(r)}set(r,t,n){const i=this;function u(a,c,h){const p=yn(c);if(!p)throw new Error("header name must be a non-empty string");const f=te.findKey(i,p);(!f||i[f]===void 0||h===!0||h===void 0&&i[f]!==!1)&&(i[f||c]=rr(a))}const o=(a,c)=>te.forEach(a,(h,p)=>u(h,p,c));return te.isPlainObject(r)||r instanceof this.constructor?o(r,t):te.isString(r)&&(r=r.trim())&&!ud(r)?o(sd(r),t):r!=null&&u(t,r,n),this}get(r,t){if(r=yn(r),r){const n=te.findKey(this,r);if(n){const i=this[n];if(!t)return i;if(t===!0)return ld(i);if(te.isFunction(t))return t.call(this,i,n);if(te.isRegExp(t))return t.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(r,t){if(r=yn(r),r){const n=te.findKey(this,r);return!!(n&&this[n]!==void 0&&(!t||pi(this,this[n],n,t)))}return!1}delete(r,t){const n=this;let i=!1;function u(o){if(o=yn(o),o){const a=te.findKey(n,o);a&&(!t||pi(n,n[a],a,t))&&(delete n[a],i=!0)}}return te.isArray(r)?r.forEach(u):u(r),i}clear(r){const t=Object.keys(this);let n=t.length,i=!1;for(;n--;){const u=t[n];(!r||pi(this,this[u],u,r))&&(delete this[u],i=!0)}return i}normalize(r){const t=this,n={};return te.forEach(this,(i,u)=>{const o=te.findKey(n,u);if(o){t[o]=rr(i),delete t[u];return}const a=r?cd(u):String(u).trim();a!==u&&delete t[u],t[a]=rr(i),n[a]=!0}),this}concat(...r){return this.constructor.concat(this,...r)}toJSON(r){const t=Object.create(null);return te.forEach(this,(n,i)=>{n!=null&&n!==!1&&(t[i]=r&&te.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([r,t])=>r+": "+t).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(r){return r instanceof this?r:new this(r)}static concat(r,...t){const n=new this(r);return t.forEach(i=>n.set(i)),n}static accessor(r){const n=(this[Io]=this[Io]={accessors:{}}).accessors,i=this.prototype;function u(o){const a=yn(o);n[a]||(fd(i,o),n[a]=!0)}return te.isArray(r)?r.forEach(u):u(r),this}}Er.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);te.freezeMethods(Er.prototype);te.freezeMethods(Er);const dt=Er;function vi(e,r){const t=this||no,n=r||t,i=dt.from(n.headers);let u=n.data;return te.forEach(e,function(a){u=a.call(t,u,i.normalize(),r?r.status:void 0)}),i.normalize(),u}function is(e){return!!(e&&e.__CANCEL__)}function Rn(e,r,t){Oe.call(this,e==null?"canceled":e,Oe.ERR_CANCELED,r,t),this.name="CanceledError"}te.inherits(Rn,Oe,{__CANCEL__:!0});function dd(e,r,t){const n=t.config.validateStatus;!t.status||!n||n(t.status)?e(t):r(new Oe("Request failed with status code "+t.status,[Oe.ERR_BAD_REQUEST,Oe.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}const hd=tt.isStandardBrowserEnv?function(){return{write:function(t,n,i,u,o,a){const c=[];c.push(t+"="+encodeURIComponent(n)),te.isNumber(i)&&c.push("expires="+new Date(i).toGMTString()),te.isString(u)&&c.push("path="+u),te.isString(o)&&c.push("domain="+o),a===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(t){const n=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function pd(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function vd(e,r){return r?e.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):e}function os(e,r){return e&&!pd(r)?vd(e,r):r}const gd=tt.isStandardBrowserEnv?function(){const r=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function i(u){let o=u;return r&&(t.setAttribute("href",o),o=t.href),t.setAttribute("href",o),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=i(window.location.href),function(o){const a=te.isString(o)?i(o):o;return a.protocol===n.protocol&&a.host===n.host}}():function(){return function(){return!0}}();function yd(e){const r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return r&&r[1]||""}function md(e,r){e=e||10;const t=new Array(e),n=new Array(e);let i=0,u=0,o;return r=r!==void 0?r:1e3,function(c){const h=Date.now(),p=n[u];o||(o=h),t[i]=c,n[i]=h;let f=u,s=0;for(;f!==i;)s+=t[f++],f=f%e;if(i=(i+1)%e,i===u&&(u=(u+1)%e),h-o{const u=i.loaded,o=i.lengthComputable?i.total:void 0,a=u-t,c=n(a),h=u<=o;t=u;const p={loaded:u,total:o,progress:o?u/o:void 0,bytes:a,rate:c||void 0,estimated:c&&o&&h?(o-u)/c:void 0,event:i};p[r?"download":"upload"]=!0,e(p)}}const bd=typeof XMLHttpRequest<"u",_d=bd&&function(e){return new Promise(function(t,n){let i=e.data;const u=dt.from(e.headers).normalize(),o=e.responseType;let a;function c(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}te.isFormData(i)&&(tt.isStandardBrowserEnv||tt.isStandardBrowserWebWorkerEnv)&&u.setContentType(!1);let h=new XMLHttpRequest;if(e.auth){const l=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";u.set("Authorization","Basic "+btoa(l+":"+b))}const p=os(e.baseURL,e.url);h.open(e.method.toUpperCase(),ts(p,e.params,e.paramsSerializer),!0),h.timeout=e.timeout;function f(){if(!h)return;const l=dt.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),g={data:!o||o==="text"||o==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:l,config:e,request:h};dd(function(v){t(v),c()},function(v){n(v),c()},g),h=null}if("onloadend"in h?h.onloadend=f:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(f)},h.onabort=function(){!h||(n(new Oe("Request aborted",Oe.ECONNABORTED,e,h)),h=null)},h.onerror=function(){n(new Oe("Network Error",Oe.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let b=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const g=e.transitional||ns;e.timeoutErrorMessage&&(b=e.timeoutErrorMessage),n(new Oe(b,g.clarifyTimeoutError?Oe.ETIMEDOUT:Oe.ECONNABORTED,e,h)),h=null},tt.isStandardBrowserEnv){const l=(e.withCredentials||gd(p))&&e.xsrfCookieName&&hd.read(e.xsrfCookieName);l&&u.set(e.xsrfHeaderName,l)}i===void 0&&u.setContentType(null),"setRequestHeader"in h&&te.forEach(u.toJSON(),function(b,g){h.setRequestHeader(g,b)}),te.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),o&&o!=="json"&&(h.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&h.addEventListener("progress",Bo(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",Bo(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=l=>{!h||(n(!l||l.type?new Rn(null,e,h):l),h.abort(),h=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const s=yd(p);if(s&&tt.protocols.indexOf(s)===-1){n(new Oe("Unsupported protocol "+s+":",Oe.ERR_BAD_REQUEST,e));return}h.send(i||null)})},ir={http:Vf,xhr:_d};te.forEach(ir,(e,r)=>{if(e){try{Object.defineProperty(e,"name",{value:r})}catch{}Object.defineProperty(e,"adapterName",{value:r})}});const Ed={getAdapter:e=>{e=te.isArray(e)?e:[e];const{length:r}=e;let t,n;for(let i=0;ie instanceof dt?e.toJSON():e;function Xt(e,r){r=r||{};const t={};function n(h,p,f){return te.isPlainObject(h)&&te.isPlainObject(p)?te.merge.call({caseless:f},h,p):te.isPlainObject(p)?te.merge({},p):te.isArray(p)?p.slice():p}function i(h,p,f){if(te.isUndefined(p)){if(!te.isUndefined(h))return n(void 0,h,f)}else return n(h,p,f)}function u(h,p){if(!te.isUndefined(p))return n(void 0,p)}function o(h,p){if(te.isUndefined(p)){if(!te.isUndefined(h))return n(void 0,h)}else return n(void 0,p)}function a(h,p,f){if(f in r)return n(h,p);if(f in e)return n(void 0,h)}const c={url:u,method:u,data:u,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(h,p)=>i(jo(h),jo(p),!0)};return te.forEach(Object.keys(e).concat(Object.keys(r)),function(p){const f=c[p]||i,s=f(e[p],r[p],p);te.isUndefined(s)&&f!==a||(t[p]=s)}),t}const as="1.3.2",ro={};["object","boolean","number","function","string","symbol"].forEach((e,r)=>{ro[e]=function(n){return typeof n===e||"a"+(r<1?"n ":" ")+e}});const $o={};ro.transitional=function(r,t,n){function i(u,o){return"[Axios v"+as+"] Transitional option '"+u+"'"+o+(n?". "+n:"")}return(u,o,a)=>{if(r===!1)throw new Oe(i(o," has been removed"+(t?" in "+t:"")),Oe.ERR_DEPRECATED);return t&&!$o[o]&&($o[o]=!0,console.warn(i(o," has been deprecated since v"+t+" and will be removed in the near future"))),r?r(u,o,a):!0}};function Od(e,r,t){if(typeof e!="object")throw new Oe("options must be an object",Oe.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let i=n.length;for(;i-- >0;){const u=n[i],o=r[u];if(o){const a=e[u],c=a===void 0||o(a,u,e);if(c!==!0)throw new Oe("option "+u+" must be "+c,Oe.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new Oe("Unknown option "+u,Oe.ERR_BAD_OPTION)}}const Ri={assertOptions:Od,validators:ro},yt=Ri.validators;class sr{constructor(r){this.defaults=r,this.interceptors={request:new Co,response:new Co}}request(r,t){typeof r=="string"?(t=t||{},t.url=r):t=r||{},t=Xt(this.defaults,t);const{transitional:n,paramsSerializer:i,headers:u}=t;n!==void 0&&Ri.assertOptions(n,{silentJSONParsing:yt.transitional(yt.boolean),forcedJSONParsing:yt.transitional(yt.boolean),clarifyTimeoutError:yt.transitional(yt.boolean)},!1),i!==void 0&&Ri.assertOptions(i,{encode:yt.function,serialize:yt.function},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o;o=u&&te.merge(u.common,u[t.method]),o&&te.forEach(["delete","get","head","post","put","patch","common"],b=>{delete u[b]}),t.headers=dt.concat(o,u);const a=[];let c=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(t)===!1||(c=c&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const h=[];this.interceptors.response.forEach(function(g){h.push(g.fulfilled,g.rejected)});let p,f=0,s;if(!c){const b=[qo.bind(this),void 0];for(b.unshift.apply(b,a),b.push.apply(b,h),s=b.length,p=Promise.resolve(t);f{if(!n._listeners)return;let u=n._listeners.length;for(;u-- >0;)n._listeners[u](i);n._listeners=null}),this.promise.then=i=>{let u;const o=new Promise(a=>{n.subscribe(a),u=a}).then(i);return o.cancel=function(){n.unsubscribe(u)},o},r(function(u,o,a){n.reason||(n.reason=new Rn(u,o,a),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]}unsubscribe(r){if(!this._listeners)return;const t=this._listeners.indexOf(r);t!==-1&&this._listeners.splice(t,1)}static source(){let r;return{token:new io(function(i){r=i}),cancel:r}}}const wd=io;function Ad(e){return function(t){return e.apply(null,t)}}function Td(e){return te.isObject(e)&&e.isAxiosError===!0}const ki={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ki).forEach(([e,r])=>{ki[r]=e});const Sd=ki;function ss(e){const r=new or(e),t=Fa(or.prototype.request,r);return te.extend(t,or.prototype,r,{allOwnKeys:!0}),te.extend(t,r,null,{allOwnKeys:!0}),t.create=function(i){return ss(Xt(e,i))},t}const Re=ss(no);Re.Axios=or;Re.CanceledError=Rn;Re.CancelToken=wd;Re.isCancel=is;Re.VERSION=as;Re.toFormData=br;Re.AxiosError=Oe;Re.Cancel=Re.CanceledError;Re.all=function(r){return Promise.all(r)};Re.spread=Ad;Re.isAxiosError=Td;Re.mergeConfig=Xt;Re.AxiosHeaders=dt;Re.formToJSON=e=>rs(te.isHTMLForm(e)?new FormData(e):e);Re.HttpStatusCode=Sd;Re.default=Re;const oo=Re;/*! js-cookie v3.0.1 | MIT */function Yn(e){for(var r=1;r"u")){o=Yn({},r,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var c in o)!o[c]||(a+="; "+c,o[c]!==!0&&(a+="="+o[c].split(";")[0]));return document.cookie=i+"="+e.write(u,i)+a}}function n(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var u=document.cookie?document.cookie.split("; "):[],o={},a=0;ae,cs=e=>Promise.reject(e),fs=e=>e.data,ds=e=>{const[r,t]=window.location.href.split("#"),{status:n}=e.response;switch(n){case 401:window.location.href=`https://dev-hex-user.hexschool.io/#/login?h_redirect=${r}&h_path=${t}`;break}return Promise.reject(e)},Ve=oo.create({baseURL:"https://dev-hexsystem-assistant.hexschool.io",withCredentials:!0,xsrfHeaderName:"xsrf-token",xsrfCookieName:"xsrf-token",withXSRFToken:!0,headers:{Authorization:`Bearer ${ls.get("h_MqhC49RxFRI6pR3Z_token")}`}});Ve.interceptors.request.use(us,cs);Ve.interceptors.response.use(fs,ds);const ao=oo.create({baseURL:"https://dev-hexsystem-qa.hexschool.io",withCredentials:!0,xsrfHeaderName:"xsrf-token",xsrfCookieName:"xsrf-token",withXSRFToken:!0,headers:{Authorization:`Bearer ${ls.get("h_MqhC49RxFRI6pR3Z_token")}`}});ao.interceptors.request.use(us,cs);ao.interceptors.response.use(fs,ds);const xd=(e,r=1)=>Ve.get(`/v1/questions?${e?`${e}&`:""}page=${r}`),Rd=()=>Ve.get("/v1/questions/filters"),kd=e=>Ve.get(`/v1/questions/${e}`),Ld=e=>Ve.get(`/v1/questions/${e}/reply-assistants`),Md=(e,r)=>Ve.put(`/v1/questions/${e}/assign`,{user_id:r}),Pd=(e,r)=>Ve.delete(`/v1/questions/${e}/assign`,{user_id:r}),Dd=(e,r)=>Ve.put(`/v1/questions/${e}/${r}`),Cd=(e,r)=>Ve.put(`/v1/questions/${e}/type`,{question_type_id:r}),Id=(e,r)=>Ve.post(`/v1/questions/${e}/replies`,{body:r}),Bd=(e,r,t)=>Ve.put(`/v1/questions/${e}/replies/${r}`,{body:t}),qd=(e,r)=>Ve.delete(`/v1/questions/${e}/replies/${r}`),jd=e=>ao.get(`/v1/questions/upload-image-url/${e}`),$d={apiGetQuestionsList:xd,apiGetQuestionsFilters:Rd,apiGetQuestionBody:kd,apiGetReplyAssistants:Ld,apiPutAssignUser:Md,apiDeleteAssignUser:Pd,apiPutResolve:Dd,apiPutQuestionType:Cd,apiPostReplies:Id,apiPutReplies:Bd,apiDeleteReplies:qd,apiGetUploadImageUrl:jd},Ud=Te("i",{class:"bi bi-arrow-bar-down"},null,-1),Fd=[Ud],Bp={__name:"ScrollDown",props:{DOMRef:{type:Object,required:!0}},setup(e){const r=e,t=n=>{!n||n.lastElementChild.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})};return(n,i)=>(ot(),it("a",{href:"#",onClick:i[0]||(i[0]=fa(u=>t(r.DOMRef),["prevent"])),title:"\u9EDE\u64CA\u5F8C\u8DF3\u81F3\u6700\u4E0B\u65B9"},Fd))}};var hs={exports:{}};/*! + * Quill Editor v1.3.7 + * https://quilljs.com/ + * Copyright (c) 2014, Jason Chen + * Copyright (c) 2013, salesforce.com + */(function(e,r){(function(n,i){e.exports=i()})(typeof self<"u"?self:be,function(){return function(t){var n={};function i(u){if(n[u])return n[u].exports;var o=n[u]={i:u,l:!1,exports:{}};return t[u].call(o.exports,o,o.exports,i),o.l=!0,o.exports}return i.m=t,i.c=n,i.d=function(u,o,a){i.o(u,o)||Object.defineProperty(u,o,{configurable:!1,enumerable:!0,get:a})},i.n=function(u){var o=u&&u.__esModule?function(){return u.default}:function(){return u};return i.d(o,"a",o),o},i.o=function(u,o){return Object.prototype.hasOwnProperty.call(u,o)},i.p="",i(i.s=109)}([function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0});var u=i(17),o=i(18),a=i(19),c=i(45),h=i(46),p=i(47),f=i(48),s=i(49),l=i(12),b=i(32),g=i(33),m=i(31),v=i(1),y={Scope:v.Scope,create:v.create,find:v.find,query:v.query,register:v.register,Container:u.default,Format:o.default,Leaf:a.default,Embed:f.default,Scroll:c.default,Block:p.default,Inline:h.default,Text:s.default,Attributor:{Attribute:l.default,Class:b.default,Style:g.default,Store:m.default}};n.default=y},function(t,n,i){var u=this&&this.__extends||function(){var m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,y){v.__proto__=y}||function(v,y){for(var _ in y)y.hasOwnProperty(_)&&(v[_]=y[_])};return function(v,y){m(v,y);function _(){this.constructor=v}v.prototype=y===null?Object.create(y):(_.prototype=y.prototype,new _)}}();Object.defineProperty(n,"__esModule",{value:!0});var o=function(m){u(v,m);function v(y){var _=this;return y="[Parchment] "+y,_=m.call(this,y)||this,_.message=y,_.name=_.constructor.name,_}return v}(Error);n.ParchmentError=o;var a={},c={},h={},p={};n.DATA_KEY="__blot";var f;(function(m){m[m.TYPE=3]="TYPE",m[m.LEVEL=12]="LEVEL",m[m.ATTRIBUTE=13]="ATTRIBUTE",m[m.BLOT=14]="BLOT",m[m.INLINE=7]="INLINE",m[m.BLOCK=11]="BLOCK",m[m.BLOCK_BLOT=10]="BLOCK_BLOT",m[m.INLINE_BLOT=6]="INLINE_BLOT",m[m.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",m[m.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",m[m.ANY=15]="ANY"})(f=n.Scope||(n.Scope={}));function s(m,v){var y=b(m);if(y==null)throw new o("Unable to create "+m+" blot");var _=y,d=m instanceof Node||m.nodeType===Node.TEXT_NODE?m:_.create(v);return new _(d,v)}n.create=s;function l(m,v){return v===void 0&&(v=!1),m==null?null:m[n.DATA_KEY]!=null?m[n.DATA_KEY].blot:v?l(m.parentNode,v):null}n.find=l;function b(m,v){v===void 0&&(v=f.ANY);var y;if(typeof m=="string")y=p[m]||a[m];else if(m instanceof Text||m.nodeType===Node.TEXT_NODE)y=p.text;else if(typeof m=="number")m&f.LEVEL&f.BLOCK?y=p.block:m&f.LEVEL&f.INLINE&&(y=p.inline);else if(m instanceof HTMLElement){var _=(m.getAttribute("class")||"").split(/\s+/);for(var d in _)if(y=c[_[d]],y)break;y=y||h[m.tagName]}return y==null?null:v&f.LEVEL&y.scope&&v&f.TYPE&y.scope?y:null}n.query=b;function g(){for(var m=[],v=0;v1)return m.map(function(d){return g(d)});var y=m[0];if(typeof y.blotName!="string"&&typeof y.attrName!="string")throw new o("Invalid definition");if(y.blotName==="abstract")throw new o("Cannot register abstract class");if(p[y.blotName||y.attrName]=y,typeof y.keyName=="string")a[y.keyName]=y;else if(y.className!=null&&(c[y.className]=y),y.tagName!=null){Array.isArray(y.tagName)?y.tagName=y.tagName.map(function(d){return d.toUpperCase()}):y.tagName=y.tagName.toUpperCase();var _=Array.isArray(y.tagName)?y.tagName:[y.tagName];_.forEach(function(d){(h[d]==null||y.className==null)&&(h[d]=y)})}return y}n.register=g},function(t,n,i){var u=i(51),o=i(11),a=i(3),c=i(20),h=String.fromCharCode(0),p=function(f){Array.isArray(f)?this.ops=f:f!=null&&Array.isArray(f.ops)?this.ops=f.ops:this.ops=[]};p.prototype.insert=function(f,s){var l={};return f.length===0?this:(l.insert=f,s!=null&&typeof s=="object"&&Object.keys(s).length>0&&(l.attributes=s),this.push(l))},p.prototype.delete=function(f){return f<=0?this:this.push({delete:f})},p.prototype.retain=function(f,s){if(f<=0)return this;var l={retain:f};return s!=null&&typeof s=="object"&&Object.keys(s).length>0&&(l.attributes=s),this.push(l)},p.prototype.push=function(f){var s=this.ops.length,l=this.ops[s-1];if(f=a(!0,{},f),typeof l=="object"){if(typeof f.delete=="number"&&typeof l.delete=="number")return this.ops[s-1]={delete:l.delete+f.delete},this;if(typeof l.delete=="number"&&f.insert!=null&&(s-=1,l=this.ops[s-1],typeof l!="object"))return this.ops.unshift(f),this;if(o(f.attributes,l.attributes)){if(typeof f.insert=="string"&&typeof l.insert=="string")return this.ops[s-1]={insert:l.insert+f.insert},typeof f.attributes=="object"&&(this.ops[s-1].attributes=f.attributes),this;if(typeof f.retain=="number"&&typeof l.retain=="number")return this.ops[s-1]={retain:l.retain+f.retain},typeof f.attributes=="object"&&(this.ops[s-1].attributes=f.attributes),this}}return s===this.ops.length?this.ops.push(f):this.ops.splice(s,0,f),this},p.prototype.chop=function(){var f=this.ops[this.ops.length-1];return f&&f.retain&&!f.attributes&&this.ops.pop(),this},p.prototype.filter=function(f){return this.ops.filter(f)},p.prototype.forEach=function(f){this.ops.forEach(f)},p.prototype.map=function(f){return this.ops.map(f)},p.prototype.partition=function(f){var s=[],l=[];return this.forEach(function(b){var g=f(b)?s:l;g.push(b)}),[s,l]},p.prototype.reduce=function(f,s){return this.ops.reduce(f,s)},p.prototype.changeLength=function(){return this.reduce(function(f,s){return s.insert?f+c.length(s):s.delete?f-s.delete:f},0)},p.prototype.length=function(){return this.reduce(function(f,s){return f+c.length(s)},0)},p.prototype.slice=function(f,s){f=f||0,typeof s!="number"&&(s=1/0);for(var l=[],b=c.iterator(this.ops),g=0;g0&&l.next(g.retain-m)}for(var v=new p(b);s.hasNext()||l.hasNext();)if(l.peekType()==="insert")v.push(l.next());else if(s.peekType()==="delete")v.push(s.next());else{var y=Math.min(s.peekLength(),l.peekLength()),_=s.next(y),d=l.next(y);if(typeof d.retain=="number"){var O={};typeof _.retain=="number"?O.retain=y:O.insert=_.insert;var N=c.attributes.compose(_.attributes,d.attributes,typeof _.retain=="number");if(N&&(O.attributes=N),v.push(O),!l.hasNext()&&o(v.ops[v.ops.length-1],O)){var S=new p(s.rest());return v.concat(S).chop()}}else typeof d.delete=="number"&&typeof _.retain=="number"&&v.push(d)}return v.chop()},p.prototype.concat=function(f){var s=new p(this.ops.slice());return f.ops.length>0&&(s.push(f.ops[0]),s.ops=s.ops.concat(f.ops.slice(1))),s},p.prototype.diff=function(f,s){if(this.ops===f.ops)return new p;var l=[this,f].map(function(y){return y.map(function(_){if(_.insert!=null)return typeof _.insert=="string"?_.insert:h;var d=y===f?"on":"with";throw new Error("diff() called "+d+" non-document")}).join("")}),b=new p,g=u(l[0],l[1],s),m=c.iterator(this.ops),v=c.iterator(f.ops);return g.forEach(function(y){for(var _=y[1].length;_>0;){var d=0;switch(y[0]){case u.INSERT:d=Math.min(v.peekLength(),_),b.push(v.next(d));break;case u.DELETE:d=Math.min(_,m.peekLength()),m.next(d),b.delete(d);break;case u.EQUAL:d=Math.min(m.peekLength(),v.peekLength(),_);var O=m.next(d),N=v.next(d);o(O.insert,N.insert)?b.retain(d,c.attributes.diff(O.attributes,N.attributes)):b.push(N).delete(d);break}_-=d}}),b.chop()},p.prototype.eachLine=function(f,s){s=s||` +`;for(var l=c.iterator(this.ops),b=new p,g=0;l.hasNext();){if(l.peekType()!=="insert")return;var m=l.peek(),v=c.length(m)-l.peekLength(),y=typeof m.insert=="string"?m.insert.indexOf(s,v)-v:-1;if(y<0)b.push(l.next());else if(y>0)b.push(l.next(y));else{if(f(b,l.next(1).attributes||{},g)===!1)return;g+=1,b=new p}}b.length()>0&&f(b,{},g)},p.prototype.transform=function(f,s){if(s=!!s,typeof f=="number")return this.transformPosition(f,s);for(var l=c.iterator(this.ops),b=c.iterator(f.ops),g=new p;l.hasNext()||b.hasNext();)if(l.peekType()==="insert"&&(s||b.peekType()!=="insert"))g.retain(c.length(l.next()));else if(b.peekType()==="insert")g.push(b.next());else{var m=Math.min(l.peekLength(),b.peekLength()),v=l.next(m),y=b.next(m);if(v.delete)continue;y.delete?g.push(y):g.retain(m,c.attributes.transform(v.attributes,y.attributes,s))}return g.chop()},p.prototype.transformPosition=function(f,s){s=!!s;for(var l=c.iterator(this.ops),b=0;l.hasNext()&&b<=f;){var g=l.peekLength(),m=l.peekType();if(l.next(),m==="delete"){f-=Math.min(g,f-b);continue}else m==="insert"&&(b"u"||i.call(l,m)},p=function(l,b){o&&b.name==="__proto__"?o(l,b.name,{enumerable:!0,configurable:!0,value:b.newValue,writable:!0}):l[b.name]=b.newValue},f=function(l,b){if(b==="__proto__")if(i.call(l,b)){if(a)return a(l,b).value}else return;return l[b]};t.exports=function s(){var l,b,g,m,v,y,_=arguments[0],d=1,O=arguments.length,N=!1;for(typeof _=="boolean"&&(N=_,_=arguments[1]||{},d=2),(_==null||typeof _!="object"&&typeof _!="function")&&(_={});d0&&(L1&&arguments[1]!==void 0?arguments[1]:!1;if(P&&(L===0||L>=this.length()-S)){var q=this.clone();return L===0?(this.parent.insertBefore(q,this),this):(this.parent.insertBefore(q,this.next),q)}else{var D=o(T.prototype.__proto__||Object.getPrototypeOf(T.prototype),"split",this).call(this,L,P);return this.cache={},D}}}]),T}(s.default.Block);M.blotName="block",M.tagName="P",M.defaultChild="break",M.allowedChildren=[m.default,s.default.Embed,y.default];function A(E){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return E==null||(typeof E.formats=="function"&&(T=(0,c.default)(T,E.formats())),E.parent==null||E.parent.blotName=="scroll"||E.parent.statics.scope!==E.statics.scope)?T:A(E.parent,T)}n.bubbleFormats=A,n.BlockEmbed=R,n.default=M},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.overload=n.expandConfig=void 0;var u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},o=function(){function j(C,k){var I=[],U=!0,V=!1,H=void 0;try{for(var $=C[Symbol.iterator](),K;!(U=(K=$.next()).done)&&(I.push(K.value),!(k&&I.length===k));U=!0);}catch(W){V=!0,H=W}finally{try{!U&&$.return&&$.return()}finally{if(V)throw H}}return I}return function(C,k){if(Array.isArray(C))return C;if(Symbol.iterator in Object(C))return j(C,k);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function j(C,k){for(var I=0;I2&&arguments[2]!==void 0?arguments[2]:!1;if(typeof k!="string"){var H=k.attrName||k.blotName;typeof H=="string"?this.register("formats/"+H,k,I):Object.keys(k).forEach(function($){U.register($,k[$],I)})}else this.imports[k]!=null&&!V&&x.warn("Overwriting "+k+" with",I),this.imports[k]=I,(k.startsWith("blots/")||k.startsWith("formats/"))&&I.blotName!=="abstract"?v.default.register(I):k.startsWith("modules")&&typeof I.register=="function"&&I.register()}}]);function j(C){var k=this,I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(T(this,j),this.options=P(C,I),this.container=this.options.container,this.container==null)return x.error("Invalid Quill container",C);this.options.debug&&j.debug(this.options.debug);var U=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new l.default,this.scroll=v.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new f.default(this.scroll),this.selection=new _.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(l.default.events.EDITOR_CHANGE,function(H){H===l.default.events.TEXT_CHANGE&&k.root.classList.toggle("ql-blank",k.editor.isBlank())}),this.emitter.on(l.default.events.SCROLL_UPDATE,function(H,$){var K=k.selection.lastRange,W=K&&K.length===0?K.index:void 0;q.call(k,function(){return k.editor.update(null,$,W)},H)});var V=this.clipboard.convert(`
    `+U+"


    ");this.setContents(V),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return a(j,[{key:"addContainer",value:function(k){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(typeof k=="string"){var U=k;k=document.createElement("div"),k.classList.add(U)}return this.container.insertBefore(k,I),k}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(k,I,U){var V=this,H=D(k,I,U),$=o(H,4);return k=$[0],I=$[1],U=$[3],q.call(this,function(){return V.editor.deleteText(k,I)},U,k,-1*I)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.scroll.enable(k),this.container.classList.toggle("ql-disabled",!k)}},{key:"focus",value:function(){var k=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=k,this.scrollIntoView()}},{key:"format",value:function(k,I){var U=this,V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:l.default.sources.API;return q.call(this,function(){var H=U.getSelection(!0),$=new h.default;if(H==null)return $;if(v.default.query(k,v.default.Scope.BLOCK))$=U.editor.formatLine(H.index,H.length,E({},k,I));else{if(H.length===0)return U.selection.format(k,I),$;$=U.editor.formatText(H.index,H.length,E({},k,I))}return U.setSelection(H,l.default.sources.SILENT),$},V)}},{key:"formatLine",value:function(k,I,U,V,H){var $=this,K=void 0,W=D(k,I,U,V,H),G=o(W,4);return k=G[0],I=G[1],K=G[2],H=G[3],q.call(this,function(){return $.editor.formatLine(k,I,K)},H,k,0)}},{key:"formatText",value:function(k,I,U,V,H){var $=this,K=void 0,W=D(k,I,U,V,H),G=o(W,4);return k=G[0],I=G[1],K=G[2],H=G[3],q.call(this,function(){return $.editor.formatText(k,I,K)},H,k,0)}},{key:"getBounds",value:function(k){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,U=void 0;typeof k=="number"?U=this.selection.getBounds(k,I):U=this.selection.getBounds(k.index,k.length);var V=this.container.getBoundingClientRect();return{bottom:U.bottom-V.top,height:U.height,left:U.left-V.left,right:U.right-V.left,top:U.top-V.top,width:U.width}}},{key:"getContents",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.getLength()-k,U=D(k,I),V=o(U,2);return k=V[0],I=V[1],this.editor.getContents(k,I)}},{key:"getFormat",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.getSelection(!0),I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return typeof k=="number"?this.editor.getFormat(k,I):this.editor.getFormat(k.index,k.length)}},{key:"getIndex",value:function(k){return k.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(k){return this.scroll.leaf(k)}},{key:"getLine",value:function(k){return this.scroll.line(k)}},{key:"getLines",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE;return typeof k!="number"?this.scroll.lines(k.index,k.length):this.scroll.lines(k,I)}},{key:"getModule",value:function(k){return this.theme.modules[k]}},{key:"getSelection",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return k&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.getLength()-k,U=D(k,I),V=o(U,2);return k=V[0],I=V[1],this.editor.getText(k,I)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(k,I,U){var V=this,H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:j.sources.API;return q.call(this,function(){return V.editor.insertEmbed(k,I,U)},H,k)}},{key:"insertText",value:function(k,I,U,V,H){var $=this,K=void 0,W=D(k,0,U,V,H),G=o(W,4);return k=G[0],K=G[2],H=G[3],q.call(this,function(){return $.editor.insertText(k,I,K)},H,k,I.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(k,I,U){this.clipboard.dangerouslyPasteHTML(k,I,U)}},{key:"removeFormat",value:function(k,I,U){var V=this,H=D(k,I,U),$=o(H,4);return k=$[0],I=$[1],U=$[3],q.call(this,function(){return V.editor.removeFormat(k,I)},U,k)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(k){var I=this,U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l.default.sources.API;return q.call(this,function(){k=new h.default(k);var V=I.getLength(),H=I.editor.deleteText(0,V),$=I.editor.applyDelta(k),K=$.ops[$.ops.length-1];K!=null&&typeof K.insert=="string"&&K.insert[K.insert.length-1]===` +`&&(I.editor.deleteText(I.getLength()-1,1),$.delete(1));var W=H.compose($);return W},U)}},{key:"setSelection",value:function(k,I,U){if(k==null)this.selection.setRange(null,I||j.sources.API);else{var V=D(k,I,U),H=o(V,4);k=H[0],I=H[1],U=H[3],this.selection.setRange(new y.Range(k,I),U),U!==l.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(k){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l.default.sources.API,U=new h.default().insert(k);return this.setContents(U,I)}},{key:"update",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:l.default.sources.USER,I=this.scroll.update(k);return this.selection.update(k),I}},{key:"updateContents",value:function(k){var I=this,U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l.default.sources.API;return q.call(this,function(){return k=new h.default(k),I.editor.applyDelta(k,U)},U,!0)}}]),j}();L.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},L.events=l.default.events,L.sources=l.default.sources,L.version="1.3.7",L.imports={delta:h.default,parchment:v.default,"core/module":g.default,"core/theme":M.default};function P(j,C){if(C=(0,O.default)(!0,{container:j,modules:{clipboard:!0,keyboard:!0,history:!0}},C),!C.theme||C.theme===L.DEFAULTS.theme)C.theme=M.default;else if(C.theme=L.import("themes/"+C.theme),C.theme==null)throw new Error("Invalid theme "+C.theme+". Did you register it?");var k=(0,O.default)(!0,{},C.theme.DEFAULTS);[k,C].forEach(function(V){V.modules=V.modules||{},Object.keys(V.modules).forEach(function(H){V.modules[H]===!0&&(V.modules[H]={})})});var I=Object.keys(k.modules).concat(Object.keys(C.modules)),U=I.reduce(function(V,H){var $=L.import("modules/"+H);return $==null?x.error("Cannot load "+H+" module. Are you sure you registered it?"):V[H]=$.DEFAULTS||{},V},{});return C.modules!=null&&C.modules.toolbar&&C.modules.toolbar.constructor!==Object&&(C.modules.toolbar={container:C.modules.toolbar}),C=(0,O.default)(!0,{},L.DEFAULTS,{modules:U},k,C),["bounds","container","scrollingContainer"].forEach(function(V){typeof C[V]=="string"&&(C[V]=document.querySelector(C[V]))}),C.modules=Object.keys(C.modules).reduce(function(V,H){return C.modules[H]&&(V[H]=C.modules[H]),V},{}),C}function q(j,C,k,I){if(this.options.strict&&!this.isEnabled()&&C===l.default.sources.USER)return new h.default;var U=k==null?null:this.getSelection(),V=this.editor.delta,H=j();if(U!=null&&(k===!0&&(k=U.index),I==null?U=F(U,H,C):I!==0&&(U=F(U,k,I,C)),this.setSelection(U,l.default.sources.SILENT)),H.length()>0){var $,K=[l.default.events.TEXT_CHANGE,H,V,C];if(($=this.emitter).emit.apply($,[l.default.events.EDITOR_CHANGE].concat(K)),C!==l.default.sources.SILENT){var W;(W=this.emitter).emit.apply(W,K)}}return H}function D(j,C,k,I,U){var V={};return typeof j.index=="number"&&typeof j.length=="number"?typeof C!="number"?(U=I,I=k,k=C,C=j.length,j=j.index):(C=j.length,j=j.index):typeof C!="number"&&(U=I,I=k,k=C,C=0),(typeof k>"u"?"undefined":u(k))==="object"?(V=k,U=I):typeof k=="string"&&(I!=null?V[k]=I:U=k),U=U||l.default.sources.API,[j,C,V,U]}function F(j,C,k,I){if(j==null)return null;var U=void 0,V=void 0;if(C instanceof h.default){var H=[j.index,j.index+j.length].map(function(G){return C.transformPosition(G,I!==l.default.sources.USER)}),$=o(H,2);U=$[0],V=$[1]}else{var K=[j.index,j.index+j.length].map(function(G){return G=0?G+k:Math.max(C,G+k)}),W=o(K,2);U=W[0],V=W[1]}return new y.Range(U,V-U)}n.expandConfig=P,n.overload=D,n.default=L},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0});var u=function(){function m(v,y){for(var _=0;_0){var d=this.parent.isolate(this.offset(),this.length());this.moveChildren(d),d.wrap(this)}}}],[{key:"compare",value:function(_,d){var O=v.order.indexOf(_),N=v.order.indexOf(d);return O>=0||N>=0?O-N:_===d?0:_1?N-1:0),R=1;R1&&arguments[1]!==void 0?arguments[1]:{};u(this,a),this.quill=c,this.options=h};o.DEFAULTS={},n.default=o},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0});var u=["error","warn","log","info"],o="warn";function a(h){if(u.indexOf(h)<=u.indexOf(o)){for(var p,f=arguments.length,s=Array(f>1?f-1:0),l=1;l0&&typeof s[0]!="number")}function f(s,l,b){var g,m;if(h(s)||h(l)||s.prototype!==l.prototype)return!1;if(a(s))return a(l)?(s=u.call(s),l=u.call(l),c(s,l,b)):!1;if(p(s)){if(!p(l)||s.length!==l.length)return!1;for(g=0;g=0;g--)if(v[g]!=y[g])return!1;for(g=v.length-1;g>=0;g--)if(m=v[g],!c(s[m],l[m],b))return!1;return typeof s==typeof l}},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0});var u=i(1),o=function(){function a(c,h,p){p===void 0&&(p={}),this.attrName=c,this.keyName=h;var f=u.Scope.TYPE&u.Scope.ATTRIBUTE;p.scope!=null?this.scope=p.scope&u.Scope.LEVEL|f:this.scope=u.Scope.ATTRIBUTE,p.whitelist!=null&&(this.whitelist=p.whitelist)}return a.keys=function(c){return[].map.call(c.attributes,function(h){return h.name})},a.prototype.add=function(c,h){return this.canAdd(c,h)?(c.setAttribute(this.keyName,h),!0):!1},a.prototype.canAdd=function(c,h){var p=u.query(c,u.Scope.BLOT&(this.scope|u.Scope.TYPE));return p==null?!1:this.whitelist==null?!0:typeof h=="string"?this.whitelist.indexOf(h.replace(/["']/g,""))>-1:this.whitelist.indexOf(h)>-1},a.prototype.remove=function(c){c.removeAttribute(this.keyName)},a.prototype.value=function(c){var h=c.getAttribute(this.keyName);return this.canAdd(c,h)&&h?h:""},a}();n.default=o},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.Code=void 0;var u=function(){function R(M,A){var E=[],T=!0,x=!1,L=void 0;try{for(var P=M[Symbol.iterator](),q;!(T=(q=P.next()).done)&&(E.push(q.value),!(A&&E.length===A));T=!0);}catch(D){x=!0,L=D}finally{try{!T&&P.return&&P.return()}finally{if(x)throw L}}return E}return function(M,A){if(Array.isArray(M))return M;if(Symbol.iterator in Object(M))return R(M,A);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function R(M,A){for(var E=0;E=E+T)){var q=this.newlineIndex(E,!0)+1,D=P-q+1,F=this.isolate(q,D),j=F.next;F.format(x,L),j instanceof M&&j.formatAt(0,E-q+T-D,x,L)}}}},{key:"insertAt",value:function(E,T,x){if(x==null){var L=this.descendant(v.default,E),P=u(L,2),q=P[0],D=P[1];q.insertAt(D,T)}}},{key:"length",value:function(){var E=this.domNode.textContent.length;return this.domNode.textContent.endsWith(` +`)?E:E+1}},{key:"newlineIndex",value:function(E){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(T)return this.domNode.textContent.slice(0,E).lastIndexOf(` +`);var x=this.domNode.textContent.slice(E).indexOf(` +`);return x>-1?E+x:-1}},{key:"optimize",value:function(E){this.domNode.textContent.endsWith(` +`)||this.appendChild(f.default.create("text",` +`)),a(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"optimize",this).call(this,E);var T=this.next;T!=null&&T.prev===this&&T.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===T.statics.formats(T.domNode)&&(T.optimize(E),T.moveChildren(this),T.remove())}},{key:"replace",value:function(E){a(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"replace",this).call(this,E),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(T){var x=f.default.find(T);x==null?T.parentNode.removeChild(T):x instanceof f.default.Embed?x.remove():x.unwrap()})}}],[{key:"create",value:function(E){var T=a(M.__proto__||Object.getPrototypeOf(M),"create",this).call(this,E);return T.setAttribute("spellcheck",!1),T}},{key:"formats",value:function(){return!0}}]),M}(l.default);S.blotName="code-block",S.tagName="PRE",S.TAB=" ",n.Code=N,n.default=S},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0});var u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},o=function(){function j(C,k){var I=[],U=!0,V=!1,H=void 0;try{for(var $=C[Symbol.iterator](),K;!(U=(K=$.next()).done)&&(I.push(K.value),!(k&&I.length===k));U=!0);}catch(W){V=!0,H=W}finally{try{!U&&$.return&&$.return()}finally{if(V)throw H}}return I}return function(C,k){if(Array.isArray(C))return C;if(Symbol.iterator in Object(C))return j(C,k);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function j(C,k){for(var I=0;I=V&&!G.endsWith(` +`)&&(U=!0),I.scroll.insertAt(H,G);var Q=I.scroll.line(H),ae=o(Q,2),se=ae[0],fe=ae[1],ee=(0,E.default)({},(0,y.bubbleFormats)(se));if(se instanceof _.default){var le=se.descendant(l.default.Leaf,fe),ve=o(le,1),ye=ve[0];ee=(0,E.default)(ee,(0,y.bubbleFormats)(ye))}W=f.default.attributes.diff(ee,W)||{}}else if(u($.insert)==="object"){var Z=Object.keys($.insert)[0];if(Z==null)return H;I.scroll.insertAt(H,Z,$.insert[Z])}V+=K}return Object.keys(W).forEach(function(Y){I.scroll.formatAt(H,K,Y,W[Y])}),H+K},0),k.reduce(function(H,$){return typeof $.delete=="number"?(I.scroll.deleteAt(H,$.delete),H):H+($.retain||$.insert.length||1)},0),this.scroll.batchEnd(),this.update(k)}},{key:"deleteText",value:function(k,I){return this.scroll.deleteAt(k,I),this.update(new h.default().retain(k).delete(I))}},{key:"formatLine",value:function(k,I){var U=this,V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.scroll.update(),Object.keys(V).forEach(function(H){if(!(U.scroll.whitelist!=null&&!U.scroll.whitelist[H])){var $=U.scroll.lines(k,Math.max(I,1)),K=I;$.forEach(function(W){var G=W.length();if(!(W instanceof g.default))W.format(H,V[H]);else{var Q=k-W.offset(U.scroll),ae=W.newlineIndex(Q+K)-Q+1;W.formatAt(Q,ae,H,V[H])}K-=G})}}),this.scroll.optimize(),this.update(new h.default().retain(k).retain(I,(0,S.default)(V)))}},{key:"formatText",value:function(k,I){var U=this,V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Object.keys(V).forEach(function(H){U.scroll.formatAt(k,I,H,V[H])}),this.update(new h.default().retain(k).retain(I,(0,S.default)(V)))}},{key:"getContents",value:function(k,I){return this.delta.slice(k,k+I)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(k,I){return k.concat(I.delta())},new h.default)}},{key:"getFormat",value:function(k){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,U=[],V=[];I===0?this.scroll.path(k).forEach(function($){var K=o($,1),W=K[0];W instanceof _.default?U.push(W):W instanceof l.default.Leaf&&V.push(W)}):(U=this.scroll.lines(k,I),V=this.scroll.descendants(l.default.Leaf,k,I));var H=[U,V].map(function($){if($.length===0)return{};for(var K=(0,y.bubbleFormats)($.shift());Object.keys(K).length>0;){var W=$.shift();if(W==null)return K;K=D((0,y.bubbleFormats)(W),K)}return K});return E.default.apply(E.default,H)}},{key:"getText",value:function(k,I){return this.getContents(k,I).filter(function(U){return typeof U.insert=="string"}).map(function(U){return U.insert}).join("")}},{key:"insertEmbed",value:function(k,I,U){return this.scroll.insertAt(k,I,U),this.update(new h.default().retain(k).insert(x({},I,U)))}},{key:"insertText",value:function(k,I){var U=this,V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return I=I.replace(/\r\n/g,` +`).replace(/\r/g,` +`),this.scroll.insertAt(k,I),Object.keys(V).forEach(function(H){U.scroll.formatAt(k,I.length,H,V[H])}),this.update(new h.default().retain(k).insert(I,(0,S.default)(V)))}},{key:"isBlank",value:function(){if(this.scroll.children.length==0)return!0;if(this.scroll.children.length>1)return!1;var k=this.scroll.children.head;return k.statics.blotName!==_.default.blotName||k.children.length>1?!1:k.children.head instanceof O.default}},{key:"removeFormat",value:function(k,I){var U=this.getText(k,I),V=this.scroll.line(k+I),H=o(V,2),$=H[0],K=H[1],W=0,G=new h.default;$!=null&&($ instanceof g.default?W=$.newlineIndex(K)-K+1:W=$.length()-K,G=$.delta().slice(K,K+W-1).insert(` +`));var Q=this.getContents(k,I+W),ae=Q.diff(new h.default().insert(U).concat(G)),se=new h.default().retain(k).concat(ae);return this.applyDelta(se)}},{key:"update",value:function(k){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,V=this.delta;if(I.length===1&&I[0].type==="characterData"&&I[0].target.data.match(P)&&l.default.find(I[0].target)){var H=l.default.find(I[0].target),$=(0,y.bubbleFormats)(H),K=H.offset(this.scroll),W=I[0].oldValue.replace(v.default.CONTENTS,""),G=new h.default().insert(W),Q=new h.default().insert(H.value()),ae=new h.default().retain(K).concat(G.diff(Q,U));k=ae.reduce(function(se,fe){return fe.insert?se.insert(fe.insert,$):se.push(fe)},new h.default),this.delta=V.compose(k)}else this.delta=this.getDelta(),(!k||!(0,M.default)(V.compose(k),this.delta))&&(k=V.diff(this.delta,U));return k}}]),j}();function D(j,C){return Object.keys(C).reduce(function(k,I){return j[I]==null||(C[I]===j[I]?k[I]=C[I]:Array.isArray(C[I])?C[I].indexOf(j[I])<0&&(k[I]=C[I].concat([j[I]])):k[I]=[C[I],j[I]]),k},{})}function F(j){return j.reduce(function(C,k){if(k.insert===1){var I=(0,S.default)(k.attributes);return delete I.image,C.insert({image:k.attributes.image},I)}if(k.attributes!=null&&(k.attributes.list===!0||k.attributes.bullet===!0)&&(k=(0,S.default)(k),k.attributes.list?k.attributes.list="ordered":(k.attributes.list="bullet",delete k.attributes.bullet)),typeof k.insert=="string"){var U=k.insert.replace(/\r\n/g,` +`).replace(/\r/g,` +`);return C.insert(U,k.attributes)}return C.push(k)},new h.default)}n.default=q},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.Range=void 0;var u=function(){function R(M,A){var E=[],T=!0,x=!1,L=void 0;try{for(var P=M[Symbol.iterator](),q;!(T=(q=P.next()).done)&&(E.push(q.value),!(A&&E.length===A));T=!0);}catch(D){x=!0,L=D}finally{try{!T&&P.return&&P.return()}finally{if(x)throw L}}return E}return function(M,A){if(Array.isArray(M))return M;if(Symbol.iterator in Object(M))return R(M,A);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function R(M,A){for(var E=0;E1&&arguments[1]!==void 0?arguments[1]:0;_(this,R),this.index=M,this.length=A},N=function(){function R(M,A){var E=this;_(this,R),this.emitter=A,this.scroll=M,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=c.default.create("cursor",this),this.lastRange=this.savedRange=new O(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){E.mouseDown||setTimeout(E.update.bind(E,b.default.sources.USER),1)}),this.emitter.on(b.default.events.EDITOR_CHANGE,function(T,x){T===b.default.events.TEXT_CHANGE&&x.length()>0&&E.update(b.default.sources.SILENT)}),this.emitter.on(b.default.events.SCROLL_BEFORE_UPDATE,function(){if(!!E.hasFocus()){var T=E.getNativeRange();T!=null&&T.start.node!==E.cursor.textNode&&E.emitter.once(b.default.events.SCROLL_UPDATE,function(){try{E.setNativeRange(T.start.node,T.start.offset,T.end.node,T.end.offset)}catch{}})}}),this.emitter.on(b.default.events.SCROLL_OPTIMIZE,function(T,x){if(x.range){var L=x.range,P=L.startNode,q=L.startOffset,D=L.endNode,F=L.endOffset;E.setNativeRange(P,q,D,F)}}),this.update(b.default.sources.SILENT)}return o(R,[{key:"handleComposition",value:function(){var A=this;this.root.addEventListener("compositionstart",function(){A.composing=!0}),this.root.addEventListener("compositionend",function(){if(A.composing=!1,A.cursor.parent){var E=A.cursor.restore();if(!E)return;setTimeout(function(){A.setNativeRange(E.startNode,E.startOffset,E.endNode,E.endOffset)},1)}})}},{key:"handleDragging",value:function(){var A=this;this.emitter.listenDOM("mousedown",document.body,function(){A.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){A.mouseDown=!1,A.update(b.default.sources.USER)})}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(A,E){if(!(this.scroll.whitelist!=null&&!this.scroll.whitelist[A])){this.scroll.update();var T=this.getNativeRange();if(!(T==null||!T.native.collapsed||c.default.query(A,c.default.Scope.BLOCK))){if(T.start.node!==this.cursor.textNode){var x=c.default.find(T.start.node,!1);if(x==null)return;if(x instanceof c.default.Leaf){var L=x.split(T.start.offset);x.parent.insertBefore(this.cursor,L)}else x.insertBefore(this.cursor,T.start.node);this.cursor.attach()}this.cursor.format(A,E),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(A){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,T=this.scroll.length();A=Math.min(A,T-1),E=Math.min(A+E,T-1)-A;var x=void 0,L=this.scroll.leaf(A),P=u(L,2),q=P[0],D=P[1];if(q==null)return null;var F=q.position(D,!0),j=u(F,2);x=j[0],D=j[1];var C=document.createRange();if(E>0){C.setStart(x,D);var k=this.scroll.leaf(A+E),I=u(k,2);if(q=I[0],D=I[1],q==null)return null;var U=q.position(D,!0),V=u(U,2);return x=V[0],D=V[1],C.setEnd(x,D),C.getBoundingClientRect()}else{var H="left",$=void 0;return x instanceof Text?(D0&&(H="right")),{bottom:$.top+$.height,height:$.height,left:$[H],right:$[H],top:$.top,width:0}}}},{key:"getNativeRange",value:function(){var A=document.getSelection();if(A==null||A.rangeCount<=0)return null;var E=A.getRangeAt(0);if(E==null)return null;var T=this.normalizeNative(E);return d.info("getNativeRange",T),T}},{key:"getRange",value:function(){var A=this.getNativeRange();if(A==null)return[null,null];var E=this.normalizedToRange(A);return[E,A]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(A){var E=this,T=[[A.start.node,A.start.offset]];A.native.collapsed||T.push([A.end.node,A.end.offset]);var x=T.map(function(q){var D=u(q,2),F=D[0],j=D[1],C=c.default.find(F,!0),k=C.offset(E.scroll);return j===0?k:C instanceof c.default.Container?k+C.length():k+C.index(F,j)}),L=Math.min(Math.max.apply(Math,y(x)),this.scroll.length()-1),P=Math.min.apply(Math,[L].concat(y(x)));return new O(P,L-P)}},{key:"normalizeNative",value:function(A){if(!S(this.root,A.startContainer)||!A.collapsed&&!S(this.root,A.endContainer))return null;var E={start:{node:A.startContainer,offset:A.startOffset},end:{node:A.endContainer,offset:A.endOffset},native:A};return[E.start,E.end].forEach(function(T){for(var x=T.node,L=T.offset;!(x instanceof Text)&&x.childNodes.length>0;)if(x.childNodes.length>L)x=x.childNodes[L],L=0;else if(x.childNodes.length===L)x=x.lastChild,L=x instanceof Text?x.data.length:x.childNodes.length+1;else break;T.node=x,T.offset=L}),E}},{key:"rangeToNative",value:function(A){var E=this,T=A.collapsed?[A.index]:[A.index,A.index+A.length],x=[],L=this.scroll.length();return T.forEach(function(P,q){P=Math.min(L-1,P);var D=void 0,F=E.scroll.leaf(P),j=u(F,2),C=j[0],k=j[1],I=C.position(k,q!==0),U=u(I,2);D=U[0],k=U[1],x.push(D,k)}),x.length<2&&(x=x.concat(x)),x}},{key:"scrollIntoView",value:function(A){var E=this.lastRange;if(E!=null){var T=this.getBounds(E.index,E.length);if(T!=null){var x=this.scroll.length()-1,L=this.scroll.line(Math.min(E.index,x)),P=u(L,1),q=P[0],D=q;if(E.length>0){var F=this.scroll.line(Math.min(E.index+E.length,x)),j=u(F,1);D=j[0]}if(!(q==null||D==null)){var C=A.getBoundingClientRect();T.topC.bottom&&(A.scrollTop+=T.bottom-C.bottom)}}}}},{key:"setNativeRange",value:function(A,E){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:A,x=arguments.length>3&&arguments[3]!==void 0?arguments[3]:E,L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(d.info("setNativeRange",A,E,T,x),!(A!=null&&(this.root.parentNode==null||A.parentNode==null||T.parentNode==null))){var P=document.getSelection();if(P!=null)if(A!=null){this.hasFocus()||this.root.focus();var q=(this.getNativeRange()||{}).native;if(q==null||L||A!==q.startContainer||E!==q.startOffset||T!==q.endContainer||x!==q.endOffset){A.tagName=="BR"&&(E=[].indexOf.call(A.parentNode.childNodes,A),A=A.parentNode),T.tagName=="BR"&&(x=[].indexOf.call(T.parentNode.childNodes,T),T=T.parentNode);var D=document.createRange();D.setStart(A,E),D.setEnd(T,x),P.removeAllRanges(),P.addRange(D)}}else P.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(A){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:b.default.sources.API;if(typeof E=="string"&&(T=E,E=!1),d.info("setRange",A),A!=null){var x=this.rangeToNative(A);this.setNativeRange.apply(this,y(x).concat([E]))}else this.setNativeRange(null);this.update(T)}},{key:"update",value:function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:b.default.sources.USER,E=this.lastRange,T=this.getRange(),x=u(T,2),L=x[0],P=x[1];if(this.lastRange=L,this.lastRange!=null&&(this.savedRange=this.lastRange),!(0,s.default)(E,this.lastRange)){var q;!this.composing&&P!=null&&P.native.collapsed&&P.start.node!==this.cursor.textNode&&this.cursor.restore();var D=[b.default.events.SELECTION_CHANGE,(0,p.default)(this.lastRange),(0,p.default)(E),A];if((q=this.emitter).emit.apply(q,[b.default.events.EDITOR_CHANGE].concat(D)),A!==b.default.sources.SILENT){var F;(F=this.emitter).emit.apply(F,D)}}}}]),R}();function S(R,M){try{M.parentNode}catch{return!1}return M instanceof Text&&(M=M.parentNode),R.contains(M)}n.Range=O,n.default=N},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0});var u=function(){function b(g,m){for(var v=0;v0&&(l+=1),[this.parent.domNode,l]},p.prototype.value=function(){var f;return f={},f[this.statics.blotName]=this.statics.value(this.domNode)||!0,f},p.scope=a.Scope.INLINE_BLOT,p}(o.default);n.default=c},function(t,n,i){var u=i(11),o=i(3),a={attributes:{compose:function(h,p,f){typeof h!="object"&&(h={}),typeof p!="object"&&(p={});var s=o(!0,{},p);f||(s=Object.keys(s).reduce(function(b,g){return s[g]!=null&&(b[g]=s[g]),b},{}));for(var l in h)h[l]!==void 0&&p[l]===void 0&&(s[l]=h[l]);return Object.keys(s).length>0?s:void 0},diff:function(h,p){typeof h!="object"&&(h={}),typeof p!="object"&&(p={});var f=Object.keys(h).concat(Object.keys(p)).reduce(function(s,l){return u(h[l],p[l])||(s[l]=p[l]===void 0?null:p[l]),s},{});return Object.keys(f).length>0?f:void 0},transform:function(h,p,f){if(typeof h!="object")return p;if(typeof p=="object"){if(!f)return p;var s=Object.keys(p).reduce(function(l,b){return h[b]===void 0&&(l[b]=p[b]),l},{});return Object.keys(s).length>0?s:void 0}}},iterator:function(h){return new c(h)},length:function(h){return typeof h.delete=="number"?h.delete:typeof h.retain=="number"?h.retain:typeof h.insert=="string"?h.insert.length:1}};function c(h){this.ops=h,this.index=0,this.offset=0}c.prototype.hasNext=function(){return this.peekLength()<1/0},c.prototype.next=function(h){h||(h=1/0);var p=this.ops[this.index];if(p){var f=this.offset,s=a.length(p);if(h>=s-f?(h=s-f,this.index+=1,this.offset=0):this.offset+=h,typeof p.delete=="number")return{delete:h};var l={};return p.attributes&&(l.attributes=p.attributes),typeof p.retain=="number"?l.retain=h:typeof p.insert=="string"?l.insert=p.insert.substr(f,h):l.insert=p.insert,l}else return{retain:1/0}},c.prototype.peek=function(){return this.ops[this.index]},c.prototype.peekLength=function(){return this.ops[this.index]?a.length(this.ops[this.index])-this.offset:1/0},c.prototype.peekType=function(){return this.ops[this.index]?typeof this.ops[this.index].delete=="number"?"delete":typeof this.ops[this.index].retain=="number"?"retain":"insert":"retain"},c.prototype.rest=function(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);var h=this.offset,p=this.index,f=this.next(),s=this.ops.slice(this.index);return this.offset=h,this.index=p,[f].concat(s)}else return[]},t.exports=a},function(t,n){var i=function(){function u(g,m){return m!=null&&g instanceof m}var o;try{o=Map}catch{o=function(){}}var a;try{a=Set}catch{a=function(){}}var c;try{c=Promise}catch{c=function(){}}function h(g,m,v,y,_){typeof m=="object"&&(v=m.depth,y=m.prototype,_=m.includeNonEnumerable,m=m.circular);var d=[],O=[],N=typeof Buffer<"u";typeof m>"u"&&(m=!0),typeof v>"u"&&(v=1/0);function S(R,M){if(R===null)return null;if(M===0)return R;var A,E;if(typeof R!="object")return R;if(u(R,o))A=new o;else if(u(R,a))A=new a;else if(u(R,c))A=new c(function(C,k){R.then(function(I){C(S(I,M-1))},function(I){k(S(I,M-1))})});else if(h.__isArray(R))A=[];else if(h.__isRegExp(R))A=new RegExp(R.source,b(R)),R.lastIndex&&(A.lastIndex=R.lastIndex);else if(h.__isDate(R))A=new Date(R.getTime());else{if(N&&Buffer.isBuffer(R))return Buffer.allocUnsafe?A=Buffer.allocUnsafe(R.length):A=new Buffer(R.length),R.copy(A),A;u(R,Error)?A=Object.create(R):typeof y>"u"?(E=Object.getPrototypeOf(R),A=Object.create(E)):(A=Object.create(y),E=y)}if(m){var T=d.indexOf(R);if(T!=-1)return O[T];d.push(R),O.push(A)}u(R,o)&&R.forEach(function(C,k){var I=S(k,M-1),U=S(C,M-1);A.set(I,U)}),u(R,a)&&R.forEach(function(C){var k=S(C,M-1);A.add(k)});for(var x in R){var L;E&&(L=Object.getOwnPropertyDescriptor(E,x)),!(L&&L.set==null)&&(A[x]=S(R[x],M-1))}if(Object.getOwnPropertySymbols)for(var P=Object.getOwnPropertySymbols(R),x=0;x0){if(D instanceof s.BlockEmbed||k instanceof s.BlockEmbed){this.optimize();return}if(D instanceof v.default){var I=D.newlineIndex(D.length(),!0);if(I>-1&&(D=D.split(I+1),D===k)){this.optimize();return}}else if(k instanceof v.default){var U=k.newlineIndex(0);U>-1&&k.split(U+1)}var V=k.children.head instanceof g.default?null:k.children.head;D.moveChildren(k,V),D.remove()}this.optimize()}},{key:"enable",value:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.domNode.setAttribute("contenteditable",x)}},{key:"formatAt",value:function(x,L,P,q){this.whitelist!=null&&!this.whitelist[P]||(a(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"formatAt",this).call(this,x,L,P,q),this.optimize())}},{key:"insertAt",value:function(x,L,P){if(!(P!=null&&this.whitelist!=null&&!this.whitelist[L])){if(x>=this.length())if(P==null||h.default.query(L,h.default.Scope.BLOCK)==null){var q=h.default.create(this.statics.defaultChild);this.appendChild(q),P==null&&L.endsWith(` +`)&&(L=L.slice(0,-1)),q.insertAt(0,L,P)}else{var D=h.default.create(L,P);this.appendChild(D)}else a(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"insertAt",this).call(this,x,L,P);this.optimize()}}},{key:"insertBefore",value:function(x,L){if(x.statics.scope===h.default.Scope.INLINE_BLOT){var P=h.default.create(this.statics.defaultChild);P.appendChild(x),x=P}a(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"insertBefore",this).call(this,x,L)}},{key:"leaf",value:function(x){return this.path(x).pop()||[null,-1]}},{key:"line",value:function(x){return x===this.length()?this.line(x-1):this.descendant(R,x)}},{key:"lines",value:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE,P=function q(D,F,j){var C=[],k=j;return D.children.forEachAt(F,j,function(I,U,V){R(I)?C.push(I):I instanceof h.default.Container&&(C=C.concat(q(I,U,k))),k-=V}),C};return P(this,x,L)}},{key:"optimize",value:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.batch!==!0&&(a(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"optimize",this).call(this,x,L),x.length>0&&this.emitter.emit(f.default.events.SCROLL_OPTIMIZE,x,L))}},{key:"path",value:function(x){return a(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"path",this).call(this,x).slice(1)}},{key:"update",value:function(x){if(this.batch!==!0){var L=f.default.sources.USER;typeof x=="string"&&(L=x),Array.isArray(x)||(x=this.observer.takeRecords()),x.length>0&&this.emitter.emit(f.default.events.SCROLL_BEFORE_UPDATE,L,x),a(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"update",this).call(this,x.concat([])),x.length>0&&this.emitter.emit(f.default.events.SCROLL_UPDATE,L,x)}}}]),E}(h.default.Scroll);M.blotName="scroll",M.className="ql-editor",M.tagName="DIV",M.defaultChild="block",M.allowedChildren=[l.default,s.BlockEmbed,_.default],n.default=M},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.SHORTKEY=n.default=void 0;var u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function($){return typeof $}:function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},o=function(){function $(K,W){var G=[],Q=!0,ae=!1,se=void 0;try{for(var fe=K[Symbol.iterator](),ee;!(Q=(ee=fe.next()).done)&&(G.push(ee.value),!(W&&G.length===W));Q=!0);}catch(le){ae=!0,se=le}finally{try{!Q&&fe.return&&fe.return()}finally{if(ae)throw se}}return G}return function(K,W){if(Array.isArray(K))return K;if(Symbol.iterator in Object(K))return $(K,W);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function $(K,W){for(var G=0;G1&&arguments[1]!==void 0?arguments[1]:{},ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},se=H(G);if(se==null||se.key==null)return P.warn("Attempted to add invalid keyboard binding",se);typeof Q=="function"&&(Q={handler:Q}),typeof ae=="function"&&(ae={handler:ae}),se=(0,l.default)(se,Q,ae),this.bindings[se.key]=this.bindings[se.key]||[],this.bindings[se.key].push(se)}},{key:"listen",value:function(){var G=this;this.quill.root.addEventListener("keydown",function(Q){if(!Q.defaultPrevented){var ae=Q.which||Q.keyCode,se=(G.bindings[ae]||[]).filter(function(ue){return K.match(Q,ue)});if(se.length!==0){var fe=G.quill.getSelection();if(!(fe==null||!G.quill.hasFocus())){var ee=G.quill.getLine(fe.index),le=o(ee,2),ve=le[0],ye=le[1],Z=G.quill.getLeaf(fe.index),Y=o(Z,2),re=Y[0],ne=Y[1],X=fe.length===0?[re,ne]:G.quill.getLeaf(fe.index+fe.length),he=o(X,2),ce=he[0],pe=he[1],Se=re instanceof _.default.Text?re.value().slice(0,ne):"",ie=ce instanceof _.default.Text?ce.value().slice(pe):"",oe={collapsed:fe.length===0,empty:fe.length===0&&ve.length()<=1,format:G.quill.getFormat(fe),offset:ye,prefix:Se,suffix:ie},ge=se.some(function(ue){if(ue.collapsed!=null&&ue.collapsed!==oe.collapsed||ue.empty!=null&&ue.empty!==oe.empty||ue.offset!=null&&ue.offset!==oe.offset)return!1;if(Array.isArray(ue.format)){if(ue.format.every(function(we){return oe.format[we]==null}))return!1}else if(u(ue.format)==="object"&&!Object.keys(ue.format).every(function(we){return ue.format[we]===!0?oe.format[we]!=null:ue.format[we]===!1?oe.format[we]==null:(0,f.default)(ue.format[we],oe.format[we])}))return!1;return ue.prefix!=null&&!ue.prefix.test(oe.prefix)||ue.suffix!=null&&!ue.suffix.test(oe.suffix)?!1:ue.handler.call(G,fe,oe)!==!0});ge&&Q.preventDefault()}}}})}}]),K}(M.default);D.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},D.DEFAULTS={bindings:{bold:V("bold"),italic:V("italic"),underline:V("underline"),indent:{key:D.keys.TAB,format:["blockquote","indent","list"],handler:function(K,W){if(W.collapsed&&W.offset!==0)return!0;this.quill.format("indent","+1",O.default.sources.USER)}},outdent:{key:D.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(K,W){if(W.collapsed&&W.offset!==0)return!0;this.quill.format("indent","-1",O.default.sources.USER)}},"outdent backspace":{key:D.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(K,W){W.format.indent!=null?this.quill.format("indent","-1",O.default.sources.USER):W.format.list!=null&&this.quill.format("list",!1,O.default.sources.USER)}},"indent code-block":U(!0),"outdent code-block":U(!1),"remove tab":{key:D.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(K){this.quill.deleteText(K.index-1,1,O.default.sources.USER)}},tab:{key:D.keys.TAB,handler:function(K){this.quill.history.cutoff();var W=new g.default().retain(K.index).delete(K.length).insert(" ");this.quill.updateContents(W,O.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(K.index+1,O.default.sources.SILENT)}},"list empty enter":{key:D.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(K,W){this.quill.format("list",!1,O.default.sources.USER),W.format.indent&&this.quill.format("indent",!1,O.default.sources.USER)}},"checklist enter":{key:D.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(K){var W=this.quill.getLine(K.index),G=o(W,2),Q=G[0],ae=G[1],se=(0,l.default)({},Q.formats(),{list:"checked"}),fe=new g.default().retain(K.index).insert(` +`,se).retain(Q.length()-ae-1).retain(1,{list:"unchecked"});this.quill.updateContents(fe,O.default.sources.USER),this.quill.setSelection(K.index+1,O.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:D.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(K,W){var G=this.quill.getLine(K.index),Q=o(G,2),ae=Q[0],se=Q[1],fe=new g.default().retain(K.index).insert(` +`,W.format).retain(ae.length()-se-1).retain(1,{header:null});this.quill.updateContents(fe,O.default.sources.USER),this.quill.setSelection(K.index+1,O.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(K,W){var G=W.prefix.length,Q=this.quill.getLine(K.index),ae=o(Q,2),se=ae[0],fe=ae[1];if(fe>G)return!0;var ee=void 0;switch(W.prefix.trim()){case"[]":case"[ ]":ee="unchecked";break;case"[x]":ee="checked";break;case"-":case"*":ee="bullet";break;default:ee="ordered"}this.quill.insertText(K.index," ",O.default.sources.USER),this.quill.history.cutoff();var le=new g.default().retain(K.index-fe).delete(G+1).retain(se.length()-2-fe).retain(1,{list:ee});this.quill.updateContents(le,O.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(K.index-G,O.default.sources.SILENT)}},"code exit":{key:D.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(K){var W=this.quill.getLine(K.index),G=o(W,2),Q=G[0],ae=G[1],se=new g.default().retain(K.index+Q.length()-ae-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(se,O.default.sources.USER)}},"embed left":F(D.keys.LEFT,!1),"embed left shift":F(D.keys.LEFT,!0),"embed right":F(D.keys.RIGHT,!1),"embed right shift":F(D.keys.RIGHT,!0)}};function F($,K){var W,G=$===D.keys.LEFT?"prefix":"suffix";return W={key:$,shiftKey:K,altKey:null},E(W,G,/^$/),E(W,"handler",function(ae){var se=ae.index;$===D.keys.RIGHT&&(se+=ae.length+1);var fe=this.quill.getLeaf(se),ee=o(fe,1),le=ee[0];return le instanceof _.default.Embed?($===D.keys.LEFT?K?this.quill.setSelection(ae.index-1,ae.length+1,O.default.sources.USER):this.quill.setSelection(ae.index-1,O.default.sources.USER):K?this.quill.setSelection(ae.index,ae.length+1,O.default.sources.USER):this.quill.setSelection(ae.index+ae.length+1,O.default.sources.USER),!1):!0}),W}function j($,K){if(!($.index===0||this.quill.getLength()<=1)){var W=this.quill.getLine($.index),G=o(W,1),Q=G[0],ae={};if(K.offset===0){var se=this.quill.getLine($.index-1),fe=o(se,1),ee=fe[0];if(ee!=null&&ee.length()>1){var le=Q.formats(),ve=this.quill.getFormat($.index-1,1);ae=v.default.attributes.diff(le,ve)||{}}}var ye=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(K.prefix)?2:1;this.quill.deleteText($.index-ye,ye,O.default.sources.USER),Object.keys(ae).length>0&&this.quill.formatLine($.index-ye,ye,ae,O.default.sources.USER),this.quill.focus()}}function C($,K){var W=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(K.suffix)?2:1;if(!($.index>=this.quill.getLength()-W)){var G={},Q=0,ae=this.quill.getLine($.index),se=o(ae,1),fe=se[0];if(K.offset>=fe.length()-1){var ee=this.quill.getLine($.index+1),le=o(ee,1),ve=le[0];if(ve){var ye=fe.formats(),Z=this.quill.getFormat($.index,1);G=v.default.attributes.diff(ye,Z)||{},Q=ve.length()}}this.quill.deleteText($.index,W,O.default.sources.USER),Object.keys(G).length>0&&this.quill.formatLine($.index+Q-1,W,G,O.default.sources.USER)}}function k($){var K=this.quill.getLines($),W={};if(K.length>1){var G=K[0].formats(),Q=K[K.length-1].formats();W=v.default.attributes.diff(Q,G)||{}}this.quill.deleteText($,O.default.sources.USER),Object.keys(W).length>0&&this.quill.formatLine($.index,1,W,O.default.sources.USER),this.quill.setSelection($.index,O.default.sources.SILENT),this.quill.focus()}function I($,K){var W=this;$.length>0&&this.quill.scroll.deleteAt($.index,$.length);var G=Object.keys(K.format).reduce(function(Q,ae){return _.default.query(ae,_.default.Scope.BLOCK)&&!Array.isArray(K.format[ae])&&(Q[ae]=K.format[ae]),Q},{});this.quill.insertText($.index,` +`,G,O.default.sources.USER),this.quill.setSelection($.index+1,O.default.sources.SILENT),this.quill.focus(),Object.keys(K.format).forEach(function(Q){G[Q]==null&&(Array.isArray(K.format[Q])||Q!=="link"&&W.quill.format(Q,K.format[Q],O.default.sources.USER))})}function U($){return{key:D.keys.TAB,shiftKey:!$,format:{"code-block":!0},handler:function(W){var G=_.default.query("code-block"),Q=W.index,ae=W.length,se=this.quill.scroll.descendant(G,Q),fe=o(se,2),ee=fe[0],le=fe[1];if(ee!=null){var ve=this.quill.getIndex(ee),ye=ee.newlineIndex(le,!0)+1,Z=ee.newlineIndex(ve+le+ae),Y=ee.domNode.textContent.slice(ye,Z).split(` +`);le=0,Y.forEach(function(re,ne){$?(ee.insertAt(ye+le,G.TAB),le+=G.TAB.length,ne===0?Q+=G.TAB.length:ae+=G.TAB.length):re.startsWith(G.TAB)&&(ee.deleteAt(ye+le,G.TAB.length),le-=G.TAB.length,ne===0?Q-=G.TAB.length:ae-=G.TAB.length),le+=re.length+1}),this.quill.update(O.default.sources.USER),this.quill.setSelection(Q,ae,O.default.sources.SILENT)}}}}function V($){return{key:$[0].toUpperCase(),shortKey:!0,handler:function(W,G){this.quill.format($,!G.format[$],O.default.sources.USER)}}}function H($){if(typeof $=="string"||typeof $=="number")return H({key:$});if((typeof $>"u"?"undefined":u($))==="object"&&($=(0,h.default)($,!1)),typeof $.key=="string")if(D.keys[$.key.toUpperCase()]!=null)$.key=D.keys[$.key.toUpperCase()];else if($.key.length===1)$.key=$.key.toUpperCase().charCodeAt(0);else return null;return $.shortKey&&($[q]=$.shortKey,delete $.shortKey),$}n.default=D,n.SHORTKEY=q},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0});var u=function(){function v(y,_){var d=[],O=!0,N=!1,S=void 0;try{for(var R=y[Symbol.iterator](),M;!(O=(M=R.next()).done)&&(d.push(M.value),!(_&&d.length===_));O=!0);}catch(A){N=!0,S=A}finally{try{!O&&R.return&&R.return()}finally{if(N)throw S}}return d}return function(y,_){if(Array.isArray(y))return y;if(Symbol.iterator in Object(y))return v(y,_);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function v(y,_,d){y===null&&(y=Function.prototype);var O=Object.getOwnPropertyDescriptor(y,_);if(O===void 0){var N=Object.getPrototypeOf(y);return N===null?void 0:v(N,_,d)}else{if("value"in O)return O.value;var S=O.get;return S===void 0?void 0:S.call(d)}},a=function(){function v(y,_){for(var d=0;d<_.length;d++){var O=_[d];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(y,O.key,O)}}return function(y,_,d){return _&&v(y.prototype,_),d&&v(y,d),y}}(),c=i(0),h=s(c),p=i(7),f=s(p);function s(v){return v&&v.__esModule?v:{default:v}}function l(v,y){if(!(v instanceof y))throw new TypeError("Cannot call a class as a function")}function b(v,y){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y&&(typeof y=="object"||typeof y=="function")?y:v}function g(v,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof y);v.prototype=Object.create(y&&y.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(v,y):v.__proto__=y)}var m=function(v){g(y,v),a(y,null,[{key:"value",value:function(){}}]);function y(_,d){l(this,y);var O=b(this,(y.__proto__||Object.getPrototypeOf(y)).call(this,_));return O.selection=d,O.textNode=document.createTextNode(y.CONTENTS),O.domNode.appendChild(O.textNode),O._length=0,O}return a(y,[{key:"detach",value:function(){this.parent!=null&&this.parent.removeChild(this)}},{key:"format",value:function(d,O){if(this._length!==0)return o(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"format",this).call(this,d,O);for(var N=this,S=0;N!=null&&N.statics.scope!==h.default.Scope.BLOCK_BLOT;)S+=N.offset(N.parent),N=N.parent;N!=null&&(this._length=y.CONTENTS.length,N.optimize(),N.formatAt(S,y.CONTENTS.length,d,O),this._length=0)}},{key:"index",value:function(d,O){return d===this.textNode?0:o(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"index",this).call(this,d,O)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){o(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!(this.selection.composing||this.parent==null)){var d=this.textNode,O=this.selection.getNativeRange(),N=void 0,S=void 0,R=void 0;if(O!=null&&O.start.node===d&&O.end.node===d){var M=[d,O.start.offset,O.end.offset];N=M[0],S=M[1],R=M[2]}for(;this.domNode.lastChild!=null&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==y.CONTENTS){var A=this.textNode.data.split(y.CONTENTS).join("");this.next instanceof f.default?(N=this.next.domNode,this.next.insertAt(0,A),this.textNode.data=y.CONTENTS):(this.textNode.data=A,this.parent.insertBefore(h.default.create(this.textNode),this),this.textNode=document.createTextNode(y.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),S!=null){var E=[S,R].map(function(x){return Math.max(0,Math.min(N.data.length,x-1))}),T=u(E,2);return S=T[0],R=T[1],{startNode:N,startOffset:S,endNode:N,endOffset:R}}}}},{key:"update",value:function(d,O){var N=this;if(d.some(function(R){return R.type==="characterData"&&R.target===N.textNode})){var S=this.restore();S&&(O.range=S)}}},{key:"value",value:function(){return""}}]),y}(h.default.Embed);m.blotName="cursor",m.className="ql-cursor",m.tagName="span",m.CONTENTS="\uFEFF",n.default=m},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0});var u=i(0),o=h(u),a=i(4),c=h(a);function h(b){return b&&b.__esModule?b:{default:b}}function p(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function f(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function s(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var l=function(b){s(g,b);function g(){return p(this,g),f(this,(g.__proto__||Object.getPrototypeOf(g)).apply(this,arguments))}return g}(o.default.Container);l.allowedChildren=[c.default,a.BlockEmbed,l],n.default=l},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.ColorStyle=n.ColorClass=n.ColorAttributor=void 0;var u=function(){function m(v,y){for(var _=0;_-1}n.default=l,n.sanitize=b},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0});var u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},o=function(){function m(v,y){for(var _=0;_1&&arguments[1]!==void 0?arguments[1]:!1,d=this.container.querySelector(".ql-selected");if(y!==d&&(d!=null&&d.classList.remove("ql-selected"),y!=null&&(y.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(y.parentNode.children,y),y.hasAttribute("data-value")?this.label.setAttribute("data-value",y.getAttribute("data-value")):this.label.removeAttribute("data-value"),y.hasAttribute("data-label")?this.label.setAttribute("data-label",y.getAttribute("data-label")):this.label.removeAttribute("data-label"),_))){if(typeof Event=="function")this.select.dispatchEvent(new Event("change"));else if((typeof Event>"u"?"undefined":u(Event))==="object"){var O=document.createEvent("Event");O.initEvent("change",!0,!0),this.select.dispatchEvent(O)}this.close()}}},{key:"update",value:function(){var y=void 0;if(this.select.selectedIndex>-1){var _=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];y=this.select.options[this.select.selectedIndex],this.selectItem(_)}else this.selectItem(null);var d=y!=null&&y!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",d)}}]),m}();n.default=g},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0});var u=i(0),o=P(u),a=i(5),c=P(a),h=i(4),p=P(h),f=i(16),s=P(f),l=i(25),b=P(l),g=i(24),m=P(g),v=i(35),y=P(v),_=i(6),d=P(_),O=i(22),N=P(O),S=i(7),R=P(S),M=i(55),A=P(M),E=i(42),T=P(E),x=i(23),L=P(x);function P(q){return q&&q.__esModule?q:{default:q}}c.default.register({"blots/block":p.default,"blots/block/embed":h.BlockEmbed,"blots/break":s.default,"blots/container":b.default,"blots/cursor":m.default,"blots/embed":y.default,"blots/inline":d.default,"blots/scroll":N.default,"blots/text":R.default,"modules/clipboard":A.default,"modules/history":T.default,"modules/keyboard":L.default}),o.default.register(p.default,s.default,m.default,d.default,N.default,R.default),n.default=c.default},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0});var u=i(1),o=function(){function a(c){this.domNode=c,this.domNode[u.DATA_KEY]={blot:this}}return Object.defineProperty(a.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),a.create=function(c){if(this.tagName==null)throw new u.ParchmentError("Blot definition missing tagName");var h;return Array.isArray(this.tagName)?(typeof c=="string"&&(c=c.toUpperCase(),parseInt(c).toString()===c&&(c=parseInt(c))),typeof c=="number"?h=document.createElement(this.tagName[c-1]):this.tagName.indexOf(c)>-1?h=document.createElement(c):h=document.createElement(this.tagName[0])):h=document.createElement(this.tagName),this.className&&h.classList.add(this.className),h},a.prototype.attach=function(){this.parent!=null&&(this.scroll=this.parent.scroll)},a.prototype.clone=function(){var c=this.domNode.cloneNode(!1);return u.create(c)},a.prototype.detach=function(){this.parent!=null&&this.parent.removeChild(this),delete this.domNode[u.DATA_KEY]},a.prototype.deleteAt=function(c,h){var p=this.isolate(c,h);p.remove()},a.prototype.formatAt=function(c,h,p,f){var s=this.isolate(c,h);if(u.query(p,u.Scope.BLOT)!=null&&f)s.wrap(p,f);else if(u.query(p,u.Scope.ATTRIBUTE)!=null){var l=u.create(this.statics.scope);s.wrap(l),l.format(p,f)}},a.prototype.insertAt=function(c,h,p){var f=p==null?u.create("text",h):u.create(h,p),s=this.split(c);this.parent.insertBefore(f,s)},a.prototype.insertInto=function(c,h){h===void 0&&(h=null),this.parent!=null&&this.parent.children.remove(this);var p=null;c.children.insertBefore(this,h),h!=null&&(p=h.domNode),(this.domNode.parentNode!=c.domNode||this.domNode.nextSibling!=p)&&c.domNode.insertBefore(this.domNode,p),this.parent=c,this.attach()},a.prototype.isolate=function(c,h){var p=this.split(c);return p.split(h),p},a.prototype.length=function(){return 1},a.prototype.offset=function(c){return c===void 0&&(c=this.parent),this.parent==null||this==c?0:this.parent.children.offset(this)+this.parent.offset(c)},a.prototype.optimize=function(c){this.domNode[u.DATA_KEY]!=null&&delete this.domNode[u.DATA_KEY].mutations},a.prototype.remove=function(){this.domNode.parentNode!=null&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},a.prototype.replace=function(c){c.parent!=null&&(c.parent.insertBefore(this,c.next),c.remove())},a.prototype.replaceWith=function(c,h){var p=typeof c=="string"?u.create(c,h):c;return p.replace(this),p},a.prototype.split=function(c,h){return c===0?this:this.next},a.prototype.update=function(c,h){},a.prototype.wrap=function(c,h){var p=typeof c=="string"?u.create(c,h):c;return this.parent!=null&&this.parent.insertBefore(p,this.next),p.appendChild(this),p},a.blotName="abstract",a}();n.default=o},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0});var u=i(12),o=i(32),a=i(33),c=i(1),h=function(){function p(f){this.attributes={},this.domNode=f,this.build()}return p.prototype.attribute=function(f,s){s?f.add(this.domNode,s)&&(f.value(this.domNode)!=null?this.attributes[f.attrName]=f:delete this.attributes[f.attrName]):(f.remove(this.domNode),delete this.attributes[f.attrName])},p.prototype.build=function(){var f=this;this.attributes={};var s=u.default.keys(this.domNode),l=o.default.keys(this.domNode),b=a.default.keys(this.domNode);s.concat(l).concat(b).forEach(function(g){var m=c.query(g,c.Scope.ATTRIBUTE);m instanceof u.default&&(f.attributes[m.attrName]=m)})},p.prototype.copy=function(f){var s=this;Object.keys(this.attributes).forEach(function(l){var b=s.attributes[l].value(s.domNode);f.format(l,b)})},p.prototype.move=function(f){var s=this;this.copy(f),Object.keys(this.attributes).forEach(function(l){s.attributes[l].remove(s.domNode)}),this.attributes={}},p.prototype.values=function(){var f=this;return Object.keys(this.attributes).reduce(function(s,l){return s[l]=f.attributes[l].value(f.domNode),s},{})},p}();n.default=h},function(t,n,i){var u=this&&this.__extends||function(){var h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,f){p.__proto__=f}||function(p,f){for(var s in f)f.hasOwnProperty(s)&&(p[s]=f[s])};return function(p,f){h(p,f);function s(){this.constructor=p}p.prototype=f===null?Object.create(f):(s.prototype=f.prototype,new s)}}();Object.defineProperty(n,"__esModule",{value:!0});var o=i(12);function a(h,p){var f=h.getAttribute("class")||"";return f.split(/\s+/).filter(function(s){return s.indexOf(p+"-")===0})}var c=function(h){u(p,h);function p(){return h!==null&&h.apply(this,arguments)||this}return p.keys=function(f){return(f.getAttribute("class")||"").split(/\s+/).map(function(s){return s.split("-").slice(0,-1).join("-")})},p.prototype.add=function(f,s){return this.canAdd(f,s)?(this.remove(f),f.classList.add(this.keyName+"-"+s),!0):!1},p.prototype.remove=function(f){var s=a(f,this.keyName);s.forEach(function(l){f.classList.remove(l)}),f.classList.length===0&&f.removeAttribute("class")},p.prototype.value=function(f){var s=a(f,this.keyName)[0]||"",l=s.slice(this.keyName.length+1);return this.canAdd(f,l)?l:""},p}(o.default);n.default=c},function(t,n,i){var u=this&&this.__extends||function(){var h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,f){p.__proto__=f}||function(p,f){for(var s in f)f.hasOwnProperty(s)&&(p[s]=f[s])};return function(p,f){h(p,f);function s(){this.constructor=p}p.prototype=f===null?Object.create(f):(s.prototype=f.prototype,new s)}}();Object.defineProperty(n,"__esModule",{value:!0});var o=i(12);function a(h){var p=h.split("-"),f=p.slice(1).map(function(s){return s[0].toUpperCase()+s.slice(1)}).join("");return p[0]+f}var c=function(h){u(p,h);function p(){return h!==null&&h.apply(this,arguments)||this}return p.keys=function(f){return(f.getAttribute("style")||"").split(";").map(function(s){var l=s.split(":");return l[0].trim()})},p.prototype.add=function(f,s){return this.canAdd(f,s)?(f.style[a(this.keyName)]=s,!0):!1},p.prototype.remove=function(f){f.style[a(this.keyName)]="",f.getAttribute("style")||f.removeAttribute("style")},p.prototype.value=function(f){var s=f.style[a(this.keyName)];return this.canAdd(f,s)?s:""},p}(o.default);n.default=c},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0});var u=function(){function c(h,p){for(var f=0;fM&&this.stack.undo.length>0){var A=this.stack.undo.pop();R=R.compose(A.undo),N=A.redo.compose(N)}else this.lastRecorded=M;this.stack.undo.push({redo:N,undo:R}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(N){this.stack.undo.forEach(function(S){S.undo=N.transform(S.undo,!0),S.redo=N.transform(S.redo,!0)}),this.stack.redo.forEach(function(S){S.undo=N.transform(S.undo,!0),S.redo=N.transform(S.redo,!0)})}},{key:"undo",value:function(){this.change("undo","redo")}}]),d}(f.default);m.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1};function v(_){var d=_.ops[_.ops.length-1];return d==null?!1:d.insert!=null?typeof d.insert=="string"&&d.insert.endsWith(` +`):d.attributes!=null?Object.keys(d.attributes).some(function(O){return a.default.query(O,a.default.Scope.BLOCK)!=null}):!1}function y(_){var d=_.reduce(function(N,S){return N+=S.delete||0,N},0),O=_.length()-d;return v(_)&&(O-=1),O}n.default=m,n.getLastChangeIndex=y},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.BaseTooltip=void 0;var u=function(){function I(U,V){for(var H=0;H0&&arguments[0]!==void 0?arguments[0]:"link",$=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),$!=null?this.textbox.value=$:H!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+H)||""),this.root.setAttribute("data-mode",H)}},{key:"restoreFocus",value:function(){var H=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=H}},{key:"save",value:function(){var H=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":{var $=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",H,s.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",H,s.default.sources.USER)),this.quill.root.scrollTop=$;break}case"video":H=C(H);case"formula":{if(!H)break;var K=this.quill.getSelection(!0);if(K!=null){var W=K.index+K.length;this.quill.insertEmbed(W,this.root.getAttribute("data-mode"),H,s.default.sources.USER),this.root.getAttribute("data-mode")==="formula"&&this.quill.insertText(W+1," ",s.default.sources.USER),this.quill.setSelection(W+2,s.default.sources.USER)}break}}this.textbox.value="",this.hide()}}]),U}(R.default);function C(I){var U=I.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||I.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return U?(U[1]||"https")+"://www.youtube.com/embed/"+U[2]+"?showinfo=0":(U=I.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(U[1]||"https")+"://player.vimeo.com/video/"+U[2]+"/":I}function k(I,U){var V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;U.forEach(function(H){var $=document.createElement("option");H===V?$.setAttribute("selected","selected"):$.setAttribute("value",H),I.appendChild($)})}n.BaseTooltip=j,n.default=F},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0});var u=function(){function o(){this.head=this.tail=null,this.length=0}return o.prototype.append=function(){for(var a=[],c=0;c1&&this.append.apply(this,a.slice(1))},o.prototype.contains=function(a){for(var c,h=this.iterator();c=h();)if(c===a)return!0;return!1},o.prototype.insertBefore=function(a,c){!a||(a.next=c,c!=null?(a.prev=c.prev,c.prev!=null&&(c.prev.next=a),c.prev=a,c===this.head&&(this.head=a)):this.tail!=null?(this.tail.next=a,a.prev=this.tail,this.tail=a):(a.prev=null,this.head=this.tail=a),this.length+=1)},o.prototype.offset=function(a){for(var c=0,h=this.head;h!=null;){if(h===a)return c;c+=h.length(),h=h.next}return-1},o.prototype.remove=function(a){!this.contains(a)||(a.prev!=null&&(a.prev.next=a.next),a.next!=null&&(a.next.prev=a.prev),a===this.head&&(this.head=a.next),a===this.tail&&(this.tail=a.prev),this.length-=1)},o.prototype.iterator=function(a){return a===void 0&&(a=this.head),function(){var c=a;return a!=null&&(a=a.next),c}},o.prototype.find=function(a,c){c===void 0&&(c=!1);for(var h,p=this.iterator();h=p();){var f=h.length();if(ab?h(l,a-b,Math.min(c,b+m-a)):h(l,0,Math.min(m,a+c-b)),b+=m}},o.prototype.map=function(a){return this.reduce(function(c,h){return c.push(a(h)),c},[])},o.prototype.reduce=function(a,c){for(var h,p=this.iterator();h=p();)c=a(c,h);return c},o}();n.default=u},function(t,n,i){var u=this&&this.__extends||function(){var f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,l){s.__proto__=l}||function(s,l){for(var b in l)l.hasOwnProperty(b)&&(s[b]=l[b])};return function(s,l){f(s,l);function b(){this.constructor=s}s.prototype=l===null?Object.create(l):(b.prototype=l.prototype,new b)}}();Object.defineProperty(n,"__esModule",{value:!0});var o=i(17),a=i(1),c={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},h=100,p=function(f){u(s,f);function s(l){var b=f.call(this,l)||this;return b.scroll=b,b.observer=new MutationObserver(function(g){b.update(g)}),b.observer.observe(b.domNode,c),b.attach(),b}return s.prototype.detach=function(){f.prototype.detach.call(this),this.observer.disconnect()},s.prototype.deleteAt=function(l,b){this.update(),l===0&&b===this.length()?this.children.forEach(function(g){g.remove()}):f.prototype.deleteAt.call(this,l,b)},s.prototype.formatAt=function(l,b,g,m){this.update(),f.prototype.formatAt.call(this,l,b,g,m)},s.prototype.insertAt=function(l,b,g){this.update(),f.prototype.insertAt.call(this,l,b,g)},s.prototype.optimize=function(l,b){var g=this;l===void 0&&(l=[]),b===void 0&&(b={}),f.prototype.optimize.call(this,b);for(var m=[].slice.call(this.observer.takeRecords());m.length>0;)l.push(m.pop());for(var v=function(O,N){N===void 0&&(N=!0),!(O==null||O===g)&&O.domNode.parentNode!=null&&(O.domNode[a.DATA_KEY].mutations==null&&(O.domNode[a.DATA_KEY].mutations=[]),N&&v(O.parent))},y=function(O){O.domNode[a.DATA_KEY]==null||O.domNode[a.DATA_KEY].mutations==null||(O instanceof o.default&&O.children.forEach(y),O.optimize(b))},_=l,d=0;_.length>0;d+=1){if(d>=h)throw new Error("[Parchment] Maximum optimize iterations reached");for(_.forEach(function(O){var N=a.find(O.target,!0);N!=null&&(N.domNode===O.target&&(O.type==="childList"?(v(a.find(O.previousSibling,!1)),[].forEach.call(O.addedNodes,function(S){var R=a.find(S,!1);v(R,!1),R instanceof o.default&&R.children.forEach(function(M){v(M,!1)})})):O.type==="attributes"&&v(N.prev)),v(N))}),this.children.forEach(y),_=[].slice.call(this.observer.takeRecords()),m=_.slice();m.length>0;)l.push(m.pop())}},s.prototype.update=function(l,b){var g=this;b===void 0&&(b={}),l=l||this.observer.takeRecords(),l.map(function(m){var v=a.find(m.target,!0);return v==null?null:v.domNode[a.DATA_KEY].mutations==null?(v.domNode[a.DATA_KEY].mutations=[m],v):(v.domNode[a.DATA_KEY].mutations.push(m),null)}).forEach(function(m){m==null||m===g||m.domNode[a.DATA_KEY]==null||m.update(m.domNode[a.DATA_KEY].mutations||[],b)}),this.domNode[a.DATA_KEY].mutations!=null&&f.prototype.update.call(this,this.domNode[a.DATA_KEY].mutations,b),this.optimize(l,b)},s.blotName="scroll",s.defaultChild="block",s.scope=a.Scope.BLOCK_BLOT,s.tagName="DIV",s}(o.default);n.default=p},function(t,n,i){var u=this&&this.__extends||function(){var p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,s){f.__proto__=s}||function(f,s){for(var l in s)s.hasOwnProperty(l)&&(f[l]=s[l])};return function(f,s){p(f,s);function l(){this.constructor=f}f.prototype=s===null?Object.create(s):(l.prototype=s.prototype,new l)}}();Object.defineProperty(n,"__esModule",{value:!0});var o=i(18),a=i(1);function c(p,f){if(Object.keys(p).length!==Object.keys(f).length)return!1;for(var s in p)if(p[s]!==f[s])return!1;return!0}var h=function(p){u(f,p);function f(){return p!==null&&p.apply(this,arguments)||this}return f.formats=function(s){if(s.tagName!==f.tagName)return p.formats.call(this,s)},f.prototype.format=function(s,l){var b=this;s===this.statics.blotName&&!l?(this.children.forEach(function(g){g instanceof o.default||(g=g.wrap(f.blotName,!0)),b.attributes.copy(g)}),this.unwrap()):p.prototype.format.call(this,s,l)},f.prototype.formatAt=function(s,l,b,g){if(this.formats()[b]!=null||a.query(b,a.Scope.ATTRIBUTE)){var m=this.isolate(s,l);m.format(b,g)}else p.prototype.formatAt.call(this,s,l,b,g)},f.prototype.optimize=function(s){p.prototype.optimize.call(this,s);var l=this.formats();if(Object.keys(l).length===0)return this.unwrap();var b=this.next;b instanceof f&&b.prev===this&&c(l,b.formats())&&(b.moveChildren(this),b.remove())},f.blotName="inline",f.scope=a.Scope.INLINE_BLOT,f.tagName="SPAN",f}(o.default);n.default=h},function(t,n,i){var u=this&&this.__extends||function(){var h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,f){p.__proto__=f}||function(p,f){for(var s in f)f.hasOwnProperty(s)&&(p[s]=f[s])};return function(p,f){h(p,f);function s(){this.constructor=p}p.prototype=f===null?Object.create(f):(s.prototype=f.prototype,new s)}}();Object.defineProperty(n,"__esModule",{value:!0});var o=i(18),a=i(1),c=function(h){u(p,h);function p(){return h!==null&&h.apply(this,arguments)||this}return p.formats=function(f){var s=a.query(p.blotName).tagName;if(f.tagName!==s)return h.formats.call(this,f)},p.prototype.format=function(f,s){a.query(f,a.Scope.BLOCK)!=null&&(f===this.statics.blotName&&!s?this.replaceWith(p.blotName):h.prototype.format.call(this,f,s))},p.prototype.formatAt=function(f,s,l,b){a.query(l,a.Scope.BLOCK)!=null?this.format(l,b):h.prototype.formatAt.call(this,f,s,l,b)},p.prototype.insertAt=function(f,s,l){if(l==null||a.query(s,a.Scope.INLINE)!=null)h.prototype.insertAt.call(this,f,s,l);else{var b=this.split(f),g=a.create(s,l);b.parent.insertBefore(g,b)}},p.prototype.update=function(f,s){navigator.userAgent.match(/Trident/)?this.build():h.prototype.update.call(this,f,s)},p.blotName="block",p.scope=a.Scope.BLOCK_BLOT,p.tagName="P",p}(o.default);n.default=c},function(t,n,i){var u=this&&this.__extends||function(){var c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,p){h.__proto__=p}||function(h,p){for(var f in p)p.hasOwnProperty(f)&&(h[f]=p[f])};return function(h,p){c(h,p);function f(){this.constructor=h}h.prototype=p===null?Object.create(p):(f.prototype=p.prototype,new f)}}();Object.defineProperty(n,"__esModule",{value:!0});var o=i(19),a=function(c){u(h,c);function h(){return c!==null&&c.apply(this,arguments)||this}return h.formats=function(p){},h.prototype.format=function(p,f){c.prototype.formatAt.call(this,0,this.length(),p,f)},h.prototype.formatAt=function(p,f,s,l){p===0&&f===this.length()?this.format(s,l):c.prototype.formatAt.call(this,p,f,s,l)},h.prototype.formats=function(){return this.statics.formats(this.domNode)},h}(o.default);n.default=a},function(t,n,i){var u=this&&this.__extends||function(){var h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,f){p.__proto__=f}||function(p,f){for(var s in f)f.hasOwnProperty(s)&&(p[s]=f[s])};return function(p,f){h(p,f);function s(){this.constructor=p}p.prototype=f===null?Object.create(f):(s.prototype=f.prototype,new s)}}();Object.defineProperty(n,"__esModule",{value:!0});var o=i(19),a=i(1),c=function(h){u(p,h);function p(f){var s=h.call(this,f)||this;return s.text=s.statics.value(s.domNode),s}return p.create=function(f){return document.createTextNode(f)},p.value=function(f){var s=f.data;return s.normalize&&(s=s.normalize()),s},p.prototype.deleteAt=function(f,s){this.domNode.data=this.text=this.text.slice(0,f)+this.text.slice(f+s)},p.prototype.index=function(f,s){return this.domNode===f?s:-1},p.prototype.insertAt=function(f,s,l){l==null?(this.text=this.text.slice(0,f)+s+this.text.slice(f),this.domNode.data=this.text):h.prototype.insertAt.call(this,f,s,l)},p.prototype.length=function(){return this.text.length},p.prototype.optimize=function(f){h.prototype.optimize.call(this,f),this.text=this.statics.value(this.domNode),this.text.length===0?this.remove():this.next instanceof p&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},p.prototype.position=function(f,s){return[this.domNode,f]},p.prototype.split=function(f,s){if(s===void 0&&(s=!1),!s){if(f===0)return this;if(f===this.length())return this.next}var l=a.create(this.domNode.splitText(f));return this.parent.insertBefore(l,this.next),this.text=this.statics.value(this.domNode),l},p.prototype.update=function(f,s){var l=this;f.some(function(b){return b.type==="characterData"&&b.target===l.domNode})&&(this.text=this.statics.value(this.domNode))},p.prototype.value=function(){return this.text},p.blotName="text",p.scope=a.Scope.INLINE_BLOT,p}(o.default);n.default=c},function(t,n,i){var u=document.createElement("div");if(u.classList.toggle("test-class",!1),u.classList.contains("test-class")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(a,c){return arguments.length>1&&!this.contains(a)==!c?c:o.call(this,a)}}String.prototype.startsWith||(String.prototype.startsWith=function(a,c){return c=c||0,this.substr(c,a.length)===a}),String.prototype.endsWith||(String.prototype.endsWith=function(a,c){var h=this.toString();(typeof c!="number"||!isFinite(c)||Math.floor(c)!==c||c>h.length)&&(c=h.length),c-=a.length;var p=h.indexOf(a,c);return p!==-1&&p===c}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(c){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof c!="function")throw new TypeError("predicate must be a function");for(var h=Object(this),p=h.length>>>0,f=arguments[1],s,l=0;lO.length?d:O,R=d.length>O.length?O:d,M=S.indexOf(R);if(M!=-1)return N=[[u,S.substring(0,M)],[o,R],[u,S.substring(M+R.length)]],d.length>O.length&&(N[0][0]=N[2][0]=i),N;if(R.length==1)return[[i,d],[u,O]];var A=l(d,O);if(A){var E=A[0],T=A[1],x=A[2],L=A[3],P=A[4],q=a(E,x),D=a(T,L);return q.concat([[o,P]],D)}return h(d,O)}function h(d,O){for(var N=d.length,S=O.length,R=Math.ceil((N+S)/2),M=R,A=2*R,E=new Array(A),T=new Array(A),x=0;xN)D+=2;else if(V>S)q+=2;else if(P){var H=M+L-k;if(H>=0&&H=$)return p(d,O,U,V)}}}for(var K=-C+F;K<=C-j;K+=2){var H=M+K,$;K==-C||K!=C&&T[H-1]N)j+=2;else if(W>S)F+=2;else if(!P){var I=M+L-K;if(I>=0&&I=$)return p(d,O,U,V)}}}}return[[i,d],[u,O]]}function p(d,O,N,S){var R=d.substring(0,N),M=O.substring(0,S),A=d.substring(N),E=O.substring(S),T=a(R,M),x=a(A,E);return T.concat(x)}function f(d,O){if(!d||!O||d.charAt(0)!=O.charAt(0))return 0;for(var N=0,S=Math.min(d.length,O.length),R=S,M=0;NO.length?d:O,S=d.length>O.length?O:d;if(N.length<4||S.length*2=D.length?[U,V,H,$,I]:null}var M=R(N,S,Math.ceil(N.length/4)),A=R(N,S,Math.ceil(N.length/2)),E;if(!M&&!A)return null;A?M?E=M[4].length>A[4].length?M:A:E=A:E=M;var T,x,L,P;d.length>O.length?(T=E[0],x=E[1],L=E[2],P=E[3]):(L=E[0],P=E[1],T=E[2],x=E[3]);var q=E[4];return[T,x,L,P,q]}function b(d){d.push([o,""]);for(var O=0,N=0,S=0,R="",M="",A;O1?(N!==0&&S!==0&&(A=f(M,R),A!==0&&(O-N-S>0&&d[O-N-S-1][0]==o?d[O-N-S-1][1]+=M.substring(0,A):(d.splice(0,0,[o,M.substring(0,A)]),O++),M=M.substring(A),R=R.substring(A)),A=s(M,R),A!==0&&(d[O][1]=M.substring(M.length-A)+d[O][1],M=M.substring(0,M.length-A),R=R.substring(0,R.length-A))),N===0?d.splice(O-S,N+S,[u,M]):S===0?d.splice(O-N,N+S,[i,R]):d.splice(O-N-S,N+S,[i,R],[u,M]),O=O-N-S+(N?1:0)+(S?1:0)+1):O!==0&&d[O-1][0]==o?(d[O-1][1]+=d[O][1],d.splice(O,1)):O++,S=0,N=0,R="",M="";break}d[d.length-1][1]===""&&d.pop();var E=!1;for(O=1;O0&&S.splice(R+2,0,[A[0],E]),_(S,R,3)}else return d}function y(d){for(var O=!1,N=function(A){return A.charCodeAt(0)>=56320&&A.charCodeAt(0)<=57343},S=function(A){return A.charCodeAt(A.length-1)>=55296&&A.charCodeAt(A.length-1)<=56319},R=2;R0&&M.push(d[R]);return M}function _(d,O,N){for(var S=O+N-1;S>=0&&S>=O-1;S--)if(S+1\r?\n +\<"),this.convert();var X=this.quill.getFormat(this.quill.selection.savedRange.index);if(X[S.default.blotName]){var he=this.container.innerText;return this.container.innerHTML="",new f.default().insert(he,x({},S.default.blotName,X[S.default.blotName]))}var ce=this.prepareMatching(),pe=o(ce,2),Se=pe[0],ie=pe[1],oe=K(this.container,Se,ie);return H(oe,` +`)&&oe.ops[oe.ops.length-1].attributes==null&&(oe=oe.compose(new f.default().retain(oe.length()-1).delete(1))),D.log("convert",this.container.innerHTML,oe),this.container.innerHTML="",oe}},{key:"dangerouslyPasteHTML",value:function(ne,X){var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:g.default.sources.API;if(typeof ne=="string")this.quill.setContents(this.convert(ne),X),this.quill.setSelection(0,g.default.sources.SILENT);else{var ce=this.convert(X);this.quill.updateContents(new f.default().retain(ne).concat(ce),he),this.quill.setSelection(ne+ce.length(),g.default.sources.SILENT)}}},{key:"onPaste",value:function(ne){var X=this;if(!(ne.defaultPrevented||!this.quill.isEnabled())){var he=this.quill.getSelection(),ce=new f.default().retain(he.index),pe=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(g.default.sources.SILENT),setTimeout(function(){ce=ce.concat(X.convert()).delete(he.length),X.quill.updateContents(ce,g.default.sources.USER),X.quill.setSelection(ce.length()-he.length,g.default.sources.SILENT),X.quill.scrollingContainer.scrollTop=pe,X.quill.focus()},1)}}},{key:"prepareMatching",value:function(){var ne=this,X=[],he=[];return this.matchers.forEach(function(ce){var pe=o(ce,2),Se=pe[0],ie=pe[1];switch(Se){case Node.TEXT_NODE:he.push(ie);break;case Node.ELEMENT_NODE:X.push(ie);break;default:[].forEach.call(ne.container.querySelectorAll(Se),function(oe){oe[F]=oe[F]||[],oe[F].push(ie)});break}}),[X,he]}}]),Y}(_.default);I.DEFAULTS={matchers:[],matchVisual:!0};function U(Z,Y,re){return(typeof Y>"u"?"undefined":u(Y))==="object"?Object.keys(Y).reduce(function(ne,X){return U(ne,X,Y[X])},Z):Z.reduce(function(ne,X){return X.attributes&&X.attributes[Y]?ne.push(X):ne.insert(X.insert,(0,h.default)({},x({},Y,re),X.attributes))},new f.default)}function V(Z){if(Z.nodeType!==Node.ELEMENT_NODE)return{};var Y="__ql-computed-style";return Z[Y]||(Z[Y]=window.getComputedStyle(Z))}function H(Z,Y){for(var re="",ne=Z.ops.length-1;ne>=0&&re.length-1}function K(Z,Y,re){return Z.nodeType===Z.TEXT_NODE?re.reduce(function(ne,X){return X(Z,ne)},new f.default):Z.nodeType===Z.ELEMENT_NODE?[].reduce.call(Z.childNodes||[],function(ne,X){var he=K(X,Y,re);return X.nodeType===Z.ELEMENT_NODE&&(he=Y.reduce(function(ce,pe){return pe(X,ce)},he),he=(X[F]||[]).reduce(function(ce,pe){return pe(X,ce)},he)),ne.concat(he)},new f.default):new f.default}function W(Z,Y,re){return U(re,Z,!0)}function G(Z,Y){var re=l.default.Attributor.Attribute.keys(Z),ne=l.default.Attributor.Class.keys(Z),X=l.default.Attributor.Style.keys(Z),he={};return re.concat(ne).concat(X).forEach(function(ce){var pe=l.default.query(ce,l.default.Scope.ATTRIBUTE);pe!=null&&(he[pe.attrName]=pe.value(Z),he[pe.attrName])||(pe=C[ce],pe!=null&&(pe.attrName===ce||pe.keyName===ce)&&(he[pe.attrName]=pe.value(Z)||void 0),pe=k[ce],pe!=null&&(pe.attrName===ce||pe.keyName===ce)&&(pe=k[ce],he[pe.attrName]=pe.value(Z)||void 0))}),Object.keys(he).length>0&&(Y=U(Y,he)),Y}function Q(Z,Y){var re=l.default.query(Z);if(re==null)return Y;if(re.prototype instanceof l.default.Embed){var ne={},X=re.value(Z);X!=null&&(ne[re.blotName]=X,Y=new f.default().insert(ne,re.formats(Z)))}else typeof re.formats=="function"&&(Y=U(Y,re.blotName,re.formats(Z)));return Y}function ae(Z,Y){return H(Y,` +`)||Y.insert(` +`),Y}function se(){return new f.default}function fe(Z,Y){var re=l.default.query(Z);if(re==null||re.blotName!=="list-item"||!H(Y,` +`))return Y;for(var ne=-1,X=Z.parentNode;!X.classList.contains("ql-clipboard");)(l.default.query(X)||{}).blotName==="list"&&(ne+=1),X=X.parentNode;return ne<=0?Y:Y.compose(new f.default().retain(Y.length()-1).retain(1,{indent:ne}))}function ee(Z,Y){return H(Y,` +`)||($(Z)||Y.length()>0&&Z.nextSibling&&$(Z.nextSibling))&&Y.insert(` +`),Y}function le(Z,Y){if($(Z)&&Z.nextElementSibling!=null&&!H(Y,` + +`)){var re=Z.offsetHeight+parseFloat(V(Z).marginTop)+parseFloat(V(Z).marginBottom);Z.nextElementSibling.offsetTop>Z.offsetTop+re*1.5&&Y.insert(` +`)}return Y}function ve(Z,Y){var re={},ne=Z.style||{};return ne.fontStyle&&V(Z).fontStyle==="italic"&&(re.italic=!0),ne.fontWeight&&(V(Z).fontWeight.startsWith("bold")||parseInt(V(Z).fontWeight)>=700)&&(re.bold=!0),Object.keys(re).length>0&&(Y=U(Y,re)),parseFloat(ne.textIndent||0)>0&&(Y=new f.default().insert(" ").concat(Y)),Y}function ye(Z,Y){var re=Z.data;if(Z.parentNode.tagName==="O:P")return Y.insert(re.trim());if(re.trim().length===0&&Z.parentNode.classList.contains("ql-clipboard"))return Y;if(!V(Z.parentNode).whiteSpace.startsWith("pre")){var ne=function(he,ce){return ce=ce.replace(/[^\u00a0]/g,""),ce.length<1&&he?" ":ce};re=re.replace(/\r\n/g," ").replace(/\n/g," "),re=re.replace(/\s\s+/g,ne.bind(ne,!0)),(Z.previousSibling==null&&$(Z.parentNode)||Z.previousSibling!=null&&$(Z.previousSibling))&&(re=re.replace(/^\s+/,ne.bind(ne,!1))),(Z.nextSibling==null&&$(Z.parentNode)||Z.nextSibling!=null&&$(Z.nextSibling))&&(re=re.replace(/\s+$/,ne.bind(ne,!1)))}return Y.insert(re)}n.default=I,n.matchAttributor=G,n.matchBlot=Q,n.matchNewline=ee,n.matchSpacing=le,n.matchText=ye},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0});var u=function(){function b(g,m){for(var v=0;v '},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0});var u=function(){function b(g,m){for(var v=0;vl.right&&(g=l.right-b.right,this.root.style.left=f+g+"px"),b.leftl.bottom){var m=b.bottom-b.top,v=p.bottom-p.top+m;this.root.style.top=s-v+"px",this.root.classList.add("ql-flip")}return g}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),c}();n.default=a},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0});var u=function(){function A(E,T){var x=[],L=!0,P=!1,q=void 0;try{for(var D=E[Symbol.iterator](),F;!(L=(F=D.next()).done)&&(x.push(F.value),!(T&&x.length===T));L=!0);}catch(j){P=!0,q=j}finally{try{!L&&D.return&&D.return()}finally{if(P)throw q}}return x}return function(E,T){if(Array.isArray(E))return E;if(Symbol.iterator in Object(E))return A(E,T);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function A(E,T,x){E===null&&(E=Function.prototype);var L=Object.getOwnPropertyDescriptor(E,T);if(L===void 0){var P=Object.getPrototypeOf(E);return P===null?void 0:A(P,T,x)}else{if("value"in L)return L.value;var q=L.get;return q===void 0?void 0:q.call(x)}},a=function(){function A(E,T){for(var x=0;x','','',''].join(""),n.default=R},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0});var u=i(29),o=X(u),a=i(36),c=i(38),h=i(64),p=i(65),f=X(p),s=i(66),l=X(s),b=i(67),g=X(b),m=i(37),v=i(26),y=i(39),_=i(40),d=i(56),O=X(d),N=i(68),S=X(N),R=i(27),M=X(R),A=i(69),E=X(A),T=i(70),x=X(T),L=i(71),P=X(L),q=i(72),D=X(q),F=i(73),j=X(F),C=i(13),k=X(C),I=i(74),U=X(I),V=i(75),H=X(V),$=i(57),K=X($),W=i(41),G=X(W),Q=i(28),ae=X(Q),se=i(59),fe=X(se),ee=i(60),le=X(ee),ve=i(61),ye=X(ve),Z=i(108),Y=X(Z),re=i(62),ne=X(re);function X(he){return he&&he.__esModule?he:{default:he}}o.default.register({"attributors/attribute/direction":c.DirectionAttribute,"attributors/class/align":a.AlignClass,"attributors/class/background":m.BackgroundClass,"attributors/class/color":v.ColorClass,"attributors/class/direction":c.DirectionClass,"attributors/class/font":y.FontClass,"attributors/class/size":_.SizeClass,"attributors/style/align":a.AlignStyle,"attributors/style/background":m.BackgroundStyle,"attributors/style/color":v.ColorStyle,"attributors/style/direction":c.DirectionStyle,"attributors/style/font":y.FontStyle,"attributors/style/size":_.SizeStyle},!0),o.default.register({"formats/align":a.AlignClass,"formats/direction":c.DirectionClass,"formats/indent":h.IndentClass,"formats/background":m.BackgroundStyle,"formats/color":v.ColorStyle,"formats/font":y.FontClass,"formats/size":_.SizeClass,"formats/blockquote":f.default,"formats/code-block":k.default,"formats/header":l.default,"formats/list":g.default,"formats/bold":O.default,"formats/code":C.Code,"formats/italic":S.default,"formats/link":M.default,"formats/script":E.default,"formats/strike":x.default,"formats/underline":P.default,"formats/image":D.default,"formats/video":j.default,"formats/list/item":b.ListItem,"modules/formula":U.default,"modules/syntax":H.default,"modules/toolbar":K.default,"themes/bubble":Y.default,"themes/snow":ne.default,"ui/icons":G.default,"ui/picker":ae.default,"ui/icon-picker":le.default,"ui/color-picker":fe.default,"ui/tooltip":ye.default},!0),n.default=o.default},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.IndentClass=void 0;var u=function(){function g(m,v){for(var y=0;y0&&this.children.tail.format(S,R)}},{key:"formats",value:function(){return b({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(S,R){if(S instanceof y)o(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"insertBefore",this).call(this,S,R);else{var M=R==null?this.length():R.offset(this),A=this.split(M);A.parent.insertBefore(S,A)}}},{key:"optimize",value:function(S){o(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"optimize",this).call(this,S);var R=this.next;R!=null&&R.prev===this&&R.statics.blotName===this.statics.blotName&&R.domNode.tagName===this.domNode.tagName&&R.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(R.moveChildren(this),R.remove())}},{key:"replace",value:function(S){if(S.statics.blotName!==this.statics.blotName){var R=c.default.create(this.statics.defaultChild);S.moveChildren(R),this.appendChild(R)}o(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"replace",this).call(this,S)}}]),O}(s.default);_.blotName="list",_.scope=c.default.Scope.BLOCK_BLOT,_.tagName=["OL","UL"],_.defaultChild="list-item",_.allowedChildren=[y],n.ListItem=y,n.default=_},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0});var u=i(56),o=a(u);function a(s){return s&&s.__esModule?s:{default:s}}function c(s,l){if(!(s instanceof l))throw new TypeError("Cannot call a class as a function")}function h(s,l){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l&&(typeof l=="object"||typeof l=="function")?l:s}function p(s,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);s.prototype=Object.create(l&&l.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(s,l):s.__proto__=l)}var f=function(s){p(l,s);function l(){return c(this,l),h(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}return l}(o.default);f.blotName="italic",f.tagName=["EM","I"],n.default=f},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0});var u=function(){function b(g,m){for(var v=0;v-1?d?this.domNode.setAttribute(_,d):this.domNode.removeAttribute(_):o(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"format",this).call(this,_,d)}}],[{key:"create",value:function(_){var d=o(v.__proto__||Object.getPrototypeOf(v),"create",this).call(this,_);return typeof _=="string"&&d.setAttribute("src",this.sanitize(_)),d}},{key:"formats",value:function(_){return b.reduce(function(d,O){return _.hasAttribute(O)&&(d[O]=_.getAttribute(O)),d},{})}},{key:"match",value:function(_){return/\.(jpe?g|gif|png)$/.test(_)||/^data:image\/.+;base64/.test(_)}},{key:"sanitize",value:function(_){return(0,h.sanitize)(_,["http","https","data"])?_:"//:0"}},{key:"value",value:function(_){return _.getAttribute("src")}}]),v}(c.default.Embed);g.blotName="image",g.tagName="IMG",n.default=g},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0});var u=function(){function m(v,y){for(var _=0;_-1?d?this.domNode.setAttribute(_,d):this.domNode.removeAttribute(_):o(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"format",this).call(this,_,d)}}],[{key:"create",value:function(_){var d=o(v.__proto__||Object.getPrototypeOf(v),"create",this).call(this,_);return d.setAttribute("frameborder","0"),d.setAttribute("allowfullscreen",!0),d.setAttribute("src",this.sanitize(_)),d}},{key:"formats",value:function(_){return b.reduce(function(d,O){return _.hasAttribute(O)&&(d[O]=_.getAttribute(O)),d},{})}},{key:"sanitize",value:function(_){return h.default.sanitize(_)}},{key:"value",value:function(_){return _.getAttribute("src")}}]),v}(a.BlockEmbed);g.blotName="video",g.className="ql-video",g.tagName="IFRAME",n.default=g},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.FormulaBlot=void 0;var u=function(){function _(d,O){for(var N=0;N0||this.cachedText==null)&&(this.domNode.innerHTML=M(A),this.domNode.normalize(),this.attach()),this.cachedText=A)}}]),S}(b.default);_.className="ql-syntax";var d=new c.default.Attributor.Class("token","hljs",{scope:c.default.Scope.INLINE}),O=function(N){y(S,N),u(S,null,[{key:"register",value:function(){p.default.register(d,!0),p.default.register(_,!0)}}]);function S(R,M){m(this,S);var A=v(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,R,M));if(typeof A.options.highlight!="function")throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var E=null;return A.quill.on(p.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(E),E=setTimeout(function(){A.highlight(),E=null},A.options.interval)}),A.highlight(),A}return u(S,[{key:"highlight",value:function(){var M=this;if(!this.quill.selection.composing){this.quill.update(p.default.sources.USER);var A=this.quill.getSelection();this.quill.scroll.descendants(_).forEach(function(E){E.highlight(M.options.highlight)}),this.quill.update(p.default.sources.SILENT),A!=null&&this.quill.setSelection(A,p.default.sources.SILENT)}}}]),S}(s.default);O.DEFAULTS={highlight:function(){return window.hljs==null?null:function(N){var S=window.hljs.highlightAuto(N);return S.value}}(),interval:1e3},n.CodeBlock=_,n.CodeToken=d,n.default=O},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n){t.exports=' '},function(t,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.BubbleTooltip=void 0;var u=function S(R,M,A){R===null&&(R=Function.prototype);var E=Object.getOwnPropertyDescriptor(R,M);if(E===void 0){var T=Object.getPrototypeOf(R);return T===null?void 0:S(T,M,A)}else{if("value"in E)return E.value;var x=E.get;return x===void 0?void 0:x.call(A)}},o=function(){function S(R,M){for(var A=0;A0&&P===p.default.sources.USER){E.show(),E.root.style.left="0px",E.root.style.width="",E.root.style.width=E.root.offsetWidth+"px";var q=E.quill.getLines(x.index,x.length);if(q.length===1)E.position(E.quill.getBounds(x));else{var D=q[q.length-1],F=E.quill.getIndex(D),j=Math.min(D.length()-1,x.index+x.length-F),C=E.quill.getBounds(new l.Range(F,j));E.position(C)}}else document.activeElement!==E.textbox&&E.quill.hasFocus()&&E.hide()}),E}return o(R,[{key:"listen",value:function(){var A=this;u(R.prototype.__proto__||Object.getPrototypeOf(R.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){A.root.classList.remove("ql-editing")}),this.quill.on(p.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!A.root.classList.contains("ql-hidden")){var E=A.quill.getSelection();E!=null&&A.position(A.quill.getBounds(E))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(A){var E=u(R.prototype.__proto__||Object.getPrototypeOf(R.prototype),"position",this).call(this,A),T=this.root.querySelector(".ql-tooltip-arrow");if(T.style.marginLeft="",E===0)return E;T.style.marginLeft=-1*E-T.offsetWidth/2+"px"}}]),R}(f.BaseTooltip);N.TEMPLATE=['','
    ','','',"
    "].join(""),n.BubbleTooltip=N,n.default=O},function(t,n,i){t.exports=i(63)}]).default})})(hs);const Rt=lc(hs.exports);var nt=-1,Ze=1,Fe=0;function wn(e,r,t,n){if(e===r)return e?[[Fe,e]]:[];if(t!=null){var i=Wd(e,r,t);if(i)return i}var u=so(e,r),o=e.substring(0,u);e=e.substring(u),r=r.substring(u),u=lo(e,r);var a=e.substring(e.length-u);e=e.substring(0,e.length-u),r=r.substring(0,r.length-u);var c=Hd(e,r);return o&&c.unshift([Fe,o]),a&&c.push([Fe,a]),ps(c,n),c}function Hd(e,r){var t;if(!e)return[[Ze,r]];if(!r)return[[nt,e]];var n=e.length>r.length?e:r,i=e.length>r.length?r:e,u=n.indexOf(i);if(u!==-1)return t=[[Ze,n.substring(0,u)],[Fe,i],[Ze,n.substring(u+i.length)]],e.length>r.length&&(t[0][0]=t[2][0]=nt),t;if(i.length===1)return[[nt,e],[Ze,r]];var o=Kd(e,r);if(o){var a=o[0],c=o[1],h=o[2],p=o[3],f=o[4],s=wn(a,h),l=wn(c,p);return s.concat([[Fe,f]],l)}return zd(e,r)}function zd(e,r){for(var t=e.length,n=r.length,i=Math.ceil((t+n)/2),u=i,o=2*i,a=new Array(o),c=new Array(o),h=0;ht)l+=2;else if(d>n)s+=2;else if(f){var O=u+p-v;if(O>=0&&O=N)return Uo(e,r,_,d)}}}for(var S=-m+b;S<=m-g;S+=2){var O=u+S,N;S===-m||S!==m&&c[O-1]t)g+=2;else if(R>n)b+=2;else if(!f){var y=u+p-S;if(y>=0&&y=N)return Uo(e,r,_,d)}}}}return[[nt,e],[Ze,r]]}function Uo(e,r,t,n){var i=e.substring(0,t),u=r.substring(0,n),o=e.substring(t),a=r.substring(n),c=wn(i,u),h=wn(o,a);return c.concat(h)}function so(e,r){if(!e||!r||e.charAt(0)!==r.charAt(0))return 0;for(var t=0,n=Math.min(e.length,r.length),i=n,u=0;tr.length?e:r,n=e.length>r.length?r:e;if(t.length<4||n.length*2=l.length?[_,d,O,N,y]:null}var u=i(t,n,Math.ceil(t.length/4)),o=i(t,n,Math.ceil(t.length/2)),a;if(!u&&!o)return null;o?u?a=u[4].length>o[4].length?u:o:a=o:a=u;var c,h,p,f;e.length>r.length?(c=a[0],h=a[1],p=a[2],f=a[3]):(p=a[0],f=a[1],c=a[2],h=a[3]);var s=a[4];return[c,h,p,f,s]}function ps(e,r){e.push([Fe,""]);for(var t=0,n=0,i=0,u="",o="",a;t=0&&ms(e[c][1])){var h=e[c][1].slice(-1);if(e[c][1]=e[c][1].slice(0,-1),u=h+u,o=h+o,!e[c][1]){e.splice(c,1),t--;var p=c-1;e[p]&&e[p][0]===Ze&&(i++,o=e[p][1]+o,p--),e[p]&&e[p][0]===nt&&(n++,u=e[p][1]+u,p--),c=p}}if(ys(e[t][1])){var h=e[t][1].charAt(0);e[t][1]=e[t][1].slice(1),u+=h,o+=h}}if(t0||o.length>0){u.length>0&&o.length>0&&(a=so(o,u),a!==0&&(c>=0?e[c][1]+=o.substring(0,a):(e.splice(0,0,[Fe,o.substring(0,a)]),t++),o=o.substring(a),u=u.substring(a)),a=lo(o,u),a!==0&&(e[t][1]=o.substring(o.length-a)+e[t][1],o=o.substring(0,o.length-a),u=u.substring(0,u.length-a)));var f=i+n;u.length===0&&o.length===0?(e.splice(t-f,f),t=t-f):u.length===0?(e.splice(t-f,f,[Ze,o]),t=t-f+1):o.length===0?(e.splice(t-f,f,[nt,u]),t=t-f+1):(e.splice(t-f,f,[nt,u],[Ze,o]),t=t-f+2)}t!==0&&e[t-1][0]===Fe?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,i=0,n=0,u="",o="";break}}e[e.length-1][1]===""&&e.pop();var s=!1;for(t=1;t=55296&&e<=56319}function gs(e){return e>=56320&&e<=57343}function ys(e){return gs(e.charCodeAt(0))}function ms(e){return vs(e.charCodeAt(e.length-1))}function Vd(e){for(var r=[],t=0;t0&&r.push(e[t]);return r}function yi(e,r,t,n){return ms(e)||ys(n)?null:Vd([[Fe,e],[nt,r],[Ze,t],[Fe,n]])}function Wd(e,r,t){var n=typeof t=="number"?{index:t,length:0}:t.oldRange,i=typeof t=="number"?null:t.newRange,u=e.length,o=r.length;if(n.length===0&&(i===null||i.length===0)){var a=n.index,c=e.slice(0,a),h=e.slice(a),p=i?i.index:null;e:{var f=a+o-u;if(p!==null&&p!==f||f<0||f>o)break e;var s=r.slice(0,f),l=r.slice(f);if(l!==h)break e;var b=Math.min(a,f),g=c.slice(0,b),m=s.slice(0,b);if(g!==m)break e;var v=c.slice(b),y=s.slice(b);return yi(g,v,y,h)}e:{if(p!==null&&p!==a)break e;var _=a,s=r.slice(0,_),l=r.slice(_);if(s!==c)break e;var d=Math.min(u-_,o-_),O=h.slice(h.length-d),N=l.slice(l.length-d);if(O!==N)break e;var v=h.slice(0,h.length-d),y=l.slice(0,l.length-d);return yi(c,v,y,O)}}if(n.length>0&&i&&i.length===0){e:{var g=e.slice(0,n.index),O=e.slice(n.index+n.length),b=g.length,d=O.length;if(o-1}function Lr(w,B){var z=this.__data__,J=jt(z,w);return J<0?z.push([w,B]):z[J][1]=B,this}ke.prototype.clear=Nr,ke.prototype.delete=xr,ke.prototype.get=Rr,ke.prototype.has=kr,ke.prototype.set=Lr;function Pe(w){var B=-1,z=w?w.length:0;for(this.clear();++B-1&&w%1==0&&w-1&&w%1==0&&w<=i}function Qe(w){var B=typeof w;return!!w&&(B=="object"||B=="function")}function Hn(w){return!!w&&typeof w=="object"}function gn(w){return Ft(w)?qt(w):Vr(w)}function oi(){return[]}function ai(){return!1}e.exports=jn})(lr,lr.exports);var ur={exports:{}};(function(e,r){var t=200,n="__lodash_hash_undefined__",i=1,u=2,o=9007199254740991,a="[object Arguments]",c="[object Array]",h="[object AsyncFunction]",p="[object Boolean]",f="[object Date]",s="[object Error]",l="[object Function]",b="[object GeneratorFunction]",g="[object Map]",m="[object Number]",v="[object Null]",y="[object Object]",_="[object Promise]",d="[object Proxy]",O="[object RegExp]",N="[object Set]",S="[object String]",R="[object Symbol]",M="[object Undefined]",A="[object WeakMap]",E="[object ArrayBuffer]",T="[object DataView]",x="[object Float32Array]",L="[object Float64Array]",P="[object Int8Array]",q="[object Int16Array]",D="[object Int32Array]",F="[object Uint8Array]",j="[object Uint8ClampedArray]",C="[object Uint16Array]",k="[object Uint32Array]",I=/[\\^$.*+?()[\]{}|]/g,U=/^\[object .+?Constructor\]$/,V=/^(?:0|[1-9]\d*)$/,H={};H[x]=H[L]=H[P]=H[q]=H[D]=H[F]=H[j]=H[C]=H[k]=!0,H[a]=H[c]=H[E]=H[p]=H[T]=H[f]=H[s]=H[l]=H[g]=H[m]=H[y]=H[O]=H[N]=H[S]=H[A]=!1;var $=typeof be=="object"&&be&&be.Object===Object&&be,K=typeof self=="object"&&self&&self.Object===Object&&self,W=$||K||Function("return this")(),G=r&&!r.nodeType&&r,Q=G&&!0&&e&&!e.nodeType&&e,ae=Q&&Q.exports===G,se=ae&&$.process,fe=function(){try{return se&&se.binding&&se.binding("util")}catch{}}(),ee=fe&&fe.isTypedArray;function le(w,B){for(var z=-1,J=w==null?0:w.length,me=0,de=[];++z-1}function Ir(w,B){var z=this.__data__,J=$t(z,w);return J<0?(++this.size,z.push([w,B])):z[J][1]=B,this}Pe.prototype.clear=Mr,Pe.prototype.delete=Pr,Pe.prototype.get=Dr,Pe.prototype.has=Cr,Pe.prototype.set=Ir;function $e(w){var B=-1,z=w==null?0:w.length;for(this.clear();++BEe))return!1;var Ae=de.get(w);if(Ae&&de.get(B))return Ae==B;var De=-1,Ue=!0,xe=z&u?new qt:void 0;for(de.set(w,B),de.set(B,w);++De-1&&w%1==0&&w-1&&w%1==0&&w<=o}function Fn(w){var B=typeof w;return w!=null&&(B=="object"||B=="function")}function Qe(w){return w!=null&&typeof w=="object"}var Hn=ee?Y(ee):Gr;function gn(w){return pn(w)?Vr(w):Zr(w)}function oi(){return[]}function ai(){return!1}e.exports=ii})(ur,ur.exports);var uo={},bs=be&&be.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(uo,"__esModule",{value:!0});var Gd=bs(lr.exports),Zd=bs(ur.exports),Mi;(function(e){function r(u,o,a){u===void 0&&(u={}),o===void 0&&(o={}),typeof u!="object"&&(u={}),typeof o!="object"&&(o={});var c=Gd.default(o);a||(c=Object.keys(c).reduce(function(p,f){return c[f]!=null&&(p[f]=c[f]),p},{}));for(var h in u)u[h]!==void 0&&o[h]===void 0&&(c[h]=u[h]);return Object.keys(c).length>0?c:void 0}e.compose=r;function t(u,o){u===void 0&&(u={}),o===void 0&&(o={}),typeof u!="object"&&(u={}),typeof o!="object"&&(o={});var a=Object.keys(u).concat(Object.keys(o)).reduce(function(c,h){return Zd.default(u[h],o[h])||(c[h]=o[h]===void 0?null:o[h]),c},{});return Object.keys(a).length>0?a:void 0}e.diff=t;function n(u,o){u===void 0&&(u={}),o===void 0&&(o={}),u=u||{};var a=Object.keys(o).reduce(function(c,h){return o[h]!==u[h]&&u[h]!==void 0&&(c[h]=o[h]),c},{});return Object.keys(u).reduce(function(c,h){return u[h]!==o[h]&&o[h]===void 0&&(c[h]=null),c},a)}e.invert=n;function i(u,o,a){if(a===void 0&&(a=!1),typeof u!="object")return o;if(typeof o=="object"){if(!a)return o;var c=Object.keys(o).reduce(function(h,p){return u[p]===void 0&&(h[p]=o[p]),h},{});return Object.keys(c).length>0?c:void 0}}e.transform=i})(Mi||(Mi={}));uo.default=Mi;var Gn={},Zn={},Fo;function Xd(){if(Fo)return Zn;Fo=1;var e=be&&be.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Zn,"__esModule",{value:!0});var r=e(_s()),t=function(){function n(i){this.ops=i,this.index=0,this.offset=0}return n.prototype.hasNext=function(){return this.peekLength()<1/0},n.prototype.next=function(i){i||(i=1/0);var u=this.ops[this.index];if(u){var o=this.offset,a=r.default.length(u);if(i>=a-o?(i=a-o,this.index+=1,this.offset=0):this.offset+=i,typeof u.delete=="number")return{delete:i};var c={};return u.attributes&&(c.attributes=u.attributes),typeof u.retain=="number"?c.retain=i:typeof u.insert=="string"?c.insert=u.insert.substr(o,i):c.insert=u.insert,c}else return{retain:1/0}},n.prototype.peek=function(){return this.ops[this.index]},n.prototype.peekLength=function(){return this.ops[this.index]?r.default.length(this.ops[this.index])-this.offset:1/0},n.prototype.peekType=function(){return this.ops[this.index]?typeof this.ops[this.index].delete=="number"?"delete":typeof this.ops[this.index].retain=="number"?"retain":"insert":"retain"},n.prototype.rest=function(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);var i=this.offset,u=this.index,o=this.next(),a=this.ops.slice(this.index);return this.offset=i,this.index=u,[o].concat(a)}else return[]},n}();return Zn.default=t,Zn}var Ho;function _s(){if(Ho)return Gn;Ho=1;var e=be&&be.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Gn,"__esModule",{value:!0});var r=e(Xd()),t;return function(n){function i(o){return new r.default(o)}n.iterator=i;function u(o){return typeof o.delete=="number"?o.delete:typeof o.retain=="number"?o.retain:typeof o.insert=="string"?o.insert.length:1}n.length=u}(t||(t={})),Gn.default=t,Gn}var kn=be&&be.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Xn=kn(Yd),Jd=kn(lr.exports),mi=kn(ur.exports),mn=kn(uo),Me=kn(_s()),Qd=String.fromCharCode(0),eh=function(){function e(r){Array.isArray(r)?this.ops=r:r!=null&&Array.isArray(r.ops)?this.ops=r.ops:this.ops=[]}return e.prototype.insert=function(r,t){var n={};return typeof r=="string"&&r.length===0?this:(n.insert=r,t!=null&&typeof t=="object"&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},e.prototype.delete=function(r){return r<=0?this:this.push({delete:r})},e.prototype.retain=function(r,t){if(r<=0)return this;var n={retain:r};return t!=null&&typeof t=="object"&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},e.prototype.push=function(r){var t=this.ops.length,n=this.ops[t-1];if(r=Jd.default(r),typeof n=="object"){if(typeof r.delete=="number"&&typeof n.delete=="number")return this.ops[t-1]={delete:n.delete+r.delete},this;if(typeof n.delete=="number"&&r.insert!=null&&(t-=1,n=this.ops[t-1],typeof n!="object"))return this.ops.unshift(r),this;if(mi.default(r.attributes,n.attributes)){if(typeof r.insert=="string"&&typeof n.insert=="string")return this.ops[t-1]={insert:n.insert+r.insert},typeof r.attributes=="object"&&(this.ops[t-1].attributes=r.attributes),this;if(typeof r.retain=="number"&&typeof n.retain=="number")return this.ops[t-1]={retain:n.retain+r.retain},typeof r.attributes=="object"&&(this.ops[t-1].attributes=r.attributes),this}}return t===this.ops.length?this.ops.push(r):this.ops.splice(t,0,r),this},e.prototype.chop=function(){var r=this.ops[this.ops.length-1];return r&&r.retain&&!r.attributes&&this.ops.pop(),this},e.prototype.filter=function(r){return this.ops.filter(r)},e.prototype.forEach=function(r){this.ops.forEach(r)},e.prototype.map=function(r){return this.ops.map(r)},e.prototype.partition=function(r){var t=[],n=[];return this.forEach(function(i){var u=r(i)?t:n;u.push(i)}),[t,n]},e.prototype.reduce=function(r,t){return this.ops.reduce(r,t)},e.prototype.changeLength=function(){return this.reduce(function(r,t){return t.insert?r+Me.default.length(t):t.delete?r-t.delete:r},0)},e.prototype.length=function(){return this.reduce(function(r,t){return r+Me.default.length(t)},0)},e.prototype.slice=function(r,t){r===void 0&&(r=0),t===void 0&&(t=1/0);for(var n=[],i=Me.default.iterator(this.ops),u=0;u0&&n.next(u.retain-o)}for(var a=new e(i);t.hasNext()||n.hasNext();)if(n.peekType()==="insert")a.push(n.next());else if(t.peekType()==="delete")a.push(t.next());else{var c=Math.min(t.peekLength(),n.peekLength()),h=t.next(c),p=n.next(c);if(typeof p.retain=="number"){var f={};typeof h.retain=="number"?f.retain=c:f.insert=h.insert;var s=mn.default.compose(h.attributes,p.attributes,typeof h.retain=="number");if(s&&(f.attributes=s),a.push(f),!n.hasNext()&&mi.default(a.ops[a.ops.length-1],f)){var l=new e(t.rest());return a.concat(l).chop()}}else typeof p.delete=="number"&&typeof h.retain=="number"&&a.push(p)}return a.chop()},e.prototype.concat=function(r){var t=new e(this.ops.slice());return r.ops.length>0&&(t.push(r.ops[0]),t.ops=t.ops.concat(r.ops.slice(1))),t},e.prototype.diff=function(r,t){if(this.ops===r.ops)return new e;var n=[this,r].map(function(c){return c.map(function(h){if(h.insert!=null)return typeof h.insert=="string"?h.insert:Qd;var p=c===r?"on":"with";throw new Error("diff() called "+p+" non-document")}).join("")}),i=new e,u=Xn.default(n[0],n[1],t),o=Me.default.iterator(this.ops),a=Me.default.iterator(r.ops);return u.forEach(function(c){for(var h=c[1].length;h>0;){var p=0;switch(c[0]){case Xn.default.INSERT:p=Math.min(a.peekLength(),h),i.push(a.next(p));break;case Xn.default.DELETE:p=Math.min(h,o.peekLength()),o.next(p),i.delete(p);break;case Xn.default.EQUAL:p=Math.min(o.peekLength(),a.peekLength(),h);var f=o.next(p),s=a.next(p);mi.default(f.insert,s.insert)?i.retain(p,mn.default.diff(f.attributes,s.attributes)):i.push(s).delete(p);break}h-=p}}),i.chop()},e.prototype.eachLine=function(r,t){t===void 0&&(t=` +`);for(var n=Me.default.iterator(this.ops),i=new e,u=0;n.hasNext();){if(n.peekType()!=="insert")return;var o=n.peek(),a=Me.default.length(o)-n.peekLength(),c=typeof o.insert=="string"?o.insert.indexOf(t,a)-a:-1;if(c<0)i.push(n.next());else if(c>0)i.push(n.next(c));else{if(r(i,n.next(1).attributes||{},u)===!1)return;u+=1,i=new e}}i.length()>0&&r(i,{},u)},e.prototype.invert=function(r){var t=new e;return this.reduce(function(n,i){if(i.insert)t.delete(Me.default.length(i));else{if(i.retain&&i.attributes==null)return t.retain(i.retain),n+i.retain;if(i.delete||i.retain&&i.attributes){var u=i.delete||i.retain,o=r.slice(n,n+u);return o.forEach(function(a){i.delete?t.push(a):i.retain&&i.attributes&&t.retain(Me.default.length(a),mn.default.invert(i.attributes,a.attributes))}),n+u}}return n},0),t.chop()},e.prototype.transform=function(r,t){if(t===void 0&&(t=!1),t=!!t,typeof r=="number")return this.transformPosition(r,t);for(var n=r,i=Me.default.iterator(this.ops),u=Me.default.iterator(n.ops),o=new e;i.hasNext()||u.hasNext();)if(i.peekType()==="insert"&&(t||u.peekType()!=="insert"))o.retain(Me.default.length(i.next()));else if(u.peekType()==="insert")o.push(u.next());else{var a=Math.min(i.peekLength(),u.peekLength()),c=i.next(a),h=u.next(a);if(c.delete)continue;h.delete?o.push(h):o.retain(a,mn.default.transform(c.attributes,h.attributes,t))}return o.chop()},e.prototype.transformPosition=function(r,t){t===void 0&&(t=!1),t=!!t;for(var n=Me.default.iterator(this.ops),i=0;n.hasNext()&&i<=r;){var u=n.peekLength(),o=n.peekType();if(n.next(),o==="delete"){r-=Math.min(u,r-i);continue}else o==="insert"&&(i["delta","html","text"].includes(e)},enable:{type:Boolean,default:!0},readOnly:{type:Boolean,default:!1},placeholder:{type:String,required:!1},theme:{type:String,default:"snow",validator:e=>["snow","bubble",""].includes(e)},toolbar:{type:[String,Array,Object],required:!1,validator:e=>typeof e=="string"&&e!==""?e.charAt(0)==="#"?!0:Object.keys(zo).indexOf(e)!==-1:!0},modules:{type:Object,required:!1},options:{type:Object,required:!1},globalOptions:{type:Object,required:!1}},emits:["textChange","selectionChange","editorChange","update:content","focus","blur","ready"],setup:(e,r)=>{hr(()=>{u()}),la(()=>{t=null});let t,n;const i=et(),u=()=>{var E;if(!!i.value){if(n=o(),e.modules)if(Array.isArray(e.modules))for(const T of e.modules)Rt.register(`modules/${T.name}`,T.module);else Rt.register(`modules/${e.modules.name}`,e.modules.module);t=new Rt(i.value,n),_(e.content),t.on("text-change",f),t.on("selection-change",l),t.on("editor-change",b),e.theme!=="bubble"&&i.value.classList.remove("ql-bubble"),e.theme!=="snow"&&i.value.classList.remove("ql-snow"),(E=t.getModule("toolbar"))===null||E===void 0||E.container.addEventListener("mousedown",T=>{T.preventDefault()}),r.emit("ready",t)}},o=()=>{const E={};if(e.theme!==""&&(E.theme=e.theme),e.readOnly&&(E.readOnly=e.readOnly),e.placeholder&&(E.placeholder=e.placeholder),e.toolbar&&e.toolbar!==""&&(E.modules={toolbar:(()=>{if(typeof e.toolbar=="object")return e.toolbar;if(typeof e.toolbar=="string")return e.toolbar.charAt(0)==="#"?e.toolbar:zo[e.toolbar]})()}),e.modules){const T=(()=>{var x,L;const P={};if(Array.isArray(e.modules))for(const q of e.modules)P[q.name]=(x=q.options)!==null&&x!==void 0?x:{};else P[e.modules.name]=(L=e.modules.options)!==null&&L!==void 0?L:{};return P})();E.modules=Object.assign({},E.modules,T)}return Object.assign({},e.globalOptions,e.options,E)},a=E=>typeof E=="object"&&E?E.slice():E,c=E=>Object.values(E.ops).some(T=>!T.retain||Object.keys(T).length!==1);let h;const p=E=>{if(typeof h==typeof E){if(E===h)return!0;if(typeof E=="object"&&E&&typeof h=="object"&&h)return!c(h.diff(E))}return!1},f=(E,T,x)=>{h=a(y()),p(e.content)||r.emit("update:content",h),r.emit("textChange",{delta:E,oldContents:T,source:x})},s=et(),l=(E,T,x)=>{s.value=!!(t!=null&&t.hasFocus()),r.emit("selectionChange",{range:E,oldRange:T,source:x})};er(s,E=>{E?r.emit("focus",i):r.emit("blur",i)});const b=(...E)=>{E[0]==="text-change"&&r.emit("editorChange",{name:E[0],delta:E[1],oldContents:E[2],source:E[3]}),E[0]==="selection-change"&&r.emit("editorChange",{name:E[0],range:E[1],oldRange:E[2],source:E[3]})},g=()=>i.value,m=()=>{var E;return(E=t==null?void 0:t.getModule("toolbar"))===null||E===void 0?void 0:E.container},v=()=>{if(t)return t;throw`The quill editor hasn't been instantiated yet, + make sure to call this method when the editor ready + or use v-on:ready="onReady(quill)" event instead.`},y=(E,T)=>e.contentType==="html"?N():e.contentType==="text"?d(E,T):t==null?void 0:t.getContents(E,T),_=(E,T="api")=>{const x=E||(e.contentType==="delta"?new th:"");e.contentType==="html"?S(x):e.contentType==="text"?O(x,T):t==null||t.setContents(x,T),h=a(x)},d=(E,T)=>{var x;return(x=t==null?void 0:t.getText(E,T))!==null&&x!==void 0?x:""},O=(E,T="api")=>{t==null||t.setText(E,T)},N=()=>{var E;return(E=t==null?void 0:t.root.innerHTML)!==null&&E!==void 0?E:""},S=E=>{t&&(t.root.innerHTML=E)},R=(E,T="api")=>{const x=t==null?void 0:t.clipboard.convert(E);x&&(t==null||t.setContents(x,T))},M=()=>{t==null||t.focus()},A=()=>{wi(()=>{var E;!r.slots.toolbar&&t&&((E=t.getModule("toolbar"))===null||E===void 0||E.container.remove()),u()})};return er(()=>e.content,E=>{if(!t||!E||p(E))return;const T=t.getSelection();T&&wi(()=>t==null?void 0:t.setSelection(T)),_(E)},{deep:!0}),er(()=>e.enable,E=>{t&&t.enable(E)}),{editor:i,getEditor:g,getToolbar:m,getQuill:v,getContents:y,setContents:_,getHTML:N,setHTML:S,pasteHTML:R,focus:M,getText:d,setText:O,reinit:A}},render(){var e,r;return[(r=(e=this.$slots).toolbar)===null||r===void 0?void 0:r.call(e),sa("div",{ref:"editor",...this.$attrs})]}});function Os(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(r=>{const t=e[r],n=typeof t;(n==="object"||n==="function")&&!Object.isFrozen(t)&&Os(t)}),e}class Ko{constructor(r){r.data===void 0&&(r.data={}),this.data=r.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function ws(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function mt(e,...r){const t=Object.create(null);for(const n in e)t[n]=e[n];return r.forEach(function(n){for(const i in n)t[i]=n[i]}),t}const nh="",Vo=e=>!!e.scope,rh=(e,{prefix:r})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const t=e.split(".");return[`${r}${t.shift()}`,...t.map((n,i)=>`${n}${"_".repeat(i+1)}`)].join(" ")}return`${r}${e}`};class ih{constructor(r,t){this.buffer="",this.classPrefix=t.classPrefix,r.walk(this)}addText(r){this.buffer+=ws(r)}openNode(r){if(!Vo(r))return;const t=rh(r.scope,{prefix:this.classPrefix});this.span(t)}closeNode(r){!Vo(r)||(this.buffer+=nh)}value(){return this.buffer}span(r){this.buffer+=``}}const Wo=(e={})=>{const r={children:[]};return Object.assign(r,e),r};class co{constructor(){this.rootNode=Wo(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(r){this.top.children.push(r)}openNode(r){const t=Wo({scope:r});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(r){return this.constructor._walk(r,this.rootNode)}static _walk(r,t){return typeof t=="string"?r.addText(t):t.children&&(r.openNode(t),t.children.forEach(n=>this._walk(r,n)),r.closeNode(t)),r}static _collapse(r){typeof r!="string"&&(!r.children||(r.children.every(t=>typeof t=="string")?r.children=[r.children.join("")]:r.children.forEach(t=>{co._collapse(t)})))}}class oh extends co{constructor(r){super(),this.options=r}addText(r){r!==""&&this.add(r)}startScope(r){this.openNode(r)}endScope(){this.closeNode()}__addSublanguage(r,t){const n=r.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new ih(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function An(e){return e?typeof e=="string"?e:e.source:null}function As(e){return Dt("(?=",e,")")}function ah(e){return Dt("(?:",e,")*")}function sh(e){return Dt("(?:",e,")?")}function Dt(...e){return e.map(t=>An(t)).join("")}function lh(e){const r=e[e.length-1];return typeof r=="object"&&r.constructor===Object?(e.splice(e.length-1,1),r):{}}function fo(...e){const r=lh(e);return"("+(r.capture?"":"?:")+e.map(n=>An(n)).join("|")+")"}function Ts(e){return new RegExp(e.toString()+"|").exec("").length-1}function uh(e,r){const t=e&&e.exec(r);return t&&t.index===0}const ch=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function ho(e,{joinWith:r}){let t=0;return e.map(n=>{t+=1;const i=t;let u=An(n),o="";for(;u.length>0;){const a=ch.exec(u);if(!a){o+=u;break}o+=u.substring(0,a.index),u=u.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?o+="\\"+String(Number(a[1])+i):(o+=a[0],a[0]==="("&&t++)}return o}).map(n=>`(${n})`).join(r)}const fh=/\b\B/,Ss="[a-zA-Z]\\w*",po="[a-zA-Z_]\\w*",Ns="\\b\\d+(\\.\\d+)?",xs="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Rs="\\b(0b[01]+)",dh="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",hh=(e={})=>{const r=/^#![ ]*\//;return e.binary&&(e.begin=Dt(r,/.*\b/,e.binary,/\b.*/)),mt({scope:"meta",begin:r,end:/$/,relevance:0,"on:begin":(t,n)=>{t.index!==0&&n.ignoreMatch()}},e)},Tn={begin:"\\\\[\\s\\S]",relevance:0},ph={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Tn]},vh={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Tn]},gh={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},wr=function(e,r,t={}){const n=mt({scope:"comment",begin:e,end:r,contains:[]},t);n.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=fo("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return n.contains.push({begin:Dt(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),n},yh=wr("//","$"),mh=wr("/\\*","\\*/"),bh=wr("#","$"),_h={scope:"number",begin:Ns,relevance:0},Eh={scope:"number",begin:xs,relevance:0},Oh={scope:"number",begin:Rs,relevance:0},wh={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Tn,{begin:/\[/,end:/\]/,relevance:0,contains:[Tn]}]}]},Ah={scope:"title",begin:Ss,relevance:0},Th={scope:"title",begin:po,relevance:0},Sh={begin:"\\.\\s*"+po,relevance:0},Nh=function(e){return Object.assign(e,{"on:begin":(r,t)=>{t.data._beginMatch=r[1]},"on:end":(r,t)=>{t.data._beginMatch!==r[1]&&t.ignoreMatch()}})};var Jn=Object.freeze({__proto__:null,MATCH_NOTHING_RE:fh,IDENT_RE:Ss,UNDERSCORE_IDENT_RE:po,NUMBER_RE:Ns,C_NUMBER_RE:xs,BINARY_NUMBER_RE:Rs,RE_STARTERS_RE:dh,SHEBANG:hh,BACKSLASH_ESCAPE:Tn,APOS_STRING_MODE:ph,QUOTE_STRING_MODE:vh,PHRASAL_WORDS_MODE:gh,COMMENT:wr,C_LINE_COMMENT_MODE:yh,C_BLOCK_COMMENT_MODE:mh,HASH_COMMENT_MODE:bh,NUMBER_MODE:_h,C_NUMBER_MODE:Eh,BINARY_NUMBER_MODE:Oh,REGEXP_MODE:wh,TITLE_MODE:Ah,UNDERSCORE_TITLE_MODE:Th,METHOD_GUARD:Sh,END_SAME_AS_BEGIN:Nh});function xh(e,r){e.input[e.index-1]==="."&&r.ignoreMatch()}function Rh(e,r){e.className!==void 0&&(e.scope=e.className,delete e.className)}function kh(e,r){!r||!e.beginKeywords||(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=xh,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function Lh(e,r){!Array.isArray(e.illegal)||(e.illegal=fo(...e.illegal))}function Mh(e,r){if(!!e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Ph(e,r){e.relevance===void 0&&(e.relevance=1)}const Dh=(e,r)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const t=Object.assign({},e);Object.keys(e).forEach(n=>{delete e[n]}),e.keywords=t.keywords,e.begin=Dt(t.beforeMatch,As(t.begin)),e.starts={relevance:0,contains:[Object.assign(t,{endsParent:!0})]},e.relevance=0,delete t.beforeMatch},Ch=["of","and","for","in","not","or","if","then","parent","list","value"],Ih="keyword";function ks(e,r,t=Ih){const n=Object.create(null);return typeof e=="string"?i(t,e.split(" ")):Array.isArray(e)?i(t,e):Object.keys(e).forEach(function(u){Object.assign(n,ks(e[u],r,u))}),n;function i(u,o){r&&(o=o.map(a=>a.toLowerCase())),o.forEach(function(a){const c=a.split("|");n[c[0]]=[u,Bh(c[0],c[1])]})}}function Bh(e,r){return r?Number(r):qh(e)?0:1}function qh(e){return Ch.includes(e.toLowerCase())}const Yo={},kt=e=>{console.error(e)},Go=(e,...r)=>{console.log(`WARN: ${e}`,...r)},Ht=(e,r)=>{Yo[`${e}/${r}`]||(console.log(`Deprecated as of ${e}. ${r}`),Yo[`${e}/${r}`]=!0)},cr=new Error;function Ls(e,r,{key:t}){let n=0;const i=e[t],u={},o={};for(let a=1;a<=r.length;a++)o[a+n]=i[a],u[a+n]=!0,n+=Ts(r[a-1]);e[t]=o,e[t]._emit=u,e[t]._multi=!0}function jh(e){if(!!Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw kt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),cr;if(typeof e.beginScope!="object"||e.beginScope===null)throw kt("beginScope must be object"),cr;Ls(e,e.begin,{key:"beginScope"}),e.begin=ho(e.begin,{joinWith:""})}}function $h(e){if(!!Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw kt("skip, excludeEnd, returnEnd not compatible with endScope: {}"),cr;if(typeof e.endScope!="object"||e.endScope===null)throw kt("endScope must be object"),cr;Ls(e,e.end,{key:"endScope"}),e.end=ho(e.end,{joinWith:""})}}function Uh(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function Fh(e){Uh(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),jh(e),$h(e)}function Hh(e){function r(o,a){return new RegExp(An(o),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(a?"g":""))}class t{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(a,c){c.position=this.position++,this.matchIndexes[this.matchAt]=c,this.regexes.push([c,a]),this.matchAt+=Ts(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(c=>c[1]);this.matcherRe=r(ho(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;const c=this.matcherRe.exec(a);if(!c)return null;const h=c.findIndex((f,s)=>s>0&&f!==void 0),p=this.matchIndexes[h];return c.splice(0,h),Object.assign(c,p)}}class n{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(a){if(this.multiRegexes[a])return this.multiRegexes[a];const c=new t;return this.rules.slice(a).forEach(([h,p])=>c.addRule(h,p)),c.compile(),this.multiRegexes[a]=c,c}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(a,c){this.rules.push([a,c]),c.type==="begin"&&this.count++}exec(a){const c=this.getMatcher(this.regexIndex);c.lastIndex=this.lastIndex;let h=c.exec(a);if(this.resumingScanAtSamePosition()&&!(h&&h.index===this.lastIndex)){const p=this.getMatcher(0);p.lastIndex=this.lastIndex+1,h=p.exec(a)}return h&&(this.regexIndex+=h.position+1,this.regexIndex===this.count&&this.considerAll()),h}}function i(o){const a=new n;return o.contains.forEach(c=>a.addRule(c.begin,{rule:c,type:"begin"})),o.terminatorEnd&&a.addRule(o.terminatorEnd,{type:"end"}),o.illegal&&a.addRule(o.illegal,{type:"illegal"}),a}function u(o,a){const c=o;if(o.isCompiled)return c;[Rh,Mh,Fh,Dh].forEach(p=>p(o,a)),e.compilerExtensions.forEach(p=>p(o,a)),o.__beforeBegin=null,[kh,Lh,Ph].forEach(p=>p(o,a)),o.isCompiled=!0;let h=null;return typeof o.keywords=="object"&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),h=o.keywords.$pattern,delete o.keywords.$pattern),h=h||/\w+/,o.keywords&&(o.keywords=ks(o.keywords,e.case_insensitive)),c.keywordPatternRe=r(h,!0),a&&(o.begin||(o.begin=/\B|\b/),c.beginRe=r(c.begin),!o.end&&!o.endsWithParent&&(o.end=/\B|\b/),o.end&&(c.endRe=r(c.end)),c.terminatorEnd=An(c.end)||"",o.endsWithParent&&a.terminatorEnd&&(c.terminatorEnd+=(o.end?"|":"")+a.terminatorEnd)),o.illegal&&(c.illegalRe=r(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map(function(p){return zh(p==="self"?o:p)})),o.contains.forEach(function(p){u(p,c)}),o.starts&&u(o.starts,a),c.matcher=i(c),c}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=mt(e.classNameAliases||{}),u(e)}function Ms(e){return e?e.endsWithParent||Ms(e.starts):!1}function zh(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(r){return mt(e,{variants:null},r)})),e.cachedVariants?e.cachedVariants:Ms(e)?mt(e,{starts:e.starts?mt(e.starts):null}):Object.isFrozen(e)?mt(e):e}var Kh="11.8.0";class Vh extends Error{constructor(r,t){super(r),this.name="HTMLInjectionError",this.html=t}}const bi=ws,Zo=mt,Xo=Symbol("nomatch"),Wh=7,Ps=function(e){const r=Object.create(null),t=Object.create(null),n=[];let i=!0;const u="Could not find the language '{}', did you forget to load/include a language module?",o={disableAutodetect:!0,name:"Plain text",contains:[]};let a={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:oh};function c(D){return a.noHighlightRe.test(D)}function h(D){let F=D.className+" ";F+=D.parentNode?D.parentNode.className:"";const j=a.languageDetectRe.exec(F);if(j){const C=M(j[1]);return C||(Go(u.replace("{}",j[1])),Go("Falling back to no-highlight mode for this block.",D)),C?j[1]:"no-highlight"}return F.split(/\s+/).find(C=>c(C)||M(C))}function p(D,F,j){let C="",k="";typeof F=="object"?(C=D,j=F.ignoreIllegals,k=F.language):(Ht("10.7.0","highlight(lang, code, ...args) has been deprecated."),Ht("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),k=D,C=F),j===void 0&&(j=!0);const I={code:C,language:k};P("before:highlight",I);const U=I.result?I.result:f(I.language,I.code,j);return U.code=I.code,P("after:highlight",U),U}function f(D,F,j,C){const k=Object.create(null);function I(ie,oe){return ie.keywords[oe]}function U(){if(!Y.keywords){ne.addText(X);return}let ie=0;Y.keywordPatternRe.lastIndex=0;let oe=Y.keywordPatternRe.exec(X),ge="";for(;oe;){ge+=X.substring(ie,oe.index);const ue=ve.case_insensitive?oe[0].toLowerCase():oe[0],we=I(Y,ue);if(we){const[je,rn]=we;if(ne.addText(ge),ge="",k[ue]=(k[ue]||0)+1,k[ue]<=Wh&&(he+=rn),je.startsWith("_"))ge+=oe[0];else{const Et=ve.classNameAliases[je]||je;$(oe[0],Et)}}else ge+=oe[0];ie=Y.keywordPatternRe.lastIndex,oe=Y.keywordPatternRe.exec(X)}ge+=X.substring(ie),ne.addText(ge)}function V(){if(X==="")return;let ie=null;if(typeof Y.subLanguage=="string"){if(!r[Y.subLanguage]){ne.addText(X);return}ie=f(Y.subLanguage,X,!0,re[Y.subLanguage]),re[Y.subLanguage]=ie._top}else ie=l(X,Y.subLanguage.length?Y.subLanguage:null);Y.relevance>0&&(he+=ie.relevance),ne.__addSublanguage(ie._emitter,ie.language)}function H(){Y.subLanguage!=null?V():U(),X=""}function $(ie,oe){ie!==""&&(ne.startScope(oe),ne.addText(ie),ne.endScope())}function K(ie,oe){let ge=1;const ue=oe.length-1;for(;ge<=ue;){if(!ie._emit[ge]){ge++;continue}const we=ve.classNameAliases[ie[ge]]||ie[ge],je=oe[ge];we?$(je,we):(X=je,U(),X=""),ge++}}function W(ie,oe){return ie.scope&&typeof ie.scope=="string"&&ne.openNode(ve.classNameAliases[ie.scope]||ie.scope),ie.beginScope&&(ie.beginScope._wrap?($(X,ve.classNameAliases[ie.beginScope._wrap]||ie.beginScope._wrap),X=""):ie.beginScope._multi&&(K(ie.beginScope,oe),X="")),Y=Object.create(ie,{parent:{value:Y}}),Y}function G(ie,oe,ge){let ue=uh(ie.endRe,ge);if(ue){if(ie["on:end"]){const we=new Ko(ie);ie["on:end"](oe,we),we.isMatchIgnored&&(ue=!1)}if(ue){for(;ie.endsParent&&ie.parent;)ie=ie.parent;return ie}}if(ie.endsWithParent)return G(ie.parent,oe,ge)}function Q(ie){return Y.matcher.regexIndex===0?(X+=ie[0],1):(Se=!0,0)}function ae(ie){const oe=ie[0],ge=ie.rule,ue=new Ko(ge),we=[ge.__beforeBegin,ge["on:begin"]];for(const je of we)if(!!je&&(je(ie,ue),ue.isMatchIgnored))return Q(oe);return ge.skip?X+=oe:(ge.excludeBegin&&(X+=oe),H(),!ge.returnBegin&&!ge.excludeBegin&&(X=oe)),W(ge,ie),ge.returnBegin?0:oe.length}function se(ie){const oe=ie[0],ge=F.substring(ie.index),ue=G(Y,ie,ge);if(!ue)return Xo;const we=Y;Y.endScope&&Y.endScope._wrap?(H(),$(oe,Y.endScope._wrap)):Y.endScope&&Y.endScope._multi?(H(),K(Y.endScope,ie)):we.skip?X+=oe:(we.returnEnd||we.excludeEnd||(X+=oe),H(),we.excludeEnd&&(X=oe));do Y.scope&&ne.closeNode(),!Y.skip&&!Y.subLanguage&&(he+=Y.relevance),Y=Y.parent;while(Y!==ue.parent);return ue.starts&&W(ue.starts,ie),we.returnEnd?0:oe.length}function fe(){const ie=[];for(let oe=Y;oe!==ve;oe=oe.parent)oe.scope&&ie.unshift(oe.scope);ie.forEach(oe=>ne.openNode(oe))}let ee={};function le(ie,oe){const ge=oe&&oe[0];if(X+=ie,ge==null)return H(),0;if(ee.type==="begin"&&oe.type==="end"&&ee.index===oe.index&&ge===""){if(X+=F.slice(oe.index,oe.index+1),!i){const ue=new Error(`0 width match regex (${D})`);throw ue.languageName=D,ue.badRule=ee.rule,ue}return 1}if(ee=oe,oe.type==="begin")return ae(oe);if(oe.type==="illegal"&&!j){const ue=new Error('Illegal lexeme "'+ge+'" for mode "'+(Y.scope||"")+'"');throw ue.mode=Y,ue}else if(oe.type==="end"){const ue=se(oe);if(ue!==Xo)return ue}if(oe.type==="illegal"&&ge==="")return 1;if(pe>1e5&&pe>oe.index*3)throw new Error("potential infinite loop, way more iterations than matches");return X+=ge,ge.length}const ve=M(D);if(!ve)throw kt(u.replace("{}",D)),new Error('Unknown language: "'+D+'"');const ye=Hh(ve);let Z="",Y=C||ye;const re={},ne=new a.__emitter(a);fe();let X="",he=0,ce=0,pe=0,Se=!1;try{if(ve.__emitTokens)ve.__emitTokens(F,ne);else{for(Y.matcher.considerAll();;){pe++,Se?Se=!1:Y.matcher.considerAll(),Y.matcher.lastIndex=ce;const ie=Y.matcher.exec(F);if(!ie)break;const oe=F.substring(ce,ie.index),ge=le(oe,ie);ce=ie.index+ge}le(F.substring(ce))}return ne.finalize(),Z=ne.toHTML(),{language:D,value:Z,relevance:he,illegal:!1,_emitter:ne,_top:Y}}catch(ie){if(ie.message&&ie.message.includes("Illegal"))return{language:D,value:bi(F),illegal:!0,relevance:0,_illegalBy:{message:ie.message,index:ce,context:F.slice(ce-100,ce+100),mode:ie.mode,resultSoFar:Z},_emitter:ne};if(i)return{language:D,value:bi(F),illegal:!1,relevance:0,errorRaised:ie,_emitter:ne,_top:Y};throw ie}}function s(D){const F={value:bi(D),illegal:!1,relevance:0,_top:o,_emitter:new a.__emitter(a)};return F._emitter.addText(D),F}function l(D,F){F=F||a.languages||Object.keys(r);const j=s(D),C=F.filter(M).filter(E).map(H=>f(H,D,!1));C.unshift(j);const k=C.sort((H,$)=>{if(H.relevance!==$.relevance)return $.relevance-H.relevance;if(H.language&&$.language){if(M(H.language).supersetOf===$.language)return 1;if(M($.language).supersetOf===H.language)return-1}return 0}),[I,U]=k,V=I;return V.secondBest=U,V}function b(D,F,j){const C=F&&t[F]||j;D.classList.add("hljs"),D.classList.add(`language-${C}`)}function g(D){let F=null;const j=h(D);if(c(j))return;if(P("before:highlightElement",{el:D,language:j}),D.children.length>0&&(a.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(D)),a.throwUnescapedHTML))throw new Vh("One of your code blocks includes unescaped HTML.",D.innerHTML);F=D;const C=F.textContent,k=j?p(C,{language:j,ignoreIllegals:!0}):l(C);D.innerHTML=k.value,b(D,j,k.language),D.result={language:k.language,re:k.relevance,relevance:k.relevance},k.secondBest&&(D.secondBest={language:k.secondBest.language,relevance:k.secondBest.relevance}),P("after:highlightElement",{el:D,result:k,text:C})}function m(D){a=Zo(a,D)}const v=()=>{d(),Ht("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function y(){d(),Ht("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let _=!1;function d(){if(document.readyState==="loading"){_=!0;return}document.querySelectorAll(a.cssSelector).forEach(g)}function O(){_&&d()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",O,!1);function N(D,F){let j=null;try{j=F(e)}catch(C){if(kt("Language definition for '{}' could not be registered.".replace("{}",D)),i)kt(C);else throw C;j=o}j.name||(j.name=D),r[D]=j,j.rawDefinition=F.bind(null,e),j.aliases&&A(j.aliases,{languageName:D})}function S(D){delete r[D];for(const F of Object.keys(t))t[F]===D&&delete t[F]}function R(){return Object.keys(r)}function M(D){return D=(D||"").toLowerCase(),r[D]||r[t[D]]}function A(D,{languageName:F}){typeof D=="string"&&(D=[D]),D.forEach(j=>{t[j.toLowerCase()]=F})}function E(D){const F=M(D);return F&&!F.disableAutodetect}function T(D){D["before:highlightBlock"]&&!D["before:highlightElement"]&&(D["before:highlightElement"]=F=>{D["before:highlightBlock"](Object.assign({block:F.el},F))}),D["after:highlightBlock"]&&!D["after:highlightElement"]&&(D["after:highlightElement"]=F=>{D["after:highlightBlock"](Object.assign({block:F.el},F))})}function x(D){T(D),n.push(D)}function L(D){const F=n.indexOf(D);F!==-1&&n.splice(F,1)}function P(D,F){const j=D;n.forEach(function(C){C[j]&&C[j](F)})}function q(D){return Ht("10.7.0","highlightBlock will be removed entirely in v12.0"),Ht("10.7.0","Please use highlightElement now."),g(D)}Object.assign(e,{highlight:p,highlightAuto:l,highlightAll:d,highlightElement:g,highlightBlock:q,configure:m,initHighlighting:v,initHighlightingOnLoad:y,registerLanguage:N,unregisterLanguage:S,listLanguages:R,getLanguage:M,registerAliases:A,autoDetection:E,inherit:Zo,addPlugin:x,removePlugin:L}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=Kh,e.regex={concat:Dt,lookahead:As,either:fo,optional:sh,anyNumberOfTimes:ah};for(const D in Jn)typeof Jn[D]=="object"&&Os(Jn[D]);return Object.assign(e,Jn),e},Jt=Ps({});Jt.newInstance=()=>Ps({});var Yh=Jt;Jt.HighlightJS=Jt;Jt.default=Jt;const nn=Yh,fr="[A-Za-z$_][0-9A-Za-z$_]*",Ds=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Cs=["true","false","null","undefined","NaN","Infinity"],Is=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Bs=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],qs=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],js=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],$s=[].concat(qs,Is,Bs);function Gh(e){const r=e.regex,t=(F,{after:j})=>{const C="",end:""},u=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(F,j)=>{const C=F[0].length+F.index,k=F.input[C];if(k==="<"||k===","){j.ignoreMatch();return}k===">"&&(t(F,{after:C})||j.ignoreMatch());let I;const U=F.input.substring(C);if(I=U.match(/^\s*=/)){j.ignoreMatch();return}if((I=U.match(/^\s+extends\s+/))&&I.index===0){j.ignoreMatch();return}}},a={$pattern:fr,keyword:Ds,literal:Cs,built_in:$s,"variable.language":js},c="[0-9](_?[0-9])*",h=`\\.(${c})`,p="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${p})((${h})|\\.)?|(${h}))[eE][+-]?(${c})\\b`},{begin:`\\b(${p})\\b((${h})\\b|\\.)?|(${h})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},s={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},l={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,s],subLanguage:"xml"}},b={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,s],subLanguage:"css"}},g={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,s],subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,s]},v=e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),y={className:"comment",variants:[v,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},_=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,b,g,m,{match:/\$\d+/},f];s.contains=_.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(_)});const d=[].concat(y,s.contains),O=d.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(d)}]),N={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:O},S={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,r.concat(n,"(",r.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},R={relevance:0,match:r.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Is,...Bs]}},M={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},A={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[N],illegal:/%/},E={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function T(F){return r.concat("(?!",F.join("|"),")")}const x={match:r.concat(/\b/,T([...qs,"super","import"]),n,r.lookahead(/\(/)),className:"title.function",relevance:0},L={begin:r.concat(/\./,r.lookahead(r.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},P={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},N]},q="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",D={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,r.lookahead(q)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[N]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:O,CLASS_REFERENCE:R},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),M,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,b,g,m,y,{match:/\$\d+/},f,R,{className:"attr",begin:n+r.lookahead(":"),relevance:0},D,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[y,e.REGEXP_MODE,{className:"function",begin:q,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:O}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:u},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},A,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[N,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},L,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[N]},x,E,S,P,{match:/\$[(.]/}]}}function Zh(e){const r=Gh(e),t=fr,n=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],i={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[r.exports.CLASS_REFERENCE]},u={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:n},contains:[r.exports.CLASS_REFERENCE]},o={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},a=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],c={$pattern:fr,keyword:Ds.concat(a),literal:Cs,built_in:$s.concat(n),"variable.language":js},h={className:"meta",begin:"@"+t},p=(s,l,b)=>{const g=s.contains.findIndex(m=>m.label===l);if(g===-1)throw new Error("can not find mode to replace");s.contains.splice(g,1,b)};Object.assign(r.keywords,c),r.exports.PARAMS_CONTAINS.push(h),r.contains=r.contains.concat([h,i,u]),p(r,"shebang",e.SHEBANG()),p(r,"use_strict",o);const f=r.contains.find(s=>s.label==="func.def");return f.relevance=0,Object.assign(r,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),r}const Jo="[A-Za-z$_][0-9A-Za-z$_]*",Xh=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Jh=["true","false","null","undefined","NaN","Infinity"],Us=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Fs=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Hs=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Qh=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],ep=[].concat(Hs,Us,Fs);function tp(e){const r=e.regex,t=(F,{after:j})=>{const C="",end:""},u=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(F,j)=>{const C=F[0].length+F.index,k=F.input[C];if(k==="<"||k===","){j.ignoreMatch();return}k===">"&&(t(F,{after:C})||j.ignoreMatch());let I;const U=F.input.substring(C);if(I=U.match(/^\s*=/)){j.ignoreMatch();return}if((I=U.match(/^\s+extends\s+/))&&I.index===0){j.ignoreMatch();return}}},a={$pattern:Jo,keyword:Xh,literal:Jh,built_in:ep,"variable.language":Qh},c="[0-9](_?[0-9])*",h=`\\.(${c})`,p="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${p})((${h})|\\.)?|(${h}))[eE][+-]?(${c})\\b`},{begin:`\\b(${p})\\b((${h})\\b|\\.)?|(${h})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},s={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},l={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,s],subLanguage:"xml"}},b={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,s],subLanguage:"css"}},g={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,s],subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,s]},v=e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),y={className:"comment",variants:[v,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},_=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,b,g,m,{match:/\$\d+/},f];s.contains=_.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(_)});const d=[].concat(y,s.contains),O=d.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(d)}]),N={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:O},S={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,r.concat(n,"(",r.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},R={relevance:0,match:r.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Us,...Fs]}},M={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},A={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[N],illegal:/%/},E={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function T(F){return r.concat("(?!",F.join("|"),")")}const x={match:r.concat(/\b/,T([...Hs,"super","import"]),n,r.lookahead(/\(/)),className:"title.function",relevance:0},L={begin:r.concat(/\./,r.lookahead(r.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},P={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},N]},q="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",D={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,r.lookahead(q)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[N]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:O,CLASS_REFERENCE:R},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),M,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,b,g,m,y,{match:/\$\d+/},f,R,{className:"attr",begin:n+r.lookahead(":"),relevance:0},D,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[y,e.REGEXP_MODE,{className:"function",begin:q,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:O}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:u},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},A,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[N,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},L,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[N]},x,E,S,P,{match:/\$[(.]/}]}}function np(e){const r={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},t={match:/[{}[\],:]/,className:"punctuation",relevance:0},n=["true","false","null"],i={scope:"literal",beginKeywords:n.join(" ")};return{name:"JSON",keywords:{literal:n},contains:[r,t,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}nn.registerLanguage("javascript",tp);nn.registerLanguage("json",np);nn.registerLanguage("typescript",Zh);nn.configure({ignoreUnescapedHTML:!0});const rp=Rt.import("blots/block");class Ln extends rp{static create(r){const t=super.create(r);if(r===!0)return t;const n=document.createElement("img");return n.setAttribute("src",r),t.appendChild(n),t}deleteAt(r,t){super.deleteAt(r,t),this.cache={}}static value(r){const{src:t,custom:n}=r.dataset;return{src:t,custom:n}}}Ln.blotName="imageBlot";Ln.className="image-uploading";Ln.tagName="span";Rt.register({"formats/imageBlot":Ln});class zs{constructor(r,t){this.quill=r,this.options=t,this.range=null,this.placeholderDelta=null,typeof this.options.upload!="function"&&console.warn("[Missing config] upload function that returns a promise is required");var n=this.quill.getModule("toolbar");n&&n.addHandler("image",this.selectLocalImage.bind(this)),this.handleDrop=this.handleDrop.bind(this),this.handlePaste=this.handlePaste.bind(this),this.quill.root.addEventListener("drop",this.handleDrop,!1),this.quill.root.addEventListener("paste",this.handlePaste,!1)}selectLocalImage(){this.quill.focus(),this.range=this.quill.getSelection(),this.fileHolder=document.createElement("input"),this.fileHolder.setAttribute("type","file"),this.fileHolder.setAttribute("accept","image/*"),this.fileHolder.setAttribute("style","visibility:hidden"),this.fileHolder.onchange=this.fileChanged.bind(this),document.body.appendChild(this.fileHolder),this.fileHolder.click(),window.requestAnimationFrame(()=>{document.body.removeChild(this.fileHolder)})}handleDrop(r){if(r.dataTransfer&&r.dataTransfer.files&&r.dataTransfer.files.length){if(r.stopPropagation(),r.preventDefault(),document.caretRangeFromPoint){const n=document.getSelection(),i=document.caretRangeFromPoint(r.clientX,r.clientY);n&&i&&n.setBaseAndExtent(i.startContainer,i.startOffset,i.startContainer,i.startOffset)}else{const n=document.getSelection(),i=document.caretPositionFromPoint(r.clientX,r.clientY);n&&i&&n.setBaseAndExtent(i.offsetNode,i.offset,i.offsetNode,i.offset)}this.quill.focus(),this.range=this.quill.getSelection();let t=r.dataTransfer.files[0];setTimeout(()=>{this.quill.focus(),this.range=this.quill.getSelection(),this.readAndUploadFile(t)},0)}}handlePaste(r){let t=r.clipboardData||window.clipboardData;if(t&&(t.items||t.files)){let n=t.items||t.files;const i=/^image\/(jpe?g|gif|png|svg|webp)$/i;for(let u=0;u{this.quill.focus(),this.range=this.quill.getSelection(),this.readAndUploadFile(o)},0))}}}readAndUploadFile(r){let t=!1;const n=new FileReader;n.addEventListener("load",()=>{if(!t){let i=n.result;this.insertBase64Image(i)}},!1),r&&n.readAsDataURL(r),this.options.upload(r).then(i=>{this.insertToEditor(i)},i=>{t=!0,this.removeBase64Image(),console.warn(i)})}fileChanged(){const r=this.fileHolder.files[0];this.readAndUploadFile(r)}insertBase64Image(r){const t=this.range;this.placeholderDelta=this.quill.insertEmbed(t.index,Ln.blotName,`${r}`,"user")}insertToEditor(r){const t=this.range,n=this.calculatePlaceholderInsertLength();this.quill.deleteText(t.index,n,"user"),this.quill.insertEmbed(t.index,"image",`${r}`,"user"),t.index++,this.quill.setSelection(t,"user")}calculatePlaceholderInsertLength(){return this.placeholderDelta.ops.reduce((r,t)=>(t.hasOwnProperty("insert")&&r++,r),0)}removeBase64Image(){const r=this.range,t=this.calculatePlaceholderInsertLength();this.quill.deleteText(r.index,t,"user")}}window.ImageUploader=zs;const ip={class:"globalEditor"},op={__name:"QuillEditor",props:{modelValue:{type:String,default:""}},emits:["update:modelValue"],setup(e,{expose:r,emit:t}){const n=e;Rt.imports["modules/ImageUploader"]||Rt.register("modules/ImageUploader",zs);const{apiGetUploadImageUrl:i}=$d,{usePushMessage:u}=ha,o=et(null),a=async(v,y,_)=>{await oo.put(v,y,{headers:{"Content-Type":_}})},c=(v,y)=>{u("danger",v,y)},h=v=>({"image/png":"png","image/jpeg":"jpeg"})[v],p=v=>new Promise((y,_)=>{const d=new FileReader;d.readAsArrayBuffer(v),d.onload=O=>{const{result:N}=O.target;y(N)},d.onerror=_}),b={modules:{ImageUploader:{upload(v){return new Promise((y,_)=>{const{type:d,size:O}=v;if(!h(d)){c("\u5716\u7247\u4E0A\u50B3\u5931\u6557","\u50C5\u9650\u4E0A\u50B3 png\u3001jpg \u8207 jpeg \u6A94\u6848\u683C\u5F0F"),_(new Error("\u50C5\u9650\u4E0A\u50B3 png\u3001jpg \u8207 jpeg \u6A94\u6848\u683C\u5F0F"));return}const N=1024*1024*3;if(O>=N){c("\u5716\u7247\u4E0A\u50B3\u5931\u6557","\u5716\u7247\u5927\u5C0F\u4E0D\u5F97\u8D85\u904E 3MB\u3002"),_(new Error("\u5716\u7247\u5927\u5C0F\u4E0D\u5F97\u8D85\u904E 3MB\u3002"));return}async function S(){try{const R=await p(v),{image_url:M,upload_url:A}=await i(h(d));await a(A,R,d),y(M)}catch(R){c(`${R.response.data.error}-${R.response.data.statusCode}`,R.response.data.message),_(new Error("\u5716\u7247\u4E0A\u50B3\u5931\u6557\u3002"))}}S()})}},syntax:{highlight(v){return nn.highlightAuto(v,["javascript","json","typescript"]).value}},toolbar:[[{header:[1,2,3,4,5,6,!1]}],["bold","italic","underline","strike"],["code","code-block"],[{list:"ordered"},{list:"bullet"}],["image","link"],["clean"]]},placeholder:"\u8ACB\u8F38\u5165\u5167\u5BB9...",theme:"snow"};return r({editorRef:o,setContent:v=>{o.value.setHTML(v)},clearContent:()=>{o.value.setHTML("")}}),(v,y)=>(ot(),it("div",ip,[Pi(dr(Es),{ref_key:"editorRef",ref:o,content:n.modelValue,"onUpdate:content":y[0]||(y[0]=_=>t("update:modelValue",_)),options:b,"content-type":"html"},null,8,["content"])]))}},qp=pr(op,[["__scopeId","data-v-e94b5ad2"]]);var Ks={exports:{}},_i={exports:{}};/*! + * Bootstrap backdrop.js v5.3.0 (https://getbootstrap.com/) + * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */var Qo;function ap(){return Qo||(Qo=1,function(e,r){(function(t,n){e.exports=n(Pt(),Bi(),st())})(be,function(t,n,i){const u="backdrop",o="fade",a="show",c=`mousedown.bs.${u}`,h={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},p={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class f extends n{constructor(l){super(),this._config=this._getConfig(l),this._isAppended=!1,this._element=null}static get Default(){return h}static get DefaultType(){return p}static get NAME(){return u}show(l){if(!this._config.isVisible){i.execute(l);return}this._append();const b=this._getElement();this._config.isAnimated&&i.reflow(b),b.classList.add(a),this._emulateAnimation(()=>{i.execute(l)})}hide(l){if(!this._config.isVisible){i.execute(l);return}this._getElement().classList.remove(a),this._emulateAnimation(()=>{this.dispose(),i.execute(l)})}dispose(){!this._isAppended||(t.off(this._element,c),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const l=document.createElement("div");l.className=this._config.className,this._config.isAnimated&&l.classList.add(o),this._element=l}return this._element}_configAfterMerge(l){return l.rootElement=i.getElement(l.rootElement),l}_append(){if(this._isAppended)return;const l=this._getElement();this._config.rootElement.append(l),t.on(l,c,()=>{i.execute(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(l){i.executeAfterTransition(l,this._getElement(),this._config.isAnimated)}}return f})}(_i)),_i.exports}var Qn={exports:{}};/*! + * Bootstrap component-functions.js v5.3.0 (https://getbootstrap.com/) + * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */var ea;function sp(){return ea||(ea=1,function(e,r){(function(t,n){n(r,Pt(),Qt(),st())})(be,function(t,n,i,u){const o=(a,c="hide")=>{const h=`click.dismiss${a.EVENT_KEY}`,p=a.NAME;n.on(document,h,`[data-bs-dismiss="${p}"]`,function(f){if(["A","AREA"].includes(this.tagName)&&f.preventDefault(),u.isDisabled(this))return;const s=i.getElementFromSelector(this)||this.closest(`.${p}`);a.getOrCreateInstance(s)[c]()})};t.enableDismissTrigger=o,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})})}(Qn,Qn.exports)),Qn.exports}var Ei={exports:{}};/*! + * Bootstrap focustrap.js v5.3.0 (https://getbootstrap.com/) + * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */var ta;function lp(){return ta||(ta=1,function(e,r){(function(t,n){e.exports=n(Pt(),Qt(),Bi())})(be,function(t,n,i){const u="focustrap",a=".bs.focustrap",c=`focusin${a}`,h=`keydown.tab${a}`,p="Tab",f="forward",s="backward",l={autofocus:!0,trapElement:null},b={autofocus:"boolean",trapElement:"element"};class g extends i{constructor(v){super(),this._config=this._getConfig(v),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return l}static get DefaultType(){return b}static get NAME(){return u}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),t.off(document,a),t.on(document,c,v=>this._handleFocusin(v)),t.on(document,h,v=>this._handleKeydown(v)),this._isActive=!0)}deactivate(){!this._isActive||(this._isActive=!1,t.off(document,a))}_handleFocusin(v){const{trapElement:y}=this._config;if(v.target===document||v.target===y||y.contains(v.target))return;const _=n.focusableChildren(y);_.length===0?y.focus():this._lastTabNavDirection===s?_[_.length-1].focus():_[0].focus()}_handleKeydown(v){v.key===p&&(this._lastTabNavDirection=v.shiftKey?s:f)}}return g})}(Ei)),Ei.exports}var Oi={exports:{}};/*! + * Bootstrap scrollbar.js v5.3.0 (https://getbootstrap.com/) + * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */var na;function up(){return na||(na=1,function(e,r){(function(t,n){e.exports=n(Ii(),Qt(),st())})(be,function(t,n,i){const u=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",o=".sticky-top",a="padding-right",c="margin-right";class h{constructor(){this._element=document.body}getWidth(){const f=document.documentElement.clientWidth;return Math.abs(window.innerWidth-f)}hide(){const f=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,a,s=>s+f),this._setElementAttributes(u,a,s=>s+f),this._setElementAttributes(o,c,s=>s-f)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,a),this._resetElementAttributes(u,a),this._resetElementAttributes(o,c)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(f,s,l){const b=this.getWidth(),g=m=>{if(m!==this._element&&window.innerWidth>m.clientWidth+b)return;this._saveInitialAttribute(m,s);const v=window.getComputedStyle(m).getPropertyValue(s);m.style.setProperty(s,`${l(Number.parseFloat(v))}px`)};this._applyManipulationCallback(f,g)}_saveInitialAttribute(f,s){const l=f.style.getPropertyValue(s);l&&t.setDataAttribute(f,s,l)}_resetElementAttributes(f,s){const l=b=>{const g=t.getDataAttribute(b,s);if(g===null){b.style.removeProperty(s);return}t.removeDataAttribute(b,s),b.style.setProperty(s,g)};this._applyManipulationCallback(f,l)}_applyManipulationCallback(f,s){if(i.isElement(f)){s(f);return}for(const l of n.find(f,this._element))s(l)}}return h})}(Oi)),Oi.exports}/*! + * Bootstrap modal.js v5.3.0 (https://getbootstrap.com/) + * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */(function(e,r){(function(t,n){e.exports=n(qi(),Pt(),Qt(),ap(),sp(),lp(),st(),up())})(be,function(t,n,i,u,o,a,c,h){const p="modal",s=".bs.modal",l=".data-api",b="Escape",g=`hide${s}`,m=`hidePrevented${s}`,v=`hidden${s}`,y=`show${s}`,_=`shown${s}`,d=`resize${s}`,O=`click.dismiss${s}`,N=`mousedown.dismiss${s}`,S=`keydown.dismiss${s}`,R=`click${s}${l}`,M="modal-open",A="fade",E="show",T="modal-static",x=".modal.show",L=".modal-dialog",P=".modal-body",q='[data-bs-toggle="modal"]',D={backdrop:!0,focus:!0,keyboard:!0},F={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class j extends t{constructor(k,I){super(k,I),this._dialog=i.findOne(L,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new h,this._addEventListeners()}static get Default(){return D}static get DefaultType(){return F}static get NAME(){return p}toggle(k){return this._isShown?this.hide():this.show(k)}show(k){this._isShown||this._isTransitioning||n.trigger(this._element,y,{relatedTarget:k}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(M),this._adjustDialog(),this._backdrop.show(()=>this._showElement(k)))}hide(){!this._isShown||this._isTransitioning||n.trigger(this._element,g).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(E),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){n.off(window,s),n.off(this._dialog,s),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new u({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new a({trapElement:this._element})}_showElement(k){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const I=i.findOne(P,this._dialog);I&&(I.scrollTop=0),c.reflow(this._element),this._element.classList.add(E);const U=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,n.trigger(this._element,_,{relatedTarget:k})};this._queueCallback(U,this._dialog,this._isAnimated())}_addEventListeners(){n.on(this._element,S,k=>{if(k.key===b){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),n.on(window,d,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),n.on(this._element,N,k=>{n.one(this._element,O,I=>{if(!(this._element!==k.target||this._element!==I.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(M),this._resetAdjustments(),this._scrollBar.reset(),n.trigger(this._element,v)})}_isAnimated(){return this._element.classList.contains(A)}_triggerBackdropTransition(){if(n.trigger(this._element,m).defaultPrevented)return;const I=this._element.scrollHeight>document.documentElement.clientHeight,U=this._element.style.overflowY;U==="hidden"||this._element.classList.contains(T)||(I||(this._element.style.overflowY="hidden"),this._element.classList.add(T),this._queueCallback(()=>{this._element.classList.remove(T),this._queueCallback(()=>{this._element.style.overflowY=U},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const k=this._element.scrollHeight>document.documentElement.clientHeight,I=this._scrollBar.getWidth(),U=I>0;if(U&&!k){const V=c.isRTL()?"paddingLeft":"paddingRight";this._element.style[V]=`${I}px`}if(!U&&k){const V=c.isRTL()?"paddingRight":"paddingLeft";this._element.style[V]=`${I}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(k,I){return this.each(function(){const U=j.getOrCreateInstance(this,k);if(typeof k=="string"){if(typeof U[k]>"u")throw new TypeError(`No method named "${k}"`);U[k](I)}})}}return n.on(document,R,q,function(C){const k=i.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&C.preventDefault(),n.one(k,y,V=>{V.defaultPrevented||n.one(k,v,()=>{c.isVisible(this)&&this.focus()})});const I=i.findOne(x);I&&j.getInstance(I).hide(),j.getOrCreateInstance(k).toggle(this)}),o.enableDismissTrigger(j),c.defineJQueryPlugin(j),j})})(Ks);const cp=Ks.exports;const fp={class:"modal-dialog"},dp={class:"modal-content"},hp=Te("div",{class:"modal-header"},[Te("h5",{id:"replyModalLabel",class:"modal-title"}," \u56DE\u8986\u7BC4\u672C "),Te("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"})],-1),pp={class:"modal-body reply"},vp=Te("h6",null,"\u9810\u8A2D\u7BC4\u672C(\u82B1\u62EC\u865F\u5C07\u6703\u81EA\u52D5\u5E36\u5165\u59D3\u540D)\uFF1A",-1),gp=Te("div",{class:"alert alert-dark",role:"alert"},[Te("p",{class:"m-0"}," Hi\uFF0C{{}}\uFF1A "),Te("p",null," \u4F60\u597D\uFF0C\u6211\u662F\u516D\u89D2\u5B78\u9662\u7684\u524D\u7AEF\u52A9\u6559 Ray :D "),Te("p",null," \u56DE\u8986\u5167\u5BB9... "),Te("p",{class:"m-0"}," \u5E0C\u671B\u4EE5\u4E0A\u8AAA\u660E\u5C0D\u4F60\u6709\u5E6B\u52A9\u54E9~ ")],-1),yp={class:"modal-footer"},mp=Te("button",{type:"button",class:"btn btn-secondary","data-bs-dismiss":"modal"}," \u95DC\u9589 ",-1),jp={__name:"ReplyTemplateModal",setup(e,{expose:r}){const t=et(null),n=et(null),i=et(null);hr(()=>{i.value=new cp(t.value)});const o=[[{header:[1,2,3,4,5,6,!1]}],["bold","italic","underline","strike"],["code","code-block"],[{list:"ordered"},{list:"bullet"}],["link"],["clean"]],a=et(""),c=et("defaultTemplate"),h=f=>{c.value=f,i.value.show();const s=JSON.parse(localStorage.getItem(f))||"";n.value.setHTML(s)},p=f=>{localStorage.setItem(f,JSON.stringify(a.value)),i.value.hide()};return r({getReplyTemplate:h}),(f,s)=>(ot(),it("div",{ref_key:"replyModal",ref:t,class:"modal fade",tabindex:"-1","aria-labelledby":"replyModalLabel","aria-hidden":"true"},[Te("div",fp,[Te("div",dp,[hp,Te("div",pp,[vp,gp,Pi(dr(Es),{ref_key:"replyEditorRef",ref:n,content:a.value,"onUpdate:content":s[0]||(s[0]=l=>a.value=l),theme:"snow","content-type":"html",toolbar:o,placeholder:"\u8ACB\u8F38\u5165\u5167\u5BB9..."},null,8,["content"])]),Te("div",yp,[mp,Te("button",{type:"button",class:"btn btn-primary",onClick:s[1]||(s[1]=l=>p(c.value))}," \u5132\u5B58\u7BC4\u672C ")])])])],512))}},bp="/assets/defaultAvatar.6a93cc93.png";const _p=["src"],Ep={__name:"AvatarViewer",props:{avatar:{type:String,default:""}},setup(e){const r=e;return(t,n)=>{const i=Di("viewer");return Ci((ot(),it("img",{src:r.avatar||dr(bp),alt:"\u4F7F\u7528\u8005\u982D\u50CF",class:"avatar rounded-circle",width:"60",height:"60",title:"\u9EDE\u6211\u653E\u5927\u982D\u50CF"},null,8,_p)),[[i]])}}},$p=pr(Ep,[["__scopeId","data-v-c1476b05"]]);const Op=["innerHTML"],wp={__name:"ContentHTML",props:{content:{type:String,default:""}},setup(e){const r=e;return hr(()=>{document.querySelectorAll(".content pre").forEach(t=>{nn.highlightElement(t)})}),(t,n)=>{const i=Di("viewer");return Ci((ot(),it("div",{class:"content ql-editor",innerHTML:r.content},null,8,Op)),[[i]])}}},Up=pr(wp,[["__scopeId","data-v-0a73ad4b"]]);const Ap=e=>(ca("data-v-a8af61e2"),e=e(),ua(),e),Tp={class:"position-absolute top-0 start-0 end-0 bottom-0 bg-custom z-1 m-0"},Sp={class:"center m-0 position-absolute h3 font-monospace text-custom-text-primary"},Np=Ap(()=>Te("i",{class:"bi bi-hand-index-thumb"},null,-1)),xp={__name:"DefaultData",props:{name:{type:String,required:!0,default:"\u554F\u984C"}},setup(e){const r=e;return(t,n)=>(ot(),it("div",Tp,[Te("p",Sp,[Np,oa(" \u8ACB\u9EDE\u64CA\u5217\u8868\u67E5\u770B\u300C"+Kt(r.name)+"\u300D\u8A73\u60C5\u5167\u5BB9 ",1)])]))}},Fp=pr(xp,[["__scopeId","data-v-a8af61e2"]]),Hp=(e,r)=>(e.scrollTop=0,Object.entries(r).map(n=>n.join("=")).join("&"));export{$p as A,cp as B,Up as C,Fp as D,qp as Q,Bp as _,Pp as a,jp as b,Cp as c,$d as d,kp as e,Lp as f,Mp as g,Hp as h,Ve as i,Ip as l,Dp as v}; diff --git a/assets/formatUrl.ff674655.css b/assets/formatUrl.ff674655.css new file mode 100644 index 0000000..73f0e8f --- /dev/null +++ b/assets/formatUrl.ff674655.css @@ -0,0 +1 @@ +.globalEditor[data-v-e94b5ad2] .ql-editor.ql-blank:before{color:var(--bs-body-color)}.globalEditor[data-v-e94b5ad2] .ql-editor{height:500px}.globalEditor[data-v-e94b5ad2] .ql-syntax{border-left:3px solid #2A8356;background-color:#23241f;color:#f8f8f2;overflow:visible;white-space:pre-wrap;padding:5px 10px}.globalEditor[data-v-e94b5ad2] .ql-snow .ql-editor code{background-color:transparent}.globalEditor[data-v-e94b5ad2] .ql-container{font-size:inherit!important}.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\2022"}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px;margin-left:1px;margin-right:1px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover{background-color:#f3f4f6}.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{background-color:#dbeafe;color:#2563eb}.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#2563eb}.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#2563eb}@media (pointer: coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#4b5563}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#4b5563}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#4b5563}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#4b5563;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#4b5563;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#4b5563}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#4b5563;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle;margin-right:1px;margin-left:1px}.ql-snow .ql-picker-label{cursor:pointer;display:flex;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding:5px 8px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#d1d5db;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#d1d5db}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#d1d5db}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:3px}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px;margin:2px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #d1d5db;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:#0003 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#d1d5db}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0px}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #d1d5db;box-shadow:0 0 5px #d1d5db;color:#4b5563;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #d1d5db;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #d1d5db;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0px;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#2563eb}.ql-container.ql-snow{border:1px solid #d1d5db}.reply .ql-editor{height:150px}img.avatar[data-v-c1476b05]{cursor:pointer;height:60px;width:60px}.ql-editor[data-v-0a73ad4b]{padding:0}.content[data-v-0a73ad4b] img{cursor:pointer}.content[data-v-0a73ad4b] p{margin-bottom:0}.content[data-v-0a73ad4b] pre{border-left:3px solid #2A8356;background-color:#23241f;color:#f8f8f2;overflow:visible;white-space:pre-wrap;padding:5px 10px}.center[data-v-a8af61e2]{top:50%;left:50%;transform:translate(-50%,-50%)}.text-custom-text-primary[data-v-a8af61e2]{--bs-text-opacity: 1;color:rgba(var(--bs-white),var(--bs-white))}.bg-custom[data-v-a8af61e2]{--bs-bg-opacity: .75;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))} diff --git a/assets/index.97e79048.css b/assets/index.97e79048.css new file mode 100644 index 0000000..18b2f23 --- /dev/null +++ b/assets/index.97e79048.css @@ -0,0 +1,17 @@ +@charset "UTF-8";/*! + * Bootstrap Icons v1.10.5 (https://icons.getbootstrap.com/) + * Copyright 2019-2023 The Bootstrap Authors + * Licensed under MIT (https://github.com/twbs/icons/blob/main/LICENSE) + */@font-face{font-display:block;font-family:bootstrap-icons;src:url(/assets/bootstrap-icons.cfe45b98.woff2?1fa40e8900654d2863d011707b9fb6f2) format("woff2"),url(/assets/bootstrap-icons.999550fa.woff?1fa40e8900654d2863d011707b9fb6f2) format("woff")}.bi:before,[class*=" bi-"]:before,[class^=bi-]:before{display:inline-block;font-family:bootstrap-icons!important;font-style:normal;font-weight:400!important;font-variant:normal;text-transform:none;line-height:1;vertical-align:-.125em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bi-123:before{content:"\f67f"}.bi-alarm-fill:before{content:"\f101"}.bi-alarm:before{content:"\f102"}.bi-align-bottom:before{content:"\f103"}.bi-align-center:before{content:"\f104"}.bi-align-end:before{content:"\f105"}.bi-align-middle:before{content:"\f106"}.bi-align-start:before{content:"\f107"}.bi-align-top:before{content:"\f108"}.bi-alt:before{content:"\f109"}.bi-app-indicator:before{content:"\f10a"}.bi-app:before{content:"\f10b"}.bi-archive-fill:before{content:"\f10c"}.bi-archive:before{content:"\f10d"}.bi-arrow-90deg-down:before{content:"\f10e"}.bi-arrow-90deg-left:before{content:"\f10f"}.bi-arrow-90deg-right:before{content:"\f110"}.bi-arrow-90deg-up:before{content:"\f111"}.bi-arrow-bar-down:before{content:"\f112"}.bi-arrow-bar-left:before{content:"\f113"}.bi-arrow-bar-right:before{content:"\f114"}.bi-arrow-bar-up:before{content:"\f115"}.bi-arrow-clockwise:before{content:"\f116"}.bi-arrow-counterclockwise:before{content:"\f117"}.bi-arrow-down-circle-fill:before{content:"\f118"}.bi-arrow-down-circle:before{content:"\f119"}.bi-arrow-down-left-circle-fill:before{content:"\f11a"}.bi-arrow-down-left-circle:before{content:"\f11b"}.bi-arrow-down-left-square-fill:before{content:"\f11c"}.bi-arrow-down-left-square:before{content:"\f11d"}.bi-arrow-down-left:before{content:"\f11e"}.bi-arrow-down-right-circle-fill:before{content:"\f11f"}.bi-arrow-down-right-circle:before{content:"\f120"}.bi-arrow-down-right-square-fill:before{content:"\f121"}.bi-arrow-down-right-square:before{content:"\f122"}.bi-arrow-down-right:before{content:"\f123"}.bi-arrow-down-short:before{content:"\f124"}.bi-arrow-down-square-fill:before{content:"\f125"}.bi-arrow-down-square:before{content:"\f126"}.bi-arrow-down-up:before{content:"\f127"}.bi-arrow-down:before{content:"\f128"}.bi-arrow-left-circle-fill:before{content:"\f129"}.bi-arrow-left-circle:before{content:"\f12a"}.bi-arrow-left-right:before{content:"\f12b"}.bi-arrow-left-short:before{content:"\f12c"}.bi-arrow-left-square-fill:before{content:"\f12d"}.bi-arrow-left-square:before{content:"\f12e"}.bi-arrow-left:before{content:"\f12f"}.bi-arrow-repeat:before{content:"\f130"}.bi-arrow-return-left:before{content:"\f131"}.bi-arrow-return-right:before{content:"\f132"}.bi-arrow-right-circle-fill:before{content:"\f133"}.bi-arrow-right-circle:before{content:"\f134"}.bi-arrow-right-short:before{content:"\f135"}.bi-arrow-right-square-fill:before{content:"\f136"}.bi-arrow-right-square:before{content:"\f137"}.bi-arrow-right:before{content:"\f138"}.bi-arrow-up-circle-fill:before{content:"\f139"}.bi-arrow-up-circle:before{content:"\f13a"}.bi-arrow-up-left-circle-fill:before{content:"\f13b"}.bi-arrow-up-left-circle:before{content:"\f13c"}.bi-arrow-up-left-square-fill:before{content:"\f13d"}.bi-arrow-up-left-square:before{content:"\f13e"}.bi-arrow-up-left:before{content:"\f13f"}.bi-arrow-up-right-circle-fill:before{content:"\f140"}.bi-arrow-up-right-circle:before{content:"\f141"}.bi-arrow-up-right-square-fill:before{content:"\f142"}.bi-arrow-up-right-square:before{content:"\f143"}.bi-arrow-up-right:before{content:"\f144"}.bi-arrow-up-short:before{content:"\f145"}.bi-arrow-up-square-fill:before{content:"\f146"}.bi-arrow-up-square:before{content:"\f147"}.bi-arrow-up:before{content:"\f148"}.bi-arrows-angle-contract:before{content:"\f149"}.bi-arrows-angle-expand:before{content:"\f14a"}.bi-arrows-collapse:before{content:"\f14b"}.bi-arrows-expand:before{content:"\f14c"}.bi-arrows-fullscreen:before{content:"\f14d"}.bi-arrows-move:before{content:"\f14e"}.bi-aspect-ratio-fill:before{content:"\f14f"}.bi-aspect-ratio:before{content:"\f150"}.bi-asterisk:before{content:"\f151"}.bi-at:before{content:"\f152"}.bi-award-fill:before{content:"\f153"}.bi-award:before{content:"\f154"}.bi-back:before{content:"\f155"}.bi-backspace-fill:before{content:"\f156"}.bi-backspace-reverse-fill:before{content:"\f157"}.bi-backspace-reverse:before{content:"\f158"}.bi-backspace:before{content:"\f159"}.bi-badge-3d-fill:before{content:"\f15a"}.bi-badge-3d:before{content:"\f15b"}.bi-badge-4k-fill:before{content:"\f15c"}.bi-badge-4k:before{content:"\f15d"}.bi-badge-8k-fill:before{content:"\f15e"}.bi-badge-8k:before{content:"\f15f"}.bi-badge-ad-fill:before{content:"\f160"}.bi-badge-ad:before{content:"\f161"}.bi-badge-ar-fill:before{content:"\f162"}.bi-badge-ar:before{content:"\f163"}.bi-badge-cc-fill:before{content:"\f164"}.bi-badge-cc:before{content:"\f165"}.bi-badge-hd-fill:before{content:"\f166"}.bi-badge-hd:before{content:"\f167"}.bi-badge-tm-fill:before{content:"\f168"}.bi-badge-tm:before{content:"\f169"}.bi-badge-vo-fill:before{content:"\f16a"}.bi-badge-vo:before{content:"\f16b"}.bi-badge-vr-fill:before{content:"\f16c"}.bi-badge-vr:before{content:"\f16d"}.bi-badge-wc-fill:before{content:"\f16e"}.bi-badge-wc:before{content:"\f16f"}.bi-bag-check-fill:before{content:"\f170"}.bi-bag-check:before{content:"\f171"}.bi-bag-dash-fill:before{content:"\f172"}.bi-bag-dash:before{content:"\f173"}.bi-bag-fill:before{content:"\f174"}.bi-bag-plus-fill:before{content:"\f175"}.bi-bag-plus:before{content:"\f176"}.bi-bag-x-fill:before{content:"\f177"}.bi-bag-x:before{content:"\f178"}.bi-bag:before{content:"\f179"}.bi-bar-chart-fill:before{content:"\f17a"}.bi-bar-chart-line-fill:before{content:"\f17b"}.bi-bar-chart-line:before{content:"\f17c"}.bi-bar-chart-steps:before{content:"\f17d"}.bi-bar-chart:before{content:"\f17e"}.bi-basket-fill:before{content:"\f17f"}.bi-basket:before{content:"\f180"}.bi-basket2-fill:before{content:"\f181"}.bi-basket2:before{content:"\f182"}.bi-basket3-fill:before{content:"\f183"}.bi-basket3:before{content:"\f184"}.bi-battery-charging:before{content:"\f185"}.bi-battery-full:before{content:"\f186"}.bi-battery-half:before{content:"\f187"}.bi-battery:before{content:"\f188"}.bi-bell-fill:before{content:"\f189"}.bi-bell:before{content:"\f18a"}.bi-bezier:before{content:"\f18b"}.bi-bezier2:before{content:"\f18c"}.bi-bicycle:before{content:"\f18d"}.bi-binoculars-fill:before{content:"\f18e"}.bi-binoculars:before{content:"\f18f"}.bi-blockquote-left:before{content:"\f190"}.bi-blockquote-right:before{content:"\f191"}.bi-book-fill:before{content:"\f192"}.bi-book-half:before{content:"\f193"}.bi-book:before{content:"\f194"}.bi-bookmark-check-fill:before{content:"\f195"}.bi-bookmark-check:before{content:"\f196"}.bi-bookmark-dash-fill:before{content:"\f197"}.bi-bookmark-dash:before{content:"\f198"}.bi-bookmark-fill:before{content:"\f199"}.bi-bookmark-heart-fill:before{content:"\f19a"}.bi-bookmark-heart:before{content:"\f19b"}.bi-bookmark-plus-fill:before{content:"\f19c"}.bi-bookmark-plus:before{content:"\f19d"}.bi-bookmark-star-fill:before{content:"\f19e"}.bi-bookmark-star:before{content:"\f19f"}.bi-bookmark-x-fill:before{content:"\f1a0"}.bi-bookmark-x:before{content:"\f1a1"}.bi-bookmark:before{content:"\f1a2"}.bi-bookmarks-fill:before{content:"\f1a3"}.bi-bookmarks:before{content:"\f1a4"}.bi-bookshelf:before{content:"\f1a5"}.bi-bootstrap-fill:before{content:"\f1a6"}.bi-bootstrap-reboot:before{content:"\f1a7"}.bi-bootstrap:before{content:"\f1a8"}.bi-border-all:before{content:"\f1a9"}.bi-border-bottom:before{content:"\f1aa"}.bi-border-center:before{content:"\f1ab"}.bi-border-inner:before{content:"\f1ac"}.bi-border-left:before{content:"\f1ad"}.bi-border-middle:before{content:"\f1ae"}.bi-border-outer:before{content:"\f1af"}.bi-border-right:before{content:"\f1b0"}.bi-border-style:before{content:"\f1b1"}.bi-border-top:before{content:"\f1b2"}.bi-border-width:before{content:"\f1b3"}.bi-border:before{content:"\f1b4"}.bi-bounding-box-circles:before{content:"\f1b5"}.bi-bounding-box:before{content:"\f1b6"}.bi-box-arrow-down-left:before{content:"\f1b7"}.bi-box-arrow-down-right:before{content:"\f1b8"}.bi-box-arrow-down:before{content:"\f1b9"}.bi-box-arrow-in-down-left:before{content:"\f1ba"}.bi-box-arrow-in-down-right:before{content:"\f1bb"}.bi-box-arrow-in-down:before{content:"\f1bc"}.bi-box-arrow-in-left:before{content:"\f1bd"}.bi-box-arrow-in-right:before{content:"\f1be"}.bi-box-arrow-in-up-left:before{content:"\f1bf"}.bi-box-arrow-in-up-right:before{content:"\f1c0"}.bi-box-arrow-in-up:before{content:"\f1c1"}.bi-box-arrow-left:before{content:"\f1c2"}.bi-box-arrow-right:before{content:"\f1c3"}.bi-box-arrow-up-left:before{content:"\f1c4"}.bi-box-arrow-up-right:before{content:"\f1c5"}.bi-box-arrow-up:before{content:"\f1c6"}.bi-box-seam:before{content:"\f1c7"}.bi-box:before{content:"\f1c8"}.bi-braces:before{content:"\f1c9"}.bi-bricks:before{content:"\f1ca"}.bi-briefcase-fill:before{content:"\f1cb"}.bi-briefcase:before{content:"\f1cc"}.bi-brightness-alt-high-fill:before{content:"\f1cd"}.bi-brightness-alt-high:before{content:"\f1ce"}.bi-brightness-alt-low-fill:before{content:"\f1cf"}.bi-brightness-alt-low:before{content:"\f1d0"}.bi-brightness-high-fill:before{content:"\f1d1"}.bi-brightness-high:before{content:"\f1d2"}.bi-brightness-low-fill:before{content:"\f1d3"}.bi-brightness-low:before{content:"\f1d4"}.bi-broadcast-pin:before{content:"\f1d5"}.bi-broadcast:before{content:"\f1d6"}.bi-brush-fill:before{content:"\f1d7"}.bi-brush:before{content:"\f1d8"}.bi-bucket-fill:before{content:"\f1d9"}.bi-bucket:before{content:"\f1da"}.bi-bug-fill:before{content:"\f1db"}.bi-bug:before{content:"\f1dc"}.bi-building:before{content:"\f1dd"}.bi-bullseye:before{content:"\f1de"}.bi-calculator-fill:before{content:"\f1df"}.bi-calculator:before{content:"\f1e0"}.bi-calendar-check-fill:before{content:"\f1e1"}.bi-calendar-check:before{content:"\f1e2"}.bi-calendar-date-fill:before{content:"\f1e3"}.bi-calendar-date:before{content:"\f1e4"}.bi-calendar-day-fill:before{content:"\f1e5"}.bi-calendar-day:before{content:"\f1e6"}.bi-calendar-event-fill:before{content:"\f1e7"}.bi-calendar-event:before{content:"\f1e8"}.bi-calendar-fill:before{content:"\f1e9"}.bi-calendar-minus-fill:before{content:"\f1ea"}.bi-calendar-minus:before{content:"\f1eb"}.bi-calendar-month-fill:before{content:"\f1ec"}.bi-calendar-month:before{content:"\f1ed"}.bi-calendar-plus-fill:before{content:"\f1ee"}.bi-calendar-plus:before{content:"\f1ef"}.bi-calendar-range-fill:before{content:"\f1f0"}.bi-calendar-range:before{content:"\f1f1"}.bi-calendar-week-fill:before{content:"\f1f2"}.bi-calendar-week:before{content:"\f1f3"}.bi-calendar-x-fill:before{content:"\f1f4"}.bi-calendar-x:before{content:"\f1f5"}.bi-calendar:before{content:"\f1f6"}.bi-calendar2-check-fill:before{content:"\f1f7"}.bi-calendar2-check:before{content:"\f1f8"}.bi-calendar2-date-fill:before{content:"\f1f9"}.bi-calendar2-date:before{content:"\f1fa"}.bi-calendar2-day-fill:before{content:"\f1fb"}.bi-calendar2-day:before{content:"\f1fc"}.bi-calendar2-event-fill:before{content:"\f1fd"}.bi-calendar2-event:before{content:"\f1fe"}.bi-calendar2-fill:before{content:"\f1ff"}.bi-calendar2-minus-fill:before{content:"\f200"}.bi-calendar2-minus:before{content:"\f201"}.bi-calendar2-month-fill:before{content:"\f202"}.bi-calendar2-month:before{content:"\f203"}.bi-calendar2-plus-fill:before{content:"\f204"}.bi-calendar2-plus:before{content:"\f205"}.bi-calendar2-range-fill:before{content:"\f206"}.bi-calendar2-range:before{content:"\f207"}.bi-calendar2-week-fill:before{content:"\f208"}.bi-calendar2-week:before{content:"\f209"}.bi-calendar2-x-fill:before{content:"\f20a"}.bi-calendar2-x:before{content:"\f20b"}.bi-calendar2:before{content:"\f20c"}.bi-calendar3-event-fill:before{content:"\f20d"}.bi-calendar3-event:before{content:"\f20e"}.bi-calendar3-fill:before{content:"\f20f"}.bi-calendar3-range-fill:before{content:"\f210"}.bi-calendar3-range:before{content:"\f211"}.bi-calendar3-week-fill:before{content:"\f212"}.bi-calendar3-week:before{content:"\f213"}.bi-calendar3:before{content:"\f214"}.bi-calendar4-event:before{content:"\f215"}.bi-calendar4-range:before{content:"\f216"}.bi-calendar4-week:before{content:"\f217"}.bi-calendar4:before{content:"\f218"}.bi-camera-fill:before{content:"\f219"}.bi-camera-reels-fill:before{content:"\f21a"}.bi-camera-reels:before{content:"\f21b"}.bi-camera-video-fill:before{content:"\f21c"}.bi-camera-video-off-fill:before{content:"\f21d"}.bi-camera-video-off:before{content:"\f21e"}.bi-camera-video:before{content:"\f21f"}.bi-camera:before{content:"\f220"}.bi-camera2:before{content:"\f221"}.bi-capslock-fill:before{content:"\f222"}.bi-capslock:before{content:"\f223"}.bi-card-checklist:before{content:"\f224"}.bi-card-heading:before{content:"\f225"}.bi-card-image:before{content:"\f226"}.bi-card-list:before{content:"\f227"}.bi-card-text:before{content:"\f228"}.bi-caret-down-fill:before{content:"\f229"}.bi-caret-down-square-fill:before{content:"\f22a"}.bi-caret-down-square:before{content:"\f22b"}.bi-caret-down:before{content:"\f22c"}.bi-caret-left-fill:before{content:"\f22d"}.bi-caret-left-square-fill:before{content:"\f22e"}.bi-caret-left-square:before{content:"\f22f"}.bi-caret-left:before{content:"\f230"}.bi-caret-right-fill:before{content:"\f231"}.bi-caret-right-square-fill:before{content:"\f232"}.bi-caret-right-square:before{content:"\f233"}.bi-caret-right:before{content:"\f234"}.bi-caret-up-fill:before{content:"\f235"}.bi-caret-up-square-fill:before{content:"\f236"}.bi-caret-up-square:before{content:"\f237"}.bi-caret-up:before{content:"\f238"}.bi-cart-check-fill:before{content:"\f239"}.bi-cart-check:before{content:"\f23a"}.bi-cart-dash-fill:before{content:"\f23b"}.bi-cart-dash:before{content:"\f23c"}.bi-cart-fill:before{content:"\f23d"}.bi-cart-plus-fill:before{content:"\f23e"}.bi-cart-plus:before{content:"\f23f"}.bi-cart-x-fill:before{content:"\f240"}.bi-cart-x:before{content:"\f241"}.bi-cart:before{content:"\f242"}.bi-cart2:before{content:"\f243"}.bi-cart3:before{content:"\f244"}.bi-cart4:before{content:"\f245"}.bi-cash-stack:before{content:"\f246"}.bi-cash:before{content:"\f247"}.bi-cast:before{content:"\f248"}.bi-chat-dots-fill:before{content:"\f249"}.bi-chat-dots:before{content:"\f24a"}.bi-chat-fill:before{content:"\f24b"}.bi-chat-left-dots-fill:before{content:"\f24c"}.bi-chat-left-dots:before{content:"\f24d"}.bi-chat-left-fill:before{content:"\f24e"}.bi-chat-left-quote-fill:before{content:"\f24f"}.bi-chat-left-quote:before{content:"\f250"}.bi-chat-left-text-fill:before{content:"\f251"}.bi-chat-left-text:before{content:"\f252"}.bi-chat-left:before{content:"\f253"}.bi-chat-quote-fill:before{content:"\f254"}.bi-chat-quote:before{content:"\f255"}.bi-chat-right-dots-fill:before{content:"\f256"}.bi-chat-right-dots:before{content:"\f257"}.bi-chat-right-fill:before{content:"\f258"}.bi-chat-right-quote-fill:before{content:"\f259"}.bi-chat-right-quote:before{content:"\f25a"}.bi-chat-right-text-fill:before{content:"\f25b"}.bi-chat-right-text:before{content:"\f25c"}.bi-chat-right:before{content:"\f25d"}.bi-chat-square-dots-fill:before{content:"\f25e"}.bi-chat-square-dots:before{content:"\f25f"}.bi-chat-square-fill:before{content:"\f260"}.bi-chat-square-quote-fill:before{content:"\f261"}.bi-chat-square-quote:before{content:"\f262"}.bi-chat-square-text-fill:before{content:"\f263"}.bi-chat-square-text:before{content:"\f264"}.bi-chat-square:before{content:"\f265"}.bi-chat-text-fill:before{content:"\f266"}.bi-chat-text:before{content:"\f267"}.bi-chat:before{content:"\f268"}.bi-check-all:before{content:"\f269"}.bi-check-circle-fill:before{content:"\f26a"}.bi-check-circle:before{content:"\f26b"}.bi-check-square-fill:before{content:"\f26c"}.bi-check-square:before{content:"\f26d"}.bi-check:before{content:"\f26e"}.bi-check2-all:before{content:"\f26f"}.bi-check2-circle:before{content:"\f270"}.bi-check2-square:before{content:"\f271"}.bi-check2:before{content:"\f272"}.bi-chevron-bar-contract:before{content:"\f273"}.bi-chevron-bar-down:before{content:"\f274"}.bi-chevron-bar-expand:before{content:"\f275"}.bi-chevron-bar-left:before{content:"\f276"}.bi-chevron-bar-right:before{content:"\f277"}.bi-chevron-bar-up:before{content:"\f278"}.bi-chevron-compact-down:before{content:"\f279"}.bi-chevron-compact-left:before{content:"\f27a"}.bi-chevron-compact-right:before{content:"\f27b"}.bi-chevron-compact-up:before{content:"\f27c"}.bi-chevron-contract:before{content:"\f27d"}.bi-chevron-double-down:before{content:"\f27e"}.bi-chevron-double-left:before{content:"\f27f"}.bi-chevron-double-right:before{content:"\f280"}.bi-chevron-double-up:before{content:"\f281"}.bi-chevron-down:before{content:"\f282"}.bi-chevron-expand:before{content:"\f283"}.bi-chevron-left:before{content:"\f284"}.bi-chevron-right:before{content:"\f285"}.bi-chevron-up:before{content:"\f286"}.bi-circle-fill:before{content:"\f287"}.bi-circle-half:before{content:"\f288"}.bi-circle-square:before{content:"\f289"}.bi-circle:before{content:"\f28a"}.bi-clipboard-check:before{content:"\f28b"}.bi-clipboard-data:before{content:"\f28c"}.bi-clipboard-minus:before{content:"\f28d"}.bi-clipboard-plus:before{content:"\f28e"}.bi-clipboard-x:before{content:"\f28f"}.bi-clipboard:before{content:"\f290"}.bi-clock-fill:before{content:"\f291"}.bi-clock-history:before{content:"\f292"}.bi-clock:before{content:"\f293"}.bi-cloud-arrow-down-fill:before{content:"\f294"}.bi-cloud-arrow-down:before{content:"\f295"}.bi-cloud-arrow-up-fill:before{content:"\f296"}.bi-cloud-arrow-up:before{content:"\f297"}.bi-cloud-check-fill:before{content:"\f298"}.bi-cloud-check:before{content:"\f299"}.bi-cloud-download-fill:before{content:"\f29a"}.bi-cloud-download:before{content:"\f29b"}.bi-cloud-drizzle-fill:before{content:"\f29c"}.bi-cloud-drizzle:before{content:"\f29d"}.bi-cloud-fill:before{content:"\f29e"}.bi-cloud-fog-fill:before{content:"\f29f"}.bi-cloud-fog:before{content:"\f2a0"}.bi-cloud-fog2-fill:before{content:"\f2a1"}.bi-cloud-fog2:before{content:"\f2a2"}.bi-cloud-hail-fill:before{content:"\f2a3"}.bi-cloud-hail:before{content:"\f2a4"}.bi-cloud-haze-fill:before{content:"\f2a6"}.bi-cloud-haze:before{content:"\f2a7"}.bi-cloud-haze2-fill:before{content:"\f2a8"}.bi-cloud-lightning-fill:before{content:"\f2a9"}.bi-cloud-lightning-rain-fill:before{content:"\f2aa"}.bi-cloud-lightning-rain:before{content:"\f2ab"}.bi-cloud-lightning:before{content:"\f2ac"}.bi-cloud-minus-fill:before{content:"\f2ad"}.bi-cloud-minus:before{content:"\f2ae"}.bi-cloud-moon-fill:before{content:"\f2af"}.bi-cloud-moon:before{content:"\f2b0"}.bi-cloud-plus-fill:before{content:"\f2b1"}.bi-cloud-plus:before{content:"\f2b2"}.bi-cloud-rain-fill:before{content:"\f2b3"}.bi-cloud-rain-heavy-fill:before{content:"\f2b4"}.bi-cloud-rain-heavy:before{content:"\f2b5"}.bi-cloud-rain:before{content:"\f2b6"}.bi-cloud-slash-fill:before{content:"\f2b7"}.bi-cloud-slash:before{content:"\f2b8"}.bi-cloud-sleet-fill:before{content:"\f2b9"}.bi-cloud-sleet:before{content:"\f2ba"}.bi-cloud-snow-fill:before{content:"\f2bb"}.bi-cloud-snow:before{content:"\f2bc"}.bi-cloud-sun-fill:before{content:"\f2bd"}.bi-cloud-sun:before{content:"\f2be"}.bi-cloud-upload-fill:before{content:"\f2bf"}.bi-cloud-upload:before{content:"\f2c0"}.bi-cloud:before{content:"\f2c1"}.bi-clouds-fill:before{content:"\f2c2"}.bi-clouds:before{content:"\f2c3"}.bi-cloudy-fill:before{content:"\f2c4"}.bi-cloudy:before{content:"\f2c5"}.bi-code-slash:before{content:"\f2c6"}.bi-code-square:before{content:"\f2c7"}.bi-code:before{content:"\f2c8"}.bi-collection-fill:before{content:"\f2c9"}.bi-collection-play-fill:before{content:"\f2ca"}.bi-collection-play:before{content:"\f2cb"}.bi-collection:before{content:"\f2cc"}.bi-columns-gap:before{content:"\f2cd"}.bi-columns:before{content:"\f2ce"}.bi-command:before{content:"\f2cf"}.bi-compass-fill:before{content:"\f2d0"}.bi-compass:before{content:"\f2d1"}.bi-cone-striped:before{content:"\f2d2"}.bi-cone:before{content:"\f2d3"}.bi-controller:before{content:"\f2d4"}.bi-cpu-fill:before{content:"\f2d5"}.bi-cpu:before{content:"\f2d6"}.bi-credit-card-2-back-fill:before{content:"\f2d7"}.bi-credit-card-2-back:before{content:"\f2d8"}.bi-credit-card-2-front-fill:before{content:"\f2d9"}.bi-credit-card-2-front:before{content:"\f2da"}.bi-credit-card-fill:before{content:"\f2db"}.bi-credit-card:before{content:"\f2dc"}.bi-crop:before{content:"\f2dd"}.bi-cup-fill:before{content:"\f2de"}.bi-cup-straw:before{content:"\f2df"}.bi-cup:before{content:"\f2e0"}.bi-cursor-fill:before{content:"\f2e1"}.bi-cursor-text:before{content:"\f2e2"}.bi-cursor:before{content:"\f2e3"}.bi-dash-circle-dotted:before{content:"\f2e4"}.bi-dash-circle-fill:before{content:"\f2e5"}.bi-dash-circle:before{content:"\f2e6"}.bi-dash-square-dotted:before{content:"\f2e7"}.bi-dash-square-fill:before{content:"\f2e8"}.bi-dash-square:before{content:"\f2e9"}.bi-dash:before{content:"\f2ea"}.bi-diagram-2-fill:before{content:"\f2eb"}.bi-diagram-2:before{content:"\f2ec"}.bi-diagram-3-fill:before{content:"\f2ed"}.bi-diagram-3:before{content:"\f2ee"}.bi-diamond-fill:before{content:"\f2ef"}.bi-diamond-half:before{content:"\f2f0"}.bi-diamond:before{content:"\f2f1"}.bi-dice-1-fill:before{content:"\f2f2"}.bi-dice-1:before{content:"\f2f3"}.bi-dice-2-fill:before{content:"\f2f4"}.bi-dice-2:before{content:"\f2f5"}.bi-dice-3-fill:before{content:"\f2f6"}.bi-dice-3:before{content:"\f2f7"}.bi-dice-4-fill:before{content:"\f2f8"}.bi-dice-4:before{content:"\f2f9"}.bi-dice-5-fill:before{content:"\f2fa"}.bi-dice-5:before{content:"\f2fb"}.bi-dice-6-fill:before{content:"\f2fc"}.bi-dice-6:before{content:"\f2fd"}.bi-disc-fill:before{content:"\f2fe"}.bi-disc:before{content:"\f2ff"}.bi-discord:before{content:"\f300"}.bi-display-fill:before{content:"\f301"}.bi-display:before{content:"\f302"}.bi-distribute-horizontal:before{content:"\f303"}.bi-distribute-vertical:before{content:"\f304"}.bi-door-closed-fill:before{content:"\f305"}.bi-door-closed:before{content:"\f306"}.bi-door-open-fill:before{content:"\f307"}.bi-door-open:before{content:"\f308"}.bi-dot:before{content:"\f309"}.bi-download:before{content:"\f30a"}.bi-droplet-fill:before{content:"\f30b"}.bi-droplet-half:before{content:"\f30c"}.bi-droplet:before{content:"\f30d"}.bi-earbuds:before{content:"\f30e"}.bi-easel-fill:before{content:"\f30f"}.bi-easel:before{content:"\f310"}.bi-egg-fill:before{content:"\f311"}.bi-egg-fried:before{content:"\f312"}.bi-egg:before{content:"\f313"}.bi-eject-fill:before{content:"\f314"}.bi-eject:before{content:"\f315"}.bi-emoji-angry-fill:before{content:"\f316"}.bi-emoji-angry:before{content:"\f317"}.bi-emoji-dizzy-fill:before{content:"\f318"}.bi-emoji-dizzy:before{content:"\f319"}.bi-emoji-expressionless-fill:before{content:"\f31a"}.bi-emoji-expressionless:before{content:"\f31b"}.bi-emoji-frown-fill:before{content:"\f31c"}.bi-emoji-frown:before{content:"\f31d"}.bi-emoji-heart-eyes-fill:before{content:"\f31e"}.bi-emoji-heart-eyes:before{content:"\f31f"}.bi-emoji-laughing-fill:before{content:"\f320"}.bi-emoji-laughing:before{content:"\f321"}.bi-emoji-neutral-fill:before{content:"\f322"}.bi-emoji-neutral:before{content:"\f323"}.bi-emoji-smile-fill:before{content:"\f324"}.bi-emoji-smile-upside-down-fill:before{content:"\f325"}.bi-emoji-smile-upside-down:before{content:"\f326"}.bi-emoji-smile:before{content:"\f327"}.bi-emoji-sunglasses-fill:before{content:"\f328"}.bi-emoji-sunglasses:before{content:"\f329"}.bi-emoji-wink-fill:before{content:"\f32a"}.bi-emoji-wink:before{content:"\f32b"}.bi-envelope-fill:before{content:"\f32c"}.bi-envelope-open-fill:before{content:"\f32d"}.bi-envelope-open:before{content:"\f32e"}.bi-envelope:before{content:"\f32f"}.bi-eraser-fill:before{content:"\f330"}.bi-eraser:before{content:"\f331"}.bi-exclamation-circle-fill:before{content:"\f332"}.bi-exclamation-circle:before{content:"\f333"}.bi-exclamation-diamond-fill:before{content:"\f334"}.bi-exclamation-diamond:before{content:"\f335"}.bi-exclamation-octagon-fill:before{content:"\f336"}.bi-exclamation-octagon:before{content:"\f337"}.bi-exclamation-square-fill:before{content:"\f338"}.bi-exclamation-square:before{content:"\f339"}.bi-exclamation-triangle-fill:before{content:"\f33a"}.bi-exclamation-triangle:before{content:"\f33b"}.bi-exclamation:before{content:"\f33c"}.bi-exclude:before{content:"\f33d"}.bi-eye-fill:before{content:"\f33e"}.bi-eye-slash-fill:before{content:"\f33f"}.bi-eye-slash:before{content:"\f340"}.bi-eye:before{content:"\f341"}.bi-eyedropper:before{content:"\f342"}.bi-eyeglasses:before{content:"\f343"}.bi-facebook:before{content:"\f344"}.bi-file-arrow-down-fill:before{content:"\f345"}.bi-file-arrow-down:before{content:"\f346"}.bi-file-arrow-up-fill:before{content:"\f347"}.bi-file-arrow-up:before{content:"\f348"}.bi-file-bar-graph-fill:before{content:"\f349"}.bi-file-bar-graph:before{content:"\f34a"}.bi-file-binary-fill:before{content:"\f34b"}.bi-file-binary:before{content:"\f34c"}.bi-file-break-fill:before{content:"\f34d"}.bi-file-break:before{content:"\f34e"}.bi-file-check-fill:before{content:"\f34f"}.bi-file-check:before{content:"\f350"}.bi-file-code-fill:before{content:"\f351"}.bi-file-code:before{content:"\f352"}.bi-file-diff-fill:before{content:"\f353"}.bi-file-diff:before{content:"\f354"}.bi-file-earmark-arrow-down-fill:before{content:"\f355"}.bi-file-earmark-arrow-down:before{content:"\f356"}.bi-file-earmark-arrow-up-fill:before{content:"\f357"}.bi-file-earmark-arrow-up:before{content:"\f358"}.bi-file-earmark-bar-graph-fill:before{content:"\f359"}.bi-file-earmark-bar-graph:before{content:"\f35a"}.bi-file-earmark-binary-fill:before{content:"\f35b"}.bi-file-earmark-binary:before{content:"\f35c"}.bi-file-earmark-break-fill:before{content:"\f35d"}.bi-file-earmark-break:before{content:"\f35e"}.bi-file-earmark-check-fill:before{content:"\f35f"}.bi-file-earmark-check:before{content:"\f360"}.bi-file-earmark-code-fill:before{content:"\f361"}.bi-file-earmark-code:before{content:"\f362"}.bi-file-earmark-diff-fill:before{content:"\f363"}.bi-file-earmark-diff:before{content:"\f364"}.bi-file-earmark-easel-fill:before{content:"\f365"}.bi-file-earmark-easel:before{content:"\f366"}.bi-file-earmark-excel-fill:before{content:"\f367"}.bi-file-earmark-excel:before{content:"\f368"}.bi-file-earmark-fill:before{content:"\f369"}.bi-file-earmark-font-fill:before{content:"\f36a"}.bi-file-earmark-font:before{content:"\f36b"}.bi-file-earmark-image-fill:before{content:"\f36c"}.bi-file-earmark-image:before{content:"\f36d"}.bi-file-earmark-lock-fill:before{content:"\f36e"}.bi-file-earmark-lock:before{content:"\f36f"}.bi-file-earmark-lock2-fill:before{content:"\f370"}.bi-file-earmark-lock2:before{content:"\f371"}.bi-file-earmark-medical-fill:before{content:"\f372"}.bi-file-earmark-medical:before{content:"\f373"}.bi-file-earmark-minus-fill:before{content:"\f374"}.bi-file-earmark-minus:before{content:"\f375"}.bi-file-earmark-music-fill:before{content:"\f376"}.bi-file-earmark-music:before{content:"\f377"}.bi-file-earmark-person-fill:before{content:"\f378"}.bi-file-earmark-person:before{content:"\f379"}.bi-file-earmark-play-fill:before{content:"\f37a"}.bi-file-earmark-play:before{content:"\f37b"}.bi-file-earmark-plus-fill:before{content:"\f37c"}.bi-file-earmark-plus:before{content:"\f37d"}.bi-file-earmark-post-fill:before{content:"\f37e"}.bi-file-earmark-post:before{content:"\f37f"}.bi-file-earmark-ppt-fill:before{content:"\f380"}.bi-file-earmark-ppt:before{content:"\f381"}.bi-file-earmark-richtext-fill:before{content:"\f382"}.bi-file-earmark-richtext:before{content:"\f383"}.bi-file-earmark-ruled-fill:before{content:"\f384"}.bi-file-earmark-ruled:before{content:"\f385"}.bi-file-earmark-slides-fill:before{content:"\f386"}.bi-file-earmark-slides:before{content:"\f387"}.bi-file-earmark-spreadsheet-fill:before{content:"\f388"}.bi-file-earmark-spreadsheet:before{content:"\f389"}.bi-file-earmark-text-fill:before{content:"\f38a"}.bi-file-earmark-text:before{content:"\f38b"}.bi-file-earmark-word-fill:before{content:"\f38c"}.bi-file-earmark-word:before{content:"\f38d"}.bi-file-earmark-x-fill:before{content:"\f38e"}.bi-file-earmark-x:before{content:"\f38f"}.bi-file-earmark-zip-fill:before{content:"\f390"}.bi-file-earmark-zip:before{content:"\f391"}.bi-file-earmark:before{content:"\f392"}.bi-file-easel-fill:before{content:"\f393"}.bi-file-easel:before{content:"\f394"}.bi-file-excel-fill:before{content:"\f395"}.bi-file-excel:before{content:"\f396"}.bi-file-fill:before{content:"\f397"}.bi-file-font-fill:before{content:"\f398"}.bi-file-font:before{content:"\f399"}.bi-file-image-fill:before{content:"\f39a"}.bi-file-image:before{content:"\f39b"}.bi-file-lock-fill:before{content:"\f39c"}.bi-file-lock:before{content:"\f39d"}.bi-file-lock2-fill:before{content:"\f39e"}.bi-file-lock2:before{content:"\f39f"}.bi-file-medical-fill:before{content:"\f3a0"}.bi-file-medical:before{content:"\f3a1"}.bi-file-minus-fill:before{content:"\f3a2"}.bi-file-minus:before{content:"\f3a3"}.bi-file-music-fill:before{content:"\f3a4"}.bi-file-music:before{content:"\f3a5"}.bi-file-person-fill:before{content:"\f3a6"}.bi-file-person:before{content:"\f3a7"}.bi-file-play-fill:before{content:"\f3a8"}.bi-file-play:before{content:"\f3a9"}.bi-file-plus-fill:before{content:"\f3aa"}.bi-file-plus:before{content:"\f3ab"}.bi-file-post-fill:before{content:"\f3ac"}.bi-file-post:before{content:"\f3ad"}.bi-file-ppt-fill:before{content:"\f3ae"}.bi-file-ppt:before{content:"\f3af"}.bi-file-richtext-fill:before{content:"\f3b0"}.bi-file-richtext:before{content:"\f3b1"}.bi-file-ruled-fill:before{content:"\f3b2"}.bi-file-ruled:before{content:"\f3b3"}.bi-file-slides-fill:before{content:"\f3b4"}.bi-file-slides:before{content:"\f3b5"}.bi-file-spreadsheet-fill:before{content:"\f3b6"}.bi-file-spreadsheet:before{content:"\f3b7"}.bi-file-text-fill:before{content:"\f3b8"}.bi-file-text:before{content:"\f3b9"}.bi-file-word-fill:before{content:"\f3ba"}.bi-file-word:before{content:"\f3bb"}.bi-file-x-fill:before{content:"\f3bc"}.bi-file-x:before{content:"\f3bd"}.bi-file-zip-fill:before{content:"\f3be"}.bi-file-zip:before{content:"\f3bf"}.bi-file:before{content:"\f3c0"}.bi-files-alt:before{content:"\f3c1"}.bi-files:before{content:"\f3c2"}.bi-film:before{content:"\f3c3"}.bi-filter-circle-fill:before{content:"\f3c4"}.bi-filter-circle:before{content:"\f3c5"}.bi-filter-left:before{content:"\f3c6"}.bi-filter-right:before{content:"\f3c7"}.bi-filter-square-fill:before{content:"\f3c8"}.bi-filter-square:before{content:"\f3c9"}.bi-filter:before{content:"\f3ca"}.bi-flag-fill:before{content:"\f3cb"}.bi-flag:before{content:"\f3cc"}.bi-flower1:before{content:"\f3cd"}.bi-flower2:before{content:"\f3ce"}.bi-flower3:before{content:"\f3cf"}.bi-folder-check:before{content:"\f3d0"}.bi-folder-fill:before{content:"\f3d1"}.bi-folder-minus:before{content:"\f3d2"}.bi-folder-plus:before{content:"\f3d3"}.bi-folder-symlink-fill:before{content:"\f3d4"}.bi-folder-symlink:before{content:"\f3d5"}.bi-folder-x:before{content:"\f3d6"}.bi-folder:before{content:"\f3d7"}.bi-folder2-open:before{content:"\f3d8"}.bi-folder2:before{content:"\f3d9"}.bi-fonts:before{content:"\f3da"}.bi-forward-fill:before{content:"\f3db"}.bi-forward:before{content:"\f3dc"}.bi-front:before{content:"\f3dd"}.bi-fullscreen-exit:before{content:"\f3de"}.bi-fullscreen:before{content:"\f3df"}.bi-funnel-fill:before{content:"\f3e0"}.bi-funnel:before{content:"\f3e1"}.bi-gear-fill:before{content:"\f3e2"}.bi-gear-wide-connected:before{content:"\f3e3"}.bi-gear-wide:before{content:"\f3e4"}.bi-gear:before{content:"\f3e5"}.bi-gem:before{content:"\f3e6"}.bi-geo-alt-fill:before{content:"\f3e7"}.bi-geo-alt:before{content:"\f3e8"}.bi-geo-fill:before{content:"\f3e9"}.bi-geo:before{content:"\f3ea"}.bi-gift-fill:before{content:"\f3eb"}.bi-gift:before{content:"\f3ec"}.bi-github:before{content:"\f3ed"}.bi-globe:before{content:"\f3ee"}.bi-globe2:before{content:"\f3ef"}.bi-google:before{content:"\f3f0"}.bi-graph-down:before{content:"\f3f1"}.bi-graph-up:before{content:"\f3f2"}.bi-grid-1x2-fill:before{content:"\f3f3"}.bi-grid-1x2:before{content:"\f3f4"}.bi-grid-3x2-gap-fill:before{content:"\f3f5"}.bi-grid-3x2-gap:before{content:"\f3f6"}.bi-grid-3x2:before{content:"\f3f7"}.bi-grid-3x3-gap-fill:before{content:"\f3f8"}.bi-grid-3x3-gap:before{content:"\f3f9"}.bi-grid-3x3:before{content:"\f3fa"}.bi-grid-fill:before{content:"\f3fb"}.bi-grid:before{content:"\f3fc"}.bi-grip-horizontal:before{content:"\f3fd"}.bi-grip-vertical:before{content:"\f3fe"}.bi-hammer:before{content:"\f3ff"}.bi-hand-index-fill:before{content:"\f400"}.bi-hand-index-thumb-fill:before{content:"\f401"}.bi-hand-index-thumb:before{content:"\f402"}.bi-hand-index:before{content:"\f403"}.bi-hand-thumbs-down-fill:before{content:"\f404"}.bi-hand-thumbs-down:before{content:"\f405"}.bi-hand-thumbs-up-fill:before{content:"\f406"}.bi-hand-thumbs-up:before{content:"\f407"}.bi-handbag-fill:before{content:"\f408"}.bi-handbag:before{content:"\f409"}.bi-hash:before{content:"\f40a"}.bi-hdd-fill:before{content:"\f40b"}.bi-hdd-network-fill:before{content:"\f40c"}.bi-hdd-network:before{content:"\f40d"}.bi-hdd-rack-fill:before{content:"\f40e"}.bi-hdd-rack:before{content:"\f40f"}.bi-hdd-stack-fill:before{content:"\f410"}.bi-hdd-stack:before{content:"\f411"}.bi-hdd:before{content:"\f412"}.bi-headphones:before{content:"\f413"}.bi-headset:before{content:"\f414"}.bi-heart-fill:before{content:"\f415"}.bi-heart-half:before{content:"\f416"}.bi-heart:before{content:"\f417"}.bi-heptagon-fill:before{content:"\f418"}.bi-heptagon-half:before{content:"\f419"}.bi-heptagon:before{content:"\f41a"}.bi-hexagon-fill:before{content:"\f41b"}.bi-hexagon-half:before{content:"\f41c"}.bi-hexagon:before{content:"\f41d"}.bi-hourglass-bottom:before{content:"\f41e"}.bi-hourglass-split:before{content:"\f41f"}.bi-hourglass-top:before{content:"\f420"}.bi-hourglass:before{content:"\f421"}.bi-house-door-fill:before{content:"\f422"}.bi-house-door:before{content:"\f423"}.bi-house-fill:before{content:"\f424"}.bi-house:before{content:"\f425"}.bi-hr:before{content:"\f426"}.bi-hurricane:before{content:"\f427"}.bi-image-alt:before{content:"\f428"}.bi-image-fill:before{content:"\f429"}.bi-image:before{content:"\f42a"}.bi-images:before{content:"\f42b"}.bi-inbox-fill:before{content:"\f42c"}.bi-inbox:before{content:"\f42d"}.bi-inboxes-fill:before{content:"\f42e"}.bi-inboxes:before{content:"\f42f"}.bi-info-circle-fill:before{content:"\f430"}.bi-info-circle:before{content:"\f431"}.bi-info-square-fill:before{content:"\f432"}.bi-info-square:before{content:"\f433"}.bi-info:before{content:"\f434"}.bi-input-cursor-text:before{content:"\f435"}.bi-input-cursor:before{content:"\f436"}.bi-instagram:before{content:"\f437"}.bi-intersect:before{content:"\f438"}.bi-journal-album:before{content:"\f439"}.bi-journal-arrow-down:before{content:"\f43a"}.bi-journal-arrow-up:before{content:"\f43b"}.bi-journal-bookmark-fill:before{content:"\f43c"}.bi-journal-bookmark:before{content:"\f43d"}.bi-journal-check:before{content:"\f43e"}.bi-journal-code:before{content:"\f43f"}.bi-journal-medical:before{content:"\f440"}.bi-journal-minus:before{content:"\f441"}.bi-journal-plus:before{content:"\f442"}.bi-journal-richtext:before{content:"\f443"}.bi-journal-text:before{content:"\f444"}.bi-journal-x:before{content:"\f445"}.bi-journal:before{content:"\f446"}.bi-journals:before{content:"\f447"}.bi-joystick:before{content:"\f448"}.bi-justify-left:before{content:"\f449"}.bi-justify-right:before{content:"\f44a"}.bi-justify:before{content:"\f44b"}.bi-kanban-fill:before{content:"\f44c"}.bi-kanban:before{content:"\f44d"}.bi-key-fill:before{content:"\f44e"}.bi-key:before{content:"\f44f"}.bi-keyboard-fill:before{content:"\f450"}.bi-keyboard:before{content:"\f451"}.bi-ladder:before{content:"\f452"}.bi-lamp-fill:before{content:"\f453"}.bi-lamp:before{content:"\f454"}.bi-laptop-fill:before{content:"\f455"}.bi-laptop:before{content:"\f456"}.bi-layer-backward:before{content:"\f457"}.bi-layer-forward:before{content:"\f458"}.bi-layers-fill:before{content:"\f459"}.bi-layers-half:before{content:"\f45a"}.bi-layers:before{content:"\f45b"}.bi-layout-sidebar-inset-reverse:before{content:"\f45c"}.bi-layout-sidebar-inset:before{content:"\f45d"}.bi-layout-sidebar-reverse:before{content:"\f45e"}.bi-layout-sidebar:before{content:"\f45f"}.bi-layout-split:before{content:"\f460"}.bi-layout-text-sidebar-reverse:before{content:"\f461"}.bi-layout-text-sidebar:before{content:"\f462"}.bi-layout-text-window-reverse:before{content:"\f463"}.bi-layout-text-window:before{content:"\f464"}.bi-layout-three-columns:before{content:"\f465"}.bi-layout-wtf:before{content:"\f466"}.bi-life-preserver:before{content:"\f467"}.bi-lightbulb-fill:before{content:"\f468"}.bi-lightbulb-off-fill:before{content:"\f469"}.bi-lightbulb-off:before{content:"\f46a"}.bi-lightbulb:before{content:"\f46b"}.bi-lightning-charge-fill:before{content:"\f46c"}.bi-lightning-charge:before{content:"\f46d"}.bi-lightning-fill:before{content:"\f46e"}.bi-lightning:before{content:"\f46f"}.bi-link-45deg:before{content:"\f470"}.bi-link:before{content:"\f471"}.bi-linkedin:before{content:"\f472"}.bi-list-check:before{content:"\f473"}.bi-list-nested:before{content:"\f474"}.bi-list-ol:before{content:"\f475"}.bi-list-stars:before{content:"\f476"}.bi-list-task:before{content:"\f477"}.bi-list-ul:before{content:"\f478"}.bi-list:before{content:"\f479"}.bi-lock-fill:before{content:"\f47a"}.bi-lock:before{content:"\f47b"}.bi-mailbox:before{content:"\f47c"}.bi-mailbox2:before{content:"\f47d"}.bi-map-fill:before{content:"\f47e"}.bi-map:before{content:"\f47f"}.bi-markdown-fill:before{content:"\f480"}.bi-markdown:before{content:"\f481"}.bi-mask:before{content:"\f482"}.bi-megaphone-fill:before{content:"\f483"}.bi-megaphone:before{content:"\f484"}.bi-menu-app-fill:before{content:"\f485"}.bi-menu-app:before{content:"\f486"}.bi-menu-button-fill:before{content:"\f487"}.bi-menu-button-wide-fill:before{content:"\f488"}.bi-menu-button-wide:before{content:"\f489"}.bi-menu-button:before{content:"\f48a"}.bi-menu-down:before{content:"\f48b"}.bi-menu-up:before{content:"\f48c"}.bi-mic-fill:before{content:"\f48d"}.bi-mic-mute-fill:before{content:"\f48e"}.bi-mic-mute:before{content:"\f48f"}.bi-mic:before{content:"\f490"}.bi-minecart-loaded:before{content:"\f491"}.bi-minecart:before{content:"\f492"}.bi-moisture:before{content:"\f493"}.bi-moon-fill:before{content:"\f494"}.bi-moon-stars-fill:before{content:"\f495"}.bi-moon-stars:before{content:"\f496"}.bi-moon:before{content:"\f497"}.bi-mouse-fill:before{content:"\f498"}.bi-mouse:before{content:"\f499"}.bi-mouse2-fill:before{content:"\f49a"}.bi-mouse2:before{content:"\f49b"}.bi-mouse3-fill:before{content:"\f49c"}.bi-mouse3:before{content:"\f49d"}.bi-music-note-beamed:before{content:"\f49e"}.bi-music-note-list:before{content:"\f49f"}.bi-music-note:before{content:"\f4a0"}.bi-music-player-fill:before{content:"\f4a1"}.bi-music-player:before{content:"\f4a2"}.bi-newspaper:before{content:"\f4a3"}.bi-node-minus-fill:before{content:"\f4a4"}.bi-node-minus:before{content:"\f4a5"}.bi-node-plus-fill:before{content:"\f4a6"}.bi-node-plus:before{content:"\f4a7"}.bi-nut-fill:before{content:"\f4a8"}.bi-nut:before{content:"\f4a9"}.bi-octagon-fill:before{content:"\f4aa"}.bi-octagon-half:before{content:"\f4ab"}.bi-octagon:before{content:"\f4ac"}.bi-option:before{content:"\f4ad"}.bi-outlet:before{content:"\f4ae"}.bi-paint-bucket:before{content:"\f4af"}.bi-palette-fill:before{content:"\f4b0"}.bi-palette:before{content:"\f4b1"}.bi-palette2:before{content:"\f4b2"}.bi-paperclip:before{content:"\f4b3"}.bi-paragraph:before{content:"\f4b4"}.bi-patch-check-fill:before{content:"\f4b5"}.bi-patch-check:before{content:"\f4b6"}.bi-patch-exclamation-fill:before{content:"\f4b7"}.bi-patch-exclamation:before{content:"\f4b8"}.bi-patch-minus-fill:before{content:"\f4b9"}.bi-patch-minus:before{content:"\f4ba"}.bi-patch-plus-fill:before{content:"\f4bb"}.bi-patch-plus:before{content:"\f4bc"}.bi-patch-question-fill:before{content:"\f4bd"}.bi-patch-question:before{content:"\f4be"}.bi-pause-btn-fill:before{content:"\f4bf"}.bi-pause-btn:before{content:"\f4c0"}.bi-pause-circle-fill:before{content:"\f4c1"}.bi-pause-circle:before{content:"\f4c2"}.bi-pause-fill:before{content:"\f4c3"}.bi-pause:before{content:"\f4c4"}.bi-peace-fill:before{content:"\f4c5"}.bi-peace:before{content:"\f4c6"}.bi-pen-fill:before{content:"\f4c7"}.bi-pen:before{content:"\f4c8"}.bi-pencil-fill:before{content:"\f4c9"}.bi-pencil-square:before{content:"\f4ca"}.bi-pencil:before{content:"\f4cb"}.bi-pentagon-fill:before{content:"\f4cc"}.bi-pentagon-half:before{content:"\f4cd"}.bi-pentagon:before{content:"\f4ce"}.bi-people-fill:before{content:"\f4cf"}.bi-people:before{content:"\f4d0"}.bi-percent:before{content:"\f4d1"}.bi-person-badge-fill:before{content:"\f4d2"}.bi-person-badge:before{content:"\f4d3"}.bi-person-bounding-box:before{content:"\f4d4"}.bi-person-check-fill:before{content:"\f4d5"}.bi-person-check:before{content:"\f4d6"}.bi-person-circle:before{content:"\f4d7"}.bi-person-dash-fill:before{content:"\f4d8"}.bi-person-dash:before{content:"\f4d9"}.bi-person-fill:before{content:"\f4da"}.bi-person-lines-fill:before{content:"\f4db"}.bi-person-plus-fill:before{content:"\f4dc"}.bi-person-plus:before{content:"\f4dd"}.bi-person-square:before{content:"\f4de"}.bi-person-x-fill:before{content:"\f4df"}.bi-person-x:before{content:"\f4e0"}.bi-person:before{content:"\f4e1"}.bi-phone-fill:before{content:"\f4e2"}.bi-phone-landscape-fill:before{content:"\f4e3"}.bi-phone-landscape:before{content:"\f4e4"}.bi-phone-vibrate-fill:before{content:"\f4e5"}.bi-phone-vibrate:before{content:"\f4e6"}.bi-phone:before{content:"\f4e7"}.bi-pie-chart-fill:before{content:"\f4e8"}.bi-pie-chart:before{content:"\f4e9"}.bi-pin-angle-fill:before{content:"\f4ea"}.bi-pin-angle:before{content:"\f4eb"}.bi-pin-fill:before{content:"\f4ec"}.bi-pin:before{content:"\f4ed"}.bi-pip-fill:before{content:"\f4ee"}.bi-pip:before{content:"\f4ef"}.bi-play-btn-fill:before{content:"\f4f0"}.bi-play-btn:before{content:"\f4f1"}.bi-play-circle-fill:before{content:"\f4f2"}.bi-play-circle:before{content:"\f4f3"}.bi-play-fill:before{content:"\f4f4"}.bi-play:before{content:"\f4f5"}.bi-plug-fill:before{content:"\f4f6"}.bi-plug:before{content:"\f4f7"}.bi-plus-circle-dotted:before{content:"\f4f8"}.bi-plus-circle-fill:before{content:"\f4f9"}.bi-plus-circle:before{content:"\f4fa"}.bi-plus-square-dotted:before{content:"\f4fb"}.bi-plus-square-fill:before{content:"\f4fc"}.bi-plus-square:before{content:"\f4fd"}.bi-plus:before{content:"\f4fe"}.bi-power:before{content:"\f4ff"}.bi-printer-fill:before{content:"\f500"}.bi-printer:before{content:"\f501"}.bi-puzzle-fill:before{content:"\f502"}.bi-puzzle:before{content:"\f503"}.bi-question-circle-fill:before{content:"\f504"}.bi-question-circle:before{content:"\f505"}.bi-question-diamond-fill:before{content:"\f506"}.bi-question-diamond:before{content:"\f507"}.bi-question-octagon-fill:before{content:"\f508"}.bi-question-octagon:before{content:"\f509"}.bi-question-square-fill:before{content:"\f50a"}.bi-question-square:before{content:"\f50b"}.bi-question:before{content:"\f50c"}.bi-rainbow:before{content:"\f50d"}.bi-receipt-cutoff:before{content:"\f50e"}.bi-receipt:before{content:"\f50f"}.bi-reception-0:before{content:"\f510"}.bi-reception-1:before{content:"\f511"}.bi-reception-2:before{content:"\f512"}.bi-reception-3:before{content:"\f513"}.bi-reception-4:before{content:"\f514"}.bi-record-btn-fill:before{content:"\f515"}.bi-record-btn:before{content:"\f516"}.bi-record-circle-fill:before{content:"\f517"}.bi-record-circle:before{content:"\f518"}.bi-record-fill:before{content:"\f519"}.bi-record:before{content:"\f51a"}.bi-record2-fill:before{content:"\f51b"}.bi-record2:before{content:"\f51c"}.bi-reply-all-fill:before{content:"\f51d"}.bi-reply-all:before{content:"\f51e"}.bi-reply-fill:before{content:"\f51f"}.bi-reply:before{content:"\f520"}.bi-rss-fill:before{content:"\f521"}.bi-rss:before{content:"\f522"}.bi-rulers:before{content:"\f523"}.bi-save-fill:before{content:"\f524"}.bi-save:before{content:"\f525"}.bi-save2-fill:before{content:"\f526"}.bi-save2:before{content:"\f527"}.bi-scissors:before{content:"\f528"}.bi-screwdriver:before{content:"\f529"}.bi-search:before{content:"\f52a"}.bi-segmented-nav:before{content:"\f52b"}.bi-server:before{content:"\f52c"}.bi-share-fill:before{content:"\f52d"}.bi-share:before{content:"\f52e"}.bi-shield-check:before{content:"\f52f"}.bi-shield-exclamation:before{content:"\f530"}.bi-shield-fill-check:before{content:"\f531"}.bi-shield-fill-exclamation:before{content:"\f532"}.bi-shield-fill-minus:before{content:"\f533"}.bi-shield-fill-plus:before{content:"\f534"}.bi-shield-fill-x:before{content:"\f535"}.bi-shield-fill:before{content:"\f536"}.bi-shield-lock-fill:before{content:"\f537"}.bi-shield-lock:before{content:"\f538"}.bi-shield-minus:before{content:"\f539"}.bi-shield-plus:before{content:"\f53a"}.bi-shield-shaded:before{content:"\f53b"}.bi-shield-slash-fill:before{content:"\f53c"}.bi-shield-slash:before{content:"\f53d"}.bi-shield-x:before{content:"\f53e"}.bi-shield:before{content:"\f53f"}.bi-shift-fill:before{content:"\f540"}.bi-shift:before{content:"\f541"}.bi-shop-window:before{content:"\f542"}.bi-shop:before{content:"\f543"}.bi-shuffle:before{content:"\f544"}.bi-signpost-2-fill:before{content:"\f545"}.bi-signpost-2:before{content:"\f546"}.bi-signpost-fill:before{content:"\f547"}.bi-signpost-split-fill:before{content:"\f548"}.bi-signpost-split:before{content:"\f549"}.bi-signpost:before{content:"\f54a"}.bi-sim-fill:before{content:"\f54b"}.bi-sim:before{content:"\f54c"}.bi-skip-backward-btn-fill:before{content:"\f54d"}.bi-skip-backward-btn:before{content:"\f54e"}.bi-skip-backward-circle-fill:before{content:"\f54f"}.bi-skip-backward-circle:before{content:"\f550"}.bi-skip-backward-fill:before{content:"\f551"}.bi-skip-backward:before{content:"\f552"}.bi-skip-end-btn-fill:before{content:"\f553"}.bi-skip-end-btn:before{content:"\f554"}.bi-skip-end-circle-fill:before{content:"\f555"}.bi-skip-end-circle:before{content:"\f556"}.bi-skip-end-fill:before{content:"\f557"}.bi-skip-end:before{content:"\f558"}.bi-skip-forward-btn-fill:before{content:"\f559"}.bi-skip-forward-btn:before{content:"\f55a"}.bi-skip-forward-circle-fill:before{content:"\f55b"}.bi-skip-forward-circle:before{content:"\f55c"}.bi-skip-forward-fill:before{content:"\f55d"}.bi-skip-forward:before{content:"\f55e"}.bi-skip-start-btn-fill:before{content:"\f55f"}.bi-skip-start-btn:before{content:"\f560"}.bi-skip-start-circle-fill:before{content:"\f561"}.bi-skip-start-circle:before{content:"\f562"}.bi-skip-start-fill:before{content:"\f563"}.bi-skip-start:before{content:"\f564"}.bi-slack:before{content:"\f565"}.bi-slash-circle-fill:before{content:"\f566"}.bi-slash-circle:before{content:"\f567"}.bi-slash-square-fill:before{content:"\f568"}.bi-slash-square:before{content:"\f569"}.bi-slash:before{content:"\f56a"}.bi-sliders:before{content:"\f56b"}.bi-smartwatch:before{content:"\f56c"}.bi-snow:before{content:"\f56d"}.bi-snow2:before{content:"\f56e"}.bi-snow3:before{content:"\f56f"}.bi-sort-alpha-down-alt:before{content:"\f570"}.bi-sort-alpha-down:before{content:"\f571"}.bi-sort-alpha-up-alt:before{content:"\f572"}.bi-sort-alpha-up:before{content:"\f573"}.bi-sort-down-alt:before{content:"\f574"}.bi-sort-down:before{content:"\f575"}.bi-sort-numeric-down-alt:before{content:"\f576"}.bi-sort-numeric-down:before{content:"\f577"}.bi-sort-numeric-up-alt:before{content:"\f578"}.bi-sort-numeric-up:before{content:"\f579"}.bi-sort-up-alt:before{content:"\f57a"}.bi-sort-up:before{content:"\f57b"}.bi-soundwave:before{content:"\f57c"}.bi-speaker-fill:before{content:"\f57d"}.bi-speaker:before{content:"\f57e"}.bi-speedometer:before{content:"\f57f"}.bi-speedometer2:before{content:"\f580"}.bi-spellcheck:before{content:"\f581"}.bi-square-fill:before{content:"\f582"}.bi-square-half:before{content:"\f583"}.bi-square:before{content:"\f584"}.bi-stack:before{content:"\f585"}.bi-star-fill:before{content:"\f586"}.bi-star-half:before{content:"\f587"}.bi-star:before{content:"\f588"}.bi-stars:before{content:"\f589"}.bi-stickies-fill:before{content:"\f58a"}.bi-stickies:before{content:"\f58b"}.bi-sticky-fill:before{content:"\f58c"}.bi-sticky:before{content:"\f58d"}.bi-stop-btn-fill:before{content:"\f58e"}.bi-stop-btn:before{content:"\f58f"}.bi-stop-circle-fill:before{content:"\f590"}.bi-stop-circle:before{content:"\f591"}.bi-stop-fill:before{content:"\f592"}.bi-stop:before{content:"\f593"}.bi-stoplights-fill:before{content:"\f594"}.bi-stoplights:before{content:"\f595"}.bi-stopwatch-fill:before{content:"\f596"}.bi-stopwatch:before{content:"\f597"}.bi-subtract:before{content:"\f598"}.bi-suit-club-fill:before{content:"\f599"}.bi-suit-club:before{content:"\f59a"}.bi-suit-diamond-fill:before{content:"\f59b"}.bi-suit-diamond:before{content:"\f59c"}.bi-suit-heart-fill:before{content:"\f59d"}.bi-suit-heart:before{content:"\f59e"}.bi-suit-spade-fill:before{content:"\f59f"}.bi-suit-spade:before{content:"\f5a0"}.bi-sun-fill:before{content:"\f5a1"}.bi-sun:before{content:"\f5a2"}.bi-sunglasses:before{content:"\f5a3"}.bi-sunrise-fill:before{content:"\f5a4"}.bi-sunrise:before{content:"\f5a5"}.bi-sunset-fill:before{content:"\f5a6"}.bi-sunset:before{content:"\f5a7"}.bi-symmetry-horizontal:before{content:"\f5a8"}.bi-symmetry-vertical:before{content:"\f5a9"}.bi-table:before{content:"\f5aa"}.bi-tablet-fill:before{content:"\f5ab"}.bi-tablet-landscape-fill:before{content:"\f5ac"}.bi-tablet-landscape:before{content:"\f5ad"}.bi-tablet:before{content:"\f5ae"}.bi-tag-fill:before{content:"\f5af"}.bi-tag:before{content:"\f5b0"}.bi-tags-fill:before{content:"\f5b1"}.bi-tags:before{content:"\f5b2"}.bi-telegram:before{content:"\f5b3"}.bi-telephone-fill:before{content:"\f5b4"}.bi-telephone-forward-fill:before{content:"\f5b5"}.bi-telephone-forward:before{content:"\f5b6"}.bi-telephone-inbound-fill:before{content:"\f5b7"}.bi-telephone-inbound:before{content:"\f5b8"}.bi-telephone-minus-fill:before{content:"\f5b9"}.bi-telephone-minus:before{content:"\f5ba"}.bi-telephone-outbound-fill:before{content:"\f5bb"}.bi-telephone-outbound:before{content:"\f5bc"}.bi-telephone-plus-fill:before{content:"\f5bd"}.bi-telephone-plus:before{content:"\f5be"}.bi-telephone-x-fill:before{content:"\f5bf"}.bi-telephone-x:before{content:"\f5c0"}.bi-telephone:before{content:"\f5c1"}.bi-terminal-fill:before{content:"\f5c2"}.bi-terminal:before{content:"\f5c3"}.bi-text-center:before{content:"\f5c4"}.bi-text-indent-left:before{content:"\f5c5"}.bi-text-indent-right:before{content:"\f5c6"}.bi-text-left:before{content:"\f5c7"}.bi-text-paragraph:before{content:"\f5c8"}.bi-text-right:before{content:"\f5c9"}.bi-textarea-resize:before{content:"\f5ca"}.bi-textarea-t:before{content:"\f5cb"}.bi-textarea:before{content:"\f5cc"}.bi-thermometer-half:before{content:"\f5cd"}.bi-thermometer-high:before{content:"\f5ce"}.bi-thermometer-low:before{content:"\f5cf"}.bi-thermometer-snow:before{content:"\f5d0"}.bi-thermometer-sun:before{content:"\f5d1"}.bi-thermometer:before{content:"\f5d2"}.bi-three-dots-vertical:before{content:"\f5d3"}.bi-three-dots:before{content:"\f5d4"}.bi-toggle-off:before{content:"\f5d5"}.bi-toggle-on:before{content:"\f5d6"}.bi-toggle2-off:before{content:"\f5d7"}.bi-toggle2-on:before{content:"\f5d8"}.bi-toggles:before{content:"\f5d9"}.bi-toggles2:before{content:"\f5da"}.bi-tools:before{content:"\f5db"}.bi-tornado:before{content:"\f5dc"}.bi-trash-fill:before{content:"\f5dd"}.bi-trash:before{content:"\f5de"}.bi-trash2-fill:before{content:"\f5df"}.bi-trash2:before{content:"\f5e0"}.bi-tree-fill:before{content:"\f5e1"}.bi-tree:before{content:"\f5e2"}.bi-triangle-fill:before{content:"\f5e3"}.bi-triangle-half:before{content:"\f5e4"}.bi-triangle:before{content:"\f5e5"}.bi-trophy-fill:before{content:"\f5e6"}.bi-trophy:before{content:"\f5e7"}.bi-tropical-storm:before{content:"\f5e8"}.bi-truck-flatbed:before{content:"\f5e9"}.bi-truck:before{content:"\f5ea"}.bi-tsunami:before{content:"\f5eb"}.bi-tv-fill:before{content:"\f5ec"}.bi-tv:before{content:"\f5ed"}.bi-twitch:before{content:"\f5ee"}.bi-twitter:before{content:"\f5ef"}.bi-type-bold:before{content:"\f5f0"}.bi-type-h1:before{content:"\f5f1"}.bi-type-h2:before{content:"\f5f2"}.bi-type-h3:before{content:"\f5f3"}.bi-type-italic:before{content:"\f5f4"}.bi-type-strikethrough:before{content:"\f5f5"}.bi-type-underline:before{content:"\f5f6"}.bi-type:before{content:"\f5f7"}.bi-ui-checks-grid:before{content:"\f5f8"}.bi-ui-checks:before{content:"\f5f9"}.bi-ui-radios-grid:before{content:"\f5fa"}.bi-ui-radios:before{content:"\f5fb"}.bi-umbrella-fill:before{content:"\f5fc"}.bi-umbrella:before{content:"\f5fd"}.bi-union:before{content:"\f5fe"}.bi-unlock-fill:before{content:"\f5ff"}.bi-unlock:before{content:"\f600"}.bi-upc-scan:before{content:"\f601"}.bi-upc:before{content:"\f602"}.bi-upload:before{content:"\f603"}.bi-vector-pen:before{content:"\f604"}.bi-view-list:before{content:"\f605"}.bi-view-stacked:before{content:"\f606"}.bi-vinyl-fill:before{content:"\f607"}.bi-vinyl:before{content:"\f608"}.bi-voicemail:before{content:"\f609"}.bi-volume-down-fill:before{content:"\f60a"}.bi-volume-down:before{content:"\f60b"}.bi-volume-mute-fill:before{content:"\f60c"}.bi-volume-mute:before{content:"\f60d"}.bi-volume-off-fill:before{content:"\f60e"}.bi-volume-off:before{content:"\f60f"}.bi-volume-up-fill:before{content:"\f610"}.bi-volume-up:before{content:"\f611"}.bi-vr:before{content:"\f612"}.bi-wallet-fill:before{content:"\f613"}.bi-wallet:before{content:"\f614"}.bi-wallet2:before{content:"\f615"}.bi-watch:before{content:"\f616"}.bi-water:before{content:"\f617"}.bi-whatsapp:before{content:"\f618"}.bi-wifi-1:before{content:"\f619"}.bi-wifi-2:before{content:"\f61a"}.bi-wifi-off:before{content:"\f61b"}.bi-wifi:before{content:"\f61c"}.bi-wind:before{content:"\f61d"}.bi-window-dock:before{content:"\f61e"}.bi-window-sidebar:before{content:"\f61f"}.bi-window:before{content:"\f620"}.bi-wrench:before{content:"\f621"}.bi-x-circle-fill:before{content:"\f622"}.bi-x-circle:before{content:"\f623"}.bi-x-diamond-fill:before{content:"\f624"}.bi-x-diamond:before{content:"\f625"}.bi-x-octagon-fill:before{content:"\f626"}.bi-x-octagon:before{content:"\f627"}.bi-x-square-fill:before{content:"\f628"}.bi-x-square:before{content:"\f629"}.bi-x:before{content:"\f62a"}.bi-youtube:before{content:"\f62b"}.bi-zoom-in:before{content:"\f62c"}.bi-zoom-out:before{content:"\f62d"}.bi-bank:before{content:"\f62e"}.bi-bank2:before{content:"\f62f"}.bi-bell-slash-fill:before{content:"\f630"}.bi-bell-slash:before{content:"\f631"}.bi-cash-coin:before{content:"\f632"}.bi-check-lg:before{content:"\f633"}.bi-coin:before{content:"\f634"}.bi-currency-bitcoin:before{content:"\f635"}.bi-currency-dollar:before{content:"\f636"}.bi-currency-euro:before{content:"\f637"}.bi-currency-exchange:before{content:"\f638"}.bi-currency-pound:before{content:"\f639"}.bi-currency-yen:before{content:"\f63a"}.bi-dash-lg:before{content:"\f63b"}.bi-exclamation-lg:before{content:"\f63c"}.bi-file-earmark-pdf-fill:before{content:"\f63d"}.bi-file-earmark-pdf:before{content:"\f63e"}.bi-file-pdf-fill:before{content:"\f63f"}.bi-file-pdf:before{content:"\f640"}.bi-gender-ambiguous:before{content:"\f641"}.bi-gender-female:before{content:"\f642"}.bi-gender-male:before{content:"\f643"}.bi-gender-trans:before{content:"\f644"}.bi-headset-vr:before{content:"\f645"}.bi-info-lg:before{content:"\f646"}.bi-mastodon:before{content:"\f647"}.bi-messenger:before{content:"\f648"}.bi-piggy-bank-fill:before{content:"\f649"}.bi-piggy-bank:before{content:"\f64a"}.bi-pin-map-fill:before{content:"\f64b"}.bi-pin-map:before{content:"\f64c"}.bi-plus-lg:before{content:"\f64d"}.bi-question-lg:before{content:"\f64e"}.bi-recycle:before{content:"\f64f"}.bi-reddit:before{content:"\f650"}.bi-safe-fill:before{content:"\f651"}.bi-safe2-fill:before{content:"\f652"}.bi-safe2:before{content:"\f653"}.bi-sd-card-fill:before{content:"\f654"}.bi-sd-card:before{content:"\f655"}.bi-skype:before{content:"\f656"}.bi-slash-lg:before{content:"\f657"}.bi-translate:before{content:"\f658"}.bi-x-lg:before{content:"\f659"}.bi-safe:before{content:"\f65a"}.bi-apple:before{content:"\f65b"}.bi-microsoft:before{content:"\f65d"}.bi-windows:before{content:"\f65e"}.bi-behance:before{content:"\f65c"}.bi-dribbble:before{content:"\f65f"}.bi-line:before{content:"\f660"}.bi-medium:before{content:"\f661"}.bi-paypal:before{content:"\f662"}.bi-pinterest:before{content:"\f663"}.bi-signal:before{content:"\f664"}.bi-snapchat:before{content:"\f665"}.bi-spotify:before{content:"\f666"}.bi-stack-overflow:before{content:"\f667"}.bi-strava:before{content:"\f668"}.bi-wordpress:before{content:"\f669"}.bi-vimeo:before{content:"\f66a"}.bi-activity:before{content:"\f66b"}.bi-easel2-fill:before{content:"\f66c"}.bi-easel2:before{content:"\f66d"}.bi-easel3-fill:before{content:"\f66e"}.bi-easel3:before{content:"\f66f"}.bi-fan:before{content:"\f670"}.bi-fingerprint:before{content:"\f671"}.bi-graph-down-arrow:before{content:"\f672"}.bi-graph-up-arrow:before{content:"\f673"}.bi-hypnotize:before{content:"\f674"}.bi-magic:before{content:"\f675"}.bi-person-rolodex:before{content:"\f676"}.bi-person-video:before{content:"\f677"}.bi-person-video2:before{content:"\f678"}.bi-person-video3:before{content:"\f679"}.bi-person-workspace:before{content:"\f67a"}.bi-radioactive:before{content:"\f67b"}.bi-webcam-fill:before{content:"\f67c"}.bi-webcam:before{content:"\f67d"}.bi-yin-yang:before{content:"\f67e"}.bi-bandaid-fill:before{content:"\f680"}.bi-bandaid:before{content:"\f681"}.bi-bluetooth:before{content:"\f682"}.bi-body-text:before{content:"\f683"}.bi-boombox:before{content:"\f684"}.bi-boxes:before{content:"\f685"}.bi-dpad-fill:before{content:"\f686"}.bi-dpad:before{content:"\f687"}.bi-ear-fill:before{content:"\f688"}.bi-ear:before{content:"\f689"}.bi-envelope-check-fill:before{content:"\f68b"}.bi-envelope-check:before{content:"\f68c"}.bi-envelope-dash-fill:before{content:"\f68e"}.bi-envelope-dash:before{content:"\f68f"}.bi-envelope-exclamation-fill:before{content:"\f691"}.bi-envelope-exclamation:before{content:"\f692"}.bi-envelope-plus-fill:before{content:"\f693"}.bi-envelope-plus:before{content:"\f694"}.bi-envelope-slash-fill:before{content:"\f696"}.bi-envelope-slash:before{content:"\f697"}.bi-envelope-x-fill:before{content:"\f699"}.bi-envelope-x:before{content:"\f69a"}.bi-explicit-fill:before{content:"\f69b"}.bi-explicit:before{content:"\f69c"}.bi-git:before{content:"\f69d"}.bi-infinity:before{content:"\f69e"}.bi-list-columns-reverse:before{content:"\f69f"}.bi-list-columns:before{content:"\f6a0"}.bi-meta:before{content:"\f6a1"}.bi-nintendo-switch:before{content:"\f6a4"}.bi-pc-display-horizontal:before{content:"\f6a5"}.bi-pc-display:before{content:"\f6a6"}.bi-pc-horizontal:before{content:"\f6a7"}.bi-pc:before{content:"\f6a8"}.bi-playstation:before{content:"\f6a9"}.bi-plus-slash-minus:before{content:"\f6aa"}.bi-projector-fill:before{content:"\f6ab"}.bi-projector:before{content:"\f6ac"}.bi-qr-code-scan:before{content:"\f6ad"}.bi-qr-code:before{content:"\f6ae"}.bi-quora:before{content:"\f6af"}.bi-quote:before{content:"\f6b0"}.bi-robot:before{content:"\f6b1"}.bi-send-check-fill:before{content:"\f6b2"}.bi-send-check:before{content:"\f6b3"}.bi-send-dash-fill:before{content:"\f6b4"}.bi-send-dash:before{content:"\f6b5"}.bi-send-exclamation-fill:before{content:"\f6b7"}.bi-send-exclamation:before{content:"\f6b8"}.bi-send-fill:before{content:"\f6b9"}.bi-send-plus-fill:before{content:"\f6ba"}.bi-send-plus:before{content:"\f6bb"}.bi-send-slash-fill:before{content:"\f6bc"}.bi-send-slash:before{content:"\f6bd"}.bi-send-x-fill:before{content:"\f6be"}.bi-send-x:before{content:"\f6bf"}.bi-send:before{content:"\f6c0"}.bi-steam:before{content:"\f6c1"}.bi-terminal-dash:before{content:"\f6c3"}.bi-terminal-plus:before{content:"\f6c4"}.bi-terminal-split:before{content:"\f6c5"}.bi-ticket-detailed-fill:before{content:"\f6c6"}.bi-ticket-detailed:before{content:"\f6c7"}.bi-ticket-fill:before{content:"\f6c8"}.bi-ticket-perforated-fill:before{content:"\f6c9"}.bi-ticket-perforated:before{content:"\f6ca"}.bi-ticket:before{content:"\f6cb"}.bi-tiktok:before{content:"\f6cc"}.bi-window-dash:before{content:"\f6cd"}.bi-window-desktop:before{content:"\f6ce"}.bi-window-fullscreen:before{content:"\f6cf"}.bi-window-plus:before{content:"\f6d0"}.bi-window-split:before{content:"\f6d1"}.bi-window-stack:before{content:"\f6d2"}.bi-window-x:before{content:"\f6d3"}.bi-xbox:before{content:"\f6d4"}.bi-ethernet:before{content:"\f6d5"}.bi-hdmi-fill:before{content:"\f6d6"}.bi-hdmi:before{content:"\f6d7"}.bi-usb-c-fill:before{content:"\f6d8"}.bi-usb-c:before{content:"\f6d9"}.bi-usb-fill:before{content:"\f6da"}.bi-usb-plug-fill:before{content:"\f6db"}.bi-usb-plug:before{content:"\f6dc"}.bi-usb-symbol:before{content:"\f6dd"}.bi-usb:before{content:"\f6de"}.bi-boombox-fill:before{content:"\f6df"}.bi-displayport:before{content:"\f6e1"}.bi-gpu-card:before{content:"\f6e2"}.bi-memory:before{content:"\f6e3"}.bi-modem-fill:before{content:"\f6e4"}.bi-modem:before{content:"\f6e5"}.bi-motherboard-fill:before{content:"\f6e6"}.bi-motherboard:before{content:"\f6e7"}.bi-optical-audio-fill:before{content:"\f6e8"}.bi-optical-audio:before{content:"\f6e9"}.bi-pci-card:before{content:"\f6ea"}.bi-router-fill:before{content:"\f6eb"}.bi-router:before{content:"\f6ec"}.bi-thunderbolt-fill:before{content:"\f6ef"}.bi-thunderbolt:before{content:"\f6f0"}.bi-usb-drive-fill:before{content:"\f6f1"}.bi-usb-drive:before{content:"\f6f2"}.bi-usb-micro-fill:before{content:"\f6f3"}.bi-usb-micro:before{content:"\f6f4"}.bi-usb-mini-fill:before{content:"\f6f5"}.bi-usb-mini:before{content:"\f6f6"}.bi-cloud-haze2:before{content:"\f6f7"}.bi-device-hdd-fill:before{content:"\f6f8"}.bi-device-hdd:before{content:"\f6f9"}.bi-device-ssd-fill:before{content:"\f6fa"}.bi-device-ssd:before{content:"\f6fb"}.bi-displayport-fill:before{content:"\f6fc"}.bi-mortarboard-fill:before{content:"\f6fd"}.bi-mortarboard:before{content:"\f6fe"}.bi-terminal-x:before{content:"\f6ff"}.bi-arrow-through-heart-fill:before{content:"\f700"}.bi-arrow-through-heart:before{content:"\f701"}.bi-badge-sd-fill:before{content:"\f702"}.bi-badge-sd:before{content:"\f703"}.bi-bag-heart-fill:before{content:"\f704"}.bi-bag-heart:before{content:"\f705"}.bi-balloon-fill:before{content:"\f706"}.bi-balloon-heart-fill:before{content:"\f707"}.bi-balloon-heart:before{content:"\f708"}.bi-balloon:before{content:"\f709"}.bi-box2-fill:before{content:"\f70a"}.bi-box2-heart-fill:before{content:"\f70b"}.bi-box2-heart:before{content:"\f70c"}.bi-box2:before{content:"\f70d"}.bi-braces-asterisk:before{content:"\f70e"}.bi-calendar-heart-fill:before{content:"\f70f"}.bi-calendar-heart:before{content:"\f710"}.bi-calendar2-heart-fill:before{content:"\f711"}.bi-calendar2-heart:before{content:"\f712"}.bi-chat-heart-fill:before{content:"\f713"}.bi-chat-heart:before{content:"\f714"}.bi-chat-left-heart-fill:before{content:"\f715"}.bi-chat-left-heart:before{content:"\f716"}.bi-chat-right-heart-fill:before{content:"\f717"}.bi-chat-right-heart:before{content:"\f718"}.bi-chat-square-heart-fill:before{content:"\f719"}.bi-chat-square-heart:before{content:"\f71a"}.bi-clipboard-check-fill:before{content:"\f71b"}.bi-clipboard-data-fill:before{content:"\f71c"}.bi-clipboard-fill:before{content:"\f71d"}.bi-clipboard-heart-fill:before{content:"\f71e"}.bi-clipboard-heart:before{content:"\f71f"}.bi-clipboard-minus-fill:before{content:"\f720"}.bi-clipboard-plus-fill:before{content:"\f721"}.bi-clipboard-pulse:before{content:"\f722"}.bi-clipboard-x-fill:before{content:"\f723"}.bi-clipboard2-check-fill:before{content:"\f724"}.bi-clipboard2-check:before{content:"\f725"}.bi-clipboard2-data-fill:before{content:"\f726"}.bi-clipboard2-data:before{content:"\f727"}.bi-clipboard2-fill:before{content:"\f728"}.bi-clipboard2-heart-fill:before{content:"\f729"}.bi-clipboard2-heart:before{content:"\f72a"}.bi-clipboard2-minus-fill:before{content:"\f72b"}.bi-clipboard2-minus:before{content:"\f72c"}.bi-clipboard2-plus-fill:before{content:"\f72d"}.bi-clipboard2-plus:before{content:"\f72e"}.bi-clipboard2-pulse-fill:before{content:"\f72f"}.bi-clipboard2-pulse:before{content:"\f730"}.bi-clipboard2-x-fill:before{content:"\f731"}.bi-clipboard2-x:before{content:"\f732"}.bi-clipboard2:before{content:"\f733"}.bi-emoji-kiss-fill:before{content:"\f734"}.bi-emoji-kiss:before{content:"\f735"}.bi-envelope-heart-fill:before{content:"\f736"}.bi-envelope-heart:before{content:"\f737"}.bi-envelope-open-heart-fill:before{content:"\f738"}.bi-envelope-open-heart:before{content:"\f739"}.bi-envelope-paper-fill:before{content:"\f73a"}.bi-envelope-paper-heart-fill:before{content:"\f73b"}.bi-envelope-paper-heart:before{content:"\f73c"}.bi-envelope-paper:before{content:"\f73d"}.bi-filetype-aac:before{content:"\f73e"}.bi-filetype-ai:before{content:"\f73f"}.bi-filetype-bmp:before{content:"\f740"}.bi-filetype-cs:before{content:"\f741"}.bi-filetype-css:before{content:"\f742"}.bi-filetype-csv:before{content:"\f743"}.bi-filetype-doc:before{content:"\f744"}.bi-filetype-docx:before{content:"\f745"}.bi-filetype-exe:before{content:"\f746"}.bi-filetype-gif:before{content:"\f747"}.bi-filetype-heic:before{content:"\f748"}.bi-filetype-html:before{content:"\f749"}.bi-filetype-java:before{content:"\f74a"}.bi-filetype-jpg:before{content:"\f74b"}.bi-filetype-js:before{content:"\f74c"}.bi-filetype-jsx:before{content:"\f74d"}.bi-filetype-key:before{content:"\f74e"}.bi-filetype-m4p:before{content:"\f74f"}.bi-filetype-md:before{content:"\f750"}.bi-filetype-mdx:before{content:"\f751"}.bi-filetype-mov:before{content:"\f752"}.bi-filetype-mp3:before{content:"\f753"}.bi-filetype-mp4:before{content:"\f754"}.bi-filetype-otf:before{content:"\f755"}.bi-filetype-pdf:before{content:"\f756"}.bi-filetype-php:before{content:"\f757"}.bi-filetype-png:before{content:"\f758"}.bi-filetype-ppt:before{content:"\f75a"}.bi-filetype-psd:before{content:"\f75b"}.bi-filetype-py:before{content:"\f75c"}.bi-filetype-raw:before{content:"\f75d"}.bi-filetype-rb:before{content:"\f75e"}.bi-filetype-sass:before{content:"\f75f"}.bi-filetype-scss:before{content:"\f760"}.bi-filetype-sh:before{content:"\f761"}.bi-filetype-svg:before{content:"\f762"}.bi-filetype-tiff:before{content:"\f763"}.bi-filetype-tsx:before{content:"\f764"}.bi-filetype-ttf:before{content:"\f765"}.bi-filetype-txt:before{content:"\f766"}.bi-filetype-wav:before{content:"\f767"}.bi-filetype-woff:before{content:"\f768"}.bi-filetype-xls:before{content:"\f76a"}.bi-filetype-xml:before{content:"\f76b"}.bi-filetype-yml:before{content:"\f76c"}.bi-heart-arrow:before{content:"\f76d"}.bi-heart-pulse-fill:before{content:"\f76e"}.bi-heart-pulse:before{content:"\f76f"}.bi-heartbreak-fill:before{content:"\f770"}.bi-heartbreak:before{content:"\f771"}.bi-hearts:before{content:"\f772"}.bi-hospital-fill:before{content:"\f773"}.bi-hospital:before{content:"\f774"}.bi-house-heart-fill:before{content:"\f775"}.bi-house-heart:before{content:"\f776"}.bi-incognito:before{content:"\f777"}.bi-magnet-fill:before{content:"\f778"}.bi-magnet:before{content:"\f779"}.bi-person-heart:before{content:"\f77a"}.bi-person-hearts:before{content:"\f77b"}.bi-phone-flip:before{content:"\f77c"}.bi-plugin:before{content:"\f77d"}.bi-postage-fill:before{content:"\f77e"}.bi-postage-heart-fill:before{content:"\f77f"}.bi-postage-heart:before{content:"\f780"}.bi-postage:before{content:"\f781"}.bi-postcard-fill:before{content:"\f782"}.bi-postcard-heart-fill:before{content:"\f783"}.bi-postcard-heart:before{content:"\f784"}.bi-postcard:before{content:"\f785"}.bi-search-heart-fill:before{content:"\f786"}.bi-search-heart:before{content:"\f787"}.bi-sliders2-vertical:before{content:"\f788"}.bi-sliders2:before{content:"\f789"}.bi-trash3-fill:before{content:"\f78a"}.bi-trash3:before{content:"\f78b"}.bi-valentine:before{content:"\f78c"}.bi-valentine2:before{content:"\f78d"}.bi-wrench-adjustable-circle-fill:before{content:"\f78e"}.bi-wrench-adjustable-circle:before{content:"\f78f"}.bi-wrench-adjustable:before{content:"\f790"}.bi-filetype-json:before{content:"\f791"}.bi-filetype-pptx:before{content:"\f792"}.bi-filetype-xlsx:before{content:"\f793"}.bi-1-circle-fill:before{content:"\f796"}.bi-1-circle:before{content:"\f797"}.bi-1-square-fill:before{content:"\f798"}.bi-1-square:before{content:"\f799"}.bi-2-circle-fill:before{content:"\f79c"}.bi-2-circle:before{content:"\f79d"}.bi-2-square-fill:before{content:"\f79e"}.bi-2-square:before{content:"\f79f"}.bi-3-circle-fill:before{content:"\f7a2"}.bi-3-circle:before{content:"\f7a3"}.bi-3-square-fill:before{content:"\f7a4"}.bi-3-square:before{content:"\f7a5"}.bi-4-circle-fill:before{content:"\f7a8"}.bi-4-circle:before{content:"\f7a9"}.bi-4-square-fill:before{content:"\f7aa"}.bi-4-square:before{content:"\f7ab"}.bi-5-circle-fill:before{content:"\f7ae"}.bi-5-circle:before{content:"\f7af"}.bi-5-square-fill:before{content:"\f7b0"}.bi-5-square:before{content:"\f7b1"}.bi-6-circle-fill:before{content:"\f7b4"}.bi-6-circle:before{content:"\f7b5"}.bi-6-square-fill:before{content:"\f7b6"}.bi-6-square:before{content:"\f7b7"}.bi-7-circle-fill:before{content:"\f7ba"}.bi-7-circle:before{content:"\f7bb"}.bi-7-square-fill:before{content:"\f7bc"}.bi-7-square:before{content:"\f7bd"}.bi-8-circle-fill:before{content:"\f7c0"}.bi-8-circle:before{content:"\f7c1"}.bi-8-square-fill:before{content:"\f7c2"}.bi-8-square:before{content:"\f7c3"}.bi-9-circle-fill:before{content:"\f7c6"}.bi-9-circle:before{content:"\f7c7"}.bi-9-square-fill:before{content:"\f7c8"}.bi-9-square:before{content:"\f7c9"}.bi-airplane-engines-fill:before{content:"\f7ca"}.bi-airplane-engines:before{content:"\f7cb"}.bi-airplane-fill:before{content:"\f7cc"}.bi-airplane:before{content:"\f7cd"}.bi-alexa:before{content:"\f7ce"}.bi-alipay:before{content:"\f7cf"}.bi-android:before{content:"\f7d0"}.bi-android2:before{content:"\f7d1"}.bi-box-fill:before{content:"\f7d2"}.bi-box-seam-fill:before{content:"\f7d3"}.bi-browser-chrome:before{content:"\f7d4"}.bi-browser-edge:before{content:"\f7d5"}.bi-browser-firefox:before{content:"\f7d6"}.bi-browser-safari:before{content:"\f7d7"}.bi-c-circle-fill:before{content:"\f7da"}.bi-c-circle:before{content:"\f7db"}.bi-c-square-fill:before{content:"\f7dc"}.bi-c-square:before{content:"\f7dd"}.bi-capsule-pill:before{content:"\f7de"}.bi-capsule:before{content:"\f7df"}.bi-car-front-fill:before{content:"\f7e0"}.bi-car-front:before{content:"\f7e1"}.bi-cassette-fill:before{content:"\f7e2"}.bi-cassette:before{content:"\f7e3"}.bi-cc-circle-fill:before{content:"\f7e6"}.bi-cc-circle:before{content:"\f7e7"}.bi-cc-square-fill:before{content:"\f7e8"}.bi-cc-square:before{content:"\f7e9"}.bi-cup-hot-fill:before{content:"\f7ea"}.bi-cup-hot:before{content:"\f7eb"}.bi-currency-rupee:before{content:"\f7ec"}.bi-dropbox:before{content:"\f7ed"}.bi-escape:before{content:"\f7ee"}.bi-fast-forward-btn-fill:before{content:"\f7ef"}.bi-fast-forward-btn:before{content:"\f7f0"}.bi-fast-forward-circle-fill:before{content:"\f7f1"}.bi-fast-forward-circle:before{content:"\f7f2"}.bi-fast-forward-fill:before{content:"\f7f3"}.bi-fast-forward:before{content:"\f7f4"}.bi-filetype-sql:before{content:"\f7f5"}.bi-fire:before{content:"\f7f6"}.bi-google-play:before{content:"\f7f7"}.bi-h-circle-fill:before{content:"\f7fa"}.bi-h-circle:before{content:"\f7fb"}.bi-h-square-fill:before{content:"\f7fc"}.bi-h-square:before{content:"\f7fd"}.bi-indent:before{content:"\f7fe"}.bi-lungs-fill:before{content:"\f7ff"}.bi-lungs:before{content:"\f800"}.bi-microsoft-teams:before{content:"\f801"}.bi-p-circle-fill:before{content:"\f804"}.bi-p-circle:before{content:"\f805"}.bi-p-square-fill:before{content:"\f806"}.bi-p-square:before{content:"\f807"}.bi-pass-fill:before{content:"\f808"}.bi-pass:before{content:"\f809"}.bi-prescription:before{content:"\f80a"}.bi-prescription2:before{content:"\f80b"}.bi-r-circle-fill:before{content:"\f80e"}.bi-r-circle:before{content:"\f80f"}.bi-r-square-fill:before{content:"\f810"}.bi-r-square:before{content:"\f811"}.bi-repeat-1:before{content:"\f812"}.bi-repeat:before{content:"\f813"}.bi-rewind-btn-fill:before{content:"\f814"}.bi-rewind-btn:before{content:"\f815"}.bi-rewind-circle-fill:before{content:"\f816"}.bi-rewind-circle:before{content:"\f817"}.bi-rewind-fill:before{content:"\f818"}.bi-rewind:before{content:"\f819"}.bi-train-freight-front-fill:before{content:"\f81a"}.bi-train-freight-front:before{content:"\f81b"}.bi-train-front-fill:before{content:"\f81c"}.bi-train-front:before{content:"\f81d"}.bi-train-lightrail-front-fill:before{content:"\f81e"}.bi-train-lightrail-front:before{content:"\f81f"}.bi-truck-front-fill:before{content:"\f820"}.bi-truck-front:before{content:"\f821"}.bi-ubuntu:before{content:"\f822"}.bi-unindent:before{content:"\f823"}.bi-unity:before{content:"\f824"}.bi-universal-access-circle:before{content:"\f825"}.bi-universal-access:before{content:"\f826"}.bi-virus:before{content:"\f827"}.bi-virus2:before{content:"\f828"}.bi-wechat:before{content:"\f829"}.bi-yelp:before{content:"\f82a"}.bi-sign-stop-fill:before{content:"\f82b"}.bi-sign-stop-lights-fill:before{content:"\f82c"}.bi-sign-stop-lights:before{content:"\f82d"}.bi-sign-stop:before{content:"\f82e"}.bi-sign-turn-left-fill:before{content:"\f82f"}.bi-sign-turn-left:before{content:"\f830"}.bi-sign-turn-right-fill:before{content:"\f831"}.bi-sign-turn-right:before{content:"\f832"}.bi-sign-turn-slight-left-fill:before{content:"\f833"}.bi-sign-turn-slight-left:before{content:"\f834"}.bi-sign-turn-slight-right-fill:before{content:"\f835"}.bi-sign-turn-slight-right:before{content:"\f836"}.bi-sign-yield-fill:before{content:"\f837"}.bi-sign-yield:before{content:"\f838"}.bi-ev-station-fill:before{content:"\f839"}.bi-ev-station:before{content:"\f83a"}.bi-fuel-pump-diesel-fill:before{content:"\f83b"}.bi-fuel-pump-diesel:before{content:"\f83c"}.bi-fuel-pump-fill:before{content:"\f83d"}.bi-fuel-pump:before{content:"\f83e"}.bi-0-circle-fill:before{content:"\f83f"}.bi-0-circle:before{content:"\f840"}.bi-0-square-fill:before{content:"\f841"}.bi-0-square:before{content:"\f842"}.bi-rocket-fill:before{content:"\f843"}.bi-rocket-takeoff-fill:before{content:"\f844"}.bi-rocket-takeoff:before{content:"\f845"}.bi-rocket:before{content:"\f846"}.bi-stripe:before{content:"\f847"}.bi-subscript:before{content:"\f848"}.bi-superscript:before{content:"\f849"}.bi-trello:before{content:"\f84a"}.bi-envelope-at-fill:before{content:"\f84b"}.bi-envelope-at:before{content:"\f84c"}.bi-regex:before{content:"\f84d"}.bi-text-wrap:before{content:"\f84e"}.bi-sign-dead-end-fill:before{content:"\f84f"}.bi-sign-dead-end:before{content:"\f850"}.bi-sign-do-not-enter-fill:before{content:"\f851"}.bi-sign-do-not-enter:before{content:"\f852"}.bi-sign-intersection-fill:before{content:"\f853"}.bi-sign-intersection-side-fill:before{content:"\f854"}.bi-sign-intersection-side:before{content:"\f855"}.bi-sign-intersection-t-fill:before{content:"\f856"}.bi-sign-intersection-t:before{content:"\f857"}.bi-sign-intersection-y-fill:before{content:"\f858"}.bi-sign-intersection-y:before{content:"\f859"}.bi-sign-intersection:before{content:"\f85a"}.bi-sign-merge-left-fill:before{content:"\f85b"}.bi-sign-merge-left:before{content:"\f85c"}.bi-sign-merge-right-fill:before{content:"\f85d"}.bi-sign-merge-right:before{content:"\f85e"}.bi-sign-no-left-turn-fill:before{content:"\f85f"}.bi-sign-no-left-turn:before{content:"\f860"}.bi-sign-no-parking-fill:before{content:"\f861"}.bi-sign-no-parking:before{content:"\f862"}.bi-sign-no-right-turn-fill:before{content:"\f863"}.bi-sign-no-right-turn:before{content:"\f864"}.bi-sign-railroad-fill:before{content:"\f865"}.bi-sign-railroad:before{content:"\f866"}.bi-building-add:before{content:"\f867"}.bi-building-check:before{content:"\f868"}.bi-building-dash:before{content:"\f869"}.bi-building-down:before{content:"\f86a"}.bi-building-exclamation:before{content:"\f86b"}.bi-building-fill-add:before{content:"\f86c"}.bi-building-fill-check:before{content:"\f86d"}.bi-building-fill-dash:before{content:"\f86e"}.bi-building-fill-down:before{content:"\f86f"}.bi-building-fill-exclamation:before{content:"\f870"}.bi-building-fill-gear:before{content:"\f871"}.bi-building-fill-lock:before{content:"\f872"}.bi-building-fill-slash:before{content:"\f873"}.bi-building-fill-up:before{content:"\f874"}.bi-building-fill-x:before{content:"\f875"}.bi-building-fill:before{content:"\f876"}.bi-building-gear:before{content:"\f877"}.bi-building-lock:before{content:"\f878"}.bi-building-slash:before{content:"\f879"}.bi-building-up:before{content:"\f87a"}.bi-building-x:before{content:"\f87b"}.bi-buildings-fill:before{content:"\f87c"}.bi-buildings:before{content:"\f87d"}.bi-bus-front-fill:before{content:"\f87e"}.bi-bus-front:before{content:"\f87f"}.bi-ev-front-fill:before{content:"\f880"}.bi-ev-front:before{content:"\f881"}.bi-globe-americas:before{content:"\f882"}.bi-globe-asia-australia:before{content:"\f883"}.bi-globe-central-south-asia:before{content:"\f884"}.bi-globe-europe-africa:before{content:"\f885"}.bi-house-add-fill:before{content:"\f886"}.bi-house-add:before{content:"\f887"}.bi-house-check-fill:before{content:"\f888"}.bi-house-check:before{content:"\f889"}.bi-house-dash-fill:before{content:"\f88a"}.bi-house-dash:before{content:"\f88b"}.bi-house-down-fill:before{content:"\f88c"}.bi-house-down:before{content:"\f88d"}.bi-house-exclamation-fill:before{content:"\f88e"}.bi-house-exclamation:before{content:"\f88f"}.bi-house-gear-fill:before{content:"\f890"}.bi-house-gear:before{content:"\f891"}.bi-house-lock-fill:before{content:"\f892"}.bi-house-lock:before{content:"\f893"}.bi-house-slash-fill:before{content:"\f894"}.bi-house-slash:before{content:"\f895"}.bi-house-up-fill:before{content:"\f896"}.bi-house-up:before{content:"\f897"}.bi-house-x-fill:before{content:"\f898"}.bi-house-x:before{content:"\f899"}.bi-person-add:before{content:"\f89a"}.bi-person-down:before{content:"\f89b"}.bi-person-exclamation:before{content:"\f89c"}.bi-person-fill-add:before{content:"\f89d"}.bi-person-fill-check:before{content:"\f89e"}.bi-person-fill-dash:before{content:"\f89f"}.bi-person-fill-down:before{content:"\f8a0"}.bi-person-fill-exclamation:before{content:"\f8a1"}.bi-person-fill-gear:before{content:"\f8a2"}.bi-person-fill-lock:before{content:"\f8a3"}.bi-person-fill-slash:before{content:"\f8a4"}.bi-person-fill-up:before{content:"\f8a5"}.bi-person-fill-x:before{content:"\f8a6"}.bi-person-gear:before{content:"\f8a7"}.bi-person-lock:before{content:"\f8a8"}.bi-person-slash:before{content:"\f8a9"}.bi-person-up:before{content:"\f8aa"}.bi-scooter:before{content:"\f8ab"}.bi-taxi-front-fill:before{content:"\f8ac"}.bi-taxi-front:before{content:"\f8ad"}.bi-amd:before{content:"\f8ae"}.bi-database-add:before{content:"\f8af"}.bi-database-check:before{content:"\f8b0"}.bi-database-dash:before{content:"\f8b1"}.bi-database-down:before{content:"\f8b2"}.bi-database-exclamation:before{content:"\f8b3"}.bi-database-fill-add:before{content:"\f8b4"}.bi-database-fill-check:before{content:"\f8b5"}.bi-database-fill-dash:before{content:"\f8b6"}.bi-database-fill-down:before{content:"\f8b7"}.bi-database-fill-exclamation:before{content:"\f8b8"}.bi-database-fill-gear:before{content:"\f8b9"}.bi-database-fill-lock:before{content:"\f8ba"}.bi-database-fill-slash:before{content:"\f8bb"}.bi-database-fill-up:before{content:"\f8bc"}.bi-database-fill-x:before{content:"\f8bd"}.bi-database-fill:before{content:"\f8be"}.bi-database-gear:before{content:"\f8bf"}.bi-database-lock:before{content:"\f8c0"}.bi-database-slash:before{content:"\f8c1"}.bi-database-up:before{content:"\f8c2"}.bi-database-x:before{content:"\f8c3"}.bi-database:before{content:"\f8c4"}.bi-houses-fill:before{content:"\f8c5"}.bi-houses:before{content:"\f8c6"}.bi-nvidia:before{content:"\f8c7"}.bi-person-vcard-fill:before{content:"\f8c8"}.bi-person-vcard:before{content:"\f8c9"}.bi-sina-weibo:before{content:"\f8ca"}.bi-tencent-qq:before{content:"\f8cb"}.bi-wikipedia:before{content:"\f8cc"}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#abb2bf;background:#282c34}.hljs-comment,.hljs-quote{color:#5c6370;font-style:italic}.hljs-doctag,.hljs-formula,.hljs-keyword{color:#c678dd}.hljs-deletion,.hljs-name,.hljs-section,.hljs-selector-tag,.hljs-subst{color:#e06c75}.hljs-literal{color:#56b6c2}.hljs-addition,.hljs-attribute,.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#98c379}.hljs-attr,.hljs-number,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-pseudo,.hljs-template-variable,.hljs-type,.hljs-variable{color:#d19a66}.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-symbol,.hljs-title{color:#61aeee}.hljs-built_in,.hljs-class .hljs-title,.hljs-title.class_{color:#e6c07b}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline}/*! + * Viewer.js v1.11.2 + * https://fengyuanchen.github.io/viewerjs + * + * Copyright 2015-present Chen Fengyuan + * Released under the MIT license + * + * Date: 2023-01-01T10:14:47.694Z + */.viewer-zoom-in:before,.viewer-zoom-out:before,.viewer-one-to-one:before,.viewer-reset:before,.viewer-prev:before,.viewer-play:before,.viewer-next:before,.viewer-rotate-left:before,.viewer-rotate-right:before,.viewer-flip-horizontal:before,.viewer-flip-vertical:before,.viewer-fullscreen:before,.viewer-fullscreen-exit:before,.viewer-close:before{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAAUCAYAAABWOyJDAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAQPSURBVHic7Zs/iFxVFMa/0U2UaJGksUgnIVhYxVhpjDbZCBmLdAYECxsRFBTUamcXUiSNncgKQbSxsxH8gzAP3FU2jY0kKKJNiiiIghFlccnP4p3nPCdv3p9778vsLOcHB2bfveeb7955c3jvvNkBIMdxnD64a94GHMfZu3iBcRynN7zAOI7TG15gHCeeNUkr8zaxG2lbYDYsdgMbktBsP03jdQwljSXdtBhLOmtjowC9Mg9L+knSlcD8TNKpSA9lBpK2JF2VdDSR5n5J64m0qli399hNFMUlpshQii5jbXTbHGviB0nLNeNDSd9VO4A2UdB2fp+x0eCnaXxWXGA2X0au/3HgN9P4LFCjIANOJdrLr0zzZ+BEpNYDwKbpnQMeAw4m8HjQtM6Z9qa917zPQwFr3M5KgA6J5rTJCdFZJj9/lyvGhsDvwFNVuV2MhhjrK6b9bFiE+j1r87eBl4HDwCF7/U/k+ofAX5b/EXBv5JoLMuILzf3Ap6Z3EzgdqHMCuF7hcQf4HDgeoHnccncqdK/TvSDWffFXI/exICY/xZyqc6XLWF1UFZna4gJ7q8BsRvgd2/xXpo6P+D9dfT7PpECtA3cnWPM0GXGFZh/wgWltA+cDNC7X+AP4GzjZQe+k5dRxuYPeiuXU7e1qwLpDz7dFjXKRaSwuMLvAlG8zZlG+YmiK1HoFqT7wP2z+4Q45TfEGcMt01xLoNZEBTwRqD4BLpnMLeC1A41UmVxsXgXeBayV/Wx20rpTyrpnWRft7p6O/FdqzGrDukPNtkaMoMo3FBdBSQMOnYBCReyf05s126fU9ytfX98+mY54Kxnp7S9K3kj6U9KYdG0h6UdLbkh7poFXMfUnSOyVvL0h6VtIXHbS6nOP+s/Zm9mvyXW1uuC9ohZ72E9uDmXWLJOB1GxsH+DxPftsB8B6wlGDN02TAkxG6+4D3TWsbeC5CS8CDFce+AW500LhhOW2020TRjK3b21HEmgti9m0RonxbdMZeVzV+/4tF3cBpP7E9mKHNL5q8h5g0eYsCMQz0epq8gQrwMXAgcs0FGXGFRcB9wCemF9PkbYqM/Bas7fxLwNeJPdTdpo4itQti8lPMqTpXuozVRVXPpbHI3KkNTB1NfkL81j2mvhDp91HgV9MKuRIqrykj3WPq4rHyL+axj8/qGPmTqi6F9YDlHOvJU6oYcTsh/TYSzWmTE6JT19CtLTJt32D6CmHe0eQn1O8z5AXgT4sx4Vcu0/EQecMydB8z0hUWkTd2t4CrwNEePqMBcAR4mrBbwyXLPWJa8zrXmmLEhNBmfpkuY2102xxrih+pb+ieAb6vGhuA97UcJ5KR8gZ77K+99xxeYBzH6Q3/Z0fHcXrDC4zjOL3hBcZxnN74F+zlvXFWXF9PAAAAAElFTkSuQmCC);background-repeat:no-repeat;background-size:280px;color:transparent;display:block;font-size:0;height:20px;line-height:0;width:20px}.viewer-zoom-in:before{background-position:0 0;content:"Zoom In"}.viewer-zoom-out:before{background-position:-20px 0;content:"Zoom Out"}.viewer-one-to-one:before{background-position:-40px 0;content:"One to One"}.viewer-reset:before{background-position:-60px 0;content:"Reset"}.viewer-prev:before{background-position:-80px 0;content:"Previous"}.viewer-play:before{background-position:-100px 0;content:"Play"}.viewer-next:before{background-position:-120px 0;content:"Next"}.viewer-rotate-left:before{background-position:-140px 0;content:"Rotate Left"}.viewer-rotate-right:before{background-position:-160px 0;content:"Rotate Right"}.viewer-flip-horizontal:before{background-position:-180px 0;content:"Flip Horizontal"}.viewer-flip-vertical:before{background-position:-200px 0;content:"Flip Vertical"}.viewer-fullscreen:before{background-position:-220px 0;content:"Enter Full Screen"}.viewer-fullscreen-exit:before{background-position:-240px 0;content:"Exit Full Screen"}.viewer-close:before{background-position:-260px 0;content:"Close"}.viewer-container{bottom:0;direction:ltr;font-size:0;left:0;line-height:0;overflow:hidden;position:absolute;right:0;-webkit-tap-highlight-color:transparent;top:0;-ms-touch-action:none;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.viewer-container::-moz-selection,.viewer-container *::-moz-selection{background-color:transparent}.viewer-container::selection,.viewer-container *::selection{background-color:transparent}.viewer-container:focus{outline:0}.viewer-container img{display:block;height:auto;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.viewer-canvas{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0}.viewer-canvas>img{height:auto;margin:15px auto;max-width:90%!important;width:auto}.viewer-footer{bottom:0;left:0;overflow:hidden;position:absolute;right:0;text-align:center}.viewer-navbar{background-color:#0000007f;overflow:hidden}.viewer-list{box-sizing:content-box;height:50px;margin:0;overflow:hidden;padding:1px 0}.viewer-list>li{color:transparent;cursor:pointer;float:left;font-size:0;height:50px;line-height:0;opacity:.5;overflow:hidden;transition:opacity .15s;width:30px}.viewer-list>li:focus,.viewer-list>li:hover{opacity:.75}.viewer-list>li:focus{outline:0}.viewer-list>li+li{margin-left:1px}.viewer-list>.viewer-loading{position:relative}.viewer-list>.viewer-loading:after{border-width:2px;height:20px;margin-left:-10px;margin-top:-10px;width:20px}.viewer-list>.viewer-active,.viewer-list>.viewer-active:focus,.viewer-list>.viewer-active:hover{opacity:1}.viewer-player{background-color:#000;bottom:0;cursor:none;display:none;left:0;position:absolute;right:0;top:0;z-index:1}.viewer-player>img{left:0;position:absolute;top:0}.viewer-toolbar>ul{display:inline-block;margin:0 auto 5px;overflow:hidden;padding:6px 3px}.viewer-toolbar>ul>li{background-color:#0000007f;border-radius:50%;cursor:pointer;float:left;height:24px;overflow:hidden;transition:background-color .15s;width:24px}.viewer-toolbar>ul>li:focus,.viewer-toolbar>ul>li:hover{background-color:#000c}.viewer-toolbar>ul>li:focus{box-shadow:0 0 3px #fff;outline:0;position:relative;z-index:1}.viewer-toolbar>ul>li:before{margin:2px}.viewer-toolbar>ul>li+li{margin-left:1px}.viewer-toolbar>ul>.viewer-small{height:18px;margin-bottom:3px;margin-top:3px;width:18px}.viewer-toolbar>ul>.viewer-small:before{margin:-1px}.viewer-toolbar>ul>.viewer-large{height:30px;margin-bottom:-3px;margin-top:-3px;width:30px}.viewer-toolbar>ul>.viewer-large:before{margin:5px}.viewer-tooltip{background-color:#000c;border-radius:10px;color:#fff;display:none;font-size:12px;height:20px;left:50%;line-height:20px;margin-left:-25px;margin-top:-10px;position:absolute;text-align:center;top:50%;width:50px}.viewer-title{color:#ccc;display:inline-block;font-size:12px;line-height:1.2;margin:5px 5%;max-width:90%;min-height:14px;opacity:.8;overflow:hidden;text-overflow:ellipsis;transition:opacity .15s;white-space:nowrap}.viewer-title:hover{opacity:1}.viewer-button{-webkit-app-region:no-drag;background-color:#0000007f;border-radius:50%;cursor:pointer;height:80px;overflow:hidden;position:absolute;right:-40px;top:-40px;transition:background-color .15s;width:80px}.viewer-button:focus,.viewer-button:hover{background-color:#000c}.viewer-button:focus{box-shadow:0 0 3px #fff;outline:0}.viewer-button:before{bottom:15px;left:15px;position:absolute}.viewer-fixed{position:fixed}.viewer-open{overflow:hidden}.viewer-show{display:block}.viewer-hide{display:none}.viewer-backdrop{background-color:#0000007f}.viewer-invisible{visibility:hidden}.viewer-move{cursor:move;cursor:grab}.viewer-fade{opacity:0}.viewer-in{opacity:1}.viewer-transition{transition:all .3s}@keyframes viewer-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.viewer-loading:after{animation:viewer-spinner 1s linear infinite;border:4px solid rgba(255,255,255,10%);border-left-color:#ffffff7f;border-radius:50%;content:"";display:inline-block;height:40px;left:50%;margin-left:-20px;margin-top:-20px;position:absolute;top:50%;width:40px;z-index:1}@media (max-width: 767px){.viewer-hide-xs-down{display:none}}@media (max-width: 991px){.viewer-hide-sm-down{display:none}}@media (max-width: 1199px){.viewer-hide-md-down{display:none}}.vld-shown{overflow:hidden}.vld-overlay{bottom:0;left:0;position:absolute;right:0;top:0;align-items:center;display:none;justify-content:center;overflow:hidden;z-index:9999}.vld-overlay.is-active{display:flex}.vld-overlay.is-full-page{z-index:9999;position:fixed}.vld-overlay .vld-background{bottom:0;left:0;position:absolute;right:0;top:0;background:#fff;opacity:.5}.vld-overlay .vld-icon,.vld-parent{position:relative}.image-uploading{position:relative;display:inline-block}.image-uploading img{max-width:98%!important;filter:blur(5px);opacity:.3}.image-uploading:before{content:"";box-sizing:border-box;position:absolute;top:50%;left:50%;width:30px;height:30px;margin-top:-15px;margin-left:-15px;border-radius:50%;border:3px solid #ccc;border-top-color:#1e986c;z-index:1;animation:spinner .6s linear infinite}@keyframes spinner{to{transform:rotate(360deg)}}.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\2022"}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px;margin-left:1px;margin-right:1px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover{background-color:#f3f4f6}.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{background-color:#dbeafe;color:#2563eb}.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#2563eb}.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#2563eb}@media (pointer: coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#4b5563}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#4b5563}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#4b5563}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#4b5563;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#4b5563;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#4b5563}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#4b5563;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle;margin-right:1px;margin-left:1px}.ql-snow .ql-picker-label{cursor:pointer;display:flex;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding:5px 8px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#d1d5db;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#d1d5db}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#d1d5db}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:3px}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px;margin:2px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #d1d5db;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:#0003 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#d1d5db}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0px}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #d1d5db;box-shadow:0 0 5px #d1d5db;color:#4b5563;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #d1d5db;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #d1d5db;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0px;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#2563eb}.ql-container.ql-snow{border:1px solid #d1d5db}img{max-width:100%;height:auto}/*! + * Bootstrap v5.3.0 (https://getbootstrap.com/) + * Copyright 2011-2023 The Bootstrap Authors + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */:root,[data-bs-theme=light]{--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #2A8356;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 42, 131, 86;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: #113422;--bs-secondary-text-emphasis: #2b2f32;--bs-success-text-emphasis: #0a3622;--bs-info-text-emphasis: #055160;--bs-warning-text-emphasis: #664d03;--bs-danger-text-emphasis: #58151c;--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: #d4e6dd;--bs-secondary-bg-subtle: #e2e3e5;--bs-success-bg-subtle: #d1e7dd;--bs-info-bg-subtle: #cff4fc;--bs-warning-bg-subtle: #fff3cd;--bs-danger-bg-subtle: #f8d7da;--bs-light-bg-subtle: #fcfcfd;--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: #aacdbb;--bs-secondary-border-subtle: #c4c8cb;--bs-success-border-subtle: #a3cfbb;--bs-info-border-subtle: #9eeaf9;--bs-warning-border-subtle: #ffe69c;--bs-danger-border-subtle: #f1aeb5;--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, .75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, .5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #2A8356;--bs-link-color-rgb: 42, 131, 86;--bs-link-decoration: underline;--bs-link-hover-color: #226945;--bs-link-hover-color-rgb: 34, 105, 69;--bs-code-color: #d63384;--bs-highlight-bg: #fff3cd;--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, .175);--bs-border-radius: .375rem;--bs-border-radius-sm: .25rem;--bs-border-radius-lg: .5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-box-shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, .175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, .075);--bs-focus-ring-width: .25rem;--bs-focus-ring-opacity: .25;--bs-focus-ring-color: rgba(42, 131, 86, .25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #adb5bd;--bs-body-color-rgb: 173, 181, 189;--bs-body-bg: #212529;--bs-body-bg-rgb: 33, 37, 41;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(173, 181, 189, .75);--bs-secondary-color-rgb: 173, 181, 189;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(173, 181, 189, .5);--bs-tertiary-color-rgb: 173, 181, 189;--bs-tertiary-bg: #2b3035;--bs-tertiary-bg-rgb: 43, 48, 53;--bs-primary-text-emphasis: #7fb59a;--bs-secondary-text-emphasis: #a7acb1;--bs-success-text-emphasis: #75b798;--bs-info-text-emphasis: #6edff6;--bs-warning-text-emphasis: #ffda6a;--bs-danger-text-emphasis: #ea868f;--bs-light-text-emphasis: #f8f9fa;--bs-dark-text-emphasis: #dee2e6;--bs-primary-bg-subtle: #081a11;--bs-secondary-bg-subtle: #161719;--bs-success-bg-subtle: #051b11;--bs-info-bg-subtle: #032830;--bs-warning-bg-subtle: #332701;--bs-danger-bg-subtle: #2c0b0e;--bs-light-bg-subtle: #343a40;--bs-dark-bg-subtle: #1a1d20;--bs-primary-border-subtle: #194f34;--bs-secondary-border-subtle: #41464b;--bs-success-border-subtle: #0f5132;--bs-info-border-subtle: #087990;--bs-warning-border-subtle: #997404;--bs-danger-border-subtle: #842029;--bs-light-border-subtle: #495057;--bs-dark-border-subtle: #343a40;--bs-heading-color: inherit;--bs-link-color: #7fb59a;--bs-link-hover-color: #99c4ae;--bs-link-color-rgb: 127, 181, 154;--bs-link-hover-color-rgb: 153, 196, 174;--bs-code-color: #e685b5;--bs-border-color: #495057;--bs-border-color-translucent: rgba(255, 255, 255, .15);--bs-form-valid-color: #75b798;--bs-form-valid-border-color: #75b798;--bs-form-invalid-color: #ea868f;--bs-form-invalid-border-color: #ea868f}*,*:before,*:after{box-sizing:border-box}@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}h6,.h6,h5,.h5,h4,.h4,h3,.h3,h2,.h2,h1,.h1{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}h1,.h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width: 1200px){h1,.h1{font-size:2.5rem}}h2,.h2{font-size:calc(1.325rem + .9vw)}@media (min-width: 1200px){h2,.h2{font-size:2rem}}h3,.h3{font-size:calc(1.3rem + .6vw)}@media (min-width: 1200px){h3,.h3{font-size:1.75rem}}h4,.h4{font-size:calc(1.275rem + .3vw)}@media (min-width: 1200px){h4,.h4{font-size:1.5rem}}h5,.h5{font-size:1.25rem}h6,.h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{text-decoration:underline dotted;cursor:help;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small,.small{font-size:.875em}mark,.mark{padding:.1875em;background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, 1));text-decoration:underline}a:hover{--bs-link-color-rgb: var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}pre,code,kbd,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width: 1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-6{font-size:2.5rem}}.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"\2014\a0"}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-xxl,.container-xl,.container-lg,.container-md,.container-sm{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width: 576px){.container-sm,.container{max-width:540px}}@media (min-width: 768px){.container-md,.container-sm,.container{max-width:720px}}@media (min-width: 992px){.container-lg,.container-md,.container-sm,.container{max-width:960px}}@media (min-width: 1200px){.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1140px}}@media (min-width: 1400px){.container-xxl,.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1320px}}:root{--bs-breakpoint-xs: 0;--bs-breakpoint-sm: 576px;--bs-breakpoint-md: 768px;--bs-breakpoint-lg: 992px;--bs-breakpoint-xl: 1200px;--bs-breakpoint-xxl: 1400px}.row{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.6666666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x: 0}.g-0,.gy-0{--bs-gutter-y: 0}.g-1,.gx-1{--bs-gutter-x: .25rem}.g-1,.gy-1{--bs-gutter-y: .25rem}.g-2,.gx-2{--bs-gutter-x: .5rem}.g-2,.gy-2{--bs-gutter-y: .5rem}.g-3,.gx-3{--bs-gutter-x: 1rem}.g-3,.gy-3{--bs-gutter-y: 1rem}.g-4,.gx-4{--bs-gutter-x: 1.5rem}.g-4,.gy-4{--bs-gutter-y: 1.5rem}.g-5,.gx-5{--bs-gutter-x: 3rem}.g-5,.gy-5{--bs-gutter-y: 3rem}@media (min-width: 576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.6666666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x: 0}.g-sm-0,.gy-sm-0{--bs-gutter-y: 0}.g-sm-1,.gx-sm-1{--bs-gutter-x: .25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y: .25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x: .5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y: .5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x: 1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y: 1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x: 1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y: 1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x: 3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y: 3rem}}@media (min-width: 768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.6666666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x: 0}.g-md-0,.gy-md-0{--bs-gutter-y: 0}.g-md-1,.gx-md-1{--bs-gutter-x: .25rem}.g-md-1,.gy-md-1{--bs-gutter-y: .25rem}.g-md-2,.gx-md-2{--bs-gutter-x: .5rem}.g-md-2,.gy-md-2{--bs-gutter-y: .5rem}.g-md-3,.gx-md-3{--bs-gutter-x: 1rem}.g-md-3,.gy-md-3{--bs-gutter-y: 1rem}.g-md-4,.gx-md-4{--bs-gutter-x: 1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y: 1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x: 3rem}.g-md-5,.gy-md-5{--bs-gutter-y: 3rem}}@media (min-width: 992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.6666666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x: 0}.g-lg-0,.gy-lg-0{--bs-gutter-y: 0}.g-lg-1,.gx-lg-1{--bs-gutter-x: .25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y: .25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x: .5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y: .5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x: 1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y: 1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x: 1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y: 1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x: 3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y: 3rem}}@media (min-width: 1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x: 0}.g-xl-0,.gy-xl-0{--bs-gutter-y: 0}.g-xl-1,.gx-xl-1{--bs-gutter-x: .25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y: .25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x: .5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y: .5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x: 1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y: 1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x: 1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y: 1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x: 3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y: 3rem}}@media (min-width: 1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x: 0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y: 0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x: .25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y: .25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x: .5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y: .5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x: 1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y: 1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x: 1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y: 1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x: 3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y: 3rem}}.table{--bs-table-color-type: initial;--bs-table-bg-type: initial;--bs-table-color-state: initial;--bs-table-bg-state: initial;--bs-table-color: var(--bs-body-color);--bs-table-bg: var(--bs-body-bg);--bs-table-border-color: var(--bs-border-color);--bs-table-accent-bg: transparent;--bs-table-striped-color: var(--bs-body-color);--bs-table-striped-bg: rgba(0, 0, 0, .05);--bs-table-active-color: var(--bs-body-color);--bs-table-active-bg: rgba(0, 0, 0, .1);--bs-table-hover-color: var(--bs-body-color);--bs-table-hover-bg: rgba(0, 0, 0, .075);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;color:var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)))}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-striped-columns>:not(caption)>tr>:nth-child(even){--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-active{--bs-table-color-state: var(--bs-table-active-color);--bs-table-bg-state: var(--bs-table-active-bg)}.table-hover>tbody>tr:hover>*{--bs-table-color-state: var(--bs-table-hover-color);--bs-table-bg-state: var(--bs-table-hover-bg)}.table-primary{--bs-table-color: #000;--bs-table-bg: #d4e6dd;--bs-table-border-color: #bfcfc7;--bs-table-striped-bg: #c9dbd2;--bs-table-striped-color: #000;--bs-table-active-bg: #bfcfc7;--bs-table-active-color: #000;--bs-table-hover-bg: #c4d5cc;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color: #000;--bs-table-bg: #e2e3e5;--bs-table-border-color: #cbccce;--bs-table-striped-bg: #d7d8da;--bs-table-striped-color: #000;--bs-table-active-bg: #cbccce;--bs-table-active-color: #000;--bs-table-hover-bg: #d1d2d4;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color: #000;--bs-table-bg: #d1e7dd;--bs-table-border-color: #bcd0c7;--bs-table-striped-bg: #c7dbd2;--bs-table-striped-color: #000;--bs-table-active-bg: #bcd0c7;--bs-table-active-color: #000;--bs-table-hover-bg: #c1d6cc;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color: #000;--bs-table-bg: #cff4fc;--bs-table-border-color: #badce3;--bs-table-striped-bg: #c5e8ef;--bs-table-striped-color: #000;--bs-table-active-bg: #badce3;--bs-table-active-color: #000;--bs-table-hover-bg: #bfe2e9;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color: #000;--bs-table-bg: #fff3cd;--bs-table-border-color: #e6dbb9;--bs-table-striped-bg: #f2e7c3;--bs-table-striped-color: #000;--bs-table-active-bg: #e6dbb9;--bs-table-active-color: #000;--bs-table-hover-bg: #ece1be;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color: #000;--bs-table-bg: #f8d7da;--bs-table-border-color: #dfc2c4;--bs-table-striped-bg: #eccccf;--bs-table-striped-color: #000;--bs-table-active-bg: #dfc2c4;--bs-table-active-color: #000;--bs-table-hover-bg: #e5c7ca;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color: #000;--bs-table-bg: #f8f9fa;--bs-table-border-color: #dfe0e1;--bs-table-striped-bg: #ecedee;--bs-table-striped-color: #000;--bs-table-active-bg: #dfe0e1;--bs-table-active-color: #000;--bs-table-hover-bg: #e5e6e7;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color: #fff;--bs-table-bg: #212529;--bs-table-border-color: #373b3e;--bs-table-striped-bg: #2c3034;--bs-table-striped-color: #fff;--bs-table-active-bg: #373b3e;--bs-table-active-color: #fff;--bs-table-hover-bg: #323539;--bs-table-hover-color: #fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width: 575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + var(--bs-border-width));padding-bottom:calc(.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + var(--bs-border-width));padding-bottom:calc(.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + var(--bs-border-width));padding-bottom:calc(.25rem + var(--bs-border-width));font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);appearance:none;border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:#95c1ab;outline:0;box-shadow:0 0 0 .25rem #2a835640}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:transparent;border:solid transparent;border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-sm,.form-control-plaintext.form-control-lg{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon, none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion: reduce){.form-select{transition:none}}.form-select:focus{border-color:#95c1ab;outline:0;box-shadow:0 0 0 .25rem #2a835640}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23adb5bd' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{--bs-form-check-bg: var(--bs-body-bg);width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);appearance:none;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#95c1ab;outline:0;box-shadow:0 0 0 .25rem #2a835640}.form-check-input:checked{background-color:#2a8356;border-color:#2a8356}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#2a8356;border-color:#2a8356;--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input[disabled]~.form-check-label,.form-check-input:disabled~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2395c1ab'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check[disabled]+.btn,.btn-check:disabled+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e")}.form-range{width:100%;height:1.5rem;padding:0;background-color:transparent;appearance:none}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #2a835640}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #2a835640}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#2a8356;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion: reduce){.form-range::-webkit-slider-thumb{transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#bfdacc}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-tertiary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#2a8356;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion: reduce){.form-range::-moz-range-thumb{transition:none}}.form-range::-moz-range-thumb:active{background-color:#bfdacc}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-tertiary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));min-height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion: reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control::placeholder,.form-floating>.form-control-plaintext::placeholder{color:transparent}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown),.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill,.form-floating>.form-control-plaintext:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-control-plaintext~label,.form-floating>.form-select~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:focus~label:after,.form-floating>.form-control:not(:placeholder-shown)~label:after,.form-floating>.form-control-plaintext~label:after,.form-floating>.form-select~label:after{position:absolute;inset:1rem .375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:-webkit-autofill~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>:disabled~label{color:#6c757d}.form-floating>:disabled~label:after{background-color:var(--bs-secondary-bg)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select,.input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus,.input-group>.form-floating:focus-within{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text,.input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text,.input-group-sm>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n + 3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>:nth-last-child(n + 3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group.has-validation>.dropdown-toggle:nth-last-child(n + 4),.input-group.has-validation>.form-floating:nth-last-child(n + 3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n + 3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(var(--bs-border-width) * -1);border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip,.is-valid~.valid-feedback,.is-valid~.valid-tooltip{display:block}.was-validated .form-control:valid,.form-control.is-valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:valid:focus,.form-control.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:valid,.form-select.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"],.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:valid:focus,.form-select.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated .form-control-color:valid,.form-control-color.is-valid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:valid,.form-check-input.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-check-input:valid:checked,.form-check-input.is-valid:checked{background-color:var(--bs-form-valid-color)}.was-validated .form-check-input:valid:focus,.form-check-input.is-valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated .form-check-input:valid~.form-check-label,.form-check-input.is-valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):valid,.input-group>.form-control:not(:focus).is-valid,.was-validated .input-group>.form-select:not(:focus):valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.input-group>.form-floating:not(:focus-within).is-valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip,.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip{display:block}.was-validated .form-control:invalid,.form-control.is-invalid{border-color:var(--bs-form-invalid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:invalid:focus,.form-control.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:invalid,.form-select.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"],.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:invalid:focus,.form-select.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated .form-control-color:invalid,.form-control-color.is-invalid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:invalid,.form-check-input.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-check-input:invalid:checked,.form-check-input.is-invalid:checked{background-color:var(--bs-form-invalid-color)}.was-validated .form-check-input:invalid:focus,.form-check-input.is-invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated .form-check-input:invalid~.form-check-label,.form-check-input.is-invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):invalid,.input-group>.form-control:not(:focus).is-invalid,.was-validated .input-group>.form-select:not(:focus):invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.input-group>.form-floating:not(:focus-within).is-invalid{z-index:4}.btn{--bs-btn-padding-x: .75rem;--bs-btn-padding-y: .375rem;--bs-btn-font-family: ;--bs-btn-font-size:1rem;--bs-btn-font-weight: 400;--bs-btn-line-height: 1.5;--bs-btn-color: var(--bs-body-color);--bs-btn-bg: transparent;--bs-btn-border-width: var(--bs-border-width);--bs-btn-border-color: transparent;--bs-btn-border-radius: var(--bs-border-radius);--bs-btn-hover-border-color: transparent;--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);--bs-btn-disabled-opacity: .65;--bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,:not(.btn-check)+.btn:active,.btn:first-child:active,.btn.active,.btn.show{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,:not(.btn-check)+.btn:active:focus-visible,.btn:first-child:active:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn:disabled,.btn.disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color: #fff;--bs-btn-bg: #2A8356;--bs-btn-border-color: #2A8356;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #246f49;--bs-btn-hover-border-color: #226945;--bs-btn-focus-shadow-rgb: 74, 150, 111;--bs-btn-active-color: #fff;--bs-btn-active-bg: #226945;--bs-btn-active-border-color: #206241;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #2A8356;--bs-btn-disabled-border-color: #2A8356}.btn-secondary{--bs-btn-color: #fff;--bs-btn-bg: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #5c636a;--bs-btn-hover-border-color: #565e64;--bs-btn-focus-shadow-rgb: 130, 138, 145;--bs-btn-active-color: #fff;--bs-btn-active-bg: #565e64;--bs-btn-active-border-color: #51585e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #6c757d;--bs-btn-disabled-border-color: #6c757d}.btn-success{--bs-btn-color: #fff;--bs-btn-bg: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #157347;--bs-btn-hover-border-color: #146c43;--bs-btn-focus-shadow-rgb: 60, 153, 110;--bs-btn-active-color: #fff;--bs-btn-active-bg: #146c43;--bs-btn-active-border-color: #13653f;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #198754;--bs-btn-disabled-border-color: #198754}.btn-info{--bs-btn-color: #000;--bs-btn-bg: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #31d2f2;--bs-btn-hover-border-color: #25cff2;--bs-btn-focus-shadow-rgb: 11, 172, 204;--bs-btn-active-color: #000;--bs-btn-active-bg: #3dd5f3;--bs-btn-active-border-color: #25cff2;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #0dcaf0;--bs-btn-disabled-border-color: #0dcaf0}.btn-warning{--bs-btn-color: #000;--bs-btn-bg: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffca2c;--bs-btn-hover-border-color: #ffc720;--bs-btn-focus-shadow-rgb: 217, 164, 6;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffcd39;--bs-btn-active-border-color: #ffc720;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #ffc107;--bs-btn-disabled-border-color: #ffc107}.btn-danger{--bs-btn-color: #fff;--bs-btn-bg: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #bb2d3b;--bs-btn-hover-border-color: #b02a37;--bs-btn-focus-shadow-rgb: 225, 83, 97;--bs-btn-active-color: #fff;--bs-btn-active-bg: #b02a37;--bs-btn-active-border-color: #a52834;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #dc3545;--bs-btn-disabled-border-color: #dc3545}.btn-light{--bs-btn-color: #000;--bs-btn-bg: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #d3d4d5;--bs-btn-hover-border-color: #c6c7c8;--bs-btn-focus-shadow-rgb: 211, 212, 213;--bs-btn-active-color: #000;--bs-btn-active-bg: #c6c7c8;--bs-btn-active-border-color: #babbbc;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #f8f9fa;--bs-btn-disabled-border-color: #f8f9fa}.btn-dark{--bs-btn-color: #fff;--bs-btn-bg: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #424649;--bs-btn-hover-border-color: #373b3e;--bs-btn-focus-shadow-rgb: 66, 70, 73;--bs-btn-active-color: #fff;--bs-btn-active-bg: #4d5154;--bs-btn-active-border-color: #373b3e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #212529;--bs-btn-disabled-border-color: #212529}.btn-outline-primary{--bs-btn-color: #2A8356;--bs-btn-border-color: #2A8356;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #2A8356;--bs-btn-hover-border-color: #2A8356;--bs-btn-focus-shadow-rgb: 42, 131, 86;--bs-btn-active-color: #fff;--bs-btn-active-bg: #2A8356;--bs-btn-active-border-color: #2A8356;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #2A8356;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #2A8356;--bs-gradient: none}.btn-outline-secondary{--bs-btn-color: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #6c757d;--bs-btn-hover-border-color: #6c757d;--bs-btn-focus-shadow-rgb: 108, 117, 125;--bs-btn-active-color: #fff;--bs-btn-active-bg: #6c757d;--bs-btn-active-border-color: #6c757d;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #6c757d;--bs-gradient: none}.btn-outline-success{--bs-btn-color: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #198754;--bs-btn-hover-border-color: #198754;--bs-btn-focus-shadow-rgb: 25, 135, 84;--bs-btn-active-color: #fff;--bs-btn-active-bg: #198754;--bs-btn-active-border-color: #198754;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #198754;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #198754;--bs-gradient: none}.btn-outline-info{--bs-btn-color: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #0dcaf0;--bs-btn-hover-border-color: #0dcaf0;--bs-btn-focus-shadow-rgb: 13, 202, 240;--bs-btn-active-color: #000;--bs-btn-active-bg: #0dcaf0;--bs-btn-active-border-color: #0dcaf0;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0dcaf0;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0dcaf0;--bs-gradient: none}.btn-outline-warning{--bs-btn-color: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffc107;--bs-btn-hover-border-color: #ffc107;--bs-btn-focus-shadow-rgb: 255, 193, 7;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffc107;--bs-btn-active-border-color: #ffc107;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #ffc107;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #ffc107;--bs-gradient: none}.btn-outline-danger{--bs-btn-color: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #dc3545;--bs-btn-hover-border-color: #dc3545;--bs-btn-focus-shadow-rgb: 220, 53, 69;--bs-btn-active-color: #fff;--bs-btn-active-bg: #dc3545;--bs-btn-active-border-color: #dc3545;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #dc3545;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #dc3545;--bs-gradient: none}.btn-outline-light{--bs-btn-color: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #f8f9fa;--bs-btn-hover-border-color: #f8f9fa;--bs-btn-focus-shadow-rgb: 248, 249, 250;--bs-btn-active-color: #000;--bs-btn-active-bg: #f8f9fa;--bs-btn-active-border-color: #f8f9fa;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #f8f9fa;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #f8f9fa;--bs-gradient: none}.btn-outline-dark{--bs-btn-color: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #212529;--bs-btn-hover-border-color: #212529;--bs-btn-focus-shadow-rgb: 33, 37, 41;--bs-btn-active-color: #fff;--bs-btn-active-bg: #212529;--bs-btn-active-border-color: #212529;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #212529;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #212529;--bs-gradient: none}.btn-link{--bs-btn-font-weight: 400;--bs-btn-color: var(--bs-link-color);--bs-btn-bg: transparent;--bs-btn-border-color: transparent;--bs-btn-hover-color: var(--bs-link-hover-color);--bs-btn-hover-border-color: transparent;--bs-btn-active-color: var(--bs-link-hover-color);--bs-btn-active-border-color: transparent;--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-border-color: transparent;--bs-btn-box-shadow: 0 0 0 #000;--bs-btn-focus-shadow-rgb: 74, 150, 111;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-lg,.btn-group-lg>.btn{--bs-btn-padding-y: .5rem;--bs-btn-padding-x: 1rem;--bs-btn-font-size:1.25rem;--bs-btn-border-radius: var(--bs-border-radius-lg)}.btn-sm,.btn-group-sm>.btn{--bs-btn-padding-y: .25rem;--bs-btn-padding-x: .5rem;--bs-btn-font-size:.875rem;--bs-btn-border-radius: var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion: reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion: reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion: reduce){.collapsing.collapse-horizontal{transition:none}}.dropup,.dropend,.dropdown,.dropstart,.dropup-center,.dropdown-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex: 1000;--bs-dropdown-min-width: 10rem;--bs-dropdown-padding-x: 0;--bs-dropdown-padding-y: .5rem;--bs-dropdown-spacer: .125rem;--bs-dropdown-font-size:1rem;--bs-dropdown-color: var(--bs-body-color);--bs-dropdown-bg: var(--bs-body-bg);--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-border-radius: var(--bs-border-radius);--bs-dropdown-border-width: var(--bs-border-width);--bs-dropdown-inner-border-radius: calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y: .5rem;--bs-dropdown-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-dropdown-link-color: var(--bs-body-color);--bs-dropdown-link-hover-color: var(--bs-body-color);--bs-dropdown-link-hover-bg: var(--bs-tertiary-bg);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #2A8356;--bs-dropdown-link-disabled-color: var(--bs-tertiary-color);--bs-dropdown-item-padding-x: 1rem;--bs-dropdown-item-padding-y: .25rem;--bs-dropdown-header-color: #6c757d;--bs-dropdown-header-padding-x: 1rem;--bs-dropdown-header-padding-y: .5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position: start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position: end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width: 576px){.dropdown-menu-sm-start{--bs-position: start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position: end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 768px){.dropdown-menu-md-start{--bs-position: start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position: end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 992px){.dropdown-menu-lg-start{--bs-position: start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position: end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 1200px){.dropdown-menu-xl-start{--bs-position: start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position: end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 1400px){.dropdown-menu-xxl-start{--bs-position: start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position: end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle:after{display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--bs-dropdown-item-border-radius, 0)}.dropdown-item:hover,.dropdown-item:focus{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color: #dee2e6;--bs-dropdown-bg: #343a40;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color: #dee2e6;--bs-dropdown-link-hover-color: #fff;--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg: rgba(255, 255, 255, .15);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #2A8356;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-header-color: #adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;flex:1 1 auto}.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn:hover,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn.active{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>:not(.btn-check:first-child)+.btn,.btn-group>.btn-group:not(:first-child){margin-left:calc(var(--bs-border-width) * -1)}.btn-group>.btn:not(:last-child):not(.dropdown-toggle),.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:nth-child(n + 3),.btn-group>:not(.btn-check)+.btn,.btn-group>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-sm+.dropdown-toggle-split,.btn-group-sm>.btn+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-lg+.dropdown-toggle-split,.btn-group-lg>.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn:not(:first-child),.btn-group-vertical>.btn-group:not(:first-child){margin-top:calc(var(--bs-border-width) * -1)}.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle),.btn-group-vertical>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn~.btn,.btn-group-vertical>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:none;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion: reduce){.nav-link{transition:none}}.nav-link:hover,.nav-link:focus{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem #2a835640}.nav-link.disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width: var(--bs-border-width);--bs-nav-tabs-border-color: var(--bs-border-color);--bs-nav-tabs-border-radius: var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color: var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg: var(--bs-body-bg);--bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:hover,.nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.disabled,.nav-tabs .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-tabs .nav-link.active,.nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius: var(--bs-border-radius);--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #2A8356}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap: 1rem;--bs-nav-underline-border-width: .125rem;--bs-nav-underline-link-active-color: var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}.nav-underline .nav-link:hover,.nav-underline .nav-link:focus{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill>.nav-link,.nav-fill .nav-item{flex:1 1 auto;text-align:center}.nav-justified>.nav-link,.nav-justified .nav-item{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x: 0;--bs-navbar-padding-y: .5rem;--bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), .65);--bs-navbar-hover-color: rgba(var(--bs-emphasis-color-rgb), .8);--bs-navbar-disabled-color: rgba(var(--bs-emphasis-color-rgb), .3);--bs-navbar-active-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y: .3125rem;--bs-navbar-brand-margin-end: 1rem;--bs-navbar-brand-font-size: 1.25rem;--bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x: .5rem;--bs-navbar-toggler-padding-y: .25rem;--bs-navbar-toggler-padding-x: .75rem;--bs-navbar-toggler-font-size: 1.25rem;--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color: rgba(var(--bs-emphasis-color-rgb), .15);--bs-navbar-toggler-border-radius: var(--bs-border-radius);--bs-navbar-toggler-focus-width: .25rem;--bs-navbar-toggler-transition: box-shadow .15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-sm,.navbar>.container-md,.navbar>.container-lg,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:hover,.navbar-brand:focus{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x: 0;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-navbar-color);--bs-nav-link-hover-color: var(--bs-navbar-hover-color);--bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:hover,.navbar-text a:focus{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion: reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height, 75vh);overflow-y:auto}@media (min-width: 576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark,.navbar[data-bs-theme=dark]{--bs-navbar-color: rgba(255, 255, 255, .55);--bs-navbar-hover-color: rgba(255, 255, 255, .75);--bs-navbar-disabled-color: rgba(255, 255, 255, .25);--bs-navbar-active-color: #fff;--bs-navbar-brand-color: #fff;--bs-navbar-brand-hover-color: #fff;--bs-navbar-toggler-border-color: rgba(255, 255, 255, .1);--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y: 1rem;--bs-card-spacer-x: 1rem;--bs-card-title-spacer-y: .5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width: var(--bs-border-width);--bs-card-border-color: var(--bs-border-color-translucent);--bs-card-border-radius: var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y: .5rem;--bs-card-cap-padding-x: 1rem;--bs-card-cap-bg: rgba(var(--bs-body-color-rgb), .03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg: var(--bs-body-bg);--bs-card-img-overlay-padding: 1rem;--bs-card-group-margin: .75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-top,.card-img-bottom{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width: 576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-img-top,.card-group>.card:not(:last-child) .card-header{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-img-bottom,.card-group>.card:not(:last-child) .card-footer{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-img-top,.card-group>.card:not(:first-child) .card-header{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-img-bottom,.card-group>.card:not(:first-child) .card-footer{border-bottom-left-radius:0}}.accordion{--bs-accordion-color: var(--bs-body-color);--bs-accordion-bg: var(--bs-body-bg);--bs-accordion-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;--bs-accordion-border-color: var(--bs-border-color);--bs-accordion-border-width: var(--bs-border-width);--bs-accordion-border-radius: var(--bs-border-radius);--bs-accordion-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x: 1.25rem;--bs-accordion-btn-padding-y: 1rem;--bs-accordion-btn-color: var(--bs-body-color);--bs-accordion-btn-bg: var(--bs-accordion-bg);--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width: 1.25rem;--bs-accordion-btn-icon-transform: rotate(-180deg);--bs-accordion-btn-icon-transition: transform .2s ease-in-out;--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23113422'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-focus-border-color: #95c1ab;--bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(42, 131, 86, .25);--bs-accordion-body-padding-x: 1.25rem;--bs-accordion-body-padding-y: 1rem;--bs-accordion-active-color: var(--bs-primary-text-emphasis);--bs-accordion-active-bg: var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion: reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion: reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:var(--bs-accordion-btn-focus-border-color);outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type .accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button,.accordion-flush .accordion-item .accordion-button.collapsed{border-radius:0}[data-bs-theme=dark] .accordion-button:after{--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237fb59a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237fb59a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.breadcrumb{--bs-breadcrumb-padding-x: 0;--bs-breadcrumb-padding-y: 0;--bs-breadcrumb-margin-bottom: 1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color: var(--bs-secondary-color);--bs-breadcrumb-item-padding-x: .5rem;--bs-breadcrumb-item-active-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x: .75rem;--bs-pagination-padding-y: .375rem;--bs-pagination-font-size:1rem;--bs-pagination-color: var(--bs-link-color);--bs-pagination-bg: var(--bs-body-bg);--bs-pagination-border-width: var(--bs-border-width);--bs-pagination-border-color: var(--bs-border-color);--bs-pagination-border-radius: var(--bs-border-radius);--bs-pagination-hover-color: var(--bs-link-hover-color);--bs-pagination-hover-bg: var(--bs-tertiary-bg);--bs-pagination-hover-border-color: var(--bs-border-color);--bs-pagination-focus-color: var(--bs-link-hover-color);--bs-pagination-focus-bg: var(--bs-secondary-bg);--bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(42, 131, 86, .25);--bs-pagination-active-color: #fff;--bs-pagination-active-bg: #2A8356;--bs-pagination-active-border-color: #2A8356;--bs-pagination-disabled-color: var(--bs-secondary-color);--bs-pagination-disabled-bg: var(--bs-secondary-bg);--bs-pagination-disabled-border-color: var(--bs-border-color);display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.page-link.active,.active>.page-link{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.page-link.disabled,.disabled>.page-link{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(var(--bs-border-width) * -1)}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x: 1.5rem;--bs-pagination-padding-y: .75rem;--bs-pagination-font-size:1.25rem;--bs-pagination-border-radius: var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x: .5rem;--bs-pagination-padding-y: .25rem;--bs-pagination-font-size:.875rem;--bs-pagination-border-radius: var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x: .65em;--bs-badge-padding-y: .35em;--bs-badge-font-size:.75em;--bs-badge-font-weight: 700;--bs-badge-color: #fff;--bs-badge-border-radius: var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg: transparent;--bs-alert-padding-x: 1rem;--bs-alert-padding-y: 1rem;--bs-alert-margin-bottom: 1rem;--bs-alert-color: inherit;--bs-alert-border-color: transparent;--bs-alert-border: var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius: var(--bs-border-radius);--bs-alert-link-color: inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color: var(--bs-primary-text-emphasis);--bs-alert-bg: var(--bs-primary-bg-subtle);--bs-alert-border-color: var(--bs-primary-border-subtle);--bs-alert-link-color: var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color: var(--bs-secondary-text-emphasis);--bs-alert-bg: var(--bs-secondary-bg-subtle);--bs-alert-border-color: var(--bs-secondary-border-subtle);--bs-alert-link-color: var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color: var(--bs-success-text-emphasis);--bs-alert-bg: var(--bs-success-bg-subtle);--bs-alert-border-color: var(--bs-success-border-subtle);--bs-alert-link-color: var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color: var(--bs-info-text-emphasis);--bs-alert-bg: var(--bs-info-bg-subtle);--bs-alert-border-color: var(--bs-info-border-subtle);--bs-alert-link-color: var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color: var(--bs-warning-text-emphasis);--bs-alert-bg: var(--bs-warning-bg-subtle);--bs-alert-border-color: var(--bs-warning-border-subtle);--bs-alert-link-color: var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color: var(--bs-danger-text-emphasis);--bs-alert-bg: var(--bs-danger-bg-subtle);--bs-alert-border-color: var(--bs-danger-border-subtle);--bs-alert-link-color: var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color: var(--bs-light-text-emphasis);--bs-alert-bg: var(--bs-light-bg-subtle);--bs-alert-border-color: var(--bs-light-border-subtle);--bs-alert-link-color: var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color: var(--bs-dark-text-emphasis);--bs-alert-bg: var(--bs-dark-bg-subtle);--bs-alert-border-color: var(--bs-dark-border-subtle);--bs-alert-link-color: var(--bs-dark-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress,.progress-stacked{--bs-progress-height: 1rem;--bs-progress-font-size:.75rem;--bs-progress-bg: var(--bs-secondary-bg);--bs-progress-border-radius: var(--bs-border-radius);--bs-progress-box-shadow: var(--bs-box-shadow-inset);--bs-progress-bar-color: #fff;--bs-progress-bar-bg: #2A8356;--bs-progress-bar-transition: width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion: reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion: reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color: var(--bs-body-color);--bs-list-group-bg: var(--bs-body-bg);--bs-list-group-border-color: var(--bs-border-color);--bs-list-group-border-width: var(--bs-border-width);--bs-list-group-border-radius: var(--bs-border-radius);--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: var(--bs-secondary-color);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-tertiary-bg);--bs-list-group-action-active-color: var(--bs-body-color);--bs-list-group-action-active-bg: var(--bs-secondary-bg);--bs-list-group-disabled-color: var(--bs-secondary-color);--bs-list-group-disabled-bg: var(--bs-body-bg);--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #2A8356;--bs-list-group-active-border-color: #2A8356;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:hover,.list-group-item-action:focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width: 576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color: var(--bs-primary-text-emphasis);--bs-list-group-bg: var(--bs-primary-bg-subtle);--bs-list-group-border-color: var(--bs-primary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-primary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-primary-border-subtle);--bs-list-group-active-color: var(--bs-primary-bg-subtle);--bs-list-group-active-bg: var(--bs-primary-text-emphasis);--bs-list-group-active-border-color: var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color: var(--bs-secondary-text-emphasis);--bs-list-group-bg: var(--bs-secondary-bg-subtle);--bs-list-group-border-color: var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-secondary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-secondary-border-subtle);--bs-list-group-active-color: var(--bs-secondary-bg-subtle);--bs-list-group-active-bg: var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color: var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color: var(--bs-success-text-emphasis);--bs-list-group-bg: var(--bs-success-bg-subtle);--bs-list-group-border-color: var(--bs-success-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-success-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-success-border-subtle);--bs-list-group-active-color: var(--bs-success-bg-subtle);--bs-list-group-active-bg: var(--bs-success-text-emphasis);--bs-list-group-active-border-color: var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color: var(--bs-info-text-emphasis);--bs-list-group-bg: var(--bs-info-bg-subtle);--bs-list-group-border-color: var(--bs-info-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-info-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-info-border-subtle);--bs-list-group-active-color: var(--bs-info-bg-subtle);--bs-list-group-active-bg: var(--bs-info-text-emphasis);--bs-list-group-active-border-color: var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color: var(--bs-warning-text-emphasis);--bs-list-group-bg: var(--bs-warning-bg-subtle);--bs-list-group-border-color: var(--bs-warning-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-warning-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-warning-border-subtle);--bs-list-group-active-color: var(--bs-warning-bg-subtle);--bs-list-group-active-bg: var(--bs-warning-text-emphasis);--bs-list-group-active-border-color: var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color: var(--bs-danger-text-emphasis);--bs-list-group-bg: var(--bs-danger-bg-subtle);--bs-list-group-border-color: var(--bs-danger-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-danger-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-danger-border-subtle);--bs-list-group-active-color: var(--bs-danger-bg-subtle);--bs-list-group-active-bg: var(--bs-danger-text-emphasis);--bs-list-group-active-border-color: var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color: var(--bs-light-text-emphasis);--bs-list-group-bg: var(--bs-light-bg-subtle);--bs-list-group-border-color: var(--bs-light-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-light-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-light-border-subtle);--bs-list-group-active-color: var(--bs-light-bg-subtle);--bs-list-group-active-bg: var(--bs-light-text-emphasis);--bs-list-group-active-border-color: var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color: var(--bs-dark-text-emphasis);--bs-list-group-bg: var(--bs-dark-bg-subtle);--bs-list-group-border-color: var(--bs-dark-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-dark-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-dark-border-subtle);--bs-list-group-active-color: var(--bs-dark-bg-subtle);--bs-list-group-active-bg: var(--bs-dark-text-emphasis);--bs-list-group-active-border-color: var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color: #000;--bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");--bs-btn-close-opacity: .5;--bs-btn-close-hover-opacity: .75;--bs-btn-close-focus-shadow: 0 0 0 .25rem rgba(42, 131, 86, .25);--bs-btn-close-focus-opacity: 1;--bs-btn-close-disabled-opacity: .25;--bs-btn-close-white-filter: invert(1) grayscale(100%) brightness(200%);box-sizing:content-box;width:1em;height:1em;padding:.25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close:disabled,.btn-close.disabled{pointer-events:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white,[data-bs-theme=dark] .btn-close{filter:var(--bs-btn-close-white-filter)}.toast{--bs-toast-zindex: 1090;--bs-toast-padding-x: .75rem;--bs-toast-padding-y: .5rem;--bs-toast-spacing: 1.5rem;--bs-toast-max-width: 350px;--bs-toast-font-size:.875rem;--bs-toast-color: ;--bs-toast-bg: rgba(var(--bs-body-bg-rgb), .85);--bs-toast-border-width: var(--bs-border-width);--bs-toast-border-color: var(--bs-border-color-translucent);--bs-toast-border-radius: var(--bs-border-radius);--bs-toast-box-shadow: var(--bs-box-shadow);--bs-toast-header-color: var(--bs-secondary-color);--bs-toast-header-bg: rgba(var(--bs-body-bg-rgb), .85);--bs-toast-header-border-color: var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex: 1090;position:absolute;z-index:var(--bs-toast-zindex);width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: ;--bs-modal-bg: var(--bs-body-bg);--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: var(--bs-border-width);--bs-modal-border-radius: var(--bs-border-radius-lg);--bs-modal-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);--bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: var(--bs-border-width);--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: .5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion: reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: .5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width: 576px){.modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width: 300px}}@media (min-width: 992px){.modal-lg,.modal-xl{--bs-modal-width: 800px}}@media (min-width: 1200px){.modal-xl{--bs-modal-width: 1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header,.modal-fullscreen .modal-footer{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width: 575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header,.modal-fullscreen-sm-down .modal-footer{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width: 767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header,.modal-fullscreen-md-down .modal-footer{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width: 991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header,.modal-fullscreen-lg-down .modal-footer{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width: 1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header,.modal-fullscreen-xl-down .modal-footer{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width: 1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header,.modal-fullscreen-xxl-down .modal-footer{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex: 1080;--bs-tooltip-max-width: 200px;--bs-tooltip-padding-x: .5rem;--bs-tooltip-padding-y: .25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size:.875rem;--bs-tooltip-color: var(--bs-body-bg);--bs-tooltip-bg: var(--bs-emphasis-color);--bs-tooltip-border-radius: var(--bs-border-radius);--bs-tooltip-opacity: .9;--bs-tooltip-arrow-width: .8rem;--bs-tooltip-arrow-height: .4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-top .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow{bottom:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-top .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-end .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow{left:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-end .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-bottom .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow{top:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-bottom .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-start .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow{right:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-start .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex: 1070;--bs-popover-max-width: 276px;--bs-popover-font-size:.875rem;--bs-popover-bg: var(--bs-body-bg);--bs-popover-border-width: var(--bs-border-width);--bs-popover-border-color: var(--bs-border-color-translucent);--bs-popover-border-radius: var(--bs-border-radius-lg);--bs-popover-inner-border-radius: calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-popover-header-padding-x: 1rem;--bs-popover-header-padding-y: .5rem;--bs-popover-header-font-size:1rem;--bs-popover-header-color: inherit;--bs-popover-header-bg: var(--bs-secondary-bg);--bs-popover-body-padding-x: 1rem;--bs-popover-body-padding-y: 1rem;--bs-popover-body-color: var(--bs-body-color);--bs-popover-arrow-width: 1rem;--bs-popover-arrow-height: .5rem;--bs-popover-arrow-border: var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:before,.popover .popover-arrow:after{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-top>.popover-arrow,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-end>.popover-arrow,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-bottom>.popover-arrow,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-bottom .popover-header:before,.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-start>.popover-arrow,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion: reduce){.carousel-item{transition:none}}.carousel-item.active,.carousel-item-next,.carousel-item-prev{display:block}.carousel-item-next:not(.carousel-item-start),.active.carousel-item-end{transform:translate(100%)}.carousel-item-prev:not(.carousel-item-end),.active.carousel-item-start{transform:translate(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item.active,.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end{z-index:1;opacity:1}.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion: reduce){.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{transition:none}}.carousel-control-prev,.carousel-control-next{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:none;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion: reduce){.carousel-control-prev,.carousel-control-next{transition:none}}.carousel-control-prev:hover,.carousel-control-prev:focus,.carousel-control-next:hover,.carousel-control-next:focus{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-prev-icon,.carousel-control-next-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion: reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-prev-icon,.carousel-dark .carousel-control-next-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}[data-bs-theme=dark] .carousel .carousel-control-prev-icon,[data-bs-theme=dark] .carousel .carousel-control-next-icon,[data-bs-theme=dark].carousel .carousel-control-prev-icon,[data-bs-theme=dark].carousel .carousel-control-next-icon{filter:invert(1) grayscale(100)}[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target],[data-bs-theme=dark].carousel .carousel-indicators [data-bs-target]{background-color:#000}[data-bs-theme=dark] .carousel .carousel-caption,[data-bs-theme=dark].carousel .carousel-caption{color:#000}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media (prefers-reduced-motion: reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed: 1.5s}}.offcanvas,.offcanvas-xxl,.offcanvas-xl,.offcanvas-lg,.offcanvas-md,.offcanvas-sm{--bs-offcanvas-zindex: 1045;--bs-offcanvas-width: 400px;--bs-offcanvas-height: 30vh;--bs-offcanvas-padding-x: 1rem;--bs-offcanvas-padding-y: 1rem;--bs-offcanvas-color: var(--bs-body-color);--bs-offcanvas-bg: var(--bs-body-bg);--bs-offcanvas-border-width: var(--bs-border-width);--bs-offcanvas-border-color: var(--bs-border-color-translucent);--bs-offcanvas-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);--bs-offcanvas-transition: transform .3s ease-in-out;--bs-offcanvas-title-line-height: 1.5}@media (max-width: 575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 575.98px) and (prefers-reduced-motion: reduce){.offcanvas-sm{transition:none}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width: 575.98px){.offcanvas-sm.showing,.offcanvas-sm.show:not(.hiding){transform:none}}@media (max-width: 575.98px){.offcanvas-sm.showing,.offcanvas-sm.hiding,.offcanvas-sm.show{visibility:visible}}@media (min-width: 576px){.offcanvas-sm{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 767.98px) and (prefers-reduced-motion: reduce){.offcanvas-md{transition:none}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width: 767.98px){.offcanvas-md.showing,.offcanvas-md.show:not(.hiding){transform:none}}@media (max-width: 767.98px){.offcanvas-md.showing,.offcanvas-md.hiding,.offcanvas-md.show{visibility:visible}}@media (min-width: 768px){.offcanvas-md{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 991.98px) and (prefers-reduced-motion: reduce){.offcanvas-lg{transition:none}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width: 991.98px){.offcanvas-lg.showing,.offcanvas-lg.show:not(.hiding){transform:none}}@media (max-width: 991.98px){.offcanvas-lg.showing,.offcanvas-lg.hiding,.offcanvas-lg.show{visibility:visible}}@media (min-width: 992px){.offcanvas-lg{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce){.offcanvas-xl{transition:none}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width: 1199.98px){.offcanvas-xl.showing,.offcanvas-xl.show:not(.hiding){transform:none}}@media (max-width: 1199.98px){.offcanvas-xl.showing,.offcanvas-xl.hiding,.offcanvas-xl.show{visibility:visible}}@media (min-width: 1200px){.offcanvas-xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 1399.98px) and (prefers-reduced-motion: reduce){.offcanvas-xxl{transition:none}}@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width: 1399.98px){.offcanvas-xxl.showing,.offcanvas-xxl.show:not(.hiding){transform:none}}@media (max-width: 1399.98px){.offcanvas-xxl.showing,.offcanvas-xxl.hiding,.offcanvas-xxl.show{visibility:visible}}@media (min-width: 1400px){.offcanvas-xxl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media (prefers-reduced-motion: reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.showing,.offcanvas.show:not(.hiding){transform:none}.offcanvas.showing,.offcanvas.hiding,.offcanvas.show{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-right:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y))}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{mask-position:-200% 0%}}.clearfix:after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(42,131,86,var(--bs-bg-opacity, 1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(108,117,125,var(--bs-bg-opacity, 1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(25,135,84,var(--bs-bg-opacity, 1))!important}.text-bg-info{color:#000!important;background-color:RGBA(13,202,240,var(--bs-bg-opacity, 1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(255,193,7,var(--bs-bg-opacity, 1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(220,53,69,var(--bs-bg-opacity, 1))!important}.text-bg-light{color:#000!important;background-color:RGBA(248,249,250,var(--bs-bg-opacity, 1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(33,37,41,var(--bs-bg-opacity, 1))!important}.link-primary{color:RGBA(var(--bs-primary-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity, 1))!important}.link-primary:hover,.link-primary:focus{color:RGBA(34,105,69,var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(34,105,69,var(--bs-link-underline-opacity, 1))!important}.link-secondary{color:RGBA(var(--bs-secondary-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity, 1))!important}.link-secondary:hover,.link-secondary:focus{color:RGBA(86,94,100,var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity, 1))!important}.link-success{color:RGBA(var(--bs-success-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity, 1))!important}.link-success:hover,.link-success:focus{color:RGBA(20,108,67,var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity, 1))!important}.link-info{color:RGBA(var(--bs-info-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity, 1))!important}.link-info:hover,.link-info:focus{color:RGBA(61,213,243,var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity, 1))!important}.link-warning{color:RGBA(var(--bs-warning-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity, 1))!important}.link-warning:hover,.link-warning:focus{color:RGBA(255,205,57,var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity, 1))!important}.link-danger{color:RGBA(var(--bs-danger-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity, 1))!important}.link-danger:hover,.link-danger:focus{color:RGBA(176,42,55,var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity, 1))!important}.link-light{color:RGBA(var(--bs-light-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity, 1))!important}.link-light:hover,.link-light:focus{color:RGBA(249,250,251,var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity, 1))!important}.link-dark{color:RGBA(var(--bs-dark-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity, 1))!important}.link-dark:hover,.link-dark:focus{color:RGBA(26,30,33,var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity, 1))!important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, 1))!important}.link-body-emphasis:hover,.link-body-emphasis:focus{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity, .75))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, .75))!important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, .5));text-underline-offset:.25em;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media (prefers-reduced-motion: reduce){.icon-link>.bi{transition:none}}.icon-link-hover:hover>.bi,.icon-link-hover:focus-visible>.bi{transform:var(--bs-icon-link-transform, translate3d(.25em, 0, 0))}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio: 100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio: calc(9 / 21 * 100%)}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:sticky;top:0;z-index:1020}.sticky-bottom{position:sticky;bottom:0;z-index:1020}@media (min-width: 576px){.sticky-sm-top{position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 768px){.sticky-md-top{position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 992px){.sticky-lg-top{position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1200px){.sticky-xl-top{position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1400px){.sticky-xxl-top{position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden:not(caption),.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption){position:absolute!important}.stretched-link:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:1px;min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.object-fit-contain{object-fit:contain!important}.object-fit-cover{object-fit:cover!important}.object-fit-fill{object-fit:fill!important}.object-fit-scale{object-fit:scale-down!important}.object-fit-none{object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:0 .5rem 1rem #00000026!important}.shadow-sm{box-shadow:0 .125rem .25rem #00000013!important}.shadow-lg{box-shadow:0 1rem 3rem #0000002d!important}.shadow-none{box-shadow:none!important}.focus-ring-primary{--bs-focus-ring-color: rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color: rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color: rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color: rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color: rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color: rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color: rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color: rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translate(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity: 1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity: 1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity: 1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity: 1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity: 1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity: 1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity: 1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity: 1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-black{--bs-border-opacity: 1;border-color:rgba(var(--bs-black-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity: 1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--bs-success-border-subtle)!important}.border-info-subtle{border-color:var(--bs-info-border-subtle)!important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle)!important}.border-light-subtle{border-color:var(--bs-light-border-subtle)!important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--bs-border-opacity: .1}.border-opacity-25{--bs-border-opacity: .25}.border-opacity-50{--bs-border-opacity: .5}.border-opacity-75{--bs-border-opacity: .75}.border-opacity-100{--bs-border-opacity: 1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{column-gap:0!important}.column-gap-1{column-gap:.25rem!important}.column-gap-2{column-gap:.5rem!important}.column-gap-3{column-gap:1rem!important}.column-gap-4{column-gap:1.5rem!important}.column-gap-5{column-gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity: 1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity: 1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity: 1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity: 1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity: 1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity: 1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity: 1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity: 1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity: 1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity: 1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity: 1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity: 1;color:var(--bs-secondary-color)!important}.text-black-50{--bs-text-opacity: 1;color:#00000080!important}.text-white-50{--bs-text-opacity: 1;color:#ffffff80!important}.text-body-secondary{--bs-text-opacity: 1;color:var(--bs-secondary-color)!important}.text-body-tertiary{--bs-text-opacity: 1;color:var(--bs-tertiary-color)!important}.text-body-emphasis{--bs-text-opacity: 1;color:var(--bs-emphasis-color)!important}.text-reset{--bs-text-opacity: 1;color:inherit!important}.text-opacity-25{--bs-text-opacity: .25}.text-opacity-50{--bs-text-opacity: .5}.text-opacity-75{--bs-text-opacity: .75}.text-opacity-100{--bs-text-opacity: 1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--bs-success-text-emphasis)!important}.text-info-emphasis{color:var(--bs-info-text-emphasis)!important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis)!important}.text-light-emphasis{color:var(--bs-light-text-emphasis)!important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis)!important}.link-opacity-10,.link-opacity-10-hover:hover{--bs-link-opacity: .1}.link-opacity-25,.link-opacity-25-hover:hover{--bs-link-opacity: .25}.link-opacity-50,.link-opacity-50-hover:hover{--bs-link-opacity: .5}.link-opacity-75,.link-opacity-75-hover:hover{--bs-link-opacity: .75}.link-opacity-100,.link-opacity-100-hover:hover{--bs-link-opacity: 1}.link-offset-1,.link-offset-1-hover:hover{text-underline-offset:.125em!important}.link-offset-2,.link-offset-2-hover:hover{text-underline-offset:.25em!important}.link-offset-3,.link-offset-3-hover:hover{text-underline-offset:.375em!important}.link-underline-primary{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity, 1))!important}.link-underline-opacity-0,.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity: 0}.link-underline-opacity-10,.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity: .1}.link-underline-opacity-25,.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity: .25}.link-underline-opacity-50,.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity: .5}.link-underline-opacity-75,.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity: .75}.link-underline-opacity-100,.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity: 1}.bg-primary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity: 1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity: 1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity: 1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity: 1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity: 1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity: 1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity: 1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity: 1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity: 1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity: 1;background-color:transparent!important}.bg-body-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-bg-rgb),var(--bs-bg-opacity))!important}.bg-body-tertiary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-tertiary-bg-rgb),var(--bs-bg-opacity))!important}.bg-opacity-10{--bs-bg-opacity: .1}.bg-opacity-25{--bs-bg-opacity: .25}.bg-opacity-50{--bs-bg-opacity: .5}.bg-opacity-75{--bs-bg-opacity: .75}.bg-opacity-100{--bs-bg-opacity: 1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle)!important}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{user-select:all!important}.user-select-auto{user-select:auto!important}.user-select-none{user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-top-1{border-top-left-radius:var(--bs-border-radius-sm)!important;border-top-right-radius:var(--bs-border-radius-sm)!important}.rounded-top-2{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-3{border-top-left-radius:var(--bs-border-radius-lg)!important;border-top-right-radius:var(--bs-border-radius-lg)!important}.rounded-top-4{border-top-left-radius:var(--bs-border-radius-xl)!important;border-top-right-radius:var(--bs-border-radius-xl)!important}.rounded-top-5{border-top-left-radius:var(--bs-border-radius-xxl)!important;border-top-right-radius:var(--bs-border-radius-xxl)!important}.rounded-top-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-top-pill{border-top-left-radius:var(--bs-border-radius-pill)!important;border-top-right-radius:var(--bs-border-radius-pill)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.rounded-end-1{border-top-right-radius:var(--bs-border-radius-sm)!important;border-bottom-right-radius:var(--bs-border-radius-sm)!important}.rounded-end-2{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-3{border-top-right-radius:var(--bs-border-radius-lg)!important;border-bottom-right-radius:var(--bs-border-radius-lg)!important}.rounded-end-4{border-top-right-radius:var(--bs-border-radius-xl)!important;border-bottom-right-radius:var(--bs-border-radius-xl)!important}.rounded-end-5{border-top-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-right-radius:var(--bs-border-radius-xxl)!important}.rounded-end-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-end-pill{border-top-right-radius:var(--bs-border-radius-pill)!important;border-bottom-right-radius:var(--bs-border-radius-pill)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-0{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.rounded-bottom-1{border-bottom-right-radius:var(--bs-border-radius-sm)!important;border-bottom-left-radius:var(--bs-border-radius-sm)!important}.rounded-bottom-2{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-3{border-bottom-right-radius:var(--bs-border-radius-lg)!important;border-bottom-left-radius:var(--bs-border-radius-lg)!important}.rounded-bottom-4{border-bottom-right-radius:var(--bs-border-radius-xl)!important;border-bottom-left-radius:var(--bs-border-radius-xl)!important}.rounded-bottom-5{border-bottom-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-left-radius:var(--bs-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-right-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-bottom-pill{border-bottom-right-radius:var(--bs-border-radius-pill)!important;border-bottom-left-radius:var(--bs-border-radius-pill)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-0{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.rounded-start-1{border-bottom-left-radius:var(--bs-border-radius-sm)!important;border-top-left-radius:var(--bs-border-radius-sm)!important}.rounded-start-2{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-3{border-bottom-left-radius:var(--bs-border-radius-lg)!important;border-top-left-radius:var(--bs-border-radius-lg)!important}.rounded-start-4{border-bottom-left-radius:var(--bs-border-radius-xl)!important;border-top-left-radius:var(--bs-border-radius-xl)!important}.rounded-start-5{border-bottom-left-radius:var(--bs-border-radius-xxl)!important;border-top-left-radius:var(--bs-border-radius-xxl)!important}.rounded-start-circle{border-bottom-left-radius:50%!important;border-top-left-radius:50%!important}.rounded-start-pill{border-bottom-left-radius:var(--bs-border-radius-pill)!important;border-top-left-radius:var(--bs-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}@media (min-width: 576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.object-fit-sm-contain{object-fit:contain!important}.object-fit-sm-cover{object-fit:cover!important}.object-fit-sm-fill{object-fit:fill!important}.object-fit-sm-scale{object-fit:scale-down!important}.object-fit-sm-none{object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{column-gap:0!important}.column-gap-sm-1{column-gap:.25rem!important}.column-gap-sm-2{column-gap:.5rem!important}.column-gap-sm-3{column-gap:1rem!important}.column-gap-sm-4{column-gap:1.5rem!important}.column-gap-sm-5{column-gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width: 768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.object-fit-md-contain{object-fit:contain!important}.object-fit-md-cover{object-fit:cover!important}.object-fit-md-fill{object-fit:fill!important}.object-fit-md-scale{object-fit:scale-down!important}.object-fit-md-none{object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{column-gap:0!important}.column-gap-md-1{column-gap:.25rem!important}.column-gap-md-2{column-gap:.5rem!important}.column-gap-md-3{column-gap:1rem!important}.column-gap-md-4{column-gap:1.5rem!important}.column-gap-md-5{column-gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width: 992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.object-fit-lg-contain{object-fit:contain!important}.object-fit-lg-cover{object-fit:cover!important}.object-fit-lg-fill{object-fit:fill!important}.object-fit-lg-scale{object-fit:scale-down!important}.object-fit-lg-none{object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{column-gap:0!important}.column-gap-lg-1{column-gap:.25rem!important}.column-gap-lg-2{column-gap:.5rem!important}.column-gap-lg-3{column-gap:1rem!important}.column-gap-lg-4{column-gap:1.5rem!important}.column-gap-lg-5{column-gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width: 1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.object-fit-xl-contain{object-fit:contain!important}.object-fit-xl-cover{object-fit:cover!important}.object-fit-xl-fill{object-fit:fill!important}.object-fit-xl-scale{object-fit:scale-down!important}.object-fit-xl-none{object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{column-gap:0!important}.column-gap-xl-1{column-gap:.25rem!important}.column-gap-xl-2{column-gap:.5rem!important}.column-gap-xl-3{column-gap:1rem!important}.column-gap-xl-4{column-gap:1.5rem!important}.column-gap-xl-5{column-gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width: 1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{object-fit:contain!important}.object-fit-xxl-cover{object-fit:cover!important}.object-fit-xxl-fill{object-fit:fill!important}.object-fit-xxl-scale{object-fit:scale-down!important}.object-fit-xxl-none{object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{column-gap:0!important}.column-gap-xxl-1{column-gap:.25rem!important}.column-gap-xxl-2{column-gap:.5rem!important}.column-gap-xxl-3{column-gap:1rem!important}.column-gap-xxl-4{column-gap:1.5rem!important}.column-gap-xxl-5{column-gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width: 1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}.list-custom-text-primary{--bs-text-opacity: 1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))}.list-custom-text-secondary{--bs-text-opacity: 1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))}.list-group-item.active .list-custom-text-primary,.list-group-item.active .list-custom-text-secondary{color:#fff}.w-155[data-v-c415d9ef]{width:155px} diff --git a/assets/index.e111e784.js b/assets/index.e111e784.js new file mode 100644 index 0000000..b7c80c4 --- /dev/null +++ b/assets/index.e111e784.js @@ -0,0 +1,45 @@ +(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const r of s)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerpolicy&&(r.referrerPolicy=s.referrerpolicy),s.crossorigin==="use-credentials"?r.credentials="include":s.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(s){if(s.ep)return;s.ep=!0;const r=n(s);fetch(s.href,r)}})();function sa(t,e){const n=Object.create(null),i=t.split(",");for(let s=0;s!!n[s.toLowerCase()]:s=>!!n[s]}const Sv="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",kv=sa(Sv);function ra(t){if(Z(t)){const e={};for(let n=0;n{if(n){const i=n.split(Tv);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function _i(t){let e="";if(He(t))e=t;else if(Z(t))for(let n=0;nGn(n,e))}const wo=t=>He(t)?t:t==null?"":Z(t)||Ae(t)&&(t.toString===ap||!oe(t.toString))?JSON.stringify(t,op,2):String(t),op=(t,e)=>e&&e.__v_isRef?op(t,e.value):Vi(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[i,s])=>(n[`${i} =>`]=s,n),{})}:ki(e)?{[`Set(${e.size})`]:[...e.values()]}:Ae(e)&&!Z(e)&&!lp(e)?String(e):e,Ce={},zi=[],Zt=()=>{},Nv=()=>!1,Av=/^on[^a-z]/,kr=t=>Av.test(t),Pc=t=>t.startsWith("onUpdate:"),ze=Object.assign,Fc=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Pv=Object.prototype.hasOwnProperty,_e=(t,e)=>Pv.call(t,e),Z=Array.isArray,Vi=t=>bs(t)==="[object Map]",ki=t=>bs(t)==="[object Set]",Pu=t=>bs(t)==="[object Date]",Fv=t=>bs(t)==="[object RegExp]",oe=t=>typeof t=="function",He=t=>typeof t=="string",rr=t=>typeof t=="symbol",Ae=t=>t!==null&&typeof t=="object",Mc=t=>Ae(t)&&oe(t.then)&&oe(t.catch),ap=Object.prototype.toString,bs=t=>ap.call(t),Mv=t=>bs(t).slice(8,-1),lp=t=>bs(t)==="[object Object]",Dc=t=>He(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Vs=sa(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),aa=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Dv=/-(\w)/g,Ct=aa(t=>t.replace(Dv,(e,n)=>n?n.toUpperCase():"")),Lv=/\B([A-Z])/g,Dt=aa(t=>t.replace(Lv,"-$1").toLowerCase()),la=aa(t=>t.charAt(0).toUpperCase()+t.slice(1)),so=aa(t=>t?`on${la(t)}`:""),os=(t,e)=>!Object.is(t,e),Wi=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},ko=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Eo=t=>{const e=He(t)?Number(t):NaN;return isNaN(e)?t:e};let Fu;const $v=()=>Fu||(Fu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Et;class cp{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Et,!e&&Et&&(this.index=(Et.scopes||(Et.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Et;try{return Et=this,e()}finally{Et=n}}}on(){Et=this}off(){Et=this.parent}stop(e){if(this._active){let n,i;for(n=0,i=this.effects.length;n{const e=new Set(t);return e.w=0,e.n=0,e},fp=t=>(t.w&Yn)>0,hp=t=>(t.n&Yn)>0,jv=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let i=0;i{(c==="length"||c>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(o.get(n)),e){case"add":Z(t)?Dc(n)&&a.push(o.get("length")):(a.push(o.get(gi)),Vi(t)&&a.push(o.get(yl)));break;case"delete":Z(t)||(a.push(o.get(gi)),Vi(t)&&a.push(o.get(yl)));break;case"set":Vi(t)&&a.push(o.get(gi));break}if(a.length===1)a[0]&&_l(a[0]);else{const l=[];for(const u of a)u&&l.push(...u);_l(Lc(l))}}function _l(t,e){const n=Z(t)?t:[...t];for(const i of n)i.computed&&Du(i);for(const i of n)i.computed||Du(i)}function Du(t,e){(t!==Xt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}function Uv(t,e){var n;return(n=To.get(t))===null||n===void 0?void 0:n.get(e)}const qv=sa("__proto__,__v_isRef,__isVue"),gp=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(rr)),zv=ua(),Vv=ua(!1,!0),Wv=ua(!0),Kv=ua(!0,!0),Lu=Xv();function Xv(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const i=ye(this);for(let r=0,o=this.length;r{t[e]=function(...n){ws();const i=ye(this)[e].apply(this,n);return Ss(),i}}),t}function Gv(t){const e=ye(this);return St(e,"has",t),e.hasOwnProperty(t)}function ua(t=!1,e=!1){return function(i,s,r){if(s==="__v_isReactive")return!t;if(s==="__v_isReadonly")return t;if(s==="__v_isShallow")return e;if(s==="__v_raw"&&r===(t?e?Sp:wp:e?bp:_p).get(i))return i;const o=Z(i);if(!t){if(o&&_e(Lu,s))return Reflect.get(Lu,s,r);if(s==="hasOwnProperty")return Gv}const a=Reflect.get(i,s,r);return(rr(s)?gp.has(s):qv(s))||(t||St(i,"get",s),e)?a:rt(a)?o&&Dc(s)?a:a.value:Ae(a)?t?kp(a):Ei(a):a}}const Yv=mp(),Jv=mp(!0);function mp(t=!1){return function(n,i,s,r){let o=n[i];if(as(o)&&rt(o)&&!rt(s))return!1;if(!t&&(!Io(s)&&!as(s)&&(o=ye(o),s=ye(s)),!Z(n)&&rt(o)&&!rt(s)))return o.value=s,!0;const a=Z(n)&&Dc(i)?Number(i)t,fa=t=>Reflect.getPrototypeOf(t);function xr(t,e,n=!1,i=!1){t=t.__v_raw;const s=ye(t),r=ye(e);n||(e!==r&&St(s,"get",e),St(s,"get",r));const{has:o}=fa(s),a=i?$c:n?Hc:or;if(o.call(s,e))return a(t.get(e));if(o.call(s,r))return a(t.get(r));t!==s&&t.get(e)}function Cr(t,e=!1){const n=this.__v_raw,i=ye(n),s=ye(t);return e||(t!==s&&St(i,"has",t),St(i,"has",s)),t===s?n.has(t):n.has(t)||n.has(s)}function Rr(t,e=!1){return t=t.__v_raw,!e&&St(ye(t),"iterate",gi),Reflect.get(t,"size",t)}function $u(t){t=ye(t);const e=ye(this);return fa(e).has.call(e,t)||(e.add(t),xn(e,"add",t,t)),this}function Hu(t,e){e=ye(e);const n=ye(this),{has:i,get:s}=fa(n);let r=i.call(n,t);r||(t=ye(t),r=i.call(n,t));const o=s.call(n,t);return n.set(t,e),r?os(e,o)&&xn(n,"set",t,e):xn(n,"add",t,e),this}function ju(t){const e=ye(this),{has:n,get:i}=fa(e);let s=n.call(e,t);s||(t=ye(t),s=n.call(e,t)),i&&i.call(e,t);const r=e.delete(t);return s&&xn(e,"delete",t,void 0),r}function Bu(){const t=ye(this),e=t.size!==0,n=t.clear();return e&&xn(t,"clear",void 0,void 0),n}function Or(t,e){return function(i,s){const r=this,o=r.__v_raw,a=ye(o),l=e?$c:t?Hc:or;return!t&&St(a,"iterate",gi),o.forEach((u,c)=>i.call(s,l(u),l(c),r))}}function Nr(t,e,n){return function(...i){const s=this.__v_raw,r=ye(s),o=Vi(r),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,u=s[t](...i),c=n?$c:e?Hc:or;return!e&&St(r,"iterate",l?yl:gi),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:a?[c(f[0]),c(f[1])]:c(f),done:h}},[Symbol.iterator](){return this}}}}function An(t){return function(...e){return t==="delete"?!1:this}}function iy(){const t={get(r){return xr(this,r)},get size(){return Rr(this)},has:Cr,add:$u,set:Hu,delete:ju,clear:Bu,forEach:Or(!1,!1)},e={get(r){return xr(this,r,!1,!0)},get size(){return Rr(this)},has:Cr,add:$u,set:Hu,delete:ju,clear:Bu,forEach:Or(!1,!0)},n={get(r){return xr(this,r,!0)},get size(){return Rr(this,!0)},has(r){return Cr.call(this,r,!0)},add:An("add"),set:An("set"),delete:An("delete"),clear:An("clear"),forEach:Or(!0,!1)},i={get(r){return xr(this,r,!0,!0)},get size(){return Rr(this,!0)},has(r){return Cr.call(this,r,!0)},add:An("add"),set:An("set"),delete:An("delete"),clear:An("clear"),forEach:Or(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=Nr(r,!1,!1),n[r]=Nr(r,!0,!1),e[r]=Nr(r,!1,!0),i[r]=Nr(r,!0,!0)}),[t,n,e,i]}const[sy,ry,oy,ay]=iy();function ha(t,e){const n=e?t?ay:oy:t?ry:sy;return(i,s,r)=>s==="__v_isReactive"?!t:s==="__v_isReadonly"?t:s==="__v_raw"?i:Reflect.get(_e(n,s)&&s in i?n:i,s,r)}const ly={get:ha(!1,!1)},cy={get:ha(!1,!0)},uy={get:ha(!0,!1)},fy={get:ha(!0,!0)},_p=new WeakMap,bp=new WeakMap,wp=new WeakMap,Sp=new WeakMap;function hy(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function dy(t){return t.__v_skip||!Object.isExtensible(t)?0:hy(Mv(t))}function Ei(t){return as(t)?t:da(t,!1,vp,ly,_p)}function py(t){return da(t,!1,ty,cy,bp)}function kp(t){return da(t,!0,yp,uy,wp)}function b2(t){return da(t,!0,ny,fy,Sp)}function da(t,e,n,i,s){if(!Ae(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=s.get(t);if(r)return r;const o=dy(t);if(o===0)return t;const a=new Proxy(t,o===2?i:n);return s.set(t,a),a}function Ki(t){return as(t)?Ki(t.__v_raw):!!(t&&t.__v_isReactive)}function as(t){return!!(t&&t.__v_isReadonly)}function Io(t){return!!(t&&t.__v_isShallow)}function Ep(t){return Ki(t)||as(t)}function ye(t){const e=t&&t.__v_raw;return e?ye(e):t}function Tp(t){return So(t,"__v_skip",!0),t}const or=t=>Ae(t)?Ei(t):t,Hc=t=>Ae(t)?kp(t):t;function jc(t){zn&&Xt&&(t=ye(t),pp(t.dep||(t.dep=Lc())))}function pa(t,e){t=ye(t);const n=t.dep;n&&_l(n)}function rt(t){return!!(t&&t.__v_isRef===!0)}function Xi(t){return Ip(t,!1)}function gy(t){return Ip(t,!0)}function Ip(t,e){return rt(t)?t:new my(t,e)}class my{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:ye(e),this._value=n?e:or(e)}get value(){return jc(this),this._value}set value(e){const n=this.__v_isShallow||Io(e)||as(e);e=n?e:ye(e),os(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:or(e),pa(this))}}function w2(t){pa(t)}function It(t){return rt(t)?t.value:t}const vy={get:(t,e,n)=>It(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const s=t[e];return rt(s)&&!rt(n)?(s.value=n,!0):Reflect.set(t,e,n,i)}};function xp(t){return Ki(t)?t:new Proxy(t,vy)}class yy{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:i}=e(()=>jc(this),()=>pa(this));this._get=n,this._set=i}get value(){return this._get()}set value(e){this._set(e)}}function S2(t){return new yy(t)}function k2(t){const e=Z(t)?new Array(t.length):{};for(const n in t)e[n]=by(t,n);return e}class _y{constructor(e,n,i){this._object=e,this._key=n,this._defaultValue=i,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return Uv(ye(this._object),this._key)}}function by(t,e,n){const i=t[e];return rt(i)?i:new _y(t,e,n)}var Cp;class wy{constructor(e,n,i,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Cp]=!1,this._dirty=!0,this.effect=new ca(e,()=>{this._dirty||(this._dirty=!0,pa(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=i}get value(){const e=ye(this);return jc(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}Cp="__v_isReadonly";function Sy(t,e,n=!1){let i,s;const r=oe(t);return r?(i=t,s=Zt):(i=t.get,s=t.set),new wy(i,s,r||!s,n)}function E2(t,...e){}function T2(t,e){}function Vn(t,e,n,i){let s;try{s=i?t(...i):t()}catch(r){ks(r,e,n)}return s}function Ht(t,e,n,i){if(oe(t)){const r=Vn(t,e,n,i);return r&&Mc(r)&&r.catch(o=>{ks(o,e,n)}),r}const s=[];for(let r=0;r>>1;lr(lt[i])ln&<.splice(e,1)}function Np(t){Z(t)?Gi.push(...t):(!yn||!yn.includes(t,t.allowRecurse?ci+1:ci))&&Gi.push(t),Op()}function Uu(t,e=ar?ln+1:0){for(;elr(n)-lr(i)),ci=0;cit.id==null?1/0:t.id,Iy=(t,e)=>{const n=lr(t)-lr(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function Ap(t){bl=!1,ar=!0,lt.sort(Iy);const e=Zt;try{for(ln=0;lnxs.emit(s,...r)),Ar=[]):typeof window<"u"&&window.HTMLElement&&!(!((i=(n=window.navigator)===null||n===void 0?void 0:n.userAgent)===null||i===void 0)&&i.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{xy(r,e)}),setTimeout(()=>{xs||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ar=[])},3e3)):Ar=[]}function Cy(t,e,...n){if(t.isUnmounted)return;const i=t.vnode.props||Ce;let s=n;const r=e.startsWith("update:"),o=r&&e.slice(7);if(o&&o in i){const c=`${o==="modelValue"?"model":o}Modifiers`,{number:f,trim:h}=i[c]||Ce;h&&(s=n.map(d=>He(d)?d.trim():d)),f&&(s=n.map(ko))}let a,l=i[a=so(e)]||i[a=so(Ct(e))];!l&&r&&(l=i[a=so(Dt(e))]),l&&Ht(l,t,6,s);const u=i[a+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Ht(u,t,6,s)}}function Pp(t,e,n=!1){const i=e.emitsCache,s=i.get(t);if(s!==void 0)return s;const r=t.emits;let o={},a=!1;if(!oe(t)){const l=u=>{const c=Pp(u,e,!0);c&&(a=!0,ze(o,c))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!a?(Ae(t)&&i.set(t,null),null):(Z(r)?r.forEach(l=>o[l]=null):ze(o,r),Ae(t)&&i.set(t,o),o)}function ma(t,e){return!t||!kr(e)?!1:(e=e.slice(2).replace(/Once$/,""),_e(t,e[0].toLowerCase()+e.slice(1))||_e(t,Dt(e))||_e(t,e))}let ot=null,va=null;function cr(t){const e=ot;return ot=t,va=t&&t.type.__scopeId||null,e}function I2(t){va=t}function x2(){va=null}const C2=t=>Uc;function Uc(t,e=ot,n){if(!e||t._n)return t;const i=(...s)=>{i._d&&ef(-1);const r=cr(e);let o;try{o=t(...s)}finally{cr(r),i._d&&ef(1)}return o};return i._n=!0,i._c=!0,i._d=!0,i}function ro(t){const{type:e,vnode:n,proxy:i,withProxy:s,props:r,propsOptions:[o],slots:a,attrs:l,emit:u,render:c,renderCache:f,data:h,setupState:d,ctx:p,inheritAttrs:g}=t;let w,_;const m=cr(t);try{if(n.shapeFlag&4){const b=s||i;w=Tt(c.call(b,b,f,r,d,h,p)),_=l}else{const b=e;w=Tt(b.length>1?b(r,{attrs:l,slots:a,emit:u}):b(r,null)),_=e.props?l:Oy(l)}}catch(b){Xs.length=0,ks(b,t,1),w=ke(gt)}let y=w;if(_&&g!==!1){const b=Object.keys(_),{shapeFlag:E}=y;b.length&&E&7&&(o&&b.some(Pc)&&(_=Ny(_,o)),y=Cn(y,_))}return n.dirs&&(y=Cn(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),w=y,cr(m),w}function Ry(t){let e;for(let n=0;n{let e;for(const n in t)(n==="class"||n==="style"||kr(n))&&((e||(e={}))[n]=t[n]);return e},Ny=(t,e)=>{const n={};for(const i in t)(!Pc(i)||!(i.slice(9)in e))&&(n[i]=t[i]);return n};function Ay(t,e,n){const{props:i,children:s,component:r}=t,{props:o,children:a,patchFlag:l}=e,u=r.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return i?qu(i,o,u):!!o;if(l&8){const c=e.dynamicProps;for(let f=0;ft.__isSuspense,Py={name:"Suspense",__isSuspense:!0,process(t,e,n,i,s,r,o,a,l,u){t==null?Fy(e,n,i,s,r,o,a,l,u):My(t,e,n,i,s,o,a,l,u)},hydrate:Dy,create:zc,normalize:Ly},R2=Py;function ur(t,e){const n=t.props&&t.props[e];oe(n)&&n()}function Fy(t,e,n,i,s,r,o,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),h=t.suspense=zc(t,s,i,e,f,n,r,o,a,l);u(null,h.pendingBranch=t.ssContent,f,null,i,h,r,o),h.deps>0?(ur(t,"onPending"),ur(t,"onFallback"),u(null,t.ssFallback,e,n,i,null,r,o),Yi(h,t.ssFallback)):h.resolve()}function My(t,e,n,i,s,r,o,a,{p:l,um:u,o:{createElement:c}}){const f=e.suspense=t.suspense;f.vnode=e,e.el=t.el;const h=e.ssContent,d=e.ssFallback,{activeBranch:p,pendingBranch:g,isInFallback:w,isHydrating:_}=f;if(g)f.pendingBranch=h,Gt(h,g)?(l(g,h,f.hiddenContainer,null,s,f,r,o,a),f.deps<=0?f.resolve():w&&(l(p,d,n,i,s,null,r,o,a),Yi(f,d))):(f.pendingId++,_?(f.isHydrating=!1,f.activeBranch=g):u(g,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),w?(l(null,h,f.hiddenContainer,null,s,f,r,o,a),f.deps<=0?f.resolve():(l(p,d,n,i,s,null,r,o,a),Yi(f,d))):p&&Gt(h,p)?(l(p,h,n,i,s,f,r,o,a),f.resolve(!0)):(l(null,h,f.hiddenContainer,null,s,f,r,o,a),f.deps<=0&&f.resolve()));else if(p&&Gt(h,p))l(p,h,n,i,s,f,r,o,a),Yi(f,h);else if(ur(e,"onPending"),f.pendingBranch=h,f.pendingId++,l(null,h,f.hiddenContainer,null,s,f,r,o,a),f.deps<=0)f.resolve();else{const{timeout:m,pendingId:y}=f;m>0?setTimeout(()=>{f.pendingId===y&&f.fallback(d)},m):m===0&&f.fallback(d)}}function zc(t,e,n,i,s,r,o,a,l,u,c=!1){const{p:f,m:h,um:d,n:p,o:{parentNode:g,remove:w}}=u,_=t.props?Eo(t.props.timeout):void 0,m={vnode:t,parent:e,parentComponent:n,isSVG:o,container:i,hiddenContainer:s,anchor:r,deps:0,pendingId:0,timeout:typeof _=="number"?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:c,isUnmounted:!1,effects:[],resolve(y=!1){const{vnode:b,activeBranch:E,pendingBranch:T,pendingId:x,effects:k,parentComponent:I,container:N}=m;if(m.isHydrating)m.isHydrating=!1;else if(!y){const z=E&&T.transition&&T.transition.mode==="out-in";z&&(E.transition.afterLeave=()=>{x===m.pendingId&&h(T,N,M,0)});let{anchor:M}=m;E&&(M=p(E),d(E,I,m,!0)),z||h(T,N,M,0)}Yi(m,T),m.pendingBranch=null,m.isInFallback=!1;let j=m.parent,F=!1;for(;j;){if(j.pendingBranch){j.effects.push(...k),F=!0;break}j=j.parent}F||Np(k),m.effects=[],ur(b,"onResolve")},fallback(y){if(!m.pendingBranch)return;const{vnode:b,activeBranch:E,parentComponent:T,container:x,isSVG:k}=m;ur(b,"onFallback");const I=p(E),N=()=>{!m.isInFallback||(f(null,y,x,I,T,null,k,a,l),Yi(m,y))},j=y.transition&&y.transition.mode==="out-in";j&&(E.transition.afterLeave=N),m.isInFallback=!0,d(E,T,null,!0),j||N()},move(y,b,E){m.activeBranch&&h(m.activeBranch,y,b,E),m.container=y},next(){return m.activeBranch&&p(m.activeBranch)},registerDep(y,b){const E=!!m.pendingBranch;E&&m.deps++;const T=y.vnode.el;y.asyncDep.catch(x=>{ks(x,y,0)}).then(x=>{if(y.isUnmounted||m.isUnmounted||m.pendingId!==y.suspenseId)return;y.asyncResolved=!0;const{vnode:k}=y;xl(y,x,!1),T&&(k.el=T);const I=!T&&y.subTree.el;b(y,k,g(T||y.subTree.el),T?null:p(y.subTree),m,o,l),I&&w(I),qc(y,k.el),E&&--m.deps===0&&m.resolve()})},unmount(y,b){m.isUnmounted=!0,m.activeBranch&&d(m.activeBranch,n,y,b),m.pendingBranch&&d(m.pendingBranch,n,y,b)}};return m}function Dy(t,e,n,i,s,r,o,a,l){const u=e.suspense=zc(e,i,n,t.parentNode,document.createElement("div"),null,s,r,o,a,!0),c=l(t,u.pendingBranch=e.ssContent,n,u,r,o);return u.deps===0&&u.resolve(),c}function Ly(t){const{shapeFlag:e,children:n}=t,i=e&32;t.ssContent=zu(i?n.default:n),t.ssFallback=i?zu(n.fallback):ke(gt)}function zu(t){let e;if(oe(t)){const n=bi&&t._c;n&&(t._d=!1,Rt()),t=t(),n&&(t._d=!0,e=yt,Zp())}return Z(t)&&(t=Ry(t)),t=Tt(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(n=>n!==t)),t}function Mp(t,e){e&&e.pendingBranch?Z(t)?e.effects.push(...t):e.effects.push(t):Np(t)}function Yi(t,e){t.activeBranch=e;const{vnode:n,parentComponent:i}=t,s=n.el=e.el;i&&i.subTree===n&&(i.vnode.el=s,qc(i,s))}function oo(t,e){if(qe){let n=qe.provides;const i=qe.parent&&qe.parent.provides;i===n&&(n=qe.provides=Object.create(i)),n[t]=e}}function un(t,e,n=!1){const i=qe||ot;if(i){const s=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(s&&t in s)return s[t];if(arguments.length>1)return n&&oe(e)?e.call(i.proxy):e}}function O2(t,e){return Er(t,null,e)}function $y(t,e){return Er(t,null,{flush:"post"})}function N2(t,e){return Er(t,null,{flush:"sync"})}const Pr={};function fn(t,e,n){return Er(t,e,n)}function Er(t,e,{immediate:n,deep:i,flush:s,onTrack:r,onTrigger:o}=Ce){const a=Hv()===(qe==null?void 0:qe.scope)?qe:null;let l,u=!1,c=!1;if(rt(t)?(l=()=>t.value,u=Io(t)):Ki(t)?(l=()=>t,i=!0):Z(t)?(c=!0,u=t.some(y=>Ki(y)||Io(y)),l=()=>t.map(y=>{if(rt(y))return y.value;if(Ki(y))return hi(y);if(oe(y))return Vn(y,a,2)})):oe(t)?e?l=()=>Vn(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return f&&f(),Ht(t,a,3,[h])}:l=Zt,e&&i){const y=l;l=()=>hi(y())}let f,h=y=>{f=_.onStop=()=>{Vn(y,a,4)}},d;if(us)if(h=Zt,e?n&&Ht(e,a,3,[l(),c?[]:void 0,h]):l(),s==="sync"){const y=R0();d=y.__watcherHandles||(y.__watcherHandles=[])}else return Zt;let p=c?new Array(t.length).fill(Pr):Pr;const g=()=>{if(!!_.active)if(e){const y=_.run();(i||u||(c?y.some((b,E)=>os(b,p[E])):os(y,p)))&&(f&&f(),Ht(e,a,3,[y,p===Pr?void 0:c&&p[0]===Pr?[]:p,h]),p=y)}else _.run()};g.allowRecurse=!!e;let w;s==="sync"?w=g:s==="post"?w=()=>nt(g,a&&a.suspense):(g.pre=!0,a&&(g.id=a.uid),w=()=>ga(g));const _=new ca(l,w);e?n?g():p=_.run():s==="post"?nt(_.run.bind(_),a&&a.suspense):_.run();const m=()=>{_.stop(),a&&a.scope&&Fc(a.scope.effects,_)};return d&&d.push(m),m}function Hy(t,e,n){const i=this.proxy,s=He(t)?t.includes(".")?Dp(i,t):()=>i[t]:t.bind(i,i);let r;oe(e)?r=e:(r=e.handler,n=e);const o=qe;Jn(this);const a=Er(s,r.bind(i),n);return o?Jn(o):Wn(),a}function Dp(t,e){const n=e.split(".");return()=>{let i=t;for(let s=0;s{hi(n,e)});else if(lp(t))for(const n in t)hi(t[n],e);return t}function Lp(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Es(()=>{t.isMounted=!0}),Kc(()=>{t.isUnmounting=!0}),t}const Nt=[Function,Array],jy={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Nt,onEnter:Nt,onAfterEnter:Nt,onEnterCancelled:Nt,onBeforeLeave:Nt,onLeave:Nt,onAfterLeave:Nt,onLeaveCancelled:Nt,onBeforeAppear:Nt,onAppear:Nt,onAfterAppear:Nt,onAppearCancelled:Nt},setup(t,{slots:e}){const n=Ti(),i=Lp();let s;return()=>{const r=e.default&&Vc(e.default(),!0);if(!r||!r.length)return;let o=r[0];if(r.length>1){for(const g of r)if(g.type!==gt){o=g;break}}const a=ye(t),{mode:l}=a;if(i.isLeaving)return Ma(o);const u=Vu(o);if(!u)return Ma(o);const c=fr(u,a,i,n);ls(u,c);const f=n.subTree,h=f&&Vu(f);let d=!1;const{getTransitionKey:p}=u.type;if(p){const g=p();s===void 0?s=g:g!==s&&(s=g,d=!0)}if(h&&h.type!==gt&&(!Gt(u,h)||d)){const g=fr(h,a,i,n);if(ls(h,g),l==="out-in")return i.isLeaving=!0,g.afterLeave=()=>{i.isLeaving=!1,n.update.active!==!1&&n.update()},Ma(o);l==="in-out"&&u.type!==gt&&(g.delayLeave=(w,_,m)=>{const y=Hp(i,h);y[String(h.key)]=h,w._leaveCb=()=>{_(),w._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=m})}return o}}},$p=jy;function Hp(t,e){const{leavingVNodes:n}=t;let i=n.get(e.type);return i||(i=Object.create(null),n.set(e.type,i)),i}function fr(t,e,n,i){const{appear:s,mode:r,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:f,onLeave:h,onAfterLeave:d,onLeaveCancelled:p,onBeforeAppear:g,onAppear:w,onAfterAppear:_,onAppearCancelled:m}=e,y=String(t.key),b=Hp(n,t),E=(k,I)=>{k&&Ht(k,i,9,I)},T=(k,I)=>{const N=I[1];E(k,I),Z(k)?k.every(j=>j.length<=1)&&N():k.length<=1&&N()},x={mode:r,persisted:o,beforeEnter(k){let I=a;if(!n.isMounted)if(s)I=g||a;else return;k._leaveCb&&k._leaveCb(!0);const N=b[y];N&&Gt(t,N)&&N.el._leaveCb&&N.el._leaveCb(),E(I,[k])},enter(k){let I=l,N=u,j=c;if(!n.isMounted)if(s)I=w||l,N=_||u,j=m||c;else return;let F=!1;const z=k._enterCb=M=>{F||(F=!0,M?E(j,[k]):E(N,[k]),x.delayedLeave&&x.delayedLeave(),k._enterCb=void 0)};I?T(I,[k,z]):z()},leave(k,I){const N=String(t.key);if(k._enterCb&&k._enterCb(!0),n.isUnmounting)return I();E(f,[k]);let j=!1;const F=k._leaveCb=z=>{j||(j=!0,I(),z?E(p,[k]):E(d,[k]),k._leaveCb=void 0,b[N]===t&&delete b[N])};b[N]=t,h?T(h,[k,F]):F()},clone(k){return fr(k,e,n,i)}};return x}function Ma(t){if(Ir(t))return t=Cn(t),t.children=null,t}function Vu(t){return Ir(t)?t.children?t.children[0]:void 0:t}function ls(t,e){t.shapeFlag&6&&t.component?ls(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Vc(t,e=!1,n){let i=[],s=0;for(let r=0;r1)for(let r=0;r!!t.type.__asyncLoader;function A2(t){oe(t)&&(t={loader:t});const{loader:e,loadingComponent:n,errorComponent:i,delay:s=200,timeout:r,suspensible:o=!0,onError:a}=t;let l=null,u,c=0;const f=()=>(c++,l=null,h()),h=()=>{let d;return l||(d=l=e().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),a)return new Promise((g,w)=>{a(p,()=>g(f()),()=>w(p),c+1)});throw p}).then(p=>d!==l&&l?l:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),u=p,p)))};return Tr({name:"AsyncComponentWrapper",__asyncLoader:h,get __asyncResolved(){return u},setup(){const d=qe;if(u)return()=>Da(u,d);const p=m=>{l=null,ks(m,d,13,!i)};if(o&&d.suspense||us)return h().then(m=>()=>Da(m,d)).catch(m=>(p(m),()=>i?ke(i,{error:m}):null));const g=Xi(!1),w=Xi(),_=Xi(!!s);return s&&setTimeout(()=>{_.value=!1},s),r!=null&&setTimeout(()=>{if(!g.value&&!w.value){const m=new Error(`Async component timed out after ${r}ms.`);p(m),w.value=m}},r),h().then(()=>{g.value=!0,d.parent&&Ir(d.parent.vnode)&&ga(d.parent.update)}).catch(m=>{p(m),w.value=m}),()=>{if(g.value&&u)return Da(u,d);if(w.value&&i)return ke(i,{error:w.value});if(n&&!_.value)return ke(n)}}})}function Da(t,e){const{ref:n,props:i,children:s,ce:r}=e.vnode,o=ke(t,i,s);return o.ref=n,o.ce=r,delete e.vnode.ce,o}const Ir=t=>t.type.__isKeepAlive,By={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Ti(),i=n.ctx;if(!i.renderer)return()=>{const m=e.default&&e.default();return m&&m.length===1?m[0]:m};const s=new Map,r=new Set;let o=null;const a=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=i,h=f("div");i.activate=(m,y,b,E,T)=>{const x=m.component;u(m,y,b,0,a),l(x.vnode,m,y,b,x,a,E,m.slotScopeIds,T),nt(()=>{x.isDeactivated=!1,x.a&&Wi(x.a);const k=m.props&&m.props.onVnodeMounted;k&&mt(k,x.parent,m)},a)},i.deactivate=m=>{const y=m.component;u(m,h,null,1,a),nt(()=>{y.da&&Wi(y.da);const b=m.props&&m.props.onVnodeUnmounted;b&&mt(b,y.parent,m),y.isDeactivated=!0},a)};function d(m){La(m),c(m,n,a,!0)}function p(m){s.forEach((y,b)=>{const E=Rl(y.type);E&&(!m||!m(E))&&g(b)})}function g(m){const y=s.get(m);!o||!Gt(y,o)?d(y):o&&La(o),s.delete(m),r.delete(m)}fn(()=>[t.include,t.exclude],([m,y])=>{m&&p(b=>Hs(m,b)),y&&p(b=>!Hs(y,b))},{flush:"post",deep:!0});let w=null;const _=()=>{w!=null&&s.set(w,$a(n.subTree))};return Es(_),Wc(_),Kc(()=>{s.forEach(m=>{const{subTree:y,suspense:b}=n,E=$a(y);if(m.type===E.type&&m.key===E.key){La(E);const T=E.component.da;T&&nt(T,b);return}d(m)})}),()=>{if(w=null,!e.default)return null;const m=e.default(),y=m[0];if(m.length>1)return o=null,m;if(!wi(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return o=null,y;let b=$a(y);const E=b.type,T=Rl(vi(b)?b.type.__asyncResolved||{}:E),{include:x,exclude:k,max:I}=t;if(x&&(!T||!Hs(x,T))||k&&T&&Hs(k,T))return o=b,y;const N=b.key==null?E:b.key,j=s.get(N);return b.el&&(b=Cn(b),y.shapeFlag&128&&(y.ssContent=b)),w=N,j?(b.el=j.el,b.component=j.component,b.transition&&ls(b,b.transition),b.shapeFlag|=512,r.delete(N),r.add(N)):(r.add(N),I&&r.size>parseInt(I,10)&&g(r.values().next().value)),b.shapeFlag|=256,o=b,Fp(y.type)?y:b}}},P2=By;function Hs(t,e){return Z(t)?t.some(n=>Hs(n,e)):He(t)?t.split(",").includes(e):Fv(t)?t.test(e):!1}function Uy(t,e){jp(t,"a",e)}function qy(t,e){jp(t,"da",e)}function jp(t,e,n=qe){const i=t.__wdc||(t.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return t()});if(ya(e,i,n),n){let s=n.parent;for(;s&&s.parent;)Ir(s.parent.vnode)&&zy(i,e,n,s),s=s.parent}}function zy(t,e,n,i){const s=ya(e,t,i,!0);_a(()=>{Fc(i[e],s)},n)}function La(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function $a(t){return t.shapeFlag&128?t.ssContent:t}function ya(t,e,n=qe,i=!1){if(n){const s=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...o)=>{if(n.isUnmounted)return;ws(),Jn(n);const a=Ht(e,n,t,o);return Wn(),Ss(),a});return i?s.unshift(r):s.push(r),r}}const On=t=>(e,n=qe)=>(!us||t==="sp")&&ya(t,(...i)=>e(...i),n),Vy=On("bm"),Es=On("m"),Wy=On("bu"),Wc=On("u"),Kc=On("bum"),_a=On("um"),Ky=On("sp"),Xy=On("rtg"),Gy=On("rtc");function Yy(t,e=qe){ya("ec",t,e)}function F2(t,e){const n=ot;if(n===null)return t;const i=wa(n)||n.proxy,s=t.dirs||(t.dirs=[]);for(let r=0;re(o,a,void 0,r&&r[a]));else{const o=Object.keys(t);s=new Array(o.length);for(let a=0,l=o.length;a{const r=i.fn(...s);return r&&(r.key=i.key),r}:i.fn)}return t}function Qy(t,e,n={},i,s){if(ot.isCE||ot.parent&&vi(ot.parent)&&ot.parent.isCE)return e!=="default"&&(n.name=e),ke("slot",n,i&&i());let r=t[e];r&&r._c&&(r._d=!1),Rt();const o=r&&qp(r(n)),a=tg(Ye,{key:n.key||o&&o.key||`_${e}`},o||(i?i():[]),o&&t._===1?64:-2);return!s&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),r&&r._c&&(r._d=!0),a}function qp(t){return t.some(e=>wi(e)?!(e.type===gt||e.type===Ye&&!qp(e.children)):!0)?t:null}function $2(t,e){const n={};for(const i in t)n[e&&/[A-Z]/.test(i)?`on:${i}`:so(i)]=t[i];return n}const wl=t=>t?sg(t)?wa(t)||t.proxy:wl(t.parent):null,Ws=ze(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>wl(t.parent),$root:t=>wl(t.root),$emit:t=>t.emit,$options:t=>Jc(t),$forceUpdate:t=>t.f||(t.f=()=>ga(t.update)),$nextTick:t=>t.n||(t.n=mi.bind(t.proxy)),$watch:t=>Hy.bind(t)}),Ha=(t,e)=>t!==Ce&&!t.__isScriptSetup&&_e(t,e),Sl={get({_:t},e){const{ctx:n,setupState:i,data:s,props:r,accessCache:o,type:a,appContext:l}=t;let u;if(e[0]!=="$"){const d=o[e];if(d!==void 0)switch(d){case 1:return i[e];case 2:return s[e];case 4:return n[e];case 3:return r[e]}else{if(Ha(i,e))return o[e]=1,i[e];if(s!==Ce&&_e(s,e))return o[e]=2,s[e];if((u=t.propsOptions[0])&&_e(u,e))return o[e]=3,r[e];if(n!==Ce&&_e(n,e))return o[e]=4,n[e];kl&&(o[e]=0)}}const c=Ws[e];let f,h;if(c)return e==="$attrs"&&St(t,"get",e),c(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(n!==Ce&&_e(n,e))return o[e]=4,n[e];if(h=l.config.globalProperties,_e(h,e))return h[e]},set({_:t},e,n){const{data:i,setupState:s,ctx:r}=t;return Ha(s,e)?(s[e]=n,!0):i!==Ce&&_e(i,e)?(i[e]=n,!0):_e(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:s,propsOptions:r}},o){let a;return!!n[o]||t!==Ce&&_e(t,o)||Ha(e,o)||(a=r[0])&&_e(a,o)||_e(i,o)||_e(Ws,o)||_e(s.config.globalProperties,o)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:_e(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}},Zy=ze({},Sl,{get(t,e){if(e!==Symbol.unscopables)return Sl.get(t,e,t)},has(t,e){return e[0]!=="_"&&!kv(e)}});let kl=!0;function e0(t){const e=Jc(t),n=t.proxy,i=t.ctx;kl=!1,e.beforeCreate&&Ku(e.beforeCreate,t,"bc");const{data:s,computed:r,methods:o,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:d,updated:p,activated:g,deactivated:w,beforeDestroy:_,beforeUnmount:m,destroyed:y,unmounted:b,render:E,renderTracked:T,renderTriggered:x,errorCaptured:k,serverPrefetch:I,expose:N,inheritAttrs:j,components:F,directives:z,filters:M}=e;if(u&&t0(u,i,null,t.appContext.config.unwrapInjectedRef),o)for(const Y in o){const K=o[Y];oe(K)&&(i[Y]=K.bind(n))}if(s){const Y=s.call(n,n);Ae(Y)&&(t.data=Ei(Y))}if(kl=!0,r)for(const Y in r){const K=r[Y],ce=oe(K)?K.bind(n,n):oe(K.get)?K.get.bind(n,n):Zt,Ke=!oe(K)&&oe(K.set)?K.set.bind(n):Zt,Ee=Lt({get:ce,set:Ke});Object.defineProperty(i,Y,{enumerable:!0,configurable:!0,get:()=>Ee.value,set:de=>Ee.value=de})}if(a)for(const Y in a)zp(a[Y],i,n,Y);if(l){const Y=oe(l)?l.call(n):l;Reflect.ownKeys(Y).forEach(K=>{oo(K,Y[K])})}c&&Ku(c,t,"c");function H(Y,K){Z(K)?K.forEach(ce=>Y(ce.bind(n))):K&&Y(K.bind(n))}if(H(Vy,f),H(Es,h),H(Wy,d),H(Wc,p),H(Uy,g),H(qy,w),H(Yy,k),H(Gy,T),H(Xy,x),H(Kc,m),H(_a,b),H(Ky,I),Z(N))if(N.length){const Y=t.exposed||(t.exposed={});N.forEach(K=>{Object.defineProperty(Y,K,{get:()=>n[K],set:ce=>n[K]=ce})})}else t.exposed||(t.exposed={});E&&t.render===Zt&&(t.render=E),j!=null&&(t.inheritAttrs=j),F&&(t.components=F),z&&(t.directives=z)}function t0(t,e,n=Zt,i=!1){Z(t)&&(t=El(t));for(const s in t){const r=t[s];let o;Ae(r)?"default"in r?o=un(r.from||s,r.default,!0):o=un(r.from||s):o=un(r),rt(o)&&i?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):e[s]=o}}function Ku(t,e,n){Ht(Z(t)?t.map(i=>i.bind(e.proxy)):t.bind(e.proxy),e,n)}function zp(t,e,n,i){const s=i.includes(".")?Dp(n,i):()=>n[i];if(He(t)){const r=e[t];oe(r)&&fn(s,r)}else if(oe(t))fn(s,t.bind(n));else if(Ae(t))if(Z(t))t.forEach(r=>zp(r,e,n,i));else{const r=oe(t.handler)?t.handler.bind(n):e[t.handler];oe(r)&&fn(s,r,t)}}function Jc(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:s,optionsCache:r,config:{optionMergeStrategies:o}}=t.appContext,a=r.get(e);let l;return a?l=a:!s.length&&!n&&!i?l=e:(l={},s.length&&s.forEach(u=>Co(l,u,o,!0)),Co(l,e,o)),Ae(e)&&r.set(e,l),l}function Co(t,e,n,i=!1){const{mixins:s,extends:r}=e;r&&Co(t,r,n,!0),s&&s.forEach(o=>Co(t,o,n,!0));for(const o in e)if(!(i&&o==="expose")){const a=n0[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const n0={data:Xu,props:li,emits:li,methods:li,computed:li,beforeCreate:ut,created:ut,beforeMount:ut,mounted:ut,beforeUpdate:ut,updated:ut,beforeDestroy:ut,beforeUnmount:ut,destroyed:ut,unmounted:ut,activated:ut,deactivated:ut,errorCaptured:ut,serverPrefetch:ut,components:li,directives:li,watch:s0,provide:Xu,inject:i0};function Xu(t,e){return e?t?function(){return ze(oe(t)?t.call(this,this):t,oe(e)?e.call(this,this):e)}:e:t}function i0(t,e){return li(El(t),El(e))}function El(t){if(Z(t)){const e={};for(let n=0;n0)&&!(o&16)){if(o&8){const c=t.vnode.dynamicProps;for(let f=0;f{l=!0;const[h,d]=Wp(f,e,!0);ze(o,h),d&&a.push(...d)};!n&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}if(!r&&!l)return Ae(t)&&i.set(t,zi),zi;if(Z(r))for(let c=0;c-1,d[1]=g<0||p-1||_e(d,"default"))&&a.push(f)}}}const u=[o,a];return Ae(t)&&i.set(t,u),u}function Gu(t){return t[0]!=="$"}function Yu(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function Ju(t,e){return Yu(t)===Yu(e)}function Qu(t,e){return Z(e)?e.findIndex(n=>Ju(n,t)):oe(e)&&Ju(e,t)?0:-1}const Kp=t=>t[0]==="_"||t==="$stable",Qc=t=>Z(t)?t.map(Tt):[Tt(t)],a0=(t,e,n)=>{if(e._n)return e;const i=Uc((...s)=>Qc(e(...s)),n);return i._c=!1,i},Xp=(t,e,n)=>{const i=t._ctx;for(const s in t){if(Kp(s))continue;const r=t[s];if(oe(r))e[s]=a0(s,r,i);else if(r!=null){const o=Qc(r);e[s]=()=>o}}},Gp=(t,e)=>{const n=Qc(e);t.slots.default=()=>n},l0=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=ye(e),So(e,"_",n)):Xp(e,t.slots={})}else t.slots={},e&&Gp(t,e);So(t.slots,ba,1)},c0=(t,e,n)=>{const{vnode:i,slots:s}=t;let r=!0,o=Ce;if(i.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:(ze(s,e),!n&&a===1&&delete s._):(r=!e.$stable,Xp(e,s)),o=e}else e&&(Gp(t,e),o={default:1});if(r)for(const a in s)!Kp(a)&&!(a in o)&&delete s[a]};function Yp(){return{app:null,config:{isNativeTag:Nv,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let u0=0;function f0(t,e){return function(i,s=null){oe(i)||(i=Object.assign({},i)),s!=null&&!Ae(s)&&(s=null);const r=Yp(),o=new Set;let a=!1;const l=r.app={_uid:u0++,_component:i,_props:s,_container:null,_context:r,_instance:null,version:N0,get config(){return r.config},set config(u){},use(u,...c){return o.has(u)||(u&&oe(u.install)?(o.add(u),u.install(l,...c)):oe(u)&&(o.add(u),u(l,...c))),l},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),l},component(u,c){return c?(r.components[u]=c,l):r.components[u]},directive(u,c){return c?(r.directives[u]=c,l):r.directives[u]},mount(u,c,f){if(!a){const h=ke(i,s);return h.appContext=r,c&&e?e(h,u):t(h,u,f),a=!0,l._container=u,u.__vue_app__=l,wa(h.component)||h.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(u,c){return r.provides[u]=c,l}};return l}}function Ro(t,e,n,i,s=!1){if(Z(t)){t.forEach((h,d)=>Ro(h,e&&(Z(e)?e[d]:e),n,i,s));return}if(vi(i)&&!s)return;const r=i.shapeFlag&4?wa(i.component)||i.component.proxy:i.el,o=s?null:r,{i:a,r:l}=t,u=e&&e.r,c=a.refs===Ce?a.refs={}:a.refs,f=a.setupState;if(u!=null&&u!==l&&(He(u)?(c[u]=null,_e(f,u)&&(f[u]=null)):rt(u)&&(u.value=null)),oe(l))Vn(l,a,12,[o,c]);else{const h=He(l),d=rt(l);if(h||d){const p=()=>{if(t.f){const g=h?_e(f,l)?f[l]:c[l]:l.value;s?Z(g)&&Fc(g,r):Z(g)?g.includes(r)||g.push(r):h?(c[l]=[r],_e(f,l)&&(f[l]=c[l])):(l.value=[r],t.k&&(c[t.k]=l.value))}else h?(c[l]=o,_e(f,l)&&(f[l]=o)):d&&(l.value=o,t.k&&(c[t.k]=o))};o?(p.id=-1,nt(p,n)):p()}}}let Pn=!1;const Fr=t=>/svg/.test(t.namespaceURI)&&t.tagName!=="foreignObject",Mr=t=>t.nodeType===8;function h0(t){const{mt:e,p:n,o:{patchProp:i,createText:s,nextSibling:r,parentNode:o,remove:a,insert:l,createComment:u}}=t,c=(_,m)=>{if(!m.hasChildNodes()){n(null,_,m),xo(),m._vnode=_;return}Pn=!1,f(m.firstChild,_,null,null,null),xo(),m._vnode=_,Pn&&console.error("Hydration completed but contains mismatches.")},f=(_,m,y,b,E,T=!1)=>{const x=Mr(_)&&_.data==="[",k=()=>g(_,m,y,b,E,x),{type:I,ref:N,shapeFlag:j,patchFlag:F}=m;let z=_.nodeType;m.el=_,F===-2&&(T=!1,m.dynamicChildren=null);let M=null;switch(I){case cs:z!==3?m.children===""?(l(m.el=s(""),o(_),_),M=_):M=k():(_.data!==m.children&&(Pn=!0,_.data=m.children),M=r(_));break;case gt:z!==8||x?M=k():M=r(_);break;case Ji:if(x&&(_=r(_),z=_.nodeType),z===1||z===3){M=_;const J=!m.children.length;for(let H=0;H{T=T||!!m.dynamicChildren;const{type:x,props:k,patchFlag:I,shapeFlag:N,dirs:j}=m,F=x==="input"&&j||x==="option";if(F||I!==-1){if(j&&on(m,null,y,"created"),k)if(F||!T||I&48)for(const M in k)(F&&M.endsWith("value")||kr(M)&&!Vs(M))&&i(_,M,null,k[M],!1,void 0,y);else k.onClick&&i(_,"onClick",null,k.onClick,!1,void 0,y);let z;if((z=k&&k.onVnodeBeforeMount)&&mt(z,y,m),j&&on(m,null,y,"beforeMount"),((z=k&&k.onVnodeMounted)||j)&&Mp(()=>{z&&mt(z,y,m),j&&on(m,null,y,"mounted")},b),N&16&&!(k&&(k.innerHTML||k.textContent))){let M=d(_.firstChild,m,_,y,b,E,T);for(;M;){Pn=!0;const J=M;M=M.nextSibling,a(J)}}else N&8&&_.textContent!==m.children&&(Pn=!0,_.textContent=m.children)}return _.nextSibling},d=(_,m,y,b,E,T,x)=>{x=x||!!m.dynamicChildren;const k=m.children,I=k.length;for(let N=0;N{const{slotScopeIds:x}=m;x&&(E=E?E.concat(x):x);const k=o(_),I=d(r(_),m,k,y,b,E,T);return I&&Mr(I)&&I.data==="]"?r(m.anchor=I):(Pn=!0,l(m.anchor=u("]"),k,I),I)},g=(_,m,y,b,E,T)=>{if(Pn=!0,m.el=null,T){const I=w(_);for(;;){const N=r(_);if(N&&N!==I)a(N);else break}}const x=r(_),k=o(_);return a(_),n(null,m,k,x,y,b,Fr(k),E),x},w=_=>{let m=0;for(;_;)if(_=r(_),_&&Mr(_)&&(_.data==="["&&m++,_.data==="]")){if(m===0)return r(_);m--}return _};return[c,f]}const nt=Mp;function d0(t){return Jp(t)}function p0(t){return Jp(t,h0)}function Jp(t,e){const n=$v();n.__VUE__=!0;const{insert:i,remove:s,patchProp:r,createElement:o,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:h,setScopeId:d=Zt,insertStaticContent:p}=t,g=(v,S,R,P=null,D=null,B=null,X=!1,U=null,W=!!S.dynamicChildren)=>{if(v===S)return;v&&!Gt(v,S)&&(P=V(v),de(v,D,B,!0),v=null),S.patchFlag===-2&&(W=!1,S.dynamicChildren=null);const{type:$,ref:ie,shapeFlag:te}=S;switch($){case cs:w(v,S,R,P);break;case gt:_(v,S,R,P);break;case Ji:v==null&&m(S,R,P,X);break;case Ye:F(v,S,R,P,D,B,X,U,W);break;default:te&1?E(v,S,R,P,D,B,X,U,W):te&6?z(v,S,R,P,D,B,X,U,W):(te&64||te&128)&&$.process(v,S,R,P,D,B,X,U,W,he)}ie!=null&&D&&Ro(ie,v&&v.ref,B,S||v,!S)},w=(v,S,R,P)=>{if(v==null)i(S.el=a(S.children),R,P);else{const D=S.el=v.el;S.children!==v.children&&u(D,S.children)}},_=(v,S,R,P)=>{v==null?i(S.el=l(S.children||""),R,P):S.el=v.el},m=(v,S,R,P)=>{[v.el,v.anchor]=p(v.children,S,R,P,v.el,v.anchor)},y=({el:v,anchor:S},R,P)=>{let D;for(;v&&v!==S;)D=h(v),i(v,R,P),v=D;i(S,R,P)},b=({el:v,anchor:S})=>{let R;for(;v&&v!==S;)R=h(v),s(v),v=R;s(S)},E=(v,S,R,P,D,B,X,U,W)=>{X=X||S.type==="svg",v==null?T(S,R,P,D,B,X,U,W):I(v,S,D,B,X,U,W)},T=(v,S,R,P,D,B,X,U)=>{let W,$;const{type:ie,props:te,shapeFlag:se,transition:ae,dirs:pe}=v;if(W=v.el=o(v.type,B,te&&te.is,te),se&8?c(W,v.children):se&16&&k(v.children,W,null,P,D,B&&ie!=="foreignObject",X,U),pe&&on(v,null,P,"created"),x(W,v,v.scopeId,X,P),te){for(const xe in te)xe!=="value"&&!Vs(xe)&&r(W,xe,null,te[xe],B,v.children,P,D,q);"value"in te&&r(W,"value",null,te.value),($=te.onVnodeBeforeMount)&&mt($,P,v)}pe&&on(v,null,P,"beforeMount");const Fe=(!D||D&&!D.pendingBranch)&&ae&&!ae.persisted;Fe&&ae.beforeEnter(W),i(W,S,R),(($=te&&te.onVnodeMounted)||Fe||pe)&&nt(()=>{$&&mt($,P,v),Fe&&ae.enter(W),pe&&on(v,null,P,"mounted")},D)},x=(v,S,R,P,D)=>{if(R&&d(v,R),P)for(let B=0;B{for(let $=W;${const U=S.el=v.el;let{patchFlag:W,dynamicChildren:$,dirs:ie}=S;W|=v.patchFlag&16;const te=v.props||Ce,se=S.props||Ce;let ae;R&&ei(R,!1),(ae=se.onVnodeBeforeUpdate)&&mt(ae,R,S,v),ie&&on(S,v,R,"beforeUpdate"),R&&ei(R,!0);const pe=D&&S.type!=="foreignObject";if($?N(v.dynamicChildren,$,U,R,P,pe,B):X||K(v,S,U,null,R,P,pe,B,!1),W>0){if(W&16)j(U,S,te,se,R,P,D);else if(W&2&&te.class!==se.class&&r(U,"class",null,se.class,D),W&4&&r(U,"style",te.style,se.style,D),W&8){const Fe=S.dynamicProps;for(let xe=0;xe{ae&&mt(ae,R,S,v),ie&&on(S,v,R,"updated")},P)},N=(v,S,R,P,D,B,X)=>{for(let U=0;U{if(R!==P){if(R!==Ce)for(const U in R)!Vs(U)&&!(U in P)&&r(v,U,R[U],null,X,S.children,D,B,q);for(const U in P){if(Vs(U))continue;const W=P[U],$=R[U];W!==$&&U!=="value"&&r(v,U,$,W,X,S.children,D,B,q)}"value"in P&&r(v,"value",R.value,P.value)}},F=(v,S,R,P,D,B,X,U,W)=>{const $=S.el=v?v.el:a(""),ie=S.anchor=v?v.anchor:a("");let{patchFlag:te,dynamicChildren:se,slotScopeIds:ae}=S;ae&&(U=U?U.concat(ae):ae),v==null?(i($,R,P),i(ie,R,P),k(S.children,R,ie,D,B,X,U,W)):te>0&&te&64&&se&&v.dynamicChildren?(N(v.dynamicChildren,se,R,D,B,X,U),(S.key!=null||D&&S===D.subTree)&&Zc(v,S,!0)):K(v,S,R,ie,D,B,X,U,W)},z=(v,S,R,P,D,B,X,U,W)=>{S.slotScopeIds=U,v==null?S.shapeFlag&512?D.ctx.activate(S,R,P,X,W):M(S,R,P,D,B,X,W):J(v,S,W)},M=(v,S,R,P,D,B,X)=>{const U=v.component=ig(v,P,D);if(Ir(v)&&(U.ctx.renderer=he),rg(U),U.asyncDep){if(D&&D.registerDep(U,H),!v.el){const W=U.subTree=ke(gt);_(null,W,S,R)}return}H(U,v,S,R,D,B,X)},J=(v,S,R)=>{const P=S.component=v.component;if(Ay(v,S,R))if(P.asyncDep&&!P.asyncResolved){Y(P,S,R);return}else P.next=S,Ty(P.update),P.update();else S.el=v.el,P.vnode=S},H=(v,S,R,P,D,B,X)=>{const U=()=>{if(v.isMounted){let{next:ie,bu:te,u:se,parent:ae,vnode:pe}=v,Fe=ie,xe;ei(v,!1),ie?(ie.el=pe.el,Y(v,ie,X)):ie=pe,te&&Wi(te),(xe=ie.props&&ie.props.onVnodeBeforeUpdate)&&mt(xe,ae,ie,pe),ei(v,!0);const Xe=ro(v),zt=v.subTree;v.subTree=Xe,g(zt,Xe,f(zt.el),V(zt),v,D,B),ie.el=Xe.el,Fe===null&&qc(v,Xe.el),se&&nt(se,D),(xe=ie.props&&ie.props.onVnodeUpdated)&&nt(()=>mt(xe,ae,ie,pe),D)}else{let ie;const{el:te,props:se}=S,{bm:ae,m:pe,parent:Fe}=v,xe=vi(S);if(ei(v,!1),ae&&Wi(ae),!xe&&(ie=se&&se.onVnodeBeforeMount)&&mt(ie,Fe,S),ei(v,!0),te&&ue){const Xe=()=>{v.subTree=ro(v),ue(te,v.subTree,v,D,null)};xe?S.type.__asyncLoader().then(()=>!v.isUnmounted&&Xe()):Xe()}else{const Xe=v.subTree=ro(v);g(null,Xe,R,P,v,D,B),S.el=Xe.el}if(pe&&nt(pe,D),!xe&&(ie=se&&se.onVnodeMounted)){const Xe=S;nt(()=>mt(ie,Fe,Xe),D)}(S.shapeFlag&256||Fe&&vi(Fe.vnode)&&Fe.vnode.shapeFlag&256)&&v.a&&nt(v.a,D),v.isMounted=!0,S=R=P=null}},W=v.effect=new ca(U,()=>ga($),v.scope),$=v.update=()=>W.run();$.id=v.uid,ei(v,!0),$()},Y=(v,S,R)=>{S.component=v;const P=v.vnode.props;v.vnode=S,v.next=null,o0(v,S.props,P,R),c0(v,S.children,R),ws(),Uu(),Ss()},K=(v,S,R,P,D,B,X,U,W=!1)=>{const $=v&&v.children,ie=v?v.shapeFlag:0,te=S.children,{patchFlag:se,shapeFlag:ae}=S;if(se>0){if(se&128){Ke($,te,R,P,D,B,X,U,W);return}else if(se&256){ce($,te,R,P,D,B,X,U,W);return}}ae&8?(ie&16&&q($,D,B),te!==$&&c(R,te)):ie&16?ae&16?Ke($,te,R,P,D,B,X,U,W):q($,D,B,!0):(ie&8&&c(R,""),ae&16&&k(te,R,P,D,B,X,U,W))},ce=(v,S,R,P,D,B,X,U,W)=>{v=v||zi,S=S||zi;const $=v.length,ie=S.length,te=Math.min($,ie);let se;for(se=0;seie?q(v,D,B,!0,!1,te):k(S,R,P,D,B,X,U,W,te)},Ke=(v,S,R,P,D,B,X,U,W)=>{let $=0;const ie=S.length;let te=v.length-1,se=ie-1;for(;$<=te&&$<=se;){const ae=v[$],pe=S[$]=W?$n(S[$]):Tt(S[$]);if(Gt(ae,pe))g(ae,pe,R,null,D,B,X,U,W);else break;$++}for(;$<=te&&$<=se;){const ae=v[te],pe=S[se]=W?$n(S[se]):Tt(S[se]);if(Gt(ae,pe))g(ae,pe,R,null,D,B,X,U,W);else break;te--,se--}if($>te){if($<=se){const ae=se+1,pe=aese)for(;$<=te;)de(v[$],D,B,!0),$++;else{const ae=$,pe=$,Fe=new Map;for($=pe;$<=se;$++){const kt=S[$]=W?$n(S[$]):Tt(S[$]);kt.key!=null&&Fe.set(kt.key,$)}let xe,Xe=0;const zt=se-pe+1;let Ii=!1,Ou=0;const Is=new Array(zt);for($=0;$=zt){de(kt,D,B,!0);continue}let nn;if(kt.key!=null)nn=Fe.get(kt.key);else for(xe=pe;xe<=se;xe++)if(Is[xe-pe]===0&&Gt(kt,S[xe])){nn=xe;break}nn===void 0?de(kt,D,B,!0):(Is[nn-pe]=$+1,nn>=Ou?Ou=nn:Ii=!0,g(kt,S[nn],R,null,D,B,X,U,W),Xe++)}const Nu=Ii?g0(Is):zi;for(xe=Nu.length-1,$=zt-1;$>=0;$--){const kt=pe+$,nn=S[kt],Au=kt+1{const{el:B,type:X,transition:U,children:W,shapeFlag:$}=v;if($&6){Ee(v.component.subTree,S,R,P);return}if($&128){v.suspense.move(S,R,P);return}if($&64){X.move(v,S,R,he);return}if(X===Ye){i(B,S,R);for(let te=0;teU.enter(B),D);else{const{leave:te,delayLeave:se,afterLeave:ae}=U,pe=()=>i(B,S,R),Fe=()=>{te(B,()=>{pe(),ae&&ae()})};se?se(B,pe,Fe):Fe()}else i(B,S,R)},de=(v,S,R,P=!1,D=!1)=>{const{type:B,props:X,ref:U,children:W,dynamicChildren:$,shapeFlag:ie,patchFlag:te,dirs:se}=v;if(U!=null&&Ro(U,null,R,v,!0),ie&256){S.ctx.deactivate(v);return}const ae=ie&1&&se,pe=!vi(v);let Fe;if(pe&&(Fe=X&&X.onVnodeBeforeUnmount)&&mt(Fe,S,v),ie&6)O(v.component,R,P);else{if(ie&128){v.suspense.unmount(R,P);return}ae&&on(v,null,S,"beforeUnmount"),ie&64?v.type.remove(v,S,R,D,he,P):$&&(B!==Ye||te>0&&te&64)?q($,S,R,!1,!0):(B===Ye&&te&384||!D&&ie&16)&&q(W,S,R),P&&Pe(v)}(pe&&(Fe=X&&X.onVnodeUnmounted)||ae)&&nt(()=>{Fe&&mt(Fe,S,v),ae&&on(v,null,S,"unmounted")},R)},Pe=v=>{const{type:S,el:R,anchor:P,transition:D}=v;if(S===Ye){Te(R,P);return}if(S===Ji){b(v);return}const B=()=>{s(R),D&&!D.persisted&&D.afterLeave&&D.afterLeave()};if(v.shapeFlag&1&&D&&!D.persisted){const{leave:X,delayLeave:U}=D,W=()=>X(R,B);U?U(v.el,B,W):W()}else B()},Te=(v,S)=>{let R;for(;v!==S;)R=h(v),s(v),v=R;s(S)},O=(v,S,R)=>{const{bum:P,scope:D,update:B,subTree:X,um:U}=v;P&&Wi(P),D.stop(),B&&(B.active=!1,de(X,v,S,R)),U&&nt(U,S),nt(()=>{v.isUnmounted=!0},S),S&&S.pendingBranch&&!S.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===S.pendingId&&(S.deps--,S.deps===0&&S.resolve())},q=(v,S,R,P=!1,D=!1,B=0)=>{for(let X=B;Xv.shapeFlag&6?V(v.component.subTree):v.shapeFlag&128?v.suspense.next():h(v.anchor||v.el),ee=(v,S,R)=>{v==null?S._vnode&&de(S._vnode,null,null,!0):g(S._vnode||null,v,S,null,null,null,R),Uu(),xo(),S._vnode=v},he={p:g,um:de,m:Ee,r:Pe,mt:M,mc:k,pc:K,pbc:N,n:V,o:t};let me,ue;return e&&([me,ue]=e(he)),{render:ee,hydrate:me,createApp:f0(ee,me)}}function ei({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Zc(t,e,n=!1){const i=t.children,s=e.children;if(Z(i)&&Z(s))for(let r=0;r>1,t[n[a]]0&&(e[i]=n[r-1]),n[r]=i)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=e[o];return n}const m0=t=>t.__isTeleport,Ks=t=>t&&(t.disabled||t.disabled===""),Zu=t=>typeof SVGElement<"u"&&t instanceof SVGElement,Il=(t,e)=>{const n=t&&t.to;return He(n)?e?e(n):null:n},v0={__isTeleport:!0,process(t,e,n,i,s,r,o,a,l,u){const{mc:c,pc:f,pbc:h,o:{insert:d,querySelector:p,createText:g,createComment:w}}=u,_=Ks(e.props);let{shapeFlag:m,children:y,dynamicChildren:b}=e;if(t==null){const E=e.el=g(""),T=e.anchor=g("");d(E,n,i),d(T,n,i);const x=e.target=Il(e.props,p),k=e.targetAnchor=g("");x&&(d(k,x),o=o||Zu(x));const I=(N,j)=>{m&16&&c(y,N,j,s,r,o,a,l)};_?I(n,T):x&&I(x,k)}else{e.el=t.el;const E=e.anchor=t.anchor,T=e.target=t.target,x=e.targetAnchor=t.targetAnchor,k=Ks(t.props),I=k?n:T,N=k?E:x;if(o=o||Zu(T),b?(h(t.dynamicChildren,b,I,s,r,o,a),Zc(t,e,!0)):l||f(t,e,I,N,s,r,o,a,!1),_)k||Dr(e,n,E,u,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const j=e.target=Il(e.props,p);j&&Dr(e,j,null,u,0)}else k&&Dr(e,T,x,u,1)}Qp(e)},remove(t,e,n,i,{um:s,o:{remove:r}},o){const{shapeFlag:a,children:l,anchor:u,targetAnchor:c,target:f,props:h}=t;if(f&&r(c),(o||!Ks(h))&&(r(u),a&16))for(let d=0;d0?yt||zi:null,Zp(),bi>0&&yt&&yt.push(t),t}function hn(t,e,n,i,s,r){return eg(at(t,e,n,i,s,r,!0))}function tg(t,e,n,i,s){return eg(ke(t,e,n,i,s,!0))}function wi(t){return t?t.__v_isVNode===!0:!1}function Gt(t,e){return t.type===e.type&&t.key===e.key}function j2(t){}const ba="__vInternal",ng=({key:t})=>t!=null?t:null,ao=({ref:t,ref_key:e,ref_for:n})=>t!=null?He(t)||rt(t)||oe(t)?{i:ot,r:t,k:e,f:!!n}:t:null;function at(t,e=null,n=null,i=0,s=null,r=t===Ye?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&ng(e),ref:e&&ao(e),scopeId:va,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:i,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ot};return a?(eu(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=He(n)?8:16),bi>0&&!o&&yt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&yt.push(l),l}const ke=_0;function _0(t,e=null,n=null,i=0,s=null,r=!1){if((!t||t===Bp)&&(t=gt),wi(t)){const a=Cn(t,e,!0);return n&&eu(a,n),bi>0&&!r&&yt&&(a.shapeFlag&6?yt[yt.indexOf(t)]=a:yt.push(a)),a.patchFlag|=-2,a}if(x0(t)&&(t=t.__vccOpts),e){e=b0(e);let{class:a,style:l}=e;a&&!He(a)&&(e.class=_i(a)),Ae(l)&&(Ep(l)&&!Z(l)&&(l=ze({},l)),e.style=ra(l))}const o=He(t)?1:Fp(t)?128:m0(t)?64:Ae(t)?4:oe(t)?2:0;return at(t,e,n,i,s,o,r,!0)}function b0(t){return t?Ep(t)||ba in t?ze({},t):t:null}function Cn(t,e,n=!1){const{props:i,ref:s,patchFlag:r,children:o}=t,a=e?S0(i||{},e):i;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&ng(a),ref:e&&e.ref?n&&s?Z(s)?s.concat(ao(e)):[s,ao(e)]:ao(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:o,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ye?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Cn(t.ssContent),ssFallback:t.ssFallback&&Cn(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function Oo(t=" ",e=0){return ke(cs,null,t,e)}function w0(t,e){const n=ke(Ji,null,t);return n.staticCount=e,n}function B2(t="",e=!1){return e?(Rt(),tg(gt,null,t)):ke(gt,null,t)}function Tt(t){return t==null||typeof t=="boolean"?ke(gt):Z(t)?ke(Ye,null,t.slice()):typeof t=="object"?$n(t):ke(cs,null,String(t))}function $n(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Cn(t)}function eu(t,e){let n=0;const{shapeFlag:i}=t;if(e==null)e=null;else if(Z(e))n=16;else if(typeof e=="object")if(i&65){const s=e.default;s&&(s._c&&(s._d=!1),eu(t,s()),s._c&&(s._d=!0));return}else{n=32;const s=e._;!s&&!(ba in e)?e._ctx=ot:s===3&&ot&&(ot.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else oe(e)?(e={default:e,_ctx:ot},n=32):(e=String(e),i&64?(n=16,e=[Oo(e)]):n=8);t.children=e,t.shapeFlag|=n}function S0(...t){const e={};for(let n=0;nqe||ot,Jn=t=>{qe=t,t.scope.on()},Wn=()=>{qe&&qe.scope.off(),qe=null};function sg(t){return t.vnode.shapeFlag&4}let us=!1;function rg(t,e=!1){us=e;const{props:n,children:i}=t.vnode,s=sg(t);r0(t,n,s,e),l0(t,i);const r=s?T0(t,e):void 0;return us=!1,r}function T0(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=Tp(new Proxy(t.ctx,Sl));const{setup:i}=n;if(i){const s=t.setupContext=i.length>1?ag(t):null;Jn(t),ws();const r=Vn(i,t,0,[t.props,s]);if(Ss(),Wn(),Mc(r)){if(r.then(Wn,Wn),e)return r.then(o=>{xl(t,o,e)}).catch(o=>{ks(o,t,0)});t.asyncDep=r}else xl(t,r,e)}else og(t,e)}function xl(t,e,n){oe(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Ae(e)&&(t.setupState=xp(e)),og(t,n)}let No,Cl;function U2(t){No=t,Cl=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,Zy))}}const q2=()=>!No;function og(t,e,n){const i=t.type;if(!t.render){if(!e&&No&&!i.render){const s=i.template||Jc(t).template;if(s){const{isCustomElement:r,compilerOptions:o}=t.appContext.config,{delimiters:a,compilerOptions:l}=i,u=ze(ze({isCustomElement:r,delimiters:a},o),l);i.render=No(s,u)}}t.render=i.render||Zt,Cl&&Cl(t)}Jn(t),ws(),e0(t),Ss(),Wn()}function I0(t){return new Proxy(t.attrs,{get(e,n){return St(t,"get","$attrs"),e[n]}})}function ag(t){const e=i=>{t.exposed=i||{}};let n;return{get attrs(){return n||(n=I0(t))},slots:t.slots,emit:t.emit,expose:e}}function wa(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(xp(Tp(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Ws)return Ws[n](t)},has(e,n){return n in e||n in Ws}}))}function Rl(t,e=!0){return oe(t)?t.displayName||t.name:t.name||e&&t.__name}function x0(t){return oe(t)&&"__vccOpts"in t}const Lt=(t,e)=>Sy(t,e,us);function z2(){return null}function V2(){return null}function W2(t){}function K2(t,e){return null}function X2(){return lg().slots}function G2(){return lg().attrs}function lg(){const t=Ti();return t.setupContext||(t.setupContext=ag(t))}function Y2(t,e){const n=Z(t)?t.reduce((i,s)=>(i[s]={},i),{}):t;for(const i in e){const s=n[i];s?Z(s)||oe(s)?n[i]={type:s,default:e[i]}:s.default=e[i]:s===null&&(n[i]={default:e[i]})}return n}function J2(t,e){const n={};for(const i in t)e.includes(i)||Object.defineProperty(n,i,{enumerable:!0,get:()=>t[i]});return n}function Q2(t){const e=Ti();let n=t();return Wn(),Mc(n)&&(n=n.catch(i=>{throw Jn(e),i})),[n,()=>Jn(e)]}function hr(t,e,n){const i=arguments.length;return i===2?Ae(e)&&!Z(e)?wi(e)?ke(t,null,[e]):ke(t,e):ke(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&wi(n)&&(n=[n]),ke(t,e,n))}const C0=Symbol(""),R0=()=>un(C0);function Z2(){}function eR(t,e,n,i){const s=n[i];if(s&&O0(s,t))return s;const r=e();return r.memo=t.slice(),n[i]=r}function O0(t,e){const n=t.memo;if(n.length!=e.length)return!1;for(let i=0;i0&&yt&&yt.push(t),!0}const N0="3.2.47",A0={createComponentInstance:ig,setupComponent:rg,renderComponentRoot:ro,setCurrentRenderingInstance:cr,isVNode:wi,normalizeVNode:Tt},tR=A0,nR=null,iR=null,P0="http://www.w3.org/2000/svg",ui=typeof document<"u"?document:null,tf=ui&&ui.createElement("template"),F0={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,i)=>{const s=e?ui.createElementNS(P0,t):ui.createElement(t,n?{is:n}:void 0);return t==="select"&&i&&i.multiple!=null&&s.setAttribute("multiple",i.multiple),s},createText:t=>ui.createTextNode(t),createComment:t=>ui.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>ui.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,i,s,r){const o=n?n.previousSibling:e.lastChild;if(s&&(s===r||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{tf.innerHTML=i?`${t}`:t;const a=tf.content;if(i){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function M0(t,e,n){const i=t._vtc;i&&(e=(e?[e,...i]:[...i]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function D0(t,e,n){const i=t.style,s=He(n);if(n&&!s){if(e&&!He(e))for(const r in e)n[r]==null&&Ol(i,r,"");for(const r in n)Ol(i,r,n[r])}else{const r=i.display;s?e!==n&&(i.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(i.display=r)}}const nf=/\s*!important$/;function Ol(t,e,n){if(Z(n))n.forEach(i=>Ol(t,e,i));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const i=L0(t,e);nf.test(n)?t.setProperty(Dt(i),n.replace(nf,""),"important"):t[i]=n}}const sf=["Webkit","Moz","ms"],ja={};function L0(t,e){const n=ja[e];if(n)return n;let i=Ct(e);if(i!=="filter"&&i in t)return ja[e]=i;i=la(i);for(let s=0;sBa||(q0.then(()=>Ba=0),Ba=Date.now());function V0(t,e){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;Ht(W0(i,n.value),e,5,[i])};return n.value=t,n.attached=z0(),n}function W0(t,e){if(Z(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(i=>s=>!s._stopped&&i&&i(s))}else return e}const af=/^on[a-z]/,K0=(t,e,n,i,s=!1,r,o,a,l)=>{e==="class"?M0(t,i,s):e==="style"?D0(t,n,i):kr(e)?Pc(e)||B0(t,e,n,i,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):X0(t,e,i,s))?H0(t,e,i,r,o,a,l):(e==="true-value"?t._trueValue=i:e==="false-value"&&(t._falseValue=i),$0(t,e,i,s))};function X0(t,e,n,i){return i?!!(e==="innerHTML"||e==="textContent"||e in t&&af.test(e)&&oe(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||af.test(e)&&He(n)?!1:e in t}function G0(t,e){const n=Tr(t);class i extends tu{constructor(r){super(n,r,e)}}return i.def=n,i}const sR=t=>G0(t,p_),Y0=typeof HTMLElement<"u"?HTMLElement:class{};class tu extends Y0{constructor(e,n={},i){super(),this._def=e,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&i?i(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,mi(()=>{this._connected||(Ao(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let i=0;i{for(const s of i)this._setAttr(s.attributeName)}).observe(this,{attributes:!0});const e=(i,s=!1)=>{const{props:r,styles:o}=i;let a;if(r&&!Z(r))for(const l in r){const u=r[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=Eo(this._props[l])),(a||(a=Object.create(null)))[Ct(l)]=!0)}this._numberProps=a,s&&this._resolveProps(i),this._applyStyles(o),this._update()},n=this._def.__asyncLoader;n?n().then(i=>e(i,!0)):e(this._def)}_resolveProps(e){const{props:n}=e,i=Z(n)?n:Object.keys(n||{});for(const s of Object.keys(this))s[0]!=="_"&&i.includes(s)&&this._setProp(s,this[s],!0,!1);for(const s of i.map(Ct))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(r){this._setProp(s,r)}})}_setAttr(e){let n=this.getAttribute(e);const i=Ct(e);this._numberProps&&this._numberProps[i]&&(n=Eo(n)),this._setProp(i,n,!1)}_getProp(e){return this._props[e]}_setProp(e,n,i=!0,s=!0){n!==this._props[e]&&(this._props[e]=n,s&&this._instance&&this._update(),i&&(n===!0?this.setAttribute(Dt(e),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Dt(e),n+""):n||this.removeAttribute(Dt(e))))}_update(){Ao(this._createVNode(),this.shadowRoot)}_createVNode(){const e=ke(this._def,ze({},this._props));return this._instance||(e.ce=n=>{this._instance=n,n.isCE=!0;const i=(r,o)=>{this.dispatchEvent(new CustomEvent(r,{detail:o}))};n.emit=(r,...o)=>{i(r,o),Dt(r)!==r&&i(Dt(r),o)};let s=this;for(;s=s&&(s.parentNode||s.host);)if(s instanceof tu){n.parent=s._instance,n.provides=s._instance.provides;break}}),e}_applyStyles(e){e&&e.forEach(n=>{const i=document.createElement("style");i.textContent=n,this.shadowRoot.appendChild(i)})}}function rR(t="$style"){{const e=Ti();if(!e)return Ce;const n=e.type.__cssModules;if(!n)return Ce;const i=n[t];return i||Ce}}function oR(t){const e=Ti();if(!e)return;const n=e.ut=(s=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(r=>Al(r,s))},i=()=>{const s=t(e.proxy);Nl(e.subTree,s),n(s)};$y(i),Es(()=>{const s=new MutationObserver(i);s.observe(e.subTree.el.parentNode,{childList:!0}),_a(()=>s.disconnect())})}function Nl(t,e){if(t.shapeFlag&128){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Nl(n.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)Al(t.el,e);else if(t.type===Ye)t.children.forEach(n=>Nl(n,e));else if(t.type===Ji){let{el:n,anchor:i}=t;for(;n&&(Al(n,e),n!==i);)n=n.nextSibling}}function Al(t,e){if(t.nodeType===1){const n=t.style;for(const i in e)n.setProperty(`--${i}`,e[i])}}const Fn="transition",Cs="animation",cg=(t,{slots:e})=>hr($p,fg(t),e);cg.displayName="Transition";const ug={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},J0=cg.props=ze({},$p.props,ug),ti=(t,e=[])=>{Z(t)?t.forEach(n=>n(...e)):t&&t(...e)},lf=t=>t?Z(t)?t.some(e=>e.length>1):t.length>1:!1;function fg(t){const e={};for(const F in t)F in ug||(e[F]=t[F]);if(t.css===!1)return e;const{name:n="v",type:i,duration:s,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:u=o,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=t,p=Q0(s),g=p&&p[0],w=p&&p[1],{onBeforeEnter:_,onEnter:m,onEnterCancelled:y,onLeave:b,onLeaveCancelled:E,onBeforeAppear:T=_,onAppear:x=m,onAppearCancelled:k=y}=e,I=(F,z,M)=>{Ln(F,z?c:a),Ln(F,z?u:o),M&&M()},N=(F,z)=>{F._isLeaving=!1,Ln(F,f),Ln(F,d),Ln(F,h),z&&z()},j=F=>(z,M)=>{const J=F?x:m,H=()=>I(z,F,M);ti(J,[z,H]),cf(()=>{Ln(z,F?l:r),mn(z,F?c:a),lf(J)||uf(z,i,g,H)})};return ze(e,{onBeforeEnter(F){ti(_,[F]),mn(F,r),mn(F,o)},onBeforeAppear(F){ti(T,[F]),mn(F,l),mn(F,u)},onEnter:j(!1),onAppear:j(!0),onLeave(F,z){F._isLeaving=!0;const M=()=>N(F,z);mn(F,f),dg(),mn(F,h),cf(()=>{!F._isLeaving||(Ln(F,f),mn(F,d),lf(b)||uf(F,i,w,M))}),ti(b,[F,M])},onEnterCancelled(F){I(F,!1),ti(y,[F])},onAppearCancelled(F){I(F,!0),ti(k,[F])},onLeaveCancelled(F){N(F),ti(E,[F])}})}function Q0(t){if(t==null)return null;if(Ae(t))return[Ua(t.enter),Ua(t.leave)];{const e=Ua(t);return[e,e]}}function Ua(t){return Eo(t)}function mn(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function Ln(t,e){e.split(/\s+/).forEach(i=>i&&t.classList.remove(i));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function cf(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Z0=0;function uf(t,e,n,i){const s=t._endId=++Z0,r=()=>{s===t._endId&&i()};if(n)return setTimeout(r,n);const{type:o,timeout:a,propCount:l}=hg(t,e);if(!o)return i();const u=o+"end";let c=0;const f=()=>{t.removeEventListener(u,h),r()},h=d=>{d.target===t&&++c>=l&&f()};setTimeout(()=>{c(n[p]||"").split(", "),s=i(`${Fn}Delay`),r=i(`${Fn}Duration`),o=ff(s,r),a=i(`${Cs}Delay`),l=i(`${Cs}Duration`),u=ff(a,l);let c=null,f=0,h=0;e===Fn?o>0&&(c=Fn,f=o,h=r.length):e===Cs?u>0&&(c=Cs,f=u,h=l.length):(f=Math.max(o,u),c=f>0?o>u?Fn:Cs:null,h=c?c===Fn?r.length:l.length:0);const d=c===Fn&&/\b(transform|all)(,|$)/.test(i(`${Fn}Property`).toString());return{type:c,timeout:f,propCount:h,hasTransform:d}}function ff(t,e){for(;t.lengthhf(n)+hf(t[i])))}function hf(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function dg(){return document.body.offsetHeight}const pg=new WeakMap,gg=new WeakMap,mg={name:"TransitionGroup",props:ze({},J0,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Ti(),i=Lp();let s,r;return Wc(()=>{if(!s.length)return;const o=t.moveClass||`${t.name||"v"}-move`;if(!s_(s[0].el,n.vnode.el,o))return;s.forEach(t_),s.forEach(n_);const a=s.filter(i_);dg(),a.forEach(l=>{const u=l.el,c=u.style;mn(u,o),c.transform=c.webkitTransform=c.transitionDuration="";const f=u._moveCb=h=>{h&&h.target!==u||(!h||/transform$/.test(h.propertyName))&&(u.removeEventListener("transitionend",f),u._moveCb=null,Ln(u,o))};u.addEventListener("transitionend",f)})}),()=>{const o=ye(t),a=fg(o);let l=o.tag||Ye;s=r,r=e.default?Vc(e.default()):[];for(let u=0;udelete t.mode;mg.props;const aR=mg;function t_(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function n_(t){gg.set(t,t.el.getBoundingClientRect())}function i_(t){const e=pg.get(t),n=gg.get(t),i=e.left-n.left,s=e.top-n.top;if(i||s){const r=t.el.style;return r.transform=r.webkitTransform=`translate(${i}px,${s}px)`,r.transitionDuration="0s",t}}function s_(t,e,n){const i=t.cloneNode();t._vtc&&t._vtc.forEach(o=>{o.split(/\s+/).forEach(a=>a&&i.classList.remove(a))}),n.split(/\s+/).forEach(o=>o&&i.classList.add(o)),i.style.display="none";const s=e.nodeType===1?e:e.parentNode;s.appendChild(i);const{hasTransform:r}=hg(i);return s.removeChild(i),r}const Qn=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Z(e)?n=>Wi(e,n):e};function r_(t){t.target.composing=!0}function df(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Pl={created(t,{modifiers:{lazy:e,trim:n,number:i}},s){t._assign=Qn(s);const r=i||s.props&&s.props.type==="number";wn(t,e?"change":"input",o=>{if(o.target.composing)return;let a=t.value;n&&(a=a.trim()),r&&(a=ko(a)),t._assign(a)}),n&&wn(t,"change",()=>{t.value=t.value.trim()}),e||(wn(t,"compositionstart",r_),wn(t,"compositionend",df),wn(t,"change",df))},mounted(t,{value:e}){t.value=e==null?"":e},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:i,number:s}},r){if(t._assign=Qn(r),t.composing||document.activeElement===t&&t.type!=="range"&&(n||i&&t.value.trim()===e||(s||t.type==="number")&&ko(t.value)===e))return;const o=e==null?"":e;t.value!==o&&(t.value=o)}},vg={deep:!0,created(t,e,n){t._assign=Qn(n),wn(t,"change",()=>{const i=t._modelValue,s=fs(t),r=t.checked,o=t._assign;if(Z(i)){const a=oa(i,s),l=a!==-1;if(r&&!l)o(i.concat(s));else if(!r&&l){const u=[...i];u.splice(a,1),o(u)}}else if(ki(i)){const a=new Set(i);r?a.add(s):a.delete(s),o(a)}else o(_g(t,r))})},mounted:pf,beforeUpdate(t,e,n){t._assign=Qn(n),pf(t,e,n)}};function pf(t,{value:e,oldValue:n},i){t._modelValue=e,Z(e)?t.checked=oa(e,i.props.value)>-1:ki(e)?t.checked=e.has(i.props.value):e!==n&&(t.checked=Gn(e,_g(t,!0)))}const yg={created(t,{value:e},n){t.checked=Gn(e,n.props.value),t._assign=Qn(n),wn(t,"change",()=>{t._assign(fs(t))})},beforeUpdate(t,{value:e,oldValue:n},i){t._assign=Qn(i),e!==n&&(t.checked=Gn(e,i.props.value))}},o_={deep:!0,created(t,{value:e,modifiers:{number:n}},i){const s=ki(e);wn(t,"change",()=>{const r=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>n?ko(fs(o)):fs(o));t._assign(t.multiple?s?new Set(r):r:r[0])}),t._assign=Qn(i)},mounted(t,{value:e}){gf(t,e)},beforeUpdate(t,e,n){t._assign=Qn(n)},updated(t,{value:e}){gf(t,e)}};function gf(t,e){const n=t.multiple;if(!(n&&!Z(e)&&!ki(e))){for(let i=0,s=t.options.length;i-1:r.selected=e.has(o);else if(Gn(fs(r),e)){t.selectedIndex!==i&&(t.selectedIndex=i);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function fs(t){return"_value"in t?t._value:t.value}function _g(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const a_={created(t,e,n){Lr(t,e,n,null,"created")},mounted(t,e,n){Lr(t,e,n,null,"mounted")},beforeUpdate(t,e,n,i){Lr(t,e,n,i,"beforeUpdate")},updated(t,e,n,i){Lr(t,e,n,i,"updated")}};function bg(t,e){switch(t){case"SELECT":return o_;case"TEXTAREA":return Pl;default:switch(e){case"checkbox":return vg;case"radio":return yg;default:return Pl}}}function Lr(t,e,n,i,s){const o=bg(t.tagName,n.props&&n.props.type)[s];o&&o(t,e,n,i)}function l_(){Pl.getSSRProps=({value:t})=>({value:t}),yg.getSSRProps=({value:t},e)=>{if(e.props&&Gn(e.props.value,t))return{checked:!0}},vg.getSSRProps=({value:t},e)=>{if(Z(t)){if(e.props&&oa(t,e.props.value)>-1)return{checked:!0}}else if(ki(t)){if(e.props&&t.has(e.props.value))return{checked:!0}}else if(t)return{checked:!0}},a_.getSSRProps=(t,e)=>{if(typeof e.type!="string")return;const n=bg(e.type.toUpperCase(),e.props&&e.props.type);if(n.getSSRProps)return n.getSSRProps(t,e)}}const c_=["ctrl","shift","alt","meta"],u_={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>c_.some(n=>t[`${n}Key`]&&!e.includes(n))},lR=(t,e)=>(n,...i)=>{for(let s=0;sn=>{if(!("key"in n))return;const i=Dt(n.key);if(e.some(s=>s===i||f_[s]===i))return t(n)},h_={beforeMount(t,{value:e},{transition:n}){t._vod=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):Rs(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:i}){!e!=!n&&(i?e?(i.beforeEnter(t),Rs(t,!0),i.enter(t)):i.leave(t,()=>{Rs(t,!1)}):Rs(t,e))},beforeUnmount(t,{value:e}){Rs(t,e)}};function Rs(t,e){t.style.display=e?t._vod:"none"}function d_(){h_.getSSRProps=({value:t})=>{if(!t)return{style:{display:"none"}}}}const wg=ze({patchProp:K0},F0);let Gs,mf=!1;function Sg(){return Gs||(Gs=d0(wg))}function kg(){return Gs=mf?Gs:p0(wg),mf=!0,Gs}const Ao=(...t)=>{Sg().render(...t)},p_=(...t)=>{kg().hydrate(...t)},g_=(...t)=>{const e=Sg().createApp(...t),{mount:n}=e;return e.mount=i=>{const s=Eg(i);if(!s)return;const r=e._component;!oe(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.innerHTML="";const o=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},e},uR=(...t)=>{const e=kg().createApp(...t),{mount:n}=e;return e.mount=i=>{const s=Eg(i);if(s)return n(s,!0,s instanceof SVGElement)},e};function Eg(t){return He(t)?document.querySelector(t):t}let vf=!1;const fR=()=>{vf||(vf=!0,l_(),d_())};/*! + * Viewer.js v1.11.2 + * https://fengyuanchen.github.io/viewerjs + * + * Copyright 2015-present Chen Fengyuan + * Released under the MIT license + * + * Date: 2023-01-01T10:14:49.638Z + */function yf(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),n.push.apply(n,i)}return n}function nu(t){for(var e=1;e
    ',Sa=typeof window<"u"&&typeof window.document<"u",Rn=Sa?window:{},Qi=Sa&&Rn.document.documentElement?"ontouchstart"in Rn.document.documentElement:!1,iu=Sa?"PointerEvent"in Rn:!1,fe="viewer",lo="move",Ig="switch",js="zoom",$r="".concat(fe,"-active"),w_="".concat(fe,"-close"),co="".concat(fe,"-fade"),Ml="".concat(fe,"-fixed"),S_="".concat(fe,"-fullscreen"),wf="".concat(fe,"-fullscreen-exit"),fi="".concat(fe,"-hide"),k_="".concat(fe,"-hide-md-down"),E_="".concat(fe,"-hide-sm-down"),T_="".concat(fe,"-hide-xs-down"),At="".concat(fe,"-in"),Ys="".concat(fe,"-invisible"),Zi="".concat(fe,"-loading"),I_="".concat(fe,"-move"),Sf="".concat(fe,"-open"),xi="".concat(fe,"-show"),Be="".concat(fe,"-transition"),hs="click",Dl="dblclick",kf="dragstart",Ef="focusin",Tf="keydown",$t="load",yi="error",x_=Qi?"touchend touchcancel":"mouseup",C_=Qi?"touchmove":"mousemove",R_=Qi?"touchstart":"mousedown",If=iu?"pointerdown":R_,xf=iu?"pointermove":C_,Cf=iu?"pointerup pointercancel":x_,Rf="resize",Vt="transitionend",Of="wheel",Nf="ready",Af="show",Pf="shown",Ff="hide",Mf="hidden",Df="view",dr="viewed",Lf="move",$f="moved",Hf="rotate",jf="rotated",Bf="scale",Uf="scaled",qf="zoom",zf="zoomed",Vf="play",Wf="stop",Po="".concat(fe,"Action"),su=/\s\s*/,Hr=["zoom-in","zoom-out","one-to-one","reset","prev","play","next","rotate-left","rotate-right","flip-horizontal","flip-vertical"];function pr(t){return typeof t=="string"}var O_=Number.isNaN||Rn.isNaN;function je(t){return typeof t=="number"&&!O_(t)}function $i(t){return typeof t>"u"}function ds(t){return Fl(t)==="object"&&t!==null}var N_=Object.prototype.hasOwnProperty;function Hi(t){if(!ds(t))return!1;try{var e=t.constructor,n=e.prototype;return e&&n&&N_.call(n,"isPrototypeOf")}catch{return!1}}function Re(t){return typeof t=="function"}function Me(t,e){if(t&&Re(e))if(Array.isArray(t)||je(t.length)){var n=t.length,i;for(i=0;i1?n-1:0),s=1;s0&&i.forEach(function(r){ds(r)&&Object.keys(r).forEach(function(o){e[o]=r[o]})}),e},A_=/^(?:width|height|left|top|marginLeft|marginTop)$/;function Qt(t,e){var n=t.style;Me(e,function(i,s){A_.test(s)&&je(i)&&(i+="px"),n[s]=i})}function P_(t){return pr(t)?t.replace(/&(?!amp;|quot;|#39;|lt;|gt;)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">"):t}function Ai(t,e){return!t||!e?!1:t.classList?t.classList.contains(e):t.className.indexOf(e)>-1}function re(t,e){if(!(!t||!e)){if(je(t.length)){Me(t,function(i){re(i,e)});return}if(t.classList){t.classList.add(e);return}var n=t.className.trim();n?n.indexOf(e)<0&&(t.className="".concat(n," ").concat(e)):t.className=e}}function be(t,e){if(!(!t||!e)){if(je(t.length)){Me(t,function(n){be(n,e)});return}if(t.classList){t.classList.remove(e);return}t.className.indexOf(e)>=0&&(t.className=t.className.replace(e,""))}}function gr(t,e,n){if(!!e){if(je(t.length)){Me(t,function(i){gr(i,e,n)});return}n?re(t,e):be(t,e)}}var F_=/([a-z\d])([A-Z])/g;function ru(t){return t.replace(F_,"$1-$2").toLowerCase()}function ji(t,e){return ds(t[e])?t[e]:t.dataset?t.dataset[e]:t.getAttribute("data-".concat(ru(e)))}function Ll(t,e,n){ds(n)?t[e]=n:t.dataset?t.dataset[e]=n:t.setAttribute("data-".concat(ru(e)),n)}var xg=function(){var t=!1;if(Sa){var e=!1,n=function(){},i=Object.defineProperty({},"once",{get:function(){return t=!0,e},set:function(r){e=r}});Rn.addEventListener("test",n,i),Rn.removeEventListener("test",n,i)}return t}();function Oe(t,e,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=n;e.trim().split(su).forEach(function(r){if(!xg){var o=t.listeners;o&&o[r]&&o[r][n]&&(s=o[r][n],delete o[r][n],Object.keys(o[r]).length===0&&delete o[r],Object.keys(o).length===0&&delete t.listeners)}t.removeEventListener(r,s,i)})}function le(t,e,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=n;e.trim().split(su).forEach(function(r){if(i.once&&!xg){var o=t.listeners,a=o===void 0?{}:o;s=function(){delete a[r][n],t.removeEventListener(r,s,i);for(var u=arguments.length,c=new Array(u),f=0;fa?w=a/d:g=l*d,p=je(p)?p:.9,g=Math.min(g*p,f),w=Math.min(w*p,h);var _=(a-g)/2,m=(l-w)/2,y={left:_,top:m,x:_,y:m,width:g,height:w,oldRatio:1,ratio:g/f,aspectRatio:d,naturalWidth:f,naturalHeight:h},b=xt({},y);i.rotatable&&(y.rotate=u.rotate||0,b.rotate=0),i.scalable&&(y.scaleX=u.scaleX||1,y.scaleY=u.scaleY||1,b.scaleX=1,b.scaleY=1),n.imageData=y,n.initialImageData=b,e&&e()})},renderImage:function(e){var n=this,i=this.image,s=this.imageData;if(Qt(i,xt({width:s.width,height:s.height,marginLeft:s.x,marginTop:s.y},uo(s))),e)if((this.viewing||this.moving||this.rotating||this.scaling||this.zooming)&&this.options.transition&&Ai(i,Be)){var r=function(){n.imageRendering=!1,e()};this.imageRendering={abort:function(){Oe(i,Vt,r)}},le(i,Vt,r,{once:!0})}else e()},resetImage:function(){if(this.viewing||this.viewed){var e=this.image;this.viewing&&this.viewing.abort(),e.parentNode.removeChild(e),this.image=null}}},j_={bind:function(){var e=this.options,n=this.viewer,i=this.canvas,s=this.element.ownerDocument;le(n,hs,this.onClick=this.click.bind(this)),le(n,kf,this.onDragStart=this.dragstart.bind(this)),le(i,If,this.onPointerDown=this.pointerdown.bind(this)),le(s,xf,this.onPointerMove=this.pointermove.bind(this)),le(s,Cf,this.onPointerUp=this.pointerup.bind(this)),le(s,Tf,this.onKeyDown=this.keydown.bind(this)),le(window,Rf,this.onResize=this.resize.bind(this)),e.zoomable&&e.zoomOnWheel&&le(n,Of,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),e.toggleOnDblclick&&le(i,Dl,this.onDblclick=this.dblclick.bind(this))},unbind:function(){var e=this.options,n=this.viewer,i=this.canvas,s=this.element.ownerDocument;Oe(n,hs,this.onClick),Oe(n,kf,this.onDragStart),Oe(i,If,this.onPointerDown),Oe(s,xf,this.onPointerMove),Oe(s,Cf,this.onPointerUp),Oe(s,Tf,this.onKeyDown),Oe(window,Rf,this.onResize),e.zoomable&&e.zoomOnWheel&&Oe(n,Of,this.onWheel,{passive:!1,capture:!0}),e.toggleOnDblclick&&Oe(i,Dl,this.onDblclick)}},B_={click:function(e){var n=this.options,i=this.imageData,s=e.target,r=ji(s,Po);switch(!r&&s.localName==="img"&&s.parentElement.localName==="li"&&(s=s.parentElement,r=ji(s,Po)),Qi&&e.isTrusted&&s===this.canvas&&clearTimeout(this.clickCanvasTimeout),r){case"mix":this.played?this.stop():n.inline?this.fulled?this.exit():this.full():this.hide();break;case"hide":this.pointerMoved||this.hide();break;case"view":this.view(ji(s,"index"));break;case"zoom-in":this.zoom(.1,!0);break;case"zoom-out":this.zoom(-.1,!0);break;case"one-to-one":this.toggle();break;case"reset":this.reset();break;case"prev":this.prev(n.loop);break;case"play":this.play(n.fullscreen);break;case"next":this.next(n.loop);break;case"rotate-left":this.rotate(-90);break;case"rotate-right":this.rotate(90);break;case"flip-horizontal":this.scaleX(-i.scaleX||-1);break;case"flip-vertical":this.scaleY(-i.scaleY||-1);break;default:this.played&&this.stop()}},dblclick:function(e){e.preventDefault(),this.viewed&&e.target===this.image&&(Qi&&e.isTrusted&&clearTimeout(this.doubleClickImageTimeout),this.toggle(e.isTrusted?e:e.detail&&e.detail.originalEvent))},load:function(){var e=this;this.timeout&&(clearTimeout(this.timeout),this.timeout=!1);var n=this.element,i=this.options,s=this.image,r=this.index,o=this.viewerData;be(s,Ys),i.loading&&be(this.canvas,Zi),s.style.cssText="height:0;"+"margin-left:".concat(o.width/2,"px;")+"margin-top:".concat(o.height/2,"px;")+"max-width:none!important;position:relative;width:0;",this.initImage(function(){gr(s,I_,i.movable),gr(s,Be,i.transition),e.renderImage(function(){e.viewed=!0,e.viewing=!1,Re(i.viewed)&&le(n,dr,i.viewed,{once:!0}),Ve(n,dr,{originalImage:e.images[r],index:r,image:s},{cancelable:!1})})})},loadImage:function(e){var n=e.target,i=n.parentNode,s=i.offsetWidth||30,r=i.offsetHeight||50,o=!!ji(n,"filled");Cg(n,this.options,function(a,l){var u=a/l,c=s,f=r;r*u>s?o?c=r*u:f=s/u:o?f=s/u:c=r*u,Qt(n,xt({width:c,height:f},uo({translateX:(s-c)/2,translateY:(r-f)/2})))})},keydown:function(e){var n=this.options;if(!!n.keyboard){var i=e.keyCode||e.which||e.charCode;switch(i){case 13:this.viewer.contains(e.target)&&this.click(e);break}if(!!this.fulled)switch(i){case 27:this.played?this.stop():n.inline?this.fulled&&this.exit():this.hide();break;case 32:this.played&&this.stop();break;case 37:this.played&&this.playing?this.playing.prev():this.prev(n.loop);break;case 38:e.preventDefault(),this.zoom(n.zoomRatio,!0);break;case 39:this.played&&this.playing?this.playing.next():this.next(n.loop);break;case 40:e.preventDefault(),this.zoom(-n.zoomRatio,!0);break;case 48:case 49:e.ctrlKey&&(e.preventDefault(),this.toggle());break}}},dragstart:function(e){e.target.localName==="img"&&e.preventDefault()},pointerdown:function(e){var n=this.options,i=this.pointers,s=e.buttons,r=e.button;if(this.pointerMoved=!1,!(!this.viewed||this.showing||this.viewing||this.hiding||(e.type==="mousedown"||e.type==="pointerdown"&&e.pointerType==="mouse")&&(je(s)&&s!==1||je(r)&&r!==0||e.ctrlKey))){e.preventDefault(),e.changedTouches?Me(e.changedTouches,function(a){i[a.identifier]=Br(a)}):i[e.pointerId||0]=Br(e);var o=n.movable?lo:!1;n.zoomOnTouch&&n.zoomable&&Object.keys(i).length>1?o=js:n.slideOnTouch&&(e.pointerType==="touch"||e.type==="touchstart")&&this.isSwitchable()&&(o=Ig),n.transition&&(o===lo||o===js)&&be(this.image,Be),this.action=o}},pointermove:function(e){var n=this.pointers,i=this.action;!this.viewed||!i||(e.preventDefault(),this.pointerMoved=!0,e.changedTouches?Me(e.changedTouches,function(s){xt(n[s.identifier]||{},Br(s,!0))}):xt(n[e.pointerId||0]||{},Br(e,!0)),this.change(e))},pointerup:function(e){var n=this,i=this.options,s=this.action,r=this.pointers,o;e.changedTouches?Me(e.changedTouches,function(a){o=r[a.identifier],delete r[a.identifier]}):(o=r[e.pointerId||0],delete r[e.pointerId||0]),s&&(e.preventDefault(),i.transition&&(s===lo||s===js)&&re(this.image,Be),this.action=!1,Qi&&s!==js&&o&&Date.now()-o.timeStamp<500&&(clearTimeout(this.clickCanvasTimeout),clearTimeout(this.doubleClickImageTimeout),i.toggleOnDblclick&&this.viewed&&e.target===this.image?this.imageClicked?(this.imageClicked=!1,this.doubleClickImageTimeout=setTimeout(function(){Ve(n.image,Dl,{originalEvent:e})},50)):(this.imageClicked=!0,this.doubleClickImageTimeout=setTimeout(function(){n.imageClicked=!1},500)):(this.imageClicked=!1,i.backdrop&&i.backdrop!=="static"&&e.target===this.canvas&&(this.clickCanvasTimeout=setTimeout(function(){Ve(n.canvas,hs,{originalEvent:e})},50)))))},resize:function(){var e=this;if(!(!this.isShown||this.hiding)&&(this.fulled&&(this.close(),this.initBody(),this.open()),this.initContainer(),this.initViewer(),this.renderViewer(),this.renderList(),this.viewed&&this.initImage(function(){e.renderImage()}),this.played)){if(this.options.fullscreen&&this.fulled&&!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement)){this.stop();return}Me(this.player.getElementsByTagName("img"),function(n){le(n,$t,e.loadImage.bind(e),{once:!0}),Ve(n,$t)})}},wheel:function(e){var n=this;if(!!this.viewed&&(e.preventDefault(),!this.wheeling)){this.wheeling=!0,setTimeout(function(){n.wheeling=!1},50);var i=Number(this.options.zoomRatio)||.1,s=1;e.deltaY?s=e.deltaY>0?1:-1:e.wheelDelta?s=-e.wheelDelta/120:e.detail&&(s=e.detail>0?1:-1),this.zoom(-s*i,!0,null,e)}}},U_={show:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,n=this.element,i=this.options;if(i.inline||this.showing||this.isShown||this.showing)return this;if(!this.ready)return this.build(),this.ready&&this.show(e),this;if(Re(i.show)&&le(n,Af,i.show,{once:!0}),Ve(n,Af)===!1||!this.ready)return this;this.hiding&&this.transitioning.abort(),this.showing=!0,this.open();var s=this.viewer;if(be(s,fi),s.setAttribute("role","dialog"),s.setAttribute("aria-labelledby",this.title.id),s.setAttribute("aria-modal",!0),s.removeAttribute("aria-hidden"),i.transition&&!e){var r=this.shown.bind(this);this.transitioning={abort:function(){Oe(s,Vt,r),be(s,At)}},re(s,Be),s.initialOffsetWidth=s.offsetWidth,le(s,Vt,r,{once:!0}),re(s,At)}else re(s,At),this.shown();return this},hide:function(){var e=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,i=this.element,s=this.options;if(s.inline||this.hiding||!(this.isShown||this.showing))return this;if(Re(s.hide)&&le(i,Ff,s.hide,{once:!0}),Ve(i,Ff)===!1)return this;this.showing&&this.transitioning.abort(),this.hiding=!0,this.played?this.stop():this.viewing&&this.viewing.abort();var r=this.viewer,o=this.image,a=function(){be(r,At),e.hidden()};if(s.transition&&!n){var l=function c(f){f&&f.target===r&&(Oe(r,Vt,c),e.hidden())},u=function(){Ai(r,Be)?(le(r,Vt,l),be(r,At)):a()};this.transitioning={abort:function(){e.viewed&&Ai(o,Be)?Oe(o,Vt,u):Ai(r,Be)&&Oe(r,Vt,l)}},this.viewed&&Ai(o,Be)?(le(o,Vt,u,{once:!0}),this.zoomTo(0,!1,null,null,!0)):u()}else a();return this},view:function(){var e=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.initialViewIndex;if(n=Number(n)||0,this.hiding||this.played||n<0||n>=this.length||this.viewed&&n===this.index)return this;if(!this.isShown)return this.index=n,this.show();this.viewing&&this.viewing.abort();var i=this.element,s=this.options,r=this.title,o=this.canvas,a=this.items[n],l=a.querySelector("img"),u=ji(l,"originalUrl"),c=l.getAttribute("alt"),f=document.createElement("img");if(Me(s.inheritedAttributes,function(w){var _=l.getAttribute(w);_!==null&&f.setAttribute(w,_)}),f.src=u,f.alt=c,Re(s.view)&&le(i,Df,s.view,{once:!0}),Ve(i,Df,{originalImage:this.images[n],index:n,image:f})===!1||!this.isShown||this.hiding||this.played)return this;var h=this.items[this.index];h&&(be(h,$r),h.removeAttribute("aria-selected")),re(a,$r),a.setAttribute("aria-selected",!0),s.focus&&a.focus(),this.image=f,this.viewed=!1,this.index=n,this.imageData={},re(f,Ys),s.loading&&re(o,Zi),o.innerHTML="",o.appendChild(f),this.renderList(),r.innerHTML="";var d=function(){var _=e.imageData,m=Array.isArray(s.title)?s.title[1]:s.title;r.innerHTML=P_(Re(m)?m.call(e,f,_):"".concat(c," (").concat(_.naturalWidth," \xD7 ").concat(_.naturalHeight,")"))},p,g;return le(i,dr,d,{once:!0}),this.viewing={abort:function(){Oe(i,dr,d),f.complete?e.imageRendering?e.imageRendering.abort():e.imageInitializing&&e.imageInitializing.abort():(f.src="",Oe(f,$t,p),e.timeout&&clearTimeout(e.timeout))}},f.complete?this.load():(le(f,$t,p=function(){Oe(f,yi,g),e.load()},{once:!0}),le(f,yi,g=function(){Oe(f,$t,p),e.timeout&&(clearTimeout(e.timeout),e.timeout=!1),be(f,Ys),s.loading&&be(e.canvas,Zi)},{once:!0}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(function(){be(f,Ys),e.timeout=!1},1e3)),this},prev:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,n=this.index-1;return n<0&&(n=e?this.length-1:0),this.view(n),this},next:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,n=this.length-1,i=this.index+1;return i>n&&(i=e?0:n),this.view(i),this},move:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,i=this.imageData;return this.moveTo($i(e)?e:i.x+Number(e),$i(n)?n:i.y+Number(n)),this},moveTo:function(e){var n=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=this.element,o=this.options,a=this.imageData;if(e=Number(e),i=Number(i),this.viewed&&!this.played&&o.movable){var l=a.x,u=a.y,c=!1;if(je(e)?c=!0:e=l,je(i)?c=!0:i=u,c){if(Re(o.move)&&le(r,Lf,o.move,{once:!0}),Ve(r,Lf,{x:e,y:i,oldX:l,oldY:u,originalEvent:s})===!1)return this;a.x=e,a.y=i,a.left=e,a.top=i,this.moving=!0,this.renderImage(function(){n.moving=!1,Re(o.moved)&&le(r,$f,o.moved,{once:!0}),Ve(r,$f,{x:e,y:i,oldX:l,oldY:u,originalEvent:s},{cancelable:!1})})}}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e)),this},rotateTo:function(e){var n=this,i=this.element,s=this.options,r=this.imageData;if(e=Number(e),je(e)&&this.viewed&&!this.played&&s.rotatable){var o=r.rotate;if(Re(s.rotate)&&le(i,Hf,s.rotate,{once:!0}),Ve(i,Hf,{degree:e,oldDegree:o})===!1)return this;r.rotate=e,this.rotating=!0,this.renderImage(function(){n.rotating=!1,Re(s.rotated)&&le(i,jf,s.rotated,{once:!0}),Ve(i,jf,{degree:e,oldDegree:o},{cancelable:!1})})}return this},scaleX:function(e){return this.scale(e,this.imageData.scaleY),this},scaleY:function(e){return this.scale(this.imageData.scaleX,e),this},scale:function(e){var n=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,s=this.element,r=this.options,o=this.imageData;if(e=Number(e),i=Number(i),this.viewed&&!this.played&&r.scalable){var a=o.scaleX,l=o.scaleY,u=!1;if(je(e)?u=!0:e=a,je(i)?u=!0:i=l,u){if(Re(r.scale)&&le(s,Bf,r.scale,{once:!0}),Ve(s,Bf,{scaleX:e,scaleY:i,oldScaleX:a,oldScaleY:l})===!1)return this;o.scaleX=e,o.scaleY=i,this.scaling=!0,this.renderImage(function(){n.scaling=!1,Re(r.scaled)&&le(s,Uf,r.scaled,{once:!0}),Ve(s,Uf,{scaleX:e,scaleY:i,oldScaleX:a,oldScaleY:l},{cancelable:!1})})}}return this},zoom:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,r=this.imageData;return e=Number(e),e<0?e=1/(1-e):e=1+e,this.zoomTo(r.width*e/r.naturalWidth,n,i,s),this},zoomTo:function(e){var n=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,a=this.element,l=this.options,u=this.pointers,c=this.imageData,f=c.x,h=c.y,d=c.width,p=c.height,g=c.naturalWidth,w=c.naturalHeight;if(e=Math.max(0,e),je(e)&&this.viewed&&!this.played&&(o||l.zoomable)){if(!o){var _=Math.max(.01,l.minZoomRatio),m=Math.min(100,l.maxZoomRatio);e=Math.min(Math.max(e,_),m)}if(r)switch(r.type){case"wheel":l.zoomRatio>=.055&&e>.95&&e<1.05&&(e=1);break;case"pointermove":case"touchmove":case"mousemove":e>.99&&e<1.01&&(e=1);break}var y=g*e,b=w*e,E=y-d,T=b-p,x=c.ratio;if(Re(l.zoom)&&le(a,qf,l.zoom,{once:!0}),Ve(a,qf,{ratio:e,oldRatio:x,originalEvent:r})===!1)return this;if(this.zooming=!0,r){var k=M_(this.viewer),I=u&&Object.keys(u).length>0?$_(u):{pageX:r.pageX,pageY:r.pageY};c.x-=E*((I.pageX-k.left-f)/d),c.y-=T*((I.pageY-k.top-h)/p)}else Hi(s)&&je(s.x)&&je(s.y)?(c.x-=E*((s.x-f)/d),c.y-=T*((s.y-h)/p)):(c.x-=E/2,c.y-=T/2);c.left=c.x,c.top=c.y,c.width=y,c.height=b,c.oldRatio=x,c.ratio=e,this.renderImage(function(){n.zooming=!1,Re(l.zoomed)&&le(a,zf,l.zoomed,{once:!0}),Ve(a,zf,{ratio:e,oldRatio:x,originalEvent:r},{cancelable:!1})}),i&&this.tooltip()}return this},play:function(){var e=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!this.isShown||this.played)return this;var i=this.element,s=this.options;if(Re(s.play)&&le(i,Vf,s.play,{once:!0}),Ve(i,Vf)===!1)return this;var r=this.player,o=this.loadImage.bind(this),a=[],l=0,u=0;if(this.played=!0,this.onLoadWhenPlay=o,n&&this.requestFullscreen(n),re(r,xi),Me(this.items,function(h,d){var p=h.querySelector("img"),g=document.createElement("img");g.src=ji(p,"originalUrl"),g.alt=p.getAttribute("alt"),g.referrerPolicy=p.referrerPolicy,l+=1,re(g,co),gr(g,Be,s.transition),Ai(h,$r)&&(re(g,At),u=d),a.push(g),le(g,$t,o,{once:!0}),r.appendChild(g)}),je(s.interval)&&s.interval>0){var c=function h(){clearTimeout(e.playing.timeout),be(a[u],At),u-=1,u=u>=0?u:l-1,re(a[u],At),e.playing.timeout=setTimeout(h,s.interval)},f=function h(){clearTimeout(e.playing.timeout),be(a[u],At),u+=1,u=u1&&(this.playing={prev:c,next:f,timeout:setTimeout(f,s.interval)})}return this},stop:function(){var e=this;if(!this.played)return this;var n=this.element,i=this.options;if(Re(i.stop)&&le(n,Wf,i.stop,{once:!0}),Ve(n,Wf)===!1)return this;var s=this.player;return clearTimeout(this.playing.timeout),this.playing=!1,this.played=!1,Me(s.getElementsByTagName("img"),function(r){Oe(r,$t,e.onLoadWhenPlay)}),be(s,xi),s.innerHTML="",this.exitFullscreen(),this},full:function(){var e=this,n=this.options,i=this.viewer,s=this.image,r=this.list;return!this.isShown||this.played||this.fulled||!n.inline?this:(this.fulled=!0,this.open(),re(this.button,wf),n.transition&&(be(r,Be),this.viewed&&be(s,Be)),re(i,Ml),i.setAttribute("role","dialog"),i.setAttribute("aria-labelledby",this.title.id),i.setAttribute("aria-modal",!0),i.removeAttribute("style"),Qt(i,{zIndex:n.zIndex}),n.focus&&this.enforceFocus(),this.initContainer(),this.viewerData=xt({},this.containerData),this.renderList(),this.viewed&&this.initImage(function(){e.renderImage(function(){n.transition&&setTimeout(function(){re(s,Be),re(r,Be)},0)})}),this)},exit:function(){var e=this,n=this.options,i=this.viewer,s=this.image,r=this.list;return!this.isShown||this.played||!this.fulled||!n.inline?this:(this.fulled=!1,this.close(),be(this.button,wf),n.transition&&(be(r,Be),this.viewed&&be(s,Be)),n.focus&&this.clearEnforceFocus(),i.removeAttribute("role"),i.removeAttribute("aria-labelledby"),i.removeAttribute("aria-modal"),be(i,Ml),Qt(i,{zIndex:n.zIndexInline}),this.viewerData=xt({},this.parentData),this.renderViewer(),this.renderList(),this.viewed&&this.initImage(function(){e.renderImage(function(){n.transition&&setTimeout(function(){re(s,Be),re(r,Be)},0)})}),this)},tooltip:function(){var e=this,n=this.options,i=this.tooltipBox,s=this.imageData;return!this.viewed||this.played||!n.tooltip?this:(i.textContent="".concat(Math.round(s.ratio*100),"%"),this.tooltipping?clearTimeout(this.tooltipping):n.transition?(this.fading&&Ve(i,Vt),re(i,xi),re(i,co),re(i,Be),i.removeAttribute("aria-hidden"),i.initialOffsetWidth=i.offsetWidth,re(i,At)):(re(i,xi),i.removeAttribute("aria-hidden")),this.tooltipping=setTimeout(function(){n.transition?(le(i,Vt,function(){be(i,xi),be(i,co),be(i,Be),i.setAttribute("aria-hidden",!0),e.fading=!1},{once:!0}),be(i,At),e.fading=!0):(be(i,xi),i.setAttribute("aria-hidden",!0)),e.tooltipping=!1},1e3),this)},toggle:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return this.imageData.ratio===1?this.zoomTo(this.imageData.oldRatio,!0,null,e):this.zoomTo(1,!0,null,e),this},reset:function(){return this.viewed&&!this.played&&(this.imageData=xt({},this.initialImageData),this.renderImage()),this},update:function(){var e=this,n=this.element,i=this.options,s=this.isImg;if(s&&!n.parentNode)return this.destroy();var r=[];if(Me(s?[n]:n.querySelectorAll("img"),function(u){Re(i.filter)?i.filter.call(e,u)&&r.push(u):e.getImageURL(u)&&r.push(u)}),!r.length)return this;if(this.images=r,this.length=r.length,this.ready){var o=[];if(Me(this.items,function(u,c){var f=u.querySelector("img"),h=r[c];h&&f?(h.src!==f.src||h.alt!==f.alt)&&o.push(c):o.push(c)}),Qt(this.list,{width:"auto"}),this.initList(),this.isShown)if(this.length){if(this.viewed){var a=o.indexOf(this.index);if(a>=0)this.viewed=!1,this.view(Math.max(Math.min(this.index-a,this.length-1),0));else{var l=this.items[this.index];re(l,$r),l.setAttribute("aria-selected",!0)}}}else this.image=null,this.viewed=!1,this.index=0,this.imageData={},this.canvas.innerHTML="",this.title.innerHTML=""}else this.build();return this},destroy:function(){var e=this.element,n=this.options;return e[fe]?(this.destroyed=!0,this.ready?(this.played&&this.stop(),n.inline?(this.fulled&&this.exit(),this.unbind()):this.isShown?(this.viewing&&(this.imageRendering?this.imageRendering.abort():this.imageInitializing&&this.imageInitializing.abort()),this.hiding&&this.transitioning.abort(),this.hidden()):this.showing&&(this.transitioning.abort(),this.hidden()),this.ready=!1,this.viewer.parentNode.removeChild(this.viewer)):n.inline&&(this.delaying?this.delaying.abort():this.initializing&&this.initializing.abort()),n.inline||Oe(e,hs,this.onStart),e[fe]=void 0,this):this}},q_={getImageURL:function(e){var n=this.options.url;return pr(n)?n=e.getAttribute(n):Re(n)?n=n.call(this,e):n="",n},enforceFocus:function(){var e=this;this.clearEnforceFocus(),le(document,Ef,this.onFocusin=function(n){var i=e.viewer,s=n.target;if(!(s===document||s===i||i.contains(s))){for(;s;){if(s.getAttribute("tabindex")!==null||s.getAttribute("aria-modal")==="true")return;s=s.parentElement}i.focus()}})},clearEnforceFocus:function(){this.onFocusin&&(Oe(document,Ef,this.onFocusin),this.onFocusin=null)},open:function(){var e=this.body;re(e,Sf),this.scrollbarWidth>0&&(e.style.paddingRight="".concat(this.scrollbarWidth+(parseFloat(this.initialBodyComputedPaddingRight)||0),"px"))},close:function(){var e=this.body;be(e,Sf),this.scrollbarWidth>0&&(e.style.paddingRight=this.initialBodyPaddingRight)},shown:function(){var e=this.element,n=this.options,i=this.viewer;this.fulled=!0,this.isShown=!0,this.render(),this.bind(),this.showing=!1,n.focus&&(i.focus(),this.enforceFocus()),Re(n.shown)&&le(e,Pf,n.shown,{once:!0}),Ve(e,Pf)!==!1&&this.ready&&this.isShown&&!this.hiding&&this.view(this.index)},hidden:function(){var e=this.element,n=this.options,i=this.viewer;n.fucus&&this.clearEnforceFocus(),this.fulled=!1,this.viewed=!1,this.isShown=!1,this.close(),this.unbind(),re(i,fi),i.removeAttribute("role"),i.removeAttribute("aria-labelledby"),i.removeAttribute("aria-modal"),i.setAttribute("aria-hidden",!0),this.resetList(),this.resetImage(),this.hiding=!1,this.destroyed||(Re(n.hidden)&&le(e,Mf,n.hidden,{once:!0}),Ve(e,Mf,null,{cancelable:!1}))},requestFullscreen:function(e){var n=this.element.ownerDocument;if(this.fulled&&!(n.fullscreenElement||n.webkitFullscreenElement||n.mozFullScreenElement||n.msFullscreenElement)){var i=n.documentElement;i.requestFullscreen?Hi(e)?i.requestFullscreen(e):i.requestFullscreen():i.webkitRequestFullscreen?i.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):i.mozRequestFullScreen?i.mozRequestFullScreen():i.msRequestFullscreen&&i.msRequestFullscreen()}},exitFullscreen:function(){var e=this.element.ownerDocument;this.fulled&&(e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement)&&(e.exitFullscreen?e.exitFullscreen():e.webkitExitFullscreen?e.webkitExitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.msExitFullscreen&&e.msExitFullscreen())},change:function(e){var n=this.options,i=this.pointers,s=i[Object.keys(i)[0]];if(!!s){var r=s.endX-s.startX,o=s.endY-s.startY;switch(this.action){case lo:this.move(r,o,e);break;case js:this.zoom(L_(i),!1,null,e);break;case Ig:{this.action="switched";var a=Math.abs(r);a>1&&a>Math.abs(o)&&(this.pointers={},r>1?this.prev(n.loop):r<-1&&this.next(n.loop));break}}Me(i,function(l){l.startX=l.endX,l.startY=l.endY})}},isSwitchable:function(){var e=this.imageData,n=this.viewerData;return this.length>1&&e.x>=0&&e.y>=0&&e.width<=n.width&&e.height<=n.height}},z_=Rn.Viewer,V_=function(t){return function(){return t+=1,t}}(-1),ps=function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(m_(this,t),!e||e.nodeType!==1)throw new Error("The first argument is required and must be an element.");this.element=e,this.options=xt({},bf,Hi(n)&&n),this.action=!1,this.fading=!1,this.fulled=!1,this.hiding=!1,this.imageClicked=!1,this.imageData={},this.index=this.options.initialViewIndex,this.isImg=!1,this.isShown=!1,this.length=0,this.moving=!1,this.played=!1,this.playing=!1,this.pointers={},this.ready=!1,this.rotating=!1,this.scaling=!1,this.showing=!1,this.timeout=!1,this.tooltipping=!1,this.viewed=!1,this.viewing=!1,this.wheeling=!1,this.zooming=!1,this.pointerMoved=!1,this.id=V_(),this.init()}return v_(t,[{key:"init",value:function(){var n=this,i=this.element,s=this.options;if(!i[fe]){i[fe]=this,s.focus&&!s.keyboard&&(s.focus=!1);var r=i.localName==="img",o=[];if(Me(r?[i]:i.querySelectorAll("img"),function(u){Re(s.filter)?s.filter.call(n,u)&&o.push(u):n.getImageURL(u)&&o.push(u)}),this.isImg=r,this.length=o.length,this.images=o,this.initBody(),$i(document.createElement(fe).style.transition)&&(s.transition=!1),s.inline){var a=0,l=function(){if(a+=1,a===n.length){var c;n.initializing=!1,n.delaying={abort:function(){clearTimeout(c)}},c=setTimeout(function(){n.delaying=!1,n.build()},0)}};this.initializing={abort:function(){Me(o,function(c){c.complete||(Oe(c,$t,l),Oe(c,yi,l))})}},Me(o,function(u){if(u.complete)l();else{var c,f;le(u,$t,c=function(){Oe(u,yi,f),l()},{once:!0}),le(u,yi,f=function(){Oe(u,$t,c),l()},{once:!0})}})}else le(i,hs,this.onStart=function(u){var c=u.target;c.localName==="img"&&(!Re(s.filter)||s.filter.call(n,c))&&n.view(n.images.indexOf(c))})}}},{key:"build",value:function(){if(!this.ready){var n=this.element,i=this.options,s=n.parentNode,r=document.createElement("div");r.innerHTML=b_;var o=r.querySelector(".".concat(fe,"-container")),a=o.querySelector(".".concat(fe,"-title")),l=o.querySelector(".".concat(fe,"-toolbar")),u=o.querySelector(".".concat(fe,"-navbar")),c=o.querySelector(".".concat(fe,"-button")),f=o.querySelector(".".concat(fe,"-canvas"));if(this.parent=s,this.viewer=o,this.title=a,this.toolbar=l,this.navbar=u,this.button=c,this.canvas=f,this.footer=o.querySelector(".".concat(fe,"-footer")),this.tooltipBox=o.querySelector(".".concat(fe,"-tooltip")),this.player=o.querySelector(".".concat(fe,"-player")),this.list=o.querySelector(".".concat(fe,"-list")),o.id="".concat(fe).concat(this.id),a.id="".concat(fe,"Title").concat(this.id),re(a,i.title?jr(Array.isArray(i.title)?i.title[0]:i.title):fi),re(u,i.navbar?jr(i.navbar):fi),gr(c,fi,!i.button),i.keyboard&&c.setAttribute("tabindex",0),i.backdrop&&(re(o,"".concat(fe,"-backdrop")),!i.inline&&i.backdrop!=="static"&&Ll(f,Po,"hide")),pr(i.className)&&i.className&&i.className.split(su).forEach(function(y){re(o,y)}),i.toolbar){var h=document.createElement("ul"),d=Hi(i.toolbar),p=Hr.slice(0,3),g=Hr.slice(7,9),w=Hr.slice(9);d||re(l,jr(i.toolbar)),Me(d?i.toolbar:Hr,function(y,b){var E=d&&Hi(y),T=d?ru(b):y,x=E&&!$i(y.show)?y.show:y;if(!(!x||!i.zoomable&&p.indexOf(T)!==-1||!i.rotatable&&g.indexOf(T)!==-1||!i.scalable&&w.indexOf(T)!==-1)){var k=E&&!$i(y.size)?y.size:y,I=E&&!$i(y.click)?y.click:y,N=document.createElement("li");i.keyboard&&N.setAttribute("tabindex",0),N.setAttribute("role","button"),re(N,"".concat(fe,"-").concat(T)),Re(I)||Ll(N,Po,T),je(x)&&re(N,jr(x)),["small","large"].indexOf(k)!==-1?re(N,"".concat(fe,"-").concat(k)):T==="play"&&re(N,"".concat(fe,"-large")),Re(I)&&le(N,hs,I),h.appendChild(N)}}),l.appendChild(h)}else re(l,fi);if(!i.rotatable){var _=l.querySelectorAll('li[class*="rotate"]');re(_,Ys),Me(_,function(y){l.appendChild(y)})}if(i.inline)re(c,S_),Qt(o,{zIndex:i.zIndexInline}),window.getComputedStyle(s).position==="static"&&Qt(s,{position:"relative"}),s.insertBefore(o,n.nextSibling);else{re(c,w_),re(o,Ml),re(o,co),re(o,fi),Qt(o,{zIndex:i.zIndex});var m=i.container;pr(m)&&(m=n.ownerDocument.querySelector(m)),m||(m=this.body),m.appendChild(o)}if(i.inline&&(this.render(),this.bind(),this.isShown=!0),this.ready=!0,Re(i.ready)&&le(n,Nf,i.ready,{once:!0}),Ve(n,Nf)===!1){this.ready=!1;return}this.ready&&i.inline&&this.view(this.index)}}}],[{key:"noConflict",value:function(){return window.Viewer=z_,t}},{key:"setDefaults",value:function(n){xt(bf,Hi(n)&&n)}}]),t}();xt(ps.prototype,H_,j_,B_,U_,q_);/*! + * v-viewer v3.0.11 + * https://github.com/mirari/v-viewer#readme + * + * Copyright 2022 mirari + * Released under the MIT license + * + * Date: 2022-10-25T08:49:33.301Z + */var Ur=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function W_(t){return t}var Rg=W_;function K_(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}var X_=K_,G_=X_,Kf=Math.max;function Y_(t,e,n){return e=Kf(e===void 0?t.length-1:e,0),function(){for(var i=arguments,s=-1,r=Kf(i.length-e,0),o=Array(r);++s0){if(++e>=l1)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var h1=f1,d1=a1,p1=h1,g1=p1(d1),m1=g1,v1=Rg,y1=J_,_1=m1;function b1(t,e){return _1(y1(t,e,v1),t+"")}var w1=b1;function S1(t,e){return t===e||t!==t&&e!==e}var Fg=S1,k1=9007199254740991;function E1(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=k1}var Mg=E1,T1=Pg,I1=Mg;function x1(t){return t!=null&&I1(t.length)&&!T1(t)}var Dg=x1,C1=9007199254740991,R1=/^(?:0|[1-9]\d*)$/;function O1(t,e){var n=typeof t;return e=e==null?C1:e,!!e&&(n=="number"||n!="symbol"&&R1.test(t))&&t>-1&&t%1==0&&t2?e[2]:void 0;for(s&&uS(e[0],e[1],s)&&(i=1);++n0}}),!0):!1}function bS(t,...e){if(!fo(t))throw new TypeError("expected the first argument to be an object");if(e.length===0||typeof Symbol!="function"||typeof nh!="function")return t;for(const n of e){const i=nh(n);for(const s of i)mS.call(n,s)&&(t[s]=n[s])}return t}function jg(t,...e){let n=0;for(vS(t)&&(t=e[n++]),t||(t={});n{e=jg(e,{inline:!1});const n=document.createElement("div"),i=hr("div",{style:{display:"none"},class:["__viewer-token"]},t.map(a=>hr("img",typeof a=="string"?{src:a}:a)));Ao(i,n);const s=n.firstElementChild;document.body.appendChild(s);const r=new ps(s,e),o=r.destroy.bind(r);return r.destroy=function(){return o(),Ao(null,n),r},r.show(),s.addEventListener("hidden",function(){this.viewer===r&&r.destroy()}),r};var SS=ka,kS=function(){return SS.Date.now()},ES=kS,TS=/\s/;function IS(t){for(var e=t.length;e--&&TS.test(t.charAt(e)););return e}var xS=IS,CS=xS,RS=/^\s+/;function OS(t){return t&&t.slice(0,CS(t)+1).replace(RS,"")}var NS=OS,AS=Ea,PS=Ta,FS="[object Symbol]";function MS(t){return typeof t=="symbol"||PS(t)&&AS(t)==FS}var DS=MS,LS=NS,ih=Ts,$S=DS,sh=0/0,HS=/^[-+]0x[0-9a-f]+$/i,jS=/^0b[01]+$/i,BS=/^0o[0-7]+$/i,US=parseInt;function qS(t){if(typeof t=="number")return t;if($S(t))return sh;if(ih(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=ih(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=LS(t);var n=jS.test(t);return n||BS.test(t)?US(t.slice(2),n?2:8):HS.test(t)?sh:+t}var zS=qS,VS=Ts,Va=ES,rh=zS,WS="Expected a function",KS=Math.max,XS=Math.min;function GS(t,e,n){var i,s,r,o,a,l,u=0,c=!1,f=!1,h=!0;if(typeof t!="function")throw new TypeError(WS);e=rh(e)||0,VS(n)&&(c=!!n.leading,f="maxWait"in n,r=f?KS(rh(n.maxWait)||0,e):r,h="trailing"in n?!!n.trailing:h);function d(T){var x=i,k=s;return i=s=void 0,u=T,o=t.apply(k,x),o}function p(T){return u=T,a=setTimeout(_,e),c?d(T):o}function g(T){var x=T-l,k=T-u,I=e-x;return f?XS(I,r-k):I}function w(T){var x=T-l,k=T-u;return l===void 0||x>=e||x<0||f&&k>=r}function _(){var T=Va();if(w(T))return m(T);a=setTimeout(_,g(T))}function m(T){return a=void 0,h&&i?d(T):(i=s=void 0,o)}function y(){a!==void 0&&clearTimeout(a),u=0,i=l=s=a=void 0}function b(){return a===void 0?o:m(Va())}function E(){var T=Va(),x=w(T);if(i=arguments,s=this,l=T,x){if(a===void 0)return p(l);if(f)return clearTimeout(a),a=setTimeout(_,e),d(l)}return a===void 0&&(a=setTimeout(_,e)),o}return E.cancel=y,E.flush=b,E}var YS=GS;const JS=({name:t="viewer",debug:e=!1}={})=>{async function n(f,h,d=!1,p=!1){await mi(),!(p&&!i(f))&&(d||!f[`$${t}`]?(o(f),f[`$${t}`]=new ps(f,h),u("Viewer created")):(f[`$${t}`].update(),u("Viewer updated")))}function i(f){const h=f.innerHTML.match(//g),d=h?h.join(""):void 0;return f.__viewerImageDiffCache===d?(u("Element change detected, but image(s) has not changed"),!1):(u("Image change detected"),f.__viewerImageDiffCache=d,!0)}function s(f,h,d,p){a(f);const g=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;if(!g){u("Observer not supported");return}const w=new g(m=>{m.forEach(y=>{u(`Viewer mutation:${y.type}`),d(f,h,p,!0)})}),_={attributes:!0,childList:!0,characterData:!0,subtree:!0};w.observe(f,_),f.__viewerMutationObserver=w,u("Observer created")}function r(f,h,d,p){f.__viewerUnwatch=fn(()=>h.value,(g,w)=>{u("Change detected by watcher: ",h.value),p(f,g,!0,!1)},{deep:!0}),u("Watcher created, expression: ",h.value)}function o(f){!f[`$${t}`]||(f[`$${t}`].destroy(),delete f[`$${t}`],u("Viewer destroyed"))}function a(f){!f.__viewerMutationObserver||(f.__viewerMutationObserver.disconnect(),delete f.__viewerMutationObserver,u("observer destroyed"))}function l(f){!f.__viewerUnwatch||(f.__viewerUnwatch(),delete f.__viewerUnwatch,u("Watcher destroyed"))}function u(...f){e&&console.log(...f)}return{mounted(f,h,d){u("Viewer bind");const p=YS(n,50);p(f,h.value),r(f,h,d,p),h.modifiers.static||s(f,h.value,p,h.modifiers.rebuild)},unmounted(f){u("Viewer unbind"),a(f),l(f),o(f)}}};var QS=(t,e)=>{const n=t.__vccOpts||t;for(const[i,s]of e)n[i]=s;return n};const ZS=Tr({name:"Viewer",props:{images:{type:Array,default:()=>[]},rebuild:{type:Boolean,default:!1},trigger:{type:Object,default:null},options:{type:Object,default:()=>null}},emits:["inited"],setup(t,{emit:e}){let n;const i=Xi();function s(){n=new ps(i.value,t.options),e("inited",n)}function r(){n&&n.destroy()}function o(){r(),s()}function a(){n?(n.update(),e("inited",n)):s()}function l(){t.rebuild?o():a()}const u={deep:!0};return fn(()=>t.images,()=>mi(()=>l()),u),fn(()=>t.trigger,()=>mi(()=>l()),u),fn(()=>t.options,()=>mi(()=>o()),u),Es(()=>s()),_a(()=>r()),{root:i,createViewer:s,rebuildViewer:o,updateViewer:a,destroyViewer:r}}}),ek={ref:"root"};function tk(t,e,n,i,s,r){return Rt(),hn("div",ek,[Qy(t.$slots,"default",{images:t.images,options:t.options})],512)}var nk=QS(ZS,[["render",tk]]),ik={install(t,{name:e="viewer",debug:n=!1,defaultOptions:i}={}){i&&ps.setDefaults(i),t.config.globalProperties[`$${e}Api`]=wS,t.component(e,pS(nk,{name:e})),t.directive(e,JS({name:e,debug:n}))},setDefaults(t){ps.setDefaults(t)}};const sk={install(t){t.use(ik,{defaultOptions:{inline:!1,button:!0,navbar:!1,title:!0,toolbar:!1,tooltip:!0,movable:!1,zoomable:!0,rotatable:!1,scalable:!1,transition:!0,fullscreen:!0,keyboard:!0}})}},Bg=()=>typeof window<"u",Ug=()=>!(!Bg()||!window.hj),Wa=(t,...e)=>{if(Bg()&&window.hj)return window.hj(t,...e);throw Error("Hotjar is not available, make sure init has been called.")},rk=(t,e,n)=>{if(!((i,s,r)=>{try{const o=document.getElementById(s)||document.createElement("script");return o.id=s,o.nonce=r,o.innerText=i,o.crossOrigin="anonymous",document.head.appendChild(o),!0}catch{return!1}})(`(function(h,o,t,j,a,r){h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};h._hjSettings={hjid:${t},hjsv:${e},hjdebug:${(n==null?void 0:n.debug)||!1}};a=o.getElementsByTagName('head')[0];r=o.createElement('script');r.async=1;r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;a.appendChild(r);})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');`,"hotjar-init-script",n==null?void 0:n.nonce)||!Ug())throw Error("Failed to initialize Hotjar tracking script.")},ok={init:(t,e,n)=>{try{return rk(t,e,n),!0}catch(i){return console.error("Error:",i),!1}},event:t=>{try{return Wa("event",t),!0}catch(e){return console.error("Error:",e),!1}},identify:(t,e)=>{try{return Wa("identify",t,e),!0}catch(n){return console.error("Error:",n),!1}},stateChange:t=>{try{return Wa("stateChange",t),!0}catch(e){return console.error("Error:",e),!1}},isReady:Ug};var oh={},ak=function(t,e,n,i,s){var r=new Worker(oh[e]||(oh[e]=URL.createObjectURL(new Blob([t+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return r.onmessage=function(o){var a=o.data,l=a.$e$;if(l){var u=new Error(l[0]);u.code=l[1],u.stack=l[2],s(u,null)}else s(null,a)},r.postMessage(n,i),r},Ut=Uint8Array,_t=Uint16Array,Ia=Int32Array,xa=new Ut([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Ca=new Ut([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),jl=new Ut([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),qg=function(t,e){for(var n=new _t(31),i=0;i<31;++i)n[i]=e+=1<>1|(Le&21845)<<1;Mn=(Mn&52428)>>2|(Mn&13107)<<2,Mn=(Mn&61680)>>4|(Mn&3855)<<4,Mo[Le]=((Mn&65280)>>8|(Mn&255)<<8)>>1}var es=function(t,e,n){for(var i=t.length,s=0,r=new _t(e);s>l]=u}else for(a=new _t(i),s=0;s>15-t[s]);return a},Zn=new Ut(288);for(var Le=0;Le<144;++Le)Zn[Le]=8;for(var Le=144;Le<256;++Le)Zn[Le]=9;for(var Le=256;Le<280;++Le)Zn[Le]=7;for(var Le=280;Le<288;++Le)Zn[Le]=8;var mr=new Ut(32);for(var Le=0;Le<32;++Le)mr[Le]=5;var Vg=es(Zn,9,0),Wg=es(mr,5,0),ou=function(t){return(t+7)/8|0},Kg=function(t,e,n){return(e==null||e<0)&&(e=0),(n==null||n>t.length)&&(n=t.length),new Ut(t.subarray(e,n))},uk=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Xg=function(t,e,n){var i=new Error(e||uk[t]);if(i.code=t,Error.captureStackTrace&&Error.captureStackTrace(i,Xg),!n)throw i;return i},sn=function(t,e,n){n<<=e&7;var i=e/8|0;t[i]|=n,t[i+1]|=n>>8},Pi=function(t,e,n){n<<=e&7;var i=e/8|0;t[i]|=n,t[i+1]|=n>>8,t[i+2]|=n>>16},ho=function(t,e){for(var n=[],i=0;ih&&(h=r[i].s);var d=new _t(h+1),p=Do(n[c-1],d,0);if(p>e){var i=0,g=0,w=p-e,_=1<e)g+=_-(1<>=w;g>0;){var y=r[i].s;d[y]=0&&g;--i){var b=r[i].s;d[b]==e&&(--d[b],++g)}p=e}return{t:new Ut(d),l:p}},Do=function(t,e,n){return t.s==-1?Math.max(Do(t.l,e,n+1),Do(t.r,e,n+1)):e[t.s]=n},Ul=function(t){for(var e=t.length;e&&!t[--e];);for(var n=new _t(++e),i=0,s=t[0],r=1,o=function(l){n[i++]=l},a=1;a<=e;++a)if(t[a]==s&&a!=e)++r;else{if(!s&&r>2){for(;r>138;r-=138)o(32754);r>2&&(o(r>10?r-11<<5|28690:r-3<<5|12305),r=0)}else if(r>3){for(o(s),--r;r>6;r-=6)o(8304);r>2&&(o(r-3<<5|8208),r=0)}for(;r--;)o(s);r=1,s=t[a]}return{c:n.subarray(0,i),n:e}},Fi=function(t,e){for(var n=0,i=0;i>8,t[s+2]=t[s]^255,t[s+3]=t[s+1]^255;for(var r=0;r4&&!N[jl[F-1]];--F);var z=u+5<<3,M=Fi(s,Zn)+Fi(r,mr)+o,J=Fi(s,h)+Fi(r,g)+o+14+3*F+Fi(x,N)+2*x[16]+3*x[17]+7*x[18];if(l>=0&&z<=M&&z<=J)return au(e,c,t.subarray(l,l+u));var H,Y,K,ce;if(sn(e,c,1+(J15&&(sn(e,c,Pe[k]>>5&127),c+=Pe[k]>>12)}}else H=Vg,Y=Zn,K=Wg,ce=mr;for(var k=0;k255){var Te=O>>18&31;Pi(e,c,H[Te+257]),c+=Y[Te+257],Te>7&&(sn(e,c,O>>23&31),c+=xa[Te]);var q=O&31;Pi(e,c,K[q]),c+=ce[q],q>3&&(Pi(e,c,O>>5&8191),c+=Ca[q])}else Pi(e,c,H[O]),c+=Y[O]}return Pi(e,c,H[256]),c+Y[256]},Gg=new Ia([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),lu=new Ut(0),Yg=function(t,e,n,i,s,r){var o=r.z||t.length,a=new Ut(i+o+5*(1+Math.ceil(o/7e3))+s),l=a.subarray(i,a.length-s),u=r.l,c=(r.r||0)&7;if(e){c&&(l[0]=r.r>>3);for(var f=Gg[e-1],h=f>>13,d=f&8191,p=(1<7e3||N>24576)&&(H>423||!u)){c=ql(t,l,0,b,E,T,k,N,F,I-F,c),N=x=k=0,F=I;for(var Y=0;Y<286;++Y)E[Y]=0;for(var Y=0;Y<30;++Y)T[Y]=0}var K=2,ce=0,Ke=d,Ee=M-J&32767;if(H>2&&z==y(I-Ee))for(var de=Math.min(h,H)-1,Pe=Math.min(32767,I),Te=Math.min(258,H);Ee<=Pe&&--Ke&&M!=J;){if(t[I+K]==t[I+K-Ee]){for(var O=0;OK){if(K=O,ce=Ee,O>de)break;for(var q=Math.min(Ee,O-2),V=0,Y=0;YV&&(V=me,J=ee)}}}M=J,J=g[M],Ee+=M-J&32767}if(ce){b[N++]=268435456|Fo[K]<<18|Bl[ce];var ue=Fo[K]&31,v=Bl[ce]&31;k+=xa[ue]+Ca[v],++E[257+ue],++T[v],j=I+K,++x}else b[N++]=t[I],++E[t[I]]}}for(I=Math.max(I,j);I=o&&(l[c/8|0]=u,S=o),c=au(l,c+1,t.subarray(I,S))}r.i=o}return Kg(a,0,i+ou(c)+s)},Jg=function(){for(var t=new Int32Array(256),e=0;e<256;++e){for(var n=e,i=9;--i;)n=(n&1&&-306674912)^n>>>1;t[e]=n}return t}(),Qg=function(){var t=-1;return{p:function(e){for(var n=t,i=0;i>>8;t=n},d:function(){return~t}}},cu=function(t,e,n,i,s){if(!s&&(s={l:1},e.dictionary)){var r=e.dictionary.subarray(-32768),o=new Ut(r.length+t.length);o.set(r),o.set(t,r.length),t=o,s.w=r.length}return Yg(t,e.level==null?6:e.level,e.mem==null?s.l?Math.ceil(Math.max(8,Math.min(13,Math.log(t.length)))*1.5):20:12+e.mem,n,i,s)},fk=function(t,e){var n={};for(var i in t)n[i]=t[i];for(var i in e)n[i]=e[i];return n},ah=function(t,e,n){for(var i=t(),s=t.toString(),r=s.slice(s.indexOf("[")+1,s.lastIndexOf("]")).replace(/\s+/g,"").split(","),o=0;o>>=8},em=function(t,e){var n=e.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=e.level<2?4:e.level==9?2:0,t[9]=3,e.mtime!=0&&Lo(t,4,Math.floor(new Date(e.mtime||Date.now())/1e3)),n){t[3]=8;for(var i=0;i<=n.length;++i)t[i+10]=n.charCodeAt(i)}},tm=function(t){return 10+(t.filename?t.filename.length+1:0)};function vk(t,e){return cu(t,e||{},0,0)}function yk(t,e,n){return n||(n=e,e={}),typeof n!="function"&&Xg(7),mk(t,e,[pk,gk,function(){return[lh]}],function(i){return Zg(lh(i.data[0],i.data[1]))},2,n)}function lh(t,e){e||(e={});var n=Qg(),i=t.length;n.p(t);var s=cu(t,e,tm(e),8),r=s.length;return em(s,e),Lo(s,r-8,n.d()),Lo(s,r-4,i),s}var _k=typeof TextDecoder<"u"&&new TextDecoder,bk=0;try{_k.decode(lu,{stream:!0}),bk=1}catch{}class ch{constructor(){this.idx=1,this.backDict={}}getKey(e){let n=!1;return this.backDict[e]||(n=!0,this.backDict[e]=this.idx++),[this.backDict[e],n]}}class wk{constructor(e,n){this.app=e,this.isDictDisabled=n,this.dict=new ch}sendSetAttribute(e,n,i){if(this.isDictDisabled){const s=[12,e,n,i];return this.app.send(s)}else{const s=[51,e,this.applyDict(n),this.applyDict(i)];return this.app.send(s)}}applyDict(e){const[n,i]=this.dict.getKey(e);return i&&this.app.send([50,n,e]),n}clear(){this.dict=new ch}}class Sk{constructor(e,n){this.app=e,this.startParams=n,this.conditions=[],this.hasStarted=!1,this.createConditionFromFilter=i=>{if(i.value.length){const s=kk(i);if(s.type)return s}},this.durationInt=null}setConditions(e){this.conditions=e}async fetchConditions(e,n){try{const i=await fetch(`${this.app.options.ingestPoint}/v1/web/conditions/${e}`,{method:"GET",headers:{Authorization:`Bearer ${n}`}}),{conditions:s}=await i.json(),r=[];s.forEach(o=>{o.filters.forEach(l=>{let u;l.type==="fetch"?(u={type:"network_request",subConditions:[],name:o.name},l.filters.forEach(c=>{const f=this.createConditionFromFilter(c);f&&u.subConditions.push(f)})):u=this.createConditionFromFilter(l),u&&(u.type==="session_duration"&&this.processDuration(u.value[0],o.name),r.push({...u,name:o.name}))})}),this.conditions=r}catch{this.app.debug.error("Critical: cannot fetch start conditions")}}trigger(e){if(!this.hasStarted)try{this.hasStarted=!0,this.app.start(this.startParams,void 0,e)}catch(n){this.app.debug.error(n)}}processMessage(e){if(!this.hasStarted)switch(e[0]){case 78:this.jsExceptionEvent(e);break;case 27:this.customEvent(e);break;case 68:this.clickEvent(e);break;case 122:this.pageLocationEvent(e);break;case 83:this.networkRequest(e);break}}processFlags(e){const n=this.conditions.filter(i=>i.type==="feature_flag");n.length&&n.forEach(i=>{const s=Ci[i.operator];s&&e.find(r=>s(r.key,i.value))&&this.trigger(i.name)})}processDuration(e,n){this.durationInt=setInterval(()=>{performance.now()>e&&this.trigger(n)},1e3),this.app.attachStopCallback(()=>{this.durationInt&&clearInterval(this.durationInt)})}networkRequest(e){const n=this.conditions.filter(i=>i.type==="network_request");!n.length||n.forEach(i=>{const s=i.subConditions.filter(r=>r.operator!=="isAny");s.length?s.every(o=>{let a;switch(o.key){case"url":a=e[3];break;case"status":a=e[6];break;case"method":a=e[2];break;case"duration":a=e[8];break}const l=Ci[o.operator];if(l&&l(a,o.value))return!0})&&this.trigger(i.name):s.length===0&&i.subConditions.length&&this.trigger(i.name)})}customEvent(e){const n=this.conditions.filter(i=>i.type==="custom_event");n.length&&n.forEach(i=>{const s=Ci[i.operator];s&&(s(e[1],i.value)||s(e[2],i.value))&&this.trigger(i.name)})}clickEvent(e){const n=this.conditions.filter(i=>i.type==="click");n.length&&n.forEach(i=>{const s=Ci[i.operator];s&&(s(e[3],i.value)||s(e[4],i.value))&&this.trigger(i.name)})}pageLocationEvent(e){const n=this.conditions.filter(i=>i.type==="visited_url");n&&n.forEach(i=>{const s=Ci[i.operator];s&&s(e[1],i.value)&&this.trigger(i.name)})}jsExceptionEvent(e){const n=[e[1],e[2],e[3]],i=this.conditions.filter(s=>s.type==="exception");i&&i.forEach(s=>{const r=Ci[s.operator];r&&n.some(o=>r(o,s.value))&&this.trigger(s.name)})}}const Ci={is:(t,e)=>e.some(n=>t.includes(n)),isAny:()=>!0,isNot:(t,e)=>!e.some(n=>t.includes(n)),contains:(t,e)=>e.some(n=>t.includes(n)),notContains:(t,e)=>!e.some(n=>t.includes(n)),startsWith:(t,e)=>e.some(n=>t.startsWith(n)),endsWith:(t,e)=>e.some(n=>t.endsWith(n)),greaterThan:(t,e)=>t>e,greaterOrEqual:(t,e)=>t>=e,lessOrEqual:(t,e)=>t<=e,lessThan:(t,e)=>t{const e={on:"is",notOn:"isNot",">":"greaterThan","<":"lessThan","=":"is","<=":"lessOrEqual",">=":"greaterOrEqual"},n=s=>{if(Object.keys(e).includes(s))return e[s]};let i={type:"",operator:"",value:t.value,key:""};switch(t.type){case"click":i={type:"click",operator:n(t.operator),value:t.value,key:""};break;case"location":i={type:"visited_url",operator:t.operator,value:t.value,key:""};break;case"custom":i={type:"custom_event",operator:t.operator,value:t.value,key:""};break;case"metadata":i={type:t.source==="featureFlag"?"feature_flag":t.type,operator:t.operator,value:t.value,key:""};break;case"error":i={type:"exception",operator:t.operator,value:t.value,key:""};break;case"duration":i={type:"session_duration",value:t.value[0],key:""};break;case"fetchUrl":i={type:"network_request",key:"url",operator:t.operator,value:t.value};break;case"fetchStatusCode":i={type:"network_request",key:"status",operator:n(t.operator),value:t.value};break;case"fetchMethod":i={type:"network_request",key:"method",operator:n(t.operator),value:t.value};break;case"fetchDuration":i={type:"network_request",key:"duration",operator:n(t.operator),value:t.value};break}return i};class Ek{constructor(e){this.app=e,this.flags=[],this.storageKey="__openreplay_flags";const n=this.app.sessionStorage.getItem(this.storageKey);if(n){const i=n.split(";").filter(Boolean);this.flags=i.map(s=>JSON.parse(s))}}getFeatureFlag(e){return this.flags.find(n=>n.key===e)}isFlagEnabled(e){return this.flags.findIndex(n=>n.key===e)!==-1}onFlagsLoad(e){this.onFlagsCb=e}async reloadFlags(e){const n=this.app.sessionStorage.getItem(this.storageKey),i={};n&&n.split(";").filter(Boolean).forEach(c=>{const f=JSON.parse(c);i[f.key]={key:f.key,value:f.value}});const s=this.app.session.getInfo(),r=this.app.session.userInfo,o={projectID:s.projectID,userID:s.userID,metadata:s.metadata,referrer:document.referrer,os:r.userOS,device:r.userDevice,country:r.userCountry,state:r.userState,city:r.userCity,browser:r.userBrowser,persistFlags:i},a=e!=null?e:this.app.session.getSessionToken(),l=await fetch(this.app.options.ingestPoint+"/v1/web/feature-flags",{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${a}`},body:JSON.stringify(o)});if(l.status===200){const u=await l.json();return this.handleFlags(u.flags)}}handleFlags(e){var r;const n=[];e.forEach(o=>{o.is_persist&&n.push(o)});let i="";return this.diffPersist(n).forEach(o=>{i+=`${JSON.stringify(o)};`}),this.app.sessionStorage.setItem(this.storageKey,i),this.flags=e,(r=this.onFlagsCb)==null?void 0:r.call(this,e)}clearPersistFlags(){this.app.sessionStorage.removeItem(this.storageKey)}diffPersist(e){const n=this.app.sessionStorage.getItem(this.storageKey);if(!n)return e;const s=n.split(";").filter(Boolean).map(r=>JSON.parse(r));return e.filter(r=>s.findIndex(o=>o.key===r.key)===-1)}}const uh={htmlmasked:"hidden",masked:"obscured"},dn=!(typeof window>"u"),Tk=dn&&navigator.userAgent.match(/firefox|fxios/i),Ik=1e5;let uu=dn?Date.now()-performance.now():0;function Ka(){uu=Date.now()-performance.now()}function gs(){return uu}const Kt=dn&&!!performance.now?()=>Math.round(performance.now()+uu):()=>Date.now(),Xa="repeat"in String.prototype?t=>"*".repeat(t.length):t=>t.replace(/./g,"*");function nm(t){return t.trim().replace(/\s+/g," ")}function im(t){return t.startsWith("https://")||t.startsWith("http://")}const $o="https://docs.openreplay.com",fh={};function Un(t,e,n="/"){fh[t]||(console.warn(`OpenReplay: ${t} is deprecated. ${e?`Please, use ${e} instead.`:""} Visit ${$o}${n} for more information.`),fh[t]=!0)}function fu(t){let e=t.getAttribute("data-openreplay-label");return e!==null||(e=t.getAttribute("data-asayer-label"),e!==null&&Un('"data-asayer-label" attribute','"data-openreplay-label" attribute',"/")),e}function di(t,e){const n=`data-openreplay-${e}`;return t.hasAttribute(n)?(uh[e]&&Un(`"${n}" attribute`,`"${uh[e]}" attribute`,"/installation/sanitize-data"),!0):!1}function xk(t){try{return Boolean(t.contentDocument)}catch{return!1}}function hh(t){return t.toString(16).padStart(2,"0")}function Ck(t){const e=new Uint8Array((t||40)/2),n=window.crypto||window.msCrypto;return n?(n.getRandomValues(e),Array.from(e,hh).join("")):Array.from({length:t||40},()=>hh(Math.floor(Math.random()*16))).join("")}function Rk(){try{return window.self&&window.top&&window.self!==window.top}catch{return!0}}function hu(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}function sm(t){const e=hu("MutationObserver");return new window[e](t)}function rm(t,e,n,i){const s=hu("addEventListener");try{t[s](e,n,i)}catch(r){const o=r.message;console.debug(`Openreplay: ${o}; if this error is caused by an IframeObserver, ignore it`)}}function om(t,e,n,i){const s=hu("removeEventListener");try{t[s](e,n,i)}catch(r){const o=r.message;console.debug(`Openreplay: ${o}; if this error is caused by an IframeObserver, ignore it`)}}class Ok{constructor(){this.taskQueue=[],this.isRunning=!1}addTask(e){this.taskQueue.push(e),this.runTasks()}runTasks(){if(this.isRunning||this.taskQueue.length===0)return;this.isRunning=!0;const e=()=>{if(this.taskQueue.length===0){this.isRunning=!1;return}const n=this.taskQueue.shift();Promise.resolve(n()).then(()=>{requestAnimationFrame(()=>e())})};e()}}const Nk=new Ok;function Ak(t){Nk.addTask(t)}function am(t,e){const n={...t};for(const i in e)if(e.hasOwnProperty(i)){const s=e[i],r=t[i];typeof s=="object"&&!Array.isArray(s)&&s!==null?n[i]=am(r||{},s):n[i]=s}return n}function ni(t){return[0,t]}function Pk(t,e){return[5,t,e]}function Fk(t,e){return[6,t,e]}function Mk(){return[7]}function Dk(t,e,n,i,s){return[8,t,e,n,i,s]}function Lk(t,e,n){return[9,t,e,n]}function $k(t,e,n){return[10,t,e,n]}function Hk(t){return[11,t]}function dh(t,e){return[13,t,e]}function jk(t,e){return[14,t,e]}function Bk(t,e,n){return[16,t,e,n]}function Uk(t,e,n){return[18,t,e,n]}function qk(t,e){return[19,t,e]}function zk(t,e){return[20,t,e]}function Vk(t,e){return[22,t,e]}function Wk(t,e,n,i,s,r,o,a,l){return[23,t,e,n,i,s,r,o,a,l]}function Kk(t,e,n){return[24,t,e,n]}function Xk(t,e){return[27,t,e]}function Gk(t){return[28,t]}function Yk(t){return[29,t]}function ph(t,e){return[30,t,e]}function Jk(t,e,n,i){return[49,t,e,n,i]}function Qk(t,e){return[54,t,e]}function Zk(t){return[55,t]}function gh(t,e,n,i){return[57,t,e,n,i]}function mh(t){return[58,t]}function zl(t,e,n,i){return[60,t,e,n,i]}function eE(t,e,n){return[61,t,e,n]}function tE(t,e){return[63,t,e]}function nE(t,e){return[64,t,e]}function iE(t,e,n,i,s,r){return[68,t,e,n,i,s,r]}function Vl(t,e){return[70,t,e]}function vh(t,e,n){return[71,t,e,n]}function Wl(t,e,n,i){return[73,t,e,n,i]}function yh(t,e){return[75,t,e]}function lm(t,e){return[76,t,e]}function sE(t,e){return[77,t,e]}function Kl(t,e,n,i){return[78,t,e,n,i]}function Ho(t,e,n,i,s,r,o,a,l){return[83,t,e,n,i,s,r,o,a,l]}function rE(t,e,n,i,s,r){return[84,t,e,n,i,s,r]}function oE(t,e,n,i,s,r){return[112,t,e,n,i,s,r]}function _h(t,e,n){return[113,t,e,n]}function aE(t){return[114,t]}function lE(t){return[115,t]}function cm(t,e,n,i,s,r,o,a,l,u){return[116,t,e,n,i,s,r,o,a,l,u]}function po(t){return[117,t]}function ii(t){return[118,t]}function cE(t,e){return[119,t,e]}function uE(t){return[120,t]}function fE(t,e,n,i){return[122,t,e,n,i]}const Xl=dn&&"performance"in window&&"memory"in performance?performance:{memory:{}},Ga=dn?(navigator.deviceMemory||0)*1024:0,Ya=Xl.memory.jsHeapSizeLimit||0;function hE(t,e){if(!Object.assign({capturePerformance:!0},e).capturePerformance)return;let i,s;const r=()=>{i===void 0||i===-1||(i++,requestAnimationFrame(r))};t.ticker.attach(()=>{s===void 0||s===-1||s++},0,!1);const o=()=>{i===void 0||s===void 0||(t.send(Jk(i,s,Xl.memory.totalJSHeapSize||0,Xl.memory.usedJSHeapSize||0)),s=i=document.hidden?-1:0)};t.attachStartCallback(()=>{s=i=-1,o(),r()}),t.attachStopCallback(()=>{s=i=void 0}),t.ticker.attach(o,40,!1),document.hidden!==void 0&&t.attachEventListener(document,"visibilitychange",o,!1,!1)}const bh="__or__watched_tags__";class dE{constructor(e,n,i){var r;this.sessionStorage=e,this.errLog=n,this.onTag=i,this.intervals={},this.tags=[];const s=JSON.parse((r=e.getItem(bh))!=null?r:"[]");this.setTags(s),this.observer=new IntersectionObserver(o=>{o.forEach(a=>{if(a.isIntersecting&&a.target){const l=a.target.__or_watcher_tagname;l&&this.onTagRendered(l),this.observer.unobserve(a.target)}})})}async fetchTags(e,n){return fetch(`${e}/v1/web/tags`,{method:"GET",headers:{Authorization:`Bearer ${n}`}}).then(i=>i.json()).then(({tags:i})=>{if(i&&i.length){this.setTags(i);const s=JSON.stringify(i);this.sessionStorage.setItem(bh,s||"")}}).catch(i=>this.errLog(i))}setTags(e){this.tags=e,this.intervals={},e.forEach(n=>{this.intervals[n.id]=setInterval(()=>{const i=document.querySelectorAll(n.selector);if(i.length>0){const s=i[0];s.__or_watcher_tagname=n.id,this.observer.observe(s)}},500)})}onTagRendered(e){this.intervals[e]&&clearInterval(this.intervals[e]),this.onTag(e)}clear(){this.tags.forEach(e=>{clearInterval(this.intervals[e.id])}),this.tags=[],this.intervals={},this.observer.disconnect()}}const pE={position:"fixed",top:0,left:0,width:"100vw",height:"100vh",background:"rgba(0, 0, 0, 0.40)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:999999,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'},gE={display:"flex",flexDirection:"column",gap:"2rem",alignItems:"center",padding:"1.5rem",borderRadius:"2px",border:"1px solid #D9D9D9",background:"#FFF",width:"22rem"},zr={display:"flex","flex-direction":"column",gap:"unset","align-items":"center",padding:"unset",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',"border-radius":"2px",border:"1px solid #D9D9D9",background:"rgba(255, 255, 255, 0.75)",width:"22rem"},mE={fontFamily:"Verdana, sans-serif",fontSize:"1.25rem",fontStyle:"normal",fontWeight:"500",lineHeight:"1.75rem",color:"rgba(0, 0, 0, 0.85)"},vE={borderTop:"1px solid rgba(0, 0, 0, 0.06)",borderBottom:"1px solid rgba(0, 0, 0, 0.06)",padding:"1.25rem 0rem",color:"rgba(0, 0, 0, 0.85)",fontFamily:"Verdana, sans-serif",fontSize:"13px",fontStyle:"normal",fontWeight:"400",lineHeight:"auto",whiteSpace:"pre-wrap"},yE={display:"flex",padding:"0.4rem 0.9375rem",justifyContent:"center",alignItems:"center",gap:"0.625rem",borderRadius:"0.25rem",border:"1px solid #394EFF",background:"#394EFF",boxShadow:"0px 2px 0px 0px rgba(0, 0, 0, 0.04)",color:"#FFF",textAlign:"center",fontFamily:"Verdana, sans-serif",fontSize:"1rem",fontStyle:"normal",fontWeight:"500",lineHeight:"1.5rem",cursor:"pointer"},wh={fontFamily:"Verdana, sans-serif",fontSize:"13px",fontWeight:"500",lineHeight:"auto",display:"flex",justifyContent:"space-between",width:"100%",cursor:"pointer"},Ri={display:"flex",flexDirection:"column",alignItems:"flex-start",gap:"0.625rem",fontSize:"13px",lineHeight:"auto"},_E={padding:"0.5rem",gap:"0.5rem",fontFamily:"Verdana, sans-serif",fontSize:"16px",fontStyle:"normal",fontWeight:"500",lineHeight:"auto",color:"white",display:"flex",alignItems:"center",width:"100%",borderRadius:"2px",background:"rgba(0, 0, 0, 0.75)",boxSizing:"border-box"},Mi={boxSizing:"border-box",display:"block",width:"100%",borderBottom:"1px solid #D9D9D9",background:"#FFF",padding:"0.65rem",alignSelf:"stretch",color:"#000",fontFamily:"Verdana, sans-serif",fontStyle:"normal",fontWeight:"400"},bE={...Mi,display:"flex",flexDirection:"column",alignItems:"center",gap:"0.625rem"},Sh={fontSize:"1.25rem",fontWeight:"500",cursor:"pointer",color:"#394EFF"},kh={display:"flex",padding:"0.4rem 0.9375rem",justifyContent:"center",alignItems:"center",gap:"0.625rem",borderRadius:"0.25rem",border:"1px solid #394EFF",background:"#394EFF",boxShadow:"0px 2px 0px 0px rgba(0, 0, 0, 0.04)",color:"#FFF",textAlign:"center",fontFamily:"Verdana, sans-serif",fontSize:"1rem",fontStyle:"normal",fontWeight:"500",lineHeight:"1.5rem",width:"100%",boxSizing:"border-box",cursor:"pointer"},Eh={marginTop:"1rem",marginBottom:"1rem",cursor:"pointer",display:"block",fontWeight:"500",fontSize:"13px!important",lineHeight:"auto"},wE={display:"flex",justifyContent:"space-between",alignItems:"center",gap:"1rem",padding:"0.5rem",width:"100%",boxSizing:"border-box"},Th={display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",borderRadius:"6.25em",outline:"1px solid #394EFF",fontSize:"13px",height:"24px",width:"24px"},SE={display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",borderRadius:"6.25em",outline:"1px solid #D2DFFF",boxShadow:"0px 2px 0px 0px rgba(0, 0, 0, 0.04)",background:"#D2DFFF",fontSize:"13px",height:"24px",width:"24px"},Ih={borderRadius:"0.375rem",border:"1px solid rgba(0, 0, 0, 0.06)",background:"#F5F7FF",boxShadow:"0px 2px 0px 0px rgba(0, 0, 0, 0.04)",display:"flex",flexDirection:"column",padding:"0.625rem 0.9375rem",gap:"0.5rem",alignSelf:"stretch"},xh={fontWeight:"bold"},kE={fontSize:"13px",lineHeight:"auto"},um={marginRight:"0.5rem",cursor:"pointer",color:"#394EFF",textAlign:"center",fontFamily:"Verdana, sans-serif",fontSize:"13px",fontStyle:"normal",fontWeight:"500",lineHeight:"auto"},EE={...um,display:"flex",padding:"0.25rem 0.9375rem",justifyContent:"center",alignItems:"center",gap:"0.5rem",borderRadius:"0.25rem",border:"1px solid #394EFF"},TE={display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",boxSizing:"border-box"},IE={border:"4px solid rgba(255, 255, 255, 0.4)",width:"16px",height:"16px",borderRadius:"50%",borderLeftColor:"#fff",animation:"spin 0.5s linear infinite"},Ch={Standard:{width:1280,height:720},High:{width:1920,height:1080}};class xE{constructor(e){this.app=e,this.mediaRecorder=null,this.recordedChunks=[],this.stream=null,this.recStartTs=null}async startRecording(e,n,i,s){this.recStartTs=this.app.timestamp();const r=n;try{this.stream=await navigator.mediaDevices.getUserMedia({video:s?{...r,frameRate:{ideal:e}}:!1,audio:i}),this.mediaRecorder=new MediaRecorder(this.stream,{mimeType:"video/webm;codecs=vp9"}),this.recordedChunks=[],this.mediaRecorder.ondataavailable=o=>{o.data.size>0&&this.recordedChunks.push(o.data)},this.mediaRecorder.start()}catch(o){console.error(o)}}async stopRecording(){return new Promise(e=>{!this.mediaRecorder||(this.mediaRecorder.onstop=()=>{const n=new Blob(this.recordedChunks,{type:"video/webm"});e(n)},this.mediaRecorder.stop())})}async sendToAPI(){const e=await this.stopRecording();return fetch(`${this.app.options.ingestPoint}/v1/web/uxt/upload-url`,{headers:{Authorization:`Bearer ${this.app.session.getSessionToken()}`}}).then(n=>{if(n.ok)return n.json();throw new Error("Failed to get upload url")}).then(({url:n})=>fetch(n,{method:"PUT",headers:{"Content-Type":"video/webm"},body:e})).catch(console.error).finally(()=>{this.discard()})}async saveToFile(e="recorded-video.webm"){const n=await this.stopRecording(),i=URL.createObjectURL(n),s=document.createElement("a");s.style.display="none",s.href=i,s.download=e,document.body.appendChild(s),s.click(),window.URL.revokeObjectURL(i),document.body.removeChild(s)}discard(){var e,n;(e=this.mediaRecorder)==null||e.stop(),(n=this.stream)==null||n.getTracks().forEach(i=>i.stop())}}function CE(t,e){e.onmousedown=function(n){const i=t.getBoundingClientRect(),s=n.clientX-i.left,r=n.clientY-i.top;t.style.position="fixed",t.style.zIndex=99999999999999,o(n.pageX,n.pageY);function o(u,c){let f=u-s,h=c-r;f<=5&&(f=5),h<=5&&(h=5),f>=window.innerWidth-i.width&&(f=window.innerWidth-i.width),h>=window.innerHeight-i.height&&(h=window.innerHeight-i.height),t.style.left=`${f}px`,t.style.top=`${h}px`}function a(u){o(u.pageX,u.pageY)}document.addEventListener("mousemove",a);const l=()=>{document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",l)};document.addEventListener("mouseup",l)},e.ondragstart=function(){return!1}}function RE(){const t=document.createElement("div");t.className="grid";for(let e=0;e<16;e++){const n=document.createElement("div");Object.assign(n.style,{width:"2px",height:"2px",borderRadius:"10px",background:"white"}),n.className="cell",t.appendChild(n)}return Object.assign(t.style,{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gridTemplateRows:"repeat(4, 1fr)",gap:"2px",cursor:"grab"}),t}function OE(){const t=document.createElement("div");Object.assign(t.style,{width:"0",height:"0",borderLeft:"7px solid transparent",borderRight:"7px solid transparent",borderBottom:"7px solid white"});const e=document.createElement("div");return e.appendChild(t),Object.assign(e.style,{display:"flex",alignItems:"center",justifyContent:"center",width:"16px",height:"16px",cursor:"pointer",marginLeft:"auto",transform:"rotate(180deg)"}),e}function NE(){const t=document.createElement("style");t.type="text/css",t.innerText=`@keyframes spin { + 0% { transform: rotate(0deg); } + 100% { transform: rotate(360deg); } + }`,document.head.appendChild(t)}function AE(){NE();const t=document.createElement("div");return t.classList.add("spinner"),Object.assign(t.style,IE),t}function ge(t,e,n,i,s){const r=document.createElement(t);return r.className=e,Object.assign(r.style,n),i&&(r.textContent=i),s&&(r.id=s),r}const go="or_uxt_test_start",Gl="or_uxt_task_index",Yl="or_uxt_session_id",PE="or_uxt_test_id";class FE{constructor(e,n,i,s,r,o,a,l,u){this.ingestPoint=e,this.getTimestamp=n,this.token=i,this.testId=s,this.storageKey=r,this.setStorageKey=o,this.removeStorageKey=a,this.getStorageKey=l,this.getSessionId=u,this.durations={testStart:0,tasks:[]},this.getDurations=()=>this.durations,this.setDurations=f=>{this.durations.testStart=f.testStart,this.durations.tasks=f.tasks},this.signalTask=(f,h,d)=>{if(!f)return console.error("User Testing: No Task ID Given");const p=this.durations.tasks.find(_=>_.taskId===f),g=this.getTimestamp(),w=p?g-p.started:0;return fetch(`${this.ingestPoint}/v1/web/uxt/signals/task`,{method:"POST",headers:{Authorization:`Bearer ${this.token}`},body:JSON.stringify({testId:this.testId,taskId:f,status:h,duration:w,timestamp:g,taskAnswer:d})})},this.signalTest=f=>{const h=this.getTimestamp();if(f==="begin"&&this.testId){const g=this.getSessionId();this.setStorageKey(Yl,g),this.setStorageKey(this.storageKey,this.testId.toString()),this.setStorageKey(go,h.toString())}else this.removeStorageKey(this.storageKey),this.removeStorageKey(Gl),this.removeStorageKey(go);const d=this.durations.testStart||h,p=h-d;return fetch(`${this.ingestPoint}/v1/web/uxt/signals/test`,{method:"POST",headers:{Authorization:`Bearer ${this.token}`},body:JSON.stringify({testId:this.testId,status:f,duration:p,timestamp:h})})};const c=this.getStorageKey(go);c&&(this.durations.testStart=parseInt(c,10))}}class ME{constructor(e,n){this.app=e,this.storageKey=n,this.bg=ge("div","bg",pE,void 0,"__or_ut_bg"),this.container=ge("div","container",gE,void 0,"__or_ut_ct"),this.widgetGuidelinesVisible=!0,this.widgetTasksVisible=!1,this.widgetVisible=!0,this.isActive=!1,this.descriptionSection=null,this.taskSection=null,this.endSection=null,this.stopButton=null,this.stopButtonContainer=null,this.test=null,this.testId=null,this.signalManager=null,this.getTest=(o,a,l)=>{this.testId=o;const u=this.app.options.ingestPoint;return fetch(`${u}/v1/web/uxt/test/${o}`,{headers:{Authorization:`Bearer ${a}`}}).then(c=>c.json()).then(({test:c})=>{this.isActive=!0,this.test=c,this.signalManager=new FE(this.app.options.ingestPoint,()=>this.app.timestamp(),a,o,this.storageKey,(f,h)=>this.app.localStorage.setItem(f,h),f=>this.app.localStorage.removeItem(f),f=>this.app.localStorage.getItem(f),()=>this.app.getSessionID()),this.createGreeting(c.title,c.reqMic,c.reqCamera),l&&((c.reqMic||c.reqCamera)&&this.userRecorder.startRecording(30,Ch.Standard,c.reqMic,c.reqCamera),this.showWidget(c.description,c.tasks,!0),this.showTaskSection())}).then(()=>o).catch(c=>{console.log("OR: Error fetching test",c)})},this.hideTaskSection=()=>!1,this.showTaskSection=()=>!0,this.collapseWidget=()=>!1,this.removeGreeting=()=>!1,this.toggleDescriptionVisibility=()=>{},this.currentTaskIndex=0,this.userRecorder=new xE(e);const i=this.app.getSessionID(),s=this.app.localStorage.getItem(Yl);i!==s&&(this.app.localStorage.removeItem(this.storageKey),this.app.localStorage.removeItem(Yl),this.app.localStorage.removeItem(PE),this.app.localStorage.removeItem(Gl),this.app.localStorage.removeItem(go));const r=this.app.localStorage.getItem(Gl);r&&(this.currentTaskIndex=parseInt(r,10))}getTestId(){return this.testId}createGreeting(e,n,i){const s=ge("div","title",mE,e),r=ge("div","description",vE,`Welcome, you're here to help us improve, not to be judged. Your insights matter! + +\u{1F4F9} We're recording this browser tab to learn from your experience. +\u{1F3A4} Please enable mic and camera if asked, to give us a complete picture.`),o=ge("div","button",yE,"Read guidelines to begin");this.removeGreeting=()=>((n||i)&&this.userRecorder.startRecording(30,Ch.Standard,n,i),this.container.removeChild(o),this.container.removeChild(r),this.container.removeChild(s),!1),o.onclick=()=>{var l,u,c,f;this.removeGreeting();const a=(l=this.signalManager)==null?void 0:l.getDurations();a&&this.signalManager&&(a.testStart=this.app.timestamp(),this.signalManager.setDurations(a)),(u=this.signalManager)==null||u.signalTest("begin"),this.container.style.fontFamily='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',Object.assign(this.container.style,zr),this.showWidget(((c=this.test)==null?void 0:c.guidelines)||"",((f=this.test)==null?void 0:f.tasks)||[])},this.container.append(s,r,o),this.bg.appendChild(this.container),document.body.appendChild(this.bg)}showWidget(e,n,i){this.container.innerHTML="",Object.assign(this.bg.style,{position:"fixed",zIndex:99999999999999,right:"8px",left:"unset",width:"fit-content",top:"8px",height:"fit-content",background:"unset",display:"unset",alignItems:"unset",justifyContent:"unset"});const s=this.createTitleSection();this.container.style.fontFamily='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',Object.assign(this.container.style,zr);const r=this.createDescriptionSection(e),o=this.createTasksSection(n),a=ge("div","stop_bn_or",Eh,"Abort Session"),l=ge("div","stop_ct_or",{fontSize:"13px!important"});l.style.fontSize="13px",l.append(a),this.container.append(s,r,o,l),this.taskSection=o,this.descriptionSection=r,this.stopButton=a,this.stopButtonContainer=l,a.onclick=()=>{var u;this.userRecorder.discard(),(u=this.signalManager)==null||u.signalTest("skipped"),document.body.removeChild(this.bg),window.close()},i?this.toggleDescriptionVisibility():this.hideTaskSection()}createTitleSection(){var a;const e=ge("div","title",_E),n=RE(),i=ge("div","title_text",{maxWidth:"19rem",overflow:"hidden",textOverflow:"ellipsis",width:"100%",fontSize:16,lineHeight:"auto",cursor:"pointer"},(a=this.test)==null?void 0:a.title),s=OE();e.append(n,i,s);const r=l=>(this.widgetVisible=l,this.container.style.fontFamily='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',Object.assign(this.container.style,this.widgetVisible?zr:{border:"none",background:"none",padding:0}),this.taskSection&&Object.assign(this.taskSection.style,this.widgetVisible?Mi:{display:"none"}),this.descriptionSection&&Object.assign(this.descriptionSection.style,this.widgetVisible?Mi:{display:"none"}),this.endSection&&Object.assign(this.endSection.style,this.widgetVisible?Mi:{display:"none"}),this.stopButton&&Object.assign(this.stopButton.style,this.widgetVisible?Eh:{display:"none"}),l),o=()=>{Object.assign(s.style,{transform:this.widgetVisible?"rotate(0deg)":"rotate(180deg)"}),r(!this.widgetVisible)};return i.onclick=o,s.onclick=o,CE(this.bg,n),this.collapseWidget=()=>r(!1),e}createDescriptionSection(e){const n=ge("div","description_section_or",Mi),i=ge("div","description_s_title_or",wh),s=ge("div","title",{fontSize:13,fontWeight:500,lineHeight:"auto"},"Introduction & Guidelines"),r=ge("div","icon",Sh,"-"),o=ge("div","content",Ri),a=ge("div","text_description",{maxHeight:"250px",overflowY:"auto",whiteSpace:"pre-wrap",fontSize:13,color:"#454545",lineHeight:"auto"});a.innerHTML=e;const l=ge("div","button_begin_or",kh,"Begin Test");i.append(s,r),o.append(a,l),n.append(i,o);const u=()=>{this.widgetGuidelinesVisible=!this.widgetGuidelinesVisible,r.textContent=this.widgetGuidelinesVisible?"-":"+",Object.assign(o.style,this.widgetGuidelinesVisible?Ri:{display:"none"})};return i.onclick=u,this.toggleDescriptionVisibility=()=>{this.widgetGuidelinesVisible=!1,r.textContent=this.widgetGuidelinesVisible?"-":"+",Object.assign(o.style,this.widgetGuidelinesVisible?Ri:{display:"none"}),o.removeChild(l)},l.onclick=()=>{var c,f,h;if(u(),this.test){const d=(c=this.signalManager)==null?void 0:c.getDurations(),p=d?d.tasks.findIndex(g=>this.test&&g.taskId===this.test.tasks[0].task_id):null;d&&p===-1&&(d.tasks.push({taskId:this.test.tasks[0].task_id,started:this.app.timestamp()}),(f=this.signalManager)==null||f.setDurations(d)),(h=this.signalManager)==null||h.signalTask(this.test.tasks[0].task_id,"begin")}this.showTaskSection(),o.removeChild(l)},n}createTasksSection(e){this.container.style.fontFamily='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',Object.assign(this.container.style,zr);const n=ge("div","task_section_or",Mi),i=ge("div","description_t_title_or",wh),s=ge("div","title",{fontSize:"13px",fontWeight:"500",lineHeight:"auto"},"Tasks"),r=ge("div","icon",Sh,"-"),o=ge("div","content",Ri),a=ge("div","pagination",wE),l=ge("div","taskCard",Ih),u=ge("div","taskText",xh),c=ge("div","taskDescription",kE),f=ge("div","taskButtons",TE),h=ge("div","taskText",xh);h.textContent="Your answer";const d=ge("textarea","taskDescription",{resize:"vertical"}),p=ge("div","inputArea",Ih);p.append(h,d);const g=ge("div","closePanelButton",um,"Collapse Panel"),w=ge("div","nextButton",EE,"Done, Next");i.append(s,r),l.append(u,c),f.append(g,w),o.append(a,l,p,f),n.append(i,o);const _=()=>{const b=e[this.currentTaskIndex];u.textContent=b.title,c.textContent=b.description,b.allow_typing?p.style.display="flex":p.style.display="none"};e.forEach((b,E)=>{const T=ge("span",`or_task_${E}`,{outline:"1px solid #efefef",fontSize:"13px",height:"24px",width:"24px",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",borderRadius:"6.25em"},(E+1).toString());T.id=`or_task_${E}`,a.append(T)});const m=()=>{this.widgetTasksVisible=!this.widgetTasksVisible,r.textContent=this.widgetTasksVisible?"-":"+",Object.assign(o.style,this.widgetTasksVisible?Ri:{display:"none"})};this.hideTaskSection=()=>(r.textContent="+",Object.assign(o.style,{display:"none"}),this.widgetTasksVisible=!1,!1),this.showTaskSection=()=>(r.textContent="-",Object.assign(o.style,Ri),this.widgetTasksVisible=!0,!0);const y=()=>{const b=document.getElementById(`or_task_${this.currentTaskIndex}`);b&&Object.assign(b.style,Th);for(let E=0;E{var E,T,x,k;const b=e[this.currentTaskIndex].allow_typing?d.value:void 0;if(d.value="",(E=this.signalManager)==null||E.signalTask(e[this.currentTaskIndex].task_id,"done",b),this.currentTaskIndexN.taskId===e[this.currentTaskIndex].task_id)===-1&&(I.tasks.push({taskId:e[this.currentTaskIndex].task_id,started:this.app.timestamp()}),(x=this.signalManager)==null||x.setDurations(I)),(k=this.signalManager)==null||k.signalTask(e[this.currentTaskIndex].task_id,"begin"),y()}else this.showEndSection();this.app.localStorage.setItem("or_uxt_task_index",this.currentTaskIndex.toString())},setTimeout(()=>{const b=document.getElementById("or_task_0");b&&Object.assign(b.style,Th),_(),y()},1),n}showEndSection(){var a,l,u,c,f;let e=!0;(a=this.signalManager)==null||a.signalTest("done");const n=ge("div","end_section_or",bE),i=ge("div","end_title_or",{fontSize:"1.25rem",fontWeight:"500"},"Thank you! \u{1F44D}"),s=ge("div","end_description_or",{},(u=(l=this.test)==null?void 0:l.conclusion)!=null?u:`Thank you for participating in our usability test. Your feedback has been captured and will be used to enhance our website. + +We appreciate your time and valuable input.`),r=ge("div","end_button_or",kh,"Submitting Feedback"),o=AE();r.appendChild(o),((c=this.test)==null?void 0:c.reqMic)||((f=this.test)==null?void 0:f.reqCamera)?this.userRecorder.sendToAPI().then(()=>{r.removeChild(o),r.textContent="End Session",e=!1}).catch(h=>{console.error(h),r.removeChild(o),r.textContent="End Session",e=!1}):(r.removeChild(o),r.textContent="End Session",e=!1),this.taskSection&&this.container.removeChild(this.taskSection),this.descriptionSection&&this.container.removeChild(this.descriptionSection),this.stopButton&&this.stopButtonContainer&&this.container.removeChild(this.stopButtonContainer),r.onclick=()=>{e||(window.close(),document.body.removeChild(this.bg))},n.append(i,s,r),this.endSection=n,this.container.append(n)}}function fm(t){return!!t&&t.nodeType!=null}function Jl(t){return t.namespaceURI==="http://www.w3.org/2000/svg"}function En(t){return t.nodeType===Node.ELEMENT_NODE}function DE(t){return t.nodeType===Node.COMMENT_NODE}function Ql(t){return t.nodeType===Node.TEXT_NODE}function jo(t){return t.nodeType===Node.DOCUMENT_NODE}function Ra(t){return t.nodeType===Node.DOCUMENT_NODE||t.nodeType===Node.DOCUMENT_FRAGMENT_NODE}function Je(t,e){return t.localName===e}class LE{constructor(e,n){var i;this.app=e,this.options=n,this.snapshots={},this.intervals=[],this.restartTracking=()=>{this.clear(),this.app.nodes.scanTree(this.captureCanvas)},this.captureCanvas=s=>{const r=this.app.nodes.getID(s);if(!r||!Je(s,"canvas")||this.app.sanitizer.isObscured(r)||this.app.sanitizer.isHidden(r)||!Je(s,"canvas")||this.snapshots[r])return;new IntersectionObserver(l=>{l.forEach(u=>{u.isIntersecting&&(u.target?this.snapshots[r]&&this.snapshots[r].createdAt?this.snapshots[r].paused=!1:this.recordCanvas(u.target,r):this.snapshots[r]&&(this.snapshots[r].paused=!0))})}).observe(s)},this.recordCanvas=(s,r)=>{const o=this.app.timestamp();this.snapshots[r]={images:[],createdAt:o,paused:!1,dummy:document.createElement("canvas")};const a=cE(r.toString(),o);this.app.send(a);const l=c=>{$E(c,this.options.quality,this.snapshots[r].dummy,this.options.fixedScaling,this.fileExt,f=>{!f||(this.snapshots[r].images.push({id:this.app.timestamp(),data:f}),this.snapshots[r].images.length>9&&(this.sendSnaps(this.snapshots[r].images,r,this.snapshots[r].createdAt),this.snapshots[r].images=[]))})},u=setInterval(()=>{const c=this.app.nodes.getID(s),f=c?this.app.nodes.getNode(c):void 0;!f||!Je(f,"canvas")||f!==s?(this.app.debug.log("Canvas element not in sync"),clearInterval(u)):this.snapshots[r].paused||(this.options.useAnimationFrame?requestAnimationFrame(()=>{l(f)}):l(f))},this.interval);this.intervals.push(u)},this.fileExt=(i=n.fileExt)!=null?i:"webp",this.interval=1e3/n.fps}startTracking(){setTimeout(()=>{this.app.nodes.scanTree(this.captureCanvas),this.app.nodes.attachNodeCallback(e=>{this.captureCanvas(e)})},500)}sendSnaps(e,n,i){var r;if(Object.keys(this.snapshots).length===0)return;const s=new FormData;e.forEach(o=>{const a=o.data;!a||(s.append("snapshot",a,`${i}_${n}_${o.id}.${this.fileExt}`),this.options.isDebug&&HE(a,`${i}_${n}_${o.id}.${this.fileExt}`))}),fetch(this.app.options.ingestPoint+"/v1/web/images",{method:"POST",headers:{Authorization:`Bearer ${(r=this.app.session.getSessionToken())!=null?r:""}`},body:s}).then(()=>!0).catch(o=>{this.app.debug.error("error saving canvas",o)})}clear(){this.intervals.forEach(e=>clearInterval(e)),this.snapshots={}}}const Rh={low:.35,medium:.55,high:.8};function $E(t,e="medium",n,i=!1,s,r){const o=`image/${s}`;if(i){const a=window.devicePixelRatio||1;n.width=t.width/a,n.height=t.height/a;const l=n.getContext("2d");if(!l)return"";l.clearRect(0,0,n.width,n.height),l.drawImage(t,0,0,n.width,n.height),n.toBlob(r,o,Rh[e])}else t.toBlob(r,o,Rh[e])}function HE(t,e){const n=URL.createObjectURL(t),i=document.createElement("a");i.href=n,i.download=e,i.style.display="none",document.body.appendChild(i),i.click(),document.body.removeChild(i)}const Bs={Verbose:5,Log:4,Warnings:3,Errors:2,Silent:0};class jE{constructor(e=Bs.Silent){this.level=e}shouldLog(e){return this.level>=e}log(...e){this.shouldLog(Bs.Log)&&console.log(...e)}warn(...e){this.shouldLog(Bs.Warnings)&&console.warn(...e)}error(...e){this.shouldLog(Bs.Errors)&&console.error(...e)}}class BE{constructor(e){this.node_id=e,this.nodes=[],this.totalNodeAmount=0,this.nodeCallbacks=[],this.elementListeners=new Map,this.nextNodeId=0,this.scanTree=n=>{this.nodes.forEach(i=>n(i))}}syntheticMode(e){const s=99999999*e;if(s>9007199254740900)throw new Error("Placeholder id overflow");this.nextNodeId=s}attachNodeCallback(e){this.nodeCallbacks.push(e)}attachNodeListener(e,n,i,s=!0){const r=this.getID(e);if(r===void 0)return;rm(e,n,i,s);let o=this.elementListeners.get(r);o===void 0&&(o=[],this.elementListeners.set(r,o)),o.push([n,i,s])}registerNode(e){let n=e[this.node_id];const i=n===void 0;return i&&(n=this.nextNodeId,this.totalNodeAmount++,this.nextNodeId++,this.nodes[n]=e,e[this.node_id]=n),[n,i]}unregisterNode(e){const n=e[this.node_id];if(n!==void 0){e[this.node_id]=void 0,delete e[this.node_id],delete this.nodes[n];const i=this.elementListeners.get(n);i!==void 0&&(this.elementListeners.delete(n),i.forEach(s=>om(e,s[0],s[1],s[2]))),this.totalNodeAmount--}return n}cleanTree(){for(let e=0;ei(e,n))}getID(e){if(!!e)return e[this.node_id]}getNode(e){return this.nodes[e]}getNodeCount(){return this.totalNodeAmount}clear(){for(let e=0;e{for(const s of i){const r=s.target,o=s.type;if(!Ja(r))continue;if(o==="childList"){for(let l=0;l1e5&&(s=""),this.app.send(zl(e,i,s,this.app.getBaseHref()))):this.app.attributeSender.sendSetAttribute(e,i,s);return}if(!(i==="src"||i==="srcset"||i==="integrity"||i==="crossorigin"||i==="autocomplete"||i.substr(0,2)==="on")&&!(i==="value"&&Je(n,"input")&&n.type!=="button"&&n.type!=="reset"&&n.type!=="submit")){if(s===null){this.app.send(dh(e,i));return}if(i==="style"||i==="href"&&Je(n,"link")){this.app.send(zl(e,i,s,this.app.getBaseHref()));return}(i==="href"||s.length>1e5)&&(s=""),this.app.attributeSender.sendSetAttribute(e,i,s)}}sendNodeData(e,n,i){if(Je(n,"style")){this.app.send(eE(e,i,this.app.getBaseHref()));return}i=this.app.sanitizer.sanitize(e,i),this.app.send(jk(e,i))}bindNode(e){const[n,i]=this.app.nodes.registerNode(e);i?this.recents.set(n,rn.New):this.recents.get(n)!==rn.New&&this.recents.set(n,rn.Removed)}bindTree(e){if(!Ja(e))return;this.bindNode(e);const n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT+NodeFilter.SHOW_TEXT,{acceptNode:i=>(this.app.nodes.getID(i)!==void 0&&this.app.debug.error("! Node is already bound",i),Zl(i)||this.app.nodes.getID(i)!==void 0?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT)},!1);for(;n.nextNode();)this.bindNode(n.currentNode)}unbindTree(e){const n=this.app.nodes.unregisterNode(e);if(n!==void 0&&this.recents.get(n)===rn.Removed){this.app.send(Hk(n));const i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT+NodeFilter.SHOW_TEXT,{acceptNode:a=>Zl(a)||this.app.nodes.getID(a)===void 0?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},!1);let s=0;const r=this.app.nodes.getNodeCount();for(;i.nextNode();)s+=1,this.app.nodes.unregisterNode(i.currentNode);const o=Math.floor(s/r*100);o>30&&this.app.send(lE(o))}}_commitNode(e,n){if(Ra(n))return!0;const i=n.parentNode;let s;if(!Je(n,"html")||!this.isTopContext){if(i===null)return this.unbindTree(n),!1;if(s=this.app.nodes.getID(i),s===void 0)return this.unbindTree(n),!1;if(!this.commitNode(s))return this.unbindTree(n),!1;if(this.app.sanitizer.handleNode(e,s,n),this.app.sanitizer.isHidden(s))return!1}let r=n.previousSibling;for(;r!==null;){const c=this.app.nodes.getID(r);if(c!==void 0){this.commitNode(c),this.indexes[e]=this.indexes[c]+1;break}r=r.previousSibling}r===null&&(this.indexes[e]=0);const o=this.recents.get(e),a=o===rn.New,l=this.indexes[e];if(l===void 0)throw"commitNode: missing node index";if(a){if(En(n)){let c=n;if(s!==void 0){if(this.app.sanitizer.isHidden(e)){const f=c.clientWidth,h=c.clientHeight;c=n.cloneNode(),c.style.width=`${f}px`,c.style.height=`${h}px`}this.app.send(Dk(e,s,l,c.tagName,Jl(n)))}for(let f=0;f{this.commitNode(s),i===rn.New&&(n=this.app.nodes.getNode(s))&&this.app.nodes.callNodeCallbacks(n,e)}),this.clear()}observeRoot(e,n,i=e){this.observer.observe(e,{childList:!0,attributes:!0,characterData:!0,subtree:!0,attributeOldValue:!1,characterDataOldValue:!1}),this.bindTree(i),n(this.app.nodes.getID(e)),this.commitNodes(!0)}disconnect(){this.observer.disconnect(),this.clear()}}class Oh extends du{observe(e){const n=e.contentDocument,i=this.app.nodes.getID(e);!n||i===void 0||this.observeRoot(n,s=>{if(s===void 0){this.app.debug.log("OpenReplay: Iframe document not bound");return}this.app.send(Vl(i,s))})}syntheticObserve(e,n){this.observeRoot(n,i=>{if(i===void 0){this.app.debug.log("OpenReplay: Iframe document not bound");return}this.app.send(Vl(e,i))})}}class UE extends du{observe(e){const n=e.shadowRoot,i=this.app.nodes.getID(e);!n||i===void 0||this.observeRoot(n,s=>{if(s===void 0){this.app.debug.error("OpenReplay: Shadow Root was not bound");return}this.app.send(Vl(i,s))})}}class qE{constructor(){this.states=new Map}calcOffset(e){let n=0,i=0;if(e.parent&&([n,i]=this.calcOffset(e.parent)),!e.offset){const{left:o,top:a}=e.iFrame.getBoundingClientRect();e.offset=[o,a]}const[s,r]=e.offset;return[n+s,i+r]}getDocumentOffset(e){const n=this.states.get(e);return n?this.calcOffset(n):[0,0]}observe(e){var a;const n=e.contentDocument;if(!n)return;const i=e.ownerDocument,s=this.states.get(i),r={offset:null,iFrame:e,parent:s||null,clear:()=>{var l;i.removeEventListener("scroll",o),(l=i.defaultView)==null||l.removeEventListener("resize",o)}},o=()=>{r.offset=null};i.addEventListener("scroll",o),(a=i.defaultView)==null||a.addEventListener("resize",o),this.states.set(n,r)}clear(){this.states.forEach(e=>e.clear()),this.states.clear()}}const Qa=dn?Element.prototype.attachShadow:()=>new ShadowRoot;class zE extends du{constructor(e,n){super(e,!0),this.iframeOffsets=new qE,this.contextCallbacks=[],this.contextsSet=new Set,this.iframeObservers=[],this.shadowRootObservers=[],this.options=Object.assign({captureIFrames:!0},n),this.app.nodes.attachNodeCallback(i=>{Je(i,"iframe")&&(this.options.captureIFrames&&!di(i,"obscured")||di(i,"capture"))&&this.handleIframe(i)}),this.app.nodes.attachNodeCallback(i=>{En(i)&&i.shadowRoot!==null&&this.handleShadowRoot(i.shadowRoot)})}attachContextCallback(e){this.contextCallbacks.push(e)}getDocumentOffset(e){return this.iframeOffsets.getDocumentOffset(e)}handleIframe(e){let n=null;const i=this.app.safe(()=>setTimeout(()=>{if(this.app.nodes.getID(e)===void 0||!xk(e))return;const r=e.contentWindow,o=e.contentDocument;if(o&&o!==n){const a=new Oh(this.app);this.iframeObservers.push(a),a.observe(e),n=o,this.iframeOffsets.observe(e)}r&&r===r.window&&!this.contextsSet.has(r)&&(this.contextsSet.add(r),this.contextCallbacks.forEach(a=>a(r)))},100));e.addEventListener("load",i),i()}handleShadowRoot(e){const n=new UE(this.app);this.shadowRootObservers.push(n),n.observe(e.host)}observe(){const e=this;Element.prototype.attachShadow=function(){const n=Qa.apply(this,arguments);return e.handleShadowRoot(n),n},this.app.nodes.clear(),this.observeRoot(window.document,()=>{this.app.send(Mk()),this.app.nodes.callNodeCallbacks(document,!0)},window.document.documentElement)}crossdomainObserve(e,n){const i=this;Element.prototype.attachShadow=function(){const r=Qa.apply(this,arguments);return i.handleShadowRoot(r),r},this.app.nodes.clear(),this.app.nodes.syntheticMode(n);const s=new Oh(this.app);this.iframeObservers.push(s),s.syntheticObserve(e,window.document)}disconnect(){this.iframeOffsets.clear(),Element.prototype.attachShadow=Qa,this.iframeObservers.forEach(e=>e.disconnect()),this.iframeObservers=[],this.shadowRootObservers.forEach(e=>e.disconnect()),this.shadowRootObservers=[],super.disconnect()}}var Bo;(function(t){t[t.Plain=0]="Plain",t[t.Obscured=1]="Obscured",t[t.Hidden=2]="Hidden"})(Bo||(Bo={}));const VE=t=>t.trim().replace(/[^\f\n\r\t\v\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]/g,"\u2588");class WE{constructor(e,n){this.app=e,this.obscured=new Set,this.hidden=new Set,this.options=Object.assign({obscureTextEmails:!0,obscureTextNumbers:!1},n)}handleNode(e,n,i){if((this.obscured.has(n)||En(i)&&(di(i,"masked")||di(i,"obscured")))&&this.obscured.add(e),(this.hidden.has(n)||En(i)&&(di(i,"htmlmasked")||di(i,"hidden")))&&this.hidden.add(e),this.options.domSanitizer!==void 0&&En(i)){const s=this.options.domSanitizer(i);s===Bo.Obscured&&this.obscured.add(e),s===Bo.Hidden&&this.hidden.add(e)}}sanitize(e,n){return this.obscured.has(e)?VE(n):(this.options.obscureTextNumbers&&(n=n.replace(/\d/g,"0")),this.options.obscureTextEmails&&(n=n.replace(/^\w+([+.-]\w+)*@\w+([.-]\w+)*\.\w{2,3}$/g,i=>{const[s,r]=i.split("@"),[o,a]=r.split(".");return`${Xa(s)}@${Xa(o)}.${Xa(a)}`})),n)}isObscured(e){return this.obscured.has(e)}isHidden(e){return this.hidden.has(e)}getInnerTextSecure(e){const n=this.app.nodes.getID(e);return n?this.sanitize(n,e.innerText):""}clear(){this.obscured.clear(),this.hidden.clear()}}class KE{constructor(e,n){this.app=e,this.options=n,this.metadata={},this.userID=null,this.callbacks=[],this.timestamp=0,this.createTabId()}attachUpdateCallback(e){this.callbacks.push(e)}handleUpdate(e){e.userID==null&&delete e.userID,e.sessionID==null&&delete e.sessionID,this.callbacks.forEach(n=>n(e))}assign(e){e.userID!==void 0&&(this.userID=e.userID),e.metadata!==void 0&&Object.entries(e.metadata).forEach(([n,i])=>this.metadata[n]=i),e.sessionID!==void 0&&(this.sessionID=e.sessionID),e.timestamp!==void 0&&(this.timestamp=e.timestamp),e.projectID!==void 0&&(this.projectID=e.projectID),this.handleUpdate(e)}setMetadata(e,n){this.metadata[e]=n,this.handleUpdate({metadata:{[e]:n}})}setUserID(e){this.userID=e,this.handleUpdate({userID:e})}setUserInfo(e){this.userInfo=e}getPageNumber(){const e=this.app.sessionStorage.getItem(this.options.session_pageno_key);if(e!=null)return parseInt(e)}incPageNo(){let e=this.getPageNumber();return e===void 0?e=0:e++,this.app.sessionStorage.setItem(this.options.session_pageno_key,e.toString()),e}getSessionToken(){return this.app.sessionStorage.getItem(this.options.session_token_key)||void 0}setSessionToken(e){this.app.sessionStorage.setItem(this.options.session_token_key,e)}applySessionHash(e){const n=decodeURI(e).split("&");let i=e,s="100500";n.length==2&&([s,i]=n),!(!s||!i)&&(this.app.sessionStorage.setItem(this.options.session_token_key,i),this.app.sessionStorage.setItem(this.options.session_pageno_key,s))}getSessionHash(){const e=this.getPageNumber(),n=this.getSessionToken();if(!(e===void 0||n===void 0))return encodeURI(String(e)+"&"+n)}getTabId(){return this.tabId||this.createTabId(),this.tabId}regenerateTabId(){const e=Ck(12);this.app.sessionStorage.setItem(this.options.session_tabid_key,e),this.tabId=e}createTabId(){const e=this.app.sessionStorage.getItem(this.options.session_tabid_key);e?this.tabId=e:this.regenerateTabId()}getInfo(){return{sessionID:this.sessionID,metadata:this.metadata,userID:this.userID,timestamp:this.timestamp,projectID:this.projectID}}reset(){this.app.sessionStorage.removeItem(this.options.session_token_key),this.metadata={},this.userID=null,this.sessionID=void 0,this.timestamp=0}}function XE(t,e){let n=0;return()=>{n++>=e&&(n=0,t())}}class GE{constructor(e){this.app=e,this.timer=null,this.callbacks=[]}attach(e,n=0,i=!0,s){s&&(e=e.bind(s)),i&&(e=this.app.safe(e)),this.callbacks.unshift(n?XE(e,n):e)-1}start(){this.timer===null&&(this.timer=setInterval(()=>this.callbacks.forEach(e=>{e&&e()}),30))}stop(){this.timer!==null&&(clearInterval(this.timer),this.timer=null)}}const Ns="canceled",Nh="or_uxt_active",Za="or_buffer_1",As=t=>({reason:t,success:!1}),YE=t=>({...t,success:!0});var Ge;(function(t){t[t.NotActive=0]="NotActive",t[t.Starting=1]="Starting",t[t.Active=2]="Active",t[t.ColdStart=3]="ColdStart"})(Ge||(Ge={}));const hm="https://api.openreplay.com/ingest";function el(){const t=new Date().getTimezoneOffset()*-1,e=t>=0?"+":"-",n=Math.floor(Math.abs(t)/60),i=Math.abs(t)%60;return`UTC${e}${String(n).padStart(2,"0")}:${String(i).padStart(2,"0")}`}const JE=t=>new Promise(e=>setTimeout(e,t)),Pt={ask:"never-gonna-give-you-up",resp:"never-gonna-let-you-down",reg:"never-gonna-run-around-and-desert-you",iframeSignal:"never-gonna-make-you-cry",iframeId:"never-gonna-say-goodbye",iframeBatch:"never-gonna-tell-a-lie-and-hurt-you"};class QE{constructor(e,n,i,s,r){var l,u;this.signalError=s,this.insideIframe=r,this.messages=[],this.bufferedMessages1=[],this.bufferedMessages2=[],this.startCallbacks=[],this.stopCallbacks=[],this.commitCallbacks=[],this.activityState=Ge.NotActive,this.version="14.0.1",this.socketMode=!1,this.compressionThreshold=24*1e3,this.bc=null,this.canvasRecorder=null,this.conditionsManager=null,this.canStart=!1,this.rootId=null,this.pageFrames=[],this.frameOderNumber=0,this.initialHostName=location.hostname,this.startTimeout=null,this.coldStartCommitN=0,this.delay=0,this.coldInterval=null,this.orderNumber=0,this.coldStartTs=0,this.singleBuffer=!1,this.onSessionSent=()=>{},this.restartCanvasTracking=()=>{var c;(c=this.canvasRecorder)==null||c.restartTracking()},this.flushBuffer=async c=>new Promise(f=>{let h=!1;const d=[c.shift()];for(;!h;){const p=c[0];!p||p[0]===0?h=!0:d.push(c.shift())}this.postToWorker(d),f(null)}),this.onUxtCb=[],this.contextId=Math.random().toString(36).slice(2),this.projectKey=e,Object.keys(i).findIndex(c=>["fixedCanvasScaling","disableCanvas"].includes(c))!==-1&&(console.warn('Openreplay: canvas options are moving to separate key "canvas" in next update. Please update your configuration.'),i={...i,canvas:{__save_canvas_locally:i.__save_canvas_locally,fixedCanvasScaling:i.fixedCanvasScaling,disableCanvas:i.disableCanvas}}),this.networkOptions=i.network;const o={revID:"",node_id:"__openreplay_id",session_token_key:"__openreplay_token",session_pageno_key:"__openreplay_pageno",session_reset_key:"__openreplay_reset",session_tabid_key:"__openreplay_tabid",local_uuid_key:"__openreplay_uuid",ingestPoint:hm,resourceBaseHref:null,__is_snippet:!1,__debug_report_edp:null,__debug__:Bs.Silent,__save_canvas_locally:!1,localStorage:null,sessionStorage:null,disableStringDict:!1,forceSingleTab:!1,assistSocketHost:"",fixedCanvasScaling:!1,disableCanvas:!1,captureIFrames:!0,obscureTextEmails:!0,obscureTextNumbers:!1,crossdomain:{parentDomain:"*"},canvas:{disableCanvas:!1,fixedCanvasScaling:!1,__save_canvas_locally:!1,useAnimationFrame:!1}};if(this.options=am(o,i),!this.insideIframe&&!this.options.forceSingleTab&&globalThis&&"BroadcastChannel"in globalThis){const c=location.hostname.split(".").slice(-2).join("_");this.bc=new BroadcastChannel(`rick_${c}`)}this.revID=this.options.revID,this.localStorage=(l=this.options.localStorage)!=null?l:window.localStorage,this.sessionStorage=(u=this.options.sessionStorage)!=null?u:window.sessionStorage,this.sanitizer=new WE(this,i),this.nodes=new BE(this.options.node_id),this.observer=new zE(this,i),this.ticker=new GE(this),this.ticker.attach(()=>this.commit()),this.debug=new jE(this.options.__debug__),this.session=new KE(this,this.options),this.attributeSender=new wk(this,Boolean(this.options.disableStringDict)),this.featureFlags=new Ek(this),this.tagWatcher=new dE(this.sessionStorage,this.debug.error,c=>{this.send(uE(c))}),this.session.attachUpdateCallback(({userID:c,metadata:f})=>{c!=null&&this.send(Gk(c)),f!=null&&Object.entries(f).forEach(([h,d])=>this.send(ph(h,d)))}),n!=null&&this.session.applySessionHash(n),this.initWorker();const a=this.session.getTabId();if(this.insideIframe){const c=h=>{const{data:d}=h;d.line===Pt.iframeId&&(this.rootId=d.id,this.session.setSessionToken(d.token),this.frameOderNumber=d.frameOrderNumber,this.debug.log("starting iframe tracking",d),this.allowAppStart())};window.addEventListener("message",c),this.attachStopCallback(()=>{window.removeEventListener("message",c)});const f=this.initialHostName;window.parent.postMessage({line:Pt.iframeSignal,source:a,context:this.contextId,domain:f},"*")}else{let c=0;const f=h=>{const{data:d}=h;if(d.line===Pt.iframeSignal){const p=d.domain,g=Array.from(document.querySelectorAll("iframe"));this.pageFrames=g,(async()=>{let _=0;for(;_<10;){const m=this.checkNodeId(g,p);if(m){this.waitStarted().then(()=>{var E;c++;const y=this.session.getSessionToken(),b={line:Pt.iframeId,context:this.contextId,domain:p,id:m,token:y,frameOrderNumber:c};this.debug.log("iframe_data",b),(E=h.source)==null||E.postMessage(b,"*")}).catch(console.error),_=10;break}_++,await JE(100)}})()}if(d.line===Pt.iframeBatch){const g=d.messages.map(w=>{if(w[0]===20){let _=w;return this.pageFrames.forEach(m=>{if(m.dataset.domain===h.data.domain){const[y,b,E]=w,{left:T,top:x}=m.getBoundingClientRect();_=[y,b+T,E+x]}}),_}if(w[0]===68){let _=w;return this.pageFrames.forEach(m=>{if(m.dataset.domain===h.data.domain){const[y,b,E,T,x,k,I]=w,{left:N,top:j,width:F,height:z}=m.getBoundingClientRect(),M=document.documentElement.scrollWidth,J=document.documentElement.scrollHeight,H=k/100*F+N,Y=I/100*z+j,K=H/M,ce=Y/J;_=[y,b,E,T,x,Math.round(K*1e3)/10,Math.round(ce*1e3)/10]}}),_}return w});this.messages.push(...g)}};window.addEventListener("message",f),this.attachStopCallback(()=>{window.removeEventListener("message",f)})}this.bc!==null&&(this.bc.postMessage({line:Pt.ask,source:a,context:this.contextId}),this.startTimeout=setTimeout(()=>{this.allowAppStart()},500),this.bc.onmessage=c=>{if(c.data.context!==this.contextId){if(c.data.line===Pt.resp){const f=c.data.token;this.session.setSessionToken(f),this.allowAppStart()}if(c.data.line===Pt.reg){const f=c.data.token;this.session.regenerateTabId(),this.session.setSessionToken(f),this.allowAppStart()}if(c.data.line===Pt.ask){const f=this.session.getSessionToken();f&&this.bc&&this.bc.postMessage({line:c.data.source===a?Pt.reg:Pt.resp,token:f,source:a,context:this.contextId})}}})}allowAppStart(){this.canStart=!0,this.startTimeout&&(clearTimeout(this.startTimeout),this.startTimeout=null)}checkNodeId(e,n){for(const i of e)if(i.dataset.domain===n)return i[this.options.node_id];return null}initWorker(){try{this.worker=new Worker(URL.createObjectURL(new Blob(['"use strict";class t{constructor(t,s,i,e=10,n=250,h,r){this.onUnauthorised=s,this.onFailure=i,this.MAX_ATTEMPTS_COUNT=e,this.ATTEMPT_TIMEOUT=n,this.onCompress=h,this.pageNo=r,this.attemptsCount=0,this.busy=!1,this.queue=[],this.token=null,this.lastBatchNum=0,this.ingestURL=t+"/v1/web/i",this.isCompressing=void 0!==h}getQueueStatus(){return 0===this.queue.length&&!this.busy}authorise(t){this.token=t,this.busy||this.sendNext()}push(t){if(this.busy||!this.token)this.queue.push(t);else if(this.busy=!0,this.isCompressing&&this.onCompress)this.onCompress(t);else{const s=++this.lastBatchNum;this.sendBatch(t,!1,s)}}sendNext(){const t=this.queue.shift();if(t)if(this.busy=!0,this.isCompressing&&this.onCompress)this.onCompress(t);else{const s=++this.lastBatchNum;this.sendBatch(t,!1,s)}else this.busy=!1}retry(t,s,i){this.attemptsCount>=this.MAX_ATTEMPTS_COUNT?this.onFailure(`Failed to send batch after ${this.attemptsCount} attempts.`):(this.attemptsCount++,setTimeout((()=>this.sendBatch(t,s,i)),this.ATTEMPT_TIMEOUT*this.attemptsCount))}sendBatch(t,s,i){const e=i?.toString().replace(/^([^_]+)_([^_]+).*/,"$1_$2_$3");this.busy=!0;const n={Authorization:`Bearer ${this.token}`};s&&(n["Content-Encoding"]="gzip"),null!==this.token?fetch(`${this.ingestURL}?batch=${this.pageNo??"noPageNum"}_${e??"noBatchNum"}`,{body:t,method:"POST",headers:n,keepalive:t.length<65536}).then((e=>{if(401===e.status)return this.busy=!1,void this.onUnauthorised();e.status>=400?this.retry(t,s,`${i??"noBatchNum"}_network:${e.status}`):(this.attemptsCount=0,this.sendNext())})).catch((e=>{console.warn("OpenReplay:",e),this.retry(t,s,`${i??"noBatchNum"}_reject:${e.message}`)})):setTimeout((()=>{this.sendBatch(t,s,`${i??"noBatchNum"}_newToken`)}),500)}sendCompressed(t){const s=++this.lastBatchNum;this.sendBatch(t,!0,s)}sendUncompressed(t){const s=++this.lastBatchNum;this.sendBatch(t,!1,s)}clean(){this.sendNext(),setTimeout((()=>{this.token=null,this.queue.length=0}),10)}}const s="function"==typeof TextEncoder?new TextEncoder:{encode(t){const s=t.length,i=new Uint8Array(3*s);let e=-1;for(let n=0,h=0,r=0;r!==s;){if(n=t.charCodeAt(r),r+=1,n>=55296&&n<=56319){if(r===s){i[e+=1]=239,i[e+=1]=191,i[e+=1]=189;break}if(h=t.charCodeAt(r),!(h>=56320&&h<=57343)){i[e+=1]=239,i[e+=1]=191,i[e+=1]=189;continue}if(n=1024*(n-55296)+h-56320+65536,r+=1,n>65535){i[e+=1]=240|n>>>18,i[e+=1]=128|n>>>12&63,i[e+=1]=128|n>>>6&63,i[e+=1]=128|63&n;continue}}n<=127?i[e+=1]=0|n:n<=2047?(i[e+=1]=192|n>>>6,i[e+=1]=128|63&n):(i[e+=1]=224|n>>>12,i[e+=1]=128|n>>>6&63,i[e+=1]=128|63&n)}return i.subarray(0,e+1)}};class i{constructor(t){this.size=t,this.offset=0,this.checkpointOffset=0,this.data=new Uint8Array(t)}getCurrentOffset(){return this.offset}checkpoint(){this.checkpointOffset=this.offset}get isEmpty(){return 0===this.offset}skip(t){return this.offset+=t,this.offset<=this.size}set(t,s){this.data.set(t,s)}boolean(t){return this.data[this.offset++]=+t,this.offset<=this.size}uint(t){for((t<0||t>Number.MAX_SAFE_INTEGER)&&(t=0);t>=128;)this.data[this.offset++]=t%256|128,t=Math.floor(t/128);return this.data[this.offset++]=t,this.offset<=this.size}int(t){return t=Math.round(t),this.uint(t>=0?2*t:-2*t-1)}string(t){const i=s.encode(t),e=i.byteLength;return!(!this.uint(e)||this.offset+e>this.size)&&(this.data.set(i,this.offset),this.offset+=e,!0)}reset(){this.offset=0,this.checkpointOffset=0}flush(){const t=this.data.slice(0,this.checkpointOffset);return this.reset(),t}}class e extends i{encode(t){switch(t[0]){case 0:case 11:case 114:case 115:return this.uint(t[1]);case 4:case 44:case 47:return this.string(t[1])&&this.string(t[2])&&this.uint(t[3]);case 5:case 20:case 38:case 70:case 75:case 76:case 77:case 82:return this.uint(t[1])&&this.uint(t[2]);case 6:return this.int(t[1])&&this.int(t[2]);case 7:return!0;case 8:return this.uint(t[1])&&this.uint(t[2])&&this.uint(t[3])&&this.string(t[4])&&this.boolean(t[5]);case 9:case 10:case 24:case 51:return this.uint(t[1])&&this.uint(t[2])&&this.uint(t[3]);case 12:case 61:case 71:return this.uint(t[1])&&this.string(t[2])&&this.string(t[3]);case 13:case 14:case 17:case 50:case 54:return this.uint(t[1])&&this.string(t[2]);case 16:return this.uint(t[1])&&this.int(t[2])&&this.int(t[3]);case 18:return this.uint(t[1])&&this.string(t[2])&&this.int(t[3]);case 19:return this.uint(t[1])&&this.boolean(t[2]);case 21:return this.string(t[1])&&this.string(t[2])&&this.string(t[3])&&this.string(t[4])&&this.string(t[5])&&this.uint(t[6])&&this.uint(t[7])&&this.uint(t[8]);case 22:case 27:case 30:case 41:case 45:case 46:case 63:case 64:case 79:return this.string(t[1])&&this.string(t[2]);case 23:return this.uint(t[1])&&this.uint(t[2])&&this.uint(t[3])&&this.uint(t[4])&&this.uint(t[5])&&this.uint(t[6])&&this.uint(t[7])&&this.uint(t[8])&&this.uint(t[9]);case 28:case 29:case 42:case 117:case 118:return this.string(t[1]);case 37:return this.uint(t[1])&&this.string(t[2])&&this.uint(t[3]);case 39:return this.string(t[1])&&this.string(t[2])&&this.string(t[3])&&this.string(t[4])&&this.uint(t[5])&&this.uint(t[6])&&this.uint(t[7]);case 40:return this.string(t[1])&&this.uint(t[2])&&this.string(t[3])&&this.string(t[4]);case 48:return this.string(t[1])&&this.string(t[2])&&this.string(t[3])&&this.string(t[4])&&this.int(t[5]);case 49:return this.int(t[1])&&this.int(t[2])&&this.uint(t[3])&&this.uint(t[4]);case 53:return this.uint(t[1])&&this.uint(t[2])&&this.uint(t[3])&&this.uint(t[4])&&this.uint(t[5])&&this.uint(t[6])&&this.string(t[7])&&this.string(t[8]);case 55:return this.boolean(t[1]);case 57:case 60:return this.uint(t[1])&&this.string(t[2])&&this.string(t[3])&&this.string(t[4]);case 58:case 120:return this.int(t[1]);case 59:return this.uint(t[1])&&this.uint(t[2])&&this.uint(t[3])&&this.uint(t[4])&&this.string(t[5])&&this.string(t[6])&&this.string(t[7]);case 67:case 73:return this.uint(t[1])&&this.string(t[2])&&this.uint(t[3])&&this.string(t[4]);case 68:return this.uint(t[1])&&this.uint(t[2])&&this.string(t[3])&&this.string(t[4])&&this.uint(t[5])&&this.uint(t[6]);case 69:return this.uint(t[1])&&this.uint(t[2])&&this.string(t[3])&&this.string(t[4]);case 78:return this.string(t[1])&&this.string(t[2])&&this.string(t[3])&&this.string(t[4]);case 81:return this.uint(t[1])&&this.uint(t[2])&&this.uint(t[3])&&this.int(t[4])&&this.string(t[5]);case 83:return this.string(t[1])&&this.string(t[2])&&this.string(t[3])&&this.string(t[4])&&this.string(t[5])&&this.uint(t[6])&&this.uint(t[7])&&this.uint(t[8])&&this.uint(t[9]);case 84:return this.string(t[1])&&this.string(t[2])&&this.string(t[3])&&this.uint(t[4])&&this.string(t[5])&&this.string(t[6]);case 112:return this.uint(t[1])&&this.string(t[2])&&this.boolean(t[3])&&this.string(t[4])&&this.int(t[5])&&this.int(t[6]);case 113:return this.uint(t[1])&&this.uint(t[2])&&this.string(t[3]);case 116:return this.uint(t[1])&&this.uint(t[2])&&this.uint(t[3])&&this.uint(t[4])&&this.uint(t[5])&&this.uint(t[6])&&this.string(t[7])&&this.string(t[8])&&this.uint(t[9])&&this.boolean(t[10]);case 119:return this.string(t[1])&&this.uint(t[2]);case 121:return this.string(t[1])&&this.string(t[2])&&this.uint(t[3])&&this.uint(t[4]);case 122:return this.string(t[1])&&this.string(t[2])&&this.uint(t[3])&&this.string(t[4]);case 123:return this.string(t[1])&&this.string(t[2])&&this.string(t[3])&&this.string(t[4])&&this.uint(t[5])}}}class n{constructor(t,s,i,n,h,r){this.pageNo=t,this.timestamp=s,this.url=i,this.onBatch=n,this.tabId=h,this.onOfflineEnd=r,this.nextIndex=0,this.beaconSize=2e5,this.encoder=new e(this.beaconSize),this.sizeBuffer=new Uint8Array(3),this.isEmpty=!0,this.beaconSizeLimit=1e6,this.prepare()}writeType(t){return this.encoder.uint(t[0])}writeFields(t){return this.encoder.encode(t)}writeSizeAt(t,s){for(let s=0;s<3;s++)this.sizeBuffer[s]=t>>8*s;this.encoder.set(this.sizeBuffer,s)}prepare(){if(!this.encoder.isEmpty)return;const t=[81,1,this.pageNo,this.nextIndex,this.timestamp,this.url],s=[118,this.tabId];this.writeType(t),this.writeFields(t),this.writeWithSize(s),this.isEmpty=!0}writeWithSize(t){const s=this.encoder;if(!this.writeType(t)||!s.skip(3))return!1;const i=s.getCurrentOffset(),e=this.writeFields(t);if(e){const e=s.getCurrentOffset()-i;if(e>16777215)return console.warn("OpenReplay: max message size overflow."),!1;this.writeSizeAt(e,i-3),s.checkpoint(),this.isEmpty=this.isEmpty&&0===t[0],this.nextIndex++}return e}setBeaconSizeLimit(t){this.beaconSizeLimit=t}writeMessage(t){if("q_end"===t[0])return this.finaliseBatch(),this.onOfflineEnd();0===t[0]&&(this.timestamp=t[1]),122===t[0]&&(this.url=t[1]),this.writeWithSize(t)||(this.finaliseBatch(),this.writeWithSize(t)||(this.encoder=new e(this.beaconSizeLimit),this.prepare(),this.writeWithSize(t)?this.finaliseBatch():console.warn("OpenReplay: beacon size overflow. Skipping large message.",t,this),this.encoder=new e(this.beaconSize),this.prepare()))}finaliseBatch(){if(this.isEmpty)return;const t=this.encoder.flush();this.onBatch(t),this.prepare()}clean(){this.encoder.reset()}}var h;!function(t){t[t.NotActive=0]="NotActive",t[t.Starting=1]="Starting",t[t.Stopping=2]="Stopping",t[t.Active=3]="Active",t[t.Stopped=4]="Stopped"}(h||(h={}));let r=null,a=null,u=h.NotActive;function o(){a&&a.finaliseBatch()}function c(){return new Promise((t=>{u=h.Stopping,null!==l&&(clearInterval(l),l=null),a&&(a.clean(),a=null),r&&(r.clean(),setTimeout((()=>{r=null}),20)),setTimeout((()=>{u=h.NotActive,t(null)}),100)}))}function g(){u!==h.Stopped&&(postMessage("a_stop"),c().then((()=>{postMessage("a_start")})))}let p,l=null;self.onmessage=({data:s})=>{if(null!=s){if("stop"===s)return o(),void c().then((()=>{u=h.Stopped}));if("forceFlushBatch"!==s){if(!Array.isArray(s)){if("compressed"===s.type){if(!r)return console.debug("OR WebWorker: sender not initialised. Compressed batch."),void g();s.batch&&r.sendCompressed(s.batch)}if("uncompressed"===s.type){if(!r)return console.debug("OR WebWorker: sender not initialised. Uncompressed batch."),void g();s.batch&&r.sendUncompressed(s.batch)}return"start"===s.type?(u=h.Starting,r=new t(s.ingestPoint,(()=>{g()}),(t=>{!function(t){postMessage({type:"failure",reason:t}),c()}(t)}),s.connAttemptCount,s.connAttemptGap,(t=>{postMessage({type:"compress",batch:t},[t.buffer])}),s.pageNo),a=new n(s.pageNo,s.timestamp,s.url,(t=>{r&&r.push(t)}),s.tabId,(()=>postMessage({type:"queue_empty"}))),null===l&&(l=setInterval(o,1e4)),u=h.Active):"auth"===s.type?r?a?(r.authorise(s.token),void(s.beaconSizeLimit&&a.setBeaconSizeLimit(s.beaconSizeLimit))):(console.debug("OR WebWorker: writer not initialised. Received auth."),void g()):(console.debug("OR WebWorker: sender not initialised. Received auth."),void g()):void 0}if(a){const t=a;s.forEach((s=>{55===s[0]&&(s[1]?p=setTimeout((()=>g()),18e5):clearTimeout(p)),t.writeMessage(s)}))}else postMessage("not_init"),g()}else o()}else o()};'],{type:"text/javascript"}))),this.worker.onerror=n=>{this._debug("webworker_error",n)},this.worker.onmessage=({data:n})=>{this.handleWorkerMsg(n)};const e=()=>{this.worker&&this.worker.postMessage(null)};this.attachEventListener(window,"beforeunload",e,!1),this.attachEventListener(document.body,"mouseleave",e,!1,!1),this.attachEventListener(document,"visibilitychange",e,!1)}catch(e){this._debug("worker_start",e)}}handleWorkerMsg(e){var n;if(e==="a_stop")this.stop(!1);else if(e==="a_start")this.start({},!0);else if(e==="not_init")this.debug.warn("OR WebWorker: writer not initialised. Restarting tracker");else if(e.type==="failure")this.stop(!1),this.debug.error("worker_failed",e.reason),this._debug("worker_failed",e.reason);else if(e.type==="compress"){const i=e.batch;i.byteLength>this.compressionThreshold?yk(e.batch,{mtime:0},(r,o)=>{var a,l;r?(this.debug.error("Openreplay compression error:",r),(a=this.worker)==null||a.postMessage({type:"uncompressed",batch:i})):(l=this.worker)==null||l.postMessage({type:"compressed",batch:o})}):(n=this.worker)==null||n.postMessage({type:"uncompressed",batch:i})}else e.type==="queue_empty"&&this.onSessionSent()}_debug(e,n){this.options.__debug_report_edp!==null&&fetch(this.options.__debug_report_edp,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({context:e,error:`${n}`})}),this.debug.error("OpenReplay error: ",e,n)}send(e,n=!1){var i;this.activityState!==Ge.NotActive&&(this.activityState===Ge.ColdStart?(this.bufferedMessages1.push(e),this.singleBuffer||this.bufferedMessages2.push(e),(i=this.conditionsManager)==null||i.processMessage(e)):this.messages.push(e),this.activityState===Ge.Active&&n&&this.commit())}_nCommit(){if(this.socketMode){this.messages.unshift(ii(this.session.getTabId())),this.messages.unshift(ni(this.timestamp())),this.commitCallbacks.forEach(e=>e(this.messages)),this.messages.length=0;return}if(!(this.worker===void 0||!this.messages.length)){if(this.insideIframe){window.parent.postMessage({line:Pt.iframeBatch,messages:this.messages,domain:this.initialHostName},"*"),this.commitCallbacks.forEach(e=>e(this.messages)),this.messages.length=0;return}try{Ak(()=>{var e;this.messages.unshift(ii(this.session.getTabId())),this.messages.unshift(ni(this.timestamp())),(e=this.worker)==null||e.postMessage(this.messages),this.commitCallbacks.forEach(n=>n(this.messages)),this.messages.length=0})}catch(e){this._debug("worker_commit",e),this.stop(!0),setTimeout(()=>{this.start()},500)}}}_cStartCommit(){this.coldStartCommitN+=1,this.coldStartCommitN===2&&(this.bufferedMessages1.push(ni(this.timestamp())),this.bufferedMessages1.push(ii(this.session.getTabId())),this.bufferedMessages2.push(ni(this.timestamp())),this.bufferedMessages2.push(ii(this.session.getTabId())),this.coldStartCommitN=0)}commit(){this.activityState===Ge.ColdStart?this._cStartCommit():this._nCommit()}postToWorker(e){var n;(n=this.worker)==null||n.postMessage(e),this.commitCallbacks.forEach(i=>i(e)),e.length=0}timestamp(){return Kt()+this.delay}safe(e){const n=this;return function(...i){try{e.apply(this,i)}catch(s){n._debug("safe_fn_call",s)}}}attachCommitCallback(e){this.commitCallbacks.push(e)}attachStartCallback(e,n=!1){n&&(e=this.safe(e)),this.startCallbacks.push(e)}attachStopCallback(e,n=!1){n&&(e=this.safe(e)),this.stopCallbacks.push(e)}attachEventListener(e,n,i,s=!0,r=!0){s&&(i=this.safe(i));const o=()=>e?rm(e,n,i,r):null,a=()=>e?om(e,n,i,r):null;this.attachStartCallback(o,s),this.attachStopCallback(a,s)}checkRequiredVersion(e){const n=e.split(/[.-]/),i=this.version.split(/[.-]/);for(let s=0;s<3;s++){if(isNaN(Number(i[s]))||isNaN(Number(n[s])))return!1;if(Number(i[s])>Number(n[s]))return!0;if(Number(i[s]){this.orderNumber+=1,Ka(),this.coldStartTs=Kt(),this.orderNumber%2===0?(this.bufferedMessages1.length=0,this.bufferedMessages1.push(ni(this.timestamp())),this.bufferedMessages1.push(ii(this.session.getTabId()))):(this.bufferedMessages2.length=0,this.bufferedMessages2.push(ni(this.timestamp())),this.bufferedMessages2.push(ii(this.session.getTabId()))),this.stop(!1),this.activityState=Ge.ColdStart,e.sessionHash&&this.session.applySessionHash(e.sessionHash),e.forceNew&&this.session.reset(),this.session.assign({userID:e.userID,metadata:e.metadata}),s||(this.debug.log("continuing session on new tab",this.session.getTabId()),this.send(po(this.session.getTabId()))),this.observer.observe(),this.ticker.start()};this.coldInterval=setInterval(()=>{r()},30*i),r()}async setupConditionalStart(e){var h,d;this.conditionsManager=new Sk(this,e);const n=await fetch(this.options.ingestPoint+"/v1/web/start",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...this.getTrackerInfo(),timestamp:Kt(),doNotRecord:!0,bufferDiff:0,userID:this.session.getInfo().userID,token:void 0,deviceMemory:Ga,jsHeapSizeLimit:Ya,timezone:el(),width:window.innerWidth,height:window.innerHeight})}),{token:i,userBrowser:s,userCity:r,userCountry:o,userDevice:a,userOS:l,userState:u,projectID:c}=await n.json();this.session.assign({projectID:c}),this.session.setUserInfo({userBrowser:s,userCity:r,userCountry:o,userDevice:a,userOS:l,userState:u});const f={sessionToken:i,userUUID:"",sessionID:""};this.startCallbacks.forEach(p=>p(f)),await((h=this.conditionsManager)==null?void 0:h.fetchConditions(c,i)),await this.featureFlags.reloadFlags(i),await this.tagWatcher.fetchTags(this.options.ingestPoint,i),(d=this.conditionsManager)==null||d.processFlags(this.featureFlags.flags)}offlineRecording(e={},n){this.onSessionSent=n,this.singleBuffer=!0;const i=this.checkSessionToken(e.forceNew);Ka(),this.coldStartTs=Kt();const s=this.localStorage.getItem(Za);if(s){const o=JSON.parse(s);this.bufferedMessages1=Array.isArray(o)?o:this.bufferedMessages1,this.localStorage.removeItem(Za)}this.bufferedMessages1.push(ni(this.timestamp())),this.bufferedMessages1.push(ii(this.session.getTabId())),this.activityState=Ge.ColdStart,e.sessionHash&&this.session.applySessionHash(e.sessionHash),e.forceNew&&this.session.reset(),this.session.assign({userID:e.userID,metadata:e.metadata});const r={sessionToken:"",userUUID:"",sessionID:""};return this.startCallbacks.forEach(o=>o(r)),i||this.send(po(this.session.getTabId())),this.observer.observe(),this.ticker.start(),{saveBuffer:this.saveBuffer,getBuffer:this.getBuffer,setBuffer:this.setBuffer}}saveBuffer(){this.localStorage.setItem(Za,JSON.stringify(this.bufferedMessages1))}getBuffer(){return this.bufferedMessages1}setBuffer(e){this.bufferedMessages1=e}async uploadOfflineRecording(){var h,d;this.stop(!1);const e=Kt();(h=this.worker)==null||h.postMessage({type:"start",pageNo:this.session.incPageNo(),ingestPoint:this.options.ingestPoint,timestamp:this.coldStartTs,url:document.URL,connAttemptCount:this.options.connAttemptCount,connAttemptGap:this.options.connAttemptGap,tabId:this.session.getTabId()});const n=await fetch(this.options.ingestPoint+"/v1/web/start",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...this.getTrackerInfo(),timestamp:e,doNotRecord:!1,bufferDiff:e-this.coldStartTs,userID:this.session.getInfo().userID,token:void 0,deviceMemory:Ga,jsHeapSizeLimit:Ya,timezone:el()})}),{token:i,userBrowser:s,userCity:r,userCountry:o,userDevice:a,userOS:l,userState:u,beaconSizeLimit:c,projectID:f}=await n.json();for((d=this.worker)==null||d.postMessage({type:"auth",token:i,beaconSizeLimit:c}),this.session.assign({projectID:f}),this.session.setUserInfo({userBrowser:s,userCity:r,userCountry:o,userDevice:a,userOS:l,userState:u});this.bufferedMessages1.length>0;)await this.flushBuffer(this.bufferedMessages1);this.postToWorker([["q_end"]]),this.clearBuffers()}async _start(e={},n=!1,i){var l,u;const s=this.activityState===Ge.ColdStart;if(s&&this.coldInterval&&clearInterval(this.coldInterval),!this.worker){const c="No worker found: perhaps, CSP is not set.";return this.signalError(c,[]),Promise.resolve(As(c))}if(this.activityState===Ge.Active||this.activityState===Ge.Starting){const c="OpenReplay: trying to call `start()` on the instance that has been started already.";return Promise.resolve(As(c))}this.activityState=Ge.Starting,s||Ka(),e.sessionHash&&this.session.applySessionHash(e.sessionHash),e.forceNew&&this.session.reset(),this.session.assign({userID:e.userID,metadata:e.metadata});const r=Kt();this.worker.postMessage({type:"start",pageNo:this.session.incPageNo(),ingestPoint:this.options.ingestPoint,timestamp:s?this.coldStartTs:r,url:document.URL,connAttemptCount:this.options.connAttemptCount,connAttemptGap:this.options.connAttemptGap,tabId:this.session.getTabId()});const o=this.session.getSessionToken(),a=this.checkSessionToken(e.forceNew);this.sessionStorage.removeItem(this.options.session_reset_key),this.debug.log("OpenReplay: starting session; need new session id?",a,"session token: ",o);try{const c=await window.fetch(this.options.ingestPoint+"/v1/web/start",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...this.getTrackerInfo(),timestamp:r,doNotRecord:!1,bufferDiff:r-this.coldStartTs,userID:this.session.getInfo().userID,token:a?void 0:o,deviceMemory:Ga,jsHeapSizeLimit:Ya,timezone:el(),condition:i,assistOnly:(l=e.assistOnly)!=null?l:this.socketMode})});if(c.status!==200){const H=await c.text(),Y=H===Ns?Ns:`Server error: ${c.status}. ${H}`;return Promise.reject(Y)}if(!this.worker){const H="no worker found after start request (this might not happen)";return this.signalError(H,[]),Promise.reject(H)}const{token:f,userUUID:h,projectID:d,beaconSizeLimit:p,compressionThreshold:g,delay:w,sessionID:_,startTimestamp:m,userBrowser:y,userCity:b,userCountry:E,userDevice:T,userOS:x,userState:k,canvasEnabled:I,canvasQuality:N,canvasFPS:j,assistOnly:F}=await c.json();if(typeof f!="string"||typeof h!="string"||typeof m!="number"&&typeof m<"u"||typeof _!="string"||typeof w!="number"||typeof p!="number"&&typeof p<"u"){const H=`Incorrect server response: ${JSON.stringify(c)}`;return this.signalError(H,[]),Promise.reject(H)}this.delay=w,this.session.setSessionToken(f),this.session.setUserInfo({userBrowser:y,userCity:b,userCountry:E,userDevice:T,userOS:x,userState:k}),this.session.assign({sessionID:_,timestamp:m||r,projectID:d}),F?(this.socketMode=!0,this.worker.postMessage("stop")):this.worker.postMessage({type:"auth",token:f,beaconSizeLimit:p}),!a&&f===o&&(this.debug.log("continuing session on new tab",this.session.getTabId()),this.send(po(this.session.getTabId()))),Object.entries(this.session.getInfo().metadata).forEach(([H,Y])=>this.send(ph(H,Y))),this.localStorage.setItem(this.options.local_uuid_key,h),this.compressionThreshold=g;const z={sessionToken:f,userUUID:h,sessionID:_};if(this.startCallbacks.forEach(H=>H(z)),this.featureFlags.reloadFlags(),await this.tagWatcher.fetchTags(this.options.ingestPoint,f),this.activityState=Ge.Active,I&&!this.options.canvas.disableCanvas&&(this.canvasRecorder=(u=this.canvasRecorder)!=null?u:new LE(this,{fps:j,quality:N,isDebug:this.options.canvas.__save_canvas_locally,fixedScaling:this.options.canvas.fixedCanvasScaling,useAnimationFrame:this.options.canvas.useAnimationFrame}),this.canvasRecorder.startTracking()),s){const H=this.bufferedMessages1.length>this.bufferedMessages2.length?this.bufferedMessages1:this.bufferedMessages2;for(;H.length>0;)await this.flushBuffer(H);this.clearBuffers(),this.commit()}else this.insideIframe&&this.rootId?this.observer.crossdomainObserve(this.rootId,this.frameOderNumber):this.observer.observe(),this.ticker.start();this.uxtManager=this.uxtManager?this.uxtManager:new ME(this,Nh);let M;const J=this.localStorage.getItem(Nh);if(J&&(M=parseInt(J,10)),location!=null&&location.search){const H=new URLSearchParams(location.search);if(H.has("oruxt")){const Y=H.get("oruxt");M=Y?parseInt(Y,10):void 0}}return M&&(this.uxtManager.isActive?this.onUxtCb.forEach(H=>H(M)):this.uxtManager.getTest(M,f,Boolean(J)).then(H=>{H&&this.onUxtCb.forEach(Y=>Y(H))})),YE(z)}catch(c){if(this.stop(),this.session.reset(),c===Ns)return this.signalError(Ns,[]),As(Ns);this._debug("session_start",c);const f=c instanceof Error?c.message:c.toString();return this.signalError(f,[]),As(f)}}addOnUxtCb(e){this.onUxtCb.push(e)}getUxtId(){var e;return(e=this.uxtManager)==null?void 0:e.getTestId()}async waitStart(){return new Promise(e=>{const n=()=>{this.canStart?e(!0):setTimeout(n,25)};n()})}async waitStarted(){return new Promise(e=>{const n=()=>{this.activityState===Ge.Active?e(!0):setTimeout(n,25)};n()})}async start(...e){if(this.activityState===Ge.Active||this.activityState===Ge.Starting){const n="OpenReplay: trying to call `start()` on the instance that has been started already.";return Promise.resolve(As(n))}return document.hidden?new Promise(n=>{const i=async()=>{document.hidden||(await this.waitStart(),document.removeEventListener("visibilitychange",i),n(this._start(...e)))};document.addEventListener("visibilitychange",i)}):(await this.waitStart(),this._start(...e))}forceFlushBatch(){var e;(e=this.worker)==null||e.postMessage("forceFlushBatch")}getTabId(){return this.session.getTabId()}clearBuffers(){this.bufferedMessages1.length=0,this.bufferedMessages2.length=0}trackWs(e){const n=e;return(i,s,r="down")=>{typeof i!="string"||typeof s!="string"||s.length>5*1024*1024||i.length>255||this.send(rE("websocket",n,s,this.timestamp(),r,i))}}stop(e=!0){var n;if(this.activityState!==Ge.NotActive)try{this.attributeSender.clear(),this.sanitizer.clear(),this.observer.disconnect(),this.nodes.clear(),this.ticker.stop(),this.stopCallbacks.forEach(i=>i()),this.debug.log("OpenReplay tracking stopped."),this.tagWatcher.clear(),this.worker&&e&&this.worker.postMessage("stop"),(n=this.canvasRecorder)==null||n.clear()}finally{this.activityState=Ge.NotActive}}}function ZE(t){const e=navigator.connection||navigator.mozConnection||navigator.webkitConnection;if(e===void 0)return;const n=()=>t.send(Qk(Math.round(e.downlink*1e3),e.type||"unknown"));n(),e.addEventListener("change",n)}const dm=dn&&"InstallTrigger"in window?t=>t.message+` +`+t.stack:t=>t.stack||t.message;function ec(t){return t===void 0?"undefined":t===null?"null":t instanceof Error?dm(t):Array.isArray(t)?`Array(${t.length})`:String(t)}function eT(t){return typeof t!="number"?"NaN":t.toString()}function tT(t){return typeof t!="number"?"NaN":Math.floor(t).toString()}function Ah(t){if(t===void 0)return"undefined";if(t===null)return"null";if(t instanceof Error)return dm(t);if(Array.isArray(t)){const e=t.length,n=t.slice(0,10).map(ec).join(", ");return`Array(${e})[${n}]`}if(typeof t=="object"){const e=[];let n=0;for(const i in t){if(++n===10)break;const s=t[i];e.push(i+": "+ec(s))}return"{"+e.join(", ")+"}"}return t.toString()}function nT(t){return typeof t[0]=="string"&&t.unshift(t.shift().replace(/%(o|s|f|d|i)/g,(e,n)=>{const i=t.shift();if(i===void 0)return e;switch(n){case"o":return Ah(i);case"s":return ec(i);case"f":return eT(i);case"d":case"i":return tT(i);default:return e}})),t.map(Ah).join(" ")}const Ph=["log","info","warn","error","debug","assert"];function iT(t,e){const n=Object.assign({consoleMethods:Ph,consoleThrottling:30},e);if(!Array.isArray(n.consoleMethods)||n.consoleMethods.length===0)return;const i=t.safe((l,u)=>t.send(Vk(l,nT(u))));let s=0;const r=()=>{s=0};t.attachStartCallback(r),t.ticker.attach(r,33,!1);const o=(l,u)=>{const c={apply:function(f,h,d){Reflect.apply(f,u,d),s=s+1,!(s>n.consoleThrottling)&&i(f.name,d)}};n.consoleMethods.forEach(f=>{if(Ph.indexOf(f)===-1){t.debug.error(`OpenReplay: unsupported console method "${f}"`);return}const h=u.console[f];l[f]=new Proxy(h,c)})},a=t.safe(l=>o(l.console,l));a(window),t.observer.attachContextCallback(a)}var pm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hR(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function dR(t){var e=t.default;if(typeof e=="function"){var n=function(){return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(i){var s=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(n,i,s.get?s:{enumerable:!0,get:function(){return t[i]}})}),n}var gm={exports:{}},tl={exports:{}},Fh;function sT(){return Fh||(Fh=1,function(t,e){(function(n,i){t.exports=i()})(pm,function(){function n(g){return!isNaN(parseFloat(g))&&isFinite(g)}function i(g){return g.charAt(0).toUpperCase()+g.substring(1)}function s(g){return function(){return this[g]}}var r=["isConstructor","isEval","isNative","isToplevel"],o=["columnNumber","lineNumber"],a=["fileName","functionName","source"],l=["args"],u=["evalOrigin"],c=r.concat(o,a,l,u);function f(g){if(!!g)for(var w=0;w-1&&(c=c.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var f=c.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),h=f.match(/ (\(.+\)$)/);f=h?f.replace(h[0],""):f;var d=this.extractLocation(h?h[1]:f),p=h&&f||void 0,g=["eval",""].indexOf(d[0])>-1?void 0:d[0];return new i({functionName:p,fileName:g,lineNumber:d[1],columnNumber:d[2],source:c})},this)},parseFFOrSafari:function(l){var u=l.stack.split(` +`).filter(function(c){return!c.match(o)},this);return u.map(function(c){if(c.indexOf(" > eval")>-1&&(c=c.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),c.indexOf("@")===-1&&c.indexOf(":")===-1)return new i({functionName:c});var f=/((.*".+"[^@]*)?[^@]*)(?:@)/,h=c.match(f),d=h&&h[1]?h[1]:void 0,p=this.extractLocation(c.replace(f,""));return new i({functionName:d,fileName:p[0],lineNumber:p[1],columnNumber:p[2],source:c})},this)},parseOpera:function(l){return!l.stacktrace||l.message.indexOf(` +`)>-1&&l.message.split(` +`).length>l.stacktrace.split(` +`).length?this.parseOpera9(l):l.stack?this.parseOpera11(l):this.parseOpera10(l)},parseOpera9:function(l){for(var u=/Line (\d+).*script (?:in )?(\S+)/i,c=l.message.split(` +`),f=[],h=2,d=c.length;h/,"$2").replace(/\([^)]*\)/g,"")||void 0,g;d.match(/\(([^)]*)\)/)&&(g=d.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var w=g===void 0||g==="[arguments not available]"?void 0:g.split(",");return new i({functionName:p,args:w,fileName:h[0],lineNumber:h[1],columnNumber:h[2],source:c})},this)}}})})(gm);const rT=gm.exports;function Mh(t){return[{columnNumber:t.colno,lineNumber:t.lineno,fileName:t.filename,functionName:"",source:""}]}function Uo(t,e,n={}){let i=e;try{i=rT.parse(t)}catch{}return Kl(t.name,t.message,JSON.stringify(i),JSON.stringify(n))}function mm(t,e=window,n={}){if(t instanceof ErrorEvent){if(t.error instanceof Error)return Uo(t.error,Mh(t),n);{let[i,s]=t.message.split(":");return s||(i="Error",s=t.message),Kl(i,s,JSON.stringify(Mh(t)),JSON.stringify(n))}}else if("PromiseRejectionEvent"in e&&t instanceof e.PromiseRejectionEvent){if(t.reason instanceof Error)return Uo(t.reason,[],n);{let i;try{i=JSON.stringify(t.reason)}catch{i=String(t.reason)}return Kl("Unhandled Promise Rejection",i,"[]",JSON.stringify(n))}}return null}function oT(t,e){const n=Object.assign({captureExceptions:!0},e);function i(s){function r(o){const a=mm(o,s);a!=null&&t.send(a)}t.attachEventListener(s,"unhandledrejection",r),t.attachEventListener(s,"error",r)}n.captureExceptions&&(t.observer.attachContextCallback(i),i(window))}function Dh(t,e=document.location){return t=t.trim(),t.startsWith("//")||t.startsWith("http://")||t.startsWith("https://")||t.startsWith("data:")?t:t.startsWith("/")?e.origin+t:e.origin+e.pathname+t}function aT(t){return Tk&&(t.startsWith("data:image/svg+xml")||t.match(/.svg$|/i))}const lT="https://static.openreplay.com/tracker/placeholder.jpeg";function cT(t){function e(a,l){t.attributeSender.sendSetAttribute(a,"src",lT);const{width:u,height:c}=l.getBoundingClientRect();l.hasAttribute("width")||t.attributeSender.sendSetAttribute(a,"width",String(u)),l.hasAttribute("height")||t.attributeSender.sendSetAttribute(a,"height",String(c))}const n=function(a,l){const{srcset:u}=l;if(!u)return;const c=u.split(u.match(/,\s+/)?/,\s+/:",").map(f=>Dh(f)).join(", ");t.attributeSender.sendSetAttribute(a,"srcset",c)},i=function(a,l){l.src.length>Ik&&e(a,l),t.send(zl(a,"src",l.src,t.getBaseHref()))},s=t.safe(function(a){const l=Dh(a.src||"");im(l)&&t.send(cm(t.timestamp(),0,0,0,0,0,l,"img",0,!1))}),r=t.safe(function(a){const l=t.nodes.getID(a);l!==void 0&&(!a.complete||(a.naturalHeight===0&&a.naturalWidth===0&&!aT(a.src)?s(a):t.sanitizer.isHidden(l)||t.sanitizer.isObscured(l)?e(l,a):(i(l,a),n(l,a))))}),o=sm(t.safe(a=>{for(const l of a)if(l.type==="attributes"){const u=l.target,c=t.nodes.getID(u);if(c===void 0)return;l.attributeName==="src"&&i(c,u),l.attributeName==="srcset"&&n(c,u)}}));t.attachStopCallback(()=>{o.disconnect()}),t.nodes.attachNodeCallback(a=>{!Je(a,"img")||(t.nodes.attachNodeListener(a,"error",()=>s(a)),t.nodes.attachNodeListener(a,"load",()=>r(a)),r(a),o.observe(a,{attributes:!0,attributeFilter:["src","srcset"]}))})}const uT=["text","password","email","search","number","range","date","tel","time"];function fT(t){return Je(t,"textarea")?!0:Je(t,"input")?uT.includes(t.type):!1}function hT(t){if(!Je(t,"input"))return!1;const e=t.type;return e==="checkbox"||e==="radio"}const dT=dn&&"labels"in HTMLInputElement.prototype?t=>{let e=t;for(;(e=e.parentNode)!==null;)if(Je(e,"label"))return e;const n=t.labels;if(n!==null&&n.length===1)return n[0]}:t=>{let e=t;for(;(e=e.parentNode)!==null;)if(Je(e,"label"))return e;const n=t.id;if(n){const i=t.ownerDocument.querySelectorAll('label[for="'+n+'"]');if(i!==null&&i.length===1)return i[0]}};function vm(t){let e=fu(t);if(e===null){const n=dT(t);e=n&&n.innerText||t.placeholder||t.name||t.id||t.className||t.type}return nm(e).slice(0,100)}const Oi={Plain:0,Obscured:1,Hidden:2};function pT(t,e){const n=Object.assign({obscureInputNumbers:!0,obscureInputEmails:!0,defaultInputMode:Oi.Obscured,obscureInputDates:!1},e);function i(c,f){let h=f.value,d=n.defaultInputMode;f.type==="password"||t.sanitizer.isHidden(c)?d=Oi.Hidden:(t.sanitizer.isObscured(c)||d===Oi.Plain&&(n.obscureInputNumbers&&f.type!=="date"&&/\d\d\d\d/.test(h)||n.obscureInputDates&&f.type==="date"||n.obscureInputEmails&&(f.type==="email"||!!~h.indexOf("@"))))&&(d=Oi.Obscured);let p=0;switch(d){case Oi.Hidden:p=-1,h="";break;case Oi.Obscured:p=h.length,h="";break}return{value:h,mask:p}}function s(c,f){const{value:h,mask:d}=i(c,f);t.send(Uk(c,h,d))}const r=new Map,o=new Map;t.attachStopCallback(()=>{r.clear(),o.clear()});function a(c,f){r.get(c)!==f.value&&(r.set(c,f.value),s(c,f))}function l(c,f){o.get(c)!==f&&(o.set(c,f),t.send(qk(c,f)))}t.ticker.attach(()=>{r.forEach((c,f)=>{const h=t.nodes.getNode(f);if(!h)return r.delete(f);a(f,h)}),o.forEach((c,f)=>{const h=t.nodes.getNode(f);if(!h)return o.delete(f);l(f,h.checked)})},3);function u(c,f,h,d){const{value:p,mask:g}=i(c,f),w=vm(f);t.send(oE(c,p,g!==0,w,h,d))}t.nodes.attachNodeCallback(t.safe(c=>{const f=t.nodes.getID(c);if(f!==void 0){if(Je(c,"select")&&(s(f,c),t.nodes.attachNodeListener(c,"change",()=>s(f,c))),fT(c)){a(f,c);let h=0,d=0,p=0;const g=()=>{h=Kt()},w=()=>{d===0&&h!==0&&(d=Kt()-h)},_=()=>{h!==0&&(p=Kt()-h),u(f,c,d,p),d=0,p=0,h=0};t.nodes.attachNodeListener(c,"focus",g),t.nodes.attachNodeListener(c,"input",w),t.nodes.attachNodeListener(c,"change",_);return}if(hT(c)){l(f,c.checked),t.nodes.attachNodeListener(c,"change",()=>l(f,c.checked));return}}}))}let jt,pu,ym;function gT(t,e){if(ym=new Date,t.nodeType!==Node.ELEMENT_NODE)throw new Error("Can't generate CSS selector for non-element node type.");if(t.tagName.toLowerCase()==="html")return"html";const n={root:document.body,idName:s=>!0,className:s=>!0,tagName:s=>!0,attr:(s,r)=>!1,seedMinLength:1,optimizedMinLength:2,threshold:1e3,maxNumberOfTries:1e4,timeoutMs:void 0};jt={...n,...e},pu=mT(jt.root,n);let i=Vr(t,"all",()=>Vr(t,"two",()=>Vr(t,"one",()=>Vr(t,"none"))));if(i){const s=wm(Sm(i,t));return s.length>0&&(i=s[0]),Oa(i)}else throw new Error("Selector was not found.")}function mT(t,e){return t.nodeType===Node.DOCUMENT_NODE?t:t===e.root?t.ownerDocument:t}function Vr(t,e,n){let i=null,s=[],r=t,o=0;for(;r;){const a=new Date().getTime()-ym.getTime();if(jt.timeoutMs!==void 0&&a>jt.timeoutMs)throw new Error(`Timeout: Can't find a unique selector after ${a}ms`);let l=Kr(vT(r))||Kr(...yT(r))||Kr(..._T(r))||Kr(bT(r))||[Hh()];const u=wT(r);if(e=="all")u&&(l=l.concat(l.filter(nl).map(c=>Wr(c,u))));else if(e=="two")l=l.slice(0,1),u&&(l=l.concat(l.filter(nl).map(c=>Wr(c,u))));else if(e=="one"){const[c]=l=l.slice(0,1);u&&nl(c)&&(l=[Wr(c,u)])}else e=="none"&&(l=[Hh()],u&&(l=[Wr(l[0],u)]));for(let c of l)c.level=o;if(s.push(l),s.length>=jt.seedMinLength&&(i=Lh(s,n),i))break;r=r.parentElement,o++}return i||(i=Lh(s,n)),!i&&n?n():i}function Lh(t,e){const n=wm(bm(t));if(n.length>jt.threshold)return e?e():null;for(let i of n)if(_m(i))return i;return null}function Oa(t){let e=t[0],n=e.name;for(let i=1;i ${n}`:n=`${t[i].name} ${n}`,e=t[i]}return n}function $h(t){return t.map(e=>e.penalty).reduce((e,n)=>e+n,0)}function _m(t){const e=Oa(t);switch(pu.querySelectorAll(e).length){case 0:throw new Error(`Can't select any node with this selector: ${e}`);case 1:return!0;default:return!1}}function vT(t){const e=t.getAttribute("id");return e&&jt.idName(e)?{name:"#"+CSS.escape(e),penalty:0}:null}function yT(t){return Array.from(t.attributes).filter(n=>jt.attr(n.name,n.value)).map(n=>({name:`[${CSS.escape(n.name)}="${CSS.escape(n.value)}"]`,penalty:.5}))}function _T(t){return Array.from(t.classList).filter(jt.className).map(n=>({name:"."+CSS.escape(n),penalty:1}))}function bT(t){const e=t.tagName.toLowerCase();return jt.tagName(e)?{name:e,penalty:2}:null}function Hh(){return{name:"*",penalty:3}}function wT(t){const e=t.parentNode;if(!e)return null;let n=e.firstChild;if(!n)return null;let i=0;for(;n&&(n.nodeType===Node.ELEMENT_NODE&&i++,n!==t);)n=n.nextSibling;return i}function Wr(t,e){return{name:t.name+`:nth-child(${e})`,penalty:t.penalty+1}}function nl(t){return t.name!=="html"&&!t.name.startsWith("#")}function Kr(...t){const e=t.filter(ST);return e.length>0?e:null}function ST(t){return t!=null}function*bm(t,e=[]){if(t.length>0)for(let n of t[0])yield*bm(t.slice(1,t.length),e.concat(n));else yield e}function wm(t){return[...t].sort((e,n)=>$h(e)-$h(n))}function*Sm(t,e,n={counter:0,visited:new Map}){if(t.length>2&&t.length>jt.optimizedMinLength)for(let i=1;ijt.maxNumberOfTries)return;n.counter+=1;const s=[...t];s.splice(i,1);const r=Oa(s);if(n.visited.has(r))return;_m(s)&&kT(s,e)&&(yield s,n.visited.set(r,!0),yield*Sm(s,e,n))}}function kT(t,e){return pu.querySelector(Oa(t))===e}function ET(t,e,n){return gT(t,{root:e.body,seedMinLength:3,optimizedMinLength:(n==null?void 0:n.minSelectorDepth)||2,threshold:(n==null?void 0:n.nthThreshold)||1e3,maxNumberOfTries:(n==null?void 0:n.maxOptimiseTries)||1e4})}function tc(t){const e=t.tagName.toUpperCase();return e==="BUTTON"||e==="A"||e==="LI"||e==="SELECT"||e==="TR"||e==="TH"||t.onclick!=null||t.getAttribute("role")==="button"}function jh(t,e){return t instanceof Element?TT(t,e):null}function TT(t,e){let n=t;for(;n!==null&&n!==e.documentElement;){if(di(n,"masked"))return null;n=n.parentElement}if(Jl(t)){let i=t.ownerSVGElement;for(;i!==null;)t=i,i=i.ownerSVGElement}for(n=t;n!==null&&n!==e.documentElement;){const i=n.tagName.toUpperCase();if(i==="LABEL")return null;if(i==="INPUT"||tc(n)||fu(n)!==null)return n;n=n.parentElement}return t===e.documentElement?null:t}function IT(t,e){const{disableClickmaps:n=!1}=e||{};function i(b){const E=fu(b);if(E!==null)return E;if(Je(b,"input"))return vm(b);if(tc(b)){let T="";return b instanceof HTMLElement&&(T=t.sanitizer.getInnerTextSecure(b)),T=T||b.id||b.className,nm(T).slice(0,100)}return""}let s=-1,r=-1,o=!1,a=null,l=0,u={},c=0,f=0,h=0,d=0,p;const g=.008,w=225;function _(){const b=d/w;if(!c){c=b;return}const E=(b-c)/w;h>4&&E>g&&t.send(aE(Kt())),d=0,h=0,c=b}t.attachStartCallback(()=>{p=setInterval(()=>_(),w)}),t.attachStopCallback(()=>{s=-1,r=-1,o=!1,a=null,u={},p&&clearInterval(p)});const m=()=>{o&&(t.send(zk(s,r)),o=!1)},y=(b,E=!1)=>{function T(k,I,N){return u[k]=u[k]||ET(I,b,N)}const x=E?t.attachEventListener.bind(t):t.nodes.attachNodeListener.bind(t.nodes);x(b.documentElement,"mouseover",k=>{const I=jh(k.target,b);I!==a&&(a=I,l=performance.now())}),x(b,"mousemove",k=>{const[I,N]=t.observer.getDocumentOffset(b);s=k.clientX+I,r=k.clientY+N,o=!0;const j=Math.sign(k.movementX);d+=Math.abs(k.movementX)+Math.abs(k.movementY),j!==f&&(f=j,h++)},!1),x(b,"click",k=>{const I=jh(k.target,b);if(!k.clientX&&!k.clientY||I===null)return;const N=t.nodes.getID(I);if(N!==void 0){const j=k.pageX,F=k.pageY,z=b.documentElement.scrollWidth,M=b.documentElement.scrollHeight,J=Bh(j/z),H=Bh(F/M);m(),t.send(iE(N,a===I?Math.round(performance.now()-l):0,i(I),tc(I)&&!n?T(N,I,e):"",J,H),!0)}a=null})};t.nodes.attachNodeCallback(b=>{jo(b)&&y(b)}),y(document,!0),t.ticker.attach(m,(e==null?void 0:e.trackingOffset)||7)}function Bh(t){return Math.round(t*1e3)/10}function xT(t){const e=[],n=document.getElementsByTagName("*"),i=/url\(("[^"]*"|'[^']*'|[^)]*)\)/i;for(let s=0;st?r:t)}return n===0?0:i/n}function RT(t,e){const n=Object.assign({captureResourceTimings:!0,capturePageLoadTimings:!0,capturePageRenderTimings:!0,excludedResourceUrls:[]},e);if("PerformanceObserver"in window||(n.captureResourceTimings=!1),!n.captureResourceTimings)return;let i={};function s(u){var f;if(u.duration<0||!im(u.name)||t.isServiceURL(u.name))return;i!==null&&(i[u.name]=u.startTime+u.duration);let c=!1;(f=n.excludedResourceUrls)==null||f.forEach(h=>{if(u.name.startsWith(h)){c=!0;return}}),!c&&t.send(cm(u.startTime+gs(),u.duration,u.responseStart&&u.startTime?u.responseStart-u.startTime:0,u.transferSize>u.encodedBodySize?u.transferSize-u.encodedBodySize:0,u.encodedBodySize||0,u.decodedBodySize||0,u.name,u.initiatorType,u.transferSize,u.responseStatus&&u.responseStatus===304||u.transferSize===0))}const r=new PerformanceObserver(u=>u.getEntries().forEach(s));let o;t.attachStartCallback(function({sessionID:u}){u!==o&&(performance.getEntriesByType("resource").forEach(s),o=u),r.observe({entryTypes:["resource"]})}),t.attachStopCallback(function(){r.disconnect()});let a=0,l=0;if(n.capturePageLoadTimings){let u=!1;t.ticker.attach(()=>{if(!u&&((a===0||l===0)&&performance.getEntriesByType("paint").forEach(c=>{const{name:f,startTime:h}=c;switch(f){case"first-paint":a=h;break;case"first-contentful-paint":l=h;break}}),performance.timing.loadEventEnd||performance.now()>3e4)){u=!0;const{navigationStart:c,requestStart:f,responseStart:h,responseEnd:d,domContentLoadedEventStart:p,domContentLoadedEventEnd:g,loadEventStart:w,loadEventEnd:_}=performance.timing;t.send(Wk(f-c||0,h-c||0,d-c||0,p-c||0,g-c||0,w-c||0,_-c||0,a,l))}},30)}if(n.capturePageRenderTimings){let u=0,c=0,f=0,h=null,d=!1;t.ticker.attach(()=>{if(d)return;const p=performance.now();if(i!==null&&(u=Math.max.apply(null,Object.keys(i).map(g=>i[g])),p-u>1e3&&(h=xT(i),i=null)),f!==null&&(p-f>50&&(c=p),f=p-c>5e3?null:p),h!==null&&f===null||p>3e4){d=!0,i=null;const g=h===null?0:CT(l||a,h),{domContentLoadedEventEnd:w,navigationStart:_}=performance.timing,m=f===null?Math.max(c,l,w-_||0):0;t.send(Kk(g,l>u?l:u,m))}})}}function il(t){const e=t.defaultView;return[e&&e.scrollX||t.documentElement&&t.documentElement.scrollLeft||t.body&&t.body.scrollLeft||0,e&&e.scrollY||t.documentElement&&t.documentElement.scrollTop||t.body&&t.body.scrollTop||0]}function OT(t,e){let n=!1;const i=new Map;function s(a){!fm(a)||(En(a)&&i.set(a,[a.scrollLeft,a.scrollTop]),jo(a)&&i.set(a,il(a)))}const r=t.safe(()=>{e||t.send(Fk(...il(document)))}),o=t.safe((a,l)=>{const u=t.nodes.getID(l);u!==void 0&&t.send(Bk(u,a[0],a[1]))});t.attachStartCallback(r),t.attachStopCallback(()=>{n=!1,i.clear()}),t.nodes.attachNodeCallback((a,l)=>{l&&(En(a)&&a.scrollLeft+a.scrollTop>0?i.set(a,[a.scrollLeft,a.scrollTop]):jo(a)&&i.set(a,il(a))),Ra(a)&&t.nodes.attachNodeListener(a,"scroll",u=>{s(u.target)})}),t.attachEventListener(document,"scroll",a=>{const l=a.target;if(l===document){n=!0;return}s(l)}),t.ticker.attach(()=>{n&&(r(),n=!1),i.forEach(o),i.clear()},5,!1)}function NT(t){let e,n,i,s,r=document.referrer;const o=t.safe(()=>{const{URL:u}=document;u!==e&&(e=u,t.send(fE(e,r,s,document.title)),s=0,r=e)}),a=t.safe(()=>{const{innerWidth:u,innerHeight:c}=window;(u!==n||c!==i)&&(n=u,i=c,t.send(Pk(n,i)))}),l=document.hidden===void 0?Function.prototype:t.safe(()=>t.send(Zk(document.hidden)));t.attachStartCallback(()=>{e=null,s=gs(),n=i=-1,o(),a(),l()}),document.hidden!==void 0&&t.attachEventListener(document,"visibilitychange",l,!1,!1),t.ticker.attach(o,1,!1),t.ticker.attach(a,5,!1)}function Uh(t){return Ra(t)&&!!t.adoptedStyleSheets}let AT=15;function km(){return AT++}const Xr=new Map;function PT(t){if(t===null||!Uh(document))return;const e=new Map,n=new Map,i=o=>setTimeout(()=>{let a=t.nodes.getID(o);if(o===document&&(a=0),a===void 0)return;let l=n.get(a);l||(l=[]);const u=[],c=o.adoptedStyleSheets;if(c&&Symbol.iterator in c)for(const f of c){let h=e.get(f);const d=!h;if(h||(h=km(),e.set(f,h)),l.includes(h)||t.send(lm(h,a)),d){const p=f.cssRules;for(let g=0;g{if(o.__openreplay_adpss_patched__)return;o.__openreplay_adpss_patched__=!0,s(o.Document.prototype),s(o.ShadowRoot.prototype);const{replace:a,replaceSync:l}=o.CSSStyleSheet.prototype;o.CSSStyleSheet.prototype.replace=function(u){return a.call(this,u).then(c=>{const f=e.get(this);return f&&t.send(vh(f,u,t.getBaseHref())),c})},o.CSSStyleSheet.prototype.replaceSync=function(u){const c=e.get(this);return c&&t.send(vh(c,u,t.getBaseHref())),l.call(this,u)}};r(window),t.observer.attachContextCallback(t.safe(r)),t.attachStopCallback(()=>{e.clear(),n.clear()}),t.attachStartCallback(()=>{i(document)}),t.nodes.attachNodeCallback(o=>{Uh(o)&&i(o)})}function FT(t){if(t===null)return;if(!window.CSSStyleSheet){t.send(tE("no_stylesheet_prototype_in_window",""));return}const e=t.safe((s,r,o)=>{const a=Xr.get(s);!a||(typeof o=="string"?t.send(Wl(a,o,r,t.getBaseHref())):t.send(yh(a,r)))}),n=t.safe(s=>{let r=s;for(;r.parentRule;)r=r.parentRule;const o=r.parentStyleSheet;if(!o){t.debug.warn("No parent StyleSheet found for",r,s);return}const a=Xr.get(o);if(!a){t.debug.warn("No sheedID found for",o,Xr);return}const l=r.cssText,u=o.cssRules,c=Array.from(u).indexOf(r);c>=0?(t.send(Wl(a,l,c,t.getBaseHref())),t.send(yh(a,c+1))):t.debug.warn("Rule index not found in",o,r)}),i=t.safe(s=>{const{insertRule:r,deleteRule:o}=s.CSSStyleSheet.prototype,{insertRule:a,deleteRule:l}=s.CSSGroupingRule.prototype;s.CSSStyleSheet.prototype.insertRule=function(u,c=0){return e(this,c,u),r.call(this,u,c)},s.CSSStyleSheet.prototype.deleteRule=function(u){return e(this,u),o.call(this,u)},s.CSSGroupingRule.prototype.insertRule=function(u,c=0){const f=a.call(this,u,c);return n(this),f},s.CSSGroupingRule.prototype.deleteRule=function(u=0){const c=l.call(this,u);return n(this),c}});i(window),t.observer.attachContextCallback(i),t.nodes.attachNodeCallback(s=>{if(!Je(s,"style")||!s.sheet||s.textContent!==null&&s.textContent.trim().length>0)return;const r=t.nodes.getID(s);if(!r)return;const o=s.sheet,a=km();Xr.set(o,a),t.send(lm(a,r));const l=o.cssRules;for(let u=0;u{!Je(i,"body")||(t.nodes.attachNodeListener(i,"focus",s=>{!fm(s.target)||(e(s.target),n=!1)}),t.nodes.attachNodeListener(i,"blur",s=>{s.relatedTarget===null&&(n=!0,setTimeout(()=>{n&&t.send(mh(-1))},0))}))}),t.attachStartCallback(()=>{let i=document.activeElement;for(;i&&Je(i,"iframe")&&i.contentDocument;)i=i.contentDocument.activeElement;i&&i!==i.ownerDocument.body&&e(i)},!0)}function DT(t){if(!window.FontFace)return;const e=new Map,n=i=>{class s extends i.FontFace{constructor(...o){if(typeof o[1]=="string"){let a="";o[2]&&t.safe(()=>{a=JSON.stringify(o[2])});const l=[o[0],o[1],a],u=e.get(i.document)||[];u.push(l),e.set(i.document,u);const c=i===window?0:t.nodes.getID(i.document);if(c===void 0)return;t.active()&&t.send(gh(c,...l))}super(...o)}}i.FontFace=s};t.observer.attachContextCallback(n),n(window),t.nodes.attachNodeCallback(t.safe(i=>{if(!jo(i))return;const s=e.get(i);if(!s)return;const r=i.defaultView===window?0:t.nodes.getID(i);r!==void 0&&s.forEach(o=>{t.send(gh(r,...o))})}))}function LT(t,e,n,i,s){t.debug.log("Openreplay: attaching axios spy to instance",e);function r(h){t.debug.log("Openreplay: capturing axios response data",h);const{headers:d,data:p,method:g,url:w,baseURL:_}=h.config,{data:m,headers:y,status:b,response:E}=h,{data:T,headers:x,status:k}=E||{},I=n.ignoreHeaders,N=Array.isArray(I)?K=>I.includes(K):()=>I;function j(K,ce){N(ce[0])||(K[ce[0]]=ce[1])}let F={},z={};d.toJSON?F=d.toJSON():d instanceof Headers?d.forEach((K,ce)=>j(F,[ce,K])):Array.isArray(d)?d.forEach(K=>j(F,K)):typeof d=="object"&&Object.entries(d).forEach(K=>j(F,K));const M=x||y;M.toJSON?z=M.toJSON():M instanceof Headers?M.forEach((K,ce)=>j(z,[ce,K])):Array.isArray(M)?M.forEach(K=>j(z,K)):typeof M=="object"&&Object.entries(M).forEach(([K,ce])=>{N(K)||(z[K]=ce)});const J=i({url:w,method:g||"",status:b||k||0,request:{headers:F,body:p},response:{headers:z,body:T||m}});if(!J){t.debug.log("Openreplay: empty request/response info, skipping");return}const H=h.config.__openreplay_timing,Y=performance.now()-H;t.debug.log("Openreplay: final req object",J),t.send(Ho("xhr",String(g),String(J.url),s(J.request),s(J.response),J.status,H+gs(),Y,0))}function o(h){if(t.debug.log("Openreplay: capturing API request",h),h.__openreplay_timing=performance.now(),n.sessionTokenHeader){const d=typeof n.sessionTokenHeader=="string"?n.sessionTokenHeader:"X-OpenReplay-Session-Token",p=t.getSessionToken();p&&h.headers.set(d,p)}return h}function a(h){return n.failuresOnly||r(h),h}function l(h){return t.debug.log("Openreplay: capturing API request error",h),$T(h)&&Boolean(h.response)?r(h.response):h instanceof Error&&t.send(Uo(h,[])),Promise.reject(h)}function u(h){t.debug.log("Openreplay: failed API request, skipping",h)}const c=e.interceptors.request.use(o,u,{synchronous:!0}),f=e.interceptors.response.use(a,l,{synchronous:!0});t.attachStopCallback(()=>{var h,d,p,g;(d=(h=e.interceptors.request).eject)==null||d.call(h,c),(g=(p=e.interceptors.response).eject)==null||g.call(p,f)})}function $T(t){return HT(t)&&t.isAxiosError===!0}function HT(t){return t!==null&&typeof t=="object"}var an;(function(t){t[t.UNSENT=0]="UNSENT",t[t.OPENED=1]="OPENED",t[t.HEADERS_RECEIVED=2]="HEADERS_RECEIVED",t[t.LOADING=3]="LOADING",t[t.DONE=4]="DONE"})(an||(an={}));class gu{constructor(e=[],n,i){this.ignoredHeaders=e,this.setSessionTokenHeader=n,this.sanitize=i,this.id="",this.name="",this.method="",this.url="",this.status=0,this.statusText="",this.cancelState=0,this.readyState=0,this.header={},this.responseType="",this.requestHeader={},this.responseSize=0,this.responseSizeText="",this.startTime=0,this.endTime=0,this.duration=0,this.getData={},this.requestData=null}getMessage(){const{reqHs:e,resHs:n}=this.writeHeaders(),i={headers:e,body:this.method==="GET"?JSON.stringify(this.getData):this.requestData},s={headers:n,body:this.response},r=this.sanitize({url:this.url,method:this.method,status:this.status,request:i,response:s});if(!!r)return Ho(this.requestType,r.method,r.url,JSON.stringify(r.request),JSON.stringify(r.response),r.status,this.startTime+gs(),this.duration,this.responseSize)}writeHeaders(){const e={};Object.entries(this.requestHeader).forEach(([i,s])=>{this.isHeaderIgnored(i)||(e[i]=s)}),this.setSessionTokenHeader((i,s)=>{e[i]=s});const n={};return Object.entries(this.header).forEach(([i,s])=>{this.isHeaderIgnored(i)||(n[i]=s)}),{reqHs:e,resHs:n}}isHeaderIgnored(e){return Array.isArray(this.ignoredHeaders)?this.ignoredHeaders.map(n=>n.toLowerCase()).includes(e.toLowerCase()):this.ignoredHeaders}}const Js=(t,e)=>{let n="";switch(t){case"":case"text":case"json":typeof e=="string"?n=e:vu(e)||Array.isArray(e)?n=JSON.stringify(e):typeof e<"u"&&(n=Object.prototype.toString.call(e));break;case"blob":case"document":case"arraybuffer":default:typeof e<"u"&&(n=Object.prototype.toString.call(e));break}return n},mu=t=>{if(!t)return null;let e;if(typeof t=="string"){(t[0]==="{"||t[0]==="[")&&(e=t);const n=t.split("&");n.length===1?e=t:e=n.join(",")}else if(BT(t)){const n=[];for(const[i,s]of t)n.push(`${i}=${typeof s=="string"?s:"[object Object]"}`);e=n.join(",")}else t instanceof Blob||t instanceof ReadableStream||t instanceof ArrayBuffer?e="byte data":vu(t)?e=t:e=`can't parse body ${typeof t}`;return e},jT=(t,e={})=>{vu(e)||(e={});let n=t?t.split("?"):[];if(n.shift(),n.length>0){n=n.join("?").split("&");for(const i of n){const s=i.split("=");try{e[s[0]]=decodeURIComponent(s[1])}catch{e[s[0]]=s[1]}}}return e};function vu(t){return t!==null&&typeof t=="object"}function BT(t){return t==null||ArrayBuffer.isView(t)?!1:typeof Symbol<"u"&&typeof t[Symbol.iterator]=="function"}function qo(t){return t<=0?"":t>=1e3*1e3?(t/1e3/1e3).toFixed(1)+" MB":t>=1e3?(t/1e3).toFixed(1)+" KB":`${t}B`}const nc=t=>(t.startsWith("//")&&(t=`${new URL(window.location.href).protocol}${t}`),t.startsWith("http")?new URL(t):new URL(t,window.location.href));class UT{constructor(e,n){this.resp=e,this.item=n,this.mockReader()}set(e,n,i){return Reflect.set(e,n,i)}get(e,n){const i=Reflect.get(e,n);switch(n){case"arrayBuffer":case"blob":case"formData":case"json":case"text":return()=>(this.item.responseType=n.toLowerCase(),i.apply(e).then(s=>(this.item.response=Js(this.item.responseType,s),s)))}return typeof i=="function"?i.bind(e):i}mockReader(){let e;if(!this.resp.body||typeof this.resp.body.getReader!="function")return;const n=this.resp.body.getReader;this.resp.body.getReader=()=>{const i=n.apply(this.resp.body);if(this.item.readyState===an.DONE)return i;const s=i.read,r=i.cancel;return this.item.responseType="arraybuffer",i.read=()=>s.apply(i).then(o=>{if(!e)e=new Uint8Array(o.value);else{const a=new Uint8Array(e.length+o.value.length);a.set(e),a.set(o.value,e.length),e=a}return this.item.endTime=performance.now(),this.item.duration=this.item.endTime-(this.item.startTime||this.item.endTime),this.item.readyState=o.done?4:3,this.item.statusText=o.done?String(this.item.status):"Loading",this.item.responseSize=e.length,this.item.responseSizeText=qo(this.item.responseSize),o.done&&(this.item.response=Js(this.item.responseType,e)),o}),i.cancel=(...o)=>(this.item.cancelState=2,this.item.statusText="Cancel",this.item.endTime=performance.now(),this.item.duration=this.item.endTime-(this.item.startTime||this.item.endTime),this.item.response=Js(this.item.responseType,e),r.apply(i,o)),i}}}class qT{constructor(e,n,i,s,r,o){this.ignoredHeaders=e,this.setSessionTokenHeader=n,this.sanitize=i,this.sendMessage=s,this.isServiceUrl=r,this.tokenUrlMatcher=o}apply(e,n,i){const s=i[0],r=i[1];if(!s||typeof s!="string"&&!(s!=null&&s.url)||(s instanceof URL||typeof s=="string"?this.isServiceUrl(String(s)):this.isServiceUrl(String(s.url))))return e.apply(window,i);const a=new gu(this.ignoredHeaders,this.setSessionTokenHeader,this.sanitize);return this.beforeFetch(a,s,r),this.setSessionTokenHeader((l,u)=>{if(!(this.tokenUrlMatcher!==void 0&&!this.tokenUrlMatcher(a.url))){if(i[1]===void 0&&i[0]instanceof Request)return i[0].headers.append(l,u);i[1]||(i[1]={}),i[1].headers===void 0&&(i[1]={...i[1],headers:{}}),i[1].headers instanceof Headers?i[1].headers.append(l,u):Array.isArray(i[1].headers)?i[1].headers.push([l,u]):i[1].headers[l]=u}}),e.apply(window,i).then(this.afterFetch(a)).catch(l=>{throw a.endTime=performance.now(),a.duration=a.endTime-(a.startTime||a.endTime),l})}beforeFetch(e,n,i){let s,r="GET",o={};if(typeof n=="string"?(r=(i==null?void 0:i.method)||"GET",s=nc(n),o=(i==null?void 0:i.headers)||{}):(r=n.method||"GET",s=nc(n.url),o=n.headers),e.method=r,e.requestType="fetch",e.requestHeader=o,e.url=s.toString(),e.name=(s.pathname.split("/").pop()||"")+s.search,e.status=0,e.statusText="Pending",e.readyState=1,e.startTime||(e.startTime=performance.now()),Object.prototype.toString.call(o)==="[object Headers]"){e.requestHeader={};for(const[a,l]of o)e.requestHeader[a]=l}else e.requestHeader=o;if(s.search&&s.searchParams){e.getData={};for(const[a,l]of s.searchParams)e.getData[a]=l}i!=null&&i.body&&(e.requestData=mu(i.body))}afterFetch(e){return n=>{e.endTime=performance.now(),e.duration=e.endTime-(e.startTime||e.endTime),e.status=n.status,e.statusText=String(n.status);let i=!1;e.header={};for(const[s,r]of n.headers)e.header[s]=r,i=r.toLowerCase().indexOf("chunked")>-1?!0:i;return i?e.readyState=3:(e.readyState=4,this.handleResponseBody(n.clone(),e).then(s=>{e.responseSize=typeof s=="string"?s.length:s.byteLength,e.responseSizeText=qo(e.responseSize),e.response=Js(e.responseType,s);const r=e.getMessage();r&&this.sendMessage(r)}).catch(s=>{if(s.name!=="AbortError")throw s})),new Proxy(n,new UT(n,e))}}handleResponseBody(e,n){const i=e.headers.get("content-type");return i&&i.includes("application/json")?(n.responseType="json",e.text()):i&&(i.includes("text/html")||i.includes("text/plain"))?(n.responseType="text",e.text()):(n.responseType="arraybuffer",e.arrayBuffer())}}class zT{static create(e,n,i,s,r,o){return new Proxy(fetch,new qT(e,n,i,s,r,o))}}class VT{constructor(e,n,i,s,r,o,a){this.ignoredHeaders=n,this.setSessionTokenHeader=i,this.sanitize=s,this.sendMessage=r,this.isServiceUrl=o,this.tokenUrlMatcher=a,this.XMLReq=e,this.XMLReq.onreadystatechange=()=>{this.onReadyStateChange()},this.XMLReq.onabort=()=>{this.onAbort()},this.XMLReq.ontimeout=()=>{this.onTimeout()},this.item=new gu(n,i,s),this.item.requestType="xhr"}get(e,n){switch(n){case"open":return this.getOpen(e);case"send":return this.setSessionTokenHeader((s,r)=>{this.tokenUrlMatcher!==void 0&&!this.tokenUrlMatcher(this.item.url)||e.setRequestHeader(s,r)}),this.getSend(e);case"setRequestHeader":return this.getSetRequestHeader(e);default:const i=Reflect.get(e,n);return typeof i=="function"?i.bind(e):i}}set(e,n,i){switch(n){case"onreadystatechange":return this.setOnReadyStateChange(e,n,i);case"onabort":return this.setOnAbort(e,n,i);case"ontimeout":return this.setOnTimeout(e,n,i)}return Reflect.set(e,n,i)}onReadyStateChange(){if(!(this.item.url&&this.isServiceUrl(this.item.url))&&(this.item.readyState=this.XMLReq.readyState,this.item.responseType=this.XMLReq.responseType,this.item.endTime=performance.now(),this.item.duration=this.item.endTime-this.item.startTime,this.updateItemByReadyState(),setTimeout(()=>{this.item.response=Js(this.item.responseType,this.item.response)},0),this.XMLReq.readyState===an.DONE)){const e=this.item.getMessage();e&&this.sendMessage(e)}}onAbort(){this.item.cancelState=1,this.item.statusText="Abort";const e=this.item.getMessage();e&&this.sendMessage(e)}onTimeout(){this.item.cancelState=3,this.item.statusText="Timeout";const e=this.item.getMessage();e&&this.sendMessage(e)}getOpen(e){const n=Reflect.get(e,"open");return(...i)=>{var o,a,l;const s=i[0],r=i[1];return this.item.method=s?s.toUpperCase():"GET",this.item.url=((o=r.toString)==null?void 0:o.call(r))||"",this.item.name=(l=(a=this.item.url)==null?void 0:a.replace(new RegExp("/*$"),"").split("/").pop())!=null?l:"",this.item.getData=jT(this.item.url,{}),n.apply(e,i)}}getSend(e){const n=Reflect.get(e,"send");return(...i)=>{const s=i[0];return this.item.requestData=mu(s),n.apply(e,i)}}getSetRequestHeader(e){const n=Reflect.get(e,"setRequestHeader");return(...i)=>(this.item.requestHeader||(this.item.requestHeader={}),this.item.requestHeader[i[0]]=i[1],n.apply(e,i))}setOnReadyStateChange(e,n,i){return Reflect.set(e,n,(...s)=>{this.onReadyStateChange(),i==null||i.apply(e,s)})}setOnAbort(e,n,i){return Reflect.set(e,n,(...s)=>{this.onAbort(),i.apply(e,s)})}setOnTimeout(e,n,i){return Reflect.set(e,n,(...s)=>{this.onTimeout(),i.apply(e,s)})}updateItemByReadyState(){switch(this.XMLReq.readyState){case an.UNSENT:case an.OPENED:this.item.status=an.UNSENT,this.item.statusText="Pending",this.item.startTime||(this.item.startTime=performance.now());break;case an.HEADERS_RECEIVED:this.item.status=this.XMLReq.status,this.item.statusText="Loading",this.item.header={};const e=this.XMLReq.getAllResponseHeaders()||"",n=e.split(` +`);for(let i=0;it instanceof Blob?t.type:t instanceof FormData?"multipart/form-data":t instanceof URLSearchParams?"application/x-www-form-urlencoded;charset=UTF-8":"text/plain;charset=UTF-8";class XT{constructor(e,n,i,s,r){this.ignoredHeaders=e,this.setSessionTokenHeader=n,this.sanitize=i,this.sendMessage=s,this.isServiceUrl=r}apply(e,n,i){const s=i[0],r=i[1],o=new gu(this.ignoredHeaders,this.setSessionTokenHeader,this.sanitize);if(this.isServiceUrl(s))return e.apply(n,i);const a=nc(s);if(o.method="POST",o.url=s,o.name=(a.pathname.split("/").pop()||"")+a.search,o.requestType="beacon",o.requestHeader={"Content-Type":KT(r)},o.status=0,o.statusText="Pending",a.search&&a.searchParams){o.getData={};for(const[c,f]of a.searchParams)o.getData[c]=f}o.requestData=mu(r),o.startTime||(o.startTime=performance.now());const l=e.apply(n,i);l?(o.endTime=performance.now(),o.duration=o.endTime-(o.startTime||o.endTime),o.status=0,o.statusText="Sent",o.readyState=4):(o.status=500,o.statusText="Unknown");const u=o.getMessage();return u&&this.sendMessage(u),l}}class ts{static hasSendBeacon(){return!!ts.origSendBeacon}static create(e,n,i,s,r){if(!!ts.hasSendBeacon())return new Proxy(ts.origSendBeacon,new XT(e,n,i,s,r))}}var sp;ts.origSendBeacon=(sp=window==null?void 0:window.navigator)==null?void 0:sp.sendBeacon;const qh=t=>console.warn(`Openreplay: Can't find ${t} in global context. +If you're using serverside rendering in your app, make sure that tracker is loaded dynamically, otherwise ${t} won't be tracked.`);function GT(t,e,n,i,s,r,o){var a;t.XMLHttpRequest?t.XMLHttpRequest=WT.create(e,n,i,s,r,o):qh("XMLHttpRequest"),t.fetch?t.fetch=zT.create(e,n,i,s,r,o):qh("fetch"),(a=t==null?void 0:t.navigator)!=null&&a.sendBeacon&&(t.navigator.sendBeacon=ts.create(e,n,i,s,r))}function sl(t){return t.__or_req_data__||(t.__or_req_data__={body:void 0,headers:{}}),t.__or_req_data__}function zh(t){return typeof t=="string"?t.toUpperCase():"GET"}function YT(t,e={}){const n=Object.assign({failuresOnly:!1,ignoreHeaders:["cookie","set-cookie","authorization"],capturePayload:!1,sessionTokenHeader:!1,captureInIframes:!0,axiosInstances:void 0,useProxy:!0},e);n.useProxy===!1&&t.debug.warn("Network module is migrating to proxy api, to gradually migrate and test it set useProxy to true");const i=n.ignoreHeaders,s=Array.isArray(i)?c=>i.includes(c):()=>i,r=n.sessionTokenHeader===!0?"X-OpenReplay-SessionToken":n.sessionTokenHeader;function o(c){if(r){const f=t.getSessionToken();f&&t.safe(c)(r,f)}}function a(c){if(n.capturePayload||(delete c.request.body,delete c.response.body),n.sanitizer){const f=c.response.body;if(typeof f=="string")try{c.response.body=JSON.parse(f)}catch{}return n.sanitizer(c)}return c}function l(c){if(c&&typeof c.body!="string")try{c.body=JSON.stringify(c.body)}catch{c.body="",t.notify.warn("Openreplay fetch couldn't stringify body:",c.body)}return JSON.stringify(c)}const u=c=>{if(n.useProxy)return GT(c,n.ignoreHeaders,o,a,y=>t.send(y),y=>t.isServiceURL(y),n.tokenUrlMatcher);const f=c.fetch.bind(c),h=(y,b={})=>{if(!(typeof y=="string"||y instanceof URL)||t.isServiceURL(String(y)))return f(y,b);o(function(T,x){b.headers===void 0&&(b.headers={}),b.headers instanceof Headers?b.headers.append(T,x):Array.isArray(b.headers)?b.headers.push([T,x]):b.headers[T]=x});const E=performance.now();return f(y,b).then(T=>{const x=performance.now()-E;if(n.failuresOnly&&T.status<400)return T;const k=T.clone();return k.text().then(I=>{const N={},j={};if(i!==!0){const M=([J,H])=>{s(J)||(N[J]=H)};b.headers instanceof Headers?b.headers.forEach((J,H)=>M([H,J])):Array.isArray(b.headers)?b.headers.forEach(M):typeof b.headers=="object"&&Object.entries(b.headers).forEach(M),k.headers.forEach((J,H)=>{s(H)||(j[H]=J)})}const F=zh(b.method),z=a({url:String(y),method:F,status:k.status,request:{headers:N,body:b.body||null},response:{headers:j,body:I}});!z||t.send(Ho("fetch",F,String(z.url),l(z.request),l(z.response),k.status,E+gs(),x,0))}).catch(I=>t.debug.error("Could not process Fetch response:",I)),T})};c.fetch=h;const d=c.XMLHttpRequest.prototype.open,p=c.XMLHttpRequest.prototype.setRequestHeader,g=c.XMLHttpRequest.prototype.send;function w(y,b){const E=this;o((x,k)=>E.setRequestHeader(x,k));let T=0;return E.addEventListener("loadstart",x=>{T=x.timeStamp}),E.addEventListener("load",t.safe(x=>{const{headers:k,body:I}=sl(E),N=T>0?x.timeStamp-T:0,F=(E.getAllResponseHeaders()||"").trim().split(/[\r\n]+/),z={};F.forEach(function(H){const Y=H.split(": "),K=Y.shift();s(K)||(z[K]=Y.join(": "))});const M=zh(y),J=a({url:String(b),method:M,status:E.status,request:{headers:k,body:I||null},response:{headers:z,body:E.response}});!J||t.send(Ho("xhr",M,String(J.url),l(J.request),l(J.response),E.status,T+gs(),N,0))})),d.apply(this,arguments)}function _(y){const b=sl(this);return b.body=y,g.apply(this,arguments)}function m(y,b){if(!s(y)){const E=sl(this);E.headers[y]=b}return p.apply(this,arguments)}n.axiosInstances||(c.XMLHttpRequest.prototype.open=w,c.XMLHttpRequest.prototype.send=_,c.XMLHttpRequest.prototype.setRequestHeader=m)};u(window),n.axiosInstances&&n.axiosInstances.forEach(c=>{LT(t,c,n,a,l)}),n.captureInIframes&&t.observer.attachContextCallback(t.safe(u))}function JT(t){t.attachEventListener(document,"selectionchange",()=>{const e=document.getSelection();if(e!==null&&!e.isCollapsed){const n=t.nodes.getID(e.anchorNode),i=t.nodes.getID(e.focusNode),s=e.toString().replace(/\s+/g," ");n&&i&&t.send(_h(n,i,s))}else t.send(_h(-1,-1,""))})}function QT(t){function e(){document.hidden||(t.debug.log("Openreplay: tab change to"+t.session.getTabId()),t.send(po(t.session.getTabId())))}t.attachEventListener(window,"focus",e,!1,!1)}const mo="/installation/javascript-sdk";function ZT(t){if(t==null)return console.error(`OpenReplay: invalid options argument type. Please, check documentation on ${$o}${mo}`),!1;if(typeof t.projectKey!="string")if(typeof t.projectKey!="number"){if(typeof t.projectID!="number")return console.error(`OpenReplay: projectKey is missing or wrong type (string is expected). Please, check ${$o}${mo} for more information.`),!1;t.projectKey=t.projectID.toString(),Un("`projectID` option","`projectKey` option",mo)}else console.warn("OpenReplay: projectKey is expected to have a string type."),t.projectKey=t.projectKey.toString();return t.sessionToken!=null&&Un("`sessionToken` option","`sessionHash` start() option","/"),!0}class eI{constructor(e){var a;if(this.options=e,this.app=null,this.crossdomainMode=!1,this.checkDoNotTrack=()=>this.options.respectDoNotTrack&&(navigator.doNotTrack=="1"||window.doNotTrack=="1"),this.signalStartIssue=(l,u)=>{const c=this.checkDoNotTrack(),f=new XMLHttpRequest,h=this.options.ingestPoint||hm;f.open("POST",h+"/v1/web/not-started"),f.send(JSON.stringify({trackerVersion:"14.0.1",projectKey:this.options.projectKey,doNotTrack:c,reason:u.length?`missing api: ${u.join(",")}`:l}))},this.restartCanvasTracking=()=>{this.app!==null&&this.app.restartCanvasTracking()},this.handleError=(l,u={})=>{if(this.app!==null){if(l instanceof Error){const c=Uo(l,[],u);this.app.send(c)}else if(l instanceof ErrorEvent||"PromiseRejectionEvent"in window&&l instanceof PromiseRejectionEvent){const c=mm(l,void 0,u);c!=null&&this.app.send(c)}}},this.crossdomainMode=Boolean(Rk()&&((a=e.crossdomain)==null?void 0:a.enabled)),!dn||!ZT(e))return;if(window.__OPENREPLAY__){console.error("OpenReplay: one tracker instance has been initialised already");return}if(!e.__DISABLE_SECURE_MODE&&location.protocol!=="https:"){console.error("OpenReplay: Your website must be publicly accessible and running on SSL in order for OpenReplay to properly capture and replay the user session. You can disable this check by setting `__DISABLE_SECURE_MODE` option to `true` if you are testing in localhost. Keep in mind, that asset files on a local machine are not available to the outside world. This might affect tracking if you use css files.");return}const n=this.checkDoNotTrack(),i=[],s=["Map","Set","MutationObserver","performance","timing","startsWith","Blob","Worker"];if(n)i.push("doNotTrack");else for(const l of s)if(l==="timing"){if("performance"in window&&!(l in performance)){i.push(l);break}}else if(l==="startsWith"){if(!(l in String.prototype)){i.push(l);break}}else if(!(l in window)){i.push(l);break}if(i.length>0){const l=i.join(",");console.error(`OpenReplay: browser doesn't support API required for tracking or doNotTrack is set to 1. Reason: ${l}`),this.signalStartIssue("missing_api",i);return}const r=new QE(e.projectKey,e.sessionToken,e,this.signalStartIssue,this.crossdomainMode);this.app=r,this.crossdomainMode||(NT(r),ZE(r),hE(r,e),QT(r)),IT(r,e.mouse),OT(r,this.crossdomainMode),FT(r),PT(r),iT(r,e),oT(r,e),cT(r),pT(r,e),RT(r,e),MT(r),DT(r),YT(r,e.network),JT(r),window.__OPENREPLAY__=this,e.flags&&e.flags.onFlagsLoad&&this.onFlagsLoad(e.flags.onFlagsLoad);const o=window.open;(e.autoResetOnWindowOpen||e.resetTabOnWindowOpen)&&(r.attachStartCallback(()=>{var c;const l=r.getTabId(),u=(c=r.sessionStorage)!=null?c:window.sessionStorage;window.open=function(...f){return e.autoResetOnWindowOpen&&r.resetNextPageSession(!0),e.resetTabOnWindowOpen&&u.removeItem(e.session_tabid_key||"__openreplay_tabid"),r.resetNextPageSession(!1),u.setItem(e.session_tabid_key||"__openreplay_tabid",l),o.call(window,...f)}}),r.attachStopCallback(()=>{window.open=o}))}isFlagEnabled(e){return this.featureFlags.isFlagEnabled(e)}onFlagsLoad(e){var n;(n=this.app)==null||n.featureFlags.onFlagsLoad(e)}clearPersistFlags(){var e;(e=this.app)==null||e.featureFlags.clearPersistFlags()}reloadFlags(){var e;return(e=this.app)==null?void 0:e.featureFlags.reloadFlags()}getFeatureFlag(e){var n;return(n=this.app)==null?void 0:n.featureFlags.getFeatureFlag(e)}getAllFeatureFlags(){var e;return(e=this.app)==null?void 0:e.featureFlags.flags}use(e){return e(this.app,this.options)}isActive(){return this.app===null?!1:this.app.active()}trackWs(e){if(this.app!==null)return this.app.trackWs(e)}start(e){return this.browserEnvCheck()?this.app===null?Promise.reject("Browser doesn't support required api, or doNotTrack is active."):this.app.start(e):Promise.reject("Trying to start not in browser.")}browserEnvCheck(){return dn?!0:(console.error(`OpenReplay: you are trying to start Tracker on a node.js environment. If you want to use OpenReplay with SSR, please, use componentDidMount or useEffect API for placing the \`tracker.start()\` line. Check documentation on ${$o}${mo}`),!1)}coldStart(e,n){if(this.browserEnvCheck()){if(this.app===null)return Promise.reject("Tracker not initialized");this.app.coldStart(e,n)}else return Promise.reject("Trying to start not in browser.")}startOfflineRecording(e,n){return this.browserEnvCheck()?this.app===null?Promise.reject("Tracker not initialized"):this.app.offlineRecording(e,n):Promise.reject("Trying to start not in browser.")}uploadOfflineRecording(){if(this.app!==null)return this.app.uploadOfflineRecording()}stop(){if(this.app!==null)return this.app.stop(),this.app.session.getSessionHash()}forceFlushBatch(){this.app!==null&&this.app.forceFlushBatch()}getSessionToken(){return this.app===null?null:this.app.getSessionToken()}getSessionInfo(){return this.app===null?null:this.app.session.getInfo()}getSessionID(){return this.app===null?null:this.app.getSessionID()}getTabId(){return this.app===null?null:this.app.getTabId()}getUxId(){return this.app===null?null:this.app.getUxtId()}sessionID(){return Un("'sessionID' method","'getSessionID' method","/"),this.getSessionID()}getSessionURL(e){if(this.app!==null)return this.app.getSessionURL(e)}setUserID(e){typeof e=="string"&&this.app!==null&&this.app.session.setUserID(e)}userID(e){Un("'userID' method","'setUserID' method","/"),this.setUserID(e)}setUserAnonymousID(e){typeof e=="string"&&this.app!==null&&this.app.send(Yk(e))}userAnonymousID(e){Un("'userAnonymousID' method","'setUserAnonymousID' method","/"),this.setUserAnonymousID(e)}setMetadata(e,n){typeof e=="string"&&typeof n=="string"&&this.app!==null&&this.app.session.setMetadata(e,n)}metadata(e,n){Un("'metadata' method","'setMetadata' method","/"),this.setMetadata(e,n)}event(e,n=null,i=!1){if(typeof e=="string"&&this.app!==null){if(i)return this.issue(e,n);try{n=JSON.stringify(n)}catch{return}this.app.send(Xk(e,n))}}issue(e,n=null){if(typeof e=="string"&&this.app!==null){try{n=JSON.stringify(n)}catch{return}this.app.send(nE(e,n))}}}function Vh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),n.push.apply(n,i)}return n}function G(t){for(var e=1;e=0||(c[l]=o[l]);return c}(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(s[n]=t[n])}return s}function ht(t,e){return function(n){if(Array.isArray(n))return n}(t)||function(n,i){var s=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(s!=null){var r,o,a=[],l=!0,u=!1;try{for(s=s.call(n);!(l=(r=s.next()).done)&&(a.push(r.value),!i||a.length!==i);l=!0);}catch(c){u=!0,o=c}finally{try{l||s.return==null||s.return()}finally{if(u)throw o}}return a}}(t,e)||yu(t,e)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Tn(t){return function(e){if(Array.isArray(e))return ic(e)}(t)||function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(t)||yu(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function yu(t,e){if(t){if(typeof t=="string")return ic(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ic(t,e):void 0}}function ic(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(l){throw l},f:s}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var r,o=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var l=n.next();return o=l.done,l},e:function(l){a=!0,r=l},f:function(){try{o||n.return==null||n.return()}finally{if(a)throw r}}}}var Yt={DEBUG:!1,LIB_VERSION:"1.155.0"},nI=Array.isArray,Em=Object.prototype,Tm=Em.hasOwnProperty,Na=Em.toString,Ze=nI||function(t){return Na.call(t)==="[object Array]"},en=function(t){return typeof t=="function"},st=function(t){return t===Object(t)&&!Ze(t)},vo=function(t){if(st(t)){for(var e in t)if(Tm.call(t,e))return!1;return!0}return!1},ne=function(t){return t===void 0},ct=function(t){return Na.call(t)=="[object String]"},Kh=function(t){return ct(t)&&t.trim().length===0},Nn=function(t){return t===null},wt=function(t){return ne(t)||Nn(t)},Mt=function(t){return Na.call(t)=="[object Number]"},Bi=function(t){return Na.call(t)==="[object Boolean]"},iI=function(t){return t instanceof FormData},C=typeof window<"u"?window:void 0,bt=typeof globalThis<"u"?globalThis:C,Im=Array.prototype,Xh=Im.forEach,Gh=Im.indexOf,kn=bt==null?void 0:bt.navigator,Q=bt==null?void 0:bt.document,vt=bt==null?void 0:bt.location,sc=bt==null?void 0:bt.fetch,rc=bt!=null&&bt.XMLHttpRequest&&"withCredentials"in new bt.XMLHttpRequest?bt.XMLHttpRequest:void 0,Yh=bt==null?void 0:bt.AbortController,We=kn==null?void 0:kn.userAgent,Ue=C!=null?C:{},Jh="[PostHog.js]",L={_log:function(t){if(C&&(Yt.DEBUG||Ue.POSTHOG_DEBUG)&&!ne(C.console)&&C.console){for(var e=("__rrweb_original__"in C.console[t])?C.console[t].__rrweb_original__:C.console[t],n=arguments.length,i=new Array(n>1?n-1:0),s=1;s1?e-1:0),i=1;i0&&(e[i]=n)}),e},ac=function(t){return t.replace(/^\$/,"")};function rI(t,e){return n=t,i=function(r){return ct(r)&&!Nn(e)?r.slice(0,e):r},s=new Set,function r(o,a){return o!==Object(o)?i?i(o,a):o:s.has(o)?void 0:(s.add(o),Ze(o)?(l=[],ns(o,function(u){l.push(r(u))})):(l={},Ne(o,function(u,c){s.has(u)||(l[c]=r(u,c))})),l);var l}(n);var n,i,s}var Jt,oI=function(t){var e,n,i,s,r="";for(e=n=0,i=(t=(t+"").replace(/\r\n/g,` +`).replace(/\r/g,` +`)).length,s=0;s127&&o<2048?String.fromCharCode(o>>6|192,63&o|128):String.fromCharCode(o>>12|224,o>>6&63|128,63&o|128),Nn(a)||(n>e&&(r+=t.substring(e,n)),r+=a,e=n=s+1)}return n>e&&(r+=t.substring(e,t.length)),r},Sn=function(){function t(e){return e&&(e.preventDefault=t.preventDefault,e.stopPropagation=t.stopPropagation),e}return t.preventDefault=function(){this.returnValue=!1},t.stopPropagation=function(){this.cancelBubble=!0},function(e,n,i,s,r){if(e)if(e.addEventListener&&!s)e.addEventListener(n,i,!!r);else{var o="on"+n,a=e[o];e[o]=function(l,u,c){return function(f){if(f=f||t(C==null?void 0:C.event)){var h,d=!0;en(c)&&(h=c(f));var p=u.call(l,f);return h!==!1&&p!==!1||(d=!1),d}}}(e,i,a)}else L.error("No valid element provided to register_event")}}();function Cm(t,e){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{};if(this.instance.decideEndpointWasHit||this.getFlags()&&this.getFlags().length>0){var i,s=this.getFlagVariants()[e],r="".concat(s),o=this.instance.get_property(Wo)||{};return(n.send_event||!("send_event"in n))&&(!(e in o)||!o[e].includes(r))&&(Ze(o[e])?o[e].push(r):o[e]=[r],(i=this.instance.persistence)===null||i===void 0||i.register(A({},Wo,o)),this.instance.capture("$feature_flag_called",{$feature_flag:e,$feature_flag_response:s})),s}L.warn('getFeatureFlag for key "'+e+`" failed. Feature flags didn't load in time.`)}},{key:"getFeatureFlagPayload",value:function(e){return this.getFlagPayloads()[e]}},{key:"isFeatureEnabled",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.instance.decideEndpointWasHit||this.getFlags()&&this.getFlags().length>0)return!!this.getFeatureFlag(e,n);L.warn('isFeatureEnabled for key "'+e+`" failed. Feature flags didn't load in time.`)}},{key:"addFeatureFlagsHandler",value:function(e){this.featureFlagEventHandlers.push(e)}},{key:"removeFeatureFlagsHandler",value:function(e){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter(function(n){return n!==e})}},{key:"receivedFeatureFlags",value:function(e,n){if(this.instance.persistence){this.instance.decideEndpointWasHit=!0;var i=this.getFlagVariants(),s=this.getFlagPayloads();(function(r,o){var a,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},c=r.featureFlags,f=r.featureFlagPayloads;if(c)if(Ze(c)){var h,d={};if(c)for(var p=0;p1&&arguments[1]!==void 0&&arguments[1];if(!this.instance.__loaded||!this.instance.persistence)return L.uninitializedWarning("posthog.feature_flags.override");if(this._override_warning=n,e===!1)this.instance.persistence.unregister(Yr);else if(Ze(e)){for(var i={},s=0;s1&&arguments[1]!==void 0&&arguments[1],s=this.instance.get_property(uc);if(s&&!i)return e(s);this.instance._send_request({transport:"XHR",url:this.instance.requestRouter.endpointFor("api","/api/early_access_features/?token=".concat(this.instance.config.token)),method:"GET",callback:function(r){var o;if(r.json){var a=r.json.earlyAccessFeatures;return(o=n.instance.persistence)===null||o===void 0||o.register(A({},uc,a)),e(a)}}})}},{key:"_prepareFeatureFlagsForCallbacks",value:function(){var e=this.getFlags(),n=this.getFlagVariants();return{flags:e.filter(function(i){return n[i]}),flagVariants:Object.keys(n).filter(function(i){return n[i]}).reduce(function(i,s){return i[s]=n[s],i},{})}}},{key:"_fireFeatureFlagsCallbacks",value:function(e){var n=this._prepareFeatureFlagsForCallbacks(),i=n.flags,s=n.flagVariants;this.featureFlagEventHandlers.forEach(function(r){return r(i,s,{errorsLoading:e})})}},{key:"setPersonPropertiesForFlags",value:function(e){var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=this.instance.get_property(qi)||{};this.instance.register(A({},qi,G(G({},i),e))),n&&this.instance.reloadFeatureFlags()}},{key:"resetPersonPropertiesForFlags",value:function(){this.instance.unregister(qi)}},{key:"setGroupPropertiesForFlags",value:function(e){var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=this.instance.get_property(Hn)||{};Object.keys(i).length!==0&&Object.keys(i).forEach(function(s){i[s]=G(G({},i[s]),e[s]),delete e[s]}),this.instance.register(A({},Hn,G(G({},i),e))),n&&this.instance.reloadFeatureFlags()}},{key:"resetGroupPropertiesForFlags",value:function(e){if(e){var n=this.instance.get_property(Hn)||{};this.instance.register(A({},Hn,G(G({},n),{},A({},e,{}))))}else this.instance.unregister(Hn)}}]),t}();Math.trunc||(Math.trunc=function(t){return t<0?Math.ceil(t):Math.floor(t)}),Number.isInteger||(Number.isInteger=function(t){return Mt(t)&&isFinite(t)&&Math.floor(t)===t});var fd="0123456789abcdef",cI=function(){function t(e){if(we(this,t),this.bytes=e,e.length!==16)throw new TypeError("not 128-bit length")}return Se(t,[{key:"toString",value:function(){for(var e="",n=0;n>>4)+fd.charAt(15&this.bytes[n]),n!==3&&n!==5&&n!==7&&n!==9||(e+="-");if(e.length!==36)throw new Error("Invalid UUIDv7 was generated");return e}},{key:"clone",value:function(){return new t(this.bytes.slice(0))}},{key:"equals",value:function(e){return this.compareTo(e)===0}},{key:"compareTo",value:function(e){for(var n=0;n<16;n++){var i=this.bytes[n]-e.bytes[n];if(i!==0)return Math.sign(i)}return 0}}],[{key:"fromFieldsV7",value:function(e,n,i,s){if(!Number.isInteger(e)||!Number.isInteger(n)||!Number.isInteger(i)||!Number.isInteger(s)||e<0||n<0||i<0||s<0||e>0xffffffffffff||n>4095||i>1073741823||s>4294967295)throw new RangeError("invalid field value");var r=new Uint8Array(16);return r[0]=e/Math.pow(2,40),r[1]=e/Math.pow(2,32),r[2]=e/Math.pow(2,24),r[3]=e/Math.pow(2,16),r[4]=e/Math.pow(2,8),r[5]=e,r[6]=112|n>>>8,r[7]=n,r[8]=128|i>>>24,r[9]=i>>>16,r[10]=i>>>8,r[11]=i,r[12]=s>>>24,r[13]=s>>>16,r[14]=s>>>8,r[15]=s,new t(r)}}]),t}(),uI=function(){function t(){we(this,t),A(this,"timestamp",0),A(this,"counter",0),A(this,"random",new fI)}return Se(t,[{key:"generate",value:function(){var e=this.generateOrAbort();if(ne(e)){this.timestamp=0;var n=this.generateOrAbort();if(ne(n))throw new Error("Could not generate UUID after timestamp reset");return n}return e}},{key:"generateOrAbort",value:function(){var e=Date.now();if(e>this.timestamp)this.timestamp=e,this.resetCounter();else{if(!(e+1e4>this.timestamp))return;this.counter++,this.counter>4398046511103&&(this.timestamp++,this.resetCounter())}return cI.fromFieldsV7(this.timestamp,Math.trunc(this.counter/Math.pow(2,30)),this.counter&Math.pow(2,30)-1,this.random.nextUint32())}},{key:"resetCounter",value:function(){this.counter=1024*this.random.nextUint32()+(1023&this.random.nextUint32())}}]),t}(),Om=function(t){if(typeof UUIDV7_DENY_WEAK_RNG<"u"&&UUIDV7_DENY_WEAK_RNG)throw new Error("no cryptographically strong RNG available");for(var e=0;e=this.buffer.length&&(Om(this.buffer),this.cursor=0),this.buffer[this.cursor++]}}]),t}(),qn=function(){return hI().toString()},hI=function(){return(hd||(hd=new uI)).generate()},dI="Thu, 01 Jan 1970 00:00:00 GMT",Ps="",pI=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i;function gI(t,e){if(e){var n=function(s){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Q;if(Ps)return Ps;if(!r||["localhost","127.0.0.1"].includes(s))return"";for(var o=s.split("."),a=Math.min(o.length,8),l="dmn_chk_"+qn(),u=new RegExp("(^|;)\\s*"+l+"=1");!Ps&&a--;){var c=o.slice(a).join("."),f=l+"=1;domain=."+c;r.cookie=f,u.test(r.cookie)&&(r.cookie=f+";expires="+dI,Ps=c)}return Ps}(t);if(!n){var i=function(s){var r=s.match(pI);return r?r[0]:""}(t);i!==n&&L.info("Warning: cookie subdomain discovery mismatch",i,n),n=i}return n?"; domain=."+n:""}return""}var tt,In={is_supported:function(){return!!Q},error:function(t){L.error("cookieStore error: "+t)},get:function(t){if(Q){try{for(var e=t+"=",n=Q.cookie.split(";").filter(function(r){return r.length}),i=0;i3686.4&&L.warn("cookieStore warning: large cookie, len="+u.length),Q.cookie=u,u}catch{return}},remove:function(t,e){try{In.set(t,"",-1,e)}catch{return}}},ol=null,Qe={is_supported:function(){if(!Nn(ol))return ol;var t=!0;if(ne(C))t=!1;else try{var e="__mplssupport__";Qe.set(e,"xyz"),Qe.get(e)!=='"xyz"'&&(t=!1),Qe.remove(e)}catch{t=!1}return t||L.error("localStorage unsupported; falling back to cookie store"),ol=t,t},error:function(t){L.error("localStorage error: "+t)},get:function(t){try{return C==null?void 0:C.localStorage.getItem(t)}catch(e){Qe.error(e)}return null},parse:function(t){try{return JSON.parse(Qe.get(t))||{}}catch{}return null},set:function(t,e){try{C==null||C.localStorage.setItem(t,JSON.stringify(e))}catch(n){Qe.error(n)}},remove:function(t){try{C==null||C.localStorage.removeItem(t)}catch(e){Qe.error(e)}}},mI=["distinct_id",Vo,Qs,Ko],Jr=G(G({},Qe),{},{parse:function(t){try{var e={};try{e=In.parse(t)||{}}catch{}var n=dt(e,JSON.parse(Qe.get(t)||"{}"));return Qe.set(t,n),n}catch{}return null},set:function(t,e,n,i,s,r){try{Qe.set(t,e,void 0,void 0,r);var o={};mI.forEach(function(a){e[a]&&(o[a]=e[a])}),Object.keys(o).length&&In.set(t,o,n,i,s,r)}catch(a){Qe.error(a)}},remove:function(t,e){try{C==null||C.localStorage.removeItem(t),In.remove(t,e)}catch(n){Qe.error(n)}}}),Qr={},vI={is_supported:function(){return!0},error:function(t){L.error("memoryStorage error: "+t)},get:function(t){return Qr[t]||null},parse:function(t){return Qr[t]||null},set:function(t,e){Qr[t]=e},remove:function(t){delete Qr[t]}},si=null,it={is_supported:function(){if(!Nn(si))return si;if(si=!0,ne(C))si=!1;else try{var t="__support__";it.set(t,"xyz"),it.get(t)!=='"xyz"'&&(si=!1),it.remove(t)}catch{si=!1}return si},error:function(t){L.error("sessionStorage error: ",t)},get:function(t){try{return C==null?void 0:C.sessionStorage.getItem(t)}catch(e){it.error(e)}return null},parse:function(t){try{return JSON.parse(it.get(t))||null}catch{}return null},set:function(t,e){try{C==null||C.sessionStorage.setItem(t,JSON.stringify(e))}catch(n){it.error(n)}},remove:function(t){try{C==null||C.sessionStorage.removeItem(t)}catch(e){it.error(e)}}},yI=["localhost","127.0.0.1"],Zs=function(t){var e=Q==null?void 0:Q.createElement("a");return ne(e)?null:(e.href=t,e)},Xo=function(t,e){return!!function(n){try{new RegExp(n)}catch{return!1}return!0}(e)&&new RegExp(e).test(t)},_I=function(t){var e,n,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"&",s=[];return Ne(t,function(r,o){ne(r)||ne(o)||o==="undefined"||(e=encodeURIComponent(function(a){return a instanceof File}(r)?r.name:r.toString()),n=encodeURIComponent(o),s[s.length]=n+"="+e)}),s.join(i)},dd=function(t,e){for(var n,i=((t.split("#")[0]||"").split("?")[1]||"").split("&"),s=0;s=3&&(e=ne(t[2])?t[3]:t[2]),["watchOS",e]}],[new RegExp("("+cn+" (\\d+)\\.(\\d+)\\.?(\\d+)?|"+cn+")","i"),function(t){if(t&&t[2]){var e=[t[2],t[3],t[4]||"0"];return[cn,e.join(".")]}return[cn,""]}],[/Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i,function(t){var e=["Mac OS X",""];if(t&&t[1]){var n=[t[1],t[2],t[3]||"0"];e[1]=n.join(".")}return e}],[/Mac/i,["Mac OS X",""]],[/CrOS/,[bI,""]],[/Linux|debian/i,["Linux",""]]],vd=function(t){return TI.test(t)?br:EI.test(t)?wr:kI.test(t)?ss:new RegExp(yc,"i").test(t)?yc:new RegExp("("+vc+"|WPDesktop)","i").test(t)?vc:/iPad/.test(t)?Am:/iPod/.test(t)?"iPod Touch":/iPhone/.test(t)?"iPhone":/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(t)?Fm:Su.test(t)?ms:/(kobo)\s(ereader|touch)/i.test(t)?"Kobo":new RegExp(pd,"i").test(t)?pd:/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i.test(t)||/(kf[a-z]+)( bui|\)).+silk\//i.test(t)?"Kindle Fire":/(Android|ZTE)/i.test(t)?!new RegExp(Bt).test(t)||/(9138B|TB782B|Nexus [97]|pixel c|HUAWEISHT|BTV|noble nook|smart ultra 6)/i.test(t)?/pixel[\daxl ]{1,6}/i.test(t)&&!/pixel c/i.test(t)||/(huaweimed-al00|tah-|APA|SM-G92|i980|zte|U304AA)/i.test(t)||/lmy47v/i.test(t)&&!/QTAQZ3/i.test(t)?cn:Nm:cn:new RegExp("(pda|"+Bt+")","i").test(t)?SI:new RegExp(yr,"i").test(t)&&!new RegExp(yr+" pc","i").test(t)?Vm:""},Zr="https?://(.*)",RI=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gclid","gad_source","gclsrc","dclid","gbraid","wbraid","fbclid","msclkid","twclid","li_fat_id","mc_cid","igshid","ttclid","rdt_cid"],et={campaignParams:function(t){return Q?this._campaignParamsFromUrl(Q.URL,t):{}},_campaignParamsFromUrl:function(t,e){var n=RI.concat(e||[]),i={};return Ne(n,function(s){var r=dd(t,s);r&&(i[s]=r)}),i},_searchEngine:function(t){return t?t.search(Zr+"google.([^/?]*)")===0?"google":t.search(Zr+"bing.com")===0?"bing":t.search(Zr+"yahoo.com")===0?"yahoo":t.search(Zr+"duckduckgo.com")===0?"duckduckgo":null:null},_searchInfoFromReferrer:function(t){var e=et._searchEngine(t),n=e!="yahoo"?"q":"p",i={};if(!Nn(e)){i.$search_engine=e;var s=Q?dd(Q.referrer,n):"";s.length&&(i.ph_keyword=s)}return i},searchInfo:function(){var t=Q==null?void 0:Q.referrer;return t?this._searchInfoFromReferrer(t):{}},browser:gd,browserVersion:function(t,e){var n=gd(t,e),i=CI[n];if(ne(i))return null;for(var s=0;s1e3?We.substring(0,997)+"...":We,$browser_version:et.browserVersion(We,navigator.vendor),$browser_language:et.browserLanguage(),$screen_height:C==null?void 0:C.screen.height,$screen_width:C==null?void 0:C.screen.width,$viewport_height:C==null?void 0:C.innerHeight,$viewport_width:C==null?void 0:C.innerWidth,$lib:"web",$lib_version:Yt.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:xm()/1e3})},people_properties:function(){if(!We)return{};var t=ht(et.os(We),2),e=t[0],n=t[1];return dt(oc({$os:e,$os_version:n,$browser:et.browser(We,navigator.vendor)}),{$browser_version:et.browserVersion(We,navigator.vendor)})}},OI=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"],ll=function(){function t(e){we(this,t),this.config=e,this.props={},this.campaign_params_saved=!1,this.name=function(n){var i="";return n.token&&(i=n.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),n.persistence_name?"ph_"+n.persistence_name:"ph_"+i+"_posthog"}(e),this.storage=this.buildStorage(e),this.load(),e.debug&&L.info("Persistence loaded",e.persistence,G({},this.props)),this.update_config(e,e),this.save()}return Se(t,[{key:"buildStorage",value:function(e){OI.indexOf(e.persistence.toLowerCase())===-1&&(L.critical("Unknown persistence type "+e.persistence+"; falling back to localStorage+cookie"),e.persistence="localStorage+cookie");var n=e.persistence.toLowerCase();return n==="localstorage"&&Qe.is_supported()?Qe:n==="localstorage+cookie"&&Jr.is_supported()?Jr:n==="sessionstorage"&&it.is_supported()?it:n==="memory"?vI:n==="cookie"?In:Jr.is_supported()?Jr:In}},{key:"properties",value:function(){var e={};return Ne(this.props,function(n,i){if(i===Ui&&st(n))for(var s=Object.keys(n),r=0;r0&&e.at(-1)!==this;)e.pop();return e.includes(i)?"[Circular]":(e.push(i),i)}return i})).length;var e}var NI=2,AI=4;function wc(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:66060288e-1;if(t.size>=e&&t.data.length>1){var n=Math.floor(t.data.length/2),i=t.data.slice(0,n),s=t.data.slice(n);return[wc({size:bc(i),data:i,sessionId:t.sessionId,windowId:t.windowId}),wc({size:bc(s),data:s,sessionId:t.sessionId,windowId:t.windowId})].flatMap(function(r){return r})}return[t]}var _o=function(t){return t[t.DomContentLoaded=0]="DomContentLoaded",t[t.Load=1]="Load",t[t.FullSnapshot=2]="FullSnapshot",t[t.IncrementalSnapshot=3]="IncrementalSnapshot",t[t.Meta=4]="Meta",t[t.Custom=5]="Custom",t[t.Plugin=6]="Plugin",t}(_o||{}),vn=function(t){return t[t.Mutation=0]="Mutation",t[t.MouseMove=1]="MouseMove",t[t.MouseInteraction=2]="MouseInteraction",t[t.Scroll=3]="Scroll",t[t.ViewportResize=4]="ViewportResize",t[t.Input=5]="Input",t[t.TouchMove=6]="TouchMove",t[t.MediaInteraction=7]="MediaInteraction",t[t.StyleSheetRule=8]="StyleSheetRule",t[t.CanvasMutation=9]="CanvasMutation",t[t.Font=10]="Font",t[t.Log=11]="Log",t[t.Drag=12]="Drag",t[t.StyleDeclaration=13]="StyleDeclaration",t[t.Selection=14]="Selection",t[t.AdoptedStyleSheet=15]="AdoptedStyleSheet",t[t.CustomElement=16]="CustomElement",t}(vn||{});function ku(t){return t?Aa(t).split(/\s+/):[]}function yd(t){var e=C==null?void 0:C.location.href;return!!(e&&t&&t.some(function(n){return e.match(n)}))}function Jo(t){var e="";switch(vr(t.className)){case"string":e=t.className;break;case"object":e=("baseVal"in t.className?t.className.baseVal:null)||t.getAttribute("class")||"";break;default:e=""}return ku(e)}function Wm(t){return wt(t)?null:Aa(t).split(/(\s+)/).filter(function(e){return rs(e)}).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}function Qo(t){var e="";return kc(t)&&!Ym(t)&&t.childNodes&&t.childNodes.length&&Ne(t.childNodes,function(n){var i;Km(n)&&n.textContent&&(e+=(i=Wm(n.textContent))!==null&&i!==void 0?i:"")}),Aa(e)}function Eu(t){return!!t&&t.nodeType===1}function Xn(t,e){return!!t&&!!t.tagName&&t.tagName.toLowerCase()===e.toLowerCase()}function Km(t){return!!t&&t.nodeType===3}function Xm(t){return!!t&&t.nodeType===11}var Sc=["a","button","form","input","select","textarea","label"];function Gm(t){var e=t.parentNode;return!(!e||!Eu(e))&&e}function PI(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0;if(!C||!t||Xn(t,"html")||!Eu(t)||n!=null&&n.url_allowlist&&!yd(n.url_allowlist)||n!=null&&n.url_ignorelist&&yd(n.url_ignorelist))return!1;if(n!=null&&n.dom_event_allowlist){var r=n.dom_event_allowlist;if(r&&!r.some(function(d){return e.type===d}))return!1}for(var o=!1,a=[t],l=!0,u=t;u.parentNode&&!Xn(u,"body");)if(Xm(u.parentNode))a.push(u.parentNode.host),u=u.parentNode.host;else{if(!(l=Gm(u)))break;if(i||Sc.indexOf(l.tagName.toLowerCase())>-1)o=!0;else{var c=C.getComputedStyle(l);c&&c.getPropertyValue("cursor")==="pointer"&&(o=!0)}a.push(l),u=l}if(!function(d,p){var g=p==null?void 0:p.element_allowlist;if(ne(g))return!0;var w,_=qt(d);try{var m=function(){var b=w.value;if(g.some(function(E){return b.tagName.toLowerCase()===E}))return{v:!0}};for(_.s();!(w=_.n()).done;){var y=m();if(vr(y)==="object")return y.v}}catch(b){_.e(b)}finally{_.f()}return!1}(a,n)||!function(d,p){var g=p==null?void 0:p.css_selector_allowlist;if(ne(g))return!0;var w,_=qt(d);try{var m=function(){var b=w.value;if(g.some(function(E){return b.matches(E)}))return{v:!0}};for(_.s();!(w=_.n()).done;){var y=m();if(vr(y)==="object")return y.v}}catch(b){_.e(b)}finally{_.f()}return!1}(a,n))return!1;var f=C.getComputedStyle(t);if(f&&f.getPropertyValue("cursor")==="pointer"&&e.type==="click")return!0;var h=t.tagName.toLowerCase();switch(h){case"html":return!1;case"form":return(s||["submit"]).indexOf(e.type)>=0;case"input":case"select":case"textarea":return(s||["change","click"]).indexOf(e.type)>=0;default:return o?(s||["click"]).indexOf(e.type)>=0:(s||["click"]).indexOf(e.type)>=0&&(Sc.indexOf(h)>-1||t.getAttribute("contenteditable")==="true")}}function kc(t){for(var e=t;e.parentNode&&!Xn(e,"body");e=e.parentNode){var n=Jo(e);if(ve(n,"ph-sensitive")||ve(n,"ph-no-capture"))return!1}if(ve(Jo(t),"ph-include"))return!0;var i=t.type||"";if(ct(i))switch(i.toLowerCase()){case"hidden":case"password":return!1}var s=t.name||t.id||"";return!(ct(s)&&/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(s.replace(/[^a-zA-Z0-9]/g,"")))}function Ym(t){return!!(Xn(t,"input")&&!["button","checkbox","submit","reset"].includes(t.type)||Xn(t,"select")||Xn(t,"textarea")||t.getAttribute("contenteditable")==="true")}var Jm="(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11})",FI=new RegExp("^(?:".concat(Jm,")$")),MI=new RegExp(Jm),Qm="\\d{3}-?\\d{2}-?\\d{4}",DI=new RegExp("^(".concat(Qm,")$")),LI=new RegExp("(".concat(Qm,")"));function rs(t){var e=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return!(wt(t)||ct(t)&&(t=Aa(t),(e?FI:MI).test((t||"").replace(/[- ]/g,""))||(e?DI:LI).test(t)))}function _d(t){var e=Qo(t);return rs(e="".concat(e," ").concat(Zm(t)).trim())?e:""}function Zm(t){var e="";return t&&t.childNodes&&t.childNodes.length&&Ne(t.childNodes,function(n){var i;if(n&&((i=n.tagName)===null||i===void 0?void 0:i.toLowerCase())==="span")try{var s=Qo(n);e="".concat(e," ").concat(s).trim(),n.childNodes&&n.childNodes.length&&(e="".concat(e," ").concat(Zm(n)).trim())}catch(r){L.error(r)}}),e}function $I(t){return function(e){var n=e.map(function(i){var s,r,o="";if(i.tag_name&&(o+=i.tag_name),i.attr_class){i.attr_class.sort();var a,l=qt(i.attr_class);try{for(l.s();!(a=l.n()).done;){var u=a.value;o+=".".concat(u.replace(/"/g,""))}}catch(h){l.e(h)}finally{l.f()}}var c=G(G(G(G({},i.text?{text:i.text}:{}),{},{"nth-child":(s=i.nth_child)!==null&&s!==void 0?s:0,"nth-of-type":(r=i.nth_of_type)!==null&&r!==void 0?r:0},i.href?{href:i.href}:{}),i.attr_id?{attr_id:i.attr_id}:{}),i.attributes),f={};return yo(c).sort(function(h,d){var p=ht(h,1)[0],g=ht(d,1)[0];return p.localeCompare(g)}).forEach(function(h){var d=ht(h,2),p=d[0],g=d[1];return f[bd(p.toString())]=bd(g.toString())}),o+=":",o+=yo(c).map(function(h){var d=ht(h,2),p=d[0],g=d[1];return"".concat(p,'="').concat(g,'"')}).join("")});return n.join(";")}(function(e){return e.map(function(n){var i,s,r={text:(i=n.$el_text)===null||i===void 0?void 0:i.slice(0,400),tag_name:n.tag_name,href:(s=n.attr__href)===null||s===void 0?void 0:s.slice(0,2048),attr_class:HI(n),attr_id:n.attr__id,nth_child:n.nth_child,nth_of_type:n.nth_of_type,attributes:{}};return yo(n).filter(function(o){return ht(o,1)[0].indexOf("attr__")===0}).forEach(function(o){var a=ht(o,2),l=a[0],u=a[1];return r.attributes[l]=u}),r})}(t))}function bd(t){return t.replace(/"|\\"/g,'\\"')}function HI(t){var e=t.attr__class;return e?Ze(e)?e:ku(e):void 0}var Ec="[SessionRecording]",Tc="redacted",eo={initiatorTypes:["audio","beacon","body","css","early-hint","embed","fetch","frame","iframe","icon","image","img","input","link","navigation","object","ping","script","track","video","xmlhttprequest"],maskRequestFn:function(t){return t},recordHeaders:!1,recordBody:!1,recordInitialRequests:!1,recordPerformance:!1,performanceEntryTypeToObserve:["first-input","navigation","paint","resource"],payloadSizeLimitBytes:1e6,payloadHostDenyList:[".lr-ingest.io",".ingest.sentry.io"]},jI=["authorization","x-forwarded-for","authorization","cookie","set-cookie","x-api-key","x-real-ip","remote-addr","forwarded","proxy-authorization","x-csrf-token","x-csrftoken","x-xsrf-token"],BI=["password","secret","passwd","api_key","apikey","auth","credentials","mysql_pwd","privatekey","private_key","token"],UI=["/s/","/e/","/i/"];function wd(t,e,n,i){if(wt(t))return t;var s=(e==null?void 0:e["content-length"])||function(r){return new Blob([r]).size}(t);return ct(s)&&(s=parseInt(s)),s>n?Ec+" ".concat(i," body too large to record (").concat(s," bytes)"):t}function Sd(t,e){if(wt(t))return t;var n=t;return rs(n,!1)||(n=Ec+" "+e+" body "+Tc),Ne(BI,function(i){var s,r;(s=n)!==null&&s!==void 0&&s.length&&((r=n)===null||r===void 0?void 0:r.indexOf(i))!==-1&&(n=Ec+" "+e+" body "+Tc+" as might contain: "+i)}),n}var bn,qI=function(t,e){var n,i,s,r={payloadSizeLimitBytes:eo.payloadSizeLimitBytes,performanceEntryTypeToObserve:Tn(eo.performanceEntryTypeToObserve),payloadHostDenyList:[].concat(Tn(e.payloadHostDenyList||[]),Tn(eo.payloadHostDenyList))},o=t.session_recording.recordHeaders!==!1&&e.recordHeaders,a=t.session_recording.recordBody!==!1&&e.recordBody,l=t.capture_performance!==!1&&e.recordPerformance,u=(n=r,s=Math.min(1e6,(i=n.payloadSizeLimitBytes)!==null&&i!==void 0?i:1e6),function(h){return h!=null&&h.requestBody&&(h.requestBody=wd(h.requestBody,h.requestHeaders,s,"Request")),h!=null&&h.responseBody&&(h.responseBody=wd(h.responseBody,h.responseHeaders,s,"Response")),h}),c=function(h){return u(function(g){var w=Zs(g.name);if(!(w&&w.pathname&&UI.some(function(_){return w.pathname.indexOf(_)===0})))return g}((p=(d=h).requestHeaders,wt(p)||Ne(Object.keys(p!=null?p:{}),function(g){jI.includes(g.toLowerCase())&&(p[g]=Tc)}),d)));var d,p},f=en(t.session_recording.maskNetworkRequestFn);return f&&en(t.session_recording.maskCapturedNetworkRequestFn)&&L.warn("Both `maskNetworkRequestFn` and `maskCapturedNetworkRequestFn` are defined. `maskNetworkRequestFn` will be ignored."),f&&(t.session_recording.maskCapturedNetworkRequestFn=function(h){var d=t.session_recording.maskNetworkRequestFn({url:h.name});return G(G({},h),{},{name:d==null?void 0:d.url})}),r.maskRequestFn=en(t.session_recording.maskCapturedNetworkRequestFn)?function(h){var d,p,g,w=c(h);return w&&(d=(p=(g=t.session_recording).maskCapturedNetworkRequestFn)===null||p===void 0?void 0:p.call(g,w))!==null&&d!==void 0?d:void 0}:function(h){return function(d){if(!ne(d))return d.requestBody=Sd(d.requestBody,"Request"),d.responseBody=Sd(d.responseBody,"Response"),d}(c(h))},G(G(G({},eo),r),{},{recordHeaders:o,recordBody:a,recordPerformance:l,recordInitialRequests:l})},zI=Se(function t(e){var n,i,s=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};we(this,t),A(this,"bucketSize",100),A(this,"refillRate",10),A(this,"mutationBuckets",{}),A(this,"loggedTracker",{}),A(this,"refillBuckets",function(){Object.keys(s.mutationBuckets).forEach(function(o){s.mutationBuckets[o]=s.mutationBuckets[o]+s.refillRate,s.mutationBuckets[o]>=s.bucketSize&&delete s.mutationBuckets[o]})}),A(this,"getNodeOrRelevantParent",function(o){var a=s.rrweb.mirror.getNode(o);if((a==null?void 0:a.nodeName)!=="svg"&&a instanceof Element){var l=a.closest("svg");if(l)return[s.rrweb.mirror.getId(l),l]}return[o,a]}),A(this,"numberOfChanges",function(o){var a,l,u,c,f,h,d,p;return((a=(l=o.removes)===null||l===void 0?void 0:l.length)!==null&&a!==void 0?a:0)+((u=(c=o.attributes)===null||c===void 0?void 0:c.length)!==null&&u!==void 0?u:0)+((f=(h=o.texts)===null||h===void 0?void 0:h.length)!==null&&f!==void 0?f:0)+((d=(p=o.adds)===null||p===void 0?void 0:p.length)!==null&&d!==void 0?d:0)}),A(this,"throttleMutations",function(o){if(o.type!==3||o.data.source!==0)return o;var a=o.data,l=s.numberOfChanges(a);a.attributes&&(a.attributes=a.attributes.filter(function(c){var f,h,d,p=ht(s.getNodeOrRelevantParent(c.id),2),g=p[0],w=p[1];return s.mutationBuckets[g]===0?!1:(s.mutationBuckets[g]=(f=s.mutationBuckets[g])!==null&&f!==void 0?f:s.bucketSize,s.mutationBuckets[g]=Math.max(s.mutationBuckets[g]-1,0),s.mutationBuckets[g]===0&&(s.loggedTracker[g]||(s.loggedTracker[g]=!0,(h=(d=s.options).onBlockedNode)===null||h===void 0||h.call(d,g,w))),c)}));var u=s.numberOfChanges(a);return u!==0||l===u?o:void 0}),this.rrweb=e,this.options=r,this.refillRate=(n=this.options.refillRate)!==null&&n!==void 0?n:this.refillRate,this.bucketSize=(i=this.options.bucketSize)!==null&&i!==void 0?i:this.bucketSize,setInterval(function(){s.refillBuckets()},1e3)}),VI=3e5,WI=[vn.MouseMove,vn.MouseInteraction,vn.Scroll,vn.ViewportResize,vn.Input,vn.TouchMove,vn.MediaInteraction,vn.Drag],kd=function(t){return{rrwebMethod:t,enqueuedAt:Date.now(),attempt:1}},Ft="[SessionRecording]",KI=function(){function t(e){var n=this;if(we(this,t),A(this,"queuedRRWebEvents",[]),A(this,"isIdle",!1),A(this,"_linkedFlagSeen",!1),A(this,"_lastActivityTimestamp",Date.now()),A(this,"_linkedFlag",null),A(this,"_forceAllowLocalhostNetworkCapture",!1),A(this,"_samplingSessionListener",null),this.instance=e,this._captureStarted=!1,this._endpoint="/s/",this.stopRrweb=void 0,this.receivedDecide=!1,C==null||C.addEventListener("beforeunload",function(){n._flushBuffer()}),C==null||C.addEventListener("offline",function(){n._tryAddCustomEvent("browser offline",{})}),C==null||C.addEventListener("online",function(){n._tryAddCustomEvent("browser online",{})}),C==null||C.addEventListener("visibilitychange",function(){if(Q!=null&&Q.visibilityState){var o="window "+Q.visibilityState;n._tryAddCustomEvent(o,{})}}),!this.instance.sessionManager)throw L.error(Ft+" started without valid sessionManager"),new Error(Ft+" started without valid sessionManager. This is a bug.");var i=this.sessionManager.checkAndGetSessionAndWindowId(),s=i.sessionId,r=i.windowId;this.sessionId=s,this.windowId=r,this.buffer=this.clearBuffer(),this._setupSampling()}return Se(t,[{key:"rrwebRecord",get:function(){var e;return Ue==null||(e=Ue.rrweb)===null||e===void 0?void 0:e.record}},{key:"started",get:function(){return this._captureStarted}},{key:"sessionManager",get:function(){if(!this.instance.sessionManager)throw new Error(Ft+" must be started with a valid sessionManager.");return this.instance.sessionManager}},{key:"fullSnapshotIntervalMillis",get:function(){var e;return((e=this.instance.config.session_recording)===null||e===void 0?void 0:e.full_snapshot_interval_millis)||VI}},{key:"isSampled",get:function(){var e=this.instance.get_property(Qs);return Bi(e)?e:null}},{key:"sessionDuration",get:function(){var e,n,i=(e=this.buffer)===null||e===void 0?void 0:e.data[((n=this.buffer)===null||n===void 0?void 0:n.data.length)-1],s=this.sessionManager.checkAndGetSessionAndWindowId(!0).sessionStartTimestamp;return i?i.timestamp-s:null}},{key:"isRecordingEnabled",get:function(){var e=!!this.instance.get_property(cc),n=!this.instance.config.disable_session_recording;return C&&e&&n}},{key:"isConsoleLogCaptureEnabled",get:function(){var e=!!this.instance.get_property(id),n=this.instance.config.enable_recording_console_log;return n!=null?n:e}},{key:"canvasRecording",get:function(){var e=this.instance.get_property(rd);return e&&e.fps&&e.quality?{enabled:e.enabled,fps:e.fps,quality:e.quality}:void 0}},{key:"networkPayloadCapture",get:function(){var e,n,i=this.instance.get_property(sd),s={recordHeaders:(e=this.instance.config.session_recording)===null||e===void 0?void 0:e.recordHeaders,recordBody:(n=this.instance.config.session_recording)===null||n===void 0?void 0:n.recordBody},r=(s==null?void 0:s.recordHeaders)||(i==null?void 0:i.recordHeaders),o=(s==null?void 0:s.recordBody)||(i==null?void 0:i.recordBody),a=st(this.instance.config.capture_performance)?this.instance.config.capture_performance.network_timing:this.instance.config.capture_performance,l=!!(Bi(a)?a:i==null?void 0:i.capturePerformance);return r||o||l?{recordHeaders:r,recordBody:o,recordPerformance:l}:void 0}},{key:"sampleRate",get:function(){var e=this.instance.get_property(od);return Mt(e)?e:null}},{key:"minimumDuration",get:function(){var e=this.instance.get_property(ad);return Mt(e)?e:null}},{key:"status",get:function(){return this.receivedDecide?this.isRecordingEnabled?wt(this._linkedFlag)||this._linkedFlagSeen?Bi(this.isSampled)?this.isSampled?"sampled":"disabled":"active":"buffering":"disabled":"buffering"}},{key:"startIfEnabledOrStop",value:function(){this.isRecordingEnabled?(this._startCapture(),L.info(Ft+" started")):(this.stopRecording(),this.clearBuffer())}},{key:"stopRecording",value:function(){this._captureStarted&&this.stopRrweb&&(this.stopRrweb(),this.stopRrweb=void 0,this._captureStarted=!1,L.info(Ft+" stopped"))}},{key:"makeSamplingDecision",value:function(e){var n,i=this.sessionId!==e,s=this.sampleRate;if(Mt(s)){var r,o=this.isSampled,a=i||!Bi(o);a?r=Math.random()1&&arguments[1]!==void 0?arguments[1]:"log";(n=this.instance.sessionRecording)===null||n===void 0||n.onRRwebEmit({type:6,data:{plugin:"rrweb/console@1",payload:{level:i,trace:[],payload:[JSON.stringify(e)]}},timestamp:xm()})}},{key:"_startCapture",value:function(){var e=this;ne(Object.assign)||this._captureStarted||this.instance.config.disable_session_recording||this.instance.consent.isOptedOut()||(this._captureStarted=!0,this.sessionManager.checkAndGetSessionAndWindowId(),this.rrwebRecord?this._onScriptLoaded():this.instance.requestRouter.loadScript("/static/recorder.js?v=".concat(Yt.LIB_VERSION),function(n){if(n)return L.error(Ft+" could not load recorder.js",n);e._onScriptLoaded()}))}},{key:"isInteractiveEvent",value:function(e){var n;return e.type===3&&WI.indexOf((n=e.data)===null||n===void 0?void 0:n.source)!==-1}},{key:"_updateWindowAndSessionIds",value:function(e){var n=this.isInteractiveEvent(e);n||this.isIdle||e.timestamp-this._lastActivityTimestamp>3e5&&(this.isIdle=!0,clearTimeout(this._fullSnapshotTimer),this._flushBuffer());var i=!1;if(n&&(this._lastActivityTimestamp=e.timestamp,this.isIdle&&(this.isIdle=!1,this._tryAddCustomEvent("sessionNoLongerIdle",{reason:"user activity",type:e.type}),i=!0)),!this.isIdle){var s=this.sessionManager.checkAndGetSessionAndWindowId(!n,e.timestamp),r=s.windowId,o=s.sessionId,a=this.sessionId!==o,l=this.windowId!==r;this.windowId=r,this.sessionId=o,(i||[NI,AI].indexOf(e.type)===-1&&(l||a||ne(this._fullSnapshotTimer)))&&this._tryTakeFullSnapshot()}}},{key:"_tryRRWebMethod",value:function(e){try{return e.rrwebMethod(),!0}catch(n){return this.queuedRRWebEvents.length<10?this.queuedRRWebEvents.push({enqueuedAt:e.enqueuedAt||Date.now(),attempt:e.attempt++,rrwebMethod:e.rrwebMethod}):L.warn(Ft+" could not emit queued rrweb event.",n,e),!1}}},{key:"_tryAddCustomEvent",value:function(e,n){var i=this;return this._tryRRWebMethod(kd(function(){return i.rrwebRecord.addCustomEvent(e,n)}))}},{key:"_tryTakeFullSnapshot",value:function(){var e=this;return this._tryRRWebMethod(kd(function(){return e.rrwebRecord.takeFullSnapshot()}))}},{key:"_onScriptLoaded",value:function(){for(var e,n=this,i={blockClass:"ph-no-capture",blockSelector:void 0,ignoreClass:"ph-ignore-input",maskTextClass:"ph-mask",maskTextSelector:void 0,maskTextFn:void 0,maskAllInputs:!0,maskInputOptions:{password:!0},maskInputFn:void 0,slimDOMOptions:{},collectFonts:!1,inlineStylesheet:!0,recordCrossOriginIframes:!1},s=this.instance.config.session_recording,r=0,o=Object.entries(s||{});r10&&(l.data.payload.payload=l.data.payload.payload.slice(0,10),l.data.payload.payload.push("...[truncated]"));for(var u=[],c=0;c2e3?u.push(l.data.payload.payload[c].slice(0,2e3)+"...[truncated]"):u.push(l.data.payload.payload[c]);return l.data.payload.payload=u,a}return a}(i),r=bc(s);if(this._updateWindowAndSessionIds(s),!this.isIdle||s.type===_o.Custom){var o={$snapshot_bytes:r,$snapshot_data:s,$session_id:this.sessionId,$window_id:this.windowId};this.status!=="disabled"?this._captureSnapshotBuffered(o):this.clearBuffer()}}}}},{key:"_pageViewFallBack",value:function(){if(!this.instance.config.capture_pageview&&C){var e=this._maskUrl(C.location.href);this._lastHref!==e&&(this._tryAddCustomEvent("$url_changed",{href:e}),this._lastHref=e)}}},{key:"_processQueuedEvents",value:function(){var e=this;if(this.queuedRRWebEvents.length){var n=Tn(this.queuedRRWebEvents);this.queuedRRWebEvents=[],n.forEach(function(i){Date.now()-i.enqueuedAt<=2e3&&e._tryRRWebMethod(i)})}}},{key:"_maskUrl",value:function(e){var n=this.instance.config.session_recording;if(n.maskNetworkRequestFn){var i,s={url:e};return(i=s=n.maskNetworkRequestFn(s))===null||i===void 0?void 0:i.url}return e}},{key:"clearBuffer",value:function(){return this.buffer={size:0,data:[],sessionId:this.sessionId,windowId:this.windowId},this.buffer}},{key:"_flushBuffer",value:function(){var e=this;this.flushBufferTimer&&(clearTimeout(this.flushBufferTimer),this.flushBufferTimer=void 0);var n=this.minimumDuration,i=this.sessionDuration,s=Mt(i)&&i>=0,r=Mt(n)&&s&&i0&&wc(this.buffer).forEach(function(o){e._captureSnapshot({$snapshot_bytes:o.size,$snapshot_data:o.data,$session_id:o.sessionId,$window_id:o.windowId})}),this.clearBuffer())}},{key:"_captureSnapshotBuffered",value:function(e){var n,i=this,s=2+(((n=this.buffer)===null||n===void 0?void 0:n.data.length)||0);(this.buffer.size+e.$snapshot_bytes+s>943718.4||this.buffer.sessionId!==this.sessionId)&&(this.buffer=this._flushBuffer()),this.buffer.size+=e.$snapshot_bytes,this.buffer.data.push(e.$snapshot_data),this.flushBufferTimer||(this.flushBufferTimer=setTimeout(function(){i._flushBuffer()},2e3))}},{key:"_captureSnapshot",value:function(e){this.instance.capture("$snapshot",e,{_url:this.instance.requestRouter.endpointFor("api",this._endpoint),_noTruncate:!0,_batchKey:"recordings"})}}]),t}(),XI=function(){function t(e){we(this,t),this.instance=e,this.instance.decideEndpointWasHit=this.instance._hasBootstrappedFeatureFlags()}return Se(t,[{key:"call",value:function(){var e=this,n={token:this.instance.config.token,distinct_id:this.instance.get_distinct_id(),groups:this.instance.getGroups(),person_properties:this.instance.get_property(qi),group_properties:this.instance.get_property(Hn),disable_flags:this.instance.config.advanced_disable_feature_flags||this.instance.config.advanced_disable_feature_flags_on_first_load||void 0};this.instance._send_request({method:"POST",url:this.instance.requestRouter.endpointFor("api","/decide/?v=3"),data:n,compression:this.instance.config.disable_compression?void 0:Jt.Base64,timeout:this.instance.config.feature_flag_request_timeout_ms,callback:function(i){return e.parseDecideResponse(i.json)}})}},{key:"parseDecideResponse",value:function(e){var n=this;this.instance.featureFlags.setReloadingPaused(!1),this.instance.featureFlags._startReloadTimer();var i=!e;if(this.instance.config.advanced_disable_feature_flags_on_first_load||this.instance.config.advanced_disable_feature_flags||this.instance.featureFlags.receivedFeatureFlags(e!=null?e:{},i),i)L.error("Failed to fetch feature flags from PostHog.");else{if(!Q||!Q.body)return L.info("document not ready yet, trying again in 500 milliseconds..."),void setTimeout(function(){n.parseDecideResponse(e)},500);if(this.instance._afterDecideResponse(e),e.siteApps)if(this.instance.config.opt_in_site_apps){var s,r=qt(e.siteApps);try{var o=function(){var a=s.value,l=a.id,u=a.url,c=n.instance.requestRouter.endpointFor("api",u);Ue["__$$ph_site_app_".concat(l)]=n.instance,n.instance.requestRouter.loadScript(c,function(f){if(f)return L.error("Error while initializing PostHog app with config id ".concat(l),f)})};for(r.s();!(s=r.n()).done;)o()}catch(a){r.e(a)}finally{r.f()}}else e.siteApps.length>0&&L.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}}]),t}(),GI=C!=null&&C.location?Go(C.location.hash,"__posthog")||Go(location.hash,"state"):null,Ed="_postHogToolbarParams";(function(t){t[t.UNINITIALIZED=0]="UNINITIALIZED",t[t.LOADING=1]="LOADING",t[t.LOADED=2]="LOADED"})(bn||(bn={}));var YI=function(){function t(e){we(this,t),this.instance=e}return Se(t,[{key:"setToolbarState",value:function(e){Ue.ph_toolbar_state=e}},{key:"getToolbarState",value:function(){var e;return(e=Ue.ph_toolbar_state)!==null&&e!==void 0?e:bn.UNINITIALIZED}},{key:"maybeLoadToolbar",value:function(){var e,n,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;if(!C||!Q)return!1;i=(e=i)!==null&&e!==void 0?e:C.location,r=(n=r)!==null&&n!==void 0?n:C.history;try{if(!s){try{C.localStorage.setItem("test","test"),C.localStorage.removeItem("test")}catch{return!1}s=C==null?void 0:C.localStorage}var o,a=GI||Go(i.hash,"__posthog")||Go(i.hash,"state"),l=a?Qh(function(){return JSON.parse(atob(decodeURIComponent(a)))})||Qh(function(){return JSON.parse(decodeURIComponent(a))}):null;return l&&l.action==="ph_authorize"?((o=l).source="url",o&&Object.keys(o).length>0&&(l.desiredHash?i.hash=l.desiredHash:r?r.replaceState(r.state,"",i.pathname+i.search):i.hash="")):((o=JSON.parse(s.getItem(Ed)||"{}")).source="localstorage",delete o.userIntent),!(!o.token||this.instance.config.token!==o.token)&&(this.loadToolbar(o),!0)}catch{return!1}}},{key:"_callLoadToolbar",value:function(e){(Ue.ph_load_toolbar||Ue.ph_load_editor)(e,this.instance)}},{key:"loadToolbar",value:function(e){var n=this,i=!(Q==null||!Q.getElementById(mc));if(!C||i)return!1;var s=this.instance.requestRouter.region==="custom"&&this.instance.config.advanced_disable_toolbar_metrics,r=G(G({token:this.instance.config.token},e),{},{apiURL:this.instance.requestRouter.endpointFor("ui")},s?{instrument:!1}:{});if(C.localStorage.setItem(Ed,JSON.stringify(G(G({},r),{},{source:void 0}))),this.getToolbarState()===bn.LOADED)this._callLoadToolbar(r);else if(this.getToolbarState()===bn.UNINITIALIZED){this.setToolbarState(bn.LOADING);var o=3e5,a=Math.floor(Date.now()/o)*o;this.instance.requestRouter.loadScript("/static/toolbar.js?t=".concat(a),function(l){if(l)return L.error("Failed to load toolbar",l),void n.setToolbarState(bn.UNINITIALIZED);n.setToolbarState(bn.LOADED),n._callLoadToolbar(r)}),Sn(C,"turbolinks:load",function(){n.setToolbarState(bn.UNINITIALIZED),n.loadToolbar(r)})}return!0}},{key:"_loadEditor",value:function(e){return this.loadToolbar(e)}},{key:"maybeLoadEditor",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return this.maybeLoadToolbar(e,n,i)}}]),t}(),JI=function(){function t(e){we(this,t),A(this,"isPaused",!0),A(this,"queue",[]),A(this,"flushTimeoutMs",3e3),this.sendRequest=e}return Se(t,[{key:"enqueue",value:function(e){this.queue.push(e),this.flushTimeout||this.setFlushTimeout()}},{key:"unload",value:function(){var e=this;this.clearFlushTimeout();var n=this.queue.length>0?this.formatQueue():{},i=Object.values(n);[].concat(Tn(i.filter(function(s){return s.url.indexOf("/e")===0})),Tn(i.filter(function(s){return s.url.indexOf("/e")!==0}))).map(function(s){e.sendRequest(G(G({},s),{},{transport:"sendBeacon"}))})}},{key:"enable",value:function(){this.isPaused=!1,this.setFlushTimeout()}},{key:"setFlushTimeout",value:function(){var e=this;this.isPaused||(this.flushTimeout=setTimeout(function(){if(e.clearFlushTimeout(),e.queue.length>0){var n=e.formatQueue(),i=function(r){var o=n[r],a=new Date().getTime();o.data&&Ze(o.data)&&Ne(o.data,function(l){l.offset=Math.abs(l.timestamp-a),delete l.timestamp}),e.sendRequest(o)};for(var s in n)i(s)}},this.flushTimeoutMs))}},{key:"clearFlushTimeout",value:function(){clearTimeout(this.flushTimeout),this.flushTimeout=void 0}},{key:"formatQueue",value:function(){var e={};return Ne(this.queue,function(n){var i,s=n,r=(s?s.batchKey:null)||s.url;ne(e[r])&&(e[r]=G(G({},s),{},{data:[]})),(i=e[r].data)===null||i===void 0||i.push(s.data)}),this.queue=[],e}}]),t}(),Ot=Uint8Array,pt=Uint16Array,vs=Uint32Array,Tu=new Ot([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Iu=new Ot([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Td=new Ot([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ev=function(t,e){for(var n=new pt(31),i=0;i<31;++i)n[i]=e+=1<>>1|(21845&$e)<<1;ri=(61680&(ri=(52428&ri)>>>2|(13107&ri)<<2))>>>4|(3855&ri)<<4,xc[$e]=((65280&ri)>>>8|(255&ri)<<8)>>>1}var er=function(t,e,n){for(var i=t.length,s=0,r=new pt(e);s>>l]=u}else for(o=new pt(i),s=0;s>>15-t[s];return o},Si=new Ot(288);for($e=0;$e<144;++$e)Si[$e]=8;for($e=144;$e<256;++$e)Si[$e]=9;for($e=256;$e<280;++$e)Si[$e]=7;for($e=280;$e<288;++$e)Si[$e]=8;var Zo=new Ot(32);for($e=0;$e<32;++$e)Zo[$e]=5;var ZI=er(Si,9,0),ex=er(Zo,5,0),nv=function(t){return(t/8>>0)+(7&t&&1)},iv=function(t,e,n){(e==null||e<0)&&(e=0),(n==null||n>t.length)&&(n=t.length);var i=new(t instanceof pt?pt:t instanceof vs?vs:Ot)(n-e);return i.set(t.subarray(e,n)),i},pn=function(t,e,n){n<<=7&e;var i=e/8>>0;t[i]|=n,t[i+1]|=n>>>8},Fs=function(t,e,n){n<<=7&e;var i=e/8>>0;t[i]|=n,t[i+1]|=n>>>8,t[i+2]|=n>>>16},cl=function(t,e){for(var n=[],i=0;ih&&(h=r[i].s);var d=new pt(h+1),p=tx(n[c-1],d,0);if(p>e){i=0;var g=0,w=p-e,_=1<e))break;g+=_-(1<>>=w;g>0;){var y=r[i].s;d[y]=0&&g;--i){var b=r[i].s;d[b]==e&&(--d[b],++g)}p=e}return[new Ot(d),p]},tx=function t(e,n,i){return e.s==-1?Math.max(t(e.l,n,i+1),t(e.r,n,i+1)):n[e.s]=i},xd=function(t){for(var e=t.length;e&&!t[--e];);for(var n=new pt(++e),i=0,s=t[0],r=1,o=function(l){n[i++]=l},a=1;a<=e;++a)if(t[a]==s&&a!=e)++r;else{if(!s&&r>2){for(;r>138;r-=138)o(32754);r>2&&(o(r>10?r-11<<5|28690:r-3<<5|12305),r=0)}else if(r>3){for(o(s),--r;r>6;r-=6)o(8304);r>2&&(o(r-3<<5|8208),r=0)}for(;r--;)o(s);r=1,s=t[a]}return[n.subarray(0,i),e]},Ms=function(t,e){for(var n=0,i=0;i>>8,t[s+2]=255^t[s],t[s+3]=255^t[s+1];for(var r=0;r4&&!N[Td[F-1]];--F);var z,M,J,H,Y=u+5<<3,K=Ms(s,Si)+Ms(r,Zo)+o,ce=Ms(s,h)+Ms(r,g)+o+14+3*F+Ms(x,N)+(2*x[16]+3*x[17]+7*x[18]);if(Y<=K&&Y<=ce)return bo(e,c,t.subarray(l,l+u));if(pn(e,c,1+(ce15&&(pn(e,c,Pe[k]>>>5&127),c+=Pe[k]>>>12)}}}else z=ZI,M=Si,J=ex,H=Zo;for(k=0;k255){Te=i[k]>>>18&31,Fs(e,c,z[Te+257]),c+=M[Te+257],Te>7&&(pn(e,c,i[k]>>>23&31),c+=Tu[Te]);var O=31&i[k];Fs(e,c,J[O]),c+=H[O],O>3&&(Fs(e,c,i[k]>>>5&8191),c+=Iu[O])}else Fs(e,c,z[i[k]]),c+=M[i[k]];return Fs(e,c,z[256]),c+M[256]},nx=new vs([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),ix=new Ot(0),sx=function(){for(var t=new vs(256),e=0;e<256;++e){for(var n=e,i=9;--i;)n=(1&n&&3988292384)^n>>>1;t[e]=n}return t}(),rx=function(t,e,n,i,s){return function(r,o,a,l,u,c){var f=r.length,h=new Ot(l+f+5*(1+Math.floor(f/7e3))+u),d=h.subarray(l,h.length-u),p=0;if(!o||f<8)for(var g=0;g<=f;g+=65535){var w=g+65535;w>>13,y=8191&_,b=(1<7e3||J>24576)&&Ee>423){p=Cd(r,d,0,N,j,F,M,J,Y,g-Y,p),J=z=M=0,Y=g;for(var de=0;de<286;++de)j[de]=0;for(de=0;de<30;++de)F[de]=0}var Pe=2,Te=0,O=y,q=ce-Ke&32767;if(Ee>2&&K==I(g-q))for(var V=Math.min(m,Ee)-1,ee=Math.min(32767,g),he=Math.min(258,Ee);q<=ee&&--O&&ce!=Ke;){if(r[g+Pe]==r[g+Pe-q]){for(var me=0;mePe){if(Pe=me,Te=q,me>V)break;var ue=Math.min(q,me-2),v=0;for(de=0;dev&&(v=R,Ke=S)}}}q+=(ce=Ke)-(Ke=E[ce])+32768&32767}if(Te){N[J++]=268435456|Ic[Pe]<<18|Id[Te];var P=31&Ic[Pe],D=31&Id[Te];M+=Tu[P]+Iu[D],++j[257+P],++F[D],H=g+Pe,++z}else N[J++]=r[g],++j[r[g]]}}p=Cd(r,d,c,N,j,F,M,J,Y,g-Y,p),c||(p=bo(d,p,ix))}return iv(h,0,l+nv(p)+u)}(t,e.level==null?6:e.level,e.mem==null?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(t.length)))):12+e.mem,n,i,!s)},ul=function(t,e,n){for(;n;++e)t[e]=n,n>>>=8};function ox(t,e){e===void 0&&(e={});var n=function(){var a=4294967295;return{p:function(l){for(var u=a,c=0;c>>8;a=u},d:function(){return 4294967295^a}}}(),i=t.length;n.p(t);var s,r=rx(t,e,10+((s=e).filename&&s.filename.length+1||0),8),o=r.length;return function(a,l){var u=l.filename;if(a[0]=31,a[1]=139,a[2]=8,a[8]=l.level<2?4:l.level==9?2:0,a[9]=3,l.mtime!=0&&ul(a,4,Math.floor(new Date(l.mtime||Date.now())/1e3)),u){a[3]=8;for(var c=0;c<=u.length;++c)a[c+10]=u.charCodeAt(c)}}(r,e),ul(r,o-8,n.d()),ul(r,o-4,i),r}var ax=!!rc||!!sc,Rd="text/plain",ea=function(t,e){var n=ht(t.split("?"),2),i=n[0],s=n[1],r=G({},e);s==null||s.split("&").forEach(function(a){var l=ht(a.split("="),1)[0];delete r[l]});var o=_I(r);return o=o?(s?s+"&":"")+o:s,"".concat(i,"?").concat(o)},lx=function(t){return"data="+encodeURIComponent(typeof t=="string"?t:JSON.stringify(t))},fl=function(t){var e=t.data,n=t.compression;if(e){if(n===Jt.GZipJS){var i=ox(function(r,o){var a=r.length;if(!o&&typeof TextEncoder<"u")return new TextEncoder().encode(r);for(var l=new Ot(r.length+(r.length>>>1)),u=0,c=function(p){l[u++]=p},f=0;fl.length){var h=new Ot(u+8+(a-f<<1));h.set(l),l=h}var d=r.charCodeAt(f);d<128||o?c(d):d<2048?(c(192|d>>>6),c(128|63&d)):d>55295&&d<57344?(c(240|(d=65536+(1047552&d)|1023&r.charCodeAt(++f))>>>18),c(128|d>>>12&63),c(128|d>>>6&63),c(128|63&d)):(c(224|d>>>12),c(128|d>>>6&63),c(128|63&d))}return iv(l,0,u)}(JSON.stringify(e)),{mtime:0});return{contentType:Rd,body:new Blob([i],{type:Rd})}}if(n===Jt.Base64){var s=function(r){var o,a,l,u,c,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",h=0,d=0,p="",g=[];if(!r)return r;r=oI(r);do o=(c=r.charCodeAt(h++)<<16|r.charCodeAt(h++)<<8|r.charCodeAt(h++))>>18&63,a=c>>12&63,l=c>>6&63,u=63&c,g[d++]=f.charAt(o)+f.charAt(a)+f.charAt(l)+f.charAt(u);while(h0&&(s.url=ea(s.url,{retry_count:i})),this.instance._send_request(G(G({},s),{},{callback:function(r){var o;r.statusCode!==200&&(r.statusCode<400||r.statusCode>=500)&&(i!=null?i:0)<10?n.enqueue(G({retriesPerformedSoFar:i},s)):(o=s.callback)===null||o===void 0||o.call(s,r)}}))}},{key:"enqueue",value:function(e){var n=e.retriesPerformedSoFar||0;e.retriesPerformedSoFar=n+1;var i=function(o){var a=3e3*Math.pow(2,o),l=a/2,u=Math.min(18e5,a),c=(Math.random()-.5)*(u-l);return Math.ceil(u+c)}(n),s=Date.now()+i;this.queue.push({retryAt:s,requestOptions:e});var r="Enqueued failed request for retry in ".concat(i);navigator.onLine||(r+=" (Browser is offline)"),L.warn(r),this.isPolling||(this.isPolling=!0,this.poll())}},{key:"poll",value:function(){var e=this;this.poller&&clearTimeout(this.poller),this.poller=setTimeout(function(){e.areWeOnline&&e.queue.length>0&&e.flush(),e.poll()},this.pollIntervalMs)}},{key:"flush",value:function(){var e=Date.now(),n=[],i=this.queue.filter(function(a){return a.retryAt0){var s,r=qt(i);try{for(r.s();!(s=r.n()).done;){var o=s.value.requestOptions;this.retriableRequest(o)}}catch(a){r.e(a)}finally{r.f()}}}},{key:"unload",value:function(){this.poller&&(clearTimeout(this.poller),this.poller=void 0);var e,n=qt(this.queue);try{for(n.s();!(e=n.n()).done;){var i=e.value.requestOptions;try{this.instance._send_request(G(G({},i),{},{transport:"sendBeacon"}))}catch(s){L.error(s)}}}catch(s){n.e(s)}finally{n.f()}this.queue=[]}}]),t}(),to=1800,fx=function(){function t(e,n,i,s){var r;we(this,t),A(this,"_sessionIdChangedHandlers",[]),this.config=e,this.persistence=n,this._windowId=void 0,this._sessionId=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null,this._sessionIdGenerator=i||qn,this._windowIdGenerator=s||qn;var o=e.persistence_name||e.token,a=e.session_idle_timeout_seconds||to;if(Mt(a)?a>to?L.warn("session_idle_timeout_seconds cannot be greater than 30 minutes. Using 30 minutes instead."):a<60&&L.warn("session_idle_timeout_seconds cannot be less than 60 seconds. Using 60 seconds instead."):(L.warn("session_idle_timeout_seconds must be a number. Defaulting to 30 minutes."),a=to),this._sessionTimeoutMs=1e3*Math.min(Math.max(a,60),to),this._window_id_storage_key="ph_"+o+"_window_id",this._primary_window_exists_storage_key="ph_"+o+"_primary_window_exists",this._canUseSessionStorage()){var l=it.parse(this._window_id_storage_key),u=it.parse(this._primary_window_exists_storage_key);l&&!u?this._windowId=l:it.remove(this._window_id_storage_key),it.set(this._primary_window_exists_storage_key,!0)}if((r=this.config.bootstrap)!==null&&r!==void 0&&r.sessionID)try{var c=function(f){var h=f.replace(/-/g,"");if(h.length!==32)throw new Error("Not a valid UUID");if(h[12]!=="7")throw new Error("Not a UUIDv7");return parseInt(h.substring(0,12),16)}(this.config.bootstrap.sessionID);this._setSessionId(this.config.bootstrap.sessionID,new Date().getTime(),c)}catch(f){L.error("Invalid sessionID in bootstrap",f)}this._listenToReloadWindow()}return Se(t,[{key:"onSessionId",value:function(e){var n=this;return ne(this._sessionIdChangedHandlers)&&(this._sessionIdChangedHandlers=[]),this._sessionIdChangedHandlers.push(e),this._sessionId&&e(this._sessionId,this._windowId),function(){n._sessionIdChangedHandlers=n._sessionIdChangedHandlers.filter(function(i){return i!==e})}}},{key:"_canUseSessionStorage",value:function(){return this.config.persistence!=="memory"&&!this.persistence.disabled&&it.is_supported()}},{key:"_setWindowId",value:function(e){e!==this._windowId&&(this._windowId=e,this._canUseSessionStorage()&&it.set(this._window_id_storage_key,e))}},{key:"_getWindowId",value:function(){return this._windowId?this._windowId:this._canUseSessionStorage()?it.parse(this._window_id_storage_key):null}},{key:"_setSessionId",value:function(e,n,i){e===this._sessionId&&n===this._sessionActivityTimestamp&&i===this._sessionStartTimestamp||(this._sessionStartTimestamp=i,this._sessionActivityTimestamp=n,this._sessionId=e,this.persistence.register(A({},Vo,[n,e,i])))}},{key:"_getSessionId",value:function(){if(this._sessionId&&this._sessionActivityTimestamp&&this._sessionStartTimestamp)return[this._sessionActivityTimestamp,this._sessionId,this._sessionStartTimestamp];var e=this.persistence.props[Vo];return Ze(e)&&e.length===2&&e.push(e[0]),e||[0,null,0]}},{key:"resetSessionId",value:function(){this._setSessionId(null,null,null)}},{key:"_listenToReloadWindow",value:function(){var e=this;C==null||C.addEventListener("beforeunload",function(){e._canUseSessionStorage()&&it.remove(e._primary_window_exists_storage_key)})}},{key:"checkAndGetSessionAndWindowId",value:function(){var e=arguments.length>0&&arguments[0]!==void 0&&arguments[0],n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:null)||new Date().getTime(),i=ht(this._getSessionId(),3),s=i[0],r=i[1],o=i[2],a=this._getWindowId(),l=o&&o>0&&Math.abs(n-o)>864e5,u=!1,c=!r,f=!e&&Math.abs(n-s)>this._sessionTimeoutMs;c||f||l?(r=this._sessionIdGenerator(),a=this._windowIdGenerator(),L.info("[SessionId] new session ID generated",{sessionId:r,windowId:a,changeReason:{noSessionId:c,activityTimeout:f,sessionPastMaximumLength:l}}),o=n,u=!0):a||(a=this._windowIdGenerator(),u=!0);var h=s===0||!e||l?n:s,d=o===0?new Date().getTime():o;return this._setWindowId(a),this._setSessionId(r,h,d),u&&this._sessionIdChangedHandlers.forEach(function(p){return p(r,a)}),{sessionId:r,windowId:a,sessionStartTimestamp:d}}}]),t}();(function(t){t.US="us",t.EU="eu",t.CUSTOM="custom"})(pi||(pi={}));var Od="i.posthog.com",hx=function(){function t(e){we(this,t),A(this,"_regionCache",{}),this.instance=e}return Se(t,[{key:"apiHost",get:function(){return this.instance.config.api_host.trim().replace(/\/$/,"")}},{key:"uiHost",get:function(){var e,n=(e=this.instance.config.ui_host)===null||e===void 0?void 0:e.replace(/\/$/,"");return n==="https://app.posthog.com"?"https://us.posthog.com":n}},{key:"region",get:function(){return this._regionCache[this.apiHost]||(/https:\/\/(app|us|us-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?this._regionCache[this.apiHost]=pi.US:/https:\/\/(eu|eu-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?this._regionCache[this.apiHost]=pi.EU:this._regionCache[this.apiHost]=pi.CUSTOM),this._regionCache[this.apiHost]}},{key:"endpointFor",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";if(n&&(n=n[0]==="/"?n:"/".concat(n)),e==="ui")return(this.uiHost||this.apiHost.replace(".".concat(Od),".posthog.com"))+n;if(this.region===pi.CUSTOM)return this.apiHost+n;var i=Od+n;switch(e){case"assets":return"https://".concat(this.region,"-assets.").concat(i);case"api":return"https://".concat(this.region,".").concat(i)}}},{key:"loadScript",value:function(e,n){if(this.instance.config.disable_external_dependency_loading)return L.warn("".concat(e," was requested but loading of external scripts is disabled.")),n("Loading of external scripts is disabled");var i=e[0]==="/"?this.endpointFor("assets",e):e,s=function(){if(!Q)return n("document not found");var r=Q.createElement("script");r.type="text/javascript",r.src=i,r.onload=function(l){return n(void 0,l)},r.onerror=function(l){return n(l)};var o,a=Q.querySelectorAll("body > script");a.length>0?(o=a[0].parentNode)===null||o===void 0||o.insertBefore(r,a[0]):Q.body.appendChild(r)};Q!=null&&Q.body?s():Q==null||Q.addEventListener("DOMContentLoaded",s)}}]),t}(),Cc="/e/",no="[Exception Capture]",dx=function(){function t(e){var n,i,s=this;we(this,t),A(this,"originalOnUnhandledRejectionHandler",void 0),A(this,"startCapturing",function(){var r;if(C&&s.isEnabled&&!s.hasHandlers&&((r=C.onerror)===null||r===void 0||!r.__POSTHOG_INSTRUMENTED__)){var o=C.posthogErrorWrappingFunctions.wrapOnError,a=C.posthogErrorWrappingFunctions.wrapUnhandledRejection;if(o&&a)try{s.unwrapOnError=o(s.captureException.bind(s)),s.unwrapUnhandledRejection=a(s.captureException.bind(s))}catch(l){L.error(no+" failed to start",l),s.stopCapturing()}else L.error(no+" failed to load error wrapping functions - cannot start")}}),this.instance=e,this.remoteEnabled=!((n=this.instance.persistence)===null||n===void 0||!n.props[ed]),this._endpoint=((i=this.instance.persistence)===null||i===void 0?void 0:i.props[td])||Cc,this.startIfEnabled()}return Se(t,[{key:"endpoint",get:function(){return this._endpoint}},{key:"isEnabled",get:function(){var e;return(e=this.remoteEnabled)!==null&&e!==void 0&&e}},{key:"isCapturing",get:function(){var e;return!(C==null||(e=C.onerror)===null||e===void 0||!e.__POSTHOG_INSTRUMENTED__)}},{key:"hasHandlers",get:function(){return this.originalOnUnhandledRejectionHandler||this.unwrapOnError}},{key:"startIfEnabled",value:function(){this.isEnabled&&!this.isCapturing&&(L.info(no+" enabled, starting..."),this.loadScript(this.startCapturing))}},{key:"loadScript",value:function(e){this.hasHandlers&&e(),this.instance.requestRouter.loadScript(this.instance.requestRouter.endpointFor("assets","/static/exception-autocapture.js?v=".concat(Yt.LIB_VERSION)),function(n){if(n)return L.error(no+" failed to load script",n);e()})}},{key:"stopCapturing",value:function(){var e,n;(e=this.unwrapOnError)===null||e===void 0||e.call(this),(n=this.unwrapUnhandledRejection)===null||n===void 0||n.call(this)}},{key:"afterDecideResponse",value:function(e){var n=e.autocaptureExceptions;this.remoteEnabled=!!n||!1,this._endpoint=st(n)&&n.endpoint||Cc,this.instance.persistence&&(this.instance.persistence.register(A({},ed,this.remoteEnabled)),this.instance.persistence.register(A({},td,this._endpoint))),this.startIfEnabled()}},{key:"captureException",value:function(e){var n=this.instance.requestRouter.endpointFor("ui");e.$exception_personURL="".concat(n,"/project/").concat(this.instance.config.token,"/person/").concat(this.instance.get_distinct_id()),this.sendExceptionEvent(e)}},{key:"sendExceptionEvent",value:function(e){this.instance.capture("$exception",e,{_noTruncate:!0,_batchKey:"exceptionEvent",_url:this.endpoint})}}]),t}(),sv="posthog-js";function rv(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.organization,i=e.projectId,s=e.prefix,r=e.severityAllowList,o=r===void 0?["error"]:r;return function(a){var l,u,c,f,h,d;if(!(o==="*"||o.includes(a.level))||!t.__loaded)return a;a.tags||(a.tags={});var p=t.requestRouter.endpointFor("ui","/project/".concat(t.config.token,"/person/").concat(t.get_distinct_id()));a.tags["PostHog Person URL"]=p,t.sessionRecordingStarted()&&(a.tags["PostHog Recording URL"]=t.get_session_replay_url({withTimestamp:!0}));var g=((l=a.exception)===null||l===void 0?void 0:l.values)||[],w={$exception_message:((u=g[0])===null||u===void 0?void 0:u.value)||a.message,$exception_type:(c=g[0])===null||c===void 0?void 0:c.type,$exception_personURL:p,$exception_level:a.level,$sentry_event_id:a.event_id,$sentry_exception:a.exception,$sentry_exception_message:((f=g[0])===null||f===void 0?void 0:f.value)||a.message,$sentry_exception_type:(h=g[0])===null||h===void 0?void 0:h.type,$sentry_tags:a.tags,$level:a.level};return n&&i&&(w.$sentry_url=(s||"https://sentry.io/organizations/")+n+"/issues/?project="+i+"&query="+a.event_id),t.capture("$exception",w,{_url:((d=t.exceptionObserver)===null||d===void 0?void 0:d.endpoint)||Cc}),a}}var px=Se(function t(e,n,i,s,r){we(this,t),this.name=sv,this.setupOnce=function(o){o(rv(e,{organization:n,projectId:i,prefix:s,severityAllowList:r}))}});function gx(t,e){var n=t.config.segment;if(!n)return e();(function(i,s){var r=i.config.segment;if(!r)return s();var o=function(l){var u=function(){return l.anonymousId()||qn()};i.config.get_device_id=u,l.id()&&(i.register({distinct_id:l.id(),$device_id:u()}),i.persistence.set_property(_n,"identified")),s()},a=r.user();"then"in a&&en(a.then)?a.then(function(l){return o(l)}):o(a)})(t,function(){n.register(function(i){Promise&&Promise.resolve||L.warn("This browser does not have Promise support, and can not use the segment integration");var s=function(r,o){var a;if(!o)return r;r.event.userId||r.event.anonymousId===i.get_distinct_id()||i.reset(),r.event.userId&&r.event.userId!==i.get_distinct_id()&&(i.register({distinct_id:r.event.userId}),i.reloadFeatureFlags());var l=i._calculate_event_properties(o,(a=r.event.properties)!==null&&a!==void 0?a:{},new Date);return r.event.properties=Object.assign({},l,r.event.properties),r};return{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:function(r){return s(r,r.event.event)},page:function(r){return s(r,"$pageview")},identify:function(r){return s(r,"$identify")},screen:function(r){return s(r,"$screen")}}}(t)).then(function(){e()})})}var Nd,ta,Wt,mx=function(){function t(e){we(this,t),this._instance=e}return Se(t,[{key:"doPageView",value:function(e){var n,i=this._previousPageViewProperties(e);return this._currentPath=(n=C==null?void 0:C.location.pathname)!==null&&n!==void 0?n:"",this._instance.scrollManager.resetContext(),this._prevPageviewTimestamp=e,i}},{key:"doPageLeave",value:function(e){return this._previousPageViewProperties(e)}},{key:"_previousPageViewProperties",value:function(e){var n=this._currentPath,i=this._prevPageviewTimestamp,s=this._instance.scrollManager.getContext();if(!i)return{};var r={};if(s){var o=s.maxScrollHeight,a=s.lastScrollY,l=s.maxScrollY,u=s.maxContentHeight,c=s.lastContentY,f=s.maxContentY;ne(o)||ne(a)||ne(l)||ne(u)||ne(c)||ne(f)||(o=Math.ceil(o),a=Math.ceil(a),l=Math.ceil(l),u=Math.ceil(u),c=Math.ceil(c),f=Math.ceil(f),r={$prev_pageview_last_scroll:a,$prev_pageview_last_scroll_percentage:o<=1?1:io(a/o,0,1),$prev_pageview_max_scroll:l,$prev_pageview_max_scroll_percentage:o<=1?1:io(l/o,0,1),$prev_pageview_last_content:c,$prev_pageview_last_content_percentage:u<=1?1:io(c/u,0,1),$prev_pageview_max_content:f,$prev_pageview_max_content_percentage:u<=1?1:io(f/u,0,1)})}return n&&(r.$prev_pageview_pathname=n),i&&(r.$prev_pageview_duration=(e.getTime()-i.getTime())/1e3),r}}]),t}();function io(t,e,n){return Math.max(e,Math.min(t,n))}(function(t){t.Popover="popover",t.API="api",t.Widget="widget"})(Nd||(Nd={})),function(t){t.Open="open",t.MultipleChoice="multiple_choice",t.SingleChoice="single_choice",t.Rating="rating",t.Link="link"}(ta||(ta={})),function(t){t.NextQuestion="next_question",t.End="end",t.ResponseBased="response_based",t.SpecificQuestion="specific_question"}(Wt||(Wt={}));var ov=function(){function t(){we(this,t),A(this,"events",{}),this.events={}}return Se(t,[{key:"on",value:function(e,n){var i=this;return this.events[e]||(this.events[e]=[]),this.events[e].push(n),function(){i.events[e]=i.events[e].filter(function(s){return s!==n})}}},{key:"emit",value:function(e,n){var i,s=qt(this.events[e]||[]);try{for(s.s();!(i=s.n()).done;)(0,i.value)(n)}catch(a){s.e(a)}finally{s.f()}var r,o=qt(this.events["*"]||[]);try{for(o.s();!(r=o.n()).done;)(0,r.value)(e,n)}catch(a){o.e(a)}finally{o.f()}}}]),t}(),vx=function(){function t(e){var n=this;we(this,t),A(this,"_debugEventEmitter",new ov),A(this,"checkStep",function(i,s){return n.checkStepEvent(i,s)&&n.checkStepUrl(i,s)&&n.checkStepElement(i,s)}),A(this,"checkStepEvent",function(i,s){return s==null||!s.event||(i==null?void 0:i.event)===(s==null?void 0:s.event)}),this.instance=e,this.actionEvents=new Set,this.actionRegistry=new Set}return Se(t,[{key:"init",value:function(){var e,n=this;if(!ne((e=this.instance)===null||e===void 0?void 0:e._addCaptureHook)){var i;(i=this.instance)===null||i===void 0||i._addCaptureHook(function(s,r){n.on(s,r)})}}},{key:"register",value:function(e){var n,i,s=this;if(!ne((n=this.instance)===null||n===void 0?void 0:n._addCaptureHook)&&(e.forEach(function(a){var l,u;(l=s.actionRegistry)===null||l===void 0||l.add(a),(u=a.steps)===null||u===void 0||u.forEach(function(c){var f;(f=s.actionEvents)===null||f===void 0||f.add((c==null?void 0:c.event)||"")})}),(i=this.instance)!==null&&i!==void 0&&i.autocapture)){var r,o=new Set;e.forEach(function(a){var l;(l=a.steps)===null||l===void 0||l.forEach(function(u){u!=null&&u.selector&&o.add(u==null?void 0:u.selector)})}),(r=this.instance)===null||r===void 0||r.autocapture.setElementSelectors(o)}}},{key:"on",value:function(e,n){var i,s=this;n!=null&&e.length!=0&&(this.actionEvents.has(e)||this.actionEvents.has(n==null?void 0:n.event))&&this.actionRegistry&&((i=this.actionRegistry)===null||i===void 0?void 0:i.size)>0&&this.actionRegistry.forEach(function(r){s.checkAction(n,r)&&s._debugEventEmitter.emit("actionCaptured",r.name)})}},{key:"_addActionHook",value:function(e){this.onAction("actionCaptured",function(n){return e(n)})}},{key:"checkAction",value:function(e,n){if((n==null?void 0:n.steps)==null)return!1;var i,s=qt(n.steps);try{for(s.s();!(i=s.n()).done;){var r=i.value;if(this.checkStep(e,r))return!0}}catch(o){s.e(o)}finally{s.f()}return!1}},{key:"onAction",value:function(e,n){return this._debugEventEmitter.on(e,n)}},{key:"checkStepUrl",value:function(e,n){if(n!=null&&n.url){var i,s=e==null||(i=e.properties)===null||i===void 0?void 0:i.$current_url;if(!s||typeof s!="string"||!t.matchString(s,n==null?void 0:n.url,(n==null?void 0:n.url_matching)||"contains"))return!1}return!0}},{key:"checkStepElement",value:function(e,n){if((n!=null&&n.href||n!=null&&n.tag_name||n!=null&&n.text)&&!this.getElementsList(e).some(function(r){return!(n!=null&&n.href&&!t.matchString(r.href||"",n==null?void 0:n.href,(n==null?void 0:n.href_matching)||"exact"))&&(n==null||!n.tag_name||r.tag_name===(n==null?void 0:n.tag_name))&&!(n!=null&&n.text&&!t.matchString(r.text||"",n==null?void 0:n.text,(n==null?void 0:n.text_matching)||"exact")&&!t.matchString(r.$el_text||"",n==null?void 0:n.text,(n==null?void 0:n.text_matching)||"exact"))}))return!1;if(n!=null&&n.selector){var i,s=e==null||(i=e.properties)===null||i===void 0?void 0:i.$element_selectors;if(!s||!s.includes(n==null?void 0:n.selector))return!1}return!0}},{key:"getElementsList",value:function(e){return(e==null?void 0:e.properties.$elements)==null?[]:e==null?void 0:e.properties.$elements}}],[{key:"matchString",value:function(e,n,i){switch(i){case"regex":return!!C&&Xo(e,n);case"exact":return n===e;case"contains":var s=t.escapeStringRegexp(n).replace(/_/g,".").replace(/%/g,".*");return Xo(e,s);default:return!1}}},{key:"escapeStringRegexp",value:function(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}}]),t}(),Rc=function(){function t(e){we(this,t),this.instance=e,this.eventToSurveys=new Map,this.actionToSurveys=new Map}return Se(t,[{key:"register",value:function(e){var n;ne((n=this.instance)===null||n===void 0?void 0:n._addCaptureHook)||(this.setupEventBasedSurveys(e),this.setupActionBasedSurveys(e))}},{key:"setupActionBasedSurveys",value:function(e){var n=this,i=e.filter(function(s){var r,o,a,l;return((r=s.conditions)===null||r===void 0?void 0:r.actions)&&((o=s.conditions)===null||o===void 0||(a=o.actions)===null||a===void 0||(l=a.values)===null||l===void 0?void 0:l.length)>0});i.length!==0&&(this.actionMatcher==null&&(this.actionMatcher=new vx(this.instance),this.actionMatcher.init(),this.actionMatcher._addActionHook(function(s){n.onAction(s)})),i.forEach(function(s){var r,o,a,l,u,c,f,h,d,p;s.conditions&&(r=s.conditions)!==null&&r!==void 0&&r.actions&&(o=s.conditions)!==null&&o!==void 0&&(a=o.actions)!==null&&a!==void 0&&a.values&&((l=s.conditions)===null||l===void 0||(u=l.actions)===null||u===void 0||(c=u.values)===null||c===void 0?void 0:c.length)>0&&((f=n.actionMatcher)===null||f===void 0||f.register(s.conditions.actions.values),(h=s.conditions)===null||h===void 0||(d=h.actions)===null||d===void 0||(p=d.values)===null||p===void 0||p.forEach(function(g){if(g&&g.name){var w=n.actionToSurveys.get(g.name);w&&w.push(s.id),n.actionToSurveys.set(g.name,w||[s.id])}}))}))}},{key:"setupEventBasedSurveys",value:function(e){var n,i=this;e.filter(function(s){var r,o,a,l;return((r=s.conditions)===null||r===void 0?void 0:r.events)&&((o=s.conditions)===null||o===void 0||(a=o.events)===null||a===void 0||(l=a.values)===null||l===void 0?void 0:l.length)>0}).length!==0&&((n=this.instance)===null||n===void 0||n._addCaptureHook(function(s,r){i.onEvent(s,r)}),e.forEach(function(s){var r,o,a;(r=s.conditions)===null||r===void 0||(o=r.events)===null||o===void 0||(a=o.values)===null||a===void 0||a.forEach(function(l){if(l&&l.name){var u=i.eventToSurveys.get(l.name);u&&u.push(s.id),i.eventToSurveys.set(l.name,u||[s.id])}})}))}},{key:"onEvent",value:function(e,n){var i,s,r=((i=this.instance)===null||i===void 0||(s=i.persistence)===null||s===void 0?void 0:s.props[Gr])||[];if(t.SURVEY_SHOWN_EVENT_NAME==e&&n&&r.length>0){var o,a=n==null||(o=n.properties)===null||o===void 0?void 0:o.$survey_id;if(a){var l=r.indexOf(a);l>=0&&(r.splice(l,1),this._updateActivatedSurveys(r))}}else this.eventToSurveys.has(e)&&this._updateActivatedSurveys(r.concat(this.eventToSurveys.get(e)||[]))}},{key:"onAction",value:function(e){var n,i,s=((n=this.instance)===null||n===void 0||(i=n.persistence)===null||i===void 0?void 0:i.props[Gr])||[];this.actionToSurveys.has(e)&&this._updateActivatedSurveys(s.concat(this.actionToSurveys.get(e)||[]))}},{key:"_updateActivatedSurveys",value:function(e){var n,i;(n=this.instance)===null||n===void 0||(i=n.persistence)===null||i===void 0||i.register(A({},Gr,Tn(new Set(e))))}},{key:"getSurveys",value:function(){var e,n,i=(e=this.instance)===null||e===void 0||(n=e.persistence)===null||n===void 0?void 0:n.props[Gr];return i||[]}},{key:"getEventToSurveys",value:function(){return this.eventToSurveys}},{key:"_getActionMatcher",value:function(){return this.actionMatcher}}]),t}();A(Rc,"SURVEY_SHOWN_EVENT_NAME","survey shown");var Ds="[Surveys]",yx={icontains:function(t){return!!C&&C.location.href.toLowerCase().indexOf(t.toLowerCase())>-1},not_icontains:function(t){return!!C&&C.location.href.toLowerCase().indexOf(t.toLowerCase())===-1},regex:function(t){return!!C&&Xo(C.location.href,t)},not_regex:function(t){return!!C&&!Xo(C.location.href,t)},exact:function(t){return(C==null?void 0:C.location.href)===t},is_not:function(t){return(C==null?void 0:C.location.href)!==t}},_x=function(){function t(e){we(this,t),this.instance=e,this._surveyEventReceiver=null}return Se(t,[{key:"afterDecideResponse",value:function(e){this._decideServerResponse=!!e.surveys,this.loadIfEnabled()}},{key:"loadIfEnabled",value:function(){var e=this,n=Ue==null?void 0:Ue.extendPostHogWithSurveys;this.instance.config.disable_surveys||!this._decideServerResponse||n||(this._surveyEventReceiver==null&&(this._surveyEventReceiver=new Rc(this.instance)),this.instance.requestRouter.loadScript("/static/surveys.js",function(i){if(i)return L.error(Ds,"Could not load surveys script",i);e._surveyManager=Ue.extendPostHogWithSurveys(e.instance)}))}},{key:"getSurveys",value:function(e){var n=this,i=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(this.instance.config.disable_surveys)return e([]);this._surveyEventReceiver==null&&(this._surveyEventReceiver=new Rc(this.instance));var s=this.instance.get_property(fc);if(s&&!i)return e(s);this.instance._send_request({url:this.instance.requestRouter.endpointFor("api","/api/surveys/?token=".concat(this.instance.config.token)),method:"GET",transport:"XHR",callback:function(r){var o;if(r.statusCode!==200||!r.json)return e([]);var a,l=r.json.surveys||[],u=l.filter(function(c){var f,h,d,p,g,w,_,m,y,b,E,T;return((f=c.conditions)===null||f===void 0?void 0:f.events)&&((h=c.conditions)===null||h===void 0||(d=h.events)===null||d===void 0?void 0:d.values)&&((p=c.conditions)===null||p===void 0||(g=p.events)===null||g===void 0||(w=g.values)===null||w===void 0?void 0:w.length)>0||((_=c.conditions)===null||_===void 0?void 0:_.actions)&&((m=c.conditions)===null||m===void 0||(y=m.actions)===null||y===void 0?void 0:y.values)&&((b=c.conditions)===null||b===void 0||(E=b.actions)===null||E===void 0||(T=E.values)===null||T===void 0?void 0:T.length)>0});return u.length>0&&((a=n._surveyEventReceiver)===null||a===void 0||a.register(u)),(o=n.instance.persistence)===null||o===void 0||o.register(A({},fc,l)),e(l)}})}},{key:"getActiveMatchingSurveys",value:function(e){var n=this,i=arguments.length>1&&arguments[1]!==void 0&&arguments[1];this.getSurveys(function(s){var r,o=s.filter(function(u){return!(!u.start_date||u.end_date)}).filter(function(u){var c,f,h,d;if(!u.conditions)return!0;var p=(c=u.conditions)===null||c===void 0||!c.url||yx[(f=(h=u.conditions)===null||h===void 0?void 0:h.urlMatchType)!==null&&f!==void 0?f:"icontains"](u.conditions.url),g=(d=u.conditions)===null||d===void 0||!d.selector||(Q==null?void 0:Q.querySelector(u.conditions.selector));return p&&g}),a=(r=n._surveyEventReceiver)===null||r===void 0?void 0:r.getSurveys(),l=o.filter(function(u){var c,f,h,d,p,g,w,_,m,y;if(!u.linked_flag_key&&!u.targeting_flag_key&&!u.internal_targeting_flag_key)return!0;var b=!u.linked_flag_key||n.instance.featureFlags.isFeatureEnabled(u.linked_flag_key),E=!u.targeting_flag_key||n.instance.featureFlags.isFeatureEnabled(u.targeting_flag_key),T=((c=u.conditions)===null||c===void 0?void 0:c.events)&&((f=u.conditions)===null||f===void 0||(h=f.events)===null||h===void 0?void 0:h.values)&&((d=u.conditions)===null||d===void 0||(p=d.events)===null||p===void 0?void 0:p.values.length)>0,x=((g=u.conditions)===null||g===void 0?void 0:g.actions)&&((w=u.conditions)===null||w===void 0||(_=w.actions)===null||_===void 0?void 0:_.values)&&((m=u.conditions)===null||m===void 0||(y=m.actions)===null||y===void 0?void 0:y.values.length)>0,k=!T&&!x||(a==null?void 0:a.includes(u.id)),I=n._canActivateRepeatedly(u),N=!(u.internal_targeting_flag_key&&!I)||n.instance.featureFlags.isFeatureEnabled(u.internal_targeting_flag_key);return b&&E&&N&&k});return e(l)},i)}},{key:"getNextSurveyStep",value:function(e,n,i){var s,r=e.questions[n],o=n+1;if((s=r.branching)===null||s===void 0||!s.type)return n===e.questions.length-1?Wt.End:o;if(r.branching.type===Wt.End)return Wt.End;if(r.branching.type===Wt.SpecificQuestion){if(Number.isInteger(r.branching.index))return r.branching.index}else if(r.branching.type===Wt.ResponseBased){if(r.type===ta.SingleChoice){var a,l,u=r.choices.indexOf("".concat(i));if((a=r.branching)!==null&&a!==void 0&&(l=a.responseValues)!==null&&l!==void 0&&l.hasOwnProperty(u)){var c=r.branching.responseValues[u];return Number.isInteger(c)?c:c===Wt.End?Wt.End:o}}else if(r.type===ta.Rating){var f,h;if(typeof i!="number"||!Number.isInteger(i))throw new Error("The response type must be an integer");var d=function(g,w){if(w===3){if(g<1||g>3)throw new Error("The response must be in range 1-3");return g===1?"negative":g===2?"neutral":"positive"}if(w===5){if(g<1||g>5)throw new Error("The response must be in range 1-5");return g<=2?"negative":g===3?"neutral":"positive"}if(w===10){if(g<0||g>10)throw new Error("The response must be in range 0-10");return g<=6?"detractors":g<=8?"passives":"promoters"}throw new Error("The scale must be one of: 3, 5, 10")}(i,r.scale);if((f=r.branching)!==null&&f!==void 0&&(h=f.responseValues)!==null&&h!==void 0&&h.hasOwnProperty(d)){var p=r.branching.responseValues[d];return Number.isInteger(p)?p:p===Wt.End?Wt.End:o}}return o}return L.warn(Ds,"Falling back to next question index due to unexpected branching type"),o}},{key:"_canActivateRepeatedly",value:function(e){return wt(Ue.__PosthogExtensions__.canActivateRepeatedly)&&L.warn(Ds,"canActivateRepeatedly is not defined, must init before calling"),Ue.__PosthogExtensions__.canActivateRepeatedly(e)}},{key:"canRenderSurvey",value:function(e){var n=this;wt(this._surveyManager)?L.warn(Ds,"canActivateRepeatedly is not defined, must init before calling"):this.getSurveys(function(i){var s=i.filter(function(r){return r.id===e})[0];n._surveyManager.canRenderSurvey(s)})}},{key:"renderSurvey",value:function(e,n){var i=this;wt(this._surveyManager)?L.warn(Ds,"canActivateRepeatedly is not defined, must init before calling"):this.getSurveys(function(s){var r=s.filter(function(o){return o.id===e})[0];i._surveyManager.renderSurvey(r,Q==null?void 0:Q.querySelector(n))})}}]),t}(),bx=function(){function t(e){var n,i,s=this;we(this,t),A(this,"serverLimits",{}),A(this,"lastEventRateLimited",!1),A(this,"checkForLimiting",function(r){var o=r.text;if(o&&o.length)try{(JSON.parse(o).quota_limited||[]).forEach(function(a){L.info("[RateLimiter] ".concat(a||"events"," is quota limited.")),s.serverLimits[a]=new Date().getTime()+6e4})}catch(a){return void L.warn('[RateLimiter] could not rate limit - continuing. Error: "'.concat(a==null?void 0:a.message,'"'),{text:o})}}),this.instance=e,this.captureEventsPerSecond=((n=e.config.rate_limiting)===null||n===void 0?void 0:n.events_per_second)||10,this.captureEventsBurstLimit=Math.max(((i=e.config.rate_limiting)===null||i===void 0?void 0:i.events_burst_limit)||10*this.captureEventsPerSecond,this.captureEventsPerSecond),this.lastEventRateLimited=this.clientRateLimitContext(!0).isRateLimited}return Se(t,[{key:"clientRateLimitContext",value:function(){var e,n,i,s=arguments.length>0&&arguments[0]!==void 0&&arguments[0],r=new Date().getTime(),o=(e=(n=this.instance.persistence)===null||n===void 0?void 0:n.get_property(dc))!==null&&e!==void 0?e:{tokens:this.captureEventsBurstLimit,last:r};o.tokens+=(r-o.last)/1e3*this.captureEventsPerSecond,o.last=r,o.tokens>this.captureEventsBurstLimit&&(o.tokens=this.captureEventsBurstLimit);var a=o.tokens<1;return a||s||(o.tokens=Math.max(0,o.tokens-1)),!a||this.lastEventRateLimited||s||this.instance.capture("$$client_ingestion_warning",{$$client_ingestion_warning_message:"posthog-js client rate limited. Config is set to ".concat(this.captureEventsPerSecond," events per second and ").concat(this.captureEventsBurstLimit," events burst limit.")},{skip_client_rate_limiting:!0}),this.lastEventRateLimited=a,(i=this.instance.persistence)===null||i===void 0||i.set_property(dc,o),{isRateLimited:a,remainingTokens:o.tokens}}},{key:"isServerRateLimited",value:function(e){var n=this.serverLimits[e||"events"]||!1;return n!==!1&&new Date().getTime()t?e.slice(0,t)+"...":e}var jn,Ix=function(){function t(e){we(this,t),A(this,"_initialized",!1),A(this,"_isDisabledServerSide",null),A(this,"rageclicks",new av),A(this,"_elementsChainAsString",!1),this.instance=e,this._elementSelectors=null}return Se(t,[{key:"config",get:function(){var e,n,i=st(this.instance.config.autocapture)?this.instance.config.autocapture:{};return i.url_allowlist=(e=i.url_allowlist)===null||e===void 0?void 0:e.map(function(s){return new RegExp(s)}),i.url_ignorelist=(n=i.url_ignorelist)===null||n===void 0?void 0:n.map(function(s){return new RegExp(s)}),i}},{key:"_addDomEventHandlers",value:function(){var e=this;if(this.isBrowserSupported()){if(C&&Q){var n=function(s){s=s||(C==null?void 0:C.event);try{e._captureEvent(s)}catch(r){L.error("Failed to capture event",r)}},i=function(s){s=s||(C==null?void 0:C.event),e._captureEvent(s,hl)};Sn(Q,"submit",n,!1,!0),Sn(Q,"change",n,!1,!0),Sn(Q,"click",n,!1,!0),this.config.capture_copied_text&&(Sn(Q,"copy",i,!1,!0),Sn(Q,"cut",i,!1,!0))}}else L.info("Disabling Automatic Event Collection because this browser is not supported")}},{key:"startIfEnabled",value:function(){this.isEnabled&&!this._initialized&&(this._addDomEventHandlers(),this._initialized=!0)}},{key:"afterDecideResponse",value:function(e){e.elementsChainAsString&&(this._elementsChainAsString=e.elementsChainAsString),this.instance.persistence&&this.instance.persistence.register(A({},Zh,!!e.autocapture_opt_out)),this._isDisabledServerSide=!!e.autocapture_opt_out,this.startIfEnabled()}},{key:"setElementSelectors",value:function(e){this._elementSelectors=e}},{key:"getElementSelectors",value:function(e){var n,i=[];return(n=this._elementSelectors)===null||n===void 0||n.forEach(function(s){var r=Q==null?void 0:Q.querySelectorAll(s);r==null||r.forEach(function(o){e===o&&i.push(s)})}),i}},{key:"isEnabled",get:function(){var e,n,i=(e=this.instance.persistence)===null||e===void 0?void 0:e.props[Zh],s=this._isDisabledServerSide;if(Nn(s)&&!Bi(i)&&!this.instance.config.advanced_disable_decide)return!1;var r=(n=this._isDisabledServerSide)!==null&&n!==void 0?n:!!i;return!!this.instance.config.autocapture&&!r}},{key:"_previousElementSibling",value:function(e){if(e.previousElementSibling)return e.previousElementSibling;var n=e;do n=n.previousSibling;while(n&&!Eu(n));return n}},{key:"_getAugmentPropertiesFromElement",value:function(e){if(!kc(e))return{};var n={};return Ne(e.attributes,function(i){if(i.name&&i.name.indexOf("data-ph-capture-attribute")===0){var s=i.name.replace("data-ph-capture-attribute-",""),r=i.value;s&&r&&rs(r)&&(n[s]=r)}}),n}},{key:"_getPropertiesFromElement",value:function(e,n,i){var s,r=e.tagName.toLowerCase(),o={tag_name:r};Sc.indexOf(r)>-1&&!i&&(r.toLowerCase()==="a"||r.toLowerCase()==="button"?o.$el_text=dl(1024,_d(e)):o.$el_text=dl(1024,Qo(e)));var a=Jo(e);a.length>0&&(o.classes=a.filter(function(h){return h!==""}));var l=(s=this.config)===null||s===void 0?void 0:s.element_attribute_ignorelist;Ne(e.attributes,function(h){var d;if((!Ym(e)||["name","id","class","aria-label"].indexOf(h.name)!==-1)&&(l==null||!l.includes(h.name))&&!n&&rs(h.value)&&(d=h.name,!ct(d)||d.substring(0,10)!=="_ngcontent"&&d.substring(0,7)!=="_nghost")){var p=h.value;h.name==="class"&&(p=ku(p).join(" ")),o["attr__"+h.name]=dl(1024,p)}});for(var u=1,c=1,f=e;f=this._previousElementSibling(f);)u++,f.tagName===e.tagName&&c++;return o.nth_child=u,o.nth_of_type=c,o}},{key:"_getDefaultProperties",value:function(e){return{$event_type:e,$ce_version:1}}},{key:"_getEventTarget",value:function(e){return ne(e.target)?e.srcElement||null:(n=e.target)!==null&&n!==void 0&&n.shadowRoot?e.composedPath()[0]||null:e.target||null;var n}},{key:"_captureEvent",value:function(e){var n=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"$autocapture";if(this.isEnabled){var s,r=this._getEventTarget(e);Km(r)&&(r=r.parentNode||null),i==="$autocapture"&&e.type==="click"&&e instanceof MouseEvent&&this.instance.config.rageclick&&(s=this.rageclicks)!==null&&s!==void 0&&s.isRageClick(e.clientX,e.clientY,new Date().getTime())&&this._captureEvent(e,"$rageclick");var o=i===hl;if(r&&PI(r,e,this.config,o,o?["copy","cut"]:void 0)){for(var a,l,u=[r],c=r;c.parentNode&&!Xn(c,"body");)Xm(c.parentNode)?(u.push(c.parentNode.host),c=c.parentNode.host):(u.push(c.parentNode),c=c.parentNode);var f,h,d=[],p={},g=!1;if(Ne(u,function(I){var N=kc(I);I.tagName.toLowerCase()==="a"&&(f=I.getAttribute("href"),f=N&&rs(f)&&f),ve(Jo(I),"ph-no-capture")&&(g=!0),d.push(n._getPropertiesFromElement(I,n.instance.config.mask_all_element_attributes,n.instance.config.mask_all_text));var j=n._getAugmentPropertiesFromElement(I);dt(p,j)}),this.instance.config.mask_all_text||(r.tagName.toLowerCase()==="a"||r.tagName.toLowerCase()==="button"?d[0].$el_text=_d(r):d[0].$el_text=Qo(r)),f){var w,_;d[0].attr__href=f;var m=(w=Zs(f))===null||w===void 0?void 0:w.host,y=C==null||(_=C.location)===null||_===void 0?void 0:_.host;m&&y&&m!==y&&(h=f)}if(g)return!1;var b=dt(this._getDefaultProperties(e.type),this._elementsChainAsString?{$elements_chain:$I(d)}:{$elements:d},(a=d[0])!==null&&a!==void 0&&a.$el_text?{$el_text:(l=d[0])===null||l===void 0?void 0:l.$el_text}:{},h&&e.type==="click"?{$external_click_url:h}:{},p),E=this.getElementSelectors(r);if(E&&E.length>0&&(b.$element_selectors=E),i===hl){var T,x=Wm(C==null||(T=C.getSelection())===null||T===void 0?void 0:T.toString()),k=e.type||"clipboard";if(!x)return!1;b.$selected_content=x,b.$copy_type=k}return this.instance.capture(i,b),!0}}}},{key:"isBrowserSupported",value:function(){return en(Q==null?void 0:Q.querySelectorAll)}}]),t}(),xx=function(){function t(e){var n=this;we(this,t),A(this,"_restoreXHRPatch",void 0),A(this,"_restoreFetchPatch",void 0),A(this,"_startCapturing",function(){ne(n._restoreXHRPatch)&&Ue.postHogTracingHeadersPatchFns._patchXHR(n.instance.sessionManager),ne(n._restoreFetchPatch)&&Ue.postHogTracingHeadersPatchFns._patchFetch(n.instance.sessionManager)}),this.instance=e}return Se(t,[{key:"_loadScript",value:function(e){Ue.postHogTracingHeadersPatchFns&&e(),this.instance.requestRouter.loadScript("/static/tracing-headers.js?v=".concat(Yt.LIB_VERSION),function(n){if(n)return L.error("[TRACING-HEADERS] failed to load script",n);e()})}},{key:"startIfEnabledOrStop",value:function(){var e,n;this.instance.config.__add_tracing_headers?this._loadScript(this._startCapturing):((e=this._restoreXHRPatch)===null||e===void 0||e.call(this),(n=this._restoreFetchPatch)===null||n===void 0||n.call(this),this._restoreXHRPatch=void 0,this._restoreFetchPatch=void 0)}}]),t}();(function(t){t[t.PENDING=-1]="PENDING",t[t.DENIED=0]="DENIED",t[t.GRANTED=1]="GRANTED"})(jn||(jn={}));var Cx=function(){function t(e){we(this,t),this.instance=e}return Se(t,[{key:"config",get:function(){return this.instance.config}},{key:"consent",get:function(){return this.getDnt()?jn.DENIED:this.storedConsent}},{key:"isOptedOut",value:function(){return this.consent===jn.DENIED||this.consent===jn.PENDING&&this.config.opt_out_capturing_by_default}},{key:"isOptedIn",value:function(){return!this.isOptedOut()}},{key:"optInOut",value:function(e){this.storage.set(this.storageKey,e?1:0,this.config.cookie_expiration,this.config.cross_subdomain_cookie,this.config.secure_cookie)}},{key:"reset",value:function(){this.storage.remove(this.storageKey,this.config.cross_subdomain_cookie)}},{key:"storageKey",get:function(){var e=this.instance.config,n=e.token;return(e.opt_out_capturing_cookie_prefix||"__ph_opt_in_out_")+n}},{key:"storedConsent",get:function(){var e=this.storage.get(this.storageKey);return e==="1"?jn.GRANTED:e==="0"?jn.DENIED:jn.PENDING}},{key:"storage",get:function(){if(!this._storage){var e=this.config.opt_out_capturing_persistence_type;this._storage=e==="localStorage"?Qe:In;var n=e==="localStorage"?In:Qe;n.get(this.storageKey)&&(this._storage.get(this.storageKey)||this.optInOut(n.get(this.storageKey)==="1"),n.remove(this.storageKey,this.config.cross_subdomain_cookie))}return this._storage}},{key:"getDnt",value:function(){return!!this.config.respect_dnt&&!!Cm([kn==null?void 0:kn.doNotTrack,kn==null?void 0:kn.msDoNotTrack,Ue.doNotTrack],function(e){return ve([!0,1,"1","yes"],e)})}}]),t}(),Fd=9e5,oi="[Web Vitals]",Rx=function(){function t(e){var n,i=this;we(this,t),A(this,"_enabledServerSide",!1),A(this,"_initialized",!1),A(this,"buffer",{url:void 0,metrics:[],firstMetricTimestamp:void 0}),A(this,"_flushToCapture",function(){clearTimeout(i._delayedFlushTimer),i.buffer.metrics.length!==0&&(i.instance.capture("$web_vitals",i.buffer.metrics.reduce(function(s,r){var o;return G(G({},s),{},(A(o={},"$web_vitals_".concat(r.name,"_event"),G({},r)),A(o,"$web_vitals_".concat(r.name,"_value"),r.value),o))},{})),i.buffer={url:void 0,metrics:[],firstMetricTimestamp:void 0})}),A(this,"_addToBuffer",function(s){var r,o=(r=i.instance.sessionManager)===null||r===void 0?void 0:r.checkAndGetSessionAndWindowId(!0);if(ne(o))L.error(oi+"Could not read session ID. Dropping metrics!");else{i.buffer=i.buffer||{};var a=i._currentURL();ne(a)||(wt(s==null?void 0:s.name)||wt(s==null?void 0:s.value)?L.error(oi+"Invalid metric received",s):i._maxAllowedValue&&s.value>=i._maxAllowedValue?L.error(oi+"Ignoring metric with value >= "+i._maxAllowedValue,s):(i.buffer.url!==a&&(i._flushToCapture(),i._delayedFlushTimer=setTimeout(i._flushToCapture,8e3)),ne(i.buffer.url)&&(i.buffer.url=a),i.buffer.firstMetricTimestamp=ne(i.buffer.firstMetricTimestamp)?Date.now():i.buffer.firstMetricTimestamp,i.buffer.metrics.push(G(G({},s),{},{$current_url:a,$session_id:o.sessionId,$window_id:o.windowId,timestamp:Date.now()})),i.buffer.metrics.length===4&&i._flushToCapture()))}}),A(this,"_startCapturing",function(){var s=Ue.postHogWebVitalsCallbacks,r=s.onLCP,o=s.onCLS,a=s.onFCP,l=s.onINP;r&&o&&a&&l?(r(i._addToBuffer),o(i._addToBuffer),a(i._addToBuffer),l(i._addToBuffer),i._initialized=!0):L.error(oi+"web vitals callbacks not loaded - not starting")}),this.instance=e,this._enabledServerSide=!((n=this.instance.persistence)===null||n===void 0||!n.props[nd]),this.startIfEnabled()}return Se(t,[{key:"_maxAllowedValue",get:function(){var e=st(this.instance.config.capture_performance)&&Mt(this.instance.config.capture_performance.__web_vitals_max_value)?this.instance.config.capture_performance.__web_vitals_max_value:Fd;return 01&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;if(ne(e)||Kh(e))return L.critical("PostHog was initialized without a token. This likely indicates a misconfiguration. Please check the first argument passed to posthog.init()"),this;if(this.__loaded)return L.warn("You have already initialized PostHog! Re-initializing is a no-op"),this;this.__loaded=!0,this.config={},this._triggered_notifs=[],this.set_config(dt({},Dd(),Ld(r),{name:o,token:e})),this.config.on_xhr_error&&L.error("[posthog] on_xhr_error is deprecated. Use on_request_error instead"),this.compression=r.disable_compression?void 0:Jt.Base64,this.persistence=new ll(this.config),this.sessionPersistence=this.config.persistence==="sessionStorage"?this.persistence:new ll(G(G({},this.config),{},{persistence:"sessionStorage"}));var a=G({},this.persistence.props),l=G({},this.sessionPersistence.props);if(this._requestQueue=new JI(function(m){return s._send_retriable_request(m)}),this._retryQueue=new ux(this),this.__request_queue=[],this.sessionManager=new fx(this.config,this.persistence),this.sessionPropsManager=new Sx(this.sessionManager,this.persistence),new xx(this).startIfEnabledOrStop(),this.sessionRecording=new KI(this),this.sessionRecording.startIfEnabledOrStop(),this.config.disable_scroll_properties||this.scrollManager.startMeasuringScrollPosition(),this.autocapture=new Ix(this),this.autocapture.startIfEnabled(),this.surveys.loadIfEnabled(),this.heatmaps=new Ex(this),this.heatmaps.startIfEnabled(),this.webVitalsAutocapture=new Rx(this),this.exceptionObserver=new dx(this),this.exceptionObserver.startIfEnabled(),Yt.DEBUG=Yt.DEBUG||this.config.debug,Yt.DEBUG&&L.info("Starting in debug mode",{this:this,config:r,thisC:G({},this.config),p:a,s:l}),this._sync_opt_out_with_persistence(),((n=r.bootstrap)===null||n===void 0?void 0:n.distinctID)!==void 0){var u,c,f=this.config.get_device_id(qn()),h=(u=r.bootstrap)!==null&&u!==void 0&&u.isIdentifiedID?f:r.bootstrap.distinctID;this.persistence.set_property(_n,(c=r.bootstrap)!==null&&c!==void 0&&c.isIdentifiedID?"identified":"anonymous"),this.register({distinct_id:r.bootstrap.distinctID,$device_id:h})}if(this._hasBootstrappedFeatureFlags()){var d,p,g=Object.keys(((d=r.bootstrap)===null||d===void 0?void 0:d.featureFlags)||{}).filter(function(m){var y,b;return!((y=r.bootstrap)===null||y===void 0||(b=y.featureFlags)===null||b===void 0||!b[m])}).reduce(function(m,y){var b,E;return m[y]=((b=r.bootstrap)===null||b===void 0||(E=b.featureFlags)===null||E===void 0?void 0:E[y])||!1,m},{}),w=Object.keys(((p=r.bootstrap)===null||p===void 0?void 0:p.featureFlagPayloads)||{}).filter(function(m){return g[m]}).reduce(function(m,y){var b,E,T,x;return(b=r.bootstrap)!==null&&b!==void 0&&(E=b.featureFlagPayloads)!==null&&E!==void 0&&E[y]&&(m[y]=(T=r.bootstrap)===null||T===void 0||(x=T.featureFlagPayloads)===null||x===void 0?void 0:x[y]),m},{});this.featureFlags.receivedFeatureFlags({featureFlags:g,featureFlagPayloads:w})}if(!this.get_distinct_id()){var _=this.config.get_device_id(qn());this.register_once({distinct_id:_,$device_id:_},""),this.persistence.set_property(_n,"anonymous")}return C==null||(i=C.addEventListener)===null||i===void 0||i.call(C,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this)),this.toolbar.maybeLoadToolbar(),r.segment?gx(this,function(){return s._loaded()}):this._loaded(),en(this.config._onCapture)&&this.on("eventCaptured",function(m){return s.config._onCapture(m.event,m)}),this}},{key:"_afterDecideResponse",value:function(e){var n,i,s,r,o,a,l;this.compression=void 0,e.supportedCompression&&!this.config.disable_compression&&(this.compression=ve(e.supportedCompression,Jt.GZipJS)?Jt.GZipJS:ve(e.supportedCompression,Jt.Base64)?Jt.Base64:void 0),(n=e.analytics)!==null&&n!==void 0&&n.endpoint&&(this.analyticsDefaultEndpoint=e.analytics.endpoint),(i=this.sessionRecording)===null||i===void 0||i.afterDecideResponse(e),(s=this.autocapture)===null||s===void 0||s.afterDecideResponse(e),(r=this.heatmaps)===null||r===void 0||r.afterDecideResponse(e),(o=this.surveys)===null||o===void 0||o.afterDecideResponse(e),(a=this.webVitalsAutocapture)===null||a===void 0||a.afterDecideResponse(e),(l=this.exceptionObserver)===null||l===void 0||l.afterDecideResponse(e)}},{key:"_loaded",value:function(){var e=this,n=this.config.advanced_disable_decide;n||this.featureFlags.setReloadingPaused(!0);try{this.config.loaded(this)}catch(i){L.critical("`loaded` function failed",i)}this._start_queue_if_opted_in(),this.config.capture_pageview&&setTimeout(function(){Q&&e.capture("$pageview",{title:Q.title},{send_instantly:!0})},1),n||(new XI(this).call(),this.featureFlags.resetRequestQueue())}},{key:"_start_queue_if_opted_in",value:function(){var e;this.has_opted_out_capturing()||this.config.request_batching&&((e=this._requestQueue)===null||e===void 0||e.enable())}},{key:"_dom_loaded",value:function(){var e=this;this.has_opted_out_capturing()||ns(this.__request_queue,function(n){return e._send_retriable_request(n)}),this.__request_queue=[],this._start_queue_if_opted_in()}},{key:"_handle_unload",value:function(){var e,n;this.config.request_batching?(this._shouldCapturePageleave()&&this.capture("$pageleave"),(e=this._requestQueue)===null||e===void 0||e.unload(),(n=this._retryQueue)===null||n===void 0||n.unload()):this._shouldCapturePageleave()&&this.capture("$pageleave",null,{transport:"sendBeacon"})}},{key:"_send_request",value:function(e){var n=this;this.__loaded&&(lv?this.__request_queue.push(e):this.rateLimiter.isServerRateLimited(e.batchKey)||(e.transport=e.transport||this.config.api_transport,e.url=ea(e.url,{ip:this.config.ip?1:0}),e.headers=this.config.request_headers,e.compression=e.compression==="best-available"?this.compression:e.compression,function(i){var s,r,o,a=G({},i);a.timeout=a.timeout||6e4,a.url=ea(a.url,{_:new Date().getTime().toString(),ver:Yt.LIB_VERSION,compression:a.compression});var l=(s=a.transport)!==null&&s!==void 0?s:"XHR",u=(r=(o=Cm(tr,function(c){return c.transport===l}))===null||o===void 0?void 0:o.method)!==null&&r!==void 0?r:tr[0].method;if(!u)throw new Error("No available transport method");u(a)}(G(G({},e),{},{callback:function(i){var s,r,o;n.rateLimiter.checkForLimiting(i),i.statusCode>=400&&((r=(o=n.config).on_request_error)===null||r===void 0||r.call(o,i)),(s=e.callback)===null||s===void 0||s.call(e,i)}}))))}},{key:"_send_retriable_request",value:function(e){this._retryQueue?this._retryQueue.retriableRequest(e):this._send_request(e)}},{key:"_execute_array",value:function(e){var n,i=this,s=[],r=[],o=[];ns(e,function(l){l&&(n=l[0],Ze(n)?o.push(l):en(l)?l.call(i):Ze(l)&&n==="alias"?s.push(l):Ze(l)&&n.indexOf("capture")!==-1&&en(i[n])?o.push(l):r.push(l))});var a=function(l,u){ns(l,function(c){if(Ze(c[0])){var f=u;Ne(c,function(h){f=f[h[0]].apply(f,h.slice(1))})}else this[c[0]].apply(this,c.slice(1))},u)};a(s,this),a(r,this),a(o,this)}},{key:"_hasBootstrappedFeatureFlags",value:function(){var e,n;return((e=this.config.bootstrap)===null||e===void 0?void 0:e.featureFlags)&&Object.keys((n=this.config.bootstrap)===null||n===void 0?void 0:n.featureFlags).length>0||!1}},{key:"push",value:function(e){this._execute_array([e])}},{key:"capture",value:function(e,n,i){var s;if(!(this.__loaded&&this.persistence&&this.sessionPersistence&&this._requestQueue))return L.uninitializedWarning("posthog.capture");if(!this.consent.isOptedOut())if(!ne(e)&&ct(e)){if(!We||this.config.opt_out_useragent_filter||!Ad(We,this.config.custom_blocked_useragents)){var r=i!=null&&i.skip_client_rate_limiting?void 0:this.rateLimiter.clientRateLimitContext();if(r==null||!r.isRateLimited){this.sessionPersistence.update_search_keyword(),this.config.store_google&&this.sessionPersistence.update_campaign_params(),this.config.save_referrer&&this.sessionPersistence.update_referrer_info(),(this.config.store_google||this.config.save_referrer)&&this.persistence.set_initial_person_info();var o=new Date,a=(i==null?void 0:i.timestamp)||o,l={uuid:qn(),event:e,properties:this._calculate_event_properties(e,n||{},a)};r&&(l.properties.$lib_rate_limit_remaining_tokens=r.remainingTokens),i!=null&&i.$set&&(l.$set=i==null?void 0:i.$set);var u=this._calculate_set_once_properties(i==null?void 0:i.$set_once);u&&(l.$set_once=u),(l=rI(l,i!=null&&i._noTruncate?null:this.config.properties_string_max_length)).timestamp=a,ne(i==null?void 0:i.timestamp)||(l.properties.$event_time_override_provided=!0,l.properties.$event_time_override_system_time=o);var c=G(G({},l.properties.$set),l.$set);vo(c)||this.setPersonPropertiesForFlags(c),this._internalEventEmitter.emit("eventCaptured",l);var f={method:"POST",url:(s=i==null?void 0:i._url)!==null&&s!==void 0?s:this.requestRouter.endpointFor("api",this.analyticsDefaultEndpoint),data:l,compression:"best-available",batchKey:i==null?void 0:i._batchKey};return!this.config.request_batching||i&&(i==null||!i._batchKey)||i!=null&&i.send_instantly?this._send_retriable_request(f):this._requestQueue.enqueue(f),l}L.critical("This capture call is ignored due to client rate limiting.")}}else L.error("No event name provided to posthog.capture")}},{key:"_addCaptureHook",value:function(e){this.on("eventCaptured",function(n){return e(n.event,n)})}},{key:"_calculate_event_properties",value:function(e,n,i){if(!this.persistence||!this.sessionPersistence)return n;var s=this.persistence.remove_event_timer(e),r=G({},n);if(r.token=this.config.token,e==="$snapshot"){var o=G(G({},this.persistence.properties()),this.sessionPersistence.properties());return r.distinct_id=o.distinct_id,(!ct(r.distinct_id)&&!Mt(r.distinct_id)||Kh(r.distinct_id))&&L.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"),r}var a=et.properties();if(this.sessionManager){var l=this.sessionManager.checkAndGetSessionAndWindowId(),u=l.sessionId,c=l.windowId;r.$session_id=u,r.$window_id=c}if(this.requestRouter.region===pi.CUSTOM&&(r.$lib_custom_api_host=this.config.api_host),this.sessionPropsManager&&this.config.__preview_send_client_session_params&&(e==="$pageview"||e==="$pageleave"||e==="$autocapture")){var f=this.sessionPropsManager.getSessionProps();r=dt(r,f)}if(!this.config.disable_scroll_properties){var h={};e==="$pageview"?h=this.pageViewManager.doPageView(i):e==="$pageleave"&&(h=this.pageViewManager.doPageLeave(i)),r=dt(r,h)}if(e==="$pageview"&&Q&&(r.title=Q.title),!ne(s)){var d=i.getTime()-s;r.$duration=parseFloat((d/1e3).toFixed(3))}We&&this.config.opt_out_useragent_filter&&(r.$browser_type=Ad(We,this.config.custom_blocked_useragents)?"bot":"browser"),(r=dt({},a,this.persistence.properties(),this.sessionPersistence.properties(),r)).$is_identified=this._isIdentified(),Ze(this.config.property_denylist)?Ne(this.config.property_denylist,function(g){delete r[g]}):L.error("Invalid value for property_denylist config: "+this.config.property_denylist+" or property_blacklist config: "+this.config.property_blacklist);var p=this.config.sanitize_properties;return p&&(r=p(r,e)),r.$process_person_profile=this._hasPersonProcessing(),r}},{key:"_calculate_set_once_properties",value:function(e){if(!this.persistence||!this._hasPersonProcessing())return e;var n=dt({},this.persistence.get_initial_props(),e||{});return vo(n)?void 0:n}},{key:"register",value:function(e,n){var i;(i=this.persistence)===null||i===void 0||i.register(e,n)}},{key:"register_once",value:function(e,n,i){var s;(s=this.persistence)===null||s===void 0||s.register_once(e,n,i)}},{key:"register_for_session",value:function(e){var n;(n=this.sessionPersistence)===null||n===void 0||n.register(e)}},{key:"unregister",value:function(e){var n;(n=this.persistence)===null||n===void 0||n.unregister(e)}},{key:"unregister_for_session",value:function(e){var n;(n=this.sessionPersistence)===null||n===void 0||n.unregister(e)}},{key:"_register_single",value:function(e,n){this.register(A({},e,n))}},{key:"getFeatureFlag",value:function(e,n){return this.featureFlags.getFeatureFlag(e,n)}},{key:"getFeatureFlagPayload",value:function(e){var n=this.featureFlags.getFeatureFlagPayload(e);try{return JSON.parse(n)}catch{return n}}},{key:"isFeatureEnabled",value:function(e,n){return this.featureFlags.isFeatureEnabled(e,n)}},{key:"reloadFeatureFlags",value:function(){this.featureFlags.reloadFeatureFlags()}},{key:"updateEarlyAccessFeatureEnrollment",value:function(e,n){this.featureFlags.updateEarlyAccessFeatureEnrollment(e,n)}},{key:"getEarlyAccessFeatures",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return this.featureFlags.getEarlyAccessFeatures(e,n)}},{key:"on",value:function(e,n){return this._internalEventEmitter.on(e,n)}},{key:"onFeatureFlags",value:function(e){return this.featureFlags.onFeatureFlags(e)}},{key:"onSessionId",value:function(e){var n,i;return(n=(i=this.sessionManager)===null||i===void 0?void 0:i.onSessionId(e))!==null&&n!==void 0?n:function(){}}},{key:"getSurveys",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];this.surveys.getSurveys(e,n)}},{key:"getActiveMatchingSurveys",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];this.surveys.getActiveMatchingSurveys(e,n)}},{key:"renderSurvey",value:function(e,n){this.surveys.renderSurvey(e,n)}},{key:"canRenderSurvey",value:function(e){this.surveys.canRenderSurvey(e)}},{key:"getNextSurveyStep",value:function(e,n,i){return this.surveys.getNextSurveyStep(e,n,i)}},{key:"identify",value:function(e,n,i){if(!this.__loaded||!this.persistence)return L.uninitializedWarning("posthog.identify");if(Mt(e)&&(e=e.toString(),L.warn("The first argument to posthog.identify was a number, but it should be a string. It has been converted to a string.")),e){if(["distinct_id","distinctid"].includes(e.toLowerCase()))L.critical('The string "'.concat(e,'" was set in posthog.identify which indicates an error. This ID should be unique to the user and not a hardcoded string.'));else if(this._requirePersonProcessing("posthog.identify")){var s=this.get_distinct_id();if(this.register({$user_id:e}),!this.get_property("$device_id")){var r=s;this.register_once({$had_persisted_distinct_id:!0,$device_id:r},"")}e!==s&&e!==this.get_property(Us)&&(this.unregister(Us),this.register({distinct_id:e}));var o=(this.persistence.get_property(_n)||"anonymous")==="anonymous";e!==s&&o?(this.persistence.set_property(_n,"identified"),this.setPersonPropertiesForFlags(n||{},!1),this.capture("$identify",{distinct_id:e,$anon_distinct_id:s},{$set:n||{},$set_once:i||{}}),this.featureFlags.setAnonymousDistinctId(s)):(n||i)&&this.setPersonProperties(n,i),e!==s&&(this.reloadFeatureFlags(),this.unregister(Wo))}}else L.error("Unique user id has not been set in posthog.identify")}},{key:"setPersonProperties",value:function(e,n){(e||n)&&this._requirePersonProcessing("posthog.setPersonProperties")&&(this.setPersonPropertiesForFlags(e||{}),this.capture("$set",{$set:e||{},$set_once:n||{}}))}},{key:"group",value:function(e,n,i){if(e&&n){if(this._requirePersonProcessing("posthog.group")){var s=this.getGroups();s[e]!==n&&this.resetGroupPropertiesForFlags(e),this.register({$groups:G(G({},s),{},A({},e,n))}),i&&(this.capture("$groupidentify",{$group_type:e,$group_key:n,$group_set:i}),this.setGroupPropertiesForFlags(A({},e,i))),s[e]===n||i||this.reloadFeatureFlags()}}else L.error("posthog.group requires a group type and group key")}},{key:"resetGroups",value:function(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}},{key:"setPersonPropertiesForFlags",value:function(e){var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];this._requirePersonProcessing("posthog.setPersonPropertiesForFlags")&&this.featureFlags.setPersonPropertiesForFlags(e,n)}},{key:"resetPersonPropertiesForFlags",value:function(){this.featureFlags.resetPersonPropertiesForFlags()}},{key:"setGroupPropertiesForFlags",value:function(e){var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];this._requirePersonProcessing("posthog.setGroupPropertiesForFlags")&&this.featureFlags.setGroupPropertiesForFlags(e,n)}},{key:"resetGroupPropertiesForFlags",value:function(e){this.featureFlags.resetGroupPropertiesForFlags(e)}},{key:"reset",value:function(e){var n,i,s,r;if(L.info("reset"),!this.__loaded)return L.uninitializedWarning("posthog.reset");var o=this.get_property("$device_id");this.consent.reset(),(n=this.persistence)===null||n===void 0||n.clear(),(i=this.sessionPersistence)===null||i===void 0||i.clear(),(s=this.persistence)===null||s===void 0||s.set_property(_n,"anonymous"),(r=this.sessionManager)===null||r===void 0||r.resetSessionId();var a=this.config.get_device_id(qn());this.register_once({distinct_id:a,$device_id:e?a:o},"")}},{key:"get_distinct_id",value:function(){return this.get_property("distinct_id")}},{key:"getGroups",value:function(){return this.get_property("$groups")||{}}},{key:"get_session_id",value:function(){var e,n;return(e=(n=this.sessionManager)===null||n===void 0?void 0:n.checkAndGetSessionAndWindowId(!0).sessionId)!==null&&e!==void 0?e:""}},{key:"get_session_replay_url",value:function(e){if(!this.sessionManager)return"";var n=this.sessionManager.checkAndGetSessionAndWindowId(!0),i=n.sessionId,s=n.sessionStartTimestamp,r=this.requestRouter.endpointFor("ui","/project/".concat(this.config.token,"/replay/").concat(i));if(e!=null&&e.withTimestamp&&s){var o,a=(o=e.timestampLookBack)!==null&&o!==void 0?o:10;if(!s)return r;var l=Math.max(Math.floor((new Date().getTime()-s)/1e3)-a,0);r+="?t=".concat(l)}return r}},{key:"alias",value:function(e,n){return e===this.get_property(Rm)?(L.critical("Attempting to create alias for existing People user - aborting."),-2):this._requirePersonProcessing("posthog.alias")?(ne(n)&&(n=this.get_distinct_id()),e!==n?(this._register_single(Us,e),this.capture("$create_alias",{alias:e,distinct_id:n})):(L.warn("alias matches current distinct_id - skipping api call."),this.identify(e),-1)):void 0}},{key:"set_config",value:function(e){var n,i,s,r,o=G({},this.config);st(e)&&(dt(this.config,Ld(e)),(n=this.persistence)===null||n===void 0||n.update_config(this.config,o),this.sessionPersistence=this.config.persistence==="sessionStorage"?this.persistence:new ll(G(G({},this.config),{},{persistence:"sessionStorage"})),Qe.is_supported()&&Qe.get("ph_debug")==="true"&&(this.config.debug=!0),this.config.debug&&(Yt.DEBUG=!0,L.info("set_config",{config:e,oldConfig:o,newConfig:G({},this.config)})),(i=this.sessionRecording)===null||i===void 0||i.startIfEnabledOrStop(),(s=this.autocapture)===null||s===void 0||s.startIfEnabled(),(r=this.heatmaps)===null||r===void 0||r.startIfEnabled(),this.surveys.loadIfEnabled(),this._sync_opt_out_with_persistence())}},{key:"startSessionRecording",value:function(e){if(e!=null&&e.sampling){var n,i,s=(n=this.sessionManager)===null||n===void 0?void 0:n.checkAndGetSessionAndWindowId();(i=this.persistence)===null||i===void 0||i.register(A({},Qs,!0)),L.info("Session recording started with sampling override for session: ",s==null?void 0:s.sessionId)}this.set_config({disable_session_recording:!1})}},{key:"stopSessionRecording",value:function(){this.set_config({disable_session_recording:!0})}},{key:"sessionRecordingStarted",value:function(){var e;return!((e=this.sessionRecording)===null||e===void 0||!e.started)}},{key:"loadToolbar",value:function(e){return this.toolbar.loadToolbar(e)}},{key:"get_property",value:function(e){var n;return(n=this.persistence)===null||n===void 0?void 0:n.props[e]}},{key:"getSessionProperty",value:function(e){var n;return(n=this.sessionPersistence)===null||n===void 0?void 0:n.props[e]}},{key:"toString",value:function(){var e,n=(e=this.config.name)!==null&&e!==void 0?e:Di;return n!==Di&&(n=Di+"."+n),n}},{key:"_isIdentified",value:function(){var e,n;return((e=this.persistence)===null||e===void 0?void 0:e.get_property(_n))==="identified"||((n=this.sessionPersistence)===null||n===void 0?void 0:n.get_property(_n))==="identified"}},{key:"_hasPersonProcessing",value:function(){var e,n,i,s;return!(this.config.person_profiles==="never"||this.config.person_profiles==="identified_only"&&!this._isIdentified()&&vo(this.getGroups())&&((e=this.persistence)===null||e===void 0||(n=e.props)===null||n===void 0||!n[Us])&&((i=this.persistence)===null||i===void 0||(s=i.props)===null||s===void 0||!s[Ko]))}},{key:"_shouldCapturePageleave",value:function(){return this.config.capture_pageleave===!0||this.config.capture_pageleave==="if_capture_pageview"&&this.config.capture_pageview}},{key:"createPersonProfile",value:function(){this._hasPersonProcessing()||this._requirePersonProcessing("posthog.createPersonProfile")&&this.setPersonProperties({},{})}},{key:"_requirePersonProcessing",value:function(e){return this.config.person_profiles==="never"?(L.error(e+' was called, but process_person is set to "never". This call will be ignored.'),!1):(this._register_single(Ko,!0),!0)}},{key:"_sync_opt_out_with_persistence",value:function(){var e,n,i,s,r=this.consent.isOptedOut(),o=this.config.opt_out_persistence_by_default,a=this.config.disable_persistence||r&&!!o;((e=this.persistence)===null||e===void 0?void 0:e.disabled)!==a&&((i=this.persistence)===null||i===void 0||i.set_disabled(a)),((n=this.sessionPersistence)===null||n===void 0?void 0:n.disabled)!==a&&((s=this.sessionPersistence)===null||s===void 0||s.set_disabled(a))}},{key:"opt_in_capturing",value:function(e){var n;this.consent.optInOut(!0),this._sync_opt_out_with_persistence(),(ne(e==null?void 0:e.captureEventName)||e!=null&&e.captureEventName)&&this.capture((n=e==null?void 0:e.captureEventName)!==null&&n!==void 0?n:"$opt_in",e==null?void 0:e.captureProperties,{send_instantly:!0})}},{key:"opt_out_capturing",value:function(){this.consent.optInOut(!1),this._sync_opt_out_with_persistence()}},{key:"has_opted_in_capturing",value:function(){return this.consent.isOptedIn()}},{key:"has_opted_out_capturing",value:function(){return this.consent.isOptedOut()}},{key:"clear_opt_in_out_capturing",value:function(){this.consent.reset(),this._sync_opt_out_with_persistence()}},{key:"debug",value:function(e){e===!1?(C==null||C.console.log("You've disabled debug mode."),localStorage&&localStorage.removeItem("ph_debug"),this.set_config({debug:!1})):(C==null||C.console.log("You're now in debug mode. All calls to PostHog will be logged in your console.\nYou can disable this with `posthog.debug(false)`."),localStorage&&localStorage.setItem("ph_debug","true"),this.set_config({debug:!0}))}}]),t}();(function(t,e){for(var n=0;n{na.shift()},8e3)}const pR={usePushMessage:Px},Fx={"aria-live":"polite","aria-atomic":"true",class:"position-relative"},Mx={class:"toast-container end-0 p-3",style:{position:"fixed",top:"15px",right:"15px","min-width":"180px","z-index":"1060"}},Dx={class:"toast-body"},Lx={__name:"ToastsMessages",setup(t){return fn(na,()=>{},{deep:!0}),(e,n)=>(Rt(),hn("div",Fx,[at("div",Mx,[(Rt(!0),hn(Ye,null,Up(It(na),i=>(Rt(),hn("div",{key:i.id,class:"toast show",role:"alert","aria-live":"assertive","aria-atomic":"true"},[at("div",{class:_i(["toast-header",i.statusBg])},[at("strong",{class:_i(["mr-auto",i.statusColor])},wo(i.title),3)],2),at("div",Dx,wo(i.message),1)]))),128))])]))}},$x=()=>({}).VITE_APP_ENV==="development"?"domain=.hexschool.io;":"domain=.hexschool.com;",Hx=t=>{const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let n="";const i=e.length;for(let s=0;s{const s=Gc("RouterView");return Rt(),hn(Ye,null,[ke(Lx),ke(s)],64)}}};/*! + * vue-router v4.1.6 + * (c) 2022 Eduardo San Martin Morote + * @license MIT + */const Li=typeof window<"u";function Bx(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Ie=Object.assign;function pl(t,e){const n={};for(const i in e){const s=e[i];n[i]=tn(s)?s.map(t):t(s)}return n}const ir=()=>{},tn=Array.isArray,Ux=/\/$/,qx=t=>t.replace(Ux,"");function gl(t,e,n="/"){let i,s={},r="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return a=0&&(l=-1),l>-1&&(i=e.slice(0,l),r=e.slice(l+1,a>-1?a:e.length),s=t(r)),a>-1&&(i=i||e.slice(0,a),o=e.slice(a,e.length)),i=Kx(i!=null?i:e,n),{fullPath:i+(r&&"?")+r+o,path:i,query:s,hash:o}}function zx(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function Hd(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function Vx(t,e,n){const i=e.matched.length-1,s=n.matched.length-1;return i>-1&&i===s&&ys(e.matched[i],n.matched[s])&&uv(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function ys(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function uv(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!Wx(t[n],e[n]))return!1;return!0}function Wx(t,e){return tn(t)?jd(t,e):tn(e)?jd(e,t):t===e}function jd(t,e){return tn(e)?t.length===e.length&&t.every((n,i)=>n===e[i]):t.length===1&&t[0]===e}function Kx(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),i=t.split("/");let s=n.length-1,r,o;for(r=0;r1&&s--;else break;return n.slice(0,s).join("/")+"/"+i.slice(r-(r===i.length?1:0)).join("/")}var Sr;(function(t){t.pop="pop",t.push="push"})(Sr||(Sr={}));var sr;(function(t){t.back="back",t.forward="forward",t.unknown=""})(sr||(sr={}));function Xx(t){if(!t)if(Li){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),qx(t)}const Gx=/^[^#]+#/;function Yx(t,e){return t.replace(Gx,"#")+e}function Jx(t,e){const n=document.documentElement.getBoundingClientRect(),i=t.getBoundingClientRect();return{behavior:e.behavior,left:i.left-n.left-(e.left||0),top:i.top-n.top-(e.top||0)}}const Pa=()=>({left:window.pageXOffset,top:window.pageYOffset});function Qx(t){let e;if("el"in t){const n=t.el,i=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;e=Jx(s,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function Bd(t,e){return(history.state?history.state.position-e:-1)+t}const Oc=new Map;function Zx(t,e){Oc.set(t,e)}function eC(t){const e=Oc.get(t);return Oc.delete(t),e}let tC=()=>location.protocol+"//"+location.host;function fv(t,e){const{pathname:n,search:i,hash:s}=e,r=t.indexOf("#");if(r>-1){let a=s.includes(t.slice(r))?t.slice(r).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),Hd(l,"")}return Hd(n,t)+i+s}function nC(t,e,n,i){let s=[],r=[],o=null;const a=({state:h})=>{const d=fv(t,location),p=n.value,g=e.value;let w=0;if(h){if(n.value=d,e.value=h,o&&o===p){o=null;return}w=g?h.position-g.position:0}else i(d);s.forEach(_=>{_(n.value,p,{delta:w,type:Sr.pop,direction:w?w>0?sr.forward:sr.back:sr.unknown})})};function l(){o=n.value}function u(h){s.push(h);const d=()=>{const p=s.indexOf(h);p>-1&&s.splice(p,1)};return r.push(d),d}function c(){const{history:h}=window;!h.state||h.replaceState(Ie({},h.state,{scroll:Pa()}),"")}function f(){for(const h of r)h();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c),{pauseListeners:l,listen:u,destroy:f}}function Ud(t,e,n,i=!1,s=!1){return{back:t,current:e,forward:n,replaced:i,position:window.history.length,scroll:s?Pa():null}}function iC(t){const{history:e,location:n}=window,i={value:fv(t,n)},s={value:e.state};s.value||r(i.value,{back:null,current:i.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(l,u,c){const f=t.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?t:t.slice(f))+l:tC()+t+l;try{e[c?"replaceState":"pushState"](u,"",h),s.value=u}catch(d){console.error(d),n[c?"replace":"assign"](h)}}function o(l,u){const c=Ie({},e.state,Ud(s.value.back,l,s.value.forward,!0),u,{position:s.value.position});r(l,c,!0),i.value=l}function a(l,u){const c=Ie({},s.value,e.state,{forward:l,scroll:Pa()});r(c.current,c,!0);const f=Ie({},Ud(i.value,l,null),{position:c.position+1},u);r(l,f,!1),i.value=l}return{location:i,state:s,push:a,replace:o}}function sC(t){t=Xx(t);const e=iC(t),n=nC(t,e.state,e.location,e.replace);function i(r,o=!0){o||n.pauseListeners(),history.go(r)}const s=Ie({location:"",base:t,go:i,createHref:Yx.bind(null,t)},e,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>e.state.value}),s}function rC(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),sC(t)}function oC(t){return typeof t=="string"||t&&typeof t=="object"}function hv(t){return typeof t=="string"||typeof t=="symbol"}const Dn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},dv=Symbol("");var qd;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(qd||(qd={}));function _s(t,e){return Ie(new Error,{type:t,[dv]:!0},e)}function gn(t,e){return t instanceof Error&&dv in t&&(e==null||!!(t.type&e))}const zd="[^/]+?",aC={sensitive:!1,strict:!1,start:!0,end:!0},lC=/[.+*?^${}()[\]/\\]/g;function cC(t,e){const n=Ie({},aC,e),i=[];let s=n.start?"^":"";const r=[];for(const u of t){const c=u.length?[]:[90];n.strict&&!u.length&&(s+="/");for(let f=0;fe.length?e.length===1&&e[0]===40+40?1:-1:0}function fC(t,e){let n=0;const i=t.score,s=e.score;for(;n0&&e[e.length-1]<0}const hC={type:0,value:""},dC=/[a-zA-Z0-9_]/;function pC(t){if(!t)return[[]];if(t==="/")return[[hC]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(d){throw new Error(`ERR (${n})/"${u}": ${d}`)}let n=0,i=n;const s=[];let r;function o(){r&&s.push(r),r=[]}let a=0,l,u="",c="";function f(){!u||(n===0?r.push({type:0,value:u}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),u="")}function h(){u+=l}for(;a{o(m)}:ir}function o(c){if(hv(c)){const f=i.get(c);f&&(i.delete(c),n.splice(n.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=n.indexOf(c);f>-1&&(n.splice(f,1),c.record.name&&i.delete(c.record.name),c.children.forEach(o),c.alias.forEach(o))}}function a(){return n}function l(c){let f=0;for(;f=0&&(c.record.path!==n[f].record.path||!pv(c,n[f]));)f++;n.splice(f,0,c),c.record.name&&!Kd(c)&&i.set(c.record.name,c)}function u(c,f){let h,d={},p,g;if("name"in c&&c.name){if(h=i.get(c.name),!h)throw _s(1,{location:c});g=h.record.name,d=Ie(Wd(f.params,h.keys.filter(m=>!m.optional).map(m=>m.name)),c.params&&Wd(c.params,h.keys.map(m=>m.name))),p=h.stringify(d)}else if("path"in c)p=c.path,h=n.find(m=>m.re.test(p)),h&&(d=h.parse(p),g=h.record.name);else{if(h=f.name?i.get(f.name):n.find(m=>m.re.test(f.path)),!h)throw _s(1,{location:c,currentLocation:f});g=h.record.name,d=Ie({},f.params,c.params),p=h.stringify(d)}const w=[];let _=h;for(;_;)w.unshift(_.record),_=_.parent;return{name:g,path:p,params:d,matched:w,meta:_C(w)}}return t.forEach(c=>r(c)),{addRoute:r,resolve:u,removeRoute:o,getRoutes:a,getRecordMatcher:s}}function Wd(t,e){const n={};for(const i of e)i in t&&(n[i]=t[i]);return n}function vC(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:yC(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function yC(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const i in t.components)e[i]=typeof n=="boolean"?n:n[i];return e}function Kd(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function _C(t){return t.reduce((e,n)=>Ie(e,n.meta),{})}function Xd(t,e){const n={};for(const i in t)n[i]=i in e?e[i]:t[i];return n}function pv(t,e){return e.children.some(n=>n===t||pv(t,n))}const gv=/#/g,bC=/&/g,wC=/\//g,SC=/=/g,kC=/\?/g,mv=/\+/g,EC=/%5B/g,TC=/%5D/g,vv=/%5E/g,IC=/%60/g,yv=/%7B/g,xC=/%7C/g,_v=/%7D/g,CC=/%20/g;function xu(t){return encodeURI(""+t).replace(xC,"|").replace(EC,"[").replace(TC,"]")}function RC(t){return xu(t).replace(yv,"{").replace(_v,"}").replace(vv,"^")}function Nc(t){return xu(t).replace(mv,"%2B").replace(CC,"+").replace(gv,"%23").replace(bC,"%26").replace(IC,"`").replace(yv,"{").replace(_v,"}").replace(vv,"^")}function OC(t){return Nc(t).replace(SC,"%3D")}function NC(t){return xu(t).replace(gv,"%23").replace(kC,"%3F")}function AC(t){return t==null?"":NC(t).replace(wC,"%2F")}function ia(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function PC(t){const e={};if(t===""||t==="?")return e;const i=(t[0]==="?"?t.slice(1):t).split("&");for(let s=0;sr&&Nc(r)):[i&&Nc(i)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+n,r!=null&&(e+="="+r))})}return e}function FC(t){const e={};for(const n in t){const i=t[n];i!==void 0&&(e[n]=tn(i)?i.map(s=>s==null?null:""+s):i==null?i:""+i)}return e}const MC=Symbol(""),Yd=Symbol(""),Cu=Symbol(""),Ru=Symbol(""),Ac=Symbol("");function Ls(){let t=[];function e(i){return t.push(i),()=>{const s=t.indexOf(i);s>-1&&t.splice(s,1)}}function n(){t=[]}return{add:e,list:()=>t,reset:n}}function Bn(t,e,n,i,s){const r=i&&(i.enterCallbacks[s]=i.enterCallbacks[s]||[]);return()=>new Promise((o,a)=>{const l=f=>{f===!1?a(_s(4,{from:n,to:e})):f instanceof Error?a(f):oC(f)?a(_s(2,{from:e,to:f})):(r&&i.enterCallbacks[s]===r&&typeof f=="function"&&r.push(f),o())},u=t.call(i&&i.instances[s],e,n,l);let c=Promise.resolve(u);t.length<3&&(c=c.then(l)),c.catch(f=>a(f))})}function ml(t,e,n,i){const s=[];for(const r of t)for(const o in r.components){let a=r.components[o];if(!(e!=="beforeRouteEnter"&&!r.instances[o]))if(DC(a)){const u=(a.__vccOpts||a)[e];u&&s.push(Bn(u,n,i,r,o))}else{let l=a();s.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${r.path}"`));const c=Bx(u)?u.default:u;r.components[o]=c;const h=(c.__vccOpts||c)[e];return h&&Bn(h,n,i,r,o)()}))}}return s}function DC(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Jd(t){const e=un(Cu),n=un(Ru),i=Lt(()=>e.resolve(It(t.to))),s=Lt(()=>{const{matched:l}=i.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const h=f.findIndex(ys.bind(null,c));if(h>-1)return h;const d=Qd(l[u-2]);return u>1&&Qd(c)===d&&f[f.length-1].path!==d?f.findIndex(ys.bind(null,l[u-2])):h}),r=Lt(()=>s.value>-1&&jC(n.params,i.value.params)),o=Lt(()=>s.value>-1&&s.value===n.matched.length-1&&uv(n.params,i.value.params));function a(l={}){return HC(l)?e[It(t.replace)?"replace":"push"](It(t.to)).catch(ir):Promise.resolve()}return{route:i,href:Lt(()=>i.value.href),isActive:r,isExactActive:o,navigate:a}}const LC=Tr({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Jd,setup(t,{slots:e}){const n=Ei(Jd(t)),{options:i}=un(Cu),s=Lt(()=>({[Zd(t.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[Zd(t.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=e.default&&e.default(n);return t.custom?r:hr("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},r)}}}),$C=LC;function HC(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function jC(t,e){for(const n in e){const i=e[n],s=t[n];if(typeof i=="string"){if(i!==s)return!1}else if(!tn(s)||s.length!==i.length||i.some((r,o)=>r!==s[o]))return!1}return!0}function Qd(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Zd=(t,e,n)=>t!=null?t:e!=null?e:n,BC=Tr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const i=un(Ac),s=Lt(()=>t.route||i.value),r=un(Yd,0),o=Lt(()=>{let u=It(r);const{matched:c}=s.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=Lt(()=>s.value.matched[o.value]);oo(Yd,Lt(()=>o.value+1)),oo(MC,a),oo(Ac,s);const l=Xi();return fn(()=>[l.value,a.value,t.name],([u,c,f],[h,d,p])=>{c&&(c.instances[f]=u,d&&d!==c&&u&&u===h&&(c.leaveGuards.size||(c.leaveGuards=d.leaveGuards),c.updateGuards.size||(c.updateGuards=d.updateGuards))),u&&c&&(!d||!ys(c,d)||!h)&&(c.enterCallbacks[f]||[]).forEach(g=>g(u))},{flush:"post"}),()=>{const u=s.value,c=t.name,f=a.value,h=f&&f.components[c];if(!h)return ep(n.default,{Component:h,route:u});const d=f.props[c],p=d?d===!0?u.params:typeof d=="function"?d(u):d:null,w=hr(h,Ie({},p,e,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return ep(n.default,{Component:w,route:u})||w}}});function ep(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const UC=BC;function qC(t){const e=mC(t.routes,t),n=t.parseQuery||PC,i=t.stringifyQuery||Gd,s=t.history,r=Ls(),o=Ls(),a=Ls(),l=gy(Dn);let u=Dn;Li&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=pl.bind(null,O=>""+O),f=pl.bind(null,AC),h=pl.bind(null,ia);function d(O,q){let V,ee;return hv(O)?(V=e.getRecordMatcher(O),ee=q):ee=O,e.addRoute(ee,V)}function p(O){const q=e.getRecordMatcher(O);q&&e.removeRoute(q)}function g(){return e.getRoutes().map(O=>O.record)}function w(O){return!!e.getRecordMatcher(O)}function _(O,q){if(q=Ie({},q||l.value),typeof O=="string"){const v=gl(n,O,q.path),S=e.resolve({path:v.path},q),R=s.createHref(v.fullPath);return Ie(v,S,{params:h(S.params),hash:ia(v.hash),redirectedFrom:void 0,href:R})}let V;if("path"in O)V=Ie({},O,{path:gl(n,O.path,q.path).path});else{const v=Ie({},O.params);for(const S in v)v[S]==null&&delete v[S];V=Ie({},O,{params:f(O.params)}),q.params=f(q.params)}const ee=e.resolve(V,q),he=O.hash||"";ee.params=c(h(ee.params));const me=zx(i,Ie({},O,{hash:RC(he),path:ee.path})),ue=s.createHref(me);return Ie({fullPath:me,hash:he,query:i===Gd?FC(O.query):O.query||{}},ee,{redirectedFrom:void 0,href:ue})}function m(O){return typeof O=="string"?gl(n,O,l.value.path):Ie({},O)}function y(O,q){if(u!==O)return _s(8,{from:q,to:O})}function b(O){return x(O)}function E(O){return b(Ie(m(O),{replace:!0}))}function T(O){const q=O.matched[O.matched.length-1];if(q&&q.redirect){const{redirect:V}=q;let ee=typeof V=="function"?V(O):V;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=m(ee):{path:ee},ee.params={}),Ie({query:O.query,hash:O.hash,params:"path"in ee?{}:O.params},ee)}}function x(O,q){const V=u=_(O),ee=l.value,he=O.state,me=O.force,ue=O.replace===!0,v=T(V);if(v)return x(Ie(m(v),{state:typeof v=="object"?Ie({},he,v.state):he,force:me,replace:ue}),q||V);const S=V;S.redirectedFrom=q;let R;return!me&&Vx(i,ee,V)&&(R=_s(16,{to:S,from:ee}),Ke(ee,ee,!0,!1)),(R?Promise.resolve(R):I(S,ee)).catch(P=>gn(P)?gn(P,2)?P:ce(P):Y(P,S,ee)).then(P=>{if(P){if(gn(P,2))return x(Ie({replace:ue},m(P.to),{state:typeof P.to=="object"?Ie({},he,P.to.state):he,force:me}),q||S)}else P=j(S,ee,!0,ue,he);return N(S,ee,P),P})}function k(O,q){const V=y(O,q);return V?Promise.reject(V):Promise.resolve()}function I(O,q){let V;const[ee,he,me]=zC(O,q);V=ml(ee.reverse(),"beforeRouteLeave",O,q);for(const v of ee)v.leaveGuards.forEach(S=>{V.push(Bn(S,O,q))});const ue=k.bind(null,O,q);return V.push(ue),Ni(V).then(()=>{V=[];for(const v of r.list())V.push(Bn(v,O,q));return V.push(ue),Ni(V)}).then(()=>{V=ml(he,"beforeRouteUpdate",O,q);for(const v of he)v.updateGuards.forEach(S=>{V.push(Bn(S,O,q))});return V.push(ue),Ni(V)}).then(()=>{V=[];for(const v of O.matched)if(v.beforeEnter&&!q.matched.includes(v))if(tn(v.beforeEnter))for(const S of v.beforeEnter)V.push(Bn(S,O,q));else V.push(Bn(v.beforeEnter,O,q));return V.push(ue),Ni(V)}).then(()=>(O.matched.forEach(v=>v.enterCallbacks={}),V=ml(me,"beforeRouteEnter",O,q),V.push(ue),Ni(V))).then(()=>{V=[];for(const v of o.list())V.push(Bn(v,O,q));return V.push(ue),Ni(V)}).catch(v=>gn(v,8)?v:Promise.reject(v))}function N(O,q,V){for(const ee of a.list())ee(O,q,V)}function j(O,q,V,ee,he){const me=y(O,q);if(me)return me;const ue=q===Dn,v=Li?history.state:{};V&&(ee||ue?s.replace(O.fullPath,Ie({scroll:ue&&v&&v.scroll},he)):s.push(O.fullPath,he)),l.value=O,Ke(O,q,V,ue),ce()}let F;function z(){F||(F=s.listen((O,q,V)=>{if(!Te.listening)return;const ee=_(O),he=T(ee);if(he){x(Ie(he,{replace:!0}),ee).catch(ir);return}u=ee;const me=l.value;Li&&Zx(Bd(me.fullPath,V.delta),Pa()),I(ee,me).catch(ue=>gn(ue,12)?ue:gn(ue,2)?(x(ue.to,ee).then(v=>{gn(v,20)&&!V.delta&&V.type===Sr.pop&&s.go(-1,!1)}).catch(ir),Promise.reject()):(V.delta&&s.go(-V.delta,!1),Y(ue,ee,me))).then(ue=>{ue=ue||j(ee,me,!1),ue&&(V.delta&&!gn(ue,8)?s.go(-V.delta,!1):V.type===Sr.pop&&gn(ue,20)&&s.go(-1,!1)),N(ee,me,ue)}).catch(ir)}))}let M=Ls(),J=Ls(),H;function Y(O,q,V){ce(O);const ee=J.list();return ee.length?ee.forEach(he=>he(O,q,V)):console.error(O),Promise.reject(O)}function K(){return H&&l.value!==Dn?Promise.resolve():new Promise((O,q)=>{M.add([O,q])})}function ce(O){return H||(H=!O,z(),M.list().forEach(([q,V])=>O?V(O):q()),M.reset()),O}function Ke(O,q,V,ee){const{scrollBehavior:he}=t;if(!Li||!he)return Promise.resolve();const me=!V&&eC(Bd(O.fullPath,0))||(ee||!V)&&history.state&&history.state.scroll||null;return mi().then(()=>he(O,q,me)).then(ue=>ue&&Qx(ue)).catch(ue=>Y(ue,O,q))}const Ee=O=>s.go(O);let de;const Pe=new Set,Te={currentRoute:l,listening:!0,addRoute:d,removeRoute:p,hasRoute:w,getRoutes:g,resolve:_,options:t,push:b,replace:E,go:Ee,back:()=>Ee(-1),forward:()=>Ee(1),beforeEach:r.add,beforeResolve:o.add,afterEach:a.add,onError:J.add,isReady:K,install(O){const q=this;O.component("RouterLink",$C),O.component("RouterView",UC),O.config.globalProperties.$router=q,Object.defineProperty(O.config.globalProperties,"$route",{enumerable:!0,get:()=>It(l)}),Li&&!de&&l.value===Dn&&(de=!0,b(s.location).catch(he=>{}));const V={};for(const he in Dn)V[he]=Lt(()=>l.value[he]);O.provide(Cu,q),O.provide(Ru,Ei(V)),O.provide(Ac,l);const ee=O.unmount;Pe.add(O),O.unmount=function(){Pe.delete(O),Pe.size<1&&(u=Dn,F&&F(),F=null,l.value=Dn,de=!1,H=!1),ee()}}};return Te}function Ni(t){return t.reduce((e,n)=>e.then(()=>n()),Promise.resolve())}function zC(t,e){const n=[],i=[],s=[],r=Math.max(e.matched.length,t.matched.length);for(let o=0;oys(u,a))?i.push(a):n.push(a));const l=t.matched[o];l&&(e.matched.find(u=>ys(u,l))||s.push(l))}return[n,i,s]}function gR(){return un(Ru)}const VC="modulepreload",WC=function(t){return"/"+t},tp={},np=function(e,n,i){if(!n||n.length===0)return e();const s=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=WC(r),r in tp)return;tp[r]=!0;const o=r.endsWith(".css"),a=o?'[rel="stylesheet"]':"";if(!!i)for(let c=s.length-1;c>=0;c--){const f=s[c];if(f.href===r&&(!o||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const u=document.createElement("link");if(u.rel=o?"stylesheet":VC,o||(u.as="script",u.crossOrigin=""),u.href=r,document.head.appendChild(u),o)return new Promise((c,f)=>{u.addEventListener("load",c),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>e())},bv=()=>localStorage.getItem("data-bs-theme"),KC=t=>localStorage.setItem("data-bs-theme",t),ai=Xi(bv()||"light"),wv=()=>{const t=()=>{const i=bv();return i||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")},e=i=>{i==="auto"&&window.matchMedia("(prefers-color-scheme: dark)").matches?document.documentElement.setAttribute("data-bs-theme","dark"):document.documentElement.setAttribute("data-bs-theme",i),ai.value=i};return{colorMode:ai,colorToggle:()=>{ai.value==="light"?ai.value="dark":ai.value="light",KC(ai.value),e(ai.value)},setTheme:e,getPreferredTheme:t}};const XC=(t,e)=>{const n=t.__vccOpts||t;for(const[i,s]of e)n[i]=s;return n},GC=["fill"],YC=w0('\u516D\u89D2\u5B78\u9662 | \u7A0B\u5F0F\u52C7\u8005\u6751',12),JC=[YC],QC={__name:"LogoRpg",setup(t){const{colorMode:e}=wv();return(n,i)=>(Rt(),hn("svg",{class:"w-155",fill:It(e)==="dark"?"white":"dark",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 224 48"},JC,8,GC))}},ZC=XC(QC,[["__scopeId","data-v-c415d9ef"]]),e2={class:"navbar navbar-expand-lg bg-body-tertiary"},t2={class:"container-fluid"},n2={class:"navbar-brand d-flex justify-content-center align-items-center",href:"#"},i2=at("button",{class:"navbar-toggler",type:"button","data-bs-toggle":"collapse","data-bs-target":"#navbarSupportedContent","aria-controls":"navbarSupportedContent","aria-expanded":"false","aria-label":"Toggle navigation"},[at("span",{class:"navbar-toggler-icon"})],-1),s2={id:"navbarSupportedContent",class:"collapse navbar-collapse"},r2={class:"navbar-nav me-auto mb-2 mb-lg-0"},o2={class:"form-check form-switch text-primary"},a2=["checked"],l2={class:"form-check-label",for:"flexSwitchCheckColorMode"},c2={__name:"NavbarLayout",setup(t){const e=Ei([{id:"questions",name:"\u554F\u8207\u7B54",path:"/questions"},{id:"tasks",name:"\u4EFB\u52D9\u6279\u6539",path:"/tasks"}]),{colorMode:n,colorToggle:i,setTheme:s}=wv();return Es(()=>{s(n.value)}),(r,o)=>{const a=Gc("RouterLink");return Rt(),hn("nav",e2,[at("div",t2,[at("a",n2,[ke(ZC)]),i2,at("div",s2,[at("ul",r2,[(Rt(!0),hn(Ye,null,Up(e,l=>(Rt(),hn("li",{class:"nav-item",key:l.id},[ke(a,{to:l.path,class:"nav-link"},{default:Uc(()=>[Oo(wo(l.name),1)]),_:2},1032,["to"])]))),128))])]),at("div",o2,[at("input",{class:"form-check-input",type:"checkbox",role:"switch",id:"flexSwitchCheckColorMode",checked:It(n)==="dark",onClick:o[0]||(o[0]=(...l)=>It(i)&&It(i)(...l))},null,8,a2),at("label",l2,[at("i",{class:_i(["bi",It(n)==="light"?"bi-sun-fill":"bi-moon-stars-fill"])},null,2),Oo(" "+wo(It(n)==="light"?"\u6DFA\u8272\u6A21\u5F0F":"\u6DF1\u8272\u6A21\u5F0F"),1)])])])])}}},ip={__name:"HomeLayout",setup(t){return(e,n)=>{const i=Gc("RouterView");return Rt(),hn(Ye,null,[ke(c2),ke(i)],64)}}},u2=[{path:"/questions",component:ip,children:[{path:":id?",name:"questions",component:()=>np(()=>import("./QuestionsView.d5083a88.js"),["assets/QuestionsView.d5083a88.js","assets/formatUrl.12c7b985.js","assets/formatUrl.ff674655.css"])}]},{path:"/tasks",component:ip,children:[{path:":id?",name:"tasks",component:()=>np(()=>import("./TasksView.aaa52f0b.js"),["assets/TasksView.aaa52f0b.js","assets/formatUrl.12c7b985.js","assets/formatUrl.ff674655.css","assets/TasksView.ec268fc1.css"])}]}],f2=qC({history:rC(),routes:u2,linkActiveClass:"active"}),Fa=g_(jx),h2=5021005,d2=6,p2=new eI({projectKey:"8aCsWgfSb2oU2nb1iQUr"});p2.start();ok.init(h2,d2);Fa.use(Ax);Fa.use(f2);Fa.use(sk);Fa.mount("#app");export{so as $,gR as A,S2 as B,y2 as C,m2 as D,cp as E,Ye as F,Hv as G,Ep as H,Ki as I,as as J,rt as K,Io as L,Tp as M,v2 as N,xp as O,kp as P,py as Q,ca as R,b2 as S,gy as T,_2 as U,ye as V,by as W,w2 as X,Ct as Y,la as Z,g2 as _,Xi as a,j2 as a$,$p as a0,gt as a1,P2 as a2,Ji as a3,R2 as a4,H2 as a5,cs as a6,T2 as a7,Ht as a8,Vn as a9,Uy as aA,Vy as aB,Kc as aC,Wy as aD,qy as aE,Yy as aF,Gy as aG,Xy as aH,Ky as aI,_a as aJ,Wc as aK,x2 as aL,oo as aM,I2 as aN,Np as aO,U2 as aP,Qy as aQ,D2 as aR,M2 as aS,nR as aT,fr as aU,ef as aV,xy as aW,ls as aX,C0 as aY,tR as aZ,$2 as a_,Cn as aa,iR as ab,p0 as ac,J2 as ad,d0 as ae,L2 as af,w0 as ag,A2 as ah,Tr as ai,V2 as aj,W2 as ak,z2 as al,xs as am,Ti as an,Vc as ao,b0 as ap,hr as aq,ks as ar,Z2 as as,un as at,O0 as au,q2 as av,wi as aw,Y2 as ax,S0 as ay,mi as az,Rt as b,G2 as b0,R0 as b1,X2 as b2,Lp as b3,N0 as b4,E2 as b5,O2 as b6,$y as b7,N2 as b8,Q2 as b9,K2 as ba,eR as bb,C2 as bc,cg as bd,aR as be,tu as bf,g_ as bg,uR as bh,G0 as bi,sR as bj,p_ as bk,fR as bl,Ao as bm,rR as bn,oR as bo,vg as bp,a_ as bq,cR as br,pm as bs,dR as bt,pR as bu,hR as bv,XC as bw,hn as c,at as d,lR as e,F2 as f,Up as g,Pl as h,B2 as i,yg as j,Gc as k,tg as l,Uc as m,Oo as n,Es as o,k2 as p,Lt as q,Ei as r,_i as s,wo as t,It as u,o_ as v,fn as w,ke as x,ra as y,h_ as z}; diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..df36fcf Binary files /dev/null and b/favicon.ico differ diff --git a/favicon/android-chrome-192x192.png b/favicon/android-chrome-192x192.png new file mode 100644 index 0000000..7ef79e0 Binary files /dev/null and b/favicon/android-chrome-192x192.png differ diff --git a/favicon/android-chrome-512x512.png b/favicon/android-chrome-512x512.png new file mode 100644 index 0000000..6edba84 Binary files /dev/null and b/favicon/android-chrome-512x512.png differ diff --git a/favicon/apple-touch-icon.png b/favicon/apple-touch-icon.png new file mode 100644 index 0000000..54f59e6 Binary files /dev/null and b/favicon/apple-touch-icon.png differ diff --git a/favicon/favicon-16x16.png b/favicon/favicon-16x16.png new file mode 100644 index 0000000..811bf2f Binary files /dev/null and b/favicon/favicon-16x16.png differ diff --git a/favicon/favicon-32x32.png b/favicon/favicon-32x32.png new file mode 100644 index 0000000..c2afd92 Binary files /dev/null and b/favicon/favicon-32x32.png differ diff --git a/favicon/favicon.ico b/favicon/favicon.ico new file mode 100644 index 0000000..637bb46 Binary files /dev/null and b/favicon/favicon.ico differ diff --git a/favicon/site.webmanifest b/favicon/site.webmanifest new file mode 100644 index 0000000..45dc8a2 --- /dev/null +++ b/favicon/site.webmanifest @@ -0,0 +1 @@ +{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file diff --git a/hex-logo-center.png b/hex-logo-center.png new file mode 100755 index 0000000..2e6af1b Binary files /dev/null and b/hex-logo-center.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..73e8701 --- /dev/null +++ b/index.html @@ -0,0 +1,26 @@ + + + + + + + + + + + + + 助教系統 | 六角學院 + + + + + + +
    + + + + \ No newline at end of file diff --git a/logo-rpg.svg b/logo-rpg.svg new file mode 100644 index 0000000..f024c68 --- /dev/null +++ b/logo-rpg.svg @@ -0,0 +1 @@ +logo-程式勇者村 \ No newline at end of file diff --git a/rjpHeSm.gif b/rjpHeSm.gif new file mode 100644 index 0000000..34c0822 Binary files /dev/null and b/rjpHeSm.gif differ