UnisKB/static/admin/assets/index-Dxdu6U5Q.js

224 lines
667 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./admin-BkqzSx7d.js","./admin-B9hvC0K6.css","./index.es-DyBZy4UP.js","./defineProperty-DbXIQDXj.js","./typeof-QjJsDpFa.js"])))=>i.map(i=>d[i]);
var J1=Object.defineProperty;var bh=t=>{throw TypeError(t)};var Y1=(t,A,e)=>A in t?J1(t,A,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[A]=e;var JA=(t,A,e)=>Y1(t,typeof A!="symbol"?A+"":A,e),$1=(t,A,e)=>A.has(t)||bh("Cannot "+e);var yh=(t,A,e)=>A.has(t)?bh("Cannot add the same private member more than once"):A instanceof WeakSet?A.add(t):A.set(t,e);var _o=(t,A,e)=>($1(t,A,"access private method"),e);import{_ as Z1,u as AB,a as eB}from"./index-CR0pZKt5.js";import{ay as mr,aO as on,aE as _e,aF as $A,cp as Kl,b2 as we,aB as YA,aD as TA,aG as EA,aH as FA,aI as LA,aS as Gr,aK as xt,aJ as oe,da as Pt,aA as di,b7 as Gl,aW as vt,cE as tB,b8 as Ar,b1 as It,c_ as hf,bd as Sn,cg as _n,aX as rB,aY as nB,cf as $i,ba as yl,az as Ks,aP as df,bb as Vl,cw as oi,aU as $g,aC as mt,b6 as gf,eH as Hn,bD as Vi,b3 as iB,c0 as aB,ce as pf,eI as Io,cr as Dc,aV as sB,eJ as oB,eK as lB,eL as cB,eM as uB,aZ as Fh,cs as fB,bF as hB}from"./admin-BkqzSx7d.js";import{_ as Zg}from"./ResetPassword.vue_vue_type_script_setup_true_lang-BqeaEjws.js";import{_ as dB}from"./500-CPkRZzc6.js";import{_ as je}from"./typeof-QjJsDpFa.js";import"./index-CpcEXECF.js";const gB=Object.freeze(Object.defineProperty({__proto__:null,get default(){return jQ}},Symbol.toStringTag,{value:"Module"}));function Qh(t,A){(A==null||A>t.length)&&(A=t.length);for(var e=0,r=Array(A);e<A;e++)r[e]=t[e];return r}function pB(t,A){if(t){if(typeof t=="string")return Qh(t,A);var e={}.toString.call(t).slice(8,-1);return e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set"?Array.from(t):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Qh(t,A):void 0}}const BB=Object.freeze(Object.defineProperty({__proto__:null,default:Z1},Symbol.toStringTag,{value:"Module"})),wB=mr({__name:"index",props:{modelValue:{type:Boolean},application_profile:{},auth_type:{default:"password"},style:{default:{}}},emits:["update:modelValue"],setup(t,{emit:A}){const e=Object.assign({"/src/views/chat/auth/component/password.vue":BB}),r=A,n=t,i=on({get:()=>n.modelValue,set:a=>{r("update:modelValue",a)}});return(a,s)=>($A(),_e(Kl(we(e)[`/src/views/chat/auth/component/${t.auth_type}.vue`].default),{modelValue:i.value,"onUpdate:modelValue":s[0]||(s[0]=l=>i.value=l),applicationProfile:t.application_profile},null,8,["modelValue","applicationProfile"]))}}),mB=Object.freeze(Object.defineProperty({__proto__:null,default:wB},Symbol.toStringTag,{value:"Module"})),vB={class:"dialog-footer"},CB=mr({__name:"EditTitleDialog",emits:["refresh"],setup(t,{expose:A,emit:e}){const r=e,n=YA(),i=YA(!1),a=YA(""),s=YA(""),l=YA({abstract:""}),u=YA(!1),f=(B,d)=>{a.value=d,s.value=B.id,l.value.abstract=B.abstract,u.value=!0},p=async B=>{B&&await B.validate(d=>{d&&Pt.modifyChat(s.value,l.value,i).then(()=>{r("refresh",s.value,l.value.abstract),u.value=!1})})};return A({open:f,close}),(B,d)=>{const m=TA("el-input"),C=TA("el-form-item"),E=TA("el-form"),v=TA("el-button"),H=TA("el-dialog");return $A(),_e(H,{class:"responsive-dialog",title:B.$t("chat.editTitle"),modelValue:u.value,"onUpdate:modelValue":d[4]||(d[4]=P=>u.value=P),"close-on-click-modal":!1,"close-on-press-escape":!1,"destroy-on-close":!0,"append-to-body":""},{footer:EA(()=>[LA("span",vB,[FA(v,{onClick:d[2]||(d[2]=Gr(P=>u.value=!1,["prevent"]))},{default:EA(()=>[xt(oe(B.$t("common.cancel")),1)]),_:1}),FA(v,{type:"primary",onClick:d[3]||(d[3]=P=>p(n.value)),loading:i.value},{default:EA(()=>[xt(oe(B.$t("common.save")),1)]),_:1},8,["loading"])])]),default:EA(()=>[FA(E,{"label-position":"top",ref_key:"fieldFormRef",ref:n,model:l.value,"require-asterisk-position":"right"},{default:EA(()=>[FA(C,{prop:"abstract",rules:[{required:!0,message:B.$t("common.inputPlaceholder"),trigger:"blur"}]},{default:EA(()=>[FA(m,{modelValue:l.value.abstract,"onUpdate:modelValue":d[0]||(d[0]=P=>l.value.abstract=P),maxlength:"1024","show-word-limit":"",type:"textarea",onBlur:d[1]||(d[1]=P=>l.value.abstract=l.value.abstract.trim())},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1},8,["model"])]),_:1},8,["title","modelValue"])}}}),bB={class:"history-component h-full"},yB={style:{padding:"16px 18px 0 18px"}},FB={class:"flex align-center mb-16"},QB={class:"flex mr-8"},UB=["src"],xB={class:"ml-4"},EB={key:0,class:"flex-between p-8 pb-0 color-secondary mt-8"},LB={key:0,class:"left-height"},_B={class:"p-16 pt-0"},IB={class:"flex-between"},SB=["title"],HB={class:"text-center"},NB={key:0,class:"text-center lighter color-secondary"},kB={class:"flex-between w-full"},TB={class:"flex-between w-full lighter"},DB=["title"],OB={key:0,class:"text-center"},PB=mr({__name:"HistoryPanel",props:{applicationDetail:{},chatLogData:{},leftLoading:{type:Boolean},currentChatId:{},isPcCollapse:{type:Boolean}},emits:["newChat","clickLog","deleteLog","refreshFieldTitle","clearChat"],setup(t,{emit:A}){di();const e=t,r=A,n=on(()=>{var m,C,E;return console.log((m=e.applicationDetail)==null?void 0:m.show_history),((C=e.applicationDetail)==null?void 0:C.show_history)!=null?(E=e.applicationDetail)==null?void 0:E.show_history:!0}),i=YA(),a=YA("");function s(m){a.value=m.id}const l=()=>{r("newChat")},u=m=>{r("clickLog",m)},f=m=>{r("deleteLog",m)},p=()=>{r("clearChat")};function B(m){i.value.open(m,e.applicationDetail.id)}function d(m,C){r("refreshFieldTitle",m,C)}return(m,C)=>{const E=TA("el-avatar"),v=TA("LogoIcon"),H=TA("AppIcon"),P=TA("el-button"),N=TA("el-tooltip"),j=TA("el-dropdown-item"),J=TA("el-dropdown-menu"),X=TA("el-dropdown"),K=TA("el-text"),L=TA("common-list"),q=TA("el-scrollbar"),U=TA("el-menu-item"),S=TA("el-menu-item-group"),G=TA("el-sub-menu"),V=TA("el-menu"),nA=Gl("loading");return $A(),vt("div",bB,[FA(V,{"default-active":t.currentChatId,collapse:t.isPcCollapse,"collapse-transition":!1,"popper-class":"chat-pc-popper",class:"h-full"},{default:EA(()=>{var oA,lA,eA,uA;return[LA("div",yB,[LA("div",FB,[LA("div",QB,[we(hf)((oA=t.applicationDetail)==null?void 0:oA.icon)?($A(),_e(E,{key:0,shape:"square",size:32,style:{background:"none"}},{default:EA(()=>{var vA;return[LA("img",{src:(vA=t.applicationDetail)==null?void 0:vA.icon,alt:""},null,8,UB)]}),_:1})):($A(),_e(v,{key:1,height:"32px"}))]),Ar(LA("h4",{style:Sn({color:(eA=(lA=t.applicationDetail)==null?void 0:lA.custom_theme)==null?void 0:eA.header_font_color})},oe((uA=t.applicationDetail)==null?void 0:uA.name),5),[[_n,!t.isPcCollapse]])]),Ar(FA(P,{type:"primary",plain:"",class:"add-button primary medium w-full",onClick:l},{default:EA(()=>[FA(H,{iconName:"app-create-chat"}),LA("span",xB,oe(m.$t("chat.createChat")),1)]),_:1},512),[[_n,!t.isPcCollapse]]),n.value?Ar(($A(),vt("div",EB,[LA("span",null,oe(m.$t("chat.history")),1),FA(N,{effect:"dark",content:m.$t("chat.clearChat"),placement:"right"},{default:EA(()=>[FA(P,{text:"",onClick:Gr(p,["stop"])},{default:EA(()=>[FA(H,{iconName:"app-delete"})]),_:1})]),_:1},8,["content"])],512)),[[_n,!t.isPcCollapse]]):It("",!0)]),n.value?Ar(($A(),vt("div",LB,[FA(q,null,{default:EA(()=>{var vA;return[LA("div",_B,[Ar(($A(),_e(L,{data:t.chatLogData,class:"mt-8",defaultActive:t.currentChatId,onClick:u,onMouseenter:s,onMouseleave:C[1]||(C[1]=hA=>a.value="")},{default:EA(({row:hA})=>[LA("div",IB,[LA("span",{title:hA.abstract,class:"ellipsis",style:{"max-width":"180px"}},oe(hA.abstract),9,SB),Ar(LA("div",{onClick:C[0]||(C[0]=Gr(()=>{},["stop"]))},[FA(X,{trigger:"click",teleported:!1},{dropdown:EA(()=>[FA(J,null,{default:EA(()=>[FA(j,{onClick:Gr(F=>B(hA),["stop"])},{default:EA(()=>[FA(H,{iconName:"app-edit",class:"color-secondary"}),xt(" "+oe(m.$t("common.edit")),1)]),_:1},8,["onClick"]),FA(j,{onClick:Gr(F=>f(hA),["stop"])},{default:EA(()=>[FA(H,{iconName:"app-delete",class:"color-secondary"}),xt(" "+oe(m.$t("common.delete")),1)]),_:1},8,["onClick"])]),_:2},1024)]),default:EA(()=>[FA(P,{text:""},{default:EA(()=>[FA(H,{iconName:"app-more"})]),_:1})]),_:2},1024)],512),[[_n,a.value===hA.id&&hA.id!=="new"]])])]),empty:EA(()=>[LA("div",HB,[FA(K,{type:"info"},{default:EA(()=>[xt(oe(m.$t("chat.noHistory")),1)]),_:1})])]),_:1},8,["data","defaultActive"])),[[nA,t.leftLoading]])]),(vA=t.chatLogData)!=null&&vA.length?($A(),vt("div",NB,[LA("span",null,oe(m.$t("chat.only20history")),1)])):It("",!0)]}),_:1})],512)),[[_n,!t.isPcCollapse]]):It("",!0),Ar(FA(U,{index:"1",onClick:l},{title:EA(()=>[xt(oe(m.$t("chat.createChat")),1)]),default:EA(()=>[FA(H,{iconName:"app-create-chat"})]),_:1},512),[[_n,t.isPcCollapse]]),n.value?Ar(($A(),_e(G,{key:1,index:"2"},{title:EA(()=>[FA(H,{iconName:"app-history-outlined"})]),default:EA(()=>{var vA;return[Ar(($A(),_e(S,null,{title:EA(()=>[LA("div",kB,[LA("span",null,oe(m.$t("chat.history")),1),FA(N,{effect:"dark",content:m.$t("chat.clearChat"),placement:"right"},{default:EA(()=>[FA(P,{text:"",onClick:Gr(p,["stop"])},{default:EA(()=>[FA(H,{iconName:"app-delete"})]),_:1})]),_:1},8,["content"])])]),default:EA(()=>[($A(!0),vt(rB,null,nB(t.chatLogData,hA=>($A(),_e(U,{index:hA.id,key:hA.id,onClick:F=>u(hA),onMouseenter:F=>s(hA),onMouseleave:C[3]||(C[3]=F=>a.value="")},{default:EA(()=>[LA("div",TB,[LA("span",{title:hA.abstract,class:"ellipsis"},oe(hA.abstract),9,DB),Ar(LA("div",{onClick:C[2]||(C[2]=Gr(()=>{},["stop"])),class:"flex"},[FA(X,{trigger:"click",teleported:!1},{dropdown:EA(()=>[FA(J,null,{default:EA(()=>[FA(j,{onClick:Gr(F=>B(hA),["stop"])},{default:EA(()=>[FA(H,{iconName:"app-edit",class:"color-secondary"}),xt(" "+oe(m.$t("common.edit")),1)]),_:1},8,["onClick"]),FA(j,{onClick:Gr(F=>f(hA),["stop"])},{default:EA(()=>[FA(H,{iconName:"app-delete",class:"color-secondary"}),xt(" "+oe(m.$t("common.delete")),1)]),_:1},8,["onClick"])]),_:2},1024)]),default:EA(()=>[FA(H,{iconName:"app-more",class:"mt-4 lighter"})]),_:2},1024)],512),[[_n,a.value===hA.id&&hA.id!=="new"]])])]),_:2},1032,["index","onClick","onMouseenter"]))),128))]),_:1})),[[nA,t.leftLoading]]),(vA=t.chatLogData)!=null&&vA.length?It("",!0):($A(),vt("div",OB,[FA(K,{type:"info"},{default:EA(()=>[xt(oe(m.$t("chat.noHistory")),1)]),_:1})]))]}),_:1},512)),[[_n,t.isPcCollapse]]):It("",!0)]}),_:1},8,["default-active","collapse"]),tB(m.$slots,"default",{},void 0,!0),FA(CB,{ref_key:"EditTitleDialogRef",ref:i,onRefresh:d},null,512)])}}}),Bf=$i(PB,[["__scopeId","data-v-cebd1d85"]]),RB={class:"user-info p-16 cursor"},MB={class:"flex align-center"},KB={class:"ml-8 color-text-primary"},GB={class:"flex align-center p-8"},VB={class:"mr-8 flex align-center"},jB={class:"medium mb-4"},qB={class:"color-secondary"},WB=mr({__name:"ChatHistoryDrawer",props:yl({applicationDetail:{},chatLogData:{},leftLoading:{type:Boolean},currentChatId:{}},{show:{type:Boolean},showModifiers:{}}),emits:yl(["newChat","clickLog","deleteLog","refreshFieldTitle","clearChat"],["update:show"]),setup(t,{emit:A}){const e=Ks(),r=df(),n=Vl(t,"show"),i=A,{chatUser:a}=di(),s=()=>{i("clearChat")},l=()=>{i("newChat")},u=E=>{i("clickLog",E)},f=E=>{i("deleteLog",E)};function p(E,v){i("refreshFieldTitle",E,v)}const B=YA(),d=()=>{var E;(E=B.value)==null||E.open()},m=E=>{Pt.resetCurrentPassword(E).then(()=>{e.push({name:"login"})})},C=()=>{a.logout().then(()=>{e.push({name:"login",params:{accessToken:a.accessToken},query:r.query})})};return(E,v)=>{const H=TA("el-icon"),P=TA("el-button"),N=TA("el-avatar"),j=TA("AppIcon"),J=TA("el-dropdown-item"),X=TA("el-dropdown-menu"),K=TA("el-dropdown"),L=TA("el-drawer");return $A(),vt("div",null,[FA(L,{modelValue:n.value,"onUpdate:modelValue":v[1]||(v[1]=q=>n.value=q),"with-header":!1,class:"chat-history-drawer",direction:"ltr",size:280,style:{"--el-drawer-padding-primary":"0"}},{default:EA(()=>[FA(P,{class:"collapse cursor",circle:"",onClick:v[0]||(v[0]=q=>n.value=!n.value)},{default:EA(()=>[FA(H,null,{default:EA(()=>[($A(),_e(Kl(n.value?"ArrowLeftBold":"ArrowRightBold")))]),_:1})]),_:1}),FA(Bf,{"application-detail":t.applicationDetail,"chat-log-data":t.chatLogData,"left-loading":t.leftLoading,currentChatId:t.currentChatId,onNewChat:l,onClickLog:u,onDeleteLog:f,onRefreshFieldTitle:p,onClearChat:s},{default:EA(()=>{var q;return[LA("div",RB,[!((q=we(a).chat_profile)!=null&&q.authentication)||we(a).chat_profile.authentication_type==="password"?($A(),_e(N,{key:0,size:32},{default:EA(()=>[...v[2]||(v[2]=[LA("img",{src:oi,style:{width:"54%"},alt:""},null,-1)])]),_:1})):($A(),_e(K,{key:1,trigger:"click",type:"primary",class:"w-full"},{dropdown:EA(()=>[FA(X,{style:{"min-width":"260px"}},{default:EA(()=>{var U,S,G,V;return[LA("div",GB,[LA("div",VB,[FA(N,{size:40},{default:EA(()=>[...v[4]||(v[4]=[LA("img",{src:oi,style:{width:"54%"},alt:""},null,-1)])]),_:1})]),LA("div",null,[LA("h4",jB,oe((U=we(a).chatUserProfile)==null?void 0:U.nick_name),1),LA("div",qB,oe(`${E.$t("common.username")}: ${(S=we(a).chatUserProfile)==null?void 0:S.username}`),1)])]),((G=we(a).chatUserProfile)==null?void 0:G.source)==="LOCAL"?($A(),_e(J,{key:0,class:"border-t",style:{"padding-top":"8px","padding-bottom":"8px"},onClick:d},{default:EA(()=>[FA(j,{iconName:"app-key",class:"color-secondary"}),xt(" "+oe(E.$t("views.login.resetPassword")),1)]),_:1})):It("",!0),((V=we(a).chatUserProfile)==null?void 0:V.source)==="LOCAL"?($A(),_e(J,{key:1,class:"border-t",style:{"padding-top":"8px","padding-bottom":"8px"},onClick:C},{default:EA(()=>[FA(j,{iconName:"app-export",class:"color-secondary"}),xt(" "+oe(E.$t("layout.logout")),1)]),_:1})):It("",!0)]}),_:1})]),default:EA(()=>{var U;return[LA("div",MB,[FA(N,{size:32},{default:EA(()=>[...v[3]||(v[3]=[LA("img",{src:oi,style:{width:"54%"},alt:""},null,-1)])]),_:1}),LA("span",KB,oe((U=we(a).chatUserProfile)==null?void 0:U.nick_name),1)])]}),_:1}))])]}),_:1},8,["application-detail","chat-log-data","left-loading","currentChatId"])]),_:1},8,["modelValue"]),FA(Zg,{ref_key:"resetPasswordRef",ref:B,emitConfirm:"",onConfirm:m},null,512)])}}}),zB=$i(WB,[["__scopeId","data-v-93beeb81"]]),XB={class:"flex-between"},JB={class:"flex align-center"},YB={class:"mr-12 ml-16 flex"},$B=["src"],ZB=["title"],A2={class:"chat-embed__main"},e2=mr({__name:"index",props:{application_profile:{},applicationAvailable:{type:Boolean}},setup(t){const A=YA(),e=YA(!1),r=YA(!1),n=YA([]),i=YA(!1),a=t,s=on({get:()=>a.application_profile,set:X=>{}}),l=$g({current_page:1,page_size:20,total:0}),u=YA([]),f=YA("new"),p=on(()=>{var X,K,L,q;return{background:(K=(X=s.value)==null?void 0:X.custom_theme)==null?void 0:K.theme_color,color:(q=(L=s.value)==null?void 0:L.custom_theme)==null?void 0:q.header_font_color}});function B(){Pt.clearChat(r).then(()=>{f.value="new",l.current_page=1,l.total=0,u.value=[],v()})}function d(X){Pt.deleteChat(X.id).then(()=>{f.value===X.id&&(f.value="new",l.current_page=1,l.total=0,u.value=[]),n.value=n.value.filter(K=>K.id!==X.id)})}function m(X){if(f.value!=="new"&&X.scrollTop===0&&l.total>u.value.length){const K=X.dialogScrollbar.offsetHeight;l.current_page+=1,H().then(()=>{X.scrollDiv.setScrollTop(X.dialogScrollbar.offsetHeight-K)})}}const C={id:"new",abstract:mt("chat.createChat")};function E(){l.current_page=1,u.value=[],n.value.some(X=>X.id==="new")||n.value.unshift(C),f.value="new",i.value=!1}function v(X){const K={current_page:1,page_size:20};Pt.pageChat(K.current_page,K.page_size,r).then(L=>{n.value=L.data.records,X||(l.current_page=1,l.total=0,u.value=[],f.value="new")})}function H(){return Pt.pageChatRecord(f.value,l.current_page,l.page_size,e).then(X=>{l.total=X.data.total;const K=X.data.records;K.map(L=>{L.write_ed=!0,L.record_id=L.id}),u.value=[...K,...u.value].sort((L,q)=>L.create_time.localeCompare(q.create_time)),l.current_page===1&&Vi(()=>{A.value.setScrollBottom()})})}const P=X=>{X.id!==f.value&&(l.current_page=1,u.value=[],f.value=X.id,f.value!=="new"&&H(),i.value=!1)};function N(X,K){const L=n.value.find(q=>q.id==X);L&&(L.abstract=K)}function j(X){f.value=X,v(!0)}const J=()=>{v()};return gf(()=>{J()}),(X,K)=>{var nA,oA,lA,eA,uA,vA,hA,F,k,M,W,$,rA,dA,fA;const L=TA("AppIcon"),q=TA("el-avatar"),U=TA("LogoIcon"),S=TA("el-button"),G=TA("AiChat"),V=Gl("loading");return Ar(($A(),vt("div",{class:"chat-embed layout-bg chat-background",style:Sn({"--el-color-primary":(oA=(nA=s.value)==null?void 0:nA.custom_theme)==null?void 0:oA.theme_color,"--el-color-primary-light-9":we(Hn)(((eA=(lA=s.value)==null?void 0:lA.custom_theme)==null?void 0:eA.theme_color)||"#3370FF",.1),"--el-color-primary-light-6":we(Hn)(((vA=(uA=s.value)==null?void 0:uA.custom_theme)==null?void 0:vA.theme_color)||"#3370FF",.4),"--el-color-primary-light-06":we(Hn)(((F=(hA=s.value)==null?void 0:hA.custom_theme)==null?void 0:F.theme_color)||"#3370FF",.04),backgroundImage:`url(${(k=s.value)==null?void 0:k.chat_background})`})},[LA("div",{class:"chat-embed__header",style:Sn(p.value)},[LA("div",XB,[LA("div",JB,[FA(L,{iconName:"app-mobile-open-history",style:{"font-size":"20px"},class:"ml-16 cursor",onClick:K[0]||(K[0]=Gr(gA=>i.value=!0,["prevent","stop"]))}),LA("div",YB,[we(hf)((M=s.value)==null?void 0:M.icon)?($A(),_e(q,{key:0,shape:"square",size:32,style:{background:"none"}},{default:EA(()=>{var gA;return[LA("img",{src:(gA=s.value)==null?void 0:gA.icon,alt:""},null,8,$B)]}),_:1})):($A(),_e(U,{key:1,height:"32px"}))]),LA("h4",{class:"ellipsis",style:{"max-width":"270px"},title:(W=s.value)==null?void 0:W.name},oe(($=s.value)==null?void 0:$.name),9,ZB)]),FA(S,{text:"",onClick:E,style:Sn([{"margin-right":"85px"},{color:(dA=(rA=s.value)==null?void 0:rA.custom_theme)==null?void 0:dA.header_font_color}])},{default:EA(()=>[FA(L,{iconName:"app-create-chat",style:{"font-size":"20px"}})]),_:1},8,["style"])])],4),LA("div",null,[LA("div",A2,[FA(G,{ref_key:"AiChatRef",ref:A,applicationDetails:s.value,"onUpdate:applicationDetails":K[1]||(K[1]=gA=>s.value=gA),available:t.applicationAvailable,appId:(fA=s.value)==null?void 0:fA.id,record:u.value,chatId:f.value,type:"ai-chat",onRefresh:j,onScroll:m,class:"AiChat-embed"},null,8,["applicationDetails","available","appId","record","chatId"])]),FA(zB,{show:i.value,"onUpdate:show":K[2]||(K[2]=gA=>i.value=gA),"application-detail":s.value,"chat-log-data":n.value,"left-loading":r.value,currentChatId:f.value,onNewChat:E,onClickLog:P,onDeleteLog:d,onRefreshFieldTitle:N,onClearChat:B},null,8,["show","application-detail","chat-log-data","left-loading","currentChatId"])])],4)),[[V,e.value]])}}}),t2=$i(e2,[["__scopeId","data-v-bf458fdc"]]),r2=Object.freeze(Object.defineProperty({__proto__:null,default:t2},Symbol.toStringTag,{value:"Module"})),n2={class:"navigation flex align-center mb-16"},i2={class:"mb-16"},a2=mr({__name:"ResetPasswordDrawer",props:{show:{type:Boolean,required:!0},showModifiers:{}},emits:["update:show"],setup(t){const A=Ks();di();const e=Vl(t,"show"),r=YA(),n=YA({password:"",re_password:""}),i=YA({password:[{required:!0,message:mt("views.login.loginForm.new_password.placeholder"),trigger:"blur"},{min:6,max:20,message:mt("views.login.loginForm.password.lengthMessage"),trigger:"blur"}],re_password:[{required:!0,message:mt("views.login.loginForm.re_password.requiredMessage"),trigger:"blur"},{min:6,max:20,message:mt("views.login.loginForm.password.lengthMessage"),trigger:"blur"},{validator:(s,l,u)=>{n.value.password!=n.value.re_password?u(new Error(mt("views.login.loginForm.re_password.validatorMessage"))):u()},trigger:"blur"}]});function a(){var s;(s=r.value)==null||s.validate().then(()=>{Pt.resetCurrentPassword(n.value).then(()=>{iB(mt("common.modifySuccess")),A.push({name:"login"})})})}return(s,l)=>{const u=TA("ArrowLeftBold"),f=TA("el-icon"),p=TA("el-input"),B=TA("el-form-item"),d=TA("el-form"),m=TA("el-button"),C=TA("el-drawer");return $A(),_e(C,{modelValue:e.value,"onUpdate:modelValue":l[3]||(l[3]=E=>e.value=E),"with-header":!1,class:"reset-password-drawer",size:"100%"},{default:EA(()=>[LA("div",n2,[FA(f,{size:"16",onClick:l[0]||(l[0]=E=>e.value=!1)},{default:EA(()=>[FA(u)]),_:1})]),LA("h2",i2,oe(s.$t("views.login.resetPassword")),1),FA(d,{ref_key:"resetPasswordFormRef",ref:r,model:n.value,rules:i.value},{default:EA(()=>[FA(B,{prop:"password"},{default:EA(()=>[FA(p,{type:"password",size:"large",modelValue:n.value.password,"onUpdate:modelValue":l[1]||(l[1]=E=>n.value.password=E),placeholder:s.$t("views.login.loginForm.new_password.placeholder"),"show-password":""},null,8,["modelValue","placeholder"])]),_:1}),FA(B,{prop:"re_password"},{default:EA(()=>[FA(p,{type:"password",size:"large",modelValue:n.value.re_password,"onUpdate:modelValue":l[2]||(l[2]=E=>n.value.re_password=E),placeholder:s.$t("views.login.loginForm.re_password.placeholder"),"show-password":""},null,8,["modelValue","placeholder"])]),_:1})]),_:1},8,["model","rules"]),FA(m,{type:"primary",size:"large",class:"w-full",onClick:a},{default:EA(()=>[xt(oe(s.$t("chat.confirmModification")),1)]),_:1})]),_:1},8,["modelValue"])}}}),s2={class:"flex-center navigation mb-8"},o2={class:"medium"},l2={class:"card-item info p-16"},c2={class:"mt-12 mb-4"},u2={class:"color-secondary lighter"},f2={class:"flex align-center"},h2={class:"lighter"},d2={class:"lighter"},g2=mr({__name:"UserCenterDrawer",props:{show:{type:Boolean,required:!0},showModifiers:{}},emits:["update:show"],setup(t){const A=Ks(),{chatUser:e}=di(),r=Vl(t,"show"),n=YA(!1);function i(){n.value=!0}function a(){aB(mt("layout.logout"),mt("chat.logoutContent"),{confirmButtonText:mt("layout.logout"),confirmButtonClass:"danger"}).then(()=>{e.logout().then(()=>{A.push({name:"login"})})})}return(s,l)=>{const u=TA("ArrowLeftBold"),f=TA("el-icon"),p=TA("el-avatar"),B=TA("AppIcon"),d=TA("ArrowRight"),m=TA("el-drawer");return $A(),_e(m,{modelValue:r.value,"onUpdate:modelValue":l[2]||(l[2]=C=>r.value=C),"with-header":!1,class:"user-center-drawer",size:"100%"},{default:EA(()=>{var C,E,v,H;return[LA("div",s2,[FA(f,{size:"16",onClick:l[0]||(l[0]=P=>r.value=!1)},{default:EA(()=>[FA(u)]),_:1}),LA("h4",o2,oe(s.$t("chat.mine")),1)]),LA("div",l2,[FA(p,{size:64},{default:EA(()=>[...l[3]||(l[3]=[LA("img",{src:oi,style:{width:"54%"},alt:""},null,-1)])]),_:1}),LA("h2",c2,oe((C=we(e).chatUserProfile)==null?void 0:C.nick_name),1),LA("div",u2,oe(`${s.$t("common.username")}: ${(E=we(e).chatUserProfile)==null?void 0:E.username}`),1)]),((v=we(e).chatUserProfile)==null?void 0:v.source)==="LOCAL"?($A(),vt("div",{key:0,class:"card-item reset-password flex-between",onClick:i},[LA("div",f2,[FA(B,{iconName:"app-key",class:"mr-12"}),LA("h4",h2,oe(s.$t("views.login.resetPassword")),1)]),FA(f,{size:"16"},{default:EA(()=>[FA(d)]),_:1})])):It("",!0),((H=we(e).chatUserProfile)==null?void 0:H.source)==="LOCAL"?($A(),vt("div",{key:1,class:"card-item logout",onClick:a},[LA("h4",d2,oe(s.$t("layout.logout")),1)])):It("",!0),FA(a2,{show:n.value,"onUpdate:show":l[1]||(l[1]=P=>n.value=P)},null,8,["show"])]}),_:1},8,["modelValue"])}}}),p2={key:0,class:"ml-8 color-text-primary"},B2=mr({__name:"ChatHistoryDrawer",props:yl({applicationDetail:{},chatLogData:{},leftLoading:{type:Boolean},currentChatId:{}},{show:{type:Boolean},showModifiers:{}}),emits:yl(["newChat","clickLog","deleteLog","refreshFieldTitle","clearChat"],["update:show"]),setup(t,{emit:A}){const e=Vl(t,"show"),r=A,{chatUser:n}=di(),i=()=>{r("clearChat")},a=()=>{r("newChat")},s=B=>{r("clickLog",B)},l=B=>{r("deleteLog",B)};function u(B,d){r("refreshFieldTitle",B,d)}const f=YA(!1);function p(){var B;!((B=n.chat_profile)!=null&&B.authentication)||n.chat_profile.authentication_type==="password"||(f.value=!0)}return(B,d)=>{const m=TA("el-avatar"),C=TA("el-drawer");return $A(),vt("div",null,[FA(C,{modelValue:e.value,"onUpdate:modelValue":d[0]||(d[0]=E=>e.value=E),"with-header":!1,class:"chat-history-drawer",direction:"ltr",size:280,style:{"--el-drawer-padding-primary":"0"}},{default:EA(()=>[FA(Bf,{"application-detail":t.applicationDetail,"chat-log-data":t.chatLogData,"left-loading":t.leftLoading,currentChatId:t.currentChatId,onNewChat:a,onClickLog:s,onDeleteLog:l,onRefreshFieldTitle:u,onClearChat:i},{default:EA(()=>{var E,v,H;return[LA("div",{class:"flex align-center user-info p-16",onClick:p},[FA(m,{size:32,class:pf(`${!((E=we(n).chat_profile)!=null&&E.authentication)||we(n).chat_profile.authentication_type==="password"?"cursor-default":""}`)},{default:EA(()=>[...d[2]||(d[2]=[LA("img",{src:oi,style:{width:"54%"},alt:""},null,-1)])]),_:1},8,["class"]),(v=we(n).chat_profile)!=null&&v.authentication?($A(),vt("span",p2,oe((H=we(n).chatUserProfile)==null?void 0:H.nick_name),1)):It("",!0)])]}),_:1},8,["application-detail","chat-log-data","left-loading","currentChatId"])]),_:1},8,["modelValue"]),FA(g2,{show:f.value,"onUpdate:show":d[1]||(d[1]=E=>f.value=E)},null,8,["show"])])}}}),w2=$i(B2,[["__scopeId","data-v-25787dae"]]),m2={class:"flex-between"},v2={class:"flex align-center"},C2={class:"mr-12 ml-16 flex"},b2=["src"],y2=["title"],F2={class:"chat-mobile__main"},Q2=mr({__name:"index",props:{application_profile:{},applicationAvailable:{type:Boolean}},setup(t){const{common:A}=di(),e=YA(),r=YA(!1),n=YA(!1),i=YA([]),a=YA(!1),s=t,l=on({get:()=>s.application_profile,set:L=>{}}),u=$g({current_page:1,page_size:20,total:0}),f=YA([]),p=YA("new"),B=on(()=>{var L,q,U,S;return{background:(q=(L=l.value)==null?void 0:L.custom_theme)==null?void 0:q.theme_color,color:(S=(U=l.value)==null?void 0:U.custom_theme)==null?void 0:S.header_font_color}}),d=on(()=>({mobile:A.isMobile()}));function m(){Pt.clearChat(n).then(()=>{p.value="new",u.current_page=1,u.total=0,f.value=[],P()})}function C(L){Pt.deleteChat(L.id).then(()=>{p.value===L.id&&(p.value="new",u.current_page=1,u.total=0,f.value=[]),i.value=i.value.filter(q=>q.id!==L.id)})}function E(L){if(p.value!=="new"&&L.scrollTop===0&&u.total>f.value.length){const q=L.dialogScrollbar.offsetHeight;u.current_page+=1,N().then(()=>{L.scrollDiv.setScrollTop(L.dialogScrollbar.offsetHeight-q)})}}const v={id:"new",abstract:mt("chat.createChat")};function H(){u.current_page=1,f.value=[],i.value.some(L=>L.id==="new")||i.value.unshift(v),p.value="new",a.value=!1}function P(L){const q={current_page:1,page_size:20};Pt.pageChat(q.current_page,q.page_size,n).then(U=>{i.value=U.data.records,L||(u.current_page=1,u.total=0,f.value=[],p.value="new")})}function N(){return Pt.pageChatRecord(p.value,u.current_page,u.page_size,r).then(L=>{u.total=L.data.total;const q=L.data.records;q.map(U=>{U.write_ed=!0,U.record_id=U.id}),f.value=[...q,...f.value].sort((U,S)=>U.create_time.localeCompare(S.create_time)),u.current_page===1&&Vi(()=>{e.value.setScrollBottom()})})}const j=L=>{L.id!==p.value&&(u.current_page=1,f.value=[],p.value=L.id,p.value!=="new"&&N(),a.value=!1)};function J(L,q){const U=i.value.find(S=>S.id==L);U&&(U.abstract=q)}function X(L){p.value=L,P(!0)}const K=()=>{P()};return gf(()=>{K()}),(L,q)=>{var oA,lA,eA,uA,vA,hA,F,k,M,W,$,rA,dA,fA,gA;const U=TA("AppIcon"),S=TA("el-avatar"),G=TA("LogoIcon"),V=TA("el-button"),nA=TA("AiChat");return $A(),vt("div",{class:pf(["chat-mobile layout-bg chat-background",d.value]),style:Sn({"--el-color-primary":(lA=(oA=l.value)==null?void 0:oA.custom_theme)==null?void 0:lA.theme_color,"--el-color-primary-light-9":we(Hn)(((uA=(eA=l.value)==null?void 0:eA.custom_theme)==null?void 0:uA.theme_color)||"#3370FF",.1),"--el-color-primary-light-6":we(Hn)(((hA=(vA=l.value)==null?void 0:vA.custom_theme)==null?void 0:hA.theme_color)||"#3370FF",.4),"--el-color-primary-light-06":we(Hn)(((k=(F=l.value)==null?void 0:F.custom_theme)==null?void 0:k.theme_color)||"#3370FF",.04),backgroundImage:`url(${(M=l.value)==null?void 0:M.chat_background})`})},[LA("div",{class:"chat-mobile__header",style:Sn(B.value)},[LA("div",m2,[LA("div",v2,[FA(U,{iconName:"app-mobile-open-history",style:{"font-size":"20px"},class:"ml-16 cursor",onClick:q[0]||(q[0]=Gr(sA=>a.value=!0,["prevent","stop"]))}),LA("div",C2,[we(hf)((W=l.value)==null?void 0:W.icon)?($A(),_e(S,{key:0,shape:"square",size:32,style:{background:"none"}},{default:EA(()=>{var sA;return[LA("img",{src:(sA=l.value)==null?void 0:sA.icon,alt:""},null,8,b2)]}),_:1})):($A(),_e(G,{key:1,height:"32px"}))]),LA("h4",{class:"ellipsis",style:{"max-width":"270px"},title:($=l.value)==null?void 0:$.name},oe((rA=l.value)==null?void 0:rA.name),9,y2)]),FA(V,{text:"",onClick:H,class:"mr-16",style:Sn({color:(fA=(dA=l.value)==null?void 0:dA.custom_theme)==null?void 0:fA.header_font_color})},{default:EA(()=>[FA(U,{iconName:"app-create-chat",style:{"font-size":"20px"}})]),_:1},8,["style"])])],4),LA("div",null,[LA("div",F2,[FA(nA,{ref_key:"AiChatRef",ref:e,applicationDetails:l.value,"onUpdate:applicationDetails":q[1]||(q[1]=sA=>l.value=sA),available:t.applicationAvailable,appId:(gA=l.value)==null?void 0:gA.id,record:f.value,chatId:p.value,type:"ai-chat",onRefresh:X,onScroll:E,class:"AiChat-embed"},null,8,["applicationDetails","available","appId","record","chatId"])])]),FA(w2,{show:a.value,"onUpdate:show":q[2]||(q[2]=sA=>a.value=sA),"application-detail":l.value,"chat-log-data":i.value,"left-loading":n.value,currentChatId:p.value,onNewChat:H,onClickLog:j,onDeleteLog:C,onRefreshFieldTitle:J,onClearChat:m},null,8,["show","application-detail","chat-log-data","left-loading","currentChatId"])],6)}}}),U2=$i(Q2,[["__scopeId","data-v-a4648719"]]),x2=Object.freeze(Object.defineProperty({__proto__:null,default:U2},Symbol.toStringTag,{value:"Module"})),E2={class:"not-found-container flex-center"},L2={class:"text-center"},_2=mr({__name:"index",setup(t){return Ks(),(A,e)=>($A(),vt("div",E2,[LA("div",null,[e[0]||(e[0]=LA("img",{src:dB,width:"250",alt:""},null,-1)),LA("h4",L2,oe(A.$t("common.notFound.NoService")),1)])]))}}),I2=$i(_2,[["__scopeId","data-v-ca189467"]]),S2=Object.freeze(Object.defineProperty({__proto__:null,default:I2},Symbol.toStringTag,{value:"Module"}));function wf(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Zi=wf();function Ap(t){Zi=t}const ep=/[&<>"']/,H2=new RegExp(ep.source,"g"),tp=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,N2=new RegExp(tp.source,"g"),k2={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Uh=t=>k2[t];function Br(t,A){if(A){if(ep.test(t))return t.replace(H2,Uh)}else if(tp.test(t))return t.replace(N2,Uh);return t}const T2=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function D2(t){return t.replace(T2,(A,e)=>(e=e.toLowerCase(),e==="colon"?":":e.charAt(0)==="#"?e.charAt(1)==="x"?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""))}const O2=/(^|[^\[])\^/g;function Re(t,A){let e=typeof t=="string"?t:t.source;A=A||"";const r={replace:(n,i)=>{let a=typeof i=="string"?i:i.source;return a=a.replace(O2,"$1"),e=e.replace(n,a),r},getRegex:()=>new RegExp(e,A)};return r}function xh(t){try{t=encodeURI(t).replace(/%25/g,"%")}catch{return null}return t}const Es={exec:()=>null};function Eh(t,A){const e=t.replace(/\|/g,(i,a,s)=>{let l=!1,u=a;for(;--u>=0&&s[u]==="\\";)l=!l;return l?"|":" |"}),r=e.split(/ \|/);let n=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),A)if(r.length>A)r.splice(A);else for(;r.length<A;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(/\\\|/g,"|");return r}function So(t,A,e){const r=t.length;if(r===0)return"";let n=0;for(;n<r&&t.charAt(r-n-1)===A;)n++;return t.slice(0,r-n)}function P2(t,A){if(t.indexOf(A[1])===-1)return-1;let e=0;for(let r=0;r<t.length;r++)if(t[r]==="\\")r++;else if(t[r]===A[0])e++;else if(t[r]===A[1]&&(e--,e<0))return r;return-1}function Lh(t,A,e,r){const n=A.href,i=A.title?Br(A.title):null,a=t[1].replace(/\\([\[\]])/g,"$1");if(t[0].charAt(0)!=="!"){r.state.inLink=!0;const s={type:"link",raw:e,href:n,title:i,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,s}return{type:"image",raw:e,href:n,title:i,text:Br(a)}}function R2(t,A){const e=t.match(/^(\s+)(?:```)/);if(e===null)return A;const r=e[1];return A.split(`
`).map(n=>{const i=n.match(/^\s+/);if(i===null)return n;const[a]=i;return a.length>=r.length?n.slice(r.length):n}).join(`
`)}class Fl{constructor(A){JA(this,"options");JA(this,"rules");JA(this,"lexer");this.options=A||Zi}space(A){const e=this.rules.block.newline.exec(A);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(A){const e=this.rules.block.code.exec(A);if(e){const r=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?r:So(r,`
`)}}}fences(A){const e=this.rules.block.fences.exec(A);if(e){const r=e[0],n=R2(r,e[3]||"");return{type:"code",raw:r,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:n}}}heading(A){const e=this.rules.block.heading.exec(A);if(e){let r=e[2].trim();if(/#$/.test(r)){const n=So(r,"#");(this.options.pedantic||!n||/ $/.test(n))&&(r=n.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(A){const e=this.rules.block.hr.exec(A);if(e)return{type:"hr",raw:e[0]}}blockquote(A){const e=this.rules.block.blockquote.exec(A);if(e){let r=e[0].replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,`
$1`);r=So(r.replace(/^ *>[ \t]?/gm,""),`
`);const n=this.lexer.state.top;this.lexer.state.top=!0;const i=this.lexer.blockTokens(r);return this.lexer.state.top=n,{type:"blockquote",raw:e[0],tokens:i,text:r}}}list(A){let e=this.rules.block.list.exec(A);if(e){let r=e[1].trim();const n=r.length>1,i={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");const a=new RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`);let s="",l="",u=!1;for(;A;){let f=!1;if(!(e=a.exec(A))||this.rules.block.hr.test(A))break;s=e[0],A=A.substring(s.length);let p=e[2].split(`
`,1)[0].replace(/^\t+/,v=>" ".repeat(3*v.length)),B=A.split(`
`,1)[0],d=0;this.options.pedantic?(d=2,l=p.trimStart()):(d=e[2].search(/[^ ]/),d=d>4?1:d,l=p.slice(d),d+=e[1].length);let m=!1;if(!p&&/^ *$/.test(B)&&(s+=B+`
`,A=A.substring(B.length+1),f=!0),!f){const v=new RegExp(`^ {0,${Math.min(3,d-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),H=new RegExp(`^ {0,${Math.min(3,d-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),P=new RegExp(`^ {0,${Math.min(3,d-1)}}(?:\`\`\`|~~~)`),N=new RegExp(`^ {0,${Math.min(3,d-1)}}#`);for(;A;){const j=A.split(`
`,1)[0];if(B=j,this.options.pedantic&&(B=B.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),P.test(B)||N.test(B)||v.test(B)||H.test(A))break;if(B.search(/[^ ]/)>=d||!B.trim())l+=`
`+B.slice(d);else{if(m||p.search(/[^ ]/)>=4||P.test(p)||N.test(p)||H.test(p))break;l+=`
`+B}!m&&!B.trim()&&(m=!0),s+=j+`
`,A=A.substring(j.length+1),p=B.slice(d)}}i.loose||(u?i.loose=!0:/\n *\n *$/.test(s)&&(u=!0));let C=null,E;this.options.gfm&&(C=/^\[[ xX]\] /.exec(l),C&&(E=C[0]!=="[ ] ",l=l.replace(/^\[[ xX]\] +/,""))),i.items.push({type:"list_item",raw:s,task:!!C,checked:E,loose:!1,text:l,tokens:[]}),i.raw+=s}i.items[i.items.length-1].raw=s.trimEnd(),i.items[i.items.length-1].text=l.trimEnd(),i.raw=i.raw.trimEnd();for(let f=0;f<i.items.length;f++)if(this.lexer.state.top=!1,i.items[f].tokens=this.lexer.blockTokens(i.items[f].text,[]),!i.loose){const p=i.items[f].tokens.filter(d=>d.type==="space"),B=p.length>0&&p.some(d=>/\n.*\n/.test(d.raw));i.loose=B}if(i.loose)for(let f=0;f<i.items.length;f++)i.items[f].loose=!0;return i}}html(A){const e=this.rules.block.html.exec(A);if(e)return{type:"html",block:!0,raw:e[0],pre:e[1]==="pre"||e[1]==="script"||e[1]==="style",text:e[0]}}def(A){const e=this.rules.block.def.exec(A);if(e){const r=e[1].toLowerCase().replace(/\s+/g," "),n=e[2]?e[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:r,raw:e[0],href:n,title:i}}}table(A){const e=this.rules.block.table.exec(A);if(!e||!/[:|]/.test(e[2]))return;const r=Eh(e[1]),n=e[2].replace(/^\||\| *$/g,"").split("|"),i=e[3]&&e[3].trim()?e[3].replace(/\n[ \t]*$/,"").split(`
`):[],a={type:"table",raw:e[0],header:[],align:[],rows:[]};if(r.length===n.length){for(const s of n)/^ *-+: *$/.test(s)?a.align.push("right"):/^ *:-+: *$/.test(s)?a.align.push("center"):/^ *:-+ *$/.test(s)?a.align.push("left"):a.align.push(null);for(const s of r)a.header.push({text:s,tokens:this.lexer.inline(s)});for(const s of i)a.rows.push(Eh(s,a.header.length).map(l=>({text:l,tokens:this.lexer.inline(l)})));return a}}lheading(A){const e=this.rules.block.lheading.exec(A);if(e)return{type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(A){const e=this.rules.block.paragraph.exec(A);if(e){const r=e[1].charAt(e[1].length-1)===`
`?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:r,tokens:this.lexer.inline(r)}}}text(A){const e=this.rules.block.text.exec(A);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(A){const e=this.rules.inline.escape.exec(A);if(e)return{type:"escape",raw:e[0],text:Br(e[1])}}tag(A){const e=this.rules.inline.tag.exec(A);if(e)return!this.lexer.state.inLink&&/^<a /i.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(A){const e=this.rules.inline.link.exec(A);if(e){const r=e[2].trim();if(!this.options.pedantic&&/^</.test(r)){if(!/>$/.test(r))return;const a=So(r.slice(0,-1),"\\");if((r.length-a.length)%2===0)return}else{const a=P2(e[2],"()");if(a>-1){const l=(e[0].indexOf("!")===0?5:4)+e[1].length+a;e[2]=e[2].substring(0,a),e[0]=e[0].substring(0,l).trim(),e[3]=""}}let n=e[2],i="";if(this.options.pedantic){const a=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);a&&(n=a[1],i=a[3])}else i=e[3]?e[3].slice(1,-1):"";return n=n.trim(),/^</.test(n)&&(this.options.pedantic&&!/>$/.test(r)?n=n.slice(1):n=n.slice(1,-1)),Lh(e,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:i&&i.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer)}}reflink(A,e){let r;if((r=this.rules.inline.reflink.exec(A))||(r=this.rules.inline.nolink.exec(A))){const n=(r[2]||r[1]).replace(/\s+/g," "),i=e[n.toLowerCase()];if(!i){const a=r[0].charAt(0);return{type:"text",raw:a,text:a}}return Lh(r,i,r[0],this.lexer)}}emStrong(A,e,r=""){let n=this.rules.inline.emStrongLDelim.exec(A);if(!n||n[3]&&r.match(/[\p{L}\p{N}]/u))return;if(!(n[1]||n[2]||"")||!r||this.rules.inline.punctuation.exec(r)){const a=[...n[0]].length-1;let s,l,u=a,f=0;const p=n[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(p.lastIndex=0,e=e.slice(-1*A.length+a);(n=p.exec(e))!=null;){if(s=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!s)continue;if(l=[...s].length,n[3]||n[4]){u+=l;continue}else if((n[5]||n[6])&&a%3&&!((a+l)%3)){f+=l;continue}if(u-=l,u>0)continue;l=Math.min(l,l+u+f);const B=[...n[0]][0].length,d=A.slice(0,a+n.index+B+l);if(Math.min(a,l)%2){const C=d.slice(1,-1);return{type:"em",raw:d,text:C,tokens:this.lexer.inlineTokens(C)}}const m=d.slice(2,-2);return{type:"strong",raw:d,text:m,tokens:this.lexer.inlineTokens(m)}}}}codespan(A){const e=this.rules.inline.code.exec(A);if(e){let r=e[2].replace(/\n/g," ");const n=/[^ ]/.test(r),i=/^ /.test(r)&&/ $/.test(r);return n&&i&&(r=r.substring(1,r.length-1)),r=Br(r,!0),{type:"codespan",raw:e[0],text:r}}}br(A){const e=this.rules.inline.br.exec(A);if(e)return{type:"br",raw:e[0]}}del(A){const e=this.rules.inline.del.exec(A);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(A){const e=this.rules.inline.autolink.exec(A);if(e){let r,n;return e[2]==="@"?(r=Br(e[1]),n="mailto:"+r):(r=Br(e[1]),n=r),{type:"link",raw:e[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}}url(A){var r;let e;if(e=this.rules.inline.url.exec(A)){let n,i;if(e[2]==="@")n=Br(e[0]),i="mailto:"+n;else{let a;do a=e[0],e[0]=((r=this.rules.inline._backpedal.exec(e[0]))==null?void 0:r[0])??"";while(a!==e[0]);n=Br(e[0]),e[1]==="www."?i="http://"+e[0]:i=e[0]}return{type:"link",raw:e[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(A){const e=this.rules.inline.text.exec(A);if(e){let r;return this.lexer.state.inRawBlock?r=e[0]:r=Br(e[0]),{type:"text",raw:e[0],text:r}}}}const M2=/^(?: *(?:\n|$))+/,K2=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,G2=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Gs=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,V2=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,rp=/(?:[*+-]|\d{1,9}[.)])/,np=Re(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,rp).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),mf=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,j2=/^[^\n]+/,vf=/(?!\s*\])(?:\\.|[^\[\]\\])+/,q2=Re(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",vf).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),W2=Re(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,rp).getRegex(),jl="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Cf=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,z2=Re("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",Cf).replace("tag",jl).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ip=Re(mf).replace("hr",Gs).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",jl).getRegex(),X2=Re(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",ip).getRegex(),bf={blockquote:X2,code:K2,def:q2,fences:G2,heading:V2,hr:Gs,html:z2,lheading:np,list:W2,newline:M2,paragraph:ip,table:Es,text:j2},_h=Re("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Gs).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",jl).getRegex(),J2={...bf,table:_h,paragraph:Re(mf).replace("hr",Gs).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",_h).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",jl).getRegex()},Y2={...bf,html:Re(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Cf).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Es,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Re(mf).replace("hr",Gs).replace("heading",` *#{1,6} *[^
]`).replace("lheading",np).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},ap=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,$2=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,sp=/^( {2,}|\\)\n(?!\s*$)/,Z2=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Vs="\\p{P}\\p{S}",Aw=Re(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,Vs).getRegex(),ew=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,tw=Re(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,Vs).getRegex(),rw=Re("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,Vs).getRegex(),nw=Re("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,Vs).getRegex(),iw=Re(/\\([punct])/,"gu").replace(/punct/g,Vs).getRegex(),aw=Re(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),sw=Re(Cf).replace("(?:-->|$)","-->").getRegex(),ow=Re("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",sw).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ql=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,lw=Re(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Ql).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),op=Re(/^!?\[(label)\]\[(ref)\]/).replace("label",Ql).replace("ref",vf).getRegex(),lp=Re(/^!?\[(ref)\](?:\[\])?/).replace("ref",vf).getRegex(),cw=Re("reflink|nolink(?!\\()","g").replace("reflink",op).replace("nolink",lp).getRegex(),yf={_backpedal:Es,anyPunctuation:iw,autolink:aw,blockSkip:ew,br:sp,code:$2,del:Es,emStrongLDelim:tw,emStrongRDelimAst:rw,emStrongRDelimUnd:nw,escape:ap,link:lw,nolink:lp,punctuation:Aw,reflink:op,reflinkSearch:cw,tag:ow,text:Z2,url:Es},uw={...yf,link:Re(/^!?\[(label)\]\((.*?)\)/).replace("label",Ql).getRegex(),reflink:Re(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ql).getRegex()},xu={...yf,escape:Re(ap).replace("])","~|])").getRegex(),url:Re(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},fw={...xu,br:Re(sp).replace("{2,}","*").getRegex(),text:Re(xu.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Ho={normal:bf,gfm:J2,pedantic:Y2},ds={normal:yf,gfm:xu,breaks:fw,pedantic:uw};class nn{constructor(A){JA(this,"tokens");JA(this,"options");JA(this,"state");JA(this,"tokenizer");JA(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=A||Zi,this.options.tokenizer=this.options.tokenizer||new Fl,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const e={block:Ho.normal,inline:ds.normal};this.options.pedantic?(e.block=Ho.pedantic,e.inline=ds.pedantic):this.options.gfm&&(e.block=Ho.gfm,this.options.breaks?e.inline=ds.breaks:e.inline=ds.gfm),this.tokenizer.rules=e}static get rules(){return{block:Ho,inline:ds}}static lex(A,e){return new nn(e).lex(A)}static lexInline(A,e){return new nn(e).inlineTokens(A)}lex(A){A=A.replace(/\r\n|\r/g,`
`),this.blockTokens(A,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){const r=this.inlineQueue[e];this.inlineTokens(r.src,r.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(A,e=[]){this.options.pedantic?A=A.replace(/\t/g," ").replace(/^ +$/gm,""):A=A.replace(/^( *)(\t+)/gm,(s,l,u)=>l+" ".repeat(u.length));let r,n,i,a;for(;A;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(s=>(r=s.call({lexer:this},A,e))?(A=A.substring(r.raw.length),e.push(r),!0):!1))){if(r=this.tokenizer.space(A)){A=A.substring(r.raw.length),r.raw.length===1&&e.length>0?e[e.length-1].raw+=`
`:e.push(r);continue}if(r=this.tokenizer.code(A)){A=A.substring(r.raw.length),n=e[e.length-1],n&&(n.type==="paragraph"||n.type==="text")?(n.raw+=`
`+r.raw,n.text+=`
`+r.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text):e.push(r);continue}if(r=this.tokenizer.fences(A)){A=A.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.heading(A)){A=A.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.hr(A)){A=A.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.blockquote(A)){A=A.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.list(A)){A=A.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.html(A)){A=A.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.def(A)){A=A.substring(r.raw.length),n=e[e.length-1],n&&(n.type==="paragraph"||n.type==="text")?(n.raw+=`
`+r.raw,n.text+=`
`+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if(r=this.tokenizer.table(A)){A=A.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.lheading(A)){A=A.substring(r.raw.length),e.push(r);continue}if(i=A,this.options.extensions&&this.options.extensions.startBlock){let s=1/0;const l=A.slice(1);let u;this.options.extensions.startBlock.forEach(f=>{u=f.call({lexer:this},l),typeof u=="number"&&u>=0&&(s=Math.min(s,u))}),s<1/0&&s>=0&&(i=A.substring(0,s+1))}if(this.state.top&&(r=this.tokenizer.paragraph(i))){n=e[e.length-1],a&&n.type==="paragraph"?(n.raw+=`
`+r.raw,n.text+=`
`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):e.push(r),a=i.length!==A.length,A=A.substring(r.raw.length);continue}if(r=this.tokenizer.text(A)){A=A.substring(r.raw.length),n=e[e.length-1],n&&n.type==="text"?(n.raw+=`
`+r.raw,n.text+=`
`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):e.push(r);continue}if(A){const s="Infinite loop on byte: "+A.charCodeAt(0);if(this.options.silent){console.error(s);break}else throw new Error(s)}}return this.state.top=!0,e}inline(A,e=[]){return this.inlineQueue.push({src:A,tokens:e}),e}inlineTokens(A,e=[]){let r,n,i,a=A,s,l,u;if(this.tokens.links){const f=Object.keys(this.tokens.links);if(f.length>0)for(;(s=this.tokenizer.rules.inline.reflinkSearch.exec(a))!=null;)f.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(a=a.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(s=this.tokenizer.rules.inline.blockSkip.exec(a))!=null;)a=a.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(s=this.tokenizer.rules.inline.anyPunctuation.exec(a))!=null;)a=a.slice(0,s.index)+"++"+a.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;A;)if(l||(u=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(f=>(r=f.call({lexer:this},A,e))?(A=A.substring(r.raw.length),e.push(r),!0):!1))){if(r=this.tokenizer.escape(A)){A=A.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.tag(A)){A=A.substring(r.raw.length),n=e[e.length-1],n&&r.type==="text"&&n.type==="text"?(n.raw+=r.raw,n.text+=r.text):e.push(r);continue}if(r=this.tokenizer.link(A)){A=A.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.reflink(A,this.tokens.links)){A=A.substring(r.raw.length),n=e[e.length-1],n&&r.type==="text"&&n.type==="text"?(n.raw+=r.raw,n.text+=r.text):e.push(r);continue}if(r=this.tokenizer.emStrong(A,a,u)){A=A.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.codespan(A)){A=A.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.br(A)){A=A.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.del(A)){A=A.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.autolink(A)){A=A.substring(r.raw.length),e.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(A))){A=A.substring(r.raw.length),e.push(r);continue}if(i=A,this.options.extensions&&this.options.extensions.startInline){let f=1/0;const p=A.slice(1);let B;this.options.extensions.startInline.forEach(d=>{B=d.call({lexer:this},p),typeof B=="number"&&B>=0&&(f=Math.min(f,B))}),f<1/0&&f>=0&&(i=A.substring(0,f+1))}if(r=this.tokenizer.inlineText(i)){A=A.substring(r.raw.length),r.raw.slice(-1)!=="_"&&(u=r.raw.slice(-1)),l=!0,n=e[e.length-1],n&&n.type==="text"?(n.raw+=r.raw,n.text+=r.text):e.push(r);continue}if(A){const f="Infinite loop on byte: "+A.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return e}}class Ul{constructor(A){JA(this,"options");this.options=A||Zi}code(A,e,r){var i;const n=(i=(e||"").match(/^\S*/))==null?void 0:i[0];return A=A.replace(/\n$/,"")+`
`,n?'<pre><code class="language-'+Br(n)+'">'+(r?A:Br(A,!0))+`</code></pre>
`:"<pre><code>"+(r?A:Br(A,!0))+`</code></pre>
`}blockquote(A){return`<blockquote>
${A}</blockquote>
`}html(A,e){return A}heading(A,e,r){return`<h${e}>${A}</h${e}>
`}hr(){return`<hr>
`}list(A,e,r){const n=e?"ol":"ul",i=e&&r!==1?' start="'+r+'"':"";return"<"+n+i+`>
`+A+"</"+n+`>
`}listitem(A,e,r){return`<li>${A}</li>
`}checkbox(A){return"<input "+(A?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph(A){return`<p>${A}</p>
`}table(A,e){return e&&(e=`<tbody>${e}</tbody>`),`<table>
<thead>
`+A+`</thead>
`+e+`</table>
`}tablerow(A){return`<tr>
${A}</tr>
`}tablecell(A,e){const r=e.header?"th":"td";return(e.align?`<${r} align="${e.align}">`:`<${r}>`)+A+`</${r}>
`}strong(A){return`<strong>${A}</strong>`}em(A){return`<em>${A}</em>`}codespan(A){return`<code>${A}</code>`}br(){return"<br>"}del(A){return`<del>${A}</del>`}link(A,e,r){const n=xh(A);if(n===null)return r;A=n;let i='<a href="'+A+'"';return e&&(i+=' title="'+e+'"'),i+=">"+r+"</a>",i}image(A,e,r){const n=xh(A);if(n===null)return r;A=n;let i=`<img src="${A}" alt="${r}"`;return e&&(i+=` title="${e}"`),i+=">",i}text(A){return A}}class Ff{strong(A){return A}em(A){return A}codespan(A){return A}del(A){return A}html(A){return A}text(A){return A}link(A,e,r){return""+r}image(A,e,r){return""+r}br(){return""}}class an{constructor(A){JA(this,"options");JA(this,"renderer");JA(this,"textRenderer");this.options=A||Zi,this.options.renderer=this.options.renderer||new Ul,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Ff}static parse(A,e){return new an(e).parse(A)}static parseInline(A,e){return new an(e).parseInline(A)}parse(A,e=!0){let r="";for(let n=0;n<A.length;n++){const i=A[n];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]){const a=i,s=this.options.extensions.renderers[a.type].call({parser:this},a);if(s!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(a.type)){r+=s||"";continue}}switch(i.type){case"space":continue;case"hr":{r+=this.renderer.hr();continue}case"heading":{const a=i;r+=this.renderer.heading(this.parseInline(a.tokens),a.depth,D2(this.parseInline(a.tokens,this.textRenderer)));continue}case"code":{const a=i;r+=this.renderer.code(a.text,a.lang,!!a.escaped);continue}case"table":{const a=i;let s="",l="";for(let f=0;f<a.header.length;f++)l+=this.renderer.tablecell(this.parseInline(a.header[f].tokens),{header:!0,align:a.align[f]});s+=this.renderer.tablerow(l);let u="";for(let f=0;f<a.rows.length;f++){const p=a.rows[f];l="";for(let B=0;B<p.length;B++)l+=this.renderer.tablecell(this.parseInline(p[B].tokens),{header:!1,align:a.align[B]});u+=this.renderer.tablerow(l)}r+=this.renderer.table(s,u);continue}case"blockquote":{const a=i,s=this.parse(a.tokens);r+=this.renderer.blockquote(s);continue}case"list":{const a=i,s=a.ordered,l=a.start,u=a.loose;let f="";for(let p=0;p<a.items.length;p++){const B=a.items[p],d=B.checked,m=B.task;let C="";if(B.task){const E=this.renderer.checkbox(!!d);u?B.tokens.length>0&&B.tokens[0].type==="paragraph"?(B.tokens[0].text=E+" "+B.tokens[0].text,B.tokens[0].tokens&&B.tokens[0].tokens.length>0&&B.tokens[0].tokens[0].type==="text"&&(B.tokens[0].tokens[0].text=E+" "+B.tokens[0].tokens[0].text)):B.tokens.unshift({type:"text",text:E+" "}):C+=E+" "}C+=this.parse(B.tokens,u),f+=this.renderer.listitem(C,m,!!d)}r+=this.renderer.list(f,s,l);continue}case"html":{const a=i;r+=this.renderer.html(a.text,a.block);continue}case"paragraph":{const a=i;r+=this.renderer.paragraph(this.parseInline(a.tokens));continue}case"text":{let a=i,s=a.tokens?this.parseInline(a.tokens):a.text;for(;n+1<A.length&&A[n+1].type==="text";)a=A[++n],s+=`
`+(a.tokens?this.parseInline(a.tokens):a.text);r+=e?this.renderer.paragraph(s):s;continue}default:{const a='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return r}parseInline(A,e){e=e||this.renderer;let r="";for(let n=0;n<A.length;n++){const i=A[n];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]){const a=this.options.extensions.renderers[i.type].call({parser:this},i);if(a!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){r+=a||"";continue}}switch(i.type){case"escape":{const a=i;r+=e.text(a.text);break}case"html":{const a=i;r+=e.html(a.text);break}case"link":{const a=i;r+=e.link(a.href,a.title,this.parseInline(a.tokens,e));break}case"image":{const a=i;r+=e.image(a.href,a.title,a.text);break}case"strong":{const a=i;r+=e.strong(this.parseInline(a.tokens,e));break}case"em":{const a=i;r+=e.em(this.parseInline(a.tokens,e));break}case"codespan":{const a=i;r+=e.codespan(a.text);break}case"br":{r+=e.br();break}case"del":{const a=i;r+=e.del(this.parseInline(a.tokens,e));break}case"text":{const a=i;r+=e.text(a.text);break}default:{const a='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return r}}class Ls{constructor(A){JA(this,"options");this.options=A||Zi}preprocess(A){return A}postprocess(A){return A}processAllTokens(A){return A}}JA(Ls,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));var Yi,Eu,cp;class hw{constructor(...A){yh(this,Yi);JA(this,"defaults",wf());JA(this,"options",this.setOptions);JA(this,"parse",_o(this,Yi,Eu).call(this,nn.lex,an.parse));JA(this,"parseInline",_o(this,Yi,Eu).call(this,nn.lexInline,an.parseInline));JA(this,"Parser",an);JA(this,"Renderer",Ul);JA(this,"TextRenderer",Ff);JA(this,"Lexer",nn);JA(this,"Tokenizer",Fl);JA(this,"Hooks",Ls);this.use(...A)}walkTokens(A,e){var n,i;let r=[];for(const a of A)switch(r=r.concat(e.call(this,a)),a.type){case"table":{const s=a;for(const l of s.header)r=r.concat(this.walkTokens(l.tokens,e));for(const l of s.rows)for(const u of l)r=r.concat(this.walkTokens(u.tokens,e));break}case"list":{const s=a;r=r.concat(this.walkTokens(s.items,e));break}default:{const s=a;(i=(n=this.defaults.extensions)==null?void 0:n.childTokens)!=null&&i[s.type]?this.defaults.extensions.childTokens[s.type].forEach(l=>{const u=s[l].flat(1/0);r=r.concat(this.walkTokens(u,e))}):s.tokens&&(r=r.concat(this.walkTokens(s.tokens,e)))}}return r}use(...A){const e=this.defaults.extensions||{renderers:{},childTokens:{}};return A.forEach(r=>{const n={...r};if(n.async=this.defaults.async||n.async||!1,r.extensions&&(r.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if("renderer"in i){const a=e.renderers[i.name];a?e.renderers[i.name]=function(...s){let l=i.renderer.apply(this,s);return l===!1&&(l=a.apply(this,s)),l}:e.renderers[i.name]=i.renderer}if("tokenizer"in i){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const a=e[i.level];a?a.unshift(i.tokenizer):e[i.level]=[i.tokenizer],i.start&&(i.level==="block"?e.startBlock?e.startBlock.push(i.start):e.startBlock=[i.start]:i.level==="inline"&&(e.startInline?e.startInline.push(i.start):e.startInline=[i.start]))}"childTokens"in i&&i.childTokens&&(e.childTokens[i.name]=i.childTokens)}),n.extensions=e),r.renderer){const i=this.defaults.renderer||new Ul(this.defaults);for(const a in r.renderer){if(!(a in i))throw new Error(`renderer '${a}' does not exist`);if(a==="options")continue;const s=a,l=r.renderer[s],u=i[s];i[s]=(...f)=>{let p=l.apply(i,f);return p===!1&&(p=u.apply(i,f)),p||""}}n.renderer=i}if(r.tokenizer){const i=this.defaults.tokenizer||new Fl(this.defaults);for(const a in r.tokenizer){if(!(a in i))throw new Error(`tokenizer '${a}' does not exist`);if(["options","rules","lexer"].includes(a))continue;const s=a,l=r.tokenizer[s],u=i[s];i[s]=(...f)=>{let p=l.apply(i,f);return p===!1&&(p=u.apply(i,f)),p}}n.tokenizer=i}if(r.hooks){const i=this.defaults.hooks||new Ls;for(const a in r.hooks){if(!(a in i))throw new Error(`hook '${a}' does not exist`);if(a==="options")continue;const s=a,l=r.hooks[s],u=i[s];Ls.passThroughHooks.has(a)?i[s]=f=>{if(this.defaults.async)return Promise.resolve(l.call(i,f)).then(B=>u.call(i,B));const p=l.call(i,f);return u.call(i,p)}:i[s]=(...f)=>{let p=l.apply(i,f);return p===!1&&(p=u.apply(i,f)),p}}n.hooks=i}if(r.walkTokens){const i=this.defaults.walkTokens,a=r.walkTokens;n.walkTokens=function(s){let l=[];return l.push(a.call(this,s)),i&&(l=l.concat(i.call(this,s))),l}}this.defaults={...this.defaults,...n}}),this}setOptions(A){return this.defaults={...this.defaults,...A},this}lexer(A,e){return nn.lex(A,e??this.defaults)}parser(A,e){return an.parse(A,e??this.defaults)}}Yi=new WeakSet,Eu=function(A,e){return(r,n)=>{const i={...n},a={...this.defaults,...i};this.defaults.async===!0&&i.async===!1&&(a.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),a.async=!0);const s=_o(this,Yi,cp).call(this,!!a.silent,!!a.async);if(typeof r>"u"||r===null)return s(new Error("marked(): input parameter is undefined or null"));if(typeof r!="string")return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(a.hooks&&(a.hooks.options=a),a.async)return Promise.resolve(a.hooks?a.hooks.preprocess(r):r).then(l=>A(l,a)).then(l=>a.hooks?a.hooks.processAllTokens(l):l).then(l=>a.walkTokens?Promise.all(this.walkTokens(l,a.walkTokens)).then(()=>l):l).then(l=>e(l,a)).then(l=>a.hooks?a.hooks.postprocess(l):l).catch(s);try{a.hooks&&(r=a.hooks.preprocess(r));let l=A(r,a);a.hooks&&(l=a.hooks.processAllTokens(l)),a.walkTokens&&this.walkTokens(l,a.walkTokens);let u=e(l,a);return a.hooks&&(u=a.hooks.postprocess(u)),u}catch(l){return s(l)}}},cp=function(A,e){return r=>{if(r.message+=`
Please report this to https://github.com/markedjs/marked.`,A){const n="<p>An error occurred:</p><pre>"+Br(r.message+"",!0)+"</pre>";return e?Promise.resolve(n):n}if(e)return Promise.reject(r);throw r}};const zi=new hw;function Oe(t,A){return zi.parse(t,A)}Oe.options=Oe.setOptions=function(t){return zi.setOptions(t),Oe.defaults=zi.defaults,Ap(Oe.defaults),Oe};Oe.getDefaults=wf;Oe.defaults=Zi;Oe.use=function(...t){return zi.use(...t),Oe.defaults=zi.defaults,Ap(Oe.defaults),Oe};Oe.walkTokens=function(t,A){return zi.walkTokens(t,A)};Oe.parseInline=zi.parseInline;Oe.Parser=an;Oe.parser=an.parse;Oe.Renderer=Ul;Oe.TextRenderer=Ff;Oe.Lexer=nn;Oe.lexer=nn.lex;Oe.Tokenizer=Fl;Oe.Hooks=Ls;Oe.parse=Oe;Oe.options;Oe.setOptions;Oe.use;Oe.walkTokens;Oe.parseInline;an.parse;nn.lex;var fl={exports:{}},dw=fl.exports,Ih;function gw(){return Ih||(Ih=1,(function(t,A){(function(e,r){r()})(dw,function(){function e(u,f){return typeof f>"u"?f={autoBom:!1}:typeof f!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),f={autoBom:!f}),f.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(u.type)?new Blob(["\uFEFF",u],{type:u.type}):u}function r(u,f,p){var B=new XMLHttpRequest;B.open("GET",u),B.responseType="blob",B.onload=function(){l(B.response,f,p)},B.onerror=function(){console.error("could not download file")},B.send()}function n(u){var f=new XMLHttpRequest;f.open("HEAD",u,!1);try{f.send()}catch{}return 200<=f.status&&299>=f.status}function i(u){try{u.dispatchEvent(new MouseEvent("click"))}catch{var f=document.createEvent("MouseEvents");f.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),u.dispatchEvent(f)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Io=="object"&&Io.global===Io?Io:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(u,f,p){var B=a.URL||a.webkitURL,d=document.createElement("a");f=f||u.name||"download",d.download=f,d.rel="noopener",typeof u=="string"?(d.href=u,d.origin===location.origin?i(d):n(d.href)?r(u,f,p):i(d,d.target="_blank")):(d.href=B.createObjectURL(u),setTimeout(function(){B.revokeObjectURL(d.href)},4e4),setTimeout(function(){i(d)},0))}:"msSaveOrOpenBlob"in navigator?function(u,f,p){if(f=f||u.name||"download",typeof u!="string")navigator.msSaveOrOpenBlob(e(u,p),f);else if(n(u))r(u,f,p);else{var B=document.createElement("a");B.href=u,B.target="_blank",setTimeout(function(){i(B)})}}:function(u,f,p,B){if(B=B||open("","_blank"),B&&(B.document.title=B.document.body.innerText="downloading..."),typeof u=="string")return r(u,f,p);var d=u.type==="application/octet-stream",m=/constructor/i.test(a.HTMLElement)||a.safari,C=/CriOS\/[\d]+/.test(navigator.userAgent);if((C||d&&m||s)&&typeof FileReader<"u"){var E=new FileReader;E.onloadend=function(){var P=E.result;P=C?P:P.replace(/^data:[^;]*;/,"data:attachment/file;"),B?B.location.href=P:location=P,B=null},E.readAsDataURL(u)}else{var v=a.URL||a.webkitURL,H=v.createObjectURL(u);B?B.location=H:location.href=H,B=null,setTimeout(function(){v.revokeObjectURL(H)},4e4)}});a.saveAs=l.saveAs=l,t.exports=l})})(fl)),fl.exports}var Sh=gw();function pw(t,A){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;const e=document.implementation.createHTMLDocument(),r=e.createElement("base"),n=e.createElement("a");return e.head.appendChild(r),e.body.appendChild(n),A&&(r.href=A),n.href=t,n.href}const Bw=(()=>{let t=0;const A=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(t+=1,`u${A()}${t}`)})();function li(t){const A=[];for(let e=0,r=t.length;e<r;e++)A.push(t[e]);return A}let ga=null;function up(t={}){return ga||(t.includeStyleProperties?(ga=t.includeStyleProperties,ga):(ga=li(window.getComputedStyle(document.documentElement)),ga))}function xl(t,A){const r=(t.ownerDocument.defaultView||window).getComputedStyle(t).getPropertyValue(A);return r?parseFloat(r.replace("px","")):0}function ww(t){const A=xl(t,"border-left-width"),e=xl(t,"border-right-width");return t.clientWidth+A+e}function mw(t){const A=xl(t,"border-top-width"),e=xl(t,"border-bottom-width");return t.clientHeight+A+e}function vw(t,A={}){const e=A.width||ww(t),r=A.height||mw(t);return{width:e,height:r}}function Lu(t){return new Promise((A,e)=>{const r=new Image;r.onload=()=>{r.decode().then(()=>{requestAnimationFrame(()=>A(r))})},r.onerror=e,r.crossOrigin="anonymous",r.decoding="async",r.src=t})}async function Cw(t){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(t)).then(encodeURIComponent).then(A=>`data:image/svg+xml;charset=utf-8,${A}`)}async function bw(t,A,e){const r="http://www.w3.org/2000/svg",n=document.createElementNS(r,"svg"),i=document.createElementNS(r,"foreignObject");return n.setAttribute("width",`${A}`),n.setAttribute("height",`${e}`),n.setAttribute("viewBox",`0 0 ${A} ${e}`),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("x","0"),i.setAttribute("y","0"),i.setAttribute("externalResourcesRequired","true"),n.appendChild(i),i.appendChild(t),Cw(n)}const ir=(t,A)=>{if(t instanceof A)return!0;const e=Object.getPrototypeOf(t);return e===null?!1:e.constructor.name===A.name||ir(e,A)};function yw(t){const A=t.getPropertyValue("content");return`${t.cssText} content: '${A.replace(/'|"/g,"")}';`}function Fw(t,A){return up(A).map(e=>{const r=t.getPropertyValue(e),n=t.getPropertyPriority(e);return`${e}: ${r}${n?" !important":""};`}).join(" ")}function Qw(t,A,e,r){const n=`.${t}:${A}`,i=e.cssText?yw(e):Fw(e,r);return document.createTextNode(`${n}{${i}}`)}function Hh(t,A,e,r){const n=window.getComputedStyle(t,e),i=n.getPropertyValue("content");if(i===""||i==="none")return;const a=Bw();try{A.className=`${A.className} ${a}`}catch{return}const s=document.createElement("style");s.appendChild(Qw(a,e,n,r)),A.appendChild(s)}function Uw(t,A,e){Hh(t,A,":before",e),Hh(t,A,":after",e)}const Nh="application/font-woff",kh="image/jpeg",xw={woff:Nh,woff2:Nh,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:kh,jpeg:kh,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function Ew(t){const A=/\.([^./]*?)$/g.exec(t);return A?A[1]:""}function Qf(t){const A=Ew(t).toLowerCase();return xw[A]||""}function Lw(t){return t.split(/,/)[1]}function _u(t){return t.search(/^(data:)/)!==-1}function _w(t,A){return`data:${A};base64,${t}`}async function fp(t,A,e){const r=await fetch(t,A);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const n=await r.blob();return new Promise((i,a)=>{const s=new FileReader;s.onerror=a,s.onloadend=()=>{try{i(e({res:r,result:s.result}))}catch(l){a(l)}},s.readAsDataURL(n)})}const Oc={};function Iw(t,A,e){let r=t.replace(/\?.*/,"");return e&&(r=t),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),A?`[${A}]${r}`:r}async function Uf(t,A,e){const r=Iw(t,A,e.includeQueryParams);if(Oc[r]!=null)return Oc[r];e.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+new Date().getTime());let n;try{const i=await fp(t,e.fetchRequestInit,({res:a,result:s})=>(A||(A=a.headers.get("Content-Type")||""),Lw(s)));n=_w(i,A)}catch(i){n=e.imagePlaceholder||"";let a=`Failed to fetch resource: ${t}`;i&&(a=typeof i=="string"?i:i.message),a&&console.warn(a)}return Oc[r]=n,n}async function Sw(t){const A=t.toDataURL();return A==="data:,"?t.cloneNode(!1):Lu(A)}async function Hw(t,A){if(t.currentSrc){const i=document.createElement("canvas"),a=i.getContext("2d");i.width=t.clientWidth,i.height=t.clientHeight,a==null||a.drawImage(t,0,0,i.width,i.height);const s=i.toDataURL();return Lu(s)}const e=t.poster,r=Qf(e),n=await Uf(e,r,A);return Lu(n)}async function Nw(t,A){var e;try{if(!((e=t==null?void 0:t.contentDocument)===null||e===void 0)&&e.body)return await ql(t.contentDocument.body,A,!0)}catch{}return t.cloneNode(!1)}async function kw(t,A){return ir(t,HTMLCanvasElement)?Sw(t):ir(t,HTMLVideoElement)?Hw(t,A):ir(t,HTMLIFrameElement)?Nw(t,A):t.cloneNode(hp(t))}const Tw=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SLOT",hp=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SVG";async function Dw(t,A,e){var r,n;if(hp(A))return A;let i=[];return Tw(t)&&t.assignedNodes?i=li(t.assignedNodes()):ir(t,HTMLIFrameElement)&&(!((r=t.contentDocument)===null||r===void 0)&&r.body)?i=li(t.contentDocument.body.childNodes):i=li(((n=t.shadowRoot)!==null&&n!==void 0?n:t).childNodes),i.length===0||ir(t,HTMLVideoElement)||await i.reduce((a,s)=>a.then(()=>ql(s,e)).then(l=>{l&&A.appendChild(l)}),Promise.resolve()),A}function Ow(t,A,e){const r=A.style;if(!r)return;const n=window.getComputedStyle(t);n.cssText?(r.cssText=n.cssText,r.transformOrigin=n.transformOrigin):up(e).forEach(i=>{let a=n.getPropertyValue(i);i==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),ir(t,HTMLIFrameElement)&&i==="display"&&a==="inline"&&(a="block"),i==="d"&&A.getAttribute("d")&&(a=`path(${A.getAttribute("d")})`),r.setProperty(i,a,n.getPropertyPriority(i))})}function Pw(t,A){ir(t,HTMLTextAreaElement)&&(A.innerHTML=t.value),ir(t,HTMLInputElement)&&A.setAttribute("value",t.value)}function Rw(t,A){if(ir(t,HTMLSelectElement)){const r=Array.from(A.children).find(n=>t.value===n.getAttribute("value"));r&&r.setAttribute("selected","")}}function Mw(t,A,e){return ir(A,Element)&&(Ow(t,A,e),Uw(t,A,e),Pw(t,A),Rw(t,A)),A}async function Kw(t,A){const e=t.querySelectorAll?t.querySelectorAll("use"):[];if(e.length===0)return t;const r={};for(let i=0;i<e.length;i++){const s=e[i].getAttribute("xlink:href");if(s){const l=t.querySelector(s),u=document.querySelector(s);!l&&u&&!r[s]&&(r[s]=await ql(u,A,!0))}}const n=Object.values(r);if(n.length){const i="http://www.w3.org/1999/xhtml",a=document.createElementNS(i,"svg");a.setAttribute("xmlns",i),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";const s=document.createElementNS(i,"defs");a.appendChild(s);for(let l=0;l<n.length;l++)s.appendChild(n[l]);t.appendChild(a)}return t}async function ql(t,A,e){return!e&&A.filter&&!A.filter(t)?null:Promise.resolve(t).then(r=>kw(r,A)).then(r=>Dw(t,r,A)).then(r=>Mw(t,r,A)).then(r=>Kw(r,A))}const dp=/url\((['"]?)([^'"]+?)\1\)/g,Gw=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,Vw=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function jw(t){const A=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${A})(['"]?\\))`,"g")}function qw(t){const A=[];return t.replace(dp,(e,r,n)=>(A.push(n),e)),A.filter(e=>!_u(e))}async function Ww(t,A,e,r,n){try{const i=e?pw(A,e):A,a=Qf(A);let s;return n||(s=await Uf(i,a,r)),t.replace(jw(A),`$1${s}$3`)}catch{}return t}function zw(t,{preferredFontFormat:A}){return A?t.replace(Vw,e=>{for(;;){const[r,,n]=Gw.exec(e)||[];if(!n)return"";if(n===A)return`src: ${r};`}}):t}function gp(t){return t.search(dp)!==-1}async function pp(t,A,e){if(!gp(t))return t;const r=zw(t,e);return qw(r).reduce((i,a)=>i.then(s=>Ww(s,a,A,e)),Promise.resolve(r))}async function pa(t,A,e){var r;const n=(r=A.style)===null||r===void 0?void 0:r.getPropertyValue(t);if(n){const i=await pp(n,null,e);return A.style.setProperty(t,i,A.style.getPropertyPriority(t)),!0}return!1}async function Xw(t,A){await pa("background",t,A)||await pa("background-image",t,A),await pa("mask",t,A)||await pa("-webkit-mask",t,A)||await pa("mask-image",t,A)||await pa("-webkit-mask-image",t,A)}async function Jw(t,A){const e=ir(t,HTMLImageElement);if(!(e&&!_u(t.src))&&!(ir(t,SVGImageElement)&&!_u(t.href.baseVal)))return;const r=e?t.src:t.href.baseVal,n=await Uf(r,Qf(r),A);await new Promise((i,a)=>{t.onload=i,t.onerror=A.onImageErrorHandler?(...l)=>{try{i(A.onImageErrorHandler(...l))}catch(u){a(u)}}:a;const s=t;s.decode&&(s.decode=i),s.loading==="lazy"&&(s.loading="eager"),e?(t.srcset="",t.src=n):t.href.baseVal=n})}async function Yw(t,A){const r=li(t.childNodes).map(n=>Bp(n,A));await Promise.all(r).then(()=>t)}async function Bp(t,A){ir(t,Element)&&(await Xw(t,A),await Jw(t,A),await Yw(t,A))}function $w(t,A){const{style:e}=t;A.backgroundColor&&(e.backgroundColor=A.backgroundColor),A.width&&(e.width=`${A.width}px`),A.height&&(e.height=`${A.height}px`);const r=A.style;return r!=null&&Object.keys(r).forEach(n=>{e[n]=r[n]}),t}const Th={};async function Dh(t){let A=Th[t];if(A!=null)return A;const r=await(await fetch(t)).text();return A={url:t,cssText:r},Th[t]=A,A}async function Oh(t,A){let e=t.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,i=(e.match(/url\([^)]+\)/g)||[]).map(async a=>{let s=a.replace(r,"$1");return s.startsWith("https://")||(s=new URL(s,t.url).href),fp(s,A.fetchRequestInit,({result:l})=>(e=e.replace(a,`url(${l})`),[a,l]))});return Promise.all(i).then(()=>e)}function Ph(t){if(t==null)return[];const A=[],e=/(\/\*[\s\S]*?\*\/)/gi;let r=t.replace(e,"");const n=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const l=n.exec(r);if(l===null)break;A.push(l[0])}r=r.replace(n,"");const i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",s=new RegExp(a,"gi");for(;;){let l=i.exec(r);if(l===null){if(l=s.exec(r),l===null)break;i.lastIndex=s.lastIndex}else s.lastIndex=i.lastIndex;A.push(l[0])}return A}async function Zw(t,A){const e=[],r=[];return t.forEach(n=>{if("cssRules"in n)try{li(n.cssRules||[]).forEach((i,a)=>{if(i.type===CSSRule.IMPORT_RULE){let s=a+1;const l=i.href,u=Dh(l).then(f=>Oh(f,A)).then(f=>Ph(f).forEach(p=>{try{n.insertRule(p,p.startsWith("@import")?s+=1:n.cssRules.length)}catch(B){console.error("Error inserting rule from remote css",{rule:p,error:B})}})).catch(f=>{console.error("Error loading remote css",f.toString())});r.push(u)}})}catch(i){const a=t.find(s=>s.href==null)||document.styleSheets[0];n.href!=null&&r.push(Dh(n.href).then(s=>Oh(s,A)).then(s=>Ph(s).forEach(l=>{a.insertRule(l,a.cssRules.length)})).catch(s=>{console.error("Error loading remote stylesheet",s)})),console.error("Error inlining remote css file",i)}}),Promise.all(r).then(()=>(t.forEach(n=>{if("cssRules"in n)try{li(n.cssRules||[]).forEach(i=>{e.push(i)})}catch(i){console.error(`Error while reading CSS rules from ${n.href}`,i)}}),e))}function A5(t){return t.filter(A=>A.type===CSSRule.FONT_FACE_RULE).filter(A=>gp(A.style.getPropertyValue("src")))}async function e5(t,A){if(t.ownerDocument==null)throw new Error("Provided element is not within a Document");const e=li(t.ownerDocument.styleSheets),r=await Zw(e,A);return A5(r)}function wp(t){return t.trim().replace(/["']/g,"")}function t5(t){const A=new Set;function e(r){(r.style.fontFamily||getComputedStyle(r).fontFamily).split(",").forEach(i=>{A.add(wp(i))}),Array.from(r.children).forEach(i=>{i instanceof HTMLElement&&e(i)})}return e(t),A}async function r5(t,A){const e=await e5(t,A),r=t5(t);return(await Promise.all(e.filter(i=>r.has(wp(i.style.fontFamily))).map(i=>{const a=i.parentStyleSheet?i.parentStyleSheet.href:null;return pp(i.cssText,a,A)}))).join(`
`)}async function n5(t,A){const e=A.fontEmbedCSS!=null?A.fontEmbedCSS:A.skipFonts?null:await r5(t,A);if(e){const r=document.createElement("style"),n=document.createTextNode(e);r.appendChild(n),t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r)}}async function i5(t,A={}){const{width:e,height:r}=vw(t,A),n=await ql(t,A,!0);return await n5(n,A),await Bp(n,A),$w(n,A),await bw(n,e,r)}/*!
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
* Released under MIT License
*//*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var Iu=function(t,A){return Iu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])},Iu(t,A)};function jr(t,A){if(typeof A!="function"&&A!==null)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");Iu(t,A);function e(){this.constructor=t}t.prototype=A===null?Object.create(A):(e.prototype=A.prototype,new e)}var Su=function(){return Su=Object.assign||function(A){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(A[i]=e[i])}return A},Su.apply(this,arguments)};function Zt(t,A,e,r){function n(i){return i instanceof e?i:new e(function(a){a(i)})}return new(e||(e=Promise))(function(i,a){function s(f){try{u(r.next(f))}catch(p){a(p)}}function l(f){try{u(r.throw(f))}catch(p){a(p)}}function u(f){f.done?i(f.value):n(f.value).then(s,l)}u((r=r.apply(t,[])).next())})}function zt(t,A){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,n,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(u){return function(f){return l([u,f])}}function l(u){if(r)throw new TypeError("Generator is already executing.");for(;e;)try{if(r=1,n&&(i=u[0]&2?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return e.label++,{value:u[1],done:!1};case 5:e.label++,n=u[1],u=[0];continue;case 7:u=e.ops.pop(),e.trys.pop();continue;default:if(i=e.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){e.label=u[1];break}if(u[0]===6&&e.label<i[1]){e.label=i[1],i=u;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(u);break}i[2]&&e.ops.pop(),e.trys.pop();continue}u=A.call(t,e)}catch(f){u=[6,f],n=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function No(t,A,e){if(arguments.length===2)for(var r=0,n=A.length,i;r<n;r++)(i||!(r in A))&&(i||(i=Array.prototype.slice.call(A,0,r)),i[r]=A[r]);return t.concat(i||A)}var kn=(function(){function t(A,e,r,n){this.left=A,this.top=e,this.width=r,this.height=n}return t.prototype.add=function(A,e,r,n){return new t(this.left+A,this.top+e,this.width+r,this.height+n)},t.fromClientRect=function(A,e){return new t(e.left+A.windowBounds.left,e.top+A.windowBounds.top,e.width,e.height)},t.fromDOMRectList=function(A,e){var r=Array.from(e).find(function(n){return n.width!==0});return r?new t(r.left+A.windowBounds.left,r.top+A.windowBounds.top,r.width,r.height):t.EMPTY},t.EMPTY=new t(0,0,0,0),t})(),Wl=function(t,A){return kn.fromClientRect(t,A.getBoundingClientRect())},a5=function(t){var A=t.body,e=t.documentElement;if(!A||!e)throw new Error("Unable to get document size");var r=Math.max(Math.max(A.scrollWidth,e.scrollWidth),Math.max(A.offsetWidth,e.offsetWidth),Math.max(A.clientWidth,e.clientWidth)),n=Math.max(Math.max(A.scrollHeight,e.scrollHeight),Math.max(A.offsetHeight,e.offsetHeight),Math.max(A.clientHeight,e.clientHeight));return new kn(0,0,r,n)},zl=function(t){for(var A=[],e=0,r=t.length;e<r;){var n=t.charCodeAt(e++);if(n>=55296&&n<=56319&&e<r){var i=t.charCodeAt(e++);(i&64512)===56320?A.push(((n&1023)<<10)+(i&1023)+65536):(A.push(n),e--)}else A.push(n)}return A},ft=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var r=[],n=-1,i="";++n<e;){var a=t[n];a<=65535?r.push(a):(a-=65536,r.push((a>>10)+55296,a%1024+56320)),(n+1===e||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},Rh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s5=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var ko=0;ko<Rh.length;ko++)s5[Rh.charCodeAt(ko)]=ko;var Mh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Cs=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var To=0;To<Mh.length;To++)Cs[Mh.charCodeAt(To)]=To;var o5=function(t){var A=t.length*.75,e=t.length,r,n=0,i,a,s,l;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var u=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),f=Array.isArray(u)?u:new Uint8Array(u);for(r=0;r<e;r+=4)i=Cs[t.charCodeAt(r)],a=Cs[t.charCodeAt(r+1)],s=Cs[t.charCodeAt(r+2)],l=Cs[t.charCodeAt(r+3)],f[n++]=i<<2|a>>4,f[n++]=(a&15)<<4|s>>2,f[n++]=(s&3)<<6|l&63;return u},l5=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},c5=function(t){for(var A=t.length,e=[],r=0;r<A;r+=4)e.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return e},ji=5,xf=11,Pc=2,u5=xf-ji,mp=65536>>ji,f5=1<<ji,Rc=f5-1,h5=1024>>ji,d5=mp+h5,g5=d5,p5=32,B5=g5+p5,w5=65536>>xf,m5=1<<u5,v5=m5-1,Kh=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},C5=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},b5=function(t,A){var e=o5(t),r=Array.isArray(e)?c5(e):new Uint32Array(e),n=Array.isArray(e)?l5(e):new Uint16Array(e),i=24,a=Kh(n,i/2,r[4]/2),s=r[5]===2?Kh(n,(i+r[4])/2):C5(r,Math.ceil((i+r[4])/4));return new y5(r[0],r[1],r[2],r[3],a,s)},y5=(function(){function t(A,e,r,n,i,a){this.initialValue=A,this.errorValue=e,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=a}return t.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>ji],e=(e<<Pc)+(A&Rc),this.data[e];if(A<=65535)return e=this.index[mp+(A-55296>>ji)],e=(e<<Pc)+(A&Rc),this.data[e];if(A<this.highStart)return e=B5-w5+(A>>xf),e=this.index[e],e+=A>>ji&v5,e=this.index[e],e=(e<<Pc)+(A&Rc),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),Gh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",F5=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Do=0;Do<Gh.length;Do++)F5[Gh.charCodeAt(Do)]=Do;var Q5="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",Vh=50,U5=1,vp=2,Cp=3,x5=4,E5=5,jh=7,bp=8,qh=9,ni=10,Hu=11,Wh=12,Nu=13,L5=14,bs=15,ku=16,Oo=17,gs=18,_5=19,zh=20,Tu=21,ps=22,Mc=23,Ba=24,pr=25,ys=26,Fs=27,wa=28,I5=29,Mi=30,S5=31,Po=32,Ro=33,Du=34,Ou=35,Pu=36,Ds=37,Ru=38,hl=39,dl=40,Kc=41,yp=42,H5=43,N5=[9001,65288],Fp="!",Ce="×",Mo="÷",Mu=b5(Q5),Un=[Mi,Pu],Ku=[U5,vp,Cp,E5],Qp=[ni,bp],Xh=[Fs,ys],k5=Ku.concat(Qp),Jh=[Ru,hl,dl,Du,Ou],T5=[bs,Nu],D5=function(t,A){A===void 0&&(A="strict");var e=[],r=[],n=[];return t.forEach(function(i,a){var s=Mu.get(i);if(s>Vh?(n.push(!0),s-=Vh):n.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(i)!==-1)return r.push(a),e.push(ku);if(s===x5||s===Hu){if(a===0)return r.push(a),e.push(Mi);var l=e[a-1];return k5.indexOf(l)===-1?(r.push(r[a-1]),e.push(l)):(r.push(a),e.push(Mi))}if(r.push(a),s===S5)return e.push(A==="strict"?Tu:Ds);if(s===yp||s===I5)return e.push(Mi);if(s===H5)return i>=131072&&i<=196605||i>=196608&&i<=262141?e.push(Ds):e.push(Mi);e.push(s)}),[r,e,n]},Gc=function(t,A,e,r){var n=r[e];if(Array.isArray(t)?t.indexOf(n)!==-1:t===n)for(var i=e;i<=r.length;){i++;var a=r[i];if(a===A)return!0;if(a!==ni)break}if(n===ni)for(var i=e;i>0;){i--;var s=r[i];if(Array.isArray(t)?t.indexOf(s)!==-1:t===s)for(var l=e;l<=r.length;){l++;var a=r[l];if(a===A)return!0;if(a!==ni)break}if(s!==ni)break}return!1},Yh=function(t,A){for(var e=t;e>=0;){var r=A[e];if(r===ni)e--;else return r}return 0},O5=function(t,A,e,r,n){if(e[r]===0)return Ce;var i=r-1;if(Array.isArray(n)&&n[i]===!0)return Ce;var a=i-1,s=i+1,l=A[i],u=a>=0?A[a]:0,f=A[s];if(l===vp&&f===Cp)return Ce;if(Ku.indexOf(l)!==-1)return Fp;if(Ku.indexOf(f)!==-1||Qp.indexOf(f)!==-1)return Ce;if(Yh(i,A)===bp)return Mo;if(Mu.get(t[i])===Hu||(l===Po||l===Ro)&&Mu.get(t[s])===Hu||l===jh||f===jh||l===qh||[ni,Nu,bs].indexOf(l)===-1&&f===qh||[Oo,gs,_5,Ba,wa].indexOf(f)!==-1||Yh(i,A)===ps||Gc(Mc,ps,i,A)||Gc([Oo,gs],Tu,i,A)||Gc(Wh,Wh,i,A))return Ce;if(l===ni)return Mo;if(l===Mc||f===Mc)return Ce;if(f===ku||l===ku)return Mo;if([Nu,bs,Tu].indexOf(f)!==-1||l===L5||u===Pu&&T5.indexOf(l)!==-1||l===wa&&f===Pu||f===zh||Un.indexOf(f)!==-1&&l===pr||Un.indexOf(l)!==-1&&f===pr||l===Fs&&[Ds,Po,Ro].indexOf(f)!==-1||[Ds,Po,Ro].indexOf(l)!==-1&&f===ys||Un.indexOf(l)!==-1&&Xh.indexOf(f)!==-1||Xh.indexOf(l)!==-1&&Un.indexOf(f)!==-1||[Fs,ys].indexOf(l)!==-1&&(f===pr||[ps,bs].indexOf(f)!==-1&&A[s+1]===pr)||[ps,bs].indexOf(l)!==-1&&f===pr||l===pr&&[pr,wa,Ba].indexOf(f)!==-1)return Ce;if([pr,wa,Ba,Oo,gs].indexOf(f)!==-1)for(var p=i;p>=0;){var B=A[p];if(B===pr)return Ce;if([wa,Ba].indexOf(B)!==-1)p--;else break}if([Fs,ys].indexOf(f)!==-1)for(var p=[Oo,gs].indexOf(l)!==-1?a:i;p>=0;){var B=A[p];if(B===pr)return Ce;if([wa,Ba].indexOf(B)!==-1)p--;else break}if(Ru===l&&[Ru,hl,Du,Ou].indexOf(f)!==-1||[hl,Du].indexOf(l)!==-1&&[hl,dl].indexOf(f)!==-1||[dl,Ou].indexOf(l)!==-1&&f===dl||Jh.indexOf(l)!==-1&&[zh,ys].indexOf(f)!==-1||Jh.indexOf(f)!==-1&&l===Fs||Un.indexOf(l)!==-1&&Un.indexOf(f)!==-1||l===Ba&&Un.indexOf(f)!==-1||Un.concat(pr).indexOf(l)!==-1&&f===ps&&N5.indexOf(t[s])===-1||Un.concat(pr).indexOf(f)!==-1&&l===gs)return Ce;if(l===Kc&&f===Kc){for(var d=e[i],m=1;d>0&&(d--,A[d]===Kc);)m++;if(m%2!==0)return Ce}return l===Po&&f===Ro?Ce:Mo},P5=function(t,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var e=D5(t,A.lineBreak),r=e[0],n=e[1],i=e[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(n=n.map(function(s){return[pr,Mi,yp].indexOf(s)!==-1?Ds:s}));var a=A.wordBreak==="keep-all"?i.map(function(s,l){return s&&t[l]>=19968&&t[l]<=40959}):void 0;return[r,n,a]},R5=(function(){function t(A,e,r,n){this.codePoints=A,this.required=e===Fp,this.start=r,this.end=n}return t.prototype.slice=function(){return ft.apply(void 0,this.codePoints.slice(this.start,this.end))},t})(),M5=function(t,A){var e=zl(t),r=P5(e,A),n=r[0],i=r[1],a=r[2],s=e.length,l=0,u=0;return{next:function(){if(u>=s)return{done:!0,value:null};for(var f=Ce;u<s&&(f=O5(e,i,n,++u,a))===Ce;);if(f!==Ce||u===s){var p=new R5(e,f,l,u);return l=u,{value:p,done:!1}}return{done:!0,value:null}}}},K5=1,G5=2,js=4,$h=8,El=10,Zh=47,_s=92,V5=9,j5=32,Ko=34,Bs=61,q5=35,W5=36,z5=37,Go=39,Vo=40,ws=41,X5=95,nr=45,J5=33,Y5=60,$5=62,Z5=64,Am=91,em=93,tm=61,rm=123,jo=63,nm=125,Ad=124,im=126,am=128,ed=65533,Vc=42,Gi=43,sm=44,om=58,lm=59,Os=46,cm=0,um=8,fm=11,hm=14,dm=31,gm=127,en=-1,Up=48,xp=97,Ep=101,pm=102,Bm=117,wm=122,Lp=65,_p=69,Ip=70,mm=85,vm=90,Xt=function(t){return t>=Up&&t<=57},Cm=function(t){return t>=55296&&t<=57343},ma=function(t){return Xt(t)||t>=Lp&&t<=Ip||t>=xp&&t<=pm},bm=function(t){return t>=xp&&t<=wm},ym=function(t){return t>=Lp&&t<=vm},Fm=function(t){return bm(t)||ym(t)},Qm=function(t){return t>=am},qo=function(t){return t===El||t===V5||t===j5},Ll=function(t){return Fm(t)||Qm(t)||t===X5},td=function(t){return Ll(t)||Xt(t)||t===nr},Um=function(t){return t>=cm&&t<=um||t===fm||t>=hm&&t<=dm||t===gm},ri=function(t,A){return t!==_s?!1:A!==El},Wo=function(t,A,e){return t===nr?Ll(A)||ri(A,e):Ll(t)?!0:!!(t===_s&&ri(t,A))},jc=function(t,A,e){return t===Gi||t===nr?Xt(A)?!0:A===Os&&Xt(e):Xt(t===Os?A:t)},xm=function(t){var A=0,e=1;(t[A]===Gi||t[A]===nr)&&(t[A]===nr&&(e=-1),A++);for(var r=[];Xt(t[A]);)r.push(t[A++]);var n=r.length?parseInt(ft.apply(void 0,r),10):0;t[A]===Os&&A++;for(var i=[];Xt(t[A]);)i.push(t[A++]);var a=i.length,s=a?parseInt(ft.apply(void 0,i),10):0;(t[A]===_p||t[A]===Ep)&&A++;var l=1;(t[A]===Gi||t[A]===nr)&&(t[A]===nr&&(l=-1),A++);for(var u=[];Xt(t[A]);)u.push(t[A++]);var f=u.length?parseInt(ft.apply(void 0,u),10):0;return e*(n+s*Math.pow(10,-a))*Math.pow(10,l*f)},Em={type:2},Lm={type:3},_m={type:4},Im={type:13},Sm={type:8},Hm={type:21},Nm={type:9},km={type:10},Tm={type:11},Dm={type:12},Om={type:14},zo={type:23},Pm={type:1},Rm={type:25},Mm={type:24},Km={type:26},Gm={type:27},Vm={type:28},jm={type:29},qm={type:31},Gu={type:32},Sp=(function(){function t(){this._value=[]}return t.prototype.write=function(A){this._value=this._value.concat(zl(A))},t.prototype.read=function(){for(var A=[],e=this.consumeToken();e!==Gu;)A.push(e),e=this.consumeToken();return A},t.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case Ko:return this.consumeStringToken(Ko);case q5:var e=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(td(e)||ri(r,n)){var i=Wo(e,r,n)?G5:K5,a=this.consumeName();return{type:5,value:a,flags:i}}break;case W5:if(this.peekCodePoint(0)===Bs)return this.consumeCodePoint(),Im;break;case Go:return this.consumeStringToken(Go);case Vo:return Em;case ws:return Lm;case Vc:if(this.peekCodePoint(0)===Bs)return this.consumeCodePoint(),Om;break;case Gi:if(jc(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case sm:return _m;case nr:var s=A,l=this.peekCodePoint(0),u=this.peekCodePoint(1);if(jc(s,l,u))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(Wo(s,l,u))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(l===nr&&u===$5)return this.consumeCodePoint(),this.consumeCodePoint(),Mm;break;case Os:if(jc(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Zh:if(this.peekCodePoint(0)===Vc)for(this.consumeCodePoint();;){var f=this.consumeCodePoint();if(f===Vc&&(f=this.consumeCodePoint(),f===Zh))return this.consumeToken();if(f===en)return this.consumeToken()}break;case om:return Km;case lm:return Gm;case Y5:if(this.peekCodePoint(0)===J5&&this.peekCodePoint(1)===nr&&this.peekCodePoint(2)===nr)return this.consumeCodePoint(),this.consumeCodePoint(),Rm;break;case Z5:var p=this.peekCodePoint(0),B=this.peekCodePoint(1),d=this.peekCodePoint(2);if(Wo(p,B,d)){var a=this.consumeName();return{type:7,value:a}}break;case Am:return Vm;case _s:if(ri(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case em:return jm;case tm:if(this.peekCodePoint(0)===Bs)return this.consumeCodePoint(),Sm;break;case rm:return Tm;case nm:return Dm;case Bm:case mm:var m=this.peekCodePoint(0),C=this.peekCodePoint(1);return m===Gi&&(ma(C)||C===jo)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case Ad:if(this.peekCodePoint(0)===Bs)return this.consumeCodePoint(),Nm;if(this.peekCodePoint(0)===Ad)return this.consumeCodePoint(),Hm;break;case im:if(this.peekCodePoint(0)===Bs)return this.consumeCodePoint(),km;break;case en:return Gu}return qo(A)?(this.consumeWhiteSpace(),qm):Xt(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):Ll(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:ft(A)}},t.prototype.consumeCodePoint=function(){var A=this._value.shift();return typeof A>"u"?-1:A},t.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},t.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},t.prototype.consumeUnicodeRangeToken=function(){for(var A=[],e=this.consumeCodePoint();ma(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();for(var r=!1;e===jo&&A.length<6;)A.push(e),e=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(ft.apply(void 0,A.map(function(l){return l===jo?Up:l})),16),i=parseInt(ft.apply(void 0,A.map(function(l){return l===jo?Ip:l})),16);return{type:30,start:n,end:i}}var a=parseInt(ft.apply(void 0,A),16);if(this.peekCodePoint(0)===nr&&ma(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();for(var s=[];ma(e)&&s.length<6;)s.push(e),e=this.consumeCodePoint();var i=parseInt(ft.apply(void 0,s),16);return{type:30,start:a,end:i}}else return{type:30,start:a,end:a}},t.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===Vo?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Vo?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},t.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===en)return{type:22,value:""};var e=this.peekCodePoint(0);if(e===Go||e===Ko){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===en||this.peekCodePoint(0)===ws)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),zo)}for(;;){var n=this.consumeCodePoint();if(n===en||n===ws)return{type:22,value:ft.apply(void 0,A)};if(qo(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===en||this.peekCodePoint(0)===ws?(this.consumeCodePoint(),{type:22,value:ft.apply(void 0,A)}):(this.consumeBadUrlRemnants(),zo);if(n===Ko||n===Go||n===Vo||Um(n))return this.consumeBadUrlRemnants(),zo;if(n===_s)if(ri(n,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),zo;else A.push(n)}},t.prototype.consumeWhiteSpace=function(){for(;qo(this.peekCodePoint(0));)this.consumeCodePoint()},t.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(A===ws||A===en)return;ri(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},t.prototype.consumeStringSlice=function(A){for(var e=5e4,r="";A>0;){var n=Math.min(e,A);r+=ft.apply(void 0,this._value.splice(0,n)),A-=n}return this._value.shift(),r},t.prototype.consumeStringToken=function(A){var e="",r=0;do{var n=this._value[r];if(n===en||n===void 0||n===A)return e+=this.consumeStringSlice(r),{type:0,value:e};if(n===El)return this._value.splice(0,r),Pm;if(n===_s){var i=this._value[r+1];i!==en&&i!==void 0&&(i===El?(e+=this.consumeStringSlice(r),r=-1,this._value.shift()):ri(n,i)&&(e+=this.consumeStringSlice(r),e+=ft(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},t.prototype.consumeNumber=function(){var A=[],e=js,r=this.peekCodePoint(0);for((r===Gi||r===nr)&&A.push(this.consumeCodePoint());Xt(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===Os&&Xt(n))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=$h;Xt(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((r===_p||r===Ep)&&((n===Gi||n===nr)&&Xt(i)||Xt(n)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=$h;Xt(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[xm(A),e]},t.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),e=A[0],r=A[1],n=this.peekCodePoint(0),i=this.peekCodePoint(1),a=this.peekCodePoint(2);if(Wo(n,i,a)){var s=this.consumeName();return{type:15,number:e,flags:r,unit:s}}return n===z5?(this.consumeCodePoint(),{type:16,number:e,flags:r}):{type:17,number:e,flags:r}},t.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(ma(A)){for(var e=ft(A);ma(this.peekCodePoint(0))&&e.length<6;)e+=ft(this.consumeCodePoint());qo(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(e,16);return r===0||Cm(r)||r>1114111?ed:r}return A===en?ed:A},t.prototype.consumeName=function(){for(var A="";;){var e=this.consumeCodePoint();if(td(e))A+=ft(e);else if(ri(e,this.peekCodePoint(0)))A+=ft(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(e),A}},t})(),Hp=(function(){function t(A){this._tokens=A}return t.create=function(A){var e=new Sp;return e.write(A),new t(e.read())},t.parseValue=function(A){return t.create(A).parseComponentValue()},t.parseValues=function(A){return t.create(A).parseComponentValues()},t.prototype.parseComponentValue=function(){for(var A=this.consumeToken();A.type===31;)A=this.consumeToken();if(A.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var e=this.consumeComponentValue();do A=this.consumeToken();while(A.type===31);if(A.type===32)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},t.prototype.parseComponentValues=function(){for(var A=[];;){var e=this.consumeComponentValue();if(e.type===32)return A;A.push(e),A.push()}},t.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},t.prototype.consumeSimpleBlock=function(A){for(var e={type:A,values:[]},r=this.consumeToken();;){if(r.type===32||zm(r,A))return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue()),r=this.consumeToken()}},t.prototype.consumeFunction=function(A){for(var e={name:A.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue())}},t.prototype.consumeToken=function(){var A=this._tokens.shift();return typeof A>"u"?Gu:A},t.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},t})(),qs=function(t){return t.type===15},Oa=function(t){return t.type===17},Pe=function(t){return t.type===20},Wm=function(t){return t.type===0},Vu=function(t,A){return Pe(t)&&t.value===A},Np=function(t){return t.type!==31},Da=function(t){return t.type!==31&&t.type!==4},ln=function(t){var A=[],e=[];return t.forEach(function(r){if(r.type===4){if(e.length===0)throw new Error("Error parsing function args, zero tokens for arg");A.push(e),e=[];return}r.type!==31&&e.push(r)}),e.length&&A.push(e),A},zm=function(t,A){return A===11&&t.type===12||A===28&&t.type===29?!0:A===2&&t.type===3},fi=function(t){return t.type===17||t.type===15},Ct=function(t){return t.type===16||fi(t)},kp=function(t){return t.length>1?[t[0],t[1]]:[t[0]]},Rt={type:17,number:0,flags:js},Ef={type:16,number:50,flags:js},ii={type:16,number:100,flags:js},Qs=function(t,A,e){var r=t[0],n=t[1];return[ze(r,A),ze(typeof n<"u"?n:r,e)]},ze=function(t,A){if(t.type===16)return t.number/100*A;if(qs(t))switch(t.unit){case"rem":case"em":return 16*t.number;case"px":default:return t.number}return t.number},Tp="deg",Dp="grad",Op="rad",Pp="turn",Xl={name:"angle",parse:function(t,A){if(A.type===15)switch(A.unit){case Tp:return Math.PI*A.number/180;case Dp:return Math.PI/200*A.number;case Op:return A.number;case Pp:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},Rp=function(t){return t.type===15&&(t.unit===Tp||t.unit===Dp||t.unit===Op||t.unit===Pp)},Mp=function(t){var A=t.filter(Pe).map(function(e){return e.value}).join(" ");switch(A){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Rt,Rt];case"to top":case"bottom":return Ir(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Rt,ii];case"to right":case"left":return Ir(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[ii,ii];case"to bottom":case"top":return Ir(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[ii,Rt];case"to left":case"right":return Ir(270)}return 0},Ir=function(t){return Math.PI*t/180},ci={name:"color",parse:function(t,A){if(A.type===18){var e=Xm[A.name];if(typeof e>"u")throw new Error('Attempting to parse an unsupported color function "'+A.name+'"');return e(t,A.values)}if(A.type===5){if(A.value.length===3){var r=A.value.substring(0,1),n=A.value.substring(1,2),i=A.value.substring(2,3);return ai(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(A.value.length===4){var r=A.value.substring(0,1),n=A.value.substring(1,2),i=A.value.substring(2,3),a=A.value.substring(3,4);return ai(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(a+a,16)/255)}if(A.value.length===6){var r=A.value.substring(0,2),n=A.value.substring(2,4),i=A.value.substring(4,6);return ai(parseInt(r,16),parseInt(n,16),parseInt(i,16),1)}if(A.value.length===8){var r=A.value.substring(0,2),n=A.value.substring(2,4),i=A.value.substring(4,6),a=A.value.substring(6,8);return ai(parseInt(r,16),parseInt(n,16),parseInt(i,16),parseInt(a,16)/255)}}if(A.type===20){var s=Nn[A.value.toUpperCase()];if(typeof s<"u")return s}return Nn.TRANSPARENT}},ui=function(t){return(255&t)===0},_t=function(t){var A=255&t,e=255&t>>8,r=255&t>>16,n=255&t>>24;return A<255?"rgba("+n+","+r+","+e+","+A/255+")":"rgb("+n+","+r+","+e+")"},ai=function(t,A,e,r){return(t<<24|A<<16|e<<8|Math.round(r*255)<<0)>>>0},rd=function(t,A){if(t.type===17)return t.number;if(t.type===16){var e=A===3?1:255;return A===3?t.number/100*e:Math.round(t.number/100*e)}return 0},nd=function(t,A){var e=A.filter(Da);if(e.length===3){var r=e.map(rd),n=r[0],i=r[1],a=r[2];return ai(n,i,a,1)}if(e.length===4){var s=e.map(rd),n=s[0],i=s[1],a=s[2],l=s[3];return ai(n,i,a,l)}return 0};function qc(t,A,e){return e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(A-t)*e*6+t:e<1/2?A:e<2/3?(A-t)*6*(2/3-e)+t:t}var id=function(t,A){var e=A.filter(Da),r=e[0],n=e[1],i=e[2],a=e[3],s=(r.type===17?Ir(r.number):Xl.parse(t,r))/(Math.PI*2),l=Ct(n)?n.number/100:0,u=Ct(i)?i.number/100:0,f=typeof a<"u"&&Ct(a)?ze(a,1):1;if(l===0)return ai(u*255,u*255,u*255,1);var p=u<=.5?u*(l+1):u+l-u*l,B=u*2-p,d=qc(B,p,s+1/3),m=qc(B,p,s),C=qc(B,p,s-1/3);return ai(d*255,m*255,C*255,f)},Xm={hsl:id,hsla:id,rgb:nd,rgba:nd},Is=function(t,A){return ci.parse(t,Hp.create(A).parseComponentValue())},Nn={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Jm={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(t,A){return A.map(function(e){if(Pe(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Ym={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Jl=function(t,A){var e=ci.parse(t,A[0]),r=A[1];return r&&Ct(r)?{color:e,stop:r}:{color:e,stop:null}},ad=function(t,A){var e=t[0],r=t[t.length-1];e.stop===null&&(e.stop=Rt),r.stop===null&&(r.stop=ii);for(var n=[],i=0,a=0;a<t.length;a++){var s=t[a].stop;if(s!==null){var l=ze(s,A);l>i?n.push(l):n.push(i),i=l}else n.push(null)}for(var u=null,a=0;a<n.length;a++){var f=n[a];if(f===null)u===null&&(u=a);else if(u!==null){for(var p=a-u,B=n[u-1],d=(f-B)/(p+1),m=1;m<=p;m++)n[u+m-1]=d*m;u=null}}return t.map(function(C,E){var v=C.color;return{color:v,stop:Math.max(Math.min(1,n[E]/A),0)}})},$m=function(t,A,e){var r=A/2,n=e/2,i=ze(t[0],A)-r,a=n-ze(t[1],e);return(Math.atan2(a,i)+Math.PI*2)%(Math.PI*2)},Zm=function(t,A,e){var r=typeof t=="number"?t:$m(t,A,e),n=Math.abs(A*Math.sin(r))+Math.abs(e*Math.cos(r)),i=A/2,a=e/2,s=n/2,l=Math.sin(r-Math.PI/2)*s,u=Math.cos(r-Math.PI/2)*s;return[n,i-u,i+u,a-l,a+l]},Kr=function(t,A){return Math.sqrt(t*t+A*A)},sd=function(t,A,e,r,n){var i=[[0,0],[0,A],[t,0],[t,A]];return i.reduce(function(a,s){var l=s[0],u=s[1],f=Kr(e-l,r-u);return(n?f<a.optimumDistance:f>a.optimumDistance)?{optimumCorner:s,optimumDistance:f}:a},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},Av=function(t,A,e,r,n){var i=0,a=0;switch(t.size){case 0:t.shape===0?i=a=Math.min(Math.abs(A),Math.abs(A-r),Math.abs(e),Math.abs(e-n)):t.shape===1&&(i=Math.min(Math.abs(A),Math.abs(A-r)),a=Math.min(Math.abs(e),Math.abs(e-n)));break;case 2:if(t.shape===0)i=a=Math.min(Kr(A,e),Kr(A,e-n),Kr(A-r,e),Kr(A-r,e-n));else if(t.shape===1){var s=Math.min(Math.abs(e),Math.abs(e-n))/Math.min(Math.abs(A),Math.abs(A-r)),l=sd(r,n,A,e,!0),u=l[0],f=l[1];i=Kr(u-A,(f-e)/s),a=s*i}break;case 1:t.shape===0?i=a=Math.max(Math.abs(A),Math.abs(A-r),Math.abs(e),Math.abs(e-n)):t.shape===1&&(i=Math.max(Math.abs(A),Math.abs(A-r)),a=Math.max(Math.abs(e),Math.abs(e-n)));break;case 3:if(t.shape===0)i=a=Math.max(Kr(A,e),Kr(A,e-n),Kr(A-r,e),Kr(A-r,e-n));else if(t.shape===1){var s=Math.max(Math.abs(e),Math.abs(e-n))/Math.max(Math.abs(A),Math.abs(A-r)),p=sd(r,n,A,e,!1),u=p[0],f=p[1];i=Kr(u-A,(f-e)/s),a=s*i}break}return Array.isArray(t.size)&&(i=ze(t.size[0],r),a=t.size.length===2?ze(t.size[1],n):i),[i,a]},ev=function(t,A){var e=Ir(180),r=[];return ln(A).forEach(function(n,i){if(i===0){var a=n[0];if(a.type===20&&a.value==="to"){e=Mp(n);return}else if(Rp(a)){e=Xl.parse(t,a);return}}var s=Jl(t,n);r.push(s)}),{angle:e,stops:r,type:1}},Xo=function(t,A){var e=Ir(180),r=[];return ln(A).forEach(function(n,i){if(i===0){var a=n[0];if(a.type===20&&["top","left","right","bottom"].indexOf(a.value)!==-1){e=Mp(n);return}else if(Rp(a)){e=(Xl.parse(t,a)+Ir(270))%Ir(360);return}}var s=Jl(t,n);r.push(s)}),{angle:e,stops:r,type:1}},tv=function(t,A){var e=Ir(180),r=[],n=1,i=0,a=3,s=[];return ln(A).forEach(function(l,u){var f=l[0];if(u===0){if(Pe(f)&&f.value==="linear"){n=1;return}else if(Pe(f)&&f.value==="radial"){n=2;return}}if(f.type===18){if(f.name==="from"){var p=ci.parse(t,f.values[0]);r.push({stop:Rt,color:p})}else if(f.name==="to"){var p=ci.parse(t,f.values[0]);r.push({stop:ii,color:p})}else if(f.name==="color-stop"){var B=f.values.filter(Da);if(B.length===2){var p=ci.parse(t,B[1]),d=B[0];Oa(d)&&r.push({stop:{type:16,number:d.number*100,flags:d.flags},color:p})}}}}),n===1?{angle:(e+Ir(180))%Ir(360),stops:r,type:n}:{size:a,shape:i,stops:r,position:s,type:n}},Kp="closest-side",Gp="farthest-side",Vp="closest-corner",jp="farthest-corner",qp="circle",Wp="ellipse",zp="cover",Xp="contain",rv=function(t,A){var e=0,r=3,n=[],i=[];return ln(A).forEach(function(a,s){var l=!0;if(s===0){var u=!1;l=a.reduce(function(p,B){if(u)if(Pe(B))switch(B.value){case"center":return i.push(Ef),p;case"top":case"left":return i.push(Rt),p;case"right":case"bottom":return i.push(ii),p}else(Ct(B)||fi(B))&&i.push(B);else if(Pe(B))switch(B.value){case qp:return e=0,!1;case Wp:return e=1,!1;case"at":return u=!0,!1;case Kp:return r=0,!1;case zp:case Gp:return r=1,!1;case Xp:case Vp:return r=2,!1;case jp:return r=3,!1}else if(fi(B)||Ct(B))return Array.isArray(r)||(r=[]),r.push(B),!1;return p},l)}if(l){var f=Jl(t,a);n.push(f)}}),{size:r,shape:e,stops:n,position:i,type:2}},Jo=function(t,A){var e=0,r=3,n=[],i=[];return ln(A).forEach(function(a,s){var l=!0;if(s===0?l=a.reduce(function(f,p){if(Pe(p))switch(p.value){case"center":return i.push(Ef),!1;case"top":case"left":return i.push(Rt),!1;case"right":case"bottom":return i.push(ii),!1}else if(Ct(p)||fi(p))return i.push(p),!1;return f},l):s===1&&(l=a.reduce(function(f,p){if(Pe(p))switch(p.value){case qp:return e=0,!1;case Wp:return e=1,!1;case Xp:case Kp:return r=0,!1;case Gp:return r=1,!1;case Vp:return r=2,!1;case zp:case jp:return r=3,!1}else if(fi(p)||Ct(p))return Array.isArray(r)||(r=[]),r.push(p),!1;return f},l)),l){var u=Jl(t,a);n.push(u)}}),{size:r,shape:e,stops:n,position:i,type:2}},nv=function(t){return t.type===1},iv=function(t){return t.type===2},Lf={name:"image",parse:function(t,A){if(A.type===22){var e={url:A.value,type:0};return t.cache.addImage(A.value),e}if(A.type===18){var r=Jp[A.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+A.name+'"');return r(t,A.values)}throw new Error("Unsupported image type "+A.type)}};function av(t){return!(t.type===20&&t.value==="none")&&(t.type!==18||!!Jp[t.name])}var Jp={"linear-gradient":ev,"-moz-linear-gradient":Xo,"-ms-linear-gradient":Xo,"-o-linear-gradient":Xo,"-webkit-linear-gradient":Xo,"radial-gradient":rv,"-moz-radial-gradient":Jo,"-ms-radial-gradient":Jo,"-o-radial-gradient":Jo,"-webkit-radial-gradient":Jo,"-webkit-gradient":tv},sv={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(t,A){if(A.length===0)return[];var e=A[0];return e.type===20&&e.value==="none"?[]:A.filter(function(r){return Da(r)&&av(r)}).map(function(r){return Lf.parse(t,r)})}},ov={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(t,A){return A.map(function(e){if(Pe(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},lv={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(t,A){return ln(A).map(function(e){return e.filter(Ct)}).map(kp)}},cv={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(t,A){return ln(A).map(function(e){return e.filter(Pe).map(function(r){return r.value}).join(" ")}).map(uv)}},uv=function(t){switch(t){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Sa;(function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"})(Sa||(Sa={}));var fv={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(t,A){return ln(A).map(function(e){return e.filter(hv)})}},hv=function(t){return Pe(t)||Ct(t)},Yl=function(t){return{name:"border-"+t+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},dv=Yl("top"),gv=Yl("right"),pv=Yl("bottom"),Bv=Yl("left"),$l=function(t){return{name:"border-radius-"+t,initialValue:"0 0",prefix:!1,type:1,parse:function(A,e){return kp(e.filter(Ct))}}},wv=$l("top-left"),mv=$l("top-right"),vv=$l("bottom-right"),Cv=$l("bottom-left"),Zl=function(t){return{name:"border-"+t+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,e){switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},bv=Zl("top"),yv=Zl("right"),Fv=Zl("bottom"),Qv=Zl("left"),Ac=function(t){return{name:"border-"+t+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return qs(e)?e.number:0}}},Uv=Ac("top"),xv=Ac("right"),Ev=Ac("bottom"),Lv=Ac("left"),_v={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Iv={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(t,A){switch(A){case"rtl":return 1;case"ltr":default:return 0}}},Sv={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(t,A){return A.filter(Pe).reduce(function(e,r){return e|Hv(r.value)},0)}},Hv=function(t){switch(t){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Nv={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(t,A){switch(A){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},kv={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(t,A){return A.type===20&&A.value==="normal"?0:A.type===17||A.type===15?A.number:0}},_l;(function(t){t.NORMAL="normal",t.STRICT="strict"})(_l||(_l={}));var Tv={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,A){switch(A){case"strict":return _l.STRICT;case"normal":default:return _l.NORMAL}}},Dv={name:"line-height",initialValue:"normal",prefix:!1,type:4},od=function(t,A){return Pe(t)&&t.value==="normal"?1.2*A:t.type===17?A*t.number:Ct(t)?ze(t,A):A},Ov={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(t,A){return A.type===20&&A.value==="none"?null:Lf.parse(t,A)}},Pv={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(t,A){switch(A){case"inside":return 0;case"outside":default:return 1}}},ju={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(t,A){switch(A){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},ec=function(t){return{name:"margin-"+t,initialValue:"0",prefix:!1,type:4}},Rv=ec("top"),Mv=ec("right"),Kv=ec("bottom"),Gv=ec("left"),Vv={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(t,A){return A.filter(Pe).map(function(e){switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},jv={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(t,A){switch(A){case"break-word":return"break-word";case"normal":default:return"normal"}}},tc=function(t){return{name:"padding-"+t,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},qv=tc("top"),Wv=tc("right"),zv=tc("bottom"),Xv=tc("left"),Jv={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(t,A){switch(A){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Yv={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(t,A){switch(A){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},$v={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,A){return A.length===1&&Vu(A[0],"none")?[]:ln(A).map(function(e){for(var r={color:Nn.TRANSPARENT,offsetX:Rt,offsetY:Rt,blur:Rt},n=0,i=0;i<e.length;i++){var a=e[i];fi(a)?(n===0?r.offsetX=a:n===1?r.offsetY=a:r.blur=a,n++):r.color=ci.parse(t,a)}return r})}},Zv={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(t,A){switch(A){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},AC={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(t,A){if(A.type===20&&A.value==="none")return null;if(A.type===18){var e=rC[A.name];if(typeof e>"u")throw new Error('Attempting to parse an unsupported transform function "'+A.name+'"');return e(A.values)}return null}},eC=function(t){var A=t.filter(function(e){return e.type===17}).map(function(e){return e.number});return A.length===6?A:null},tC=function(t){var A=t.filter(function(l){return l.type===17}).map(function(l){return l.number}),e=A[0],r=A[1];A[2],A[3];var n=A[4],i=A[5];A[6],A[7],A[8],A[9],A[10],A[11];var a=A[12],s=A[13];return A[14],A[15],A.length===16?[e,r,n,i,a,s]:null},rC={matrix:eC,matrix3d:tC},ld={type:16,number:50,flags:js},nC=[ld,ld],iC={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(t,A){var e=A.filter(Ct);return e.length!==2?nC:[e[0],e[1]]}},aC={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(t,A){switch(A){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Ss;(function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"})(Ss||(Ss={}));var sC={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,A){switch(A){case"break-all":return Ss.BREAK_ALL;case"keep-all":return Ss.KEEP_ALL;case"normal":default:return Ss.NORMAL}}},oC={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(t,A){if(A.type===20)return{auto:!0,order:0};if(Oa(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},Yp={name:"time",parse:function(t,A){if(A.type===15)switch(A.unit.toLowerCase()){case"s":return 1e3*A.number;case"ms":return A.number}throw new Error("Unsupported time type")}},lC={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(t,A){return Oa(A)?A.number:1}},cC={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},uC={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(t,A){return A.filter(Pe).map(function(e){switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(e){return e!==0})}},fC={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(t,A){var e=[],r=[];return A.forEach(function(n){switch(n.type){case 20:case 0:e.push(n.value);break;case 17:e.push(n.number.toString());break;case 4:r.push(e.join(" ")),e.length=0;break}}),e.length&&r.push(e.join(" ")),r.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},hC={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},dC={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(t,A){if(Oa(A))return A.number;if(Pe(A))switch(A.value){case"bold":return 700;case"normal":default:return 400}return 400}},gC={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(t,A){return A.filter(Pe).map(function(e){return e.value})}},pC={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(t,A){switch(A){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Et=function(t,A){return(t&A)!==0},BC={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(t,A){if(A.length===0)return[];var e=A[0];return e.type===20&&e.value==="none"?[]:A}},wC={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(t,A){if(A.length===0)return null;var e=A[0];if(e.type===20&&e.value==="none")return null;for(var r=[],n=A.filter(Np),i=0;i<n.length;i++){var a=n[i],s=n[i+1];if(a.type===20){var l=s&&Oa(s)?s.number:1;r.push({counter:a.value,increment:l})}}return r}},mC={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(t,A){if(A.length===0)return[];for(var e=[],r=A.filter(Np),n=0;n<r.length;n++){var i=r[n],a=r[n+1];if(Pe(i)&&i.value!=="none"){var s=a&&Oa(a)?a.number:0;e.push({counter:i.value,reset:s})}}return e}},vC={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(t,A){return A.filter(qs).map(function(e){return Yp.parse(t,e)})}},CC={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(t,A){if(A.length===0)return null;var e=A[0];if(e.type===20&&e.value==="none")return null;var r=[],n=A.filter(Wm);if(n.length%2!==0)return null;for(var i=0;i<n.length;i+=2){var a=n[i].value,s=n[i+1].value;r.push({open:a,close:s})}return r}},cd=function(t,A,e){if(!t)return"";var r=t[Math.min(A,t.length-1)];return r?e?r.open:r.close:""},bC={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,A){return A.length===1&&Vu(A[0],"none")?[]:ln(A).map(function(e){for(var r={color:255,offsetX:Rt,offsetY:Rt,blur:Rt,spread:Rt,inset:!1},n=0,i=0;i<e.length;i++){var a=e[i];Vu(a,"inset")?r.inset=!0:fi(a)?(n===0?r.offsetX=a:n===1?r.offsetY=a:n===2?r.blur=a:r.spread=a,n++):r.color=ci.parse(t,a)}return r})}},yC={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(t,A){var e=[0,1,2],r=[];return A.filter(Pe).forEach(function(n){switch(n.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),e.forEach(function(n){r.indexOf(n)===-1&&r.push(n)}),r}},FC={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},QC={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(t,A){return qs(A)?A.number:0}},UC=(function(){function t(A,e){var r,n;this.animationDuration=HA(A,vC,e.animationDuration),this.backgroundClip=HA(A,Jm,e.backgroundClip),this.backgroundColor=HA(A,Ym,e.backgroundColor),this.backgroundImage=HA(A,sv,e.backgroundImage),this.backgroundOrigin=HA(A,ov,e.backgroundOrigin),this.backgroundPosition=HA(A,lv,e.backgroundPosition),this.backgroundRepeat=HA(A,cv,e.backgroundRepeat),this.backgroundSize=HA(A,fv,e.backgroundSize),this.borderTopColor=HA(A,dv,e.borderTopColor),this.borderRightColor=HA(A,gv,e.borderRightColor),this.borderBottomColor=HA(A,pv,e.borderBottomColor),this.borderLeftColor=HA(A,Bv,e.borderLeftColor),this.borderTopLeftRadius=HA(A,wv,e.borderTopLeftRadius),this.borderTopRightRadius=HA(A,mv,e.borderTopRightRadius),this.borderBottomRightRadius=HA(A,vv,e.borderBottomRightRadius),this.borderBottomLeftRadius=HA(A,Cv,e.borderBottomLeftRadius),this.borderTopStyle=HA(A,bv,e.borderTopStyle),this.borderRightStyle=HA(A,yv,e.borderRightStyle),this.borderBottomStyle=HA(A,Fv,e.borderBottomStyle),this.borderLeftStyle=HA(A,Qv,e.borderLeftStyle),this.borderTopWidth=HA(A,Uv,e.borderTopWidth),this.borderRightWidth=HA(A,xv,e.borderRightWidth),this.borderBottomWidth=HA(A,Ev,e.borderBottomWidth),this.borderLeftWidth=HA(A,Lv,e.borderLeftWidth),this.boxShadow=HA(A,bC,e.boxShadow),this.color=HA(A,_v,e.color),this.direction=HA(A,Iv,e.direction),this.display=HA(A,Sv,e.display),this.float=HA(A,Nv,e.cssFloat),this.fontFamily=HA(A,fC,e.fontFamily),this.fontSize=HA(A,hC,e.fontSize),this.fontStyle=HA(A,pC,e.fontStyle),this.fontVariant=HA(A,gC,e.fontVariant),this.fontWeight=HA(A,dC,e.fontWeight),this.letterSpacing=HA(A,kv,e.letterSpacing),this.lineBreak=HA(A,Tv,e.lineBreak),this.lineHeight=HA(A,Dv,e.lineHeight),this.listStyleImage=HA(A,Ov,e.listStyleImage),this.listStylePosition=HA(A,Pv,e.listStylePosition),this.listStyleType=HA(A,ju,e.listStyleType),this.marginTop=HA(A,Rv,e.marginTop),this.marginRight=HA(A,Mv,e.marginRight),this.marginBottom=HA(A,Kv,e.marginBottom),this.marginLeft=HA(A,Gv,e.marginLeft),this.opacity=HA(A,lC,e.opacity);var i=HA(A,Vv,e.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=HA(A,jv,e.overflowWrap),this.paddingTop=HA(A,qv,e.paddingTop),this.paddingRight=HA(A,Wv,e.paddingRight),this.paddingBottom=HA(A,zv,e.paddingBottom),this.paddingLeft=HA(A,Xv,e.paddingLeft),this.paintOrder=HA(A,yC,e.paintOrder),this.position=HA(A,Yv,e.position),this.textAlign=HA(A,Jv,e.textAlign),this.textDecorationColor=HA(A,cC,(r=e.textDecorationColor)!==null&&r!==void 0?r:e.color),this.textDecorationLine=HA(A,uC,(n=e.textDecorationLine)!==null&&n!==void 0?n:e.textDecoration),this.textShadow=HA(A,$v,e.textShadow),this.textTransform=HA(A,Zv,e.textTransform),this.transform=HA(A,AC,e.transform),this.transformOrigin=HA(A,iC,e.transformOrigin),this.visibility=HA(A,aC,e.visibility),this.webkitTextStrokeColor=HA(A,FC,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=HA(A,QC,e.webkitTextStrokeWidth),this.wordBreak=HA(A,sC,e.wordBreak),this.zIndex=HA(A,oC,e.zIndex)}return t.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},t.prototype.isTransparent=function(){return ui(this.backgroundColor)},t.prototype.isTransformed=function(){return this.transform!==null},t.prototype.isPositioned=function(){return this.position!==0},t.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},t.prototype.isFloating=function(){return this.float!==0},t.prototype.isInlineLevel=function(){return Et(this.display,4)||Et(this.display,33554432)||Et(this.display,268435456)||Et(this.display,536870912)||Et(this.display,67108864)||Et(this.display,134217728)},t})(),xC=(function(){function t(A,e){this.content=HA(A,BC,e.content),this.quotes=HA(A,CC,e.quotes)}return t})(),ud=(function(){function t(A,e){this.counterIncrement=HA(A,wC,e.counterIncrement),this.counterReset=HA(A,mC,e.counterReset)}return t})(),HA=function(t,A,e){var r=new Sp,n=e!==null&&typeof e<"u"?e.toString():A.initialValue;r.write(n);var i=new Hp(r.read());switch(A.type){case 2:var a=i.parseComponentValue();return A.parse(t,Pe(a)?a.value:A.initialValue);case 0:return A.parse(t,i.parseComponentValue());case 1:return A.parse(t,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(A.format){case"angle":return Xl.parse(t,i.parseComponentValue());case"color":return ci.parse(t,i.parseComponentValue());case"image":return Lf.parse(t,i.parseComponentValue());case"length":var s=i.parseComponentValue();return fi(s)?s:Rt;case"length-percentage":var l=i.parseComponentValue();return Ct(l)?l:Rt;case"time":return Yp.parse(t,i.parseComponentValue())}break}},EC="data-html2canvas-debug",LC=function(t){var A=t.getAttribute(EC);switch(A){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},qu=function(t,A){var e=LC(t);return e===1||A===e},cn=(function(){function t(A,e){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,qu(e,3))debugger;this.styles=new UC(A,window.getComputedStyle(e,null)),Xu(e)&&(this.styles.animationDuration.some(function(r){return r>0})&&(e.style.animationDuration="0s"),this.styles.transform!==null&&(e.style.transform="none")),this.bounds=Wl(this.context,e),qu(e,4)&&(this.flags|=16)}return t})(),_C="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",fd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Us=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Yo=0;Yo<fd.length;Yo++)Us[fd.charCodeAt(Yo)]=Yo;var IC=function(t){var A=t.length*.75,e=t.length,r,n=0,i,a,s,l;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var u=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),f=Array.isArray(u)?u:new Uint8Array(u);for(r=0;r<e;r+=4)i=Us[t.charCodeAt(r)],a=Us[t.charCodeAt(r+1)],s=Us[t.charCodeAt(r+2)],l=Us[t.charCodeAt(r+3)],f[n++]=i<<2|a>>4,f[n++]=(a&15)<<4|s>>2,f[n++]=(s&3)<<6|l&63;return u},SC=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},HC=function(t){for(var A=t.length,e=[],r=0;r<A;r+=4)e.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return e},qi=5,_f=11,Wc=2,NC=_f-qi,$p=65536>>qi,kC=1<<qi,zc=kC-1,TC=1024>>qi,DC=$p+TC,OC=DC,PC=32,RC=OC+PC,MC=65536>>_f,KC=1<<NC,GC=KC-1,hd=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},VC=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},jC=function(t,A){var e=IC(t),r=Array.isArray(e)?HC(e):new Uint32Array(e),n=Array.isArray(e)?SC(e):new Uint16Array(e),i=24,a=hd(n,i/2,r[4]/2),s=r[5]===2?hd(n,(i+r[4])/2):VC(r,Math.ceil((i+r[4])/4));return new qC(r[0],r[1],r[2],r[3],a,s)},qC=(function(){function t(A,e,r,n,i,a){this.initialValue=A,this.errorValue=e,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=a}return t.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>qi],e=(e<<Wc)+(A&zc),this.data[e];if(A<=65535)return e=this.index[$p+(A-55296>>qi)],e=(e<<Wc)+(A&zc),this.data[e];if(A<this.highStart)return e=RC-MC+(A>>_f),e=this.index[e],e+=A>>qi&GC,e=this.index[e],e=(e<<Wc)+(A&zc),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),dd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",WC=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var $o=0;$o<dd.length;$o++)WC[dd.charCodeAt($o)]=$o;var zC=1,Xc=2,Jc=3,gd=4,pd=5,XC=7,Bd=8,Yc=9,$c=10,wd=11,md=12,vd=13,Cd=14,Zc=15,JC=function(t){for(var A=[],e=0,r=t.length;e<r;){var n=t.charCodeAt(e++);if(n>=55296&&n<=56319&&e<r){var i=t.charCodeAt(e++);(i&64512)===56320?A.push(((n&1023)<<10)+(i&1023)+65536):(A.push(n),e--)}else A.push(n)}return A},YC=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var r=[],n=-1,i="";++n<e;){var a=t[n];a<=65535?r.push(a):(a-=65536,r.push((a>>10)+55296,a%1024+56320)),(n+1===e||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},$C=jC(_C),Lr="×",Au="÷",ZC=function(t){return $C.get(t)},A4=function(t,A,e){var r=e-2,n=A[r],i=A[e-1],a=A[e];if(i===Xc&&a===Jc)return Lr;if(i===Xc||i===Jc||i===gd||a===Xc||a===Jc||a===gd)return Au;if(i===Bd&&[Bd,Yc,wd,md].indexOf(a)!==-1||(i===wd||i===Yc)&&(a===Yc||a===$c)||(i===md||i===$c)&&a===$c||a===vd||a===pd||a===XC||i===zC)return Lr;if(i===vd&&a===Cd){for(;n===pd;)n=A[--r];if(n===Cd)return Lr}if(i===Zc&&a===Zc){for(var s=0;n===Zc;)s++,n=A[--r];if(s%2===0)return Lr}return Au},e4=function(t){var A=JC(t),e=A.length,r=0,n=0,i=A.map(ZC);return{next:function(){if(r>=e)return{done:!0,value:null};for(var a=Lr;r<e&&(a=A4(A,i,++r))===Lr;);if(a!==Lr||r===e){var s=YC.apply(null,A.slice(n,r));return n=r,{value:s,done:!1}}return{done:!0,value:null}}}},t4=function(t){for(var A=e4(t),e=[],r;!(r=A.next()).done;)r.value&&e.push(r.value.slice());return e},r4=function(t){var A=123;if(t.createRange){var e=t.createRange();if(e.getBoundingClientRect){var r=t.createElement("boundtest");r.style.height=A+"px",r.style.display="block",t.body.appendChild(r),e.selectNode(r);var n=e.getBoundingClientRect(),i=Math.round(n.height);if(t.body.removeChild(r),i===A)return!0}}return!1},n4=function(t){var A=t.createElement("boundtest");A.style.width="50px",A.style.display="block",A.style.fontSize="12px",A.style.letterSpacing="0px",A.style.wordSpacing="0px",t.body.appendChild(A);var e=t.createRange();A.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var r=A.firstChild,n=zl(r.data).map(function(l){return ft(l)}),i=0,a={},s=n.every(function(l,u){e.setStart(r,i),e.setEnd(r,i+l.length);var f=e.getBoundingClientRect();i+=l.length;var p=f.x>a.x||f.y>a.y;return a=f,u===0?!0:p});return t.body.removeChild(A),s},i4=function(){return typeof new Image().crossOrigin<"u"},a4=function(){return typeof new XMLHttpRequest().responseType=="string"},s4=function(t){var A=new Image,e=t.createElement("canvas"),r=e.getContext("2d");if(!r)return!1;A.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(A,0,0),e.toDataURL()}catch{return!1}return!0},bd=function(t){return t[0]===0&&t[1]===255&&t[2]===0&&t[3]===255},o4=function(t){var A=t.createElement("canvas"),e=100;A.width=e,A.height=e;var r=A.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,e,e);var n=new Image,i=A.toDataURL();n.src=i;var a=Wu(e,e,0,0,n);return r.fillStyle="red",r.fillRect(0,0,e,e),yd(a).then(function(s){r.drawImage(s,0,0);var l=r.getImageData(0,0,e,e).data;r.fillStyle="red",r.fillRect(0,0,e,e);var u=t.createElement("div");return u.style.backgroundImage="url("+i+")",u.style.height=e+"px",bd(l)?yd(Wu(e,e,0,0,u)):Promise.reject(!1)}).then(function(s){return r.drawImage(s,0,0),bd(r.getImageData(0,0,e,e).data)}).catch(function(){return!1})},Wu=function(t,A,e,r,n){var i="http://www.w3.org/2000/svg",a=document.createElementNS(i,"svg"),s=document.createElementNS(i,"foreignObject");return a.setAttributeNS(null,"width",t.toString()),a.setAttributeNS(null,"height",A.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",e.toString()),s.setAttributeNS(null,"y",r.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(s),s.appendChild(n),a},yd=function(t){return new Promise(function(A,e){var r=new Image;r.onload=function(){return A(r)},r.onerror=e,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(t))})},Ot={get SUPPORT_RANGE_BOUNDS(){var t=r4(document);return Object.defineProperty(Ot,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){var t=Ot.SUPPORT_RANGE_BOUNDS&&n4(document);return Object.defineProperty(Ot,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){var t=s4(document);return Object.defineProperty(Ot,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){var t=typeof Array.from=="function"&&typeof window.fetch=="function"?o4(document):Promise.resolve(!1);return Object.defineProperty(Ot,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){var t=i4();return Object.defineProperty(Ot,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){var t=a4();return Object.defineProperty(Ot,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){var t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Ot,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var t=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(Ot,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}},Hs=(function(){function t(A,e){this.text=A,this.bounds=e}return t})(),l4=function(t,A,e,r){var n=f4(A,e),i=[],a=0;return n.forEach(function(s){if(e.textDecorationLine.length||s.trim().length>0)if(Ot.SUPPORT_RANGE_BOUNDS){var l=Fd(r,a,s.length).getClientRects();if(l.length>1){var u=If(s),f=0;u.forEach(function(B){i.push(new Hs(B,kn.fromDOMRectList(t,Fd(r,f+a,B.length).getClientRects()))),f+=B.length})}else i.push(new Hs(s,kn.fromDOMRectList(t,l)))}else{var p=r.splitText(s.length);i.push(new Hs(s,c4(t,r))),r=p}else Ot.SUPPORT_RANGE_BOUNDS||(r=r.splitText(s.length));a+=s.length}),i},c4=function(t,A){var e=A.ownerDocument;if(e){var r=e.createElement("html2canvaswrapper");r.appendChild(A.cloneNode(!0));var n=A.parentNode;if(n){n.replaceChild(r,A);var i=Wl(t,r);return r.firstChild&&n.replaceChild(r.firstChild,r),i}}return kn.EMPTY},Fd=function(t,A,e){var r=t.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(t,A),n.setEnd(t,A+e),n},If=function(t){if(Ot.SUPPORT_NATIVE_TEXT_SEGMENTATION){var A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(t)).map(function(e){return e.segment})}return t4(t)},u4=function(t,A){if(Ot.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(t)).map(function(r){return r.segment})}return d4(t,A)},f4=function(t,A){return A.letterSpacing!==0?If(t):u4(t,A)},h4=[32,160,4961,65792,65793,4153,4241],d4=function(t,A){for(var e=M5(t,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),r=[],n,i=function(){if(n.value){var a=n.value.slice(),s=zl(a),l="";s.forEach(function(u){h4.indexOf(u)===-1?l+=ft(u):(l.length&&r.push(l),r.push(ft(u)),l="")}),l.length&&r.push(l)}};!(n=e.next()).done;)i();return r},g4=(function(){function t(A,e,r){this.text=p4(e.data,r.textTransform),this.textBounds=l4(A,this.text,r,e)}return t})(),p4=function(t,A){switch(A){case 1:return t.toLowerCase();case 3:return t.replace(B4,w4);case 2:return t.toUpperCase();default:return t}},B4=/(^|\s|:|-|\(|\))([a-z])/g,w4=function(t,A,e){return t.length>0?A+e.toUpperCase():t},Zp=(function(t){jr(A,t);function A(e,r){var n=t.call(this,e,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return A})(cn),A0=(function(t){jr(A,t);function A(e,r){var n=t.call(this,e,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return A})(cn),e0=(function(t){jr(A,t);function A(e,r){var n=t.call(this,e,r)||this,i=new XMLSerializer,a=Wl(e,r);return r.setAttribute("width",a.width+"px"),r.setAttribute("height",a.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return A})(cn),t0=(function(t){jr(A,t);function A(e,r){var n=t.call(this,e,r)||this;return n.value=r.value,n}return A})(cn),zu=(function(t){jr(A,t);function A(e,r){var n=t.call(this,e,r)||this;return n.start=r.start,n.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,n}return A})(cn),m4=[{type:15,flags:0,unit:"px",number:3}],v4=[{type:16,flags:0,number:50}],C4=function(t){return t.width>t.height?new kn(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width<t.height?new kn(t.left,t.top+(t.height-t.width)/2,t.width,t.width):t},b4=function(t){var A=t.type===y4?new Array(t.value.length+1).join("•"):t.value;return A.length===0?t.placeholder||"":A},Il="checkbox",Sl="radio",y4="password",Qd=707406591,Sf=(function(t){jr(A,t);function A(e,r){var n=t.call(this,e,r)||this;switch(n.type=r.type.toLowerCase(),n.checked=r.checked,n.value=b4(r),(n.type===Il||n.type===Sl)&&(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=1,n.styles.backgroundClip=[0],n.styles.backgroundOrigin=[0],n.bounds=C4(n.bounds)),n.type){case Il:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=m4;break;case Sl:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=v4;break}return n}return A})(cn),r0=(function(t){jr(A,t);function A(e,r){var n=t.call(this,e,r)||this,i=r.options[r.selectedIndex||0];return n.value=i&&i.text||"",n}return A})(cn),n0=(function(t){jr(A,t);function A(e,r){var n=t.call(this,e,r)||this;return n.value=r.value,n}return A})(cn),i0=(function(t){jr(A,t);function A(e,r){var n=t.call(this,e,r)||this;n.src=r.src,n.width=parseInt(r.width,10)||0,n.height=parseInt(r.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(r.contentWindow&&r.contentWindow.document&&r.contentWindow.document.documentElement){n.tree=s0(e,r.contentWindow.document.documentElement);var i=r.contentWindow.document.documentElement?Is(e,getComputedStyle(r.contentWindow.document.documentElement).backgroundColor):Nn.TRANSPARENT,a=r.contentWindow.document.body?Is(e,getComputedStyle(r.contentWindow.document.body).backgroundColor):Nn.TRANSPARENT;n.backgroundColor=ui(i)?ui(a)?n.styles.backgroundColor:a:i}}catch{}return n}return A})(cn),F4=["OL","UL","MENU"],gl=function(t,A,e,r){for(var n=A.firstChild,i=void 0;n;n=i)if(i=n.nextSibling,o0(n)&&n.data.trim().length>0)e.textNodes.push(new g4(t,n,e.styles));else if(_a(n))if(f0(n)&&n.assignedNodes)n.assignedNodes().forEach(function(s){return gl(t,s,e,r)});else{var a=a0(t,n);a.styles.isVisible()&&(Q4(n,a,r)?a.flags|=4:U4(a.styles)&&(a.flags|=2),F4.indexOf(n.tagName)!==-1&&(a.flags|=8),e.elements.push(a),n.slot,n.shadowRoot?gl(t,n.shadowRoot,a,r):!Hl(n)&&!l0(n)&&!Nl(n)&&gl(t,n,a,r))}},a0=function(t,A){return Ju(A)?new Zp(t,A):c0(A)?new A0(t,A):l0(A)?new e0(t,A):x4(A)?new t0(t,A):E4(A)?new zu(t,A):L4(A)?new Sf(t,A):Nl(A)?new r0(t,A):Hl(A)?new n0(t,A):u0(A)?new i0(t,A):new cn(t,A)},s0=function(t,A){var e=a0(t,A);return e.flags|=4,gl(t,A,e,e),e},Q4=function(t,A,e){return A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||Hf(t)&&e.styles.isTransparent()},U4=function(t){return t.isPositioned()||t.isFloating()},o0=function(t){return t.nodeType===Node.TEXT_NODE},_a=function(t){return t.nodeType===Node.ELEMENT_NODE},Xu=function(t){return _a(t)&&typeof t.style<"u"&&!pl(t)},pl=function(t){return typeof t.className=="object"},x4=function(t){return t.tagName==="LI"},E4=function(t){return t.tagName==="OL"},L4=function(t){return t.tagName==="INPUT"},_4=function(t){return t.tagName==="HTML"},l0=function(t){return t.tagName==="svg"},Hf=function(t){return t.tagName==="BODY"},c0=function(t){return t.tagName==="CANVAS"},Ud=function(t){return t.tagName==="VIDEO"},Ju=function(t){return t.tagName==="IMG"},u0=function(t){return t.tagName==="IFRAME"},xd=function(t){return t.tagName==="STYLE"},I4=function(t){return t.tagName==="SCRIPT"},Hl=function(t){return t.tagName==="TEXTAREA"},Nl=function(t){return t.tagName==="SELECT"},f0=function(t){return t.tagName==="SLOT"},Ed=function(t){return t.tagName.indexOf("-")>0},S4=(function(){function t(){this.counters={}}return t.prototype.getCounterValue=function(A){var e=this.counters[A];return e&&e.length?e[e.length-1]:1},t.prototype.getCounterValues=function(A){var e=this.counters[A];return e||[]},t.prototype.pop=function(A){var e=this;A.forEach(function(r){return e.counters[r].pop()})},t.prototype.parse=function(A){var e=this,r=A.counterIncrement,n=A.counterReset,i=!0;r!==null&&r.forEach(function(s){var l=e.counters[s.counter];l&&s.increment!==0&&(i=!1,l.length||l.push(1),l[Math.max(0,l.length-1)]+=s.increment)});var a=[];return i&&n.forEach(function(s){var l=e.counters[s.counter];a.push(s.counter),l||(l=e.counters[s.counter]=[]),l.push(s.reset)}),a},t})(),Ld={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},_d={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},H4={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},N4={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},va=function(t,A,e,r,n,i){return t<A||t>e?Ps(t,n,i.length>0):r.integers.reduce(function(a,s,l){for(;t>=s;)t-=s,a+=r.values[l];return a},"")+i},h0=function(t,A,e,r){var n="";do e||t--,n=r(t)+n,t/=A;while(t*A>=A);return n},ut=function(t,A,e,r,n){var i=e-A+1;return(t<0?"-":"")+(h0(Math.abs(t),i,r,function(a){return ft(Math.floor(a%i)+A)})+n)},Pi=function(t,A,e){e===void 0&&(e=". ");var r=A.length;return h0(Math.abs(t),r,!1,function(n){return A[Math.floor(n%r)]})+e},Ua=1,ei=2,ti=4,xs=8,xn=function(t,A,e,r,n,i){if(t<-9999||t>9999)return Ps(t,4,n.length>0);var a=Math.abs(t),s=n;if(a===0)return A[0]+s;for(var l=0;a>0&&l<=4;l++){var u=a%10;u===0&&Et(i,Ua)&&s!==""?s=A[u]+s:u>1||u===1&&l===0||u===1&&l===1&&Et(i,ei)||u===1&&l===1&&Et(i,ti)&&t>100||u===1&&l>1&&Et(i,xs)?s=A[u]+(l>0?e[l-1]:"")+s:u===1&&l>0&&(s=e[l-1]+s),a=Math.floor(a/10)}return(t<0?r:"")+s},Id="十百千萬",Sd="拾佰仟萬",Hd="マイナス",eu="마이너스",Ps=function(t,A,e){var r=e?". ":"",n=e?"、":"",i=e?", ":"",a=e?" ":"";switch(A){case 0:return"•"+a;case 1:return"◦"+a;case 2:return"◾"+a;case 5:var s=ut(t,48,57,!0,r);return s.length<4?"0"+s:s;case 4:return Pi(t,"〇一二三四五六七八九",n);case 6:return va(t,1,3999,Ld,3,r).toLowerCase();case 7:return va(t,1,3999,Ld,3,r);case 8:return ut(t,945,969,!1,r);case 9:return ut(t,97,122,!1,r);case 10:return ut(t,65,90,!1,r);case 11:return ut(t,1632,1641,!0,r);case 12:case 49:return va(t,1,9999,_d,3,r);case 35:return va(t,1,9999,_d,3,r).toLowerCase();case 13:return ut(t,2534,2543,!0,r);case 14:case 30:return ut(t,6112,6121,!0,r);case 15:return Pi(t,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return Pi(t,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return xn(t,"零一二三四五六七八九",Id,"負",n,ei|ti|xs);case 47:return xn(t,"零壹貳參肆伍陸柒捌玖",Sd,"負",n,Ua|ei|ti|xs);case 42:return xn(t,"零一二三四五六七八九",Id,"负",n,ei|ti|xs);case 41:return xn(t,"零壹贰叁肆伍陆柒捌玖",Sd,"负",n,Ua|ei|ti|xs);case 26:return xn(t,"〇一二三四五六七八九","十百千万",Hd,n,0);case 25:return xn(t,"零壱弐参四伍六七八九","拾百千万",Hd,n,Ua|ei|ti);case 31:return xn(t,"영일이삼사오육칠팔구","십백천만",eu,i,Ua|ei|ti);case 33:return xn(t,"零一二三四五六七八九","十百千萬",eu,i,0);case 32:return xn(t,"零壹貳參四五六七八九","拾百千",eu,i,Ua|ei|ti);case 18:return ut(t,2406,2415,!0,r);case 20:return va(t,1,19999,N4,3,r);case 21:return ut(t,2790,2799,!0,r);case 22:return ut(t,2662,2671,!0,r);case 22:return va(t,1,10999,H4,3,r);case 23:return Pi(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Pi(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return ut(t,3302,3311,!0,r);case 28:return Pi(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return Pi(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return ut(t,3792,3801,!0,r);case 37:return ut(t,6160,6169,!0,r);case 38:return ut(t,4160,4169,!0,r);case 39:return ut(t,2918,2927,!0,r);case 40:return ut(t,1776,1785,!0,r);case 43:return ut(t,3046,3055,!0,r);case 44:return ut(t,3174,3183,!0,r);case 45:return ut(t,3664,3673,!0,r);case 46:return ut(t,3872,3881,!0,r);case 3:default:return ut(t,48,57,!0,r)}},d0="data-html2canvas-ignore",Nd=(function(){function t(A,e,r){if(this.context=A,this.options=r,this.scrolledElements=[],this.referenceElement=e,this.counters=new S4,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}return t.prototype.toIFrame=function(A,e){var r=this,n=k4(A,e);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var i=A.defaultView.pageXOffset,a=A.defaultView.pageYOffset,s=n.contentWindow,l=s.document,u=O4(n).then(function(){return Zt(r,void 0,void 0,function(){var f,p;return zt(this,function(B){switch(B.label){case 0:return this.scrolledElements.forEach(K4),s&&(s.scrollTo(e.left,e.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(s.scrollY!==e.top||s.scrollX!==e.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(s.scrollX-e.left,s.scrollY-e.top,0,0))),f=this.options.onclone,p=this.clonedReferenceElement,typeof p>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:B.sent(),B.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,D4(l)]:[3,4];case 3:B.sent(),B.label=4;case 4:return typeof f=="function"?[2,Promise.resolve().then(function(){return f(l,p)}).then(function(){return n})]:[2,n]}})})});return l.open(),l.write(R4(document.doctype)+"<html></html>"),M4(this.referenceElement.ownerDocument,i,a),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),u},t.prototype.createElementClone=function(A){if(qu(A,2))debugger;if(c0(A))return this.createCanvasClone(A);if(Ud(A))return this.createVideoClone(A);if(xd(A))return this.createStyleClone(A);var e=A.cloneNode(!1);return Ju(e)&&(Ju(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),e.loading==="lazy"&&(e.loading="eager")),Ed(e)?this.createCustomElementClone(e):e},t.prototype.createCustomElementClone=function(A){var e=document.createElement("html2canvascustomelement");return tu(A.style,e),e},t.prototype.createStyleClone=function(A){try{var e=A.sheet;if(e&&e.cssRules){var r=[].slice.call(e.cssRules,0).reduce(function(i,a){return a&&typeof a.cssText=="string"?i+a.cssText:i},""),n=A.cloneNode(!1);return n.textContent=r,n}}catch(i){if(this.context.logger.error("Unable to access cssRules property",i),i.name!=="SecurityError")throw i}return A.cloneNode(!1)},t.prototype.createCanvasClone=function(A){var e;if(this.options.inlineImages&&A.ownerDocument){var r=A.ownerDocument.createElement("img");try{return r.src=A.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var n=A.cloneNode(!1);try{n.width=A.width,n.height=A.height;var i=A.getContext("2d"),a=n.getContext("2d");if(a)if(!this.options.allowTaint&&i)a.putImageData(i.getImageData(0,0,A.width,A.height),0,0);else{var s=(e=A.getContext("webgl2"))!==null&&e!==void 0?e:A.getContext("webgl");if(s){var l=s.getContextAttributes();(l==null?void 0:l.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}a.drawImage(A,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",A)}return n},t.prototype.createVideoClone=function(A){var e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;var r=e.getContext("2d");try{return r&&(r.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||r.getImageData(0,0,e.width,e.height)),e}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}var n=A.ownerDocument.createElement("canvas");return n.width=A.offsetWidth,n.height=A.offsetHeight,n},t.prototype.appendChildNode=function(A,e,r){(!_a(e)||!I4(e)&&!e.hasAttribute(d0)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(e)))&&(!this.options.copyStyles||!_a(e)||!xd(e))&&A.appendChild(this.cloneNode(e,r))},t.prototype.cloneChildNodes=function(A,e,r){for(var n=this,i=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;i;i=i.nextSibling)if(_a(i)&&f0(i)&&typeof i.assignedNodes=="function"){var a=i.assignedNodes();a.length&&a.forEach(function(s){return n.appendChildNode(e,s,r)})}else this.appendChildNode(e,i,r)},t.prototype.cloneNode=function(A,e){if(o0(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var r=A.ownerDocument.defaultView;if(r&&_a(A)&&(Xu(A)||pl(A))){var n=this.createElementClone(A);n.style.transitionProperty="none";var i=r.getComputedStyle(A),a=r.getComputedStyle(A,":before"),s=r.getComputedStyle(A,":after");this.referenceElement===A&&Xu(n)&&(this.clonedReferenceElement=n),Hf(n)&&j4(n);var l=this.counters.parse(new ud(this.context,i)),u=this.resolvePseudoContent(A,n,a,Ns.BEFORE);Ed(A)&&(e=!0),Ud(A)||this.cloneChildNodes(A,n,e),u&&n.insertBefore(u,n.firstChild);var f=this.resolvePseudoContent(A,n,s,Ns.AFTER);return f&&n.appendChild(f),this.counters.pop(l),(i&&(this.options.copyStyles||pl(A))&&!u0(A)||e)&&tu(i,n),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([n,A.scrollLeft,A.scrollTop]),(Hl(A)||Nl(A))&&(Hl(n)||Nl(n))&&(n.value=A.value),n}return A.cloneNode(!1)},t.prototype.resolvePseudoContent=function(A,e,r,n){var i=this;if(r){var a=r.content,s=e.ownerDocument;if(!(!s||!a||a==="none"||a==="-moz-alt-content"||r.display==="none")){this.counters.parse(new ud(this.context,r));var l=new xC(this.context,r),u=s.createElement("html2canvaspseudoelement");tu(r,u),l.content.forEach(function(p){if(p.type===0)u.appendChild(s.createTextNode(p.value));else if(p.type===22){var B=s.createElement("img");B.src=p.value,B.style.opacity="1",u.appendChild(B)}else if(p.type===18){if(p.name==="attr"){var d=p.values.filter(Pe);d.length&&u.appendChild(s.createTextNode(A.getAttribute(d[0].value)||""))}else if(p.name==="counter"){var m=p.values.filter(Da),C=m[0],E=m[1];if(C&&Pe(C)){var v=i.counters.getCounterValue(C.value),H=E&&Pe(E)?ju.parse(i.context,E.value):3;u.appendChild(s.createTextNode(Ps(v,H,!1)))}}else if(p.name==="counters"){var P=p.values.filter(Da),C=P[0],N=P[1],E=P[2];if(C&&Pe(C)){var j=i.counters.getCounterValues(C.value),J=E&&Pe(E)?ju.parse(i.context,E.value):3,X=N&&N.type===0?N.value:"",K=j.map(function(U){return Ps(U,J,!1)}).join(X);u.appendChild(s.createTextNode(K))}}}else if(p.type===20)switch(p.value){case"open-quote":u.appendChild(s.createTextNode(cd(l.quotes,i.quoteDepth++,!0)));break;case"close-quote":u.appendChild(s.createTextNode(cd(l.quotes,--i.quoteDepth,!1)));break;default:u.appendChild(s.createTextNode(p.value))}}),u.className=Yu+" "+$u;var f=n===Ns.BEFORE?" "+Yu:" "+$u;return pl(e)?e.className.baseValue+=f:e.className+=f,u}}},t.destroy=function(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1},t})(),Ns;(function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"})(Ns||(Ns={}));var k4=function(t,A){var e=t.createElement("iframe");return e.className="html2canvas-container",e.style.visibility="hidden",e.style.position="fixed",e.style.left="-10000px",e.style.top="0px",e.style.border="0",e.width=A.width.toString(),e.height=A.height.toString(),e.scrolling="no",e.setAttribute(d0,"true"),t.body.appendChild(e),e},T4=function(t){return new Promise(function(A){if(t.complete){A();return}if(!t.src){A();return}t.onload=A,t.onerror=A})},D4=function(t){return Promise.all([].slice.call(t.images,0).map(T4))},O4=function(t){return new Promise(function(A,e){var r=t.contentWindow;if(!r)return e("No window assigned for iframe");var n=r.document;r.onload=t.onload=function(){r.onload=t.onload=null;var i=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(i),A(t))},50)}})},P4=["all","d","content"],tu=function(t,A){for(var e=t.length-1;e>=0;e--){var r=t.item(e);P4.indexOf(r)===-1&&A.style.setProperty(r,t.getPropertyValue(r))}return A},R4=function(t){var A="";return t&&(A+="<!DOCTYPE ",t.name&&(A+=t.name),t.internalSubset&&(A+=t.internalSubset),t.publicId&&(A+='"'+t.publicId+'"'),t.systemId&&(A+='"'+t.systemId+'"'),A+=">"),A},M4=function(t,A,e){t&&t.defaultView&&(A!==t.defaultView.pageXOffset||e!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(A,e)},K4=function(t){var A=t[0],e=t[1],r=t[2];A.scrollLeft=e,A.scrollTop=r},G4=":before",V4=":after",Yu="___html2canvas___pseudoelement_before",$u="___html2canvas___pseudoelement_after",kd=`{
content: "" !important;
display: none !important;
}`,j4=function(t){q4(t,"."+Yu+G4+kd+`
.`+$u+V4+kd)},q4=function(t,A){var e=t.ownerDocument;if(e){var r=e.createElement("style");r.textContent=A,t.appendChild(r)}},g0=(function(){function t(){}return t.getOrigin=function(A){var e=t._link;return e?(e.href=A,e.href=e.href,e.protocol+e.hostname+e.port):"about:blank"},t.isSameOrigin=function(A){return t.getOrigin(A)===t._origin},t.setContext=function(A){t._link=A.document.createElement("a"),t._origin=t.getOrigin(A.location.href)},t._origin="about:blank",t})(),W4=(function(){function t(A,e){this.context=A,this._options=e,this._cache={}}return t.prototype.addImage=function(A){var e=Promise.resolve();return this.has(A)||(nu(A)||Y4(A))&&(this._cache[A]=this.loadImage(A)).catch(function(){}),e},t.prototype.match=function(A){return this._cache[A]},t.prototype.loadImage=function(A){return Zt(this,void 0,void 0,function(){var e,r,n,i,a=this;return zt(this,function(s){switch(s.label){case 0:return e=g0.isSameOrigin(A),r=!ru(A)&&this._options.useCORS===!0&&Ot.SUPPORT_CORS_IMAGES&&!e,n=!ru(A)&&!e&&!nu(A)&&typeof this._options.proxy=="string"&&Ot.SUPPORT_CORS_XHR&&!r,!e&&this._options.allowTaint===!1&&!ru(A)&&!nu(A)&&!n&&!r?[2]:(i=A,n?[4,this.proxy(i)]:[3,2]);case 1:i=s.sent(),s.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise(function(l,u){var f=new Image;f.onload=function(){return l(f)},f.onerror=u,($4(i)||r)&&(f.crossOrigin="anonymous"),f.src=i,f.complete===!0&&setTimeout(function(){return l(f)},500),a._options.imageTimeout>0&&setTimeout(function(){return u("Timed out ("+a._options.imageTimeout+"ms) loading image")},a._options.imageTimeout)})];case 3:return[2,s.sent()]}})})},t.prototype.has=function(A){return typeof this._cache[A]<"u"},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(A){var e=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=A.substring(0,256);return new Promise(function(i,a){var s=Ot.SUPPORT_RESPONSE_TYPE?"blob":"text",l=new XMLHttpRequest;l.onload=function(){if(l.status===200)if(s==="text")i(l.response);else{var p=new FileReader;p.addEventListener("load",function(){return i(p.result)},!1),p.addEventListener("error",function(B){return a(B)},!1),p.readAsDataURL(l.response)}else a("Failed to proxy resource "+n+" with status code "+l.status)},l.onerror=a;var u=r.indexOf("?")>-1?"&":"?";if(l.open("GET",""+r+u+"url="+encodeURIComponent(A)+"&responseType="+s),s!=="text"&&l instanceof XMLHttpRequest&&(l.responseType=s),e._options.imageTimeout){var f=e._options.imageTimeout;l.timeout=f,l.ontimeout=function(){return a("Timed out ("+f+"ms) proxying "+n)}}l.send()})},t})(),z4=/^data:image\/svg\+xml/i,X4=/^data:image\/.*;base64,/i,J4=/^data:image\/.*/i,Y4=function(t){return Ot.SUPPORT_SVG_DRAWING||!Z4(t)},ru=function(t){return J4.test(t)},$4=function(t){return X4.test(t)},nu=function(t){return t.substr(0,4)==="blob"},Z4=function(t){return t.substr(-3).toLowerCase()==="svg"||z4.test(t)},SA=(function(){function t(A,e){this.type=0,this.x=A,this.y=e}return t.prototype.add=function(A,e){return new t(this.x+A,this.y+e)},t})(),Ca=function(t,A,e){return new SA(t.x+(A.x-t.x)*e,t.y+(A.y-t.y)*e)},Zo=(function(){function t(A,e,r,n){this.type=1,this.start=A,this.startControl=e,this.endControl=r,this.end=n}return t.prototype.subdivide=function(A,e){var r=Ca(this.start,this.startControl,A),n=Ca(this.startControl,this.endControl,A),i=Ca(this.endControl,this.end,A),a=Ca(r,n,A),s=Ca(n,i,A),l=Ca(a,s,A);return e?new t(this.start,r,a,l):new t(l,s,i,this.end)},t.prototype.add=function(A,e){return new t(this.start.add(A,e),this.startControl.add(A,e),this.endControl.add(A,e),this.end.add(A,e))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t})(),_r=function(t){return t.type===1},Ab=(function(){function t(A){var e=A.styles,r=A.bounds,n=Qs(e.borderTopLeftRadius,r.width,r.height),i=n[0],a=n[1],s=Qs(e.borderTopRightRadius,r.width,r.height),l=s[0],u=s[1],f=Qs(e.borderBottomRightRadius,r.width,r.height),p=f[0],B=f[1],d=Qs(e.borderBottomLeftRadius,r.width,r.height),m=d[0],C=d[1],E=[];E.push((i+l)/r.width),E.push((m+p)/r.width),E.push((a+C)/r.height),E.push((u+B)/r.height);var v=Math.max.apply(Math,E);v>1&&(i/=v,a/=v,l/=v,u/=v,p/=v,B/=v,m/=v,C/=v);var H=r.width-l,P=r.height-B,N=r.width-p,j=r.height-C,J=e.borderTopWidth,X=e.borderRightWidth,K=e.borderBottomWidth,L=e.borderLeftWidth,q=ze(e.paddingTop,A.bounds.width),U=ze(e.paddingRight,A.bounds.width),S=ze(e.paddingBottom,A.bounds.width),G=ze(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||a>0?$e(r.left+L/3,r.top+J/3,i-L/3,a-J/3,Ne.TOP_LEFT):new SA(r.left+L/3,r.top+J/3),this.topRightBorderDoubleOuterBox=i>0||a>0?$e(r.left+H,r.top+J/3,l-X/3,u-J/3,Ne.TOP_RIGHT):new SA(r.left+r.width-X/3,r.top+J/3),this.bottomRightBorderDoubleOuterBox=p>0||B>0?$e(r.left+N,r.top+P,p-X/3,B-K/3,Ne.BOTTOM_RIGHT):new SA(r.left+r.width-X/3,r.top+r.height-K/3),this.bottomLeftBorderDoubleOuterBox=m>0||C>0?$e(r.left+L/3,r.top+j,m-L/3,C-K/3,Ne.BOTTOM_LEFT):new SA(r.left+L/3,r.top+r.height-K/3),this.topLeftBorderDoubleInnerBox=i>0||a>0?$e(r.left+L*2/3,r.top+J*2/3,i-L*2/3,a-J*2/3,Ne.TOP_LEFT):new SA(r.left+L*2/3,r.top+J*2/3),this.topRightBorderDoubleInnerBox=i>0||a>0?$e(r.left+H,r.top+J*2/3,l-X*2/3,u-J*2/3,Ne.TOP_RIGHT):new SA(r.left+r.width-X*2/3,r.top+J*2/3),this.bottomRightBorderDoubleInnerBox=p>0||B>0?$e(r.left+N,r.top+P,p-X*2/3,B-K*2/3,Ne.BOTTOM_RIGHT):new SA(r.left+r.width-X*2/3,r.top+r.height-K*2/3),this.bottomLeftBorderDoubleInnerBox=m>0||C>0?$e(r.left+L*2/3,r.top+j,m-L*2/3,C-K*2/3,Ne.BOTTOM_LEFT):new SA(r.left+L*2/3,r.top+r.height-K*2/3),this.topLeftBorderStroke=i>0||a>0?$e(r.left+L/2,r.top+J/2,i-L/2,a-J/2,Ne.TOP_LEFT):new SA(r.left+L/2,r.top+J/2),this.topRightBorderStroke=i>0||a>0?$e(r.left+H,r.top+J/2,l-X/2,u-J/2,Ne.TOP_RIGHT):new SA(r.left+r.width-X/2,r.top+J/2),this.bottomRightBorderStroke=p>0||B>0?$e(r.left+N,r.top+P,p-X/2,B-K/2,Ne.BOTTOM_RIGHT):new SA(r.left+r.width-X/2,r.top+r.height-K/2),this.bottomLeftBorderStroke=m>0||C>0?$e(r.left+L/2,r.top+j,m-L/2,C-K/2,Ne.BOTTOM_LEFT):new SA(r.left+L/2,r.top+r.height-K/2),this.topLeftBorderBox=i>0||a>0?$e(r.left,r.top,i,a,Ne.TOP_LEFT):new SA(r.left,r.top),this.topRightBorderBox=l>0||u>0?$e(r.left+H,r.top,l,u,Ne.TOP_RIGHT):new SA(r.left+r.width,r.top),this.bottomRightBorderBox=p>0||B>0?$e(r.left+N,r.top+P,p,B,Ne.BOTTOM_RIGHT):new SA(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=m>0||C>0?$e(r.left,r.top+j,m,C,Ne.BOTTOM_LEFT):new SA(r.left,r.top+r.height),this.topLeftPaddingBox=i>0||a>0?$e(r.left+L,r.top+J,Math.max(0,i-L),Math.max(0,a-J),Ne.TOP_LEFT):new SA(r.left+L,r.top+J),this.topRightPaddingBox=l>0||u>0?$e(r.left+Math.min(H,r.width-X),r.top+J,H>r.width+X?0:Math.max(0,l-X),Math.max(0,u-J),Ne.TOP_RIGHT):new SA(r.left+r.width-X,r.top+J),this.bottomRightPaddingBox=p>0||B>0?$e(r.left+Math.min(N,r.width-L),r.top+Math.min(P,r.height-K),Math.max(0,p-X),Math.max(0,B-K),Ne.BOTTOM_RIGHT):new SA(r.left+r.width-X,r.top+r.height-K),this.bottomLeftPaddingBox=m>0||C>0?$e(r.left+L,r.top+Math.min(j,r.height-K),Math.max(0,m-L),Math.max(0,C-K),Ne.BOTTOM_LEFT):new SA(r.left+L,r.top+r.height-K),this.topLeftContentBox=i>0||a>0?$e(r.left+L+G,r.top+J+q,Math.max(0,i-(L+G)),Math.max(0,a-(J+q)),Ne.TOP_LEFT):new SA(r.left+L+G,r.top+J+q),this.topRightContentBox=l>0||u>0?$e(r.left+Math.min(H,r.width+L+G),r.top+J+q,H>r.width+L+G?0:l-L+G,u-(J+q),Ne.TOP_RIGHT):new SA(r.left+r.width-(X+U),r.top+J+q),this.bottomRightContentBox=p>0||B>0?$e(r.left+Math.min(N,r.width-(L+G)),r.top+Math.min(P,r.height+J+q),Math.max(0,p-(X+U)),B-(K+S),Ne.BOTTOM_RIGHT):new SA(r.left+r.width-(X+U),r.top+r.height-(K+S)),this.bottomLeftContentBox=m>0||C>0?$e(r.left+L+G,r.top+j,Math.max(0,m-(L+G)),C-(K+S),Ne.BOTTOM_LEFT):new SA(r.left+L+G,r.top+r.height-(K+S))}return t})(),Ne;(function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Ne||(Ne={}));var $e=function(t,A,e,r,n){var i=4*((Math.sqrt(2)-1)/3),a=e*i,s=r*i,l=t+e,u=A+r;switch(n){case Ne.TOP_LEFT:return new Zo(new SA(t,u),new SA(t,u-s),new SA(l-a,A),new SA(l,A));case Ne.TOP_RIGHT:return new Zo(new SA(t,A),new SA(t+a,A),new SA(l,u-s),new SA(l,u));case Ne.BOTTOM_RIGHT:return new Zo(new SA(l,A),new SA(l,A+s),new SA(t+a,u),new SA(t,u));case Ne.BOTTOM_LEFT:default:return new Zo(new SA(l,u),new SA(l-a,u),new SA(t,A+s),new SA(t,A))}},kl=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},eb=function(t){return[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox]},Tl=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},tb=(function(){function t(A,e,r){this.offsetX=A,this.offsetY=e,this.matrix=r,this.type=0,this.target=6}return t})(),Al=(function(){function t(A,e){this.path=A,this.target=e,this.type=1}return t})(),rb=(function(){function t(A){this.opacity=A,this.type=2,this.target=6}return t})(),nb=function(t){return t.type===0},p0=function(t){return t.type===1},ib=function(t){return t.type===2},Td=function(t,A){return t.length===A.length?t.some(function(e,r){return e===A[r]}):!1},ab=function(t,A,e,r,n){return t.map(function(i,a){switch(a){case 0:return i.add(A,e);case 1:return i.add(A+r,e);case 2:return i.add(A+r,e+n);case 3:return i.add(A,e+n)}return i})},B0=(function(){function t(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return t})(),w0=(function(){function t(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new Ab(this.container),this.container.styles.opacity<1&&this.effects.push(new rb(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new tb(r,n,i))}if(this.container.styles.overflowX!==0){var a=kl(this.curves),s=Tl(this.curves);Td(a,s)?this.effects.push(new Al(a,6)):(this.effects.push(new Al(a,2)),this.effects.push(new Al(s,4)))}}return t.prototype.getEffects=function(A){for(var e=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var i=r.effects.filter(function(l){return!p0(l)});if(e||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,i),e=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var a=kl(r.curves),s=Tl(r.curves);Td(a,s)||n.unshift(new Al(s,6))}}else n.unshift.apply(n,i);r=r.parent}return n.filter(function(l){return Et(l.target,A)})},t})(),Zu=function(t,A,e,r){t.container.elements.forEach(function(n){var i=Et(n.flags,4),a=Et(n.flags,2),s=new w0(n,t);Et(n.styles.display,2048)&&r.push(s);var l=Et(n.flags,8)?[]:r;if(i||a){var u=i||n.styles.isPositioned()?e:A,f=new B0(s);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var p=n.styles.zIndex.order;if(p<0){var B=0;u.negativeZIndex.some(function(m,C){return p>m.element.container.styles.zIndex.order?(B=C,!1):B>0}),u.negativeZIndex.splice(B,0,f)}else if(p>0){var d=0;u.positiveZIndex.some(function(m,C){return p>=m.element.container.styles.zIndex.order?(d=C+1,!1):d>0}),u.positiveZIndex.splice(d,0,f)}else u.zeroOrAutoZIndexOrTransformedOrOpacity.push(f)}else n.styles.isFloating()?u.nonPositionedFloats.push(f):u.nonPositionedInlineLevel.push(f);Zu(s,f,i?f:e,l)}else n.styles.isInlineLevel()?A.inlineLevel.push(s):A.nonInlineLevel.push(s),Zu(s,A,e,l);Et(n.flags,8)&&m0(n,l)})},m0=function(t,A){for(var e=t instanceof zu?t.start:1,r=t instanceof zu?t.reversed:!1,n=0;n<A.length;n++){var i=A[n];i.container instanceof t0&&typeof i.container.value=="number"&&i.container.value!==0&&(e=i.container.value),i.listValue=Ps(e,i.container.styles.listStyleType,!0),e+=r?-1:1}},sb=function(t){var A=new w0(t,null),e=new B0(A),r=[];return Zu(A,e,e,r),m0(A.container,r),e},Dd=function(t,A){switch(A){case 0:return Sr(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return Sr(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return Sr(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);case 3:default:return Sr(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},ob=function(t,A){switch(A){case 0:return Sr(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return Sr(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return Sr(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);case 3:default:return Sr(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},lb=function(t,A){switch(A){case 0:return Sr(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return Sr(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return Sr(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);case 3:default:return Sr(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},cb=function(t,A){switch(A){case 0:return el(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return el(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return el(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);case 3:default:return el(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},el=function(t,A){var e=[];return _r(t)?e.push(t.subdivide(.5,!1)):e.push(t),_r(A)?e.push(A.subdivide(.5,!0)):e.push(A),e},Sr=function(t,A,e,r){var n=[];return _r(t)?n.push(t.subdivide(.5,!1)):n.push(t),_r(e)?n.push(e.subdivide(.5,!0)):n.push(e),_r(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),_r(A)?n.push(A.subdivide(.5,!1).reverse()):n.push(A),n},v0=function(t){var A=t.bounds,e=t.styles;return A.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},Dl=function(t){var A=t.styles,e=t.bounds,r=ze(A.paddingLeft,e.width),n=ze(A.paddingRight,e.width),i=ze(A.paddingTop,e.width),a=ze(A.paddingBottom,e.width);return e.add(r+A.borderLeftWidth,i+A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth+r+n),-(A.borderTopWidth+A.borderBottomWidth+i+a))},ub=function(t,A){return t===0?A.bounds:t===2?Dl(A):v0(A)},fb=function(t,A){return t===0?A.bounds:t===2?Dl(A):v0(A)},iu=function(t,A,e){var r=ub(xa(t.styles.backgroundOrigin,A),t),n=fb(xa(t.styles.backgroundClip,A),t),i=hb(xa(t.styles.backgroundSize,A),e,r),a=i[0],s=i[1],l=Qs(xa(t.styles.backgroundPosition,A),r.width-a,r.height-s),u=db(xa(t.styles.backgroundRepeat,A),l,i,r,n),f=Math.round(r.left+l[0]),p=Math.round(r.top+l[1]);return[u,f,p,a,s]},ba=function(t){return Pe(t)&&t.value===Sa.AUTO},tl=function(t){return typeof t=="number"},hb=function(t,A,e){var r=A[0],n=A[1],i=A[2],a=t[0],s=t[1];if(!a)return[0,0];if(Ct(a)&&s&&Ct(s))return[ze(a,e.width),ze(s,e.height)];var l=tl(i);if(Pe(a)&&(a.value===Sa.CONTAIN||a.value===Sa.COVER)){if(tl(i)){var u=e.width/e.height;return u<i!=(a.value===Sa.COVER)?[e.width,e.width/i]:[e.height*i,e.height]}return[e.width,e.height]}var f=tl(r),p=tl(n),B=f||p;if(ba(a)&&(!s||ba(s))){if(f&&p)return[r,n];if(!l&&!B)return[e.width,e.height];if(B&&l){var d=f?r:n*i,m=p?n:r/i;return[d,m]}var C=f?r:e.width,E=p?n:e.height;return[C,E]}if(l){var v=0,H=0;return Ct(a)?v=ze(a,e.width):Ct(s)&&(H=ze(s,e.height)),ba(a)?v=H*i:(!s||ba(s))&&(H=v/i),[v,H]}var P=null,N=null;if(Ct(a)?P=ze(a,e.width):s&&Ct(s)&&(N=ze(s,e.height)),P!==null&&(!s||ba(s))&&(N=f&&p?P/r*n:e.height),N!==null&&ba(a)&&(P=f&&p?N/n*r:e.width),P!==null&&N!==null)return[P,N];throw new Error("Unable to calculate background-size for element")},xa=function(t,A){var e=t[A];return typeof e>"u"?t[0]:e},db=function(t,A,e,r,n){var i=A[0],a=A[1],s=e[0],l=e[1];switch(t){case 2:return[new SA(Math.round(r.left),Math.round(r.top+a)),new SA(Math.round(r.left+r.width),Math.round(r.top+a)),new SA(Math.round(r.left+r.width),Math.round(l+r.top+a)),new SA(Math.round(r.left),Math.round(l+r.top+a))];case 3:return[new SA(Math.round(r.left+i),Math.round(r.top)),new SA(Math.round(r.left+i+s),Math.round(r.top)),new SA(Math.round(r.left+i+s),Math.round(r.height+r.top)),new SA(Math.round(r.left+i),Math.round(r.height+r.top))];case 1:return[new SA(Math.round(r.left+i),Math.round(r.top+a)),new SA(Math.round(r.left+i+s),Math.round(r.top+a)),new SA(Math.round(r.left+i+s),Math.round(r.top+a+l)),new SA(Math.round(r.left+i),Math.round(r.top+a+l))];default:return[new SA(Math.round(n.left),Math.round(n.top)),new SA(Math.round(n.left+n.width),Math.round(n.top)),new SA(Math.round(n.left+n.width),Math.round(n.height+n.top)),new SA(Math.round(n.left),Math.round(n.height+n.top))]}},gb="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Od="Hidden Text",pb=(function(){function t(A){this._data={},this._document=A}return t.prototype.parseMetrics=function(A,e){var r=this._document.createElement("div"),n=this._document.createElement("img"),i=this._document.createElement("span"),a=this._document.body;r.style.visibility="hidden",r.style.fontFamily=A,r.style.fontSize=e,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",a.appendChild(r),n.src=gb,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",i.style.fontFamily=A,i.style.fontSize=e,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(Od)),r.appendChild(i),r.appendChild(n);var s=n.offsetTop-i.offsetTop+2;r.removeChild(i),r.appendChild(this._document.createTextNode(Od)),r.style.lineHeight="normal",n.style.verticalAlign="super";var l=n.offsetTop-r.offsetTop+2;return a.removeChild(r),{baseline:s,middle:l}},t.prototype.getMetrics=function(A,e){var r=A+" "+e;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(A,e)),this._data[r]},t})(),C0=(function(){function t(A,e){this.context=A,this.options=e}return t})(),Bb=1e4,wb=(function(t){jr(A,t);function A(e,r){var n=t.call(this,e,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new pb(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return A.prototype.applyEffects=function(e){for(var r=this;this._activeEffects.length;)this.popEffect();e.forEach(function(n){return r.applyEffect(n)})},A.prototype.applyEffect=function(e){this.ctx.save(),ib(e)&&(this.ctx.globalAlpha=e.opacity),nb(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),p0(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},A.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},A.prototype.renderStack=function(e){return Zt(this,void 0,void 0,function(){var r;return zt(this,function(n){switch(n.label){case 0:return r=e.element.container.styles,r.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},A.prototype.renderNode=function(e){return Zt(this,void 0,void 0,function(){return zt(this,function(r){switch(r.label){case 0:if(Et(e.container.flags,16))debugger;return e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(e)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},A.prototype.renderTextWithLetterSpacing=function(e,r,n){var i=this;if(r===0)this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+n);else{var a=If(e.text);a.reduce(function(s,l){return i.ctx.fillText(l,s,e.bounds.top+n),s+i.ctx.measureText(l).width},e.bounds.left)}},A.prototype.createFontStyle=function(e){var r=e.fontVariant.filter(function(a){return a==="normal"||a==="small-caps"}).join(""),n=yb(e.fontFamily).join(", "),i=qs(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,r,e.fontWeight,i,n].join(" "),n,i]},A.prototype.renderTextNode=function(e,r){return Zt(this,void 0,void 0,function(){var n,i,a,s,l,u,f,p,B=this;return zt(this,function(d){return n=this.createFontStyle(r),i=n[0],a=n[1],s=n[2],this.ctx.font=i,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",l=this.fontMetrics.getMetrics(a,s),u=l.baseline,f=l.middle,p=r.paintOrder,e.textBounds.forEach(function(m){p.forEach(function(C){switch(C){case 0:B.ctx.fillStyle=_t(r.color),B.renderTextWithLetterSpacing(m,r.letterSpacing,u);var E=r.textShadow;E.length&&m.text.trim().length&&(E.slice(0).reverse().forEach(function(v){B.ctx.shadowColor=_t(v.color),B.ctx.shadowOffsetX=v.offsetX.number*B.options.scale,B.ctx.shadowOffsetY=v.offsetY.number*B.options.scale,B.ctx.shadowBlur=v.blur.number,B.renderTextWithLetterSpacing(m,r.letterSpacing,u)}),B.ctx.shadowColor="",B.ctx.shadowOffsetX=0,B.ctx.shadowOffsetY=0,B.ctx.shadowBlur=0),r.textDecorationLine.length&&(B.ctx.fillStyle=_t(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(v){switch(v){case 1:B.ctx.fillRect(m.bounds.left,Math.round(m.bounds.top+u),m.bounds.width,1);break;case 2:B.ctx.fillRect(m.bounds.left,Math.round(m.bounds.top),m.bounds.width,1);break;case 3:B.ctx.fillRect(m.bounds.left,Math.ceil(m.bounds.top+f),m.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&m.text.trim().length&&(B.ctx.strokeStyle=_t(r.webkitTextStrokeColor),B.ctx.lineWidth=r.webkitTextStrokeWidth,B.ctx.lineJoin=window.chrome?"miter":"round",B.ctx.strokeText(m.text,m.bounds.left,m.bounds.top+u)),B.ctx.strokeStyle="",B.ctx.lineWidth=0,B.ctx.lineJoin="miter";break}})}),[2]})})},A.prototype.renderReplacedElement=function(e,r,n){if(n&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var i=Dl(e),a=Tl(r);this.path(a),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(e){return Zt(this,void 0,void 0,function(){var r,n,i,a,s,l,H,H,u,f,p,B,N,d,m,j,C,E,v,H,P,N,j;return zt(this,function(J){switch(J.label){case 0:this.applyEffects(e.getEffects(4)),r=e.container,n=e.curves,i=r.styles,a=0,s=r.textNodes,J.label=1;case 1:return a<s.length?(l=s[a],[4,this.renderTextNode(l,i)]):[3,4];case 2:J.sent(),J.label=3;case 3:return a++,[3,1];case 4:if(!(r instanceof Zp))return[3,8];J.label=5;case 5:return J.trys.push([5,7,,8]),[4,this.context.cache.match(r.src)];case 6:return H=J.sent(),this.renderReplacedElement(r,n,H),[3,8];case 7:return J.sent(),this.context.logger.error("Error loading image "+r.src),[3,8];case 8:if(r instanceof A0&&this.renderReplacedElement(r,n,r.canvas),!(r instanceof e0))return[3,12];J.label=9;case 9:return J.trys.push([9,11,,12]),[4,this.context.cache.match(r.svg)];case 10:return H=J.sent(),this.renderReplacedElement(r,n,H),[3,12];case 11:return J.sent(),this.context.logger.error("Error loading svg "+r.svg.substring(0,255)),[3,12];case 12:return r instanceof i0&&r.tree?(u=new A(this.context,{scale:this.options.scale,backgroundColor:r.backgroundColor,x:0,y:0,width:r.width,height:r.height}),[4,u.render(r.tree)]):[3,14];case 13:f=J.sent(),r.width&&r.height&&this.ctx.drawImage(f,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height),J.label=14;case 14:if(r instanceof Sf&&(p=Math.min(r.bounds.width,r.bounds.height),r.type===Il?r.checked&&(this.ctx.save(),this.path([new SA(r.bounds.left+p*.39363,r.bounds.top+p*.79),new SA(r.bounds.left+p*.16,r.bounds.top+p*.5549),new SA(r.bounds.left+p*.27347,r.bounds.top+p*.44071),new SA(r.bounds.left+p*.39694,r.bounds.top+p*.5649),new SA(r.bounds.left+p*.72983,r.bounds.top+p*.23),new SA(r.bounds.left+p*.84,r.bounds.top+p*.34085),new SA(r.bounds.left+p*.39363,r.bounds.top+p*.79)]),this.ctx.fillStyle=_t(Qd),this.ctx.fill(),this.ctx.restore()):r.type===Sl&&r.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(r.bounds.left+p/2,r.bounds.top+p/2,p/4,0,Math.PI*2,!0),this.ctx.fillStyle=_t(Qd),this.ctx.fill(),this.ctx.restore())),mb(r)&&r.value.length){switch(B=this.createFontStyle(i),N=B[0],d=B[1],m=this.fontMetrics.getMetrics(N,d).baseline,this.ctx.font=N,this.ctx.fillStyle=_t(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Cb(r.styles.textAlign),j=Dl(r),C=0,r.styles.textAlign){case 1:C+=j.width/2;break;case 2:C+=j.width;break}E=j.add(C,0,0,-j.height/2+1),this.ctx.save(),this.path([new SA(j.left,j.top),new SA(j.left+j.width,j.top),new SA(j.left+j.width,j.top+j.height),new SA(j.left,j.top+j.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Hs(r.value,E),i.letterSpacing,m),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Et(r.styles.display,2048))return[3,20];if(r.styles.listStyleImage===null)return[3,19];if(v=r.styles.listStyleImage,v.type!==0)return[3,18];H=void 0,P=v.url,J.label=15;case 15:return J.trys.push([15,17,,18]),[4,this.context.cache.match(P)];case 16:return H=J.sent(),this.ctx.drawImage(H,r.bounds.left-(H.width+10),r.bounds.top),[3,18];case 17:return J.sent(),this.context.logger.error("Error loading list-style-image "+P),[3,18];case 18:return[3,20];case 19:e.listValue&&r.styles.listStyleType!==-1&&(N=this.createFontStyle(i)[0],this.ctx.font=N,this.ctx.fillStyle=_t(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",j=new kn(r.bounds.left,r.bounds.top+ze(r.styles.paddingTop,r.bounds.width),r.bounds.width,od(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Hs(e.listValue,j),i.letterSpacing,od(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),J.label=20;case 20:return[2]}})})},A.prototype.renderStackContent=function(e){return Zt(this,void 0,void 0,function(){var r,n,v,i,a,v,s,l,v,u,f,v,p,B,v,d,m,v,C,E,v;return zt(this,function(H){switch(H.label){case 0:if(Et(e.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:H.sent(),r=0,n=e.negativeZIndex,H.label=2;case 2:return r<n.length?(v=n[r],[4,this.renderStack(v)]):[3,5];case 3:H.sent(),H.label=4;case 4:return r++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:H.sent(),i=0,a=e.nonInlineLevel,H.label=7;case 7:return i<a.length?(v=a[i],[4,this.renderNode(v)]):[3,10];case 8:H.sent(),H.label=9;case 9:return i++,[3,7];case 10:s=0,l=e.nonPositionedFloats,H.label=11;case 11:return s<l.length?(v=l[s],[4,this.renderStack(v)]):[3,14];case 12:H.sent(),H.label=13;case 13:return s++,[3,11];case 14:u=0,f=e.nonPositionedInlineLevel,H.label=15;case 15:return u<f.length?(v=f[u],[4,this.renderStack(v)]):[3,18];case 16:H.sent(),H.label=17;case 17:return u++,[3,15];case 18:p=0,B=e.inlineLevel,H.label=19;case 19:return p<B.length?(v=B[p],[4,this.renderNode(v)]):[3,22];case 20:H.sent(),H.label=21;case 21:return p++,[3,19];case 22:d=0,m=e.zeroOrAutoZIndexOrTransformedOrOpacity,H.label=23;case 23:return d<m.length?(v=m[d],[4,this.renderStack(v)]):[3,26];case 24:H.sent(),H.label=25;case 25:return d++,[3,23];case 26:C=0,E=e.positiveZIndex,H.label=27;case 27:return C<E.length?(v=E[C],[4,this.renderStack(v)]):[3,30];case 28:H.sent(),H.label=29;case 29:return C++,[3,27];case 30:return[2]}})})},A.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},A.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},A.prototype.formatPath=function(e){var r=this;e.forEach(function(n,i){var a=_r(n)?n.start:n;i===0?r.ctx.moveTo(a.x,a.y):r.ctx.lineTo(a.x,a.y),_r(n)&&r.ctx.bezierCurveTo(n.startControl.x,n.startControl.y,n.endControl.x,n.endControl.y,n.end.x,n.end.y)})},A.prototype.renderRepeat=function(e,r,n,i){this.path(e),this.ctx.fillStyle=r,this.ctx.translate(n,i),this.ctx.fill(),this.ctx.translate(-n,-i)},A.prototype.resizeImage=function(e,r,n){var i;if(e.width===r&&e.height===n)return e;var a=(i=this.canvas.ownerDocument)!==null&&i!==void 0?i:document,s=a.createElement("canvas");s.width=Math.max(1,r),s.height=Math.max(1,n);var l=s.getContext("2d");return l.drawImage(e,0,0,e.width,e.height,0,0,r,n),s},A.prototype.renderBackgroundImage=function(e){return Zt(this,void 0,void 0,function(){var r,n,i,a,s,l;return zt(this,function(u){switch(u.label){case 0:r=e.styles.backgroundImage.length-1,n=function(f){var p,B,d,q,oA,lA,G,V,K,m,q,oA,lA,G,V,C,E,v,H,P,N,j,J,X,K,L,q,U,S,G,V,nA,oA,lA,eA,uA,vA,hA,F,k,M,W;return zt(this,function($){switch($.label){case 0:if(f.type!==0)return[3,5];p=void 0,B=f.url,$.label=1;case 1:return $.trys.push([1,3,,4]),[4,i.context.cache.match(B)];case 2:return p=$.sent(),[3,4];case 3:return $.sent(),i.context.logger.error("Error loading background-image "+B),[3,4];case 4:return p&&(d=iu(e,r,[p.width,p.height,p.width/p.height]),q=d[0],oA=d[1],lA=d[2],G=d[3],V=d[4],K=i.ctx.createPattern(i.resizeImage(p,G,V),"repeat"),i.renderRepeat(q,K,oA,lA)),[3,6];case 5:nv(f)?(m=iu(e,r,[null,null,null]),q=m[0],oA=m[1],lA=m[2],G=m[3],V=m[4],C=Zm(f.angle,G,V),E=C[0],v=C[1],H=C[2],P=C[3],N=C[4],j=document.createElement("canvas"),j.width=G,j.height=V,J=j.getContext("2d"),X=J.createLinearGradient(v,P,H,N),ad(f.stops,E).forEach(function(rA){return X.addColorStop(rA.stop,_t(rA.color))}),J.fillStyle=X,J.fillRect(0,0,G,V),G>0&&V>0&&(K=i.ctx.createPattern(j,"repeat"),i.renderRepeat(q,K,oA,lA))):iv(f)&&(L=iu(e,r,[null,null,null]),q=L[0],U=L[1],S=L[2],G=L[3],V=L[4],nA=f.position.length===0?[Ef]:f.position,oA=ze(nA[0],G),lA=ze(nA[nA.length-1],V),eA=Av(f,oA,lA,G,V),uA=eA[0],vA=eA[1],uA>0&&vA>0&&(hA=i.ctx.createRadialGradient(U+oA,S+lA,0,U+oA,S+lA,uA),ad(f.stops,uA*2).forEach(function(rA){return hA.addColorStop(rA.stop,_t(rA.color))}),i.path(q),i.ctx.fillStyle=hA,uA!==vA?(F=e.bounds.left+.5*e.bounds.width,k=e.bounds.top+.5*e.bounds.height,M=vA/uA,W=1/M,i.ctx.save(),i.ctx.translate(F,k),i.ctx.transform(1,0,0,M,0,0),i.ctx.translate(-F,-k),i.ctx.fillRect(U,W*(S-k)+k,G,V*W),i.ctx.restore()):i.ctx.fill())),$.label=6;case 6:return r--,[2]}})},i=this,a=0,s=e.styles.backgroundImage.slice(0).reverse(),u.label=1;case 1:return a<s.length?(l=s[a],[5,n(l)]):[3,4];case 2:u.sent(),u.label=3;case 3:return a++,[3,1];case 4:return[2]}})})},A.prototype.renderSolidBorder=function(e,r,n){return Zt(this,void 0,void 0,function(){return zt(this,function(i){return this.path(Dd(n,r)),this.ctx.fillStyle=_t(e),this.ctx.fill(),[2]})})},A.prototype.renderDoubleBorder=function(e,r,n,i){return Zt(this,void 0,void 0,function(){var a,s;return zt(this,function(l){switch(l.label){case 0:return r<3?[4,this.renderSolidBorder(e,n,i)]:[3,2];case 1:return l.sent(),[2];case 2:return a=ob(i,n),this.path(a),this.ctx.fillStyle=_t(e),this.ctx.fill(),s=lb(i,n),this.path(s),this.ctx.fill(),[2]}})})},A.prototype.renderNodeBackgroundAndBorders=function(e){return Zt(this,void 0,void 0,function(){var r,n,i,a,s,l,u,f,p=this;return zt(this,function(B){switch(B.label){case 0:return this.applyEffects(e.getEffects(2)),r=e.container.styles,n=!ui(r.backgroundColor)||r.backgroundImage.length,i=[{style:r.borderTopStyle,color:r.borderTopColor,width:r.borderTopWidth},{style:r.borderRightStyle,color:r.borderRightColor,width:r.borderRightWidth},{style:r.borderBottomStyle,color:r.borderBottomColor,width:r.borderBottomWidth},{style:r.borderLeftStyle,color:r.borderLeftColor,width:r.borderLeftWidth}],a=vb(xa(r.backgroundClip,0),e.curves),n||r.boxShadow.length?(this.ctx.save(),this.path(a),this.ctx.clip(),ui(r.backgroundColor)||(this.ctx.fillStyle=_t(r.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:B.sent(),this.ctx.restore(),r.boxShadow.slice(0).reverse().forEach(function(d){p.ctx.save();var m=kl(e.curves),C=d.inset?0:Bb,E=ab(m,-C+(d.inset?1:-1)*d.spread.number,(d.inset?1:-1)*d.spread.number,d.spread.number*(d.inset?-2:2),d.spread.number*(d.inset?-2:2));d.inset?(p.path(m),p.ctx.clip(),p.mask(E)):(p.mask(m),p.ctx.clip(),p.path(E)),p.ctx.shadowOffsetX=d.offsetX.number+C,p.ctx.shadowOffsetY=d.offsetY.number,p.ctx.shadowColor=_t(d.color),p.ctx.shadowBlur=d.blur.number,p.ctx.fillStyle=d.inset?_t(d.color):"rgba(0,0,0,1)",p.ctx.fill(),p.ctx.restore()}),B.label=2;case 2:s=0,l=0,u=i,B.label=3;case 3:return l<u.length?(f=u[l],f.style!==0&&!ui(f.color)&&f.width>0?f.style!==2?[3,5]:[4,this.renderDashedDottedBorder(f.color,f.width,s,e.curves,2)]:[3,11]):[3,13];case 4:return B.sent(),[3,11];case 5:return f.style!==3?[3,7]:[4,this.renderDashedDottedBorder(f.color,f.width,s,e.curves,3)];case 6:return B.sent(),[3,11];case 7:return f.style!==4?[3,9]:[4,this.renderDoubleBorder(f.color,f.width,s,e.curves)];case 8:return B.sent(),[3,11];case 9:return[4,this.renderSolidBorder(f.color,s,e.curves)];case 10:B.sent(),B.label=11;case 11:s++,B.label=12;case 12:return l++,[3,3];case 13:return[2]}})})},A.prototype.renderDashedDottedBorder=function(e,r,n,i,a){return Zt(this,void 0,void 0,function(){var s,l,u,f,p,B,d,m,C,E,v,H,P,N,j,J,j,J;return zt(this,function(X){return this.ctx.save(),s=cb(i,n),l=Dd(i,n),a===2&&(this.path(l),this.ctx.clip()),_r(l[0])?(u=l[0].start.x,f=l[0].start.y):(u=l[0].x,f=l[0].y),_r(l[1])?(p=l[1].end.x,B=l[1].end.y):(p=l[1].x,B=l[1].y),n===0||n===2?d=Math.abs(u-p):d=Math.abs(f-B),this.ctx.beginPath(),a===3?this.formatPath(s):this.formatPath(l.slice(0,2)),m=r<3?r*3:r*2,C=r<3?r*2:r,a===3&&(m=r,C=r),E=!0,d<=m*2?E=!1:d<=m*2+C?(v=d/(2*m+C),m*=v,C*=v):(H=Math.floor((d+C)/(m+C)),P=(d-H*m)/(H-1),N=(d-(H+1)*m)/H,C=N<=0||Math.abs(C-P)<Math.abs(C-N)?P:N),E&&(a===3?this.ctx.setLineDash([0,m+C]):this.ctx.setLineDash([m,C])),a===3?(this.ctx.lineCap="round",this.ctx.lineWidth=r):this.ctx.lineWidth=r*2+1.1,this.ctx.strokeStyle=_t(e),this.ctx.stroke(),this.ctx.setLineDash([]),a===2&&(_r(l[0])&&(j=l[3],J=l[0],this.ctx.beginPath(),this.formatPath([new SA(j.end.x,j.end.y),new SA(J.start.x,J.start.y)]),this.ctx.stroke()),_r(l[1])&&(j=l[1],J=l[2],this.ctx.beginPath(),this.formatPath([new SA(j.end.x,j.end.y),new SA(J.start.x,J.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},A.prototype.render=function(e){return Zt(this,void 0,void 0,function(){var r;return zt(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=_t(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=sb(e),[4,this.renderStack(r)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},A})(C0),mb=function(t){return t instanceof n0||t instanceof r0?!0:t instanceof Sf&&t.type!==Sl&&t.type!==Il},vb=function(t,A){switch(t){case 0:return kl(A);case 2:return eb(A);case 1:default:return Tl(A)}},Cb=function(t){switch(t){case 1:return"center";case 2:return"right";case 0:default:return"left"}},bb=["-apple-system","system-ui"],yb=function(t){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?t.filter(function(A){return bb.indexOf(A)===-1}):t},Fb=(function(t){jr(A,t);function A(e,r){var n=t.call(this,e,r)||this;return n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=r,n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),n}return A.prototype.render=function(e){return Zt(this,void 0,void 0,function(){var r,n;return zt(this,function(i){switch(i.label){case 0:return r=Wu(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,Qb(r)];case 1:return n=i.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=_t(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},A})(C0),Qb=function(t){return new Promise(function(A,e){var r=new Image;r.onload=function(){A(r)},r.onerror=e,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(t))})},Ub=(function(){function t(A){var e=A.id,r=A.enabled;this.id=e,this.enabled=r,this.start=Date.now()}return t.prototype.debug=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,No([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},t.prototype.getTime=function(){return Date.now()-this.start},t.prototype.info=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,No([this.id,this.getTime()+"ms"],A))},t.prototype.warn=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,No([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},t.prototype.error=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,No([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},t.instances={},t})(),xb=(function(){function t(A,e){var r;this.windowBounds=e,this.instanceName="#"+t.instanceCount++,this.logger=new Ub({id:this.instanceName,enabled:A.logging}),this.cache=(r=A.cache)!==null&&r!==void 0?r:new W4(this,A)}return t.instanceCount=1,t})(),Af=function(t,A){return A===void 0&&(A={}),Eb(t,A)};typeof window<"u"&&g0.setContext(window);var Eb=function(t,A){return Zt(void 0,void 0,void 0,function(){var e,r,n,i,a,s,l,u,f,p,B,d,m,C,E,v,H,P,N,j,X,J,X,K,L,q,U,S,G,V,nA,oA,lA,eA,uA,vA,hA,F,k,M;return zt(this,function(W){switch(W.label){case 0:if(!t||typeof t!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(e=t.ownerDocument,!e)throw new Error("Element is not attached to a Document");if(r=e.defaultView,!r)throw new Error("Document is not attached to a Window");return n={allowTaint:(K=A.allowTaint)!==null&&K!==void 0?K:!1,imageTimeout:(L=A.imageTimeout)!==null&&L!==void 0?L:15e3,proxy:A.proxy,useCORS:(q=A.useCORS)!==null&&q!==void 0?q:!1},i=Su({logging:(U=A.logging)!==null&&U!==void 0?U:!0,cache:A.cache},n),a={windowWidth:(S=A.windowWidth)!==null&&S!==void 0?S:r.innerWidth,windowHeight:(G=A.windowHeight)!==null&&G!==void 0?G:r.innerHeight,scrollX:(V=A.scrollX)!==null&&V!==void 0?V:r.pageXOffset,scrollY:(nA=A.scrollY)!==null&&nA!==void 0?nA:r.pageYOffset},s=new kn(a.scrollX,a.scrollY,a.windowWidth,a.windowHeight),l=new xb(i,s),u=(oA=A.foreignObjectRendering)!==null&&oA!==void 0?oA:!1,f={allowTaint:(lA=A.allowTaint)!==null&&lA!==void 0?lA:!1,onclone:A.onclone,ignoreElements:A.ignoreElements,inlineImages:u,copyStyles:u},l.logger.debug("Starting document clone with size "+s.width+"x"+s.height+" scrolled to "+-s.left+","+-s.top),p=new Nd(l,t,f),B=p.clonedReferenceElement,B?[4,p.toIFrame(e,s)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return d=W.sent(),m=Hf(B)||_4(B)?a5(B.ownerDocument):Wl(l,B),C=m.width,E=m.height,v=m.left,H=m.top,P=Lb(l,B,A.backgroundColor),N={canvas:A.canvas,backgroundColor:P,scale:(uA=(eA=A.scale)!==null&&eA!==void 0?eA:r.devicePixelRatio)!==null&&uA!==void 0?uA:1,x:((vA=A.x)!==null&&vA!==void 0?vA:0)+v,y:((hA=A.y)!==null&&hA!==void 0?hA:0)+H,width:(F=A.width)!==null&&F!==void 0?F:Math.ceil(C),height:(k=A.height)!==null&&k!==void 0?k:Math.ceil(E)},u?(l.logger.debug("Document cloned, using foreign object rendering"),X=new Fb(l,N),[4,X.render(B)]):[3,3];case 2:return j=W.sent(),[3,5];case 3:return l.logger.debug("Document cloned, element located at "+v+","+H+" with size "+C+"x"+E+" using computed rendering"),l.logger.debug("Starting DOM parsing"),J=s0(l,B),P===J.styles.backgroundColor&&(J.styles.backgroundColor=Nn.TRANSPARENT),l.logger.debug("Starting renderer for element at "+N.x+","+N.y+" with size "+N.width+"x"+N.height),X=new wb(l,N),[4,X.render(J)];case 4:j=W.sent(),W.label=5;case 5:return(!((M=A.removeContainer)!==null&&M!==void 0)||M)&&(Nd.destroy(d)||l.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),l.logger.debug("Finished rendering"),[2,j]}})})},Lb=function(t,A,e){var r=A.ownerDocument,n=r.documentElement?Is(t,getComputedStyle(r.documentElement).backgroundColor):Nn.TRANSPARENT,i=r.body?Is(t,getComputedStyle(r.body).backgroundColor):Nn.TRANSPARENT,a=typeof e=="string"?Is(t,e):e===null?Nn.TRANSPARENT:4294967295;return A===r.documentElement?ui(n)?ui(i)?a:i:n:a};const _b=Object.freeze(Object.defineProperty({__proto__:null,default:Af},Symbol.toStringTag,{value:"Module"}));var Vr=Uint8Array,wr=Uint16Array,Nf=Int32Array,kf=new Vr([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]),Tf=new Vr([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]),Pd=new Vr([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),b0=function(t,A){for(var e=new wr(31),r=0;r<31;++r)e[r]=A+=1<<t[r-1];for(var n=new Nf(e[30]),r=1;r<30;++r)for(var i=e[r];i<e[r+1];++i)n[i]=i-e[r]<<5|r;return{b:e,r:n}},y0=b0(kf,2),Ib=y0.b,ef=y0.r;Ib[28]=258,ef[258]=28;var Sb=b0(Tf,0),Rd=Sb.r,tf=new wr(32768);for(var Ye=0;Ye<32768;++Ye){var Zn=(Ye&43690)>>1|(Ye&21845)<<1;Zn=(Zn&52428)>>2|(Zn&13107)<<2,Zn=(Zn&61680)>>4|(Zn&3855)<<4,tf[Ye]=((Zn&65280)>>8|(Zn&255)<<8)>>1}var ks=(function(t,A,e){for(var r=t.length,n=0,i=new wr(A);n<r;++n)t[n]&&++i[t[n]-1];var a=new wr(A);for(n=1;n<A;++n)a[n]=a[n-1]+i[n-1]<<1;var s;if(e){s=new wr(1<<A);var l=15-A;for(n=0;n<r;++n)if(t[n])for(var u=n<<4|t[n],f=A-t[n],p=a[t[n]-1]++<<f,B=p|(1<<f)-1;p<=B;++p)s[tf[p]>>l]=u}else for(s=new wr(r),n=0;n<r;++n)t[n]&&(s[n]=tf[a[t[n]-1]++]>>15-t[n]);return s}),Xi=new Vr(288);for(var Ye=0;Ye<144;++Ye)Xi[Ye]=8;for(var Ye=144;Ye<256;++Ye)Xi[Ye]=9;for(var Ye=256;Ye<280;++Ye)Xi[Ye]=7;for(var Ye=280;Ye<288;++Ye)Xi[Ye]=8;var Ol=new Vr(32);for(var Ye=0;Ye<32;++Ye)Ol[Ye]=5;var Hb=ks(Xi,9,0),Nb=ks(Ol,5,0),F0=function(t){return(t+7)/8|0},kb=function(t,A,e){return(e==null||e>t.length)&&(e=t.length),new Vr(t.subarray(A,e))},En=function(t,A,e){e<<=A&7;var r=A/8|0;t[r]|=e,t[r+1]|=e>>8},ms=function(t,A,e){e<<=A&7;var r=A/8|0;t[r]|=e,t[r+1]|=e>>8,t[r+2]|=e>>16},au=function(t,A){for(var e=[],r=0;r<t.length;++r)t[r]&&e.push({s:r,f:t[r]});var n=e.length,i=e.slice();if(!n)return{t:U0,l:0};if(n==1){var a=new Vr(e[0].s+1);return a[e[0].s]=1,{t:a,l:1}}e.sort(function(j,J){return j.f-J.f}),e.push({s:-1,f:25001});var s=e[0],l=e[1],u=0,f=1,p=2;for(e[0]={s:-1,f:s.f+l.f,l:s,r:l};f!=n-1;)s=e[e[u].f<e[p].f?u++:p++],l=e[u!=f&&e[u].f<e[p].f?u++:p++],e[f++]={s:-1,f:s.f+l.f,l:s,r:l};for(var B=i[0].s,r=1;r<n;++r)i[r].s>B&&(B=i[r].s);var d=new wr(B+1),m=rf(e[f-1],d,0);if(m>A){var r=0,C=0,E=m-A,v=1<<E;for(i.sort(function(J,X){return d[X.s]-d[J.s]||J.f-X.f});r<n;++r){var H=i[r].s;if(d[H]>A)C+=v-(1<<m-d[H]),d[H]=A;else break}for(C>>=E;C>0;){var P=i[r].s;d[P]<A?C-=1<<A-d[P]++-1:++r}for(;r>=0&&C;--r){var N=i[r].s;d[N]==A&&(--d[N],++C)}m=A}return{t:new Vr(d),l:m}},rf=function(t,A,e){return t.s==-1?Math.max(rf(t.l,A,e+1),rf(t.r,A,e+1)):A[t.s]=e},Md=function(t){for(var A=t.length;A&&!t[--A];);for(var e=new wr(++A),r=0,n=t[0],i=1,a=function(l){e[r++]=l},s=1;s<=A;++s)if(t[s]==n&&s!=A)++i;else{if(!n&&i>2){for(;i>138;i-=138)a(32754);i>2&&(a(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(a(n),--i;i>6;i-=6)a(8304);i>2&&(a(i-3<<5|8208),i=0)}for(;i--;)a(n);i=1,n=t[s]}return{c:e.subarray(0,r),n:A}},vs=function(t,A){for(var e=0,r=0;r<A.length;++r)e+=t[r]*A[r];return e},Q0=function(t,A,e){var r=e.length,n=F0(A+2);t[n]=r&255,t[n+1]=r>>8,t[n+2]=t[n]^255,t[n+3]=t[n+1]^255;for(var i=0;i<r;++i)t[n+i+4]=e[i];return(n+4+r)*8},Kd=function(t,A,e,r,n,i,a,s,l,u,f){En(A,f++,e),++n[256];for(var p=au(n,15),B=p.t,d=p.l,m=au(i,15),C=m.t,E=m.l,v=Md(B),H=v.c,P=v.n,N=Md(C),j=N.c,J=N.n,X=new wr(19),K=0;K<H.length;++K)++X[H[K]&31];for(var K=0;K<j.length;++K)++X[j[K]&31];for(var L=au(X,7),q=L.t,U=L.l,S=19;S>4&&!q[Pd[S-1]];--S);var G=u+5<<3,V=vs(n,Xi)+vs(i,Ol)+a,nA=vs(n,B)+vs(i,C)+a+14+3*S+vs(X,q)+2*X[16]+3*X[17]+7*X[18];if(l>=0&&G<=V&&G<=nA)return Q0(A,f,t.subarray(l,l+u));var oA,lA,eA,uA;if(En(A,f,1+(nA<V)),f+=2,nA<V){oA=ks(B,d,0),lA=B,eA=ks(C,E,0),uA=C;var vA=ks(q,U,0);En(A,f,P-257),En(A,f+5,J-1),En(A,f+10,S-4),f+=14;for(var K=0;K<S;++K)En(A,f+3*K,q[Pd[K]]);f+=3*S;for(var hA=[H,j],F=0;F<2;++F)for(var k=hA[F],K=0;K<k.length;++K){var M=k[K]&31;En(A,f,vA[M]),f+=q[M],M>15&&(En(A,f,k[K]>>5&127),f+=k[K]>>12)}}else oA=Hb,lA=Xi,eA=Nb,uA=Ol;for(var K=0;K<s;++K){var W=r[K];if(W>255){var M=W>>18&31;ms(A,f,oA[M+257]),f+=lA[M+257],M>7&&(En(A,f,W>>23&31),f+=kf[M]);var $=W&31;ms(A,f,eA[$]),f+=uA[$],$>3&&(ms(A,f,W>>5&8191),f+=Tf[$])}else ms(A,f,oA[W]),f+=lA[W]}return ms(A,f,oA[256]),f+lA[256]},Tb=new Nf([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),U0=new Vr(0),Db=function(t,A,e,r,n,i){var a=i.z||t.length,s=new Vr(r+a+5*(1+Math.ceil(a/7e3))+n),l=s.subarray(r,s.length-n),u=i.l,f=(i.r||0)&7;if(A){f&&(l[0]=i.r>>3);for(var p=Tb[A-1],B=p>>13,d=p&8191,m=(1<<e)-1,C=i.p||new wr(32768),E=i.h||new wr(m+1),v=Math.ceil(e/3),H=2*v,P=function(cA){return(t[cA]^t[cA+1]<<v^t[cA+2]<<H)&m},N=new Nf(25e3),j=new wr(288),J=new wr(32),X=0,K=0,L=i.i||0,q=0,U=i.w||0,S=0;L+2<a;++L){var G=P(L),V=L&32767,nA=E[G];if(C[V]=nA,E[G]=V,U<=L){var oA=a-L;if((X>7e3||q>24576)&&(oA>423||!u)){f=Kd(t,l,0,N,j,J,K,q,S,L-S,f),q=X=K=0,S=L;for(var lA=0;lA<286;++lA)j[lA]=0;for(var lA=0;lA<30;++lA)J[lA]=0}var eA=2,uA=0,vA=d,hA=V-nA&32767;if(oA>2&&G==P(L-hA))for(var F=Math.min(B,oA)-1,k=Math.min(32767,L),M=Math.min(258,oA);hA<=k&&--vA&&V!=nA;){if(t[L+eA]==t[L+eA-hA]){for(var W=0;W<M&&t[L+W]==t[L+W-hA];++W);if(W>eA){if(eA=W,uA=hA,W>F)break;for(var $=Math.min(hA,W-2),rA=0,lA=0;lA<$;++lA){var dA=L-hA+lA&32767,fA=C[dA],gA=dA-fA&32767;gA>rA&&(rA=gA,nA=dA)}}}V=nA,nA=C[V],hA+=V-nA&32767}if(uA){N[q++]=268435456|ef[eA]<<18|Rd[uA];var sA=ef[eA]&31,yA=Rd[uA]&31;K+=kf[sA]+Tf[yA],++j[257+sA],++J[yA],U=L+eA,++X}else N[q++]=t[L],++j[t[L]]}}for(L=Math.max(L,U);L<a;++L)N[q++]=t[L],++j[t[L]];f=Kd(t,l,u,N,j,J,K,q,S,L-S,f),u||(i.r=f&7|l[f/8|0]<<3,f-=7,i.h=E,i.p=C,i.i=L,i.w=U)}else{for(var L=i.w||0;L<a+u;L+=65535){var xA=L+65535;xA>=a&&(l[f/8|0]=u,xA=a),f=Q0(l,f+1,t.subarray(L,xA))}i.i=a}return kb(s,0,r+F0(f)+n)},x0=function(){var t=1,A=0;return{p:function(e){for(var r=t,n=A,i=e.length|0,a=0;a!=i;){for(var s=Math.min(a+2655,i);a<s;++a)n+=r+=e[a];r=(r&65535)+15*(r>>16),n=(n&65535)+15*(n>>16)}t=r,A=n},d:function(){return t%=65521,A%=65521,(t&255)<<24|(t&65280)<<8|(A&255)<<8|A>>8}}},Ob=function(t,A,e,r,n){if(!n&&(n={l:1},A.dictionary)){var i=A.dictionary.subarray(-32768),a=new Vr(i.length+t.length);a.set(i),a.set(t,i.length),t=a,n.w=i.length}return Db(t,A.level==null?6:A.level,A.mem==null?n.l?Math.ceil(Math.max(8,Math.min(13,Math.log(t.length)))*1.5):20:12+A.mem,e,r,n)},E0=function(t,A,e){for(;e;++A)t[A]=e,e>>>=8},Pb=function(t,A){var e=A.level,r=e==0?0:e<6?1:e==9?3:2;if(t[0]=120,t[1]=r<<6|(A.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,A.dictionary){var n=x0();n.p(A.dictionary),E0(t,2,n.d())}};function nf(t,A){A||(A={});var e=x0();e.p(t);var r=Ob(t,A,A.dictionary?6:2,4);return Pb(r,A),E0(r,r.length-4,e.d()),r}var Rb=typeof TextDecoder<"u"&&new TextDecoder,Mb=0;try{Rb.decode(U0,{stream:!0}),Mb=1}catch{}function Kb(t){if(Array.isArray(t))return t}function Gb(t,A){var e=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(e!=null){var r,n,i,a,s=[],l=!0,u=!1;try{if(i=(e=e.call(t)).next,A!==0)for(;!(l=(r=i.call(e)).done)&&(s.push(r.value),s.length!==A);l=!0);}catch(f){u=!0,n=f}finally{try{if(!l&&e.return!=null&&(a=e.return(),Object(a)!==a))return}finally{if(u)throw n}}return s}}function Vb(){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 Gd(t,A){return Kb(t)||Gb(t,A)||pB(t,A)||Vb()}function Vd(t,A="utf8"){return new TextDecoder(A).decode(t)}const jb=new TextEncoder;function qb(t){return jb.encode(t)}const Wb=1024*8,zb=(()=>{const t=new Uint8Array(4),A=new Uint32Array(t.buffer);return!((A[0]=1)&t[0])})(),su={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class Df{constructor(A=Wb,e={}){JA(this,"buffer");JA(this,"byteLength");JA(this,"byteOffset");JA(this,"length");JA(this,"offset");JA(this,"lastWrittenByte");JA(this,"littleEndian");JA(this,"_data");JA(this,"_mark");JA(this,"_marks");let r=!1;typeof A=="number"?A=new ArrayBuffer(A):(r=!0,this.lastWrittenByte=A.byteLength);const n=e.offset?e.offset>>>0:0,i=A.byteLength-n;let a=n;(ArrayBuffer.isView(A)||A instanceof Df)&&(A.byteLength!==A.buffer.byteLength&&(a=A.byteOffset+n),A=A.buffer),r?this.lastWrittenByte=i:this.lastWrittenByte=0,this.buffer=A,this.length=i,this.byteLength=i,this.byteOffset=a,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,a,i),this._mark=0,this._marks=[]}available(A=1){return this.offset+A<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(A=1){return this.offset+=A,this}back(A=1){return this.offset-=A,this}seek(A){return this.offset=A,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const A=this._marks.pop();if(A===void 0)throw new Error("Mark stack empty");return this.seek(A),this}rewind(){return this.offset=0,this}ensureAvailable(A=1){if(!this.available(A)){const r=(this.offset+A)*2,n=new Uint8Array(r);n.set(new Uint8Array(this.buffer)),this.buffer=n.buffer,this.length=r,this.byteLength=r,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(A=1){return this.readArray(A,"uint8")}readArray(A,e){const r=su[e].BYTES_PER_ELEMENT*A,n=this.byteOffset+this.offset,i=this.buffer.slice(n,n+r);if(this.littleEndian===zb&&e!=="uint8"&&e!=="int8"){const s=new Uint8Array(this.buffer.slice(n,n+r));s.reverse();const l=new su[e](s.buffer);return this.offset+=r,l.reverse(),l}const a=new su[e](i);return this.offset+=r,a}readInt16(){const A=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,A}readUint16(){const A=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,A}readInt32(){const A=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,A}readUint32(){const A=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,A}readFloat32(){const A=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,A}readFloat64(){const A=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,A}readBigInt64(){const A=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,A}readBigUint64(){const A=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,A}readChar(){return String.fromCharCode(this.readInt8())}readChars(A=1){let e="";for(let r=0;r<A;r++)e+=this.readChar();return e}readUtf8(A=1){return Vd(this.readBytes(A))}decodeText(A=1,e="utf8"){return Vd(this.readBytes(A),e)}writeBoolean(A){return this.writeUint8(A?255:0),this}writeInt8(A){return this.ensureAvailable(1),this._data.setInt8(this.offset++,A),this._updateLastWrittenByte(),this}writeUint8(A){return this.ensureAvailable(1),this._data.setUint8(this.offset++,A),this._updateLastWrittenByte(),this}writeByte(A){return this.writeUint8(A)}writeBytes(A){this.ensureAvailable(A.length);for(let e=0;e<A.length;e++)this._data.setUint8(this.offset++,A[e]);return this._updateLastWrittenByte(),this}writeInt16(A){return this.ensureAvailable(2),this._data.setInt16(this.offset,A,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(A){return this.ensureAvailable(2),this._data.setUint16(this.offset,A,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(A){return this.ensureAvailable(4),this._data.setInt32(this.offset,A,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(A){return this.ensureAvailable(4),this._data.setUint32(this.offset,A,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(A){return this.ensureAvailable(4),this._data.setFloat32(this.offset,A,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(A){return this.ensureAvailable(8),this._data.setFloat64(this.offset,A,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(A){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,A,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(A){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,A,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(A){return this.writeUint8(A.charCodeAt(0))}writeChars(A){for(let e=0;e<A.length;e++)this.writeUint8(A.charCodeAt(e));return this}writeUtf8(A){return this.writeBytes(qb(A))}toArray(){return new Uint8Array(this.buffer,this.byteOffset,this.lastWrittenByte)}getWrittenByteLength(){return this.lastWrittenByte-this.byteOffset}_updateLastWrittenByte(){this.offset>this.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}function Pa(t){let A=t.length;for(;--A>=0;)t[A]=0}const Xb=3,Jb=258,L0=29,Yb=256,$b=Yb+1+L0,_0=30,Zb=512,Ay=new Array(($b+2)*2);Pa(Ay);const ey=new Array(_0*2);Pa(ey);const ty=new Array(Zb);Pa(ty);const ry=new Array(Jb-Xb+1);Pa(ry);const ny=new Array(L0);Pa(ny);const iy=new Array(_0);Pa(iy);const ay=(t,A,e,r)=>{let n=t&65535|0,i=t>>>16&65535|0,a=0;for(;e!==0;){a=e>2e3?2e3:e,e-=a;do n=n+A[r++]|0,i=i+n|0;while(--a);n%=65521,i%=65521}return n|i<<16|0};var af=ay;const sy=()=>{let t,A=[];for(var e=0;e<256;e++){t=e;for(var r=0;r<8;r++)t=t&1?3988292384^t>>>1:t>>>1;A[e]=t}return A},oy=new Uint32Array(sy()),ly=(t,A,e,r)=>{const n=oy,i=r+e;t^=-1;for(let a=r;a<i;a++)t=t>>>8^n[(t^A[a])&255];return t^-1};var tn=ly,sf={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},I0={Z_NO_FLUSH:0,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_DEFLATED:8};const cy=(t,A)=>Object.prototype.hasOwnProperty.call(t,A);var uy=function(t){const A=Array.prototype.slice.call(arguments,1);for(;A.length;){const e=A.shift();if(e){if(typeof e!="object")throw new TypeError(e+"must be non-object");for(const r in e)cy(e,r)&&(t[r]=e[r])}}return t},fy=t=>{let A=0;for(let r=0,n=t.length;r<n;r++)A+=t[r].length;const e=new Uint8Array(A);for(let r=0,n=0,i=t.length;r<i;r++){let a=t[r];e.set(a,n),n+=a.length}return e},S0={assign:uy,flattenChunks:fy};let H0=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{H0=!1}const Rs=new Uint8Array(256);for(let t=0;t<256;t++)Rs[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Rs[254]=Rs[254]=1;var hy=t=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(t);let A,e,r,n,i,a=t.length,s=0;for(n=0;n<a;n++)e=t.charCodeAt(n),(e&64512)===55296&&n+1<a&&(r=t.charCodeAt(n+1),(r&64512)===56320&&(e=65536+(e-55296<<10)+(r-56320),n++)),s+=e<128?1:e<2048?2:e<65536?3:4;for(A=new Uint8Array(s),i=0,n=0;i<s;n++)e=t.charCodeAt(n),(e&64512)===55296&&n+1<a&&(r=t.charCodeAt(n+1),(r&64512)===56320&&(e=65536+(e-55296<<10)+(r-56320),n++)),e<128?A[i++]=e:e<2048?(A[i++]=192|e>>>6,A[i++]=128|e&63):e<65536?(A[i++]=224|e>>>12,A[i++]=128|e>>>6&63,A[i++]=128|e&63):(A[i++]=240|e>>>18,A[i++]=128|e>>>12&63,A[i++]=128|e>>>6&63,A[i++]=128|e&63);return A};const dy=(t,A)=>{if(A<65534&&t.subarray&&H0)return String.fromCharCode.apply(null,t.length===A?t:t.subarray(0,A));let e="";for(let r=0;r<A;r++)e+=String.fromCharCode(t[r]);return e};var gy=(t,A)=>{const e=A||t.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(t.subarray(0,A));let r,n;const i=new Array(e*2);for(n=0,r=0;r<e;){let a=t[r++];if(a<128){i[n++]=a;continue}let s=Rs[a];if(s>4){i[n++]=65533,r+=s-1;continue}for(a&=s===2?31:s===3?15:7;s>1&&r<e;)a=a<<6|t[r++]&63,s--;if(s>1){i[n++]=65533;continue}a<65536?i[n++]=a:(a-=65536,i[n++]=55296|a>>10&1023,i[n++]=56320|a&1023)}return dy(i,n)},py=(t,A)=>{A=A||t.length,A>t.length&&(A=t.length);let e=A-1;for(;e>=0&&(t[e]&192)===128;)e--;return e<0||e===0?A:e+Rs[t[e]]>A?e:A},of={string2buf:hy,buf2string:gy,utf8border:py};function By(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var wy=By;const rl=16209,my=16191;var vy=function(A,e){let r,n,i,a,s,l,u,f,p,B,d,m,C,E,v,H,P,N,j,J,X,K,L,q;const U=A.state;r=A.next_in,L=A.input,n=r+(A.avail_in-5),i=A.next_out,q=A.output,a=i-(e-A.avail_out),s=i+(A.avail_out-257),l=U.dmax,u=U.wsize,f=U.whave,p=U.wnext,B=U.window,d=U.hold,m=U.bits,C=U.lencode,E=U.distcode,v=(1<<U.lenbits)-1,H=(1<<U.distbits)-1;A:do{m<15&&(d+=L[r++]<<m,m+=8,d+=L[r++]<<m,m+=8),P=C[d&v];e:for(;;){if(N=P>>>24,d>>>=N,m-=N,N=P>>>16&255,N===0)q[i++]=P&65535;else if(N&16){j=P&65535,N&=15,N&&(m<N&&(d+=L[r++]<<m,m+=8),j+=d&(1<<N)-1,d>>>=N,m-=N),m<15&&(d+=L[r++]<<m,m+=8,d+=L[r++]<<m,m+=8),P=E[d&H];t:for(;;){if(N=P>>>24,d>>>=N,m-=N,N=P>>>16&255,N&16){if(J=P&65535,N&=15,m<N&&(d+=L[r++]<<m,m+=8,m<N&&(d+=L[r++]<<m,m+=8)),J+=d&(1<<N)-1,J>l){A.msg="invalid distance too far back",U.mode=rl;break A}if(d>>>=N,m-=N,N=i-a,J>N){if(N=J-N,N>f&&U.sane){A.msg="invalid distance too far back",U.mode=rl;break A}if(X=0,K=B,p===0){if(X+=u-N,N<j){j-=N;do q[i++]=B[X++];while(--N);X=i-J,K=q}}else if(p<N){if(X+=u+p-N,N-=p,N<j){j-=N;do q[i++]=B[X++];while(--N);if(X=0,p<j){N=p,j-=N;do q[i++]=B[X++];while(--N);X=i-J,K=q}}}else if(X+=p-N,N<j){j-=N;do q[i++]=B[X++];while(--N);X=i-J,K=q}for(;j>2;)q[i++]=K[X++],q[i++]=K[X++],q[i++]=K[X++],j-=3;j&&(q[i++]=K[X++],j>1&&(q[i++]=K[X++]))}else{X=i-J;do q[i++]=q[X++],q[i++]=q[X++],q[i++]=q[X++],j-=3;while(j>2);j&&(q[i++]=q[X++],j>1&&(q[i++]=q[X++]))}}else if((N&64)===0){P=E[(P&65535)+(d&(1<<N)-1)];continue t}else{A.msg="invalid distance code",U.mode=rl;break A}break}}else if((N&64)===0){P=C[(P&65535)+(d&(1<<N)-1)];continue e}else if(N&32){U.mode=my;break A}else{A.msg="invalid literal/length code",U.mode=rl;break A}break}}while(r<n&&i<s);j=m>>3,r-=j,m-=j<<3,d&=(1<<m)-1,A.next_in=r,A.next_out=i,A.avail_in=r<n?5+(n-r):5-(r-n),A.avail_out=i<s?257+(s-i):257-(i-s),U.hold=d,U.bits=m};const ya=15,jd=852,qd=592,Wd=0,ou=1,zd=2,Cy=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),by=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),yy=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),Fy=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),Qy=(t,A,e,r,n,i,a,s)=>{const l=s.bits;let u=0,f=0,p=0,B=0,d=0,m=0,C=0,E=0,v=0,H=0,P,N,j,J,X,K=null,L;const q=new Uint16Array(ya+1),U=new Uint16Array(ya+1);let S=null,G,V,nA;for(u=0;u<=ya;u++)q[u]=0;for(f=0;f<r;f++)q[A[e+f]]++;for(d=l,B=ya;B>=1&&q[B]===0;B--);if(d>B&&(d=B),B===0)return n[i++]=1<<24|64<<16|0,n[i++]=1<<24|64<<16|0,s.bits=1,0;for(p=1;p<B&&q[p]===0;p++);for(d<p&&(d=p),E=1,u=1;u<=ya;u++)if(E<<=1,E-=q[u],E<0)return-1;if(E>0&&(t===Wd||B!==1))return-1;for(U[1]=0,u=1;u<ya;u++)U[u+1]=U[u]+q[u];for(f=0;f<r;f++)A[e+f]!==0&&(a[U[A[e+f]]++]=f);if(t===Wd?(K=S=a,L=20):t===ou?(K=Cy,S=by,L=257):(K=yy,S=Fy,L=0),H=0,f=0,u=p,X=i,m=d,C=0,j=-1,v=1<<d,J=v-1,t===ou&&v>jd||t===zd&&v>qd)return 1;for(;;){G=u-C,a[f]+1<L?(V=0,nA=a[f]):a[f]>=L?(V=S[a[f]-L],nA=K[a[f]-L]):(V=96,nA=0),P=1<<u-C,N=1<<m,p=N;do N-=P,n[X+(H>>C)+N]=G<<24|V<<16|nA|0;while(N!==0);for(P=1<<u-1;H&P;)P>>=1;if(P!==0?(H&=P-1,H+=P):H=0,f++,--q[u]===0){if(u===B)break;u=A[e+a[f]]}if(u>d&&(H&J)!==j){for(C===0&&(C=d),X+=p,m=u-C,E=1<<m;m+C<B&&(E-=q[m+C],!(E<=0));)m++,E<<=1;if(v+=1<<m,t===ou&&v>jd||t===zd&&v>qd)return 1;j=H&J,n[j]=d<<24|m<<16|X-i|0}}return H!==0&&(n[X+H]=u-C<<24|64<<16|0),s.bits=d,0};var Ts=Qy;const Uy=0,N0=1,k0=2,{Z_FINISH:Xd,Z_BLOCK:xy,Z_TREES:nl,Z_OK:Ji,Z_STREAM_END:Ey,Z_NEED_DICT:Ly,Z_STREAM_ERROR:Hr,Z_DATA_ERROR:T0,Z_MEM_ERROR:D0,Z_BUF_ERROR:_y,Z_DEFLATED:Jd}=I0,rc=16180,Yd=16181,$d=16182,Zd=16183,Ag=16184,eg=16185,tg=16186,rg=16187,ng=16188,ig=16189,Pl=16190,Ln=16191,lu=16192,ag=16193,cu=16194,sg=16195,og=16196,lg=16197,cg=16198,il=16199,al=16200,ug=16201,fg=16202,hg=16203,dg=16204,gg=16205,uu=16206,pg=16207,Bg=16208,Ze=16209,O0=16210,P0=16211,Iy=852,Sy=592,Hy=15,Ny=Hy,wg=t=>(t>>>24&255)+(t>>>8&65280)+((t&65280)<<8)+((t&255)<<24);function ky(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const Aa=t=>{if(!t)return 1;const A=t.state;return!A||A.strm!==t||A.mode<rc||A.mode>P0?1:0},R0=t=>{if(Aa(t))return Hr;const A=t.state;return t.total_in=t.total_out=A.total=0,t.msg="",A.wrap&&(t.adler=A.wrap&1),A.mode=rc,A.last=0,A.havedict=0,A.flags=-1,A.dmax=32768,A.head=null,A.hold=0,A.bits=0,A.lencode=A.lendyn=new Int32Array(Iy),A.distcode=A.distdyn=new Int32Array(Sy),A.sane=1,A.back=-1,Ji},M0=t=>{if(Aa(t))return Hr;const A=t.state;return A.wsize=0,A.whave=0,A.wnext=0,R0(t)},K0=(t,A)=>{let e;if(Aa(t))return Hr;const r=t.state;return A<0?(e=0,A=-A):(e=(A>>4)+5,A<48&&(A&=15)),A&&(A<8||A>15)?Hr:(r.window!==null&&r.wbits!==A&&(r.window=null),r.wrap=e,r.wbits=A,M0(t))},G0=(t,A)=>{if(!t)return Hr;const e=new ky;t.state=e,e.strm=t,e.window=null,e.mode=rc;const r=K0(t,A);return r!==Ji&&(t.state=null),r},Ty=t=>G0(t,Ny);let mg=!0,fu,hu;const Dy=t=>{if(mg){fu=new Int32Array(512),hu=new Int32Array(32);let A=0;for(;A<144;)t.lens[A++]=8;for(;A<256;)t.lens[A++]=9;for(;A<280;)t.lens[A++]=7;for(;A<288;)t.lens[A++]=8;for(Ts(N0,t.lens,0,288,fu,0,t.work,{bits:9}),A=0;A<32;)t.lens[A++]=5;Ts(k0,t.lens,0,32,hu,0,t.work,{bits:5}),mg=!1}t.lencode=fu,t.lenbits=9,t.distcode=hu,t.distbits=5},V0=(t,A,e,r)=>{let n;const i=t.state;return i.window===null&&(i.wsize=1<<i.wbits,i.wnext=0,i.whave=0,i.window=new Uint8Array(i.wsize)),r>=i.wsize?(i.window.set(A.subarray(e-i.wsize,e),0),i.wnext=0,i.whave=i.wsize):(n=i.wsize-i.wnext,n>r&&(n=r),i.window.set(A.subarray(e-r,e-r+n),i.wnext),r-=n,r?(i.window.set(A.subarray(e-r,e),0),i.wnext=r,i.whave=i.wsize):(i.wnext+=n,i.wnext===i.wsize&&(i.wnext=0),i.whave<i.wsize&&(i.whave+=n))),0},Oy=(t,A)=>{let e,r,n,i,a,s,l,u,f,p,B,d,m,C,E=0,v,H,P,N,j,J,X,K;const L=new Uint8Array(4);let q,U;const S=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Aa(t)||!t.output||!t.input&&t.avail_in!==0)return Hr;e=t.state,e.mode===Ln&&(e.mode=lu),a=t.next_out,n=t.output,l=t.avail_out,i=t.next_in,r=t.input,s=t.avail_in,u=e.hold,f=e.bits,p=s,B=l,K=Ji;A:for(;;)switch(e.mode){case rc:if(e.wrap===0){e.mode=lu;break}for(;f<16;){if(s===0)break A;s--,u+=r[i++]<<f,f+=8}if(e.wrap&2&&u===35615){e.wbits===0&&(e.wbits=15),e.check=0,L[0]=u&255,L[1]=u>>>8&255,e.check=tn(e.check,L,2,0),u=0,f=0,e.mode=Yd;break}if(e.head&&(e.head.done=!1),!(e.wrap&1)||(((u&255)<<8)+(u>>8))%31){t.msg="incorrect header check",e.mode=Ze;break}if((u&15)!==Jd){t.msg="unknown compression method",e.mode=Ze;break}if(u>>>=4,f-=4,X=(u&15)+8,e.wbits===0&&(e.wbits=X),X>15||X>e.wbits){t.msg="invalid window size",e.mode=Ze;break}e.dmax=1<<e.wbits,e.flags=0,t.adler=e.check=1,e.mode=u&512?ig:Ln,u=0,f=0;break;case Yd:for(;f<16;){if(s===0)break A;s--,u+=r[i++]<<f,f+=8}if(e.flags=u,(e.flags&255)!==Jd){t.msg="unknown compression method",e.mode=Ze;break}if(e.flags&57344){t.msg="unknown header flags set",e.mode=Ze;break}e.head&&(e.head.text=u>>8&1),e.flags&512&&e.wrap&4&&(L[0]=u&255,L[1]=u>>>8&255,e.check=tn(e.check,L,2,0)),u=0,f=0,e.mode=$d;case $d:for(;f<32;){if(s===0)break A;s--,u+=r[i++]<<f,f+=8}e.head&&(e.head.time=u),e.flags&512&&e.wrap&4&&(L[0]=u&255,L[1]=u>>>8&255,L[2]=u>>>16&255,L[3]=u>>>24&255,e.check=tn(e.check,L,4,0)),u=0,f=0,e.mode=Zd;case Zd:for(;f<16;){if(s===0)break A;s--,u+=r[i++]<<f,f+=8}e.head&&(e.head.xflags=u&255,e.head.os=u>>8),e.flags&512&&e.wrap&4&&(L[0]=u&255,L[1]=u>>>8&255,e.check=tn(e.check,L,2,0)),u=0,f=0,e.mode=Ag;case Ag:if(e.flags&1024){for(;f<16;){if(s===0)break A;s--,u+=r[i++]<<f,f+=8}e.length=u,e.head&&(e.head.extra_len=u),e.flags&512&&e.wrap&4&&(L[0]=u&255,L[1]=u>>>8&255,e.check=tn(e.check,L,2,0)),u=0,f=0}else e.head&&(e.head.extra=null);e.mode=eg;case eg:if(e.flags&1024&&(d=e.length,d>s&&(d=s),d&&(e.head&&(X=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Uint8Array(e.head.extra_len)),e.head.extra.set(r.subarray(i,i+d),X)),e.flags&512&&e.wrap&4&&(e.check=tn(e.check,r,d,i)),s-=d,i+=d,e.length-=d),e.length))break A;e.length=0,e.mode=tg;case tg:if(e.flags&2048){if(s===0)break A;d=0;do X=r[i+d++],e.head&&X&&e.length<65536&&(e.head.name+=String.fromCharCode(X));while(X&&d<s);if(e.flags&512&&e.wrap&4&&(e.check=tn(e.check,r,d,i)),s-=d,i+=d,X)break A}else e.head&&(e.head.name=null);e.length=0,e.mode=rg;case rg:if(e.flags&4096){if(s===0)break A;d=0;do X=r[i+d++],e.head&&X&&e.length<65536&&(e.head.comment+=String.fromCharCode(X));while(X&&d<s);if(e.flags&512&&e.wrap&4&&(e.check=tn(e.check,r,d,i)),s-=d,i+=d,X)break A}else e.head&&(e.head.comment=null);e.mode=ng;case ng:if(e.flags&512){for(;f<16;){if(s===0)break A;s--,u+=r[i++]<<f,f+=8}if(e.wrap&4&&u!==(e.check&65535)){t.msg="header crc mismatch",e.mode=Ze;break}u=0,f=0}e.head&&(e.head.hcrc=e.flags>>9&1,e.head.done=!0),t.adler=e.check=0,e.mode=Ln;break;case ig:for(;f<32;){if(s===0)break A;s--,u+=r[i++]<<f,f+=8}t.adler=e.check=wg(u),u=0,f=0,e.mode=Pl;case Pl:if(e.havedict===0)return t.next_out=a,t.avail_out=l,t.next_in=i,t.avail_in=s,e.hold=u,e.bits=f,Ly;t.adler=e.check=1,e.mode=Ln;case Ln:if(A===xy||A===nl)break A;case lu:if(e.last){u>>>=f&7,f-=f&7,e.mode=uu;break}for(;f<3;){if(s===0)break A;s--,u+=r[i++]<<f,f+=8}switch(e.last=u&1,u>>>=1,f-=1,u&3){case 0:e.mode=ag;break;case 1:if(Dy(e),e.mode=il,A===nl){u>>>=2,f-=2;break A}break;case 2:e.mode=og;break;case 3:t.msg="invalid block type",e.mode=Ze}u>>>=2,f-=2;break;case ag:for(u>>>=f&7,f-=f&7;f<32;){if(s===0)break A;s--,u+=r[i++]<<f,f+=8}if((u&65535)!==(u>>>16^65535)){t.msg="invalid stored block lengths",e.mode=Ze;break}if(e.length=u&65535,u=0,f=0,e.mode=cu,A===nl)break A;case cu:e.mode=sg;case sg:if(d=e.length,d){if(d>s&&(d=s),d>l&&(d=l),d===0)break A;n.set(r.subarray(i,i+d),a),s-=d,i+=d,l-=d,a+=d,e.length-=d;break}e.mode=Ln;break;case og:for(;f<14;){if(s===0)break A;s--,u+=r[i++]<<f,f+=8}if(e.nlen=(u&31)+257,u>>>=5,f-=5,e.ndist=(u&31)+1,u>>>=5,f-=5,e.ncode=(u&15)+4,u>>>=4,f-=4,e.nlen>286||e.ndist>30){t.msg="too many length or distance symbols",e.mode=Ze;break}e.have=0,e.mode=lg;case lg:for(;e.have<e.ncode;){for(;f<3;){if(s===0)break A;s--,u+=r[i++]<<f,f+=8}e.lens[S[e.have++]]=u&7,u>>>=3,f-=3}for(;e.have<19;)e.lens[S[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,q={bits:e.lenbits},K=Ts(Uy,e.lens,0,19,e.lencode,0,e.work,q),e.lenbits=q.bits,K){t.msg="invalid code lengths set",e.mode=Ze;break}e.have=0,e.mode=cg;case cg:for(;e.have<e.nlen+e.ndist;){for(;E=e.lencode[u&(1<<e.lenbits)-1],v=E>>>24,H=E>>>16&255,P=E&65535,!(v<=f);){if(s===0)break A;s--,u+=r[i++]<<f,f+=8}if(P<16)u>>>=v,f-=v,e.lens[e.have++]=P;else{if(P===16){for(U=v+2;f<U;){if(s===0)break A;s--,u+=r[i++]<<f,f+=8}if(u>>>=v,f-=v,e.have===0){t.msg="invalid bit length repeat",e.mode=Ze;break}X=e.lens[e.have-1],d=3+(u&3),u>>>=2,f-=2}else if(P===17){for(U=v+3;f<U;){if(s===0)break A;s--,u+=r[i++]<<f,f+=8}u>>>=v,f-=v,X=0,d=3+(u&7),u>>>=3,f-=3}else{for(U=v+7;f<U;){if(s===0)break A;s--,u+=r[i++]<<f,f+=8}u>>>=v,f-=v,X=0,d=11+(u&127),u>>>=7,f-=7}if(e.have+d>e.nlen+e.ndist){t.msg="invalid bit length repeat",e.mode=Ze;break}for(;d--;)e.lens[e.have++]=X}}if(e.mode===Ze)break;if(e.lens[256]===0){t.msg="invalid code -- missing end-of-block",e.mode=Ze;break}if(e.lenbits=9,q={bits:e.lenbits},K=Ts(N0,e.lens,0,e.nlen,e.lencode,0,e.work,q),e.lenbits=q.bits,K){t.msg="invalid literal/lengths set",e.mode=Ze;break}if(e.distbits=6,e.distcode=e.distdyn,q={bits:e.distbits},K=Ts(k0,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,q),e.distbits=q.bits,K){t.msg="invalid distances set",e.mode=Ze;break}if(e.mode=il,A===nl)break A;case il:e.mode=al;case al:if(s>=6&&l>=258){t.next_out=a,t.avail_out=l,t.next_in=i,t.avail_in=s,e.hold=u,e.bits=f,vy(t,B),a=t.next_out,n=t.output,l=t.avail_out,i=t.next_in,r=t.input,s=t.avail_in,u=e.hold,f=e.bits,e.mode===Ln&&(e.back=-1);break}for(e.back=0;E=e.lencode[u&(1<<e.lenbits)-1],v=E>>>24,H=E>>>16&255,P=E&65535,!(v<=f);){if(s===0)break A;s--,u+=r[i++]<<f,f+=8}if(H&&(H&240)===0){for(N=v,j=H,J=P;E=e.lencode[J+((u&(1<<N+j)-1)>>N)],v=E>>>24,H=E>>>16&255,P=E&65535,!(N+v<=f);){if(s===0)break A;s--,u+=r[i++]<<f,f+=8}u>>>=N,f-=N,e.back+=N}if(u>>>=v,f-=v,e.back+=v,e.length=P,H===0){e.mode=gg;break}if(H&32){e.back=-1,e.mode=Ln;break}if(H&64){t.msg="invalid literal/length code",e.mode=Ze;break}e.extra=H&15,e.mode=ug;case ug:if(e.extra){for(U=e.extra;f<U;){if(s===0)break A;s--,u+=r[i++]<<f,f+=8}e.length+=u&(1<<e.extra)-1,u>>>=e.extra,f-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=fg;case fg:for(;E=e.distcode[u&(1<<e.distbits)-1],v=E>>>24,H=E>>>16&255,P=E&65535,!(v<=f);){if(s===0)break A;s--,u+=r[i++]<<f,f+=8}if((H&240)===0){for(N=v,j=H,J=P;E=e.distcode[J+((u&(1<<N+j)-1)>>N)],v=E>>>24,H=E>>>16&255,P=E&65535,!(N+v<=f);){if(s===0)break A;s--,u+=r[i++]<<f,f+=8}u>>>=N,f-=N,e.back+=N}if(u>>>=v,f-=v,e.back+=v,H&64){t.msg="invalid distance code",e.mode=Ze;break}e.offset=P,e.extra=H&15,e.mode=hg;case hg:if(e.extra){for(U=e.extra;f<U;){if(s===0)break A;s--,u+=r[i++]<<f,f+=8}e.offset+=u&(1<<e.extra)-1,u>>>=e.extra,f-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){t.msg="invalid distance too far back",e.mode=Ze;break}e.mode=dg;case dg:if(l===0)break A;if(d=B-l,e.offset>d){if(d=e.offset-d,d>e.whave&&e.sane){t.msg="invalid distance too far back",e.mode=Ze;break}d>e.wnext?(d-=e.wnext,m=e.wsize-d):m=e.wnext-d,d>e.length&&(d=e.length),C=e.window}else C=n,m=a-e.offset,d=e.length;d>l&&(d=l),l-=d,e.length-=d;do n[a++]=C[m++];while(--d);e.length===0&&(e.mode=al);break;case gg:if(l===0)break A;n[a++]=e.length,l--,e.mode=al;break;case uu:if(e.wrap){for(;f<32;){if(s===0)break A;s--,u|=r[i++]<<f,f+=8}if(B-=l,t.total_out+=B,e.total+=B,e.wrap&4&&B&&(t.adler=e.check=e.flags?tn(e.check,n,B,a-B):af(e.check,n,B,a-B)),B=l,e.wrap&4&&(e.flags?u:wg(u))!==e.check){t.msg="incorrect data check",e.mode=Ze;break}u=0,f=0}e.mode=pg;case pg:if(e.wrap&&e.flags){for(;f<32;){if(s===0)break A;s--,u+=r[i++]<<f,f+=8}if(e.wrap&4&&u!==(e.total&4294967295)){t.msg="incorrect length check",e.mode=Ze;break}u=0,f=0}e.mode=Bg;case Bg:K=Ey;break A;case Ze:K=T0;break A;case O0:return D0;case P0:default:return Hr}return t.next_out=a,t.avail_out=l,t.next_in=i,t.avail_in=s,e.hold=u,e.bits=f,(e.wsize||B!==t.avail_out&&e.mode<Ze&&(e.mode<uu||A!==Xd))&&V0(t,t.output,t.next_out,B-t.avail_out),p-=t.avail_in,B-=t.avail_out,t.total_in+=p,t.total_out+=B,e.total+=B,e.wrap&4&&B&&(t.adler=e.check=e.flags?tn(e.check,n,B,t.next_out-B):af(e.check,n,B,t.next_out-B)),t.data_type=e.bits+(e.last?64:0)+(e.mode===Ln?128:0)+(e.mode===il||e.mode===cu?256:0),(p===0&&B===0||A===Xd)&&K===Ji&&(K=_y),K},Py=t=>{if(Aa(t))return Hr;let A=t.state;return A.window&&(A.window=null),t.state=null,Ji},Ry=(t,A)=>{if(Aa(t))return Hr;const e=t.state;return(e.wrap&2)===0?Hr:(e.head=A,A.done=!1,Ji)},My=(t,A)=>{const e=A.length;let r,n,i;return Aa(t)||(r=t.state,r.wrap!==0&&r.mode!==Pl)?Hr:r.mode===Pl&&(n=1,n=af(n,A,e,0),n!==r.check)?T0:(i=V0(t,A,e,e),i?(r.mode=O0,D0):(r.havedict=1,Ji))};var Ky=M0,Gy=K0,Vy=R0,jy=Ty,qy=G0,Wy=Oy,zy=Py,Xy=Ry,Jy=My,Yy="pako inflate (from Nodeca project)",In={inflateReset:Ky,inflateReset2:Gy,inflateResetKeep:Vy,inflateInit:jy,inflateInit2:qy,inflate:Wy,inflateEnd:zy,inflateGetHeader:Xy,inflateSetDictionary:Jy,inflateInfo:Yy};function $y(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var Zy=$y;const j0=Object.prototype.toString,{Z_NO_FLUSH:AF,Z_FINISH:eF,Z_OK:Ms,Z_STREAM_END:du,Z_NEED_DICT:gu,Z_STREAM_ERROR:tF,Z_DATA_ERROR:vg,Z_MEM_ERROR:rF}=I0;function Ws(t){this.options=S0.assign({chunkSize:1024*64,windowBits:15,to:""},t||{});const A=this.options;A.raw&&A.windowBits>=0&&A.windowBits<16&&(A.windowBits=-A.windowBits,A.windowBits===0&&(A.windowBits=-15)),A.windowBits>=0&&A.windowBits<16&&!(t&&t.windowBits)&&(A.windowBits+=32),A.windowBits>15&&A.windowBits<48&&(A.windowBits&15)===0&&(A.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new wy,this.strm.avail_out=0;let e=In.inflateInit2(this.strm,A.windowBits);if(e!==Ms)throw new Error(sf[e]);if(this.header=new Zy,In.inflateGetHeader(this.strm,this.header),A.dictionary&&(typeof A.dictionary=="string"?A.dictionary=of.string2buf(A.dictionary):j0.call(A.dictionary)==="[object ArrayBuffer]"&&(A.dictionary=new Uint8Array(A.dictionary)),A.raw&&(e=In.inflateSetDictionary(this.strm,A.dictionary),e!==Ms)))throw new Error(sf[e])}Ws.prototype.push=function(t,A){const e=this.strm,r=this.options.chunkSize,n=this.options.dictionary;let i,a,s;if(this.ended)return!1;for(A===~~A?a=A:a=A===!0?eF:AF,j0.call(t)==="[object ArrayBuffer]"?e.input=new Uint8Array(t):e.input=t,e.next_in=0,e.avail_in=e.input.length;;){for(e.avail_out===0&&(e.output=new Uint8Array(r),e.next_out=0,e.avail_out=r),i=In.inflate(e,a),i===gu&&n&&(i=In.inflateSetDictionary(e,n),i===Ms?i=In.inflate(e,a):i===vg&&(i=gu));e.avail_in>0&&i===du&&e.state.wrap>0&&t[e.next_in]!==0;)In.inflateReset(e),i=In.inflate(e,a);switch(i){case tF:case vg:case gu:case rF:return this.onEnd(i),this.ended=!0,!1}if(s=e.avail_out,e.next_out&&(e.avail_out===0||i===du))if(this.options.to==="string"){let l=of.utf8border(e.output,e.next_out),u=e.next_out-l,f=of.buf2string(e.output,l);e.next_out=u,e.avail_out=r-u,u&&e.output.set(e.output.subarray(l,l+u),0),this.onData(f)}else this.onData(e.output.length===e.next_out?e.output:e.output.subarray(0,e.next_out));if(!(i===Ms&&s===0)){if(i===du)return i=In.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,!0;if(e.avail_in===0)break}}return!0};Ws.prototype.onData=function(t){this.chunks.push(t)};Ws.prototype.onEnd=function(t){t===Ms&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=S0.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};function nF(t,A){const e=new Ws(A);if(e.push(t),e.err)throw e.msg||sf[e.err];return e.result}var iF=Ws,aF=nF,sF={Inflate:iF,inflate:aF};const{Inflate:oF,inflate:lF}=sF;var Cg=oF,cF=lF;const q0=[];for(let t=0;t<256;t++){let A=t;for(let e=0;e<8;e++)A&1?A=3988292384^A>>>1:A=A>>>1;q0[t]=A}const bg=4294967295;function uF(t,A,e){let r=t;for(let n=0;n<e;n++)r=q0[(r^A[n])&255]^r>>>8;return r}function fF(t,A){return(uF(bg,t,A)^bg)>>>0}function yg(t,A,e){const r=t.readUint32(),n=fF(new Uint8Array(t.buffer,t.byteOffset+t.offset-A-4,A),A);if(n!==r)throw new Error(`CRC mismatch for chunk ${e}. Expected ${r}, found ${n}`)}function W0(t,A,e){for(let r=0;r<e;r++)A[r]=t[r]}function z0(t,A,e,r){let n=0;for(;n<r;n++)A[n]=t[n];for(;n<e;n++)A[n]=t[n]+A[n-r]&255}function X0(t,A,e,r){let n=0;if(e.length===0)for(;n<r;n++)A[n]=t[n];else for(;n<r;n++)A[n]=t[n]+e[n]&255}function J0(t,A,e,r,n){let i=0;if(e.length===0){for(;i<n;i++)A[i]=t[i];for(;i<r;i++)A[i]=t[i]+(A[i-n]>>1)&255}else{for(;i<n;i++)A[i]=t[i]+(e[i]>>1)&255;for(;i<r;i++)A[i]=t[i]+(A[i-n]+e[i]>>1)&255}}function Y0(t,A,e,r,n){let i=0;if(e.length===0){for(;i<n;i++)A[i]=t[i];for(;i<r;i++)A[i]=t[i]+A[i-n]&255}else{for(;i<n;i++)A[i]=t[i]+e[i]&255;for(;i<r;i++)A[i]=t[i]+hF(A[i-n],e[i],e[i-n])&255}}function hF(t,A,e){const r=t+A-e,n=Math.abs(r-t),i=Math.abs(r-A),a=Math.abs(r-e);return n<=i&&n<=a?t:i<=a?A:e}function dF(t,A,e,r,n,i){switch(t){case 0:W0(A,e,n);break;case 1:z0(A,e,n,i);break;case 2:X0(A,e,r,n);break;case 3:J0(A,e,r,n,i);break;case 4:Y0(A,e,r,n,i);break;default:throw new Error(`Unsupported filter: ${t}`)}}const gF=new Uint16Array([255]),pF=new Uint8Array(gF.buffer),BF=pF[0]===255;function wF(t){const{data:A,width:e,height:r,channels:n,depth:i}=t,a=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],s=Math.ceil(i/8)*n,l=new Uint8Array(r*e*s);let u=0;for(let f=0;f<7;f++){const p=a[f],B=Math.ceil((e-p.x)/p.xStep),d=Math.ceil((r-p.y)/p.yStep);if(B<=0||d<=0)continue;const m=B*s,C=new Uint8Array(m);for(let E=0;E<d;E++){const v=A[u++],H=A.subarray(u,u+m);u+=m;const P=new Uint8Array(m);dF(v,H,P,C,m,s),C.set(P);for(let N=0;N<B;N++){const j=p.x+N*p.xStep,J=p.y+E*p.yStep;if(!(j>=e||J>=r))for(let X=0;X<s;X++)l[(J*e+j)*s+X]=P[N*s+X]}}}if(i===16){const f=new Uint16Array(l.buffer);if(BF)for(let p=0;p<f.length;p++)f[p]=mF(f[p]);return f}else return l}function mF(t){return(t&255)<<8|t>>8&255}const vF=new Uint16Array([255]),CF=new Uint8Array(vF.buffer),bF=CF[0]===255,yF=new Uint8Array(0);function Fg(t){const{data:A,width:e,height:r,channels:n,depth:i}=t,a=Math.ceil(i/8)*n,s=Math.ceil(i/8*n*e),l=new Uint8Array(r*s);let u=yF,f=0,p,B;for(let d=0;d<r;d++){switch(p=A.subarray(f+1,f+1+s),B=l.subarray(d*s,(d+1)*s),A[f]){case 0:W0(p,B,s);break;case 1:z0(p,B,s,a);break;case 2:X0(p,B,u,s);break;case 3:J0(p,B,u,s,a);break;case 4:Y0(p,B,u,s,a);break;default:throw new Error(`Unsupported filter: ${A[f]}`)}u=B,f+=s+1}if(i===16){const d=new Uint16Array(l.buffer);if(bF)for(let m=0;m<d.length;m++)d[m]=FF(d[m]);return d}else return l}function FF(t){return(t&255)<<8|t>>8&255}const Bl=Uint8Array.of(137,80,78,71,13,10,26,10);function Qg(t){if(!QF(t.readBytes(Bl.length)))throw new Error("wrong PNG signature")}function QF(t){if(t.length<Bl.length)return!1;for(let A=0;A<Bl.length;A++)if(t[A]!==Bl[A])return!1;return!0}const UF="tEXt",xF=0,$0=new TextDecoder("latin1");function EF(t){if(_F(t),t.length===0||t.length>79)throw new Error("keyword length must be between 1 and 79")}const LF=/^[\u0000-\u00FF]*$/;function _F(t){if(!LF.test(t))throw new Error("invalid latin1 text")}function IF(t,A,e){const r=Z0(A);t[r]=SF(A,e-r.length-1)}function Z0(t){for(t.mark();t.readByte()!==xF;);const A=t.offset;t.reset();const e=$0.decode(t.readBytes(A-t.offset-1));return t.skip(1),EF(e),e}function SF(t,A){return $0.decode(t.readBytes(A))}const gr={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},pu={UNKNOWN:-1,DEFLATE:0},Ug={UNKNOWN:-1,ADAPTIVE:0},Bu={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},sl={NONE:0,BACKGROUND:1,PREVIOUS:2},wu={SOURCE:0,OVER:1};class HF extends Df{constructor(e,r={}){super(e);JA(this,"_checkCrc");JA(this,"_inflator");JA(this,"_png");JA(this,"_apng");JA(this,"_end");JA(this,"_hasPalette");JA(this,"_palette");JA(this,"_hasTransparency");JA(this,"_transparency");JA(this,"_compressionMethod");JA(this,"_filterMethod");JA(this,"_interlaceMethod");JA(this,"_colorType");JA(this,"_isAnimated");JA(this,"_numberOfFrames");JA(this,"_numberOfPlays");JA(this,"_frames");JA(this,"_writingDataChunks");const{checkCrc:n=!1}=r;this._checkCrc=n,this._inflator=new Cg,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=pu.UNKNOWN,this._filterMethod=Ug.UNKNOWN,this._interlaceMethod=Bu.UNKNOWN,this._colorType=gr.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(Qg(this);!this._end;){const e=this.readUint32(),r=this.readChars(4);this.decodeChunk(e,r)}return this.decodeImage(),this._png}decodeApng(){for(Qg(this);!this._end;){const e=this.readUint32(),r=this.readChars(4);this.decodeApngChunk(e,r)}return this.decodeApngImage(),this._apng}decodeChunk(e,r){const n=this.offset;switch(r){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(e);break;case"IDAT":this.decodeIDAT(e);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(e);break;case"iCCP":this.decodeiCCP(e);break;case UF:IF(this._png.text,this,e);break;case"pHYs":this.decodepHYs();break;default:this.skip(e);break}if(this.offset-n!==e)throw new Error(`Length mismatch while decoding chunk ${r}`);this._checkCrc?yg(this,e+4,r):this.skip(4)}decodeApngChunk(e,r){const n=this.offset;switch(r!=="fdAT"&&r!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),r){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(e);break;default:this.decodeChunk(e,r),this.offset=n+e;break}if(this.offset-n!==e)throw new Error(`Length mismatch while decoding chunk ${r}`);this._checkCrc?yg(this,e+4,r):this.skip(4)}decodeIHDR(){const e=this._png;e.width=this.readUint32(),e.height=this.readUint32(),e.depth=NF(this.readUint8());const r=this.readUint8();this._colorType=r;let n;switch(r){case gr.GREYSCALE:n=1;break;case gr.TRUECOLOUR:n=3;break;case gr.INDEXED_COLOUR:n=1;break;case gr.GREYSCALE_ALPHA:n=2;break;case gr.TRUECOLOUR_ALPHA:n=4;break;case gr.UNKNOWN:default:throw new Error(`Unknown color type: ${r}`)}if(this._png.channels=n,this._compressionMethod=this.readUint8(),this._compressionMethod!==pu.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const e={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(e)}decodePLTE(e){if(e%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${e}`);const r=e/3;this._hasPalette=!0;const n=[];this._palette=n;for(let i=0;i<r;i++)n.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(e){this._writingDataChunks=!0;const r=e,n=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,n,r)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodeFDAT(e){this._writingDataChunks=!0;let r=e,n=this.offset+this.byteOffset;if(n+=4,r-=4,this._inflator.push(new Uint8Array(this.buffer,n,r)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodetRNS(e){switch(this._colorType){case gr.GREYSCALE:case gr.TRUECOLOUR:{if(e%2!==0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${e}`);if(e/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${e/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(e/2);for(let r=0;r<e/2;r++)this._transparency[r]=this.readUint16();break}case gr.INDEXED_COLOUR:{if(e>this._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${e} vs ${this._palette.length})`);let r=0;for(;r<e;r++){const n=this.readByte();this._palette[r].push(n)}for(;r<this._palette.length;r++)this._palette[r].push(255);break}case gr.UNKNOWN:case gr.GREYSCALE_ALPHA:case gr.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(e){const r=Z0(this),n=this.readUint8();if(n!==pu.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${n}`);const i=this.readBytes(e-r.length-2);this._png.iccEmbeddedProfile={name:r,profile:cF(i)}}decodepHYs(){const e=this.readUint32(),r=this.readUint32(),n=this.readByte();this._png.resolution={x:e,y:r,unit:n}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let e=0;e<this._numberOfFrames;e++){const r={sequenceNumber:this._frames[e].sequenceNumber,delayNumber:this._frames[e].delayNumber,delayDenominator:this._frames[e].delayDenominator,data:this._apng.depth===8?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},n=this._frames.at(e);if(n){if(n.data=Fg({data:n.data,width:n.width,height:n.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),e===0||n.xOffset===0&&n.yOffset===0&&n.width===this._png.width&&n.height===this._png.height)r.data=n.data;else{const i=this._apng.frames.at(e-1);this.disposeFrame(n,i,r),this.addFrameDataToCanvas(r,n)}this._apng.frames.push(r)}}return this._apng}disposeFrame(e,r,n){switch(e.disposeOp){case sl.NONE:break;case sl.BACKGROUND:for(let i=0;i<this._png.height;i++)for(let a=0;a<this._png.width;a++){const s=(i*e.width+a)*this._png.channels;for(let l=0;l<this._png.channels;l++)n.data[s+l]=0}break;case sl.PREVIOUS:n.data.set(r.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(e,r){const n=1<<this._png.depth,i=(a,s)=>{const l=((a+r.yOffset)*this._png.width+r.xOffset+s)*this._png.channels,u=(a*r.width+s)*this._png.channels;return{index:l,frameIndex:u}};switch(r.blendOp){case wu.SOURCE:for(let a=0;a<r.height;a++)for(let s=0;s<r.width;s++){const{index:l,frameIndex:u}=i(a,s);for(let f=0;f<this._png.channels;f++)e.data[l+f]=r.data[u+f]}break;case wu.OVER:for(let a=0;a<r.height;a++)for(let s=0;s<r.width;s++){const{index:l,frameIndex:u}=i(a,s);for(let f=0;f<this._png.channels;f++){const p=r.data[u+this._png.channels-1]/n,B=f%(this._png.channels-1)===0?1:r.data[u+f],d=Math.floor(p*B+(1-p)*e.data[l+f]);e.data[l+f]+=d}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){var r;if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const e=this._isAnimated?((r=this._frames)==null?void 0:r.at(0)).data:this._inflator.result;if(this._filterMethod!==Ug.ADAPTIVE)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===Bu.NO_INTERLACE)this._png.data=Fg({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===Bu.ADAM7)this._png.data=wF({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){const e=this._inflator.result,r=this._frames.at(-1);r?r.data=e:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:sl.NONE,blendOp:wu.SOURCE,data:e}),this._inflator=new Cg,this._writingDataChunks=!1}}function NF(t){if(t!==1&&t!==2&&t!==4&&t!==8&&t!==16)throw new Error(`invalid bit depth: ${t}`);return t}var xg;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.METRE=1]="METRE"})(xg||(xg={}));function kF(t,A){return new HF(t,A).decode()}var te=(function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this})();function mu(){te.console&&typeof te.console.log=="function"&&te.console.log.apply(te.console,arguments)}var Ve={log:mu,warn:function(t){te.console&&(typeof te.console.warn=="function"?te.console.warn.apply(te.console,arguments):mu.call(null,arguments))},error:function(t){te.console&&(typeof te.console.error=="function"?te.console.error.apply(te.console,arguments):mu(t))}};function vu(t,A,e){var r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){Ri(r.response,A,e)},r.onerror=function(){Ve.error("could not download file")},r.send()}function Eg(t){var A=new XMLHttpRequest;A.open("HEAD",t,!1);try{A.send()}catch{}return A.status>=200&&A.status<=299}function ol(t){try{t.dispatchEvent(new MouseEvent("click"))}catch{var A=document.createEvent("MouseEvents");A.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(A)}}var Ri=te.saveAs||((typeof window>"u"?"undefined":je(window))!=="object"||window!==te?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(t,A,e){var r=te.URL||te.webkitURL,n=document.createElement("a");A=A||t.name||"download",n.download=A,n.rel="noopener",typeof t=="string"?(n.href=t,n.origin!==location.origin?Eg(n.href)?vu(t,A,e):ol(n,n.target="_blank"):ol(n)):(n.href=r.createObjectURL(t),setTimeout(function(){r.revokeObjectURL(n.href)},4e4),setTimeout(function(){ol(n)},0))}:"msSaveOrOpenBlob"in navigator?function(t,A,e){if(A=A||t.name||"download",typeof t=="string")if(Eg(t))vu(t,A,e);else{var r=document.createElement("a");r.href=t,r.target="_blank",setTimeout(function(){ol(r)})}else navigator.msSaveOrOpenBlob((function(n,i){return i===void 0?i={autoBom:!1}:je(i)!=="object"&&(Ve.warn("Deprecated: Expected third argument to be a object"),i={autoBom:!i}),i.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(n.type)?new Blob(["\uFEFF",n],{type:n.type}):n})(t,e),A)}:function(t,A,e,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),typeof t=="string")return vu(t,A,e);var n=t.type==="application/octet-stream",i=/constructor/i.test(te.HTMLElement)||te.safari,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||n&&i)&&(typeof FileReader>"u"?"undefined":je(FileReader))==="object"){var s=new FileReader;s.onloadend=function(){var f=s.result;f=a?f:f.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=f:location=f,r=null},s.readAsDataURL(t)}else{var l=te.URL||te.webkitURL,u=l.createObjectURL(t);r?r.location=u:location.href=u,r=null,setTimeout(function(){l.revokeObjectURL(u)},4e4)}});/**
* A class to parse color values
* @author Stoyan Stefanov <sstoo@gmail.com>
* {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
* @license Use it if you like it
*/function A1(t){var A;t=t||"",this.ok=!1,t.charAt(0)=="#"&&(t=t.substr(1,6)),t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var e=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(s){return[parseInt(s[1]),parseInt(s[2]),parseInt(s[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(s){return[parseInt(s[1],16),parseInt(s[2],16),parseInt(s[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(s){return[parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16),parseInt(s[3]+s[3],16)]}}],r=0;r<e.length;r++){var n=e[r].re,i=e[r].process,a=n.exec(t);a&&(A=i(a),this.r=A[0],this.g=A[1],this.b=A[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var s=this.r.toString(16),l=this.g.toString(16),u=this.b.toString(16);return s.length==1&&(s="0"+s),l.length==1&&(l="0"+l),u.length==1&&(u="0"+u),"#"+s+l+u}}var wl=te.atob.bind(te),Lg=te.btoa.bind(te);/**
* @license
* Joseph Myers does not specify a particular license for his work.
*
* Author: Joseph Myers
* Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
*
* Modified by: Owen Leong
*/function Cu(t,A){var e=t[0],r=t[1],n=t[2],i=t[3];e=Vt(e,r,n,i,A[0],7,-680876936),i=Vt(i,e,r,n,A[1],12,-389564586),n=Vt(n,i,e,r,A[2],17,606105819),r=Vt(r,n,i,e,A[3],22,-1044525330),e=Vt(e,r,n,i,A[4],7,-176418897),i=Vt(i,e,r,n,A[5],12,1200080426),n=Vt(n,i,e,r,A[6],17,-1473231341),r=Vt(r,n,i,e,A[7],22,-45705983),e=Vt(e,r,n,i,A[8],7,1770035416),i=Vt(i,e,r,n,A[9],12,-1958414417),n=Vt(n,i,e,r,A[10],17,-42063),r=Vt(r,n,i,e,A[11],22,-1990404162),e=Vt(e,r,n,i,A[12],7,1804603682),i=Vt(i,e,r,n,A[13],12,-40341101),n=Vt(n,i,e,r,A[14],17,-1502002290),e=jt(e,r=Vt(r,n,i,e,A[15],22,1236535329),n,i,A[1],5,-165796510),i=jt(i,e,r,n,A[6],9,-1069501632),n=jt(n,i,e,r,A[11],14,643717713),r=jt(r,n,i,e,A[0],20,-373897302),e=jt(e,r,n,i,A[5],5,-701558691),i=jt(i,e,r,n,A[10],9,38016083),n=jt(n,i,e,r,A[15],14,-660478335),r=jt(r,n,i,e,A[4],20,-405537848),e=jt(e,r,n,i,A[9],5,568446438),i=jt(i,e,r,n,A[14],9,-1019803690),n=jt(n,i,e,r,A[3],14,-187363961),r=jt(r,n,i,e,A[8],20,1163531501),e=jt(e,r,n,i,A[13],5,-1444681467),i=jt(i,e,r,n,A[2],9,-51403784),n=jt(n,i,e,r,A[7],14,1735328473),e=qt(e,r=jt(r,n,i,e,A[12],20,-1926607734),n,i,A[5],4,-378558),i=qt(i,e,r,n,A[8],11,-2022574463),n=qt(n,i,e,r,A[11],16,1839030562),r=qt(r,n,i,e,A[14],23,-35309556),e=qt(e,r,n,i,A[1],4,-1530992060),i=qt(i,e,r,n,A[4],11,1272893353),n=qt(n,i,e,r,A[7],16,-155497632),r=qt(r,n,i,e,A[10],23,-1094730640),e=qt(e,r,n,i,A[13],4,681279174),i=qt(i,e,r,n,A[0],11,-358537222),n=qt(n,i,e,r,A[3],16,-722521979),r=qt(r,n,i,e,A[6],23,76029189),e=qt(e,r,n,i,A[9],4,-640364487),i=qt(i,e,r,n,A[12],11,-421815835),n=qt(n,i,e,r,A[15],16,530742520),e=Wt(e,r=qt(r,n,i,e,A[2],23,-995338651),n,i,A[0],6,-198630844),i=Wt(i,e,r,n,A[7],10,1126891415),n=Wt(n,i,e,r,A[14],15,-1416354905),r=Wt(r,n,i,e,A[5],21,-57434055),e=Wt(e,r,n,i,A[12],6,1700485571),i=Wt(i,e,r,n,A[3],10,-1894986606),n=Wt(n,i,e,r,A[10],15,-1051523),r=Wt(r,n,i,e,A[1],21,-2054922799),e=Wt(e,r,n,i,A[8],6,1873313359),i=Wt(i,e,r,n,A[15],10,-30611744),n=Wt(n,i,e,r,A[6],15,-1560198380),r=Wt(r,n,i,e,A[13],21,1309151649),e=Wt(e,r,n,i,A[4],6,-145523070),i=Wt(i,e,r,n,A[11],10,-1120210379),n=Wt(n,i,e,r,A[2],15,718787259),r=Wt(r,n,i,e,A[9],21,-343485551),t[0]=si(e,t[0]),t[1]=si(r,t[1]),t[2]=si(n,t[2]),t[3]=si(i,t[3])}function nc(t,A,e,r,n,i){return A=si(si(A,t),si(r,i)),si(A<<n|A>>>32-n,e)}function Vt(t,A,e,r,n,i,a){return nc(A&e|~A&r,t,A,n,i,a)}function jt(t,A,e,r,n,i,a){return nc(A&r|e&~r,t,A,n,i,a)}function qt(t,A,e,r,n,i,a){return nc(A^e^r,t,A,n,i,a)}function Wt(t,A,e,r,n,i,a){return nc(e^(A|~r),t,A,n,i,a)}function e1(t){var A,e=t.length,r=[1732584193,-271733879,-1732584194,271733878];for(A=64;A<=t.length;A+=64)Cu(r,TF(t.substring(A-64,A)));t=t.substring(A-64);var n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(A=0;A<t.length;A++)n[A>>2]|=t.charCodeAt(A)<<(A%4<<3);if(n[A>>2]|=128<<(A%4<<3),A>55)for(Cu(r,n),A=0;A<16;A++)n[A]=0;return n[14]=8*e,Cu(r,n),r}function TF(t){var A,e=[];for(A=0;A<64;A+=4)e[A>>2]=t.charCodeAt(A)+(t.charCodeAt(A+1)<<8)+(t.charCodeAt(A+2)<<16)+(t.charCodeAt(A+3)<<24);return e}var _g="0123456789abcdef".split("");function DF(t){for(var A="",e=0;e<4;e++)A+=_g[t>>8*e+4&15]+_g[t>>8*e&15];return A}function OF(t){return String.fromCharCode(255&t,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function lf(t){return e1(t).map(OF).join("")}var PF=(function(t){for(var A=0;A<t.length;A++)t[A]=DF(t[A]);return t.join("")})(e1("hello"))!="5d41402abc4b2a76b9719d911017c592";function si(t,A){if(PF){var e=(65535&t)+(65535&A);return(t>>16)+(A>>16)+(e>>16)<<16|65535&e}return t+A&4294967295}/**
* @license
* FPDF is released under a permissive license: there is no usage restriction.
* You may embed it freely in your application (commercial or not), with or
* without modifications.
*
* Reference: http://www.fpdf.org/en/script/script37.php
*/function cf(t,A){var e,r,n,i;if(t!==e){for(var a=(n=t,i=1+(256/t.length|0),new Array(i+1).join(n)),s=[],l=0;l<256;l++)s[l]=l;var u=0;for(l=0;l<256;l++){var f=s[l];u=(u+f+a.charCodeAt(l))%256,s[l]=s[u],s[u]=f}e=t,r=s}else s=r;var p=A.length,B=0,d=0,m="";for(l=0;l<p;l++)d=(d+(f=s[B=(B+1)%256]))%256,s[B]=s[d],s[d]=f,a=s[(s[B]+s[d])%256],m+=String.fromCharCode(A.charCodeAt(l)^a);return m}/**
* @license
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
* Author: Owen Leong (@owenl131)
* Date: 15 Oct 2020
* References:
* https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
* https://github.com/foliojs/pdfkit/blob/master/lib/security.js
* http://www.fpdf.org/en/script/script37.php
*/var Ig={print:4,modify:8,copy:16,"annot-forms":32};function Ea(t,A,e,r){this.v=1,this.r=2;var n=192;t.forEach(function(s){if(Ig.perm!==void 0)throw new Error("Invalid permission: "+s);n+=Ig[s]}),this.padding="(¿N^NuŠAd\0NVÿú\b..\0¶Ðh>€/\f©þdSiz";var i=(A+this.padding).substr(0,32),a=(e+this.padding).substr(0,32);this.O=this.processOwnerPassword(i,a),this.P=-(1+(255^n)),this.encryptionKey=lf(i+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=cf(this.encryptionKey,this.padding)}function La(t){if(/[^\u0000-\u00ff]/.test(t))throw new Error("Invalid PDF Name Object: "+t+", Only accept ASCII characters.");for(var A="",e=t.length,r=0;r<e;r++){var n=t.charCodeAt(r);A+=n<33||n===35||n===37||n===40||n===41||n===47||n===60||n===62||n===91||n===93||n===123||n===125||n>126?"#"+("0"+n.toString(16)).slice(-2):t[r]}return A}function Sg(t){if(je(t)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var A={};this.subscribe=function(e,r,n){if(n=n||!1,typeof e!="string"||typeof r!="function"||typeof n!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");A.hasOwnProperty(e)||(A[e]={});var i=Math.random().toString(35);return A[e][i]=[r,!!n],i},this.unsubscribe=function(e){for(var r in A)if(A[r][e])return delete A[r][e],Object.keys(A[r]).length===0&&delete A[r],!0;return!1},this.publish=function(e){if(A.hasOwnProperty(e)){var r=Array.prototype.slice.call(arguments,1),n=[];for(var i in A[e]){var a=A[e][i];try{a[0].apply(t,r)}catch(s){te.console&&Ve.error("jsPDF PubSub Error",s.message,s)}a[1]&&n.push(i)}n.length&&n.forEach(this.unsubscribe)}},this.getTopics=function(){return A}}function Rl(t){if(!(this instanceof Rl))return new Rl(t);var A="opacity,stroke-opacity".split(",");for(var e in t)t.hasOwnProperty(e)&&A.indexOf(e)>=0&&(this[e]=t[e]);this.id="",this.objectNumber=-1}function t1(t,A){this.gState=t,this.matrix=A,this.id="",this.objectNumber=-1}function Ki(t,A,e,r,n){if(!(this instanceof Ki))return new Ki(t,A,e,r,n);this.type=t==="axial"?2:3,this.coords=A,this.colors=e,t1.call(this,r,n)}function Ia(t,A,e,r,n){if(!(this instanceof Ia))return new Ia(t,A,e,r,n);this.boundingBox=t,this.xStep=A,this.yStep=e,this.stream="",this.cloneIndex=0,t1.call(this,r,n)}function qA(t){var A,e=typeof arguments[0]=="string"?arguments[0]:"p",r=arguments[1],n=arguments[2],i=arguments[3],a=[],s=1,l=16,u="S",f=null;je(t=t||{})==="object"&&(e=t.orientation,r=t.unit||r,n=t.format||n,i=t.compress||t.compressPdf||i,(f=t.encryption||null)!==null&&(f.userPassword=f.userPassword||"",f.ownerPassword=f.ownerPassword||"",f.userPermissions=f.userPermissions||[]),s=typeof t.userUnit=="number"?Math.abs(t.userUnit):1,t.precision!==void 0&&(A=t.precision),t.floatPrecision!==void 0&&(l=t.floatPrecision),u=t.defaultPathOperation||"S"),a=t.filters||(i===!0?["FlateEncode"]:a),r=r||"mm",e=(""+(e||"P")).toLowerCase();var p=t.putOnlyUsedFonts||!1,B={},d={internal:{},__private__:{}};d.__private__.PubSub=Sg;var m="1.3",C=d.__private__.getPdfVersion=function(){return m};d.__private__.setPdfVersion=function(h){m=h};var E={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};d.__private__.getPageFormats=function(){return E};var v=d.__private__.getPageFormat=function(h){return E[h]};n=n||"a4";var H="compat",P="advanced",N=H;function j(){this.saveGraphicsState(),R(new Ae(ZA,0,0,-ZA,0,xi()*ZA).toString()+" cm"),this.setFontSize(this.getFontSize()/ZA),u="n",N=P}function J(){this.restoreGraphicsState(),u="S",N=H}var X=d.__private__.combineFontStyleAndFontWeight=function(h,b){if(h=="bold"&&b=="normal"||h=="bold"&&b==400||h=="normal"&&b=="italic"||h=="bold"&&b=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return b&&(h=b==400||b==="normal"?h==="italic"?"italic":"normal":b!=700&&b!=="bold"||h!=="normal"?(b==700?"bold":b)+""+h:"bold"),h};d.advancedAPI=function(h){var b=N===H;return b&&j.call(this),typeof h!="function"||(h(this),b&&J.call(this)),this},d.compatAPI=function(h){var b=N===P;return b&&J.call(this),typeof h!="function"||(h(this),b&&j.call(this)),this},d.isAdvancedAPI=function(){return N===P};var K,L=function(h){if(N!==P)throw new Error(h+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},q=d.roundToPrecision=d.__private__.roundToPrecision=function(h,b){var O=A||b;if(isNaN(h)||isNaN(O))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return h.toFixed(O).replace(/0+$/,"")};K=d.hpf=d.__private__.hpf=typeof l=="number"?function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.hpf");return q(h,l)}:l==="smart"?function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.hpf");return q(h,h>-1&&h<1?16:5)}:function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.hpf");return q(h,16)};var U=d.f2=d.__private__.f2=function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.f2");return q(h,2)},S=d.__private__.f3=function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.f3");return q(h,3)},G=d.scale=d.__private__.scale=function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.scale");return N===H?h*ZA:N===P?h:void 0},V=function(h){return G((function(b){return N===H?xi()-b:N===P?b:void 0})(h))};d.__private__.setPrecision=d.setPrecision=function(h){typeof parseInt(h,10)=="number"&&(A=parseInt(h,10))};var nA,oA="00000000000000000000000000000000",lA=d.__private__.getFileId=function(){return oA},eA=d.__private__.setFileId=function(h){return oA=h!==void 0&&/^[a-fA-F0-9]{32}$/.test(h)?h.toUpperCase():oA.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),f!==null&&(at=new Ea(f.userPermissions,f.userPassword,f.ownerPassword,oA)),oA};d.setFileId=function(h){return eA(h),this},d.getFileId=function(){return lA()};var uA=d.__private__.convertDateToPDFDate=function(h){var b=h.getTimezoneOffset(),O=b<0?"+":"-",z=Math.floor(Math.abs(b/60)),AA=Math.abs(b%60),wA=[O,M(z),"'",M(AA),"'"].join("");return["D:",h.getFullYear(),M(h.getMonth()+1),M(h.getDate()),M(h.getHours()),M(h.getMinutes()),M(h.getSeconds()),wA].join("")},vA=d.__private__.convertPDFDateToDate=function(h){var b=parseInt(h.substr(2,4),10),O=parseInt(h.substr(6,2),10)-1,z=parseInt(h.substr(8,2),10),AA=parseInt(h.substr(10,2),10),wA=parseInt(h.substr(12,2),10),bA=parseInt(h.substr(14,2),10);return new Date(b,O,z,AA,wA,bA,0)},hA=d.__private__.setCreationDate=function(h){var b;if(h===void 0&&(h=new Date),h instanceof Date)b=uA(h);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(h))throw new Error("Invalid argument passed to jsPDF.setCreationDate");b=h}return nA=b},F=d.__private__.getCreationDate=function(h){var b=nA;return h==="jsDate"&&(b=vA(nA)),b};d.setCreationDate=function(h){return hA(h),this},d.getCreationDate=function(h){return F(h)};var k,M=d.__private__.padd2=function(h){return("0"+parseInt(h)).slice(-2)},W=d.__private__.padd2Hex=function(h){return("00"+(h=h.toString())).substr(h.length)},$=0,rA=[],dA=[],fA=0,gA=[],sA=[],yA=!1,xA=dA;d.__private__.setCustomOutputDestination=function(h){yA=!0,xA=h};var cA=function(h){yA||(xA=h)};d.__private__.resetCustomOutputDestination=function(){yA=!1,xA=dA};var R=d.__private__.out=function(h){return h=h.toString(),fA+=h.length+1,xA.push(h),xA},me=d.__private__.write=function(h){return R(arguments.length===1?h.toString():Array.prototype.join.call(arguments," "))},le=d.__private__.getArrayBuffer=function(h){for(var b=h.length,O=new ArrayBuffer(b),z=new Uint8Array(O);b--;)z[b]=h.charCodeAt(b);return O},zA=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];d.__private__.getStandardFonts=function(){return zA};var QA=t.fontSize||16;d.__private__.setFontSize=d.setFontSize=function(h){return QA=N===P?h/ZA:h,this};var KA,IA=d.__private__.getFontSize=d.getFontSize=function(){return N===H?QA:QA*ZA},ce=t.R2L||!1;d.__private__.setR2L=d.setR2L=function(h){return ce=h,this},d.__private__.getR2L=d.getR2L=function(){return ce};var WA,ye=d.__private__.setZoomMode=function(h){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(h))KA=h;else if(isNaN(h)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(h)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+h+'" is not recognized.');KA=h}else KA=parseInt(h,10)};d.__private__.getZoomMode=function(){return KA};var re,ne=d.__private__.setPageMode=function(h){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(h)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+h+'" is not recognized.');WA=h};d.__private__.getPageMode=function(){return WA};var Ee=d.__private__.setLayoutMode=function(h){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(h)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+h+'" is not recognized.');re=h};d.__private__.getLayoutMode=function(){return re},d.__private__.setDisplayMode=d.setDisplayMode=function(h,b,O){return ye(h),Ee(b),ne(O),this};var ue={title:"",subject:"",author:"",keywords:"",creator:""};d.__private__.getDocumentProperty=function(h){if(Object.keys(ue).indexOf(h)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return ue[h]},d.__private__.getDocumentProperties=function(){return ue},d.__private__.setDocumentProperties=d.setProperties=d.setDocumentProperties=function(h){for(var b in ue)ue.hasOwnProperty(b)&&h[b]&&(ue[b]=h[b]);return this},d.__private__.setDocumentProperty=function(h,b){if(Object.keys(ue).indexOf(h)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ue[h]=b};var GA,ZA,VA,ke,Fe,OA={},ie={},Ie=[],XA={},ve={},ae={},Me={},Xe=null,Se=0,ee=[],Ue=new Sg(d),gi=t.hotfixes||[],Mt={},fn={},zr=[],Ae=function h(b,O,z,AA,wA,bA){if(!(this instanceof h))return new h(b,O,z,AA,wA,bA);isNaN(b)&&(b=1),isNaN(O)&&(O=0),isNaN(z)&&(z=0),isNaN(AA)&&(AA=1),isNaN(wA)&&(wA=0),isNaN(bA)&&(bA=0),this._matrix=[b,O,z,AA,wA,bA]};Object.defineProperty(Ae.prototype,"sx",{get:function(){return this._matrix[0]},set:function(h){this._matrix[0]=h}}),Object.defineProperty(Ae.prototype,"shy",{get:function(){return this._matrix[1]},set:function(h){this._matrix[1]=h}}),Object.defineProperty(Ae.prototype,"shx",{get:function(){return this._matrix[2]},set:function(h){this._matrix[2]=h}}),Object.defineProperty(Ae.prototype,"sy",{get:function(){return this._matrix[3]},set:function(h){this._matrix[3]=h}}),Object.defineProperty(Ae.prototype,"tx",{get:function(){return this._matrix[4]},set:function(h){this._matrix[4]=h}}),Object.defineProperty(Ae.prototype,"ty",{get:function(){return this._matrix[5]},set:function(h){this._matrix[5]=h}}),Object.defineProperty(Ae.prototype,"a",{get:function(){return this._matrix[0]},set:function(h){this._matrix[0]=h}}),Object.defineProperty(Ae.prototype,"b",{get:function(){return this._matrix[1]},set:function(h){this._matrix[1]=h}}),Object.defineProperty(Ae.prototype,"c",{get:function(){return this._matrix[2]},set:function(h){this._matrix[2]=h}}),Object.defineProperty(Ae.prototype,"d",{get:function(){return this._matrix[3]},set:function(h){this._matrix[3]=h}}),Object.defineProperty(Ae.prototype,"e",{get:function(){return this._matrix[4]},set:function(h){this._matrix[4]=h}}),Object.defineProperty(Ae.prototype,"f",{get:function(){return this._matrix[5]},set:function(h){this._matrix[5]=h}}),Object.defineProperty(Ae.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Ae.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Ae.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Ae.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Ae.prototype.join=function(h){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(K).join(h)},Ae.prototype.multiply=function(h){var b=h.sx*this.sx+h.shy*this.shx,O=h.sx*this.shy+h.shy*this.sy,z=h.shx*this.sx+h.sy*this.shx,AA=h.shx*this.shy+h.sy*this.sy,wA=h.tx*this.sx+h.ty*this.shx+this.tx,bA=h.tx*this.shy+h.ty*this.sy+this.ty;return new Ae(b,O,z,AA,wA,bA)},Ae.prototype.decompose=function(){var h=this.sx,b=this.shy,O=this.shx,z=this.sy,AA=this.tx,wA=this.ty,bA=Math.sqrt(h*h+b*b),DA=(h/=bA)*O+(b/=bA)*z;O-=h*DA,z-=b*DA;var MA=Math.sqrt(O*O+z*z);return DA/=MA,h*(z/=MA)<b*(O/=MA)&&(h=-h,b=-b,DA=-DA,bA=-bA),{scale:new Ae(bA,0,0,MA,0,0),translate:new Ae(1,0,0,1,AA,wA),rotate:new Ae(h,b,-b,h,0,0),skew:new Ae(1,0,DA,1,0,0)}},Ae.prototype.toString=function(h){return this.join(" ")},Ae.prototype.inversed=function(){var h=this.sx,b=this.shy,O=this.shx,z=this.sy,AA=this.tx,wA=this.ty,bA=1/(h*z-b*O),DA=z*bA,MA=-b*bA,se=-O*bA,he=h*bA;return new Ae(DA,MA,se,he,-DA*AA-se*wA,-MA*AA-he*wA)},Ae.prototype.applyToPoint=function(h){var b=h.x*this.sx+h.y*this.shx+this.tx,O=h.x*this.shy+h.y*this.sy+this.ty;return new Qi(b,O)},Ae.prototype.applyToRectangle=function(h){var b=this.applyToPoint(h),O=this.applyToPoint(new Qi(h.x+h.w,h.y+h.h));return new Ja(b.x,b.y,O.x-b.x,O.y-b.y)},Ae.prototype.clone=function(){var h=this.sx,b=this.shy,O=this.shx,z=this.sy,AA=this.tx,wA=this.ty;return new Ae(h,b,O,z,AA,wA)},d.Matrix=Ae;var hn=d.matrixMult=function(h,b){return b.multiply(h)},dn=new Ae(1,0,0,1,0,0);d.unitMatrix=d.identityMatrix=dn;var vr=function(h,b){if(!ve[h]){var O=(b instanceof Ki?"Sh":"P")+(Object.keys(XA).length+1).toString(10);b.id=O,ve[h]=O,XA[O]=b,Ue.publish("addPattern",b)}};d.ShadingPattern=Ki,d.TilingPattern=Ia,d.addShadingPattern=function(h,b){return L("addShadingPattern()"),vr(h,b),this},d.beginTilingPattern=function(h){L("beginTilingPattern()"),Ya(h.boundingBox[0],h.boundingBox[1],h.boundingBox[2]-h.boundingBox[0],h.boundingBox[3]-h.boundingBox[1],h.matrix)},d.endTilingPattern=function(h,b){L("endTilingPattern()"),b.stream=sA[k].join(`
`),vr(h,b),Ue.publish("endTilingPattern",b),zr.pop().restore()};var Cr,et=d.__private__.newObject=function(){var h=Lt();return Ht(h,!0),h},Lt=d.__private__.newObjectDeferred=function(){return $++,rA[$]=function(){return fA},$},Ht=function(h,b){return b=typeof b=="boolean"&&b,rA[h]=fA,b&&R(h+" 0 obj"),h},pi=d.__private__.newAdditionalObject=function(){var h={objId:Lt(),content:""};return gA.push(h),h},Tn=Lt(),Nr=Lt(),Xr=d.__private__.decodeColorString=function(h){var b=h.split(" ");if(b.length!==2||b[1]!=="g"&&b[1]!=="G")b.length!==5||b[4]!=="k"&&b[4]!=="K"||(b=[(1-b[0])*(1-b[3]),(1-b[1])*(1-b[3]),(1-b[2])*(1-b[3]),"r"]);else{var O=parseFloat(b[0]);b=[O,O,O,"r"]}for(var z="#",AA=0;AA<3;AA++)z+=("0"+Math.floor(255*parseFloat(b[AA])).toString(16)).slice(-2);return z},kr=d.__private__.encodeColorString=function(h){var b;typeof h=="string"&&(h={ch1:h});var O=h.ch1,z=h.ch2,AA=h.ch3,wA=h.ch4,bA=h.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof O=="string"&&O.charAt(0)!=="#"){var DA=new A1(O);if(DA.ok)O=DA.toHex();else if(!/^\d*\.?\d*$/.test(O))throw new Error('Invalid color "'+O+'" passed to jsPDF.encodeColorString.')}if(typeof O=="string"&&/^#[0-9A-Fa-f]{3}$/.test(O)&&(O="#"+O[1]+O[1]+O[2]+O[2]+O[3]+O[3]),typeof O=="string"&&/^#[0-9A-Fa-f]{6}$/.test(O)){var MA=parseInt(O.substr(1),16);O=MA>>16&255,z=MA>>8&255,AA=255&MA}if(z===void 0||wA===void 0&&O===z&&z===AA)b=typeof O=="string"?O+" "+bA[0]:h.precision===2?U(O/255)+" "+bA[0]:S(O/255)+" "+bA[0];else if(wA===void 0||je(wA)==="object"){if(wA&&!isNaN(wA.a)&&wA.a===0)return["1.","1.","1.",bA[1]].join(" ");b=typeof O=="string"?[O,z,AA,bA[1]].join(" "):h.precision===2?[U(O/255),U(z/255),U(AA/255),bA[1]].join(" "):[S(O/255),S(z/255),S(AA/255),bA[1]].join(" ")}else b=typeof O=="string"?[O,z,AA,wA,bA[2]].join(" "):h.precision===2?[U(O),U(z),U(AA),U(wA),bA[2]].join(" "):[S(O),S(z),S(AA),S(wA),bA[2]].join(" ");return b},Tr=d.__private__.getFilters=function(){return a},br=d.__private__.putStream=function(h){var b=(h=h||{}).data||"",O=h.filters||Tr(),z=h.alreadyAppliedFilters||[],AA=h.addLength1||!1,wA=b.length,bA=h.objectId,DA=function(bt){return bt};if(f!==null&&bA===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");f!==null&&(DA=at.encryptor(bA,0));var MA={};O===!0&&(O=["FlateEncode"]);var se=h.additionalKeyValues||[],he=(MA=qA.API.processDataByFilters!==void 0?qA.API.processDataByFilters(b,O):{data:b,reverseChain:[]}).reverseChain+(Array.isArray(z)?z.join(" "):z.toString());if(MA.data.length!==0&&(se.push({key:"Length",value:MA.data.length}),AA===!0&&se.push({key:"Length1",value:wA})),he.length!=0)if(he.split("/").length-1==1)se.push({key:"Filter",value:he});else{se.push({key:"Filter",value:"["+he+"]"});for(var Le=0;Le<se.length;Le+=1)if(se[Le].key==="DecodeParms"){for(var At=[],Bt=0;Bt<MA.reverseChain.split("/").length-1;Bt+=1)At.push("null");At.push(se[Le].value),se[Le].value="["+At.join(" ")+"]"}}R("<<");for(var qe=0;qe<se.length;qe++)R("/"+se[qe].key+" "+se[qe].value);R(">>"),MA.data.length!==0&&(R("stream"),R(DA(MA.data)),R("endstream"))},Bi=d.__private__.putPage=function(h){var b=h.number,O=h.data,z=h.objId,AA=h.contentsObjId;Ht(z,!0),R("<</Type /Page"),R("/Parent "+h.rootDictionaryObjId+" 0 R"),R("/Resources "+h.resourceDictionaryObjId+" 0 R"),R("/MediaBox ["+parseFloat(K(h.mediaBox.bottomLeftX))+" "+parseFloat(K(h.mediaBox.bottomLeftY))+" "+K(h.mediaBox.topRightX)+" "+K(h.mediaBox.topRightY)+"]"),h.cropBox!==null&&R("/CropBox ["+K(h.cropBox.bottomLeftX)+" "+K(h.cropBox.bottomLeftY)+" "+K(h.cropBox.topRightX)+" "+K(h.cropBox.topRightY)+"]"),h.bleedBox!==null&&R("/BleedBox ["+K(h.bleedBox.bottomLeftX)+" "+K(h.bleedBox.bottomLeftY)+" "+K(h.bleedBox.topRightX)+" "+K(h.bleedBox.topRightY)+"]"),h.trimBox!==null&&R("/TrimBox ["+K(h.trimBox.bottomLeftX)+" "+K(h.trimBox.bottomLeftY)+" "+K(h.trimBox.topRightX)+" "+K(h.trimBox.topRightY)+"]"),h.artBox!==null&&R("/ArtBox ["+K(h.artBox.bottomLeftX)+" "+K(h.artBox.bottomLeftY)+" "+K(h.artBox.topRightX)+" "+K(h.artBox.topRightY)+"]"),typeof h.userUnit=="number"&&h.userUnit!==1&&R("/UserUnit "+h.userUnit),Ue.publish("putPage",{objId:z,pageContext:ee[b],pageNumber:b,page:O}),R("/Contents "+AA+" 0 R"),R(">>"),R("endobj");var wA=O.join(`
`);return N===P&&(wA+=`
Q`),Ht(AA,!0),br({data:wA,filters:Tr(),objectId:AA}),R("endobj"),z},Jr=d.__private__.putPages=function(){var h,b,O=[];for(h=1;h<=Se;h++)ee[h].objId=Lt(),ee[h].contentsObjId=Lt();for(h=1;h<=Se;h++)O.push(Bi({number:h,data:sA[h],objId:ee[h].objId,contentsObjId:ee[h].contentsObjId,mediaBox:ee[h].mediaBox,cropBox:ee[h].cropBox,bleedBox:ee[h].bleedBox,trimBox:ee[h].trimBox,artBox:ee[h].artBox,userUnit:ee[h].userUnit,rootDictionaryObjId:Tn,resourceDictionaryObjId:Nr}));Ht(Tn,!0),R("<</Type /Pages");var z="/Kids [";for(b=0;b<Se;b++)z+=O[b]+" 0 R ";R(z+"]"),R("/Count "+Se),R(">>"),R("endobj"),Ue.publish("postPutPages")},wi=function(h){Ue.publish("putFont",{font:h,out:R,newObject:et,putStream:br}),h.isAlreadyPutted!==!0&&(h.objectNumber=et(),R("<<"),R("/Type /Font"),R("/BaseFont /"+La(h.postScriptName)),R("/Subtype /Type1"),typeof h.encoding=="string"&&R("/Encoding /"+h.encoding),R("/FirstChar 32"),R("/LastChar 255"),R(">>"),R("endobj"))},ta=function(h){h.objectNumber=et();var b=[];b.push({key:"Type",value:"/XObject"}),b.push({key:"Subtype",value:"/Form"}),b.push({key:"BBox",value:"["+[K(h.x),K(h.y),K(h.x+h.width),K(h.y+h.height)].join(" ")+"]"}),b.push({key:"Matrix",value:"["+h.matrix.toString()+"]"});var O=h.pages[1].join(`
`);br({data:O,additionalKeyValues:b,objectId:h.objectNumber}),R("endobj")},ra=function(h,b){b||(b=21);var O=et(),z=(function(bA,DA){var MA,se=[],he=1/(DA-1);for(MA=0;MA<1;MA+=he)se.push(MA);if(se.push(1),bA[0].offset!=0){var Le={offset:0,color:bA[0].color};bA.unshift(Le)}if(bA[bA.length-1].offset!=1){var At={offset:1,color:bA[bA.length-1].color};bA.push(At)}for(var Bt="",qe=0,bt=0;bt<se.length;bt++){for(MA=se[bt];MA>bA[qe+1].offset;)qe++;var wt=bA[qe].offset,Nt=(MA-wt)/(bA[qe+1].offset-wt),Fr=bA[qe].color,er=bA[qe+1].color;Bt+=W(Math.round((1-Nt)*Fr[0]+Nt*er[0]).toString(16))+W(Math.round((1-Nt)*Fr[1]+Nt*er[1]).toString(16))+W(Math.round((1-Nt)*Fr[2]+Nt*er[2]).toString(16))}return Bt.trim()})(h.colors,b),AA=[];AA.push({key:"FunctionType",value:"0"}),AA.push({key:"Domain",value:"[0.0 1.0]"}),AA.push({key:"Size",value:"["+b+"]"}),AA.push({key:"BitsPerSample",value:"8"}),AA.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),AA.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),br({data:z,additionalKeyValues:AA,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:O}),R("endobj"),h.objectNumber=et(),R("<< /ShadingType "+h.type),R("/ColorSpace /DeviceRGB");var wA="/Coords ["+K(parseFloat(h.coords[0]))+" "+K(parseFloat(h.coords[1]))+" ";h.type===2?wA+=K(parseFloat(h.coords[2]))+" "+K(parseFloat(h.coords[3])):wA+=K(parseFloat(h.coords[2]))+" "+K(parseFloat(h.coords[3]))+" "+K(parseFloat(h.coords[4]))+" "+K(parseFloat(h.coords[5])),R(wA+="]"),h.matrix&&R("/Matrix ["+h.matrix.toString()+"]"),R("/Function "+O+" 0 R"),R("/Extend [true true]"),R(">>"),R("endobj")},na=function(h,b){var O=Lt(),z=et();b.push({resourcesOid:O,objectOid:z}),h.objectNumber=z;var AA=[];AA.push({key:"Type",value:"/Pattern"}),AA.push({key:"PatternType",value:"1"}),AA.push({key:"PaintType",value:"1"}),AA.push({key:"TilingType",value:"1"}),AA.push({key:"BBox",value:"["+h.boundingBox.map(K).join(" ")+"]"}),AA.push({key:"XStep",value:K(h.xStep)}),AA.push({key:"YStep",value:K(h.yStep)}),AA.push({key:"Resources",value:O+" 0 R"}),h.matrix&&AA.push({key:"Matrix",value:"["+h.matrix.toString()+"]"}),br({data:h.stream,additionalKeyValues:AA,objectId:h.objectNumber}),R("endobj")},ic=function(h){for(var b in h.objectNumber=et(),R("<<"),h)switch(b){case"opacity":R("/ca "+U(h[b]));break;case"stroke-opacity":R("/CA "+U(h[b]))}R(">>"),R("endobj")},Ra=function(h){Ht(h.resourcesOid,!0),R("<<"),R("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),(function(){for(var b in R("/Font <<"),OA)OA.hasOwnProperty(b)&&(p===!1||p===!0&&B.hasOwnProperty(b))&&R("/"+b+" "+OA[b].objectNumber+" 0 R");R(">>")})(),(function(){if(Object.keys(XA).length>0){for(var b in R("/Shading <<"),XA)XA.hasOwnProperty(b)&&XA[b]instanceof Ki&&XA[b].objectNumber>=0&&R("/"+b+" "+XA[b].objectNumber+" 0 R");Ue.publish("putShadingPatternDict"),R(">>")}})(),(function(b){if(Object.keys(XA).length>0){for(var O in R("/Pattern <<"),XA)XA.hasOwnProperty(O)&&XA[O]instanceof d.TilingPattern&&XA[O].objectNumber>=0&&XA[O].objectNumber<b&&R("/"+O+" "+XA[O].objectNumber+" 0 R");Ue.publish("putTilingPatternDict"),R(">>")}})(h.objectOid),(function(){if(Object.keys(ae).length>0){var b;for(b in R("/ExtGState <<"),ae)ae.hasOwnProperty(b)&&ae[b].objectNumber>=0&&R("/"+b+" "+ae[b].objectNumber+" 0 R");Ue.publish("putGStateDict"),R(">>")}})(),(function(){for(var b in R("/XObject <<"),Mt)Mt.hasOwnProperty(b)&&Mt[b].objectNumber>=0&&R("/"+b+" "+Mt[b].objectNumber+" 0 R");Ue.publish("putXobjectDict"),R(">>")})(),R(">>"),R("endobj")},zs=function(h){ie[h.fontName]=ie[h.fontName]||{},ie[h.fontName][h.fontStyle]=h.id},Xs=function(h,b,O,z,AA){var wA={id:"F"+(Object.keys(OA).length+1).toString(10),postScriptName:h,fontName:b,fontStyle:O,encoding:z,isStandardFont:AA||!1,metadata:{}};return Ue.publish("addFont",{font:wA,instance:this}),OA[wA.id]=wA,zs(wA),wA.id},yr=d.__private__.pdfEscape=d.pdfEscape=function(h,b){return(function(O,z){var AA,wA,bA,DA,MA,se,he,Le,At;if(bA=(z=z||{}).sourceEncoding||"Unicode",MA=z.outputEncoding,(z.autoencode||MA)&&OA[GA].metadata&&OA[GA].metadata[bA]&&OA[GA].metadata[bA].encoding&&(DA=OA[GA].metadata[bA].encoding,!MA&&OA[GA].encoding&&(MA=OA[GA].encoding),!MA&&DA.codePages&&(MA=DA.codePages[0]),typeof MA=="string"&&(MA=DA[MA]),MA)){for(he=!1,se=[],AA=0,wA=O.length;AA<wA;AA++)(Le=MA[O.charCodeAt(AA)])?se.push(String.fromCharCode(Le)):se.push(O[AA]),se[AA].charCodeAt(0)>>8&&(he=!0);O=se.join("")}for(AA=O.length;he===void 0&&AA!==0;)O.charCodeAt(AA-1)>>8&&(he=!0),AA--;if(!he)return O;for(se=z.noBOM?[]:[254,255],AA=0,wA=O.length;AA<wA;AA++){if((At=(Le=O.charCodeAt(AA))>>8)>>8)throw new Error("Character at position "+AA+" of string '"+O+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");se.push(At),se.push(Le-(At<<8))}return String.fromCharCode.apply(void 0,se)})(h,b).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ma=d.__private__.beginPage=function(h){sA[++Se]=[],ee[Se]={objId:0,contentsObjId:0,userUnit:Number(s),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(h[0]),topRightY:Number(h[1])}},Ys(Se),cA(sA[k])},Js=function(h,b){var O,z,AA;switch(e=b||e,typeof h=="string"&&(O=v(h.toLowerCase()),Array.isArray(O)&&(z=O[0],AA=O[1])),Array.isArray(h)&&(z=h[0]*ZA,AA=h[1]*ZA),isNaN(z)&&(z=n[0],AA=n[1]),(z>14400||AA>14400)&&(Ve.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),z=Math.min(14400,z),AA=Math.min(14400,AA)),n=[z,AA],e.substr(0,1)){case"l":AA>z&&(n=[AA,z]);break;case"p":z>AA&&(n=[AA,z])}Ma(n),dc(qa),R(aa),za!==0&&R(za+" J"),Xa!==0&&R(Xa+" j"),Ue.publish("addPage",{pageNumber:Se})},Ka=function(h){h>0&&h<=Se&&(sA.splice(h,1),ee.splice(h,1),Se--,k>Se&&(k=Se),this.setPage(k))},Ys=function(h){h>0&&h<=Se&&(k=h)},$s=d.__private__.getNumberOfPages=d.getNumberOfPages=function(){return sA.length-1},Zs=function(h,b,O){var z,AA=void 0;return O=O||{},h=h!==void 0?h:OA[GA].fontName,b=b!==void 0?b:OA[GA].fontStyle,z=h.toLowerCase(),ie[z]!==void 0&&ie[z][b]!==void 0?AA=ie[z][b]:ie[h]!==void 0&&ie[h][b]!==void 0?AA=ie[h][b]:O.disableWarning===!1&&Ve.warn("Unable to look up font label for font '"+h+"', '"+b+"'. Refer to getFontList() for available fonts."),AA||O.noFallback||(AA=ie.times[b])==null&&(AA=ie.times.normal),AA},ia=d.__private__.putInfo=function(){var h=et(),b=function(z){return z};for(var O in f!==null&&(b=at.encryptor(h,0)),R("<<"),R("/Producer ("+yr(b("jsPDF "+qA.version))+")"),ue)ue.hasOwnProperty(O)&&ue[O]&&R("/"+O.substr(0,1).toUpperCase()+O.substr(1)+" ("+yr(b(ue[O]))+")");R("/CreationDate ("+yr(b(nA))+")"),R(">>"),R("endobj")},ac=d.__private__.putCatalog=function(h){var b=(h=h||{}).rootDictionaryObjId||Tn;switch(et(),R("<<"),R("/Type /Catalog"),R("/Pages "+b+" 0 R"),KA||(KA="fullwidth"),KA){case"fullwidth":R("/OpenAction [3 0 R /FitH null]");break;case"fullheight":R("/OpenAction [3 0 R /FitV null]");break;case"fullpage":R("/OpenAction [3 0 R /Fit]");break;case"original":R("/OpenAction [3 0 R /XYZ null null 1]");break;default:var O=""+KA;O.substr(O.length-1)==="%"&&(KA=parseInt(KA)/100),typeof KA=="number"&&R("/OpenAction [3 0 R /XYZ null null "+U(KA)+"]")}switch(re||(re="continuous"),re){case"continuous":R("/PageLayout /OneColumn");break;case"single":R("/PageLayout /SinglePage");break;case"two":case"twoleft":R("/PageLayout /TwoColumnLeft");break;case"tworight":R("/PageLayout /TwoColumnRight")}WA&&R("/PageMode /"+WA),Ue.publish("putCatalog"),R(">>"),R("endobj")},pt=d.__private__.putTrailer=function(){R("trailer"),R("<<"),R("/Size "+($+1)),R("/Root "+$+" 0 R"),R("/Info "+($-1)+" 0 R"),f!==null&&R("/Encrypt "+at.oid+" 0 R"),R("/ID [ <"+oA+"> <"+oA+"> ]"),R(">>")},Ao=d.__private__.putHeader=function(){R("%PDF-"+m),R("%ºß¬à")},eo=d.__private__.putXRef=function(){var h="0000000000";R("xref"),R("0 "+($+1)),R("0000000000 65535 f ");for(var b=1;b<=$;b++)typeof rA[b]=="function"?R((h+rA[b]()).slice(-10)+" 00000 n "):rA[b]!==void 0?R((h+rA[b]).slice(-10)+" 00000 n "):R("0000000000 00000 n ")},gn=d.__private__.buildDocument=function(){var h;$=0,fA=0,dA=[],rA=[],gA=[],Tn=Lt(),Nr=Lt(),cA(dA),Ue.publish("buildDocument"),Ao(),Jr(),(function(){Ue.publish("putAdditionalObjects");for(var O=0;O<gA.length;O++){var z=gA[O];Ht(z.objId,!0),R(z.content),R("endobj")}Ue.publish("postPutAdditionalObjects")})(),h=[],(function(){for(var O in OA)OA.hasOwnProperty(O)&&(p===!1||p===!0&&B.hasOwnProperty(O))&&wi(OA[O])})(),(function(){var O;for(O in ae)ae.hasOwnProperty(O)&&ic(ae[O])})(),(function(){for(var O in Mt)Mt.hasOwnProperty(O)&&ta(Mt[O])})(),(function(O){var z;for(z in XA)XA.hasOwnProperty(z)&&(XA[z]instanceof Ki?ra(XA[z]):XA[z]instanceof Ia&&na(XA[z],O))})(h),Ue.publish("putResources"),h.forEach(Ra),Ra({resourcesOid:Nr,objectOid:Number.MAX_SAFE_INTEGER}),Ue.publish("postPutResources"),f!==null&&(at.oid=et(),R("<<"),R("/Filter /Standard"),R("/V "+at.v),R("/R "+at.r),R("/U <"+at.toHexString(at.U)+">"),R("/O <"+at.toHexString(at.O)+">"),R("/P "+at.P),R(">>"),R("endobj")),ia(),ac();var b=fA;return eo(),pt(),R("startxref"),R(""+b),R("%%EOF"),cA(sA[k]),dA.join(`
`)},mi=d.__private__.getBlob=function(h){return new Blob([le(h)],{type:"application/pdf"})},Dr=d.output=d.__private__.output=(Cr=function(h,b){switch(typeof(b=b||{})=="string"?b={filename:b}:b.filename=b.filename||"generated.pdf",h){case void 0:return gn();case"save":d.save(b.filename);break;case"arraybuffer":return le(gn());case"blob":return mi(gn());case"bloburi":case"bloburl":if(te.URL!==void 0&&typeof te.URL.createObjectURL=="function")return te.URL&&te.URL.createObjectURL(mi(gn()))||void 0;Ve.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var O="",z=gn();try{O=Lg(z)}catch{O=Lg(unescape(encodeURIComponent(z)))}return"data:application/pdf;filename="+b.filename+";base64,"+O;case"pdfobjectnewwindow":if(Object.prototype.toString.call(te)==="[object Window]"){var AA="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",wA=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';b.pdfObjectUrl&&(AA=b.pdfObjectUrl,wA="");var bA='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+AA+'"'+wA+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(b)+");<\/script></body></html>",DA=te.open();return DA!==null&&DA.document.write(bA),DA}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(te)==="[object Window]"){var MA='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(b.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+b.filename+'" width="500px" height="400px" /></body></html>',se=te.open();if(se!==null){se.document.write(MA);var he=this;se.document.documentElement.querySelector("#pdfViewer").onload=function(){se.document.title=b.filename,se.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(he.output("bloburl"))}}return se}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(te)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Le='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",b)+'"></iframe></body></html>',At=te.open();if(At!==null&&(At.document.write(Le),At.document.title=b.filename),At||typeof safari>"u")return At;break;case"datauri":case"dataurl":return te.document.location.href=this.output("datauristring",b);default:return null}},Cr.foo=function(){try{return Cr.apply(this,arguments)}catch(O){var h=O.stack||"";~h.indexOf(" at ")&&(h=h.split(" at ")[1]);var b="Error in function "+h.split(`
`)[0].split("<")[0]+": "+O.message;if(!te.console)throw new Error(b);te.console.error(b,O),te.alert&&alert(b)}},Cr.foo.bar=Cr,Cr.foo),vi=function(h){return Array.isArray(gi)===!0&&gi.indexOf(h)>-1};switch(r){case"pt":ZA=1;break;case"mm":ZA=72/25.4;break;case"cm":ZA=72/2.54;break;case"in":ZA=72;break;case"px":ZA=vi("px_scaling")==1?.75:96/72;break;case"pc":case"em":ZA=12;break;case"ex":ZA=6;break;default:if(typeof r!="number")throw new Error("Invalid unit: "+r);ZA=r}var at=null;hA(),eA();var Ga=d.__private__.getPageInfo=d.getPageInfo=function(h){if(isNaN(h)||h%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:ee[h].objId,pageNumber:h,pageContext:ee[h]}},sc=d.__private__.getPageInfoByObjId=function(h){if(isNaN(h)||h%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var b in ee)if(ee[b].objId===h)break;return Ga(b)},oc=d.__private__.getCurrentPageInfo=d.getCurrentPageInfo=function(){return{objId:ee[k].objId,pageNumber:k,pageContext:ee[k]}};d.addPage=function(){return Js.apply(this,arguments),this},d.setPage=function(){return Ys.apply(this,arguments),cA.call(this,sA[k]),this},d.insertPage=function(h){return this.addPage(),this.movePage(k,h),this},d.movePage=function(h,b){var O,z;if(h>b){O=sA[h],z=ee[h];for(var AA=h;AA>b;AA--)sA[AA]=sA[AA-1],ee[AA]=ee[AA-1];sA[b]=O,ee[b]=z,this.setPage(b)}else if(h<b){O=sA[h],z=ee[h];for(var wA=h;wA<b;wA++)sA[wA]=sA[wA+1],ee[wA]=ee[wA+1];sA[b]=O,ee[b]=z,this.setPage(b)}return this},d.deletePage=function(){return Ka.apply(this,arguments),this},d.__private__.text=d.text=function(h,b,O,z,AA){var wA,bA,DA,MA,se,he,Le,At,Bt,qe=(z=z||{}).scope||this;if(typeof h=="number"&&typeof b=="number"&&(typeof O=="string"||Array.isArray(O))){var bt=O;O=b,b=h,h=bt}if(arguments[3]instanceof Ae==0?(DA=arguments[4],MA=arguments[5],je(Le=arguments[3])==="object"&&Le!==null||(typeof DA=="string"&&(MA=DA,DA=null),typeof Le=="string"&&(MA=Le,Le=null),typeof Le=="number"&&(DA=Le,Le=null),z={flags:Le,angle:DA,align:MA})):(L("The transform parameter of text() with a Matrix value"),Bt=AA),isNaN(b)||isNaN(O)||h==null)throw new Error("Invalid arguments passed to jsPDF.text");if(h.length===0)return qe;var wt,Nt="",Fr=typeof z.lineHeightFactor=="number"?z.lineHeightFactor:bi,er=qe.internal.scaleFactor;function lo(He){return He=He.split(" ").join(Array(z.TabLen||9).join(" ")),yr(He,Le)}function ca(He){for(var Ke,ot=He.concat(),yt=[],bn=ot.length;bn--;)typeof(Ke=ot.shift())=="string"?yt.push(Ke):Array.isArray(He)&&(Ke.length===1||Ke[1]===void 0&&Ke[2]===void 0)?yt.push(Ke[0]):yt.push([Ke[0],Ke[1],Ke[2]]);return yt}function Ei(He,Ke){var ot;if(typeof He=="string")ot=Ke(He)[0];else if(Array.isArray(He)){for(var yt,bn,ss=He.concat(),ha=[],fo=ss.length;fo--;)typeof(yt=ss.shift())=="string"?ha.push(Ke(yt)[0]):Array.isArray(yt)&&typeof yt[0]=="string"&&(bn=Ke(yt[0],yt[1],yt[2]),ha.push([bn[0],bn[1],bn[2]]));ot=ha}return ot}var Pn=!1,Li=!0;if(typeof h=="string")Pn=!0;else if(Array.isArray(h)){var _i=h.concat();bA=[];for(var Ii,Kt=_i.length;Kt--;)(typeof(Ii=_i.shift())!="string"||Array.isArray(Ii)&&typeof Ii[0]!="string")&&(Li=!1);Pn=Li}if(Pn===!1)throw new Error('Type of text must be string or Array. "'+h+'" is not recognized.');typeof h=="string"&&(h=h.match(/[\r?\n]/)?h.split(/\r\n|\r|\n/g):[h]);var Si=QA/qe.internal.scaleFactor,Hi=Si*(Fr-1);switch(z.baseline){case"bottom":O-=Hi;break;case"top":O+=Si-Hi;break;case"hanging":O+=Si-2*Hi;break;case"middle":O+=Si/2-Hi}if((he=z.maxWidth||0)>0&&(typeof h=="string"?h=qe.splitTextToSize(h,he):Object.prototype.toString.call(h)==="[object Array]"&&(h=h.reduce(function(He,Ke){return He.concat(qe.splitTextToSize(Ke,he))},[]))),wA={text:h,x:b,y:O,options:z,mutex:{pdfEscape:yr,activeFontKey:GA,fonts:OA,activeFontSize:QA}},Ue.publish("preProcessText",wA),h=wA.text,DA=(z=wA.options).angle,Bt instanceof Ae==0&&DA&&typeof DA=="number"){DA*=Math.PI/180,z.rotationDirection===0&&(DA=-DA),N===P&&(DA=-DA);var $a=Math.cos(DA),Za=Math.sin(DA);Bt=new Ae($a,Za,-Za,$a,0,0)}else DA&&DA instanceof Ae&&(Bt=DA);N!==P||Bt||(Bt=dn),(se=z.charSpace||oa)!==void 0&&(Nt+=K(G(se))+` Tc
`,this.setCharSpace(this.getCharSpace()||0)),(At=z.horizontalScale)!==void 0&&(Nt+=K(100*At)+` Tz
`),z.lang;var tt=-1,vn=z.renderingMode!==void 0?z.renderingMode:z.stroke,ua=qe.internal.getCurrentPageInfo().pageContext;switch(vn){case 0:case!1:case"fill":tt=0;break;case 1:case!0:case"stroke":tt=1;break;case 2:case"fillThenStroke":tt=2;break;case 3:case"invisible":tt=3;break;case 4:case"fillAndAddForClipping":tt=4;break;case 5:case"strokeAndAddPathForClipping":tt=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":tt=6;break;case 7:case"addToPathForClipping":tt=7}var co=ua.usedRenderingMode!==void 0?ua.usedRenderingMode:-1;tt!==-1?Nt+=tt+` Tr
`:co!==-1&&(Nt+=`0 Tr
`),tt!==-1&&(ua.usedRenderingMode=tt),MA=z.align||"left";var Qr,Ni=QA*Fr,As=qe.internal.pageSize.getWidth(),es=OA[GA];se=z.charSpace||oa,he=z.maxWidth||0,Le=Object.assign({autoencode:!0,noBOM:!0},z.flags);var Rn=[],ki=function(He){return qe.getStringUnitWidth(He,{font:es,charSpace:se,fontSize:QA,doKerning:!1})*QA/er};if(Object.prototype.toString.call(h)==="[object Array]"){var sr;bA=ca(h),MA!=="left"&&(Qr=bA.map(ki));var or,Mn=0;if(MA==="right"){b-=Qr[0],h=[],Kt=bA.length;for(var Cn=0;Cn<Kt;Cn++)Cn===0?(or=pn(b),sr=Bn(O)):(or=G(Mn-Qr[Cn]),sr=-Ni),h.push([bA[Cn],or,sr]),Mn=Qr[Cn]}else if(MA==="center"){b-=Qr[0]/2,h=[],Kt=bA.length;for(var Kn=0;Kn<Kt;Kn++)Kn===0?(or=pn(b),sr=Bn(O)):(or=G((Mn-Qr[Kn])/2),sr=-Ni),h.push([bA[Kn],or,sr]),Mn=Qr[Kn]}else if(MA==="left"){h=[],Kt=bA.length;for(var ts=0;ts<Kt;ts++)h.push(bA[ts])}else if(MA==="justify"&&es.encoding==="Identity-H"){h=[],Kt=bA.length,he=he!==0?he:As;for(var fa=0,st=0;st<Kt;st++)if(sr=st===0?Bn(O):-Ni,or=st===0?pn(b):fa,st<Kt-1){var uo=G((he-Qr[st])/(bA[st].split(" ").length-1)),$r=bA[st].split(" ");h.push([$r[0]+" ",or,sr]),fa=0;for(var Zr=1;Zr<$r.length;Zr++){var rs=(ki($r[Zr-1]+" "+$r[Zr])-ki($r[Zr]))*er+uo;Zr==$r.length-1?h.push([$r[Zr],rs,0]):h.push([$r[Zr]+" ",rs,0]),fa-=rs}}else h.push([bA[st],or,sr]);h.push(["",fa,0])}else{if(MA!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(h=[],Kt=bA.length,he=he!==0?he:As,st=0;st<Kt;st++){sr=st===0?Bn(O):-Ni,or=st===0?pn(b):0;var ns=bA[st].split(" ").length-1,is=ns>0?(he-Qr[st])/ns:0;st<Kt-1?Rn.push(K(G(is))):Rn.push(0),h.push([bA[st],or,sr])}}}(typeof z.R2L=="boolean"?z.R2L:ce)===!0&&(h=Ei(h,function(He,Ke,ot){return[He.split("").reverse().join(""),Ke,ot]})),wA={text:h,x:b,y:O,options:z,mutex:{pdfEscape:yr,activeFontKey:GA,fonts:OA,activeFontSize:QA}},Ue.publish("postProcessText",wA),h=wA.text,wt=wA.mutex.isHex||!1;var as=OA[GA].encoding;as!=="WinAnsiEncoding"&&as!=="StandardEncoding"||(h=Ei(h,function(He,Ke,ot){return[lo(He),Ke,ot]})),bA=ca(h),h=[];for(var Gn,Vn,jn,Ti=Array.isArray(bA[0])?1:0,qn="",Di=function(He,Ke,ot){var yt="";return ot instanceof Ae?(ot=typeof z.angle=="number"?hn(ot,new Ae(1,0,0,1,He,Ke)):hn(new Ae(1,0,0,1,He,Ke),ot),N===P&&(ot=hn(new Ae(1,0,0,-1,0,0),ot)),yt=ot.join(" ")+` Tm
`):yt=K(He)+" "+K(Ke)+` Td
`,yt},Ur=0;Ur<bA.length;Ur++){switch(qn="",Ti){case 1:jn=(wt?"<":"(")+bA[Ur][0]+(wt?">":")"),Gn=parseFloat(bA[Ur][1]),Vn=parseFloat(bA[Ur][2]);break;case 0:jn=(wt?"<":"(")+bA[Ur]+(wt?">":")"),Gn=pn(b),Vn=Bn(O)}Rn!==void 0&&Rn[Ur]!==void 0&&(qn=Rn[Ur]+` Tw
`),Ur===0?h.push(qn+Di(Gn,Vn,Bt)+jn):Ti===0?h.push(qn+jn):Ti===1&&h.push(qn+Di(Gn,Vn,Bt)+jn)}h=Ti===0?h.join(` Tj
T* `):h.join(` Tj
`),h+=` Tj
`;var An=`BT
/`;return An+=GA+" "+QA+` Tf
`,An+=K(QA*Fr)+` TL
`,An+=yi+`
`,An+=Nt,An+=h,R(An+="ET"),B[GA]=!0,qe};var lc=d.__private__.clip=d.clip=function(h){return R(h==="evenodd"?"W*":"W"),this};d.clipEvenOdd=function(){return lc("evenodd")},d.__private__.discardPath=d.discardPath=function(){return R("n"),this};var Yr=d.__private__.isValidStyle=function(h){var b=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(h)!==-1&&(b=!0),b};d.__private__.setDefaultPathOperation=d.setDefaultPathOperation=function(h){return Yr(h)&&(u=h),this};var to=d.__private__.getStyle=d.getStyle=function(h){var b=u;switch(h){case"D":case"S":b="S";break;case"F":b="f";break;case"FD":case"DF":b="B";break;case"f":case"f*":case"B":case"B*":b=h}return b},ro=d.close=function(){return R("h"),this};d.stroke=function(){return R("S"),this},d.fill=function(h){return Dn("f",h),this},d.fillEvenOdd=function(h){return Dn("f*",h),this},d.fillStroke=function(h){return Dn("B",h),this},d.fillStrokeEvenOdd=function(h){return Dn("B*",h),this};var Dn=function(h,b){je(b)==="object"?uc(b,h):R(h)},Va=function(h){h===null||N===P&&h===void 0||(h=to(h),R(h))};function cc(h,b,O,z,AA){var wA=new Ia(b||this.boundingBox,O||this.xStep,z||this.yStep,this.gState,AA||this.matrix);wA.stream=this.stream;var bA=h+"$$"+this.cloneIndex+++"$$";return vr(bA,wA),wA}var uc=function(h,b){var O=ve[h.key],z=XA[O];if(z instanceof Ki)R("q"),R(fc(b)),z.gState&&d.setGState(z.gState),R(h.matrix.toString()+" cm"),R("/"+O+" sh"),R("Q");else if(z instanceof Ia){var AA=new Ae(1,0,0,-1,0,xi());h.matrix&&(AA=AA.multiply(h.matrix||dn),O=cc.call(z,h.key,h.boundingBox,h.xStep,h.yStep,AA).id),R("q"),R("/Pattern cs"),R("/"+O+" scn"),z.gState&&d.setGState(z.gState),R(b),R("Q")}},fc=function(h){switch(h){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},ja=d.moveTo=function(h,b){return R(K(G(h))+" "+K(V(b))+" m"),this},Ci=d.lineTo=function(h,b){return R(K(G(h))+" "+K(V(b))+" l"),this},On=d.curveTo=function(h,b,O,z,AA,wA){return R([K(G(h)),K(V(b)),K(G(O)),K(V(z)),K(G(AA)),K(V(wA)),"c"].join(" ")),this};d.__private__.line=d.line=function(h,b,O,z,AA){if(isNaN(h)||isNaN(b)||isNaN(O)||isNaN(z)||!Yr(AA))throw new Error("Invalid arguments passed to jsPDF.line");return N===H?this.lines([[O-h,z-b]],h,b,[1,1],AA||"S"):this.lines([[O-h,z-b]],h,b,[1,1]).stroke()},d.__private__.lines=d.lines=function(h,b,O,z,AA,wA){var bA,DA,MA,se,he,Le,At,Bt,qe,bt,wt,Nt;if(typeof h=="number"&&(Nt=O,O=b,b=h,h=Nt),z=z||[1,1],wA=wA||!1,isNaN(b)||isNaN(O)||!Array.isArray(h)||!Array.isArray(z)||!Yr(AA)||typeof wA!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(ja(b,O),bA=z[0],DA=z[1],se=h.length,bt=b,wt=O,MA=0;MA<se;MA++)(he=h[MA]).length===2?(bt=he[0]*bA+bt,wt=he[1]*DA+wt,Ci(bt,wt)):(Le=he[0]*bA+bt,At=he[1]*DA+wt,Bt=he[2]*bA+bt,qe=he[3]*DA+wt,bt=he[4]*bA+bt,wt=he[5]*DA+wt,On(Le,At,Bt,qe,bt,wt));return wA&&ro(),Va(AA),this},d.path=function(h){for(var b=0;b<h.length;b++){var O=h[b],z=O.c;switch(O.op){case"m":ja(z[0],z[1]);break;case"l":Ci(z[0],z[1]);break;case"c":On.apply(this,z);break;case"h":ro()}}return this},d.__private__.rect=d.rect=function(h,b,O,z,AA){if(isNaN(h)||isNaN(b)||isNaN(O)||isNaN(z)||!Yr(AA))throw new Error("Invalid arguments passed to jsPDF.rect");return N===H&&(z=-z),R([K(G(h)),K(V(b)),K(G(O)),K(G(z)),"re"].join(" ")),Va(AA),this},d.__private__.triangle=d.triangle=function(h,b,O,z,AA,wA,bA){if(isNaN(h)||isNaN(b)||isNaN(O)||isNaN(z)||isNaN(AA)||isNaN(wA)||!Yr(bA))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[O-h,z-b],[AA-O,wA-z],[h-AA,b-wA]],h,b,[1,1],bA,!0),this},d.__private__.roundedRect=d.roundedRect=function(h,b,O,z,AA,wA,bA){if(isNaN(h)||isNaN(b)||isNaN(O)||isNaN(z)||isNaN(AA)||isNaN(wA)||!Yr(bA))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var DA=4/3*(Math.SQRT2-1);return AA=Math.min(AA,.5*O),wA=Math.min(wA,.5*z),this.lines([[O-2*AA,0],[AA*DA,0,AA,wA-wA*DA,AA,wA],[0,z-2*wA],[0,wA*DA,-AA*DA,wA,-AA,wA],[2*AA-O,0],[-AA*DA,0,-AA,-wA*DA,-AA,-wA],[0,2*wA-z],[0,-wA*DA,AA*DA,-wA,AA,-wA]],h+AA,b,[1,1],bA,!0),this},d.__private__.ellipse=d.ellipse=function(h,b,O,z,AA){if(isNaN(h)||isNaN(b)||isNaN(O)||isNaN(z)||!Yr(AA))throw new Error("Invalid arguments passed to jsPDF.ellipse");var wA=4/3*(Math.SQRT2-1)*O,bA=4/3*(Math.SQRT2-1)*z;return ja(h+O,b),On(h+O,b-bA,h+wA,b-z,h,b-z),On(h-wA,b-z,h-O,b-bA,h-O,b),On(h-O,b+bA,h-wA,b+z,h,b+z),On(h+wA,b+z,h+O,b+bA,h+O,b),Va(AA),this},d.__private__.circle=d.circle=function(h,b,O,z){if(isNaN(h)||isNaN(b)||isNaN(O)||!Yr(z))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(h,b,O,O,z)},d.setFont=function(h,b,O){return O&&(b=X(b,O)),GA=Zs(h,b,{disableWarning:!1}),this};var hc=d.__private__.getFont=d.getFont=function(){return OA[Zs.apply(d,arguments)]};d.__private__.getFontList=d.getFontList=function(){var h,b,O={};for(h in ie)if(ie.hasOwnProperty(h))for(b in O[h]=[],ie[h])ie[h].hasOwnProperty(b)&&O[h].push(b);return O},d.addFont=function(h,b,O,z,AA){var wA=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&wA.indexOf(arguments[3])!==-1?AA=arguments[3]:arguments[3]&&wA.indexOf(arguments[3])==-1&&(O=X(O,z)),Xs.call(this,h,b,O,AA=AA||"Identity-H")};var bi,qa=t.lineWidth||.200025,fe=d.__private__.getLineWidth=d.getLineWidth=function(){return qa},dc=d.__private__.setLineWidth=d.setLineWidth=function(h){return qa=h,R(K(G(h))+" w"),this};d.__private__.setLineDash=qA.API.setLineDash=qA.API.setLineDashPattern=function(h,b){if(h=h||[],b=b||0,isNaN(b)||!Array.isArray(h))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return h=h.map(function(O){return K(G(O))}).join(" "),b=K(G(b)),R("["+h+"] "+b+" d"),this};var gc=d.__private__.getLineHeight=d.getLineHeight=function(){return QA*bi};d.__private__.getLineHeight=d.getLineHeight=function(){return QA*bi};var pc=d.__private__.setLineHeightFactor=d.setLineHeightFactor=function(h){return typeof(h=h||1.15)=="number"&&(bi=h),this},Bc=d.__private__.getLineHeightFactor=d.getLineHeightFactor=function(){return bi};pc(t.lineHeight);var pn=d.__private__.getHorizontalCoordinate=function(h){return G(h)},Bn=d.__private__.getVerticalCoordinate=function(h){return N===P?h:ee[k].mediaBox.topRightY-ee[k].mediaBox.bottomLeftY-G(h)},wc=d.__private__.getHorizontalCoordinateString=d.getHorizontalCoordinateString=function(h){return K(pn(h))},mc=d.__private__.getVerticalCoordinateString=d.getVerticalCoordinateString=function(h){return K(Bn(h))},aa=t.strokeColor||"0 G";d.__private__.getStrokeColor=d.getDrawColor=function(){return Xr(aa)},d.__private__.setStrokeColor=d.setDrawColor=function(h,b,O,z){return aa=kr({ch1:h,ch2:b,ch3:O,ch4:z,pdfColorType:"draw",precision:2}),R(aa),this};var Wa=t.fillColor||"0 g";d.__private__.getFillColor=d.getFillColor=function(){return Xr(Wa)},d.__private__.setFillColor=d.setFillColor=function(h,b,O,z){return Wa=kr({ch1:h,ch2:b,ch3:O,ch4:z,pdfColorType:"fill",precision:2}),R(Wa),this};var yi=t.textColor||"0 g",sa=d.__private__.getTextColor=d.getTextColor=function(){return Xr(yi)};d.__private__.setTextColor=d.setTextColor=function(h,b,O,z){return yi=kr({ch1:h,ch2:b,ch3:O,ch4:z,pdfColorType:"text",precision:3}),this};var oa=t.charSpace,vc=d.__private__.getCharSpace=d.getCharSpace=function(){return parseFloat(oa||0)};d.__private__.setCharSpace=d.setCharSpace=function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return oa=h,this};var za=0;d.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},d.__private__.setLineCap=d.setLineCap=function(h){var b=d.CapJoinStyles[h];if(b===void 0)throw new Error("Line cap style of '"+h+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return za=b,R(b+" J"),this};var Xa=0;d.__private__.setLineJoin=d.setLineJoin=function(h){var b=d.CapJoinStyles[h];if(b===void 0)throw new Error("Line join style of '"+h+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Xa=b,R(b+" j"),this},d.__private__.setLineMiterLimit=d.__private__.setMiterLimit=d.setLineMiterLimit=d.setMiterLimit=function(h){if(h=h||0,isNaN(h))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return R(K(G(h))+" M"),this},d.GState=Rl,d.setGState=function(h){(h=typeof h=="string"?ae[Me[h]]:Fi(null,h)).equals(Xe)||(R("/"+h.id+" gs"),Xe=h)};var Fi=function(h,b){if(!h||!Me[h]){var O=!1;for(var z in ae)if(ae.hasOwnProperty(z)&&ae[z].equals(b)){O=!0;break}if(O)b=ae[z];else{var AA="GS"+(Object.keys(ae).length+1).toString(10);ae[AA]=b,b.id=AA}return h&&(Me[h]=b.id),Ue.publish("addGState",b),b}};d.addGState=function(h,b){return Fi(h,b),this},d.saveGraphicsState=function(){return R("q"),Ie.push({key:GA,size:QA,color:yi}),this},d.restoreGraphicsState=function(){R("Q");var h=Ie.pop();return GA=h.key,QA=h.size,yi=h.color,Xe=null,this},d.setCurrentTransformationMatrix=function(h){return R(h.toString()+" cm"),this},d.comment=function(h){return R("#"+h),this};var Qi=function(h,b){var O=h||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return O},set:function(wA){isNaN(wA)||(O=parseFloat(wA))}});var z=b||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return z},set:function(wA){isNaN(wA)||(z=parseFloat(wA))}});var AA="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return AA},set:function(wA){AA=wA.toString()}}),this},Ja=function(h,b,O,z){Qi.call(this,h,b),this.type="rect";var AA=O||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return AA},set:function(bA){isNaN(bA)||(AA=parseFloat(bA))}});var wA=z||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return wA},set:function(bA){isNaN(bA)||(wA=parseFloat(bA))}}),this},la=function(){this.page=Se,this.currentPage=k,this.pages=sA.slice(0),this.pagesContext=ee.slice(0),this.x=VA,this.y=ke,this.matrix=Fe,this.width=no(k),this.height=wn(k),this.outputDestination=xA,this.id="",this.objectNumber=-1};la.prototype.restore=function(){Se=this.page,k=this.currentPage,ee=this.pagesContext,sA=this.pages,VA=this.x,ke=this.y,Fe=this.matrix,io(k,this.width),mn(k,this.height),xA=this.outputDestination};var Ya=function(h,b,O,z,AA){zr.push(new la),Se=k=0,sA=[],VA=h,ke=b,Fe=AA,Ma([O,z])};for(var Ui in d.beginFormObject=function(h,b,O,z,AA){return Ya(h,b,O,z,AA),this},d.endFormObject=function(h){return(function(b){if(fn[b])zr.pop().restore();else{var O=new la,z="Xo"+(Object.keys(Mt).length+1).toString(10);O.id=z,fn[b]=z,Mt[z]=O,Ue.publish("addFormObject",O),zr.pop().restore()}})(h),this},d.doFormObject=function(h,b){var O=Mt[fn[h]];return R("q"),R(b.toString()+" cm"),R("/"+O.id+" Do"),R("Q"),this},d.getFormObject=function(h){var b=Mt[fn[h]];return{x:b.x,y:b.y,width:b.width,height:b.height,matrix:b.matrix}},d.save=function(h,b){return h=h||"generated.pdf",(b=b||{}).returnPromise=b.returnPromise||!1,b.returnPromise===!1?(Ri(mi(gn()),h),typeof Ri.unload=="function"&&te.setTimeout&&setTimeout(Ri.unload,911),this):new Promise(function(O,z){try{var AA=Ri(mi(gn()),h);typeof Ri.unload=="function"&&te.setTimeout&&setTimeout(Ri.unload,911),O(AA)}catch(wA){z(wA.message)}})},qA.API)qA.API.hasOwnProperty(Ui)&&(Ui==="events"&&qA.API.events.length?(function(h,b){var O,z,AA;for(AA=b.length-1;AA!==-1;AA--)O=b[AA][0],z=b[AA][1],h.subscribe.apply(h,[O].concat(typeof z=="function"?[z]:z))})(Ue,qA.API.events):d[Ui]=qA.API[Ui]);function no(h){return ee[h].mediaBox.topRightX-ee[h].mediaBox.bottomLeftX}function io(h,b){ee[h].mediaBox.topRightX=b+ee[h].mediaBox.bottomLeftX}function wn(h){return ee[h].mediaBox.topRightY-ee[h].mediaBox.bottomLeftY}function mn(h,b){ee[h].mediaBox.topRightY=b+ee[h].mediaBox.bottomLeftY}var ao=d.getPageWidth=function(h){return no(h=h||k)/ZA},so=d.setPageWidth=function(h,b){io(h,b*ZA)},xi=d.getPageHeight=function(h){return wn(h=h||k)/ZA},oo=d.setPageHeight=function(h,b){mn(h,b*ZA)};return d.internal={pdfEscape:yr,getStyle:to,getFont:hc,getFontSize:IA,getCharSpace:vc,getTextColor:sa,getLineHeight:gc,getLineHeightFactor:Bc,getLineWidth:fe,write:me,getHorizontalCoordinate:pn,getVerticalCoordinate:Bn,getCoordinateString:wc,getVerticalCoordinateString:mc,collections:{},newObject:et,newAdditionalObject:pi,newObjectDeferred:Lt,newObjectDeferredBegin:Ht,getFilters:Tr,putStream:br,events:Ue,scaleFactor:ZA,pageSize:{getWidth:function(){return ao(k)},setWidth:function(h){so(k,h)},getHeight:function(){return xi(k)},setHeight:function(h){oo(k,h)}},encryptionOptions:f,encryption:at,getEncryptor:function(h){return f!==null?at.encryptor(h,0):function(b){return b}},output:Dr,getNumberOfPages:$s,pages:sA,out:R,f2:U,f3:S,getPageInfo:Ga,getPageInfoByObjId:sc,getCurrentPageInfo:oc,getPDFVersion:C,Point:Qi,Rectangle:Ja,Matrix:Ae,hasHotfix:vi},Object.defineProperty(d.internal.pageSize,"width",{get:function(){return ao(k)},set:function(h){so(k,h)},enumerable:!0,configurable:!0}),Object.defineProperty(d.internal.pageSize,"height",{get:function(){return xi(k)},set:function(h){oo(k,h)},enumerable:!0,configurable:!0}),(function(h){for(var b=0,O=zA.length;b<O;b++){var z=Xs.call(this,h[b][0],h[b][1],h[b][2],zA[b][3],!0);p===!1&&(B[z]=!0);var AA=h[b][0].split("-");zs({id:z,fontName:AA[0],fontStyle:AA[1]||""})}Ue.publish("addFonts",{fonts:OA,dictionary:ie})}).call(d,zA),GA="F1",Js(n,e),Ue.publish("initialized"),d}Ea.prototype.lsbFirstWord=function(t){return String.fromCharCode(255&t,t>>8&255,t>>16&255,t>>24&255)},Ea.prototype.toHexString=function(t){return t.split("").map(function(A){return("0"+(255&A.charCodeAt(0)).toString(16)).slice(-2)}).join("")},Ea.prototype.hexToBytes=function(t){for(var A=[],e=0;e<t.length;e+=2)A.push(String.fromCharCode(parseInt(t.substr(e,2),16)));return A.join("")},Ea.prototype.processOwnerPassword=function(t,A){return cf(lf(A).substr(0,5),t)},Ea.prototype.encryptor=function(t,A){var e=lf(this.encryptionKey+String.fromCharCode(255&t,t>>8&255,t>>16&255,255&A,A>>8&255)).substr(0,10);return function(r){return cf(e,r)}},Rl.prototype.equals=function(t){var A,e="id,objectNumber,equals";if(!t||je(t)!==je(this))return!1;var r=0;for(A in this)if(!(e.indexOf(A)>=0)){if(this.hasOwnProperty(A)&&!t.hasOwnProperty(A)||this[A]!==t[A])return!1;r++}for(A in t)t.hasOwnProperty(A)&&e.indexOf(A)<0&&r--;return r===0},qA.API={events:[]},qA.version="3.0.3";var it=qA.API,Of=1,ea=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Fa=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},de=function(t){return t.toFixed(2)},Ai=function(t){return t.toFixed(5)};it.__acroform__={};var ar=function(t,A){t.prototype=Object.create(A.prototype),t.prototype.constructor=t},Hg=function(t){return t*Of},rn=function(t){var A=new n1,e=kA.internal.getHeight(t)||0,r=kA.internal.getWidth(t)||0;return A.BBox=[0,0,Number(de(r)),Number(de(e))],A},RF=it.__acroform__.setBit=function(t,A){if(t=t||0,A=A||0,isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return t|1<<A},MF=it.__acroform__.clearBit=function(t,A){if(t=t||0,A=A||0,isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return t&~(1<<A)},KF=it.__acroform__.getBit=function(t,A){if(isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return t&1<<A?1:0},ht=it.__acroform__.getBitForPdf=function(t,A){if(isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return KF(t,A-1)},dt=it.__acroform__.setBitForPdf=function(t,A){if(isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return RF(t,A-1)},gt=it.__acroform__.clearBitForPdf=function(t,A){if(isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return MF(t,A-1)},GF=it.__acroform__.calculateCoordinates=function(t,A){var e=A.internal.getHorizontalCoordinate,r=A.internal.getVerticalCoordinate,n=t[0],i=t[1],a=t[2],s=t[3],l={};return l.lowerLeft_X=e(n)||0,l.lowerLeft_Y=r(i+s)||0,l.upperRight_X=e(n+a)||0,l.upperRight_Y=r(i)||0,[Number(de(l.lowerLeft_X)),Number(de(l.lowerLeft_Y)),Number(de(l.upperRight_X)),Number(de(l.upperRight_Y))]},VF=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var A=[],e=t._V||t.DV,r=uf(t,e),n=t.scope.internal.getFont(t.fontName,t.fontStyle).id;A.push("/Tx BMC"),A.push("q"),A.push("BT"),A.push(t.scope.__private__.encodeColorString(t.color)),A.push("/"+n+" "+de(r.fontSize)+" Tf"),A.push("1 0 0 1 0 0 Tm"),A.push(r.text),A.push("ET"),A.push("Q"),A.push("EMC");var i=rn(t);return i.scope=t.scope,i.stream=A.join(`
`),i}},uf=function(t,A){var e=t.fontSize===0?t.maxFontSize:t.fontSize,r={text:"",fontSize:""},n=(A=(A=A.substr(0,1)=="("?A.substr(1):A).substr(A.length-1)==")"?A.substr(0,A.length-1):A).split(" ");n=t.multiline?n.map(function(U){return U.split(`
`)}):n.map(function(U){return[U]});var i=e,a=kA.internal.getHeight(t)||0;a=a<0?-a:a;var s=kA.internal.getWidth(t)||0;s=s<0?-s:s;var l=function(U,S,G){if(U+1<n.length){var V=S+" "+n[U+1][0];return ll(V,t,G).width<=s-4}return!1};i++;A:for(;i>0;){A="",i--;var u,f,p=ll("3",t,i).height,B=t.multiline?a-i:(a-p)/2,d=B+=2,m=0,C=0,E=0;if(i<=0){A=`(...) Tj
`,A+="% Width of Text: "+ll(A,t,i=12).width+", FieldWidth:"+s+`
`;break}for(var v="",H=0,P=0;P<n.length;P++)if(n.hasOwnProperty(P)){var N=!1;if(n[P].length!==1&&E!==n[P].length-1){if((p+2)*(H+2)+2>a)continue A;v+=n[P][E],N=!0,C=P,P--}else{v=(v+=n[P][E]+" ").substr(v.length-1)==" "?v.substr(0,v.length-1):v;var j=parseInt(P),J=l(j,v,i),X=P>=n.length-1;if(J&&!X){v+=" ",E=0;continue}if(J||X){if(X)C=j;else if(t.multiline&&(p+2)*(H+2)+2>a)continue A}else{if(!t.multiline||(p+2)*(H+2)+2>a)continue A;C=j}}for(var K="",L=m;L<=C;L++){var q=n[L];if(t.multiline){if(L===C){K+=q[E]+" ",E=(E+1)%q.length;continue}if(L===m){K+=q[q.length-1]+" ";continue}}K+=q[0]+" "}switch(K=K.substr(K.length-1)==" "?K.substr(0,K.length-1):K,f=ll(K,t,i).width,t.textAlign){case"right":u=s-f-2;break;case"center":u=(s-f)/2;break;default:u=2}A+=de(u)+" "+de(d)+` Td
`,A+="("+ea(K)+`) Tj
`,A+=-de(u)+` 0 Td
`,d=-(i+2),f=0,m=N?C:C+1,H++,v=""}break}return r.text=A,r.fontSize=i,r},ll=function(t,A,e){var r=A.scope.internal.getFont(A.fontName,A.fontStyle),n=A.scope.getStringUnitWidth(t,{font:r,fontSize:parseFloat(e),charSpace:0})*parseFloat(e);return{height:A.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(e),charSpace:0})*parseFloat(e)*1.5,width:n}},jF={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},qF=function(t,A){var e={type:"reference",object:t};A.internal.getPageInfo(t.page).pageContext.annotations.find(function(r){return r.type===e.type&&r.object===e.object})===void 0&&A.internal.getPageInfo(t.page).pageContext.annotations.push(e)},WF=function(t,A){if(A.scope=t,t.internal!==void 0&&(t.internal.acroformPlugin===void 0||t.internal.acroformPlugin.isInitialized===!1)){if(qr.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify(jF)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Of=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new i1,t.internal.acroformPlugin.acroFormDictionaryRoot.scope=t,t.internal.acroformPlugin.acroFormDictionaryRoot._eventID=t.internal.events.subscribe("postPutResources",function(){(function(e){e.internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0})(t)}),t.internal.events.subscribe("buildDocument",function(){(function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var r=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var n in r)if(r.hasOwnProperty(n)){var i=r[n];i.objId=void 0,i.hasAnnotation&&qF(i,e)}})(t)}),t.internal.events.subscribe("putCatalog",function(){(function(e){if(e.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(t)}),t.internal.events.subscribe("postPutPages",function(e){(function(r,n){var i=!r;for(var a in r||(n.internal.newObjectDeferredBegin(n.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),n.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),r=r||n.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(r.hasOwnProperty(a)){var s=r[a],l=[],u=s.Rect;if(s.Rect&&(s.Rect=GF(s.Rect,n)),n.internal.newObjectDeferredBegin(s.objId,!0),s.DA=kA.createDefaultAppearanceStream(s),je(s)==="object"&&typeof s.getKeyValueListForStream=="function"&&(l=s.getKeyValueListForStream()),s.Rect=u,s.hasAppearanceStream&&!s.appearanceStreamContent){var f=VF(s);l.push({key:"AP",value:"<</N "+f+">>"}),n.internal.acroformPlugin.xForms.push(f)}if(s.appearanceStreamContent){var p="";for(var B in s.appearanceStreamContent)if(s.appearanceStreamContent.hasOwnProperty(B)){var d=s.appearanceStreamContent[B];if(p+="/"+B+" ",p+="<<",Object.keys(d).length>=1||Array.isArray(d)){for(var a in d)if(d.hasOwnProperty(a)){var m=d[a];typeof m=="function"&&(m=m.call(n,s)),p+="/"+a+" "+m+" ",n.internal.acroformPlugin.xForms.indexOf(m)>=0||n.internal.acroformPlugin.xForms.push(m)}}else typeof(m=d)=="function"&&(m=m.call(n,s)),p+="/"+a+" "+m,n.internal.acroformPlugin.xForms.indexOf(m)>=0||n.internal.acroformPlugin.xForms.push(m);p+=">>"}l.push({key:"AP",value:`<<
`+p+">>"})}n.internal.putStream({additionalKeyValues:l,objectId:s.objId}),n.internal.out("endobj")}i&&(function(C,E){for(var v in C)if(C.hasOwnProperty(v)){var H=v,P=C[v];E.internal.newObjectDeferredBegin(P.objId,!0),je(P)==="object"&&typeof P.putStream=="function"&&P.putStream(),delete C[H]}})(n.internal.acroformPlugin.xForms,n)})(e,t)}),t.internal.acroformPlugin.isInitialized=!0}},r1=it.__acroform__.arrayToPdfArray=function(t,A,e){var r=function(a){return a};if(Array.isArray(t)){for(var n="[",i=0;i<t.length;i++)switch(i!==0&&(n+=" "),je(t[i])){case"boolean":case"number":case"object":n+=t[i].toString();break;case"string":t[i].substr(0,1)!=="/"?(A!==void 0&&e&&(r=e.internal.getEncryptor(A)),n+="("+ea(r(t[i].toString()))+")"):n+=t[i].toString()}return n+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},bu=function(t,A,e){var r=function(n){return n};return A!==void 0&&e&&(r=e.internal.getEncryptor(A)),(t=t||"").toString(),"("+ea(r(t))+")"},sn=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(t){this._objId=t}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};sn.prototype.toString=function(){return this.objId+" 0 R"},sn.prototype.putStream=function(){var t=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:t,objectId:this.objId}),this.scope.internal.out("endobj")},sn.prototype.getKeyValueListForStream=function(){var t=[],A=Object.getOwnPropertyNames(this).filter(function(i){return i!="content"&&i!="appearanceStreamContent"&&i!="scope"&&i!="objId"&&i.substring(0,1)!="_"});for(var e in A)if(Object.getOwnPropertyDescriptor(this,A[e]).configurable===!1){var r=A[e],n=this[r];n&&(Array.isArray(n)?t.push({key:r,value:r1(n,this.objId,this.scope)}):n instanceof sn?(n.scope=this.scope,t.push({key:r,value:n.objId+" 0 R"})):typeof n!="function"&&t.push({key:r,value:n}))}return t};var n1=function(){sn.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var t,A=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return A},set:function(e){A=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(e){t=e.trim()},get:function(){return t||null}})};ar(n1,sn);var i1=function(){sn.call(this);var t,A=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return A.length>0?A:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return A}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(t){var e=function(r){return r};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+ea(e(t))+")"}},set:function(e){t=e}})};ar(i1,sn);var qr=function t(){sn.call(this);var A=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return A},set:function(v){if(isNaN(v))throw new Error('Invalid value "'+v+'" for attribute F supplied.');A=v}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!ht(A,3)},set:function(v){v?this.F=dt(A,3):this.F=gt(A,3)}});var e=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return e},set:function(v){if(isNaN(v))throw new Error('Invalid value "'+v+'" for attribute Ff supplied.');e=v}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(r.length!==0)return r},set:function(v){r=v!==void 0?v:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(v){r[0]=v}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(v){r[1]=v}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(v){r[2]=v}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(v){r[3]=v}});var n="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return n},set:function(v){switch(v){case"/Btn":case"/Tx":case"/Ch":case"/Sig":n=v;break;default:throw new Error('Invalid value "'+v+'" for attribute FT supplied.')}}});var i=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!i||i.length<1){if(this instanceof Ml)return;i="FieldObject"+t.FieldNum++}var v=function(H){return H};return this.scope&&(v=this.scope.internal.getEncryptor(this.objId)),"("+ea(v(i))+")"},set:function(v){i=v.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return i},set:function(v){i=v}});var a="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return a},set:function(v){a=v}});var s="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return s},set:function(v){s=v}});var l=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return l},set:function(v){l=v}});var u=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return u===void 0?50/Of:u},set:function(v){u=v}});var f="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return f},set:function(v){f=v}});var p="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!p||this instanceof Ml||this instanceof Wi))return bu(p,this.objId,this.scope)},set:function(v){v=v.toString(),p=v}});var B=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(B)return this instanceof St==0?bu(B,this.objId,this.scope):B},set:function(v){v=v.toString(),B=this instanceof St==0?v.substr(0,1)==="("?Fa(v.substr(1,v.length-2)):Fa(v):v}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof St==1?Fa(B.substr(1,B.length-1)):B},set:function(v){v=v.toString(),B=this instanceof St==1?"/"+v:v}});var d=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(d)return d},set:function(v){this.V=v}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(d)return this instanceof St==0?bu(d,this.objId,this.scope):d},set:function(v){v=v.toString(),d=this instanceof St==0?v.substr(0,1)==="("?Fa(v.substr(1,v.length-2)):Fa(v):v}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof St==1?Fa(d.substr(1,d.length-1)):d},set:function(v){v=v.toString(),d=this instanceof St==1?"/"+v:v}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var m,C=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return C},set:function(v){v=!!v,C=v}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(m)return m},set:function(v){m=v}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!ht(this.Ff,1)},set:function(v){v?this.Ff=dt(this.Ff,1):this.Ff=gt(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!ht(this.Ff,2)},set:function(v){v?this.Ff=dt(this.Ff,2):this.Ff=gt(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!ht(this.Ff,3)},set:function(v){v?this.Ff=dt(this.Ff,3):this.Ff=gt(this.Ff,3)}});var E=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(E!==null)return E},set:function(v){if([0,1,2].indexOf(v)===-1)throw new Error('Invalid value "'+v+'" for attribute Q supplied.');E=v}}),Object.defineProperty(this,"textAlign",{get:function(){var v;switch(E){case 0:default:v="left";break;case 1:v="center";break;case 2:v="right"}return v},configurable:!0,enumerable:!0,set:function(v){switch(v){case"right":case 2:E=2;break;case"center":case 1:E=1;break;default:E=0}}})};ar(qr,sn);var Ha=function(){qr.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var t=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){t=e}});var A=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return r1(A,this.objId,this.scope)},set:function(e){var r,n;n=[],typeof(r=e)=="string"&&(n=(function(i,a,s){s||(s=1);for(var l,u=[];l=a.exec(i);)u.push(l[s]);return u})(r,/\((.*?)\)/g)),A=n}}),this.getOptions=function(){return A},this.setOptions=function(e){A=e,this.sort&&A.sort()},this.addOption=function(e){e=(e=e||"").toString(),A.push(e),this.sort&&A.sort()},this.removeOption=function(e,r){for(r=r||!1,e=(e=e||"").toString();A.indexOf(e)!==-1&&(A.splice(A.indexOf(e),1),r!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!ht(this.Ff,18)},set:function(e){e?this.Ff=dt(this.Ff,18):this.Ff=gt(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!ht(this.Ff,19)},set:function(e){this.combo===!0&&(e?this.Ff=dt(this.Ff,19):this.Ff=gt(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!ht(this.Ff,20)},set:function(e){e?(this.Ff=dt(this.Ff,20),A.sort()):this.Ff=gt(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!ht(this.Ff,22)},set:function(e){e?this.Ff=dt(this.Ff,22):this.Ff=gt(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!ht(this.Ff,23)},set:function(e){e?this.Ff=dt(this.Ff,23):this.Ff=gt(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!ht(this.Ff,27)},set:function(e){e?this.Ff=dt(this.Ff,27):this.Ff=gt(this.Ff,27)}}),this.hasAppearanceStream=!1};ar(Ha,qr);var Na=function(){Ha.call(this),this.fontName="helvetica",this.combo=!1};ar(Na,Ha);var ka=function(){Na.call(this),this.combo=!0};ar(ka,Na);var ml=function(){ka.call(this),this.edit=!0};ar(ml,ka);var St=function(){qr.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!ht(this.Ff,15)},set:function(e){e?this.Ff=dt(this.Ff,15):this.Ff=gt(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!ht(this.Ff,16)},set:function(e){e?this.Ff=dt(this.Ff,16):this.Ff=gt(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!ht(this.Ff,17)},set:function(e){e?this.Ff=dt(this.Ff,17):this.Ff=gt(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!ht(this.Ff,26)},set:function(e){e?this.Ff=dt(this.Ff,26):this.Ff=gt(this.Ff,26)}});var t,A={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(i){return i};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),Object.keys(A).length!==0){var r,n=[];for(r in n.push("<<"),A)n.push("/"+r+" ("+ea(e(A[r]))+")");return n.push(">>"),n.join(`
`)}},set:function(e){je(e)==="object"&&(A=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return A.CA||""},set:function(e){typeof e=="string"&&(A.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(e){t="/"+e}})};ar(St,qr);var vl=function(){St.call(this),this.pushButton=!0};ar(vl,St);var Ta=function(){St.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(A){t=A!==void 0?A:[]}})};ar(Ta,St);var Ml=function(){var t,A;qr.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(n){t=n}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return A},set:function(n){A=n}});var e,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var n=function(s){return s};this.scope&&(n=this.scope.internal.getEncryptor(this.objId));var i,a=[];for(i in a.push("<<"),r)a.push("/"+i+" ("+ea(n(r[i]))+")");return a.push(">>"),a.join(`
`)},set:function(n){je(n)==="object"&&(r=n)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(n){typeof n=="string"&&(r.CA=n)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(n){e=n}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(n){e="/"+n}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=kA.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};ar(Ml,qr),Ta.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var A in this.Kids)if(this.Kids.hasOwnProperty(A)){var e=this.Kids[A];e.appearanceStreamContent=t.createAppearanceStream(e.optionName),e.caption=t.getCA()}},Ta.prototype.createOption=function(t){var A=new Ml;return A.Parent=this,A.optionName=t,this.Kids.push(A),zF.call(this.scope,A),A};var Cl=function(){St.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=kA.CheckBox.createAppearanceStream()};ar(Cl,St);var Wi=function(){qr.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!ht(this.Ff,13)},set:function(A){A?this.Ff=dt(this.Ff,13):this.Ff=gt(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!ht(this.Ff,21)},set:function(A){A?this.Ff=dt(this.Ff,21):this.Ff=gt(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!ht(this.Ff,23)},set:function(A){A?this.Ff=dt(this.Ff,23):this.Ff=gt(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!ht(this.Ff,24)},set:function(A){A?this.Ff=dt(this.Ff,24):this.Ff=gt(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!ht(this.Ff,25)},set:function(A){A?this.Ff=dt(this.Ff,25):this.Ff=gt(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!ht(this.Ff,26)},set:function(A){A?this.Ff=dt(this.Ff,26):this.Ff=gt(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(A){t=A}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(A){Number.isInteger(A)&&(t=A)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};ar(Wi,qr);var bl=function(){Wi.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!ht(this.Ff,14)},set:function(t){t?this.Ff=dt(this.Ff,14):this.Ff=gt(this.Ff,14)}}),this.password=!0};ar(bl,Wi);var kA={CheckBox:{createAppearanceStream:function(){return{N:{On:kA.CheckBox.YesNormal},D:{On:kA.CheckBox.YesPushDown,Off:kA.CheckBox.OffPushDown}}},YesPushDown:function(t){var A=rn(t);A.scope=t.scope;var e=[],r=t.scope.internal.getFont(t.fontName,t.fontStyle).id,n=t.scope.__private__.encodeColorString(t.color),i=uf(t,t.caption);return e.push("0.749023 g"),e.push("0 0 "+de(kA.internal.getWidth(t))+" "+de(kA.internal.getHeight(t))+" re"),e.push("f"),e.push("BMC"),e.push("q"),e.push("0 0 1 rg"),e.push("/"+r+" "+de(i.fontSize)+" Tf "+n),e.push("BT"),e.push(i.text),e.push("ET"),e.push("Q"),e.push("EMC"),A.stream=e.join(`
`),A},YesNormal:function(t){var A=rn(t);A.scope=t.scope;var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color),n=[],i=kA.internal.getHeight(t),a=kA.internal.getWidth(t),s=uf(t,t.caption);return n.push("1 g"),n.push("0 0 "+de(a)+" "+de(i)+" re"),n.push("f"),n.push("q"),n.push("0 0 1 rg"),n.push("0 0 "+de(a-1)+" "+de(i-1)+" re"),n.push("W"),n.push("n"),n.push("0 g"),n.push("BT"),n.push("/"+e+" "+de(s.fontSize)+" Tf "+r),n.push(s.text),n.push("ET"),n.push("Q"),A.stream=n.join(`
`),A},OffPushDown:function(t){var A=rn(t);A.scope=t.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+de(kA.internal.getWidth(t))+" "+de(kA.internal.getHeight(t))+" re"),e.push("f"),A.stream=e.join(`
`),A}},RadioButton:{Circle:{createAppearanceStream:function(t){var A={D:{Off:kA.RadioButton.Circle.OffPushDown},N:{}};return A.N[t]=kA.RadioButton.Circle.YesNormal,A.D[t]=kA.RadioButton.Circle.YesPushDown,A},getCA:function(){return"l"},YesNormal:function(t){var A=rn(t);A.scope=t.scope;var e=[],r=kA.internal.getWidth(t)<=kA.internal.getHeight(t)?kA.internal.getWidth(t)/4:kA.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var n=kA.internal.Bezier_C,i=Number((r*n).toFixed(5));return e.push("q"),e.push("1 0 0 1 "+Ai(kA.internal.getWidth(t)/2)+" "+Ai(kA.internal.getHeight(t)/2)+" cm"),e.push(r+" 0 m"),e.push(r+" "+i+" "+i+" "+r+" 0 "+r+" c"),e.push("-"+i+" "+r+" -"+r+" "+i+" -"+r+" 0 c"),e.push("-"+r+" -"+i+" -"+i+" -"+r+" 0 -"+r+" c"),e.push(i+" -"+r+" "+r+" -"+i+" "+r+" 0 c"),e.push("f"),e.push("Q"),A.stream=e.join(`
`),A},YesPushDown:function(t){var A=rn(t);A.scope=t.scope;var e=[],r=kA.internal.getWidth(t)<=kA.internal.getHeight(t)?kA.internal.getWidth(t)/4:kA.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var n=Number((2*r).toFixed(5)),i=Number((n*kA.internal.Bezier_C).toFixed(5)),a=Number((r*kA.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+Ai(kA.internal.getWidth(t)/2)+" "+Ai(kA.internal.getHeight(t)/2)+" cm"),e.push(n+" 0 m"),e.push(n+" "+i+" "+i+" "+n+" 0 "+n+" c"),e.push("-"+i+" "+n+" -"+n+" "+i+" -"+n+" 0 c"),e.push("-"+n+" -"+i+" -"+i+" -"+n+" 0 -"+n+" c"),e.push(i+" -"+n+" "+n+" -"+i+" "+n+" 0 c"),e.push("f"),e.push("Q"),e.push("0 g"),e.push("q"),e.push("1 0 0 1 "+Ai(kA.internal.getWidth(t)/2)+" "+Ai(kA.internal.getHeight(t)/2)+" cm"),e.push(r+" 0 m"),e.push(r+" "+a+" "+a+" "+r+" 0 "+r+" c"),e.push("-"+a+" "+r+" -"+r+" "+a+" -"+r+" 0 c"),e.push("-"+r+" -"+a+" -"+a+" -"+r+" 0 -"+r+" c"),e.push(a+" -"+r+" "+r+" -"+a+" "+r+" 0 c"),e.push("f"),e.push("Q"),A.stream=e.join(`
`),A},OffPushDown:function(t){var A=rn(t);A.scope=t.scope;var e=[],r=kA.internal.getWidth(t)<=kA.internal.getHeight(t)?kA.internal.getWidth(t)/4:kA.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var n=Number((2*r).toFixed(5)),i=Number((n*kA.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+Ai(kA.internal.getWidth(t)/2)+" "+Ai(kA.internal.getHeight(t)/2)+" cm"),e.push(n+" 0 m"),e.push(n+" "+i+" "+i+" "+n+" 0 "+n+" c"),e.push("-"+i+" "+n+" -"+n+" "+i+" -"+n+" 0 c"),e.push("-"+n+" -"+i+" -"+i+" -"+n+" 0 -"+n+" c"),e.push(i+" -"+n+" "+n+" -"+i+" "+n+" 0 c"),e.push("f"),e.push("Q"),A.stream=e.join(`
`),A}},Cross:{createAppearanceStream:function(t){var A={D:{Off:kA.RadioButton.Cross.OffPushDown},N:{}};return A.N[t]=kA.RadioButton.Cross.YesNormal,A.D[t]=kA.RadioButton.Cross.YesPushDown,A},getCA:function(){return"8"},YesNormal:function(t){var A=rn(t);A.scope=t.scope;var e=[],r=kA.internal.calculateCross(t);return e.push("q"),e.push("1 1 "+de(kA.internal.getWidth(t)-2)+" "+de(kA.internal.getHeight(t)-2)+" re"),e.push("W"),e.push("n"),e.push(de(r.x1.x)+" "+de(r.x1.y)+" m"),e.push(de(r.x2.x)+" "+de(r.x2.y)+" l"),e.push(de(r.x4.x)+" "+de(r.x4.y)+" m"),e.push(de(r.x3.x)+" "+de(r.x3.y)+" l"),e.push("s"),e.push("Q"),A.stream=e.join(`
`),A},YesPushDown:function(t){var A=rn(t);A.scope=t.scope;var e=kA.internal.calculateCross(t),r=[];return r.push("0.749023 g"),r.push("0 0 "+de(kA.internal.getWidth(t))+" "+de(kA.internal.getHeight(t))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+de(kA.internal.getWidth(t)-2)+" "+de(kA.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(de(e.x1.x)+" "+de(e.x1.y)+" m"),r.push(de(e.x2.x)+" "+de(e.x2.y)+" l"),r.push(de(e.x4.x)+" "+de(e.x4.y)+" m"),r.push(de(e.x3.x)+" "+de(e.x3.y)+" l"),r.push("s"),r.push("Q"),A.stream=r.join(`
`),A},OffPushDown:function(t){var A=rn(t);A.scope=t.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+de(kA.internal.getWidth(t))+" "+de(kA.internal.getHeight(t))+" re"),e.push("f"),A.stream=e.join(`
`),A}}},createDefaultAppearanceStream:function(t){var A=t.scope.internal.getFont(t.fontName,t.fontStyle).id,e=t.scope.__private__.encodeColorString(t.color);return"/"+A+" "+t.fontSize+" Tf "+e}};kA.internal={Bezier_C:.551915024494,calculateCross:function(t){var A=kA.internal.getWidth(t),e=kA.internal.getHeight(t),r=Math.min(A,e);return{x1:{x:(A-r)/2,y:(e-r)/2+r},x2:{x:(A-r)/2+r,y:(e-r)/2},x3:{x:(A-r)/2,y:(e-r)/2},x4:{x:(A-r)/2+r,y:(e-r)/2+r}}}},kA.internal.getWidth=function(t){var A=0;return je(t)==="object"&&(A=Hg(t.Rect[2])),A},kA.internal.getHeight=function(t){var A=0;return je(t)==="object"&&(A=Hg(t.Rect[3])),A};var zF=it.addField=function(t){if(WF(this,t),!(t instanceof qr))throw new Error("Invalid argument passed to jsPDF.addField.");var A;return(A=t).scope.internal.acroformPlugin.printedOut&&(A.scope.internal.acroformPlugin.printedOut=!1,A.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),A.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(A),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};it.AcroFormChoiceField=Ha,it.AcroFormListBox=Na,it.AcroFormComboBox=ka,it.AcroFormEditBox=ml,it.AcroFormButton=St,it.AcroFormPushButton=vl,it.AcroFormRadioButton=Ta,it.AcroFormCheckBox=Cl,it.AcroFormTextField=Wi,it.AcroFormPasswordField=bl,it.AcroFormAppearance=kA,it.AcroForm={ChoiceField:Ha,ListBox:Na,ComboBox:ka,EditBox:ml,Button:St,PushButton:vl,RadioButton:Ta,CheckBox:Cl,TextField:Wi,PasswordField:bl,Appearance:kA},qA.AcroForm={ChoiceField:Ha,ListBox:Na,ComboBox:ka,EditBox:ml,Button:St,PushButton:vl,RadioButton:Ta,CheckBox:Cl,TextField:Wi,PasswordField:bl,Appearance:kA};qA.AcroForm;function a1(t){return t.reduce(function(A,e,r){return A[e]=r,A},{})}(function(t){var A="addImage_";t.__addimage__={};var e="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},n=t.__addimage__.getImageFileTypeByImageData=function(U,S){var G,V,nA,oA,lA,eA=e;if((S=S||e)==="RGBA"||U.data!==void 0&&U.data instanceof Uint8ClampedArray&&"height"in U&&"width"in U)return"RGBA";if(J(U))for(lA in r)for(nA=r[lA],G=0;G<nA.length;G+=1){for(oA=!0,V=0;V<nA[G].length;V+=1)if(nA[G][V]!==void 0&&nA[G][V]!==U[V]){oA=!1;break}if(oA===!0){eA=lA;break}}else for(lA in r)for(nA=r[lA],G=0;G<nA.length;G+=1){for(oA=!0,V=0;V<nA[G].length;V+=1)if(nA[G][V]!==void 0&&nA[G][V]!==U.charCodeAt(V)){oA=!1;break}if(oA===!0){eA=lA;break}}return eA===e&&S!==e&&(eA=S),eA},i=function U(S){for(var G=this.internal.write,V=this.internal.putStream,nA=(0,this.internal.getFilters)();nA.indexOf("FlateEncode")!==-1;)nA.splice(nA.indexOf("FlateEncode"),1);S.objectId=this.internal.newObject();var oA=[];if(oA.push({key:"Type",value:"/XObject"}),oA.push({key:"Subtype",value:"/Image"}),oA.push({key:"Width",value:S.width}),oA.push({key:"Height",value:S.height}),S.colorSpace===v.INDEXED?oA.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(S.palette.length/3-1)+" "+("sMask"in S&&S.sMask!==void 0?S.objectId+2:S.objectId+1)+" 0 R]"}):(oA.push({key:"ColorSpace",value:"/"+S.colorSpace}),S.colorSpace===v.DEVICE_CMYK&&oA.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),oA.push({key:"BitsPerComponent",value:S.bitsPerComponent}),"decodeParameters"in S&&S.decodeParameters!==void 0&&oA.push({key:"DecodeParms",value:"<<"+S.decodeParameters+">>"}),"transparency"in S&&Array.isArray(S.transparency)&&S.transparency.length>0){for(var lA="",eA=0,uA=S.transparency.length;eA<uA;eA++)lA+=S.transparency[eA]+" "+S.transparency[eA]+" ";oA.push({key:"Mask",value:"["+lA+"]"})}S.sMask!==void 0&&oA.push({key:"SMask",value:S.objectId+1+" 0 R"});var vA=S.filter!==void 0?["/"+S.filter]:void 0;if(V({data:S.data,additionalKeyValues:oA,alreadyAppliedFilters:vA,objectId:S.objectId}),G("endobj"),"sMask"in S&&S.sMask!==void 0){var hA,F=(hA=S.sMaskBitsPerComponent)!==null&&hA!==void 0?hA:S.bitsPerComponent,k={width:S.width,height:S.height,colorSpace:"DeviceGray",bitsPerComponent:F,data:S.sMask};"filter"in S&&(k.decodeParameters="/Predictor ".concat(S.predictor," /Colors 1 /BitsPerComponent ").concat(F," /Columns ").concat(S.width),k.filter=S.filter),U.call(this,k)}if(S.colorSpace===v.INDEXED){var M=this.internal.newObject();V({data:K(new Uint8Array(S.palette)),objectId:M}),G("endobj")}},a=function(){var U=this.internal.collections[A+"images"];for(var S in U)i.call(this,U[S])},s=function(){var U,S=this.internal.collections[A+"images"],G=this.internal.write;for(var V in S)G("/I"+(U=S[V]).index,U.objectId,"0","R")},l=function(){this.internal.collections[A+"images"]||(this.internal.collections[A+"images"]={},this.internal.events.subscribe("putResources",a),this.internal.events.subscribe("putXobjectDict",s))},u=function(){var U=this.internal.collections[A+"images"];return l.call(this),U},f=function(){return Object.keys(this.internal.collections[A+"images"]).length},p=function(U){return typeof t["process"+U.toUpperCase()]=="function"},B=function(U){return je(U)==="object"&&U.nodeType===1},d=function(U,S){if(U.nodeName==="IMG"&&U.hasAttribute("src")){var G=""+U.getAttribute("src");if(G.indexOf("data:image/")===0)return wl(unescape(G).split("base64,").pop());var V=t.loadFile(G,!0);if(V!==void 0)return V}if(U.nodeName==="CANVAS"){if(U.width===0||U.height===0)throw new Error("Given canvas must have data. Canvas width: "+U.width+", height: "+U.height);var nA;switch(S){case"PNG":nA="image/png";break;case"WEBP":nA="image/webp";break;default:nA="image/jpeg"}return wl(U.toDataURL(nA,1).split("base64,").pop())}},m=function(U){var S=this.internal.collections[A+"images"];if(S){for(var G in S)if(U===S[G].alias)return S[G]}},C=function(U,S,G){return U||S||(U=-96,S=-96),U<0&&(U=-1*G.width*72/U/this.internal.scaleFactor),S<0&&(S=-1*G.height*72/S/this.internal.scaleFactor),U===0&&(U=S*G.width/G.height),S===0&&(S=U*G.height/G.width),[U,S]},E=function(U,S,G,V,nA,oA){var lA=C.call(this,G,V,nA),eA=this.internal.getCoordinateString,uA=this.internal.getVerticalCoordinateString,vA=u.call(this);if(G=lA[0],V=lA[1],vA[nA.index]=nA,oA){oA*=Math.PI/180;var hA=Math.cos(oA),F=Math.sin(oA),k=function(W){return W.toFixed(4)},M=[k(hA),k(F),k(-1*F),k(hA),0,0,"cm"]}this.internal.write("q"),oA?(this.internal.write([1,"0","0",1,eA(U),uA(S+V),"cm"].join(" ")),this.internal.write(M.join(" ")),this.internal.write([eA(G),"0","0",eA(V),"0","0","cm"].join(" "))):this.internal.write([eA(G),"0","0",eA(V),eA(U),uA(S+V),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+nA.index+" Do"),this.internal.write("Q")},v=t.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};t.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var H=t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},P=t.__addimage__.sHashCode=function(U){var S,G,V=0;if(typeof U=="string")for(G=U.length,S=0;S<G;S++)V=(V<<5)-V+U.charCodeAt(S),V|=0;else if(J(U))for(G=U.byteLength/2,S=0;S<G;S++)V=(V<<5)-V+U[S],V|=0;return V},N=t.__addimage__.validateStringAsBase64=function(U){(U=U||"").toString().trim();var S=!0;return U.length===0&&(S=!1),U.length%4!=0&&(S=!1),/^[A-Za-z0-9+/]+$/.test(U.substr(0,U.length-2))===!1&&(S=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(U.substr(-2))===!1&&(S=!1),S},j=t.__addimage__.extractImageFromDataUrl=function(U){if(U==null||!(U=U.trim()).startsWith("data:"))return null;var S=U.indexOf(",");return S<0?null:U.substring(0,S).trim().endsWith("base64")?U.substring(S+1):null};t.__addimage__.isArrayBuffer=function(U){return U instanceof ArrayBuffer};var J=t.__addimage__.isArrayBufferView=function(U){return U instanceof Int8Array||U instanceof Uint8Array||U instanceof Uint8ClampedArray||U instanceof Int16Array||U instanceof Uint16Array||U instanceof Int32Array||U instanceof Uint32Array||U instanceof Float32Array||U instanceof Float64Array},X=t.__addimage__.binaryStringToUint8Array=function(U){for(var S=U.length,G=new Uint8Array(S),V=0;V<S;V++)G[V]=U.charCodeAt(V);return G},K=t.__addimage__.arrayBufferToBinaryString=function(U){for(var S="",G=J(U)?U:new Uint8Array(U),V=0;V<G.length;V+=8192)S+=String.fromCharCode.apply(null,G.subarray(V,V+8192));return S};t.addImage=function(){var U,S,G,V,nA,oA,lA,eA,uA;if(typeof arguments[1]=="number"?(S=e,G=arguments[1],V=arguments[2],nA=arguments[3],oA=arguments[4],lA=arguments[5],eA=arguments[6],uA=arguments[7]):(S=arguments[1],G=arguments[2],V=arguments[3],nA=arguments[4],oA=arguments[5],lA=arguments[6],eA=arguments[7],uA=arguments[8]),je(U=arguments[0])==="object"&&!B(U)&&"imageData"in U){var vA=U;U=vA.imageData,S=vA.format||S||e,G=vA.x||G||0,V=vA.y||V||0,nA=vA.w||vA.width||nA,oA=vA.h||vA.height||oA,lA=vA.alias||lA,eA=vA.compression||eA,uA=vA.rotation||vA.angle||uA}var hA=this.internal.getFilters();if(eA===void 0&&hA.indexOf("FlateEncode")!==-1&&(eA="SLOW"),isNaN(G)||isNaN(V))throw new Error("Invalid coordinates passed to jsPDF.addImage");l.call(this);var F=L.call(this,U,S,lA,eA);return E.call(this,G,V,nA,oA,F,uA),this};var L=function(U,S,G,V){var nA,oA,lA;if(typeof U=="string"&&n(U)===e){U=unescape(U);var eA=q(U,!1);(eA!==""||(eA=t.loadFile(U,!0))!==void 0)&&(U=eA)}if(B(U)&&(U=d(U,S)),S=n(U,S),!p(S))throw new Error("addImage does not support files of type '"+S+"', please ensure that a plugin for '"+S+"' support is added.");if(((lA=G)==null||lA.length===0)&&(G=(function(uA){return typeof uA=="string"||J(uA)?P(uA):J(uA.data)?P(uA.data):null})(U)),(nA=m.call(this,G))||(U instanceof Uint8Array||S==="RGBA"||(oA=U,U=X(U)),nA=this["process"+S.toUpperCase()](U,f.call(this),G,(function(uA){return uA&&typeof uA=="string"&&(uA=uA.toUpperCase()),uA in t.image_compression?uA:H.NONE})(V),oA)),!nA)throw new Error("An unknown error occurred whilst processing the image.");return nA},q=t.__addimage__.convertBase64ToBinaryString=function(U,S){S=typeof S!="boolean"||S;var G,V="";if(typeof U=="string"){var nA;G=(nA=j(U))!==null&&nA!==void 0?nA:U;try{V=wl(G)}catch(oA){if(S)throw N(G)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+oA.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return V};t.getImageProperties=function(U){var S,G,V="";if(B(U)&&(U=d(U)),typeof U=="string"&&n(U)===e&&((V=q(U,!1))===""&&(V=t.loadFile(U)||""),U=V),G=n(U),!p(G))throw new Error("addImage does not support files of type '"+G+"', please ensure that a plugin for '"+G+"' support is added.");if(U instanceof Uint8Array||(U=X(U)),!(S=this["process"+G.toUpperCase()](U)))throw new Error("An unknown error occurred whilst processing the image");return S.fileType=G,S}})(qA.API),(function(t){var A=function(e){if(e!==void 0&&e!="")return!0};qA.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(e){for(var r,n,i,a=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString,l=this.internal.getPageInfoByObjId(e.objId),u=e.pageContext.annotations,f=!1,p=0;p<u.length&&!f;p++)switch((r=u[p]).type){case"link":(A(r.options.url)||A(r.options.pageNumber))&&(f=!0);break;case"reference":case"text":case"freetext":f=!0}if(f!=0){this.internal.write("/Annots [");for(var B=0;B<u.length;B++){r=u[B];var d=this.internal.pdfEscape,m=this.internal.getEncryptor(e.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var C=this.internal.newAdditionalObject(),E=this.internal.newAdditionalObject(),v=this.internal.getEncryptor(C.objId),H=r.title||"Note";i="<</Type /Annot /Subtype /Text "+(n="/Rect ["+a(r.bounds.x)+" "+s(r.bounds.y+r.bounds.h)+" "+a(r.bounds.x+r.bounds.w)+" "+s(r.bounds.y)+"] ")+"/Contents ("+d(v(r.contents))+")",i+=" /Popup "+E.objId+" 0 R",i+=" /P "+l.objId+" 0 R",i+=" /T ("+d(v(H))+") >>",C.content=i;var P=C.objId+" 0 R";i="<</Type /Annot /Subtype /Popup "+(n="/Rect ["+a(r.bounds.x+30)+" "+s(r.bounds.y+r.bounds.h)+" "+a(r.bounds.x+r.bounds.w+30)+" "+s(r.bounds.y)+"] ")+" /Parent "+P,r.open&&(i+=" /Open true"),i+=" >>",E.content=i,this.internal.write(C.objId,"0 R",E.objId,"0 R");break;case"freetext":n="/Rect ["+a(r.bounds.x)+" "+s(r.bounds.y)+" "+a(r.bounds.x+r.bounds.w)+" "+s(r.bounds.y+r.bounds.h)+"] ";var N=r.color||"#000000";i="<</Type /Annot /Subtype /FreeText "+n+"/Contents ("+d(m(r.contents))+")",i+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+N+")",i+=" /Border [0 0 0]",i+=" >>",this.internal.write(i);break;case"link":if(r.options.name){var j=this.annotations._nameMap[r.options.name];r.options.pageNumber=j.page,r.options.top=j.y}else r.options.top||(r.options.top=0);if(n="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",i="",r.options.url)i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /A <</S /URI /URI ("+d(m(r.options.url))+") >>";else if(r.options.pageNumber)switch(i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":i+=" /Fit]";break;case"FitH":i+=" /FitH "+r.options.top+"]";break;case"FitV":r.options.left=r.options.left||0,i+=" /FitV "+r.options.left+"]";break;default:var J=s(r.options.top);r.options.left=r.options.left||0,r.options.zoom===void 0&&(r.options.zoom=0),i+=" /XYZ "+r.options.left+" "+J+" "+r.options.zoom+"]"}i!=""&&(i+=" >>",this.internal.write(i))}}this.internal.write("]")}}]),t.createAnnotation=function(e){var r=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":r.pageContext.annotations.push(e)}},t.link=function(e,r,n,i,a){var s=this.internal.getCurrentPageInfo(),l=this.internal.getCoordinateString,u=this.internal.getVerticalCoordinateString;s.pageContext.annotations.push({finalBounds:{x:l(e),y:u(r),w:l(e+n),h:u(r+i)},options:a,type:"link"})},t.textWithLink=function(e,r,n,i){var a,s,l=this.getTextWidth(e),u=this.internal.getLineHeight()/this.internal.scaleFactor;if(i.maxWidth!==void 0){s=i.maxWidth;var f=this.splitTextToSize(e,s).length;a=Math.ceil(u*f)}else s=l,a=u;return this.text(e,r,n,i),n+=.2*u,i.align==="center"&&(r-=l/2),i.align==="right"&&(r-=l),this.link(r,n-u,s,a,i),l},t.getTextWidth=function(e){var r=this.internal.getFontSize();return this.getStringUnitWidth(e)*r/this.internal.scaleFactor}})(qA.API),(function(t){var A={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},e={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},n=[1570,1571,1573,1575];t.__arabicParser__={};var i=t.__arabicParser__.isInArabicSubstitutionA=function(C){return A[C.charCodeAt(0)]!==void 0},a=t.__arabicParser__.isArabicLetter=function(C){return typeof C=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(C)},s=t.__arabicParser__.isArabicEndLetter=function(C){return a(C)&&i(C)&&A[C.charCodeAt(0)].length<=2},l=t.__arabicParser__.isArabicAlfLetter=function(C){return a(C)&&n.indexOf(C.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(C){return a(C)&&i(C)&&A[C.charCodeAt(0)].length>=1};var u=t.__arabicParser__.arabicLetterHasFinalForm=function(C){return a(C)&&i(C)&&A[C.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(C){return a(C)&&i(C)&&A[C.charCodeAt(0)].length>=3};var f=t.__arabicParser__.arabicLetterHasMedialForm=function(C){return a(C)&&i(C)&&A[C.charCodeAt(0)].length==4},p=t.__arabicParser__.resolveLigatures=function(C){var E=0,v=e,H="",P=0;for(E=0;E<C.length;E+=1)v[C.charCodeAt(E)]!==void 0?(P++,typeof(v=v[C.charCodeAt(E)])=="number"&&(H+=String.fromCharCode(v),v=e,P=0),E===C.length-1&&(v=e,H+=C.charAt(E-(P-1)),E-=P-1,P=0)):(v=e,H+=C.charAt(E-P),E-=P,P=0);return H};t.__arabicParser__.isArabicDiacritic=function(C){return C!==void 0&&r[C.charCodeAt(0)]!==void 0};var B=t.__arabicParser__.getCorrectForm=function(C,E,v){return a(C)?i(C)===!1?-1:!u(C)||!a(E)&&!a(v)||!a(v)&&s(E)||s(C)&&!a(E)||s(C)&&l(E)||s(C)&&s(E)?0:f(C)&&a(E)&&!s(E)&&a(v)&&u(v)?3:s(C)||!a(v)?1:2:-1},d=function(C){var E=0,v=0,H=0,P="",N="",j="",J=(C=C||"").split("\\s+"),X=[];for(E=0;E<J.length;E+=1){for(X.push(""),v=0;v<J[E].length;v+=1)P=J[E][v],N=J[E][v-1],j=J[E][v+1],a(P)?(H=B(P,N,j),X[E]+=H!==-1?String.fromCharCode(A[P.charCodeAt(0)][H]):P):X[E]+=P;X[E]=p(X[E])}return X.join(" ")},m=t.__arabicParser__.processArabic=t.processArabic=function(){var C,E=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,v=[];if(Array.isArray(E)){var H=0;for(v=[],H=0;H<E.length;H+=1)Array.isArray(E[H])?v.push([d(E[H][0]),E[H][1],E[H][2]]):v.push([d(E[H])]);C=v}else C=d(E);return typeof arguments[0]=="string"?C:(arguments[0].text=C,arguments[0])};t.events.push(["preProcessText",m])})(qA.API),qA.API.autoPrint=function(t){var A;return(t=t||{}).variant=t.variant||"non-conform",t.variant==="javascript"?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){A=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+A+" 0 R")})),this},(function(t){var A=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(s){e=s}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(s){r=isNaN(s)||Number.isInteger(s)===!1||s<0?150:s,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(s){n=isNaN(s)||Number.isInteger(s)===!1||s<0?300:s,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var i=[];Object.defineProperty(this,"childNodes",{get:function(){return i},set:function(s){i=s}});var a={};Object.defineProperty(this,"style",{get:function(){return a},set:function(s){a=s}}),Object.defineProperty(this,"parentNode",{})};A.prototype.getContext=function(e,r){var n;if((e=e||"2d")!=="2d")return null;for(n in r)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=r[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},A.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new A,this.canvas.pdf=this}])})(qA.API),(function(t){var A={left:0,top:0,bottom:0,right:0},e=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},A),this.internal.__cell__.margins.width=this.getPageWidth(),n.call(this))},n=function(){this.internal.__cell__.lastCell=new i,this.internal.__cell__.pages=1},i=function(){var l=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return l},set:function(C){l=C}});var u=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return u},set:function(C){u=C}});var f=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return f},set:function(C){f=C}});var p=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return p},set:function(C){p=C}});var B=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return B},set:function(C){B=C}});var d=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return d},set:function(C){d=C}});var m=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return m},set:function(C){m=C}}),this};i.prototype.clone=function(){return new i(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},i.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(l){return r.call(this),this.internal.__cell__.headerFunction=typeof l=="function"?l:void 0,this},t.getTextDimensions=function(l,u){r.call(this);var f=(u=u||{}).fontSize||this.getFontSize(),p=u.font||this.getFont(),B=u.scaleFactor||this.internal.scaleFactor,d=0,m=0,C=0,E=this;if(!Array.isArray(l)&&typeof l!="string"){if(typeof l!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");l=String(l)}var v=u.maxWidth;v>0?typeof l=="string"?l=this.splitTextToSize(l,v):Object.prototype.toString.call(l)==="[object Array]"&&(l=l.reduce(function(P,N){return P.concat(E.splitTextToSize(N,v))},[])):l=Array.isArray(l)?l:[l];for(var H=0;H<l.length;H++)d<(C=this.getStringUnitWidth(l[H],{font:p})*f)&&(d=C);return d!==0&&(m=l.length),{w:d/=B,h:Math.max((m*f*this.getLineHeightFactor()-f*(this.getLineHeightFactor()-1))/B,0)}},t.cellAddPage=function(){r.call(this),this.addPage();var l=this.internal.__cell__.margins||A;return this.internal.__cell__.lastCell=new i(l.left,l.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var a=t.cell=function(){var l;l=arguments[0]instanceof i?arguments[0]:new i(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),r.call(this);var u=this.internal.__cell__.lastCell,f=this.internal.__cell__.padding,p=this.internal.__cell__.margins||A,B=this.internal.__cell__.tableHeaderRow,d=this.internal.__cell__.printHeaders;return u.lineNumber!==void 0&&(u.lineNumber===l.lineNumber?(l.x=(u.x||0)+(u.width||0),l.y=u.y||0):u.y+u.height+l.height+p.bottom>this.getPageHeight()?(this.cellAddPage(),l.y=p.top,d&&B&&(this.printHeaderRow(l.lineNumber,!0),l.y+=B[0].height)):l.y=u.y+u.height||l.y),l.text[0]!==void 0&&(this.rect(l.x,l.y,l.width,l.height,e===!0?"FD":void 0),l.align==="right"?this.text(l.text,l.x+l.width-f,l.y+f,{align:"right",baseline:"top"}):l.align==="center"?this.text(l.text,l.x+l.width/2,l.y+f,{align:"center",baseline:"top",maxWidth:l.width-f-f}):this.text(l.text,l.x+f,l.y+f,{align:"left",baseline:"top",maxWidth:l.width-f-f})),this.internal.__cell__.lastCell=l,this};t.table=function(l,u,f,p,B){if(r.call(this),!f)throw new Error("No data for PDF table.");var d,m,C,E,v=[],H=[],P=[],N={},j={},J=[],X=[],K=(B=B||{}).autoSize||!1,L=B.printHeaders!==!1,q=B.css&&B.css["font-size"]!==void 0?16*B.css["font-size"]:B.fontSize||12,U=B.margins||Object.assign({width:this.getPageWidth()},A),S=typeof B.padding=="number"?B.padding:3,G=B.headerBackgroundColor||"#c8c8c8",V=B.headerTextColor||"#000";if(n.call(this),this.internal.__cell__.printHeaders=L,this.internal.__cell__.margins=U,this.internal.__cell__.table_font_size=q,this.internal.__cell__.padding=S,this.internal.__cell__.headerBackgroundColor=G,this.internal.__cell__.headerTextColor=V,this.setFontSize(q),p==null)H=v=Object.keys(f[0]),P=v.map(function(){return"left"});else if(Array.isArray(p)&&je(p[0])==="object")for(v=p.map(function(vA){return vA.name}),H=p.map(function(vA){return vA.prompt||vA.name||""}),P=p.map(function(vA){return vA.align||"left"}),d=0;d<p.length;d+=1)j[p[d].name]=.7499990551181103*p[d].width;else Array.isArray(p)&&typeof p[0]=="string"&&(H=v=p,P=v.map(function(){return"left"}));if(K||Array.isArray(p)&&typeof p[0]=="string")for(d=0;d<v.length;d+=1){for(N[E=v[d]]=f.map(function(vA){return vA[E]}),this.setFont(void 0,"bold"),J.push(this.getTextDimensions(H[d],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),m=N[E],this.setFont(void 0,"normal"),C=0;C<m.length;C+=1)J.push(this.getTextDimensions(m[C],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);j[E]=Math.max.apply(null,J)+S+S,J=[]}if(L){var nA={};for(d=0;d<v.length;d+=1)nA[v[d]]={},nA[v[d]].text=H[d],nA[v[d]].align=P[d];var oA=s.call(this,nA,j);X=v.map(function(vA){return new i(l,u,j[vA],oA,nA[vA].text,void 0,nA[vA].align)}),this.setTableHeaderRow(X),this.printHeaderRow(1,!1)}var lA=p.reduce(function(vA,hA){return vA[hA.name]=hA.align,vA},{});for(d=0;d<f.length;d+=1){"rowStart"in B&&B.rowStart instanceof Function&&B.rowStart({row:d,data:f[d]},this);var eA=s.call(this,f[d],j);for(C=0;C<v.length;C+=1){var uA=f[d][v[C]];"cellStart"in B&&B.cellStart instanceof Function&&B.cellStart({row:d,col:C,data:uA},this),a.call(this,new i(l,u,j[v[C]],eA,uA,d+2,lA[v[C]]))}}return this.internal.__cell__.table_x=l,this.internal.__cell__.table_y=u,this};var s=function(l,u){var f=this.internal.__cell__.padding,p=this.internal.__cell__.table_font_size,B=this.internal.scaleFactor;return Object.keys(l).map(function(d){var m=l[d];return this.splitTextToSize(m.hasOwnProperty("text")?m.text:m,u[d]-f-f)},this).map(function(d){return this.getLineHeightFactor()*d.length*p/B+f+f},this).reduce(function(d,m){return Math.max(d,m)},0)};t.setTableHeaderRow=function(l){r.call(this),this.internal.__cell__.tableHeaderRow=l},t.printHeaderRow=function(l,u){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var f;if(e=!0,typeof this.internal.__cell__.headerFunction=="function"){var p=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new i(p[0],p[1],p[2],p[3],void 0,-1)}this.setFont(void 0,"bold");for(var B=[],d=0;d<this.internal.__cell__.tableHeaderRow.length;d+=1){f=this.internal.__cell__.tableHeaderRow[d].clone(),u&&(f.y=this.internal.__cell__.margins.top||0,B.push(f)),f.lineNumber=l;var m=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),a.call(this,f),this.setTextColor(m)}B.length>0&&this.setTableHeaderRow(B),this.setFont(void 0,"normal"),e=!1}})(qA.API);var s1={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},o1=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],ff=a1(o1),l1=[100,200,300,400,500,600,700,800,900],XF=a1(l1);function yu(t){var A=t.family.replace(/"|'/g,"").toLowerCase(),e=(function(i){return s1[i=i||"normal"]?i:"normal"})(t.style),r=(function(i){return i?typeof i=="number"?i>=100&&i<=900&&i%100==0?i:400:/^\d00$/.test(i)?parseInt(i):i==="bold"?700:400:400})(t.weight),n=(function(i){return typeof ff[i=i||"normal"]=="number"?i:"normal"})(t.stretch);return{family:A,style:e,weight:r,stretch:n,src:t.src||[],ref:t.ref||{name:A,style:[n,e,r].join(" ")}}}function Ng(t,A,e,r){var n;for(n=e;n>=0&&n<A.length;n+=r)if(t[A[n]])return t[A[n]];for(n=e;n>=0&&n<A.length;n-=r)if(t[A[n]])return t[A[n]]}var JF={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},kg={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Tg(t){return[t.stretch,t.style,t.weight,t.family].join(" ")}function Dg(t){return t.trimLeft()}function YF(t,A){for(var e=0;e<t.length;){if(t.charAt(e)===A)return[t.substring(0,e),t.substring(e+1)];e+=1}return null}function $F(t){var A=t.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return A===null?null:[A[0],t.substring(A[0].length)]}var cl,Og,Pg,Qa,ul,Rg,Mg,Kg,Fu=["times"];function Gg(t,A,e,r,n){var i=4,a=jg;switch(n){case qA.API.image_compression.FAST:i=1,a=Vg;break;case qA.API.image_compression.MEDIUM:i=6,a=qg;break;case qA.API.image_compression.SLOW:i=9,a=Wg}t=(function(l,u,f,p){for(var B,d=l.length/u,m=new Uint8Array(l.length+d),C=[ZF,Vg,jg,qg,Wg],E=0;E<d;E+=1){var v=E*u,H=l.subarray(v,v+u);if(p)m.set(p(H,f,B),v+E);else{for(var P=C.length,N=[],j=0;j<P;j+=1)N[j]=C[j](H,f,B);var J=eQ(N.concat());m.set(N[J],v+E)}B=H}return m})(t,A,Math.ceil(e*r/8),a);var s=nf(t,{level:i});return qA.API.__addimage__.arrayBufferToBinaryString(s)}function ZF(t){var A=Array.apply([],t);return A.unshift(0),A}function Vg(t,A){var e=t.length,r=[];r[0]=1;for(var n=0;n<e;n+=1){var i=t[n-A]||0;r[n+1]=t[n]-i+256&255}return r}function jg(t,A,e){var r=t.length,n=[];n[0]=2;for(var i=0;i<r;i+=1){var a=e&&e[i]||0;n[i+1]=t[i]-a+256&255}return n}function qg(t,A,e){var r=t.length,n=[];n[0]=3;for(var i=0;i<r;i+=1){var a=t[i-A]||0,s=e&&e[i]||0;n[i+1]=t[i]+256-(a+s>>>1)&255}return n}function Wg(t,A,e){var r=t.length,n=[];n[0]=4;for(var i=0;i<r;i+=1){var a=AQ(t[i-A]||0,e&&e[i]||0,e&&e[i-A]||0);n[i+1]=t[i]-a+256&255}return n}function AQ(t,A,e){if(t===A&&A===e)return t;var r=Math.abs(A-e),n=Math.abs(t-e),i=Math.abs(t+A-e-e);return r<=n&&r<=i?t:n<=i?A:e}function eQ(t){var A=t.map(function(e){return e.reduce(function(r,n){return r+Math.abs(n)},0)});return A.indexOf(Math.min.apply(null,A))}function Qu(t,A,e){var r=A*e,n=Math.floor(r/8),i=16-(r-8*n+e),a=(1<<e)-1;return c1(t,n)>>i&a}function zg(t,A,e,r){var n=e*r,i=Math.floor(n/8),a=16-(n-8*i+r),s=(1<<r)-1,l=(A&s)<<a;(function(u,f,p){if(f+1<u.byteLength)u.setUint16(f,p,!1);else{var B=p>>8&255;u.setUint8(f,B)}})(t,i,c1(t,i)&~(s<<a)&65535|l)}function c1(t,A){return A+1<t.byteLength?t.getUint16(A,!1):t.getUint8(A)<<8}function tQ(t){var A=0;if(t[A++]!==71||t[A++]!==73||t[A++]!==70||t[A++]!==56||(t[A++]+1&253)!=56||t[A++]!==97)throw new Error("Invalid GIF 87a/89a header.");var e=t[A++]|t[A++]<<8,r=t[A++]|t[A++]<<8,n=t[A++],i=n>>7,a=1<<1+(7&n);t[A++],t[A++];var s=null,l=null;i&&(s=A,l=a,A+=3*a);var u=!0,f=[],p=0,B=null,d=0,m=null;for(this.width=e,this.height=r;u&&A<t.length;)switch(t[A++]){case 33:switch(t[A++]){case 255:if(t[A]!==11||t[A+1]==78&&t[A+2]==69&&t[A+3]==84&&t[A+4]==83&&t[A+5]==67&&t[A+6]==65&&t[A+7]==80&&t[A+8]==69&&t[A+9]==50&&t[A+10]==46&&t[A+11]==48&&t[A+12]==3&&t[A+13]==1&&t[A+16]==0)A+=14,m=t[A++]|t[A++]<<8,A++;else for(A+=12;;){if(!((U=t[A++])>=0))throw Error("Invalid block size");if(U===0)break;A+=U}break;case 249:if(t[A++]!==4||t[A+4]!==0)throw new Error("Invalid graphics extension block.");var C=t[A++];p=t[A++]|t[A++]<<8,B=t[A++],1&C||(B=null),d=C>>2&7,A++;break;case 254:for(;;){if(!((U=t[A++])>=0))throw Error("Invalid block size");if(U===0)break;A+=U}break;default:throw new Error("Unknown graphic control label: 0x"+t[A-1].toString(16))}break;case 44:var E=t[A++]|t[A++]<<8,v=t[A++]|t[A++]<<8,H=t[A++]|t[A++]<<8,P=t[A++]|t[A++]<<8,N=t[A++],j=N>>6&1,J=1<<1+(7&N),X=s,K=l,L=!1;N>>7&&(L=!0,X=A,K=J,A+=3*J);var q=A;for(A++;;){var U;if(!((U=t[A++])>=0))throw Error("Invalid block size");if(U===0)break;A+=U}f.push({x:E,y:v,width:H,height:P,has_local_palette:L,palette_offset:X,palette_size:K,data_offset:q,data_length:A-q,transparent_index:B,interlaced:!!j,delay:p,disposal:d});break;case 59:u=!1;break;default:throw new Error("Unknown gif block: 0x"+t[A-1].toString(16))}this.numFrames=function(){return f.length},this.loopCount=function(){return m},this.frameInfo=function(S){if(S<0||S>=f.length)throw new Error("Frame index out of range.");return f[S]},this.decodeAndBlitFrameBGRA=function(S,G){var V=this.frameInfo(S),nA=V.width*V.height,oA=new Uint8Array(nA);Xg(t,V.data_offset,oA,nA);var lA=V.palette_offset,eA=V.transparent_index;eA===null&&(eA=256);var uA=V.width,vA=e-uA,hA=uA,F=4*(V.y*e+V.x),k=4*((V.y+V.height)*e+V.x),M=F,W=4*vA;V.interlaced===!0&&(W+=4*e*7);for(var $=8,rA=0,dA=oA.length;rA<dA;++rA){var fA=oA[rA];if(hA===0&&(hA=uA,(M+=W)>=k&&(W=4*vA+4*e*($-1),M=F+(uA+vA)*($<<1),$>>=1)),fA===eA)M+=4;else{var gA=t[lA+3*fA],sA=t[lA+3*fA+1],yA=t[lA+3*fA+2];G[M++]=yA,G[M++]=sA,G[M++]=gA,G[M++]=255}--hA}},this.decodeAndBlitFrameRGBA=function(S,G){var V=this.frameInfo(S),nA=V.width*V.height,oA=new Uint8Array(nA);Xg(t,V.data_offset,oA,nA);var lA=V.palette_offset,eA=V.transparent_index;eA===null&&(eA=256);var uA=V.width,vA=e-uA,hA=uA,F=4*(V.y*e+V.x),k=4*((V.y+V.height)*e+V.x),M=F,W=4*vA;V.interlaced===!0&&(W+=4*e*7);for(var $=8,rA=0,dA=oA.length;rA<dA;++rA){var fA=oA[rA];if(hA===0&&(hA=uA,(M+=W)>=k&&(W=4*vA+4*e*($-1),M=F+(uA+vA)*($<<1),$>>=1)),fA===eA)M+=4;else{var gA=t[lA+3*fA],sA=t[lA+3*fA+1],yA=t[lA+3*fA+2];G[M++]=gA,G[M++]=sA,G[M++]=yA,G[M++]=255}--hA}}}function Xg(t,A,e,r){for(var n=t[A++],i=1<<n,a=i+1,s=a+1,l=n+1,u=(1<<l)-1,f=0,p=0,B=0,d=t[A++],m=new Int32Array(4096),C=null;;){for(;f<16&&d!==0;)p|=t[A++]<<f,f+=8,d===1?d=t[A++]:--d;if(f<l)break;var E=p&u;if(p>>=l,f-=l,E!==i){if(E===a)break;for(var v=E<s?E:C,H=0,P=v;P>i;)P=m[P]>>8,++H;var N=P;if(B+H+(v!==E?1:0)>r)return void Ve.log("Warning, gif stream longer than expected.");e[B++]=N;var j=B+=H;for(v!==E&&(e[B++]=N),P=v;H--;)P=m[P],e[--j]=255&P,P>>=8;C!==null&&s<4096&&(m[s++]=C<<8|N,s>=u+1&&l<12&&(++l,u=u<<1|1)),C=E}else s=a+1,u=(1<<(l=n+1))-1,C=null}return B!==r&&Ve.log("Warning, gif stream shorter than expected."),e}/**
* @license
Copyright (c) 2008, Adobe Systems Incorporated
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Adobe Systems Incorporated nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/function Uu(t){var A,e,r,n,i,a=Math.floor,s=new Array(64),l=new Array(64),u=new Array(64),f=new Array(64),p=new Array(65535),B=new Array(65535),d=new Array(64),m=new Array(64),C=[],E=0,v=7,H=new Array(64),P=new Array(64),N=new Array(64),j=new Array(256),J=new Array(2048),X=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],K=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],L=[0,1,2,3,4,5,6,7,8,9,10,11],q=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],U=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],S=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],G=[0,1,2,3,4,5,6,7,8,9,10,11],V=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],nA=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function oA(F,k){for(var M=0,W=0,$=new Array,rA=1;rA<=16;rA++){for(var dA=1;dA<=F[rA];dA++)$[k[W]]=[],$[k[W]][0]=M,$[k[W]][1]=rA,W++,M++;M*=2}return $}function lA(F){for(var k=F[0],M=F[1]-1;M>=0;)k&1<<M&&(E|=1<<v),M--,--v<0&&(E==255?(eA(255),eA(0)):eA(E),v=7,E=0)}function eA(F){C.push(F)}function uA(F){eA(F>>8&255),eA(255&F)}function vA(F,k,M,W,$){for(var rA,dA=$[0],fA=$[240],gA=(function(QA,KA){var IA,ce,WA,ye,re,ne,Ee,ue,GA,ZA,VA=0;for(GA=0;GA<8;++GA){IA=QA[VA],ce=QA[VA+1],WA=QA[VA+2],ye=QA[VA+3],re=QA[VA+4],ne=QA[VA+5],Ee=QA[VA+6];var ke=IA+(ue=QA[VA+7]),Fe=IA-ue,OA=ce+Ee,ie=ce-Ee,Ie=WA+ne,XA=WA-ne,ve=ye+re,ae=ye-re,Me=ke+ve,Xe=ke-ve,Se=OA+Ie,ee=OA-Ie;QA[VA]=Me+Se,QA[VA+4]=Me-Se;var Ue=.707106781*(ee+Xe);QA[VA+2]=Xe+Ue,QA[VA+6]=Xe-Ue;var gi=.382683433*((Me=ae+XA)-(ee=ie+Fe)),Mt=.5411961*Me+gi,fn=1.306562965*ee+gi,zr=.707106781*(Se=XA+ie),Ae=Fe+zr,hn=Fe-zr;QA[VA+5]=hn+Mt,QA[VA+3]=hn-Mt,QA[VA+1]=Ae+fn,QA[VA+7]=Ae-fn,VA+=8}for(VA=0,GA=0;GA<8;++GA){IA=QA[VA],ce=QA[VA+8],WA=QA[VA+16],ye=QA[VA+24],re=QA[VA+32],ne=QA[VA+40],Ee=QA[VA+48];var dn=IA+(ue=QA[VA+56]),vr=IA-ue,Cr=ce+Ee,et=ce-Ee,Lt=WA+ne,Ht=WA-ne,pi=ye+re,Tn=ye-re,Nr=dn+pi,Xr=dn-pi,kr=Cr+Lt,Tr=Cr-Lt;QA[VA]=Nr+kr,QA[VA+32]=Nr-kr;var br=.707106781*(Tr+Xr);QA[VA+16]=Xr+br,QA[VA+48]=Xr-br;var Bi=.382683433*((Nr=Tn+Ht)-(Tr=et+vr)),Jr=.5411961*Nr+Bi,wi=1.306562965*Tr+Bi,ta=.707106781*(kr=Ht+et),ra=vr+ta,na=vr-ta;QA[VA+40]=na+Jr,QA[VA+24]=na-Jr,QA[VA+8]=ra+wi,QA[VA+56]=ra-wi,VA++}for(GA=0;GA<64;++GA)ZA=QA[GA]*KA[GA],d[GA]=ZA>0?ZA+.5|0:ZA-.5|0;return d})(F,k),sA=0;sA<64;++sA)m[X[sA]]=gA[sA];var yA=m[0]-M;M=m[0],yA==0?lA(W[0]):(lA(W[B[rA=32767+yA]]),lA(p[rA]));for(var xA=63;xA>0&&m[xA]==0;)xA--;if(xA==0)return lA(dA),M;for(var cA,R=1;R<=xA;){for(var me=R;m[R]==0&&R<=xA;)++R;var le=R-me;if(le>=16){cA=le>>4;for(var zA=1;zA<=cA;++zA)lA(fA);le&=15}rA=32767+m[R],lA($[(le<<4)+B[rA]]),lA(p[rA]),R++}return xA!=63&&lA(dA),M}function hA(F){F=Math.min(Math.max(F,1),100),i!=F&&((function(k){for(var M=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],W=0;W<64;W++){var $=a((M[W]*k+50)/100);$=Math.min(Math.max($,1),255),s[X[W]]=$}for(var rA=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],dA=0;dA<64;dA++){var fA=a((rA[dA]*k+50)/100);fA=Math.min(Math.max(fA,1),255),l[X[dA]]=fA}for(var gA=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],sA=0,yA=0;yA<8;yA++)for(var xA=0;xA<8;xA++)u[sA]=1/(s[X[sA]]*gA[yA]*gA[xA]*8),f[sA]=1/(l[X[sA]]*gA[yA]*gA[xA]*8),sA++})(F<50?Math.floor(5e3/F):Math.floor(200-2*F)),i=F)}this.encode=function(F,k){k&&hA(k),C=new Array,E=0,v=7,uA(65496),uA(65504),uA(16),eA(74),eA(70),eA(73),eA(70),eA(0),eA(1),eA(1),eA(0),uA(1),uA(1),eA(0),eA(0),(function(){uA(65499),uA(132),eA(0);for(var ce=0;ce<64;ce++)eA(s[ce]);eA(1);for(var WA=0;WA<64;WA++)eA(l[WA])})(),(function(ce,WA){uA(65472),uA(17),eA(8),uA(WA),uA(ce),eA(3),eA(1),eA(17),eA(0),eA(2),eA(17),eA(1),eA(3),eA(17),eA(1)})(F.width,F.height),(function(){uA(65476),uA(418),eA(0);for(var ce=0;ce<16;ce++)eA(K[ce+1]);for(var WA=0;WA<=11;WA++)eA(L[WA]);eA(16);for(var ye=0;ye<16;ye++)eA(q[ye+1]);for(var re=0;re<=161;re++)eA(U[re]);eA(1);for(var ne=0;ne<16;ne++)eA(S[ne+1]);for(var Ee=0;Ee<=11;Ee++)eA(G[Ee]);eA(17);for(var ue=0;ue<16;ue++)eA(V[ue+1]);for(var GA=0;GA<=161;GA++)eA(nA[GA])})(),uA(65498),uA(12),eA(3),eA(1),eA(0),eA(2),eA(17),eA(3),eA(17),eA(0),eA(63),eA(0);var M=0,W=0,$=0;E=0,v=7,this.encode.displayName="_encode_";for(var rA,dA,fA,gA,sA,yA,xA,cA,R,me=F.data,le=F.width,zA=F.height,QA=4*le,KA=0;KA<zA;){for(rA=0;rA<QA;){for(sA=QA*KA+rA,xA=-1,cA=0,R=0;R<64;R++)yA=sA+(cA=R>>3)*QA+(xA=4*(7&R)),KA+cA>=zA&&(yA-=QA*(KA+1+cA-zA)),rA+xA>=QA&&(yA-=rA+xA-QA+4),dA=me[yA++],fA=me[yA++],gA=me[yA++],H[R]=(J[dA]+J[fA+256|0]+J[gA+512|0]>>16)-128,P[R]=(J[dA+768|0]+J[fA+1024|0]+J[gA+1280|0]>>16)-128,N[R]=(J[dA+1280|0]+J[fA+1536|0]+J[gA+1792|0]>>16)-128;M=vA(H,u,M,A,r),W=vA(P,f,W,e,n),$=vA(N,f,$,e,n),rA+=32}KA+=8}if(v>=0){var IA=[];IA[1]=v+1,IA[0]=(1<<v+1)-1,lA(IA)}return uA(65497),new Uint8Array(C)},t=t||50,(function(){for(var F=String.fromCharCode,k=0;k<256;k++)j[k]=F(k)})(),A=oA(K,L),e=oA(S,G),r=oA(q,U),n=oA(V,nA),(function(){for(var F=1,k=2,M=1;M<=15;M++){for(var W=F;W<k;W++)B[32767+W]=M,p[32767+W]=[],p[32767+W][1]=M,p[32767+W][0]=W;for(var $=-(k-1);$<=-F;$++)B[32767+$]=M,p[32767+$]=[],p[32767+$][1]=M,p[32767+$][0]=k-1+$;F<<=1,k<<=1}})(),(function(){for(var F=0;F<256;F++)J[F]=19595*F,J[F+256|0]=38470*F,J[F+512|0]=7471*F+32768,J[F+768|0]=-11059*F,J[F+1024|0]=-21709*F,J[F+1280|0]=32768*F+8421375,J[F+1536|0]=-27439*F,J[F+1792|0]=-5329*F})(),hA(t)}/**
* @license
* Copyright (c) 2017 Aras Abbasi
*
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/function Mr(t,A){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!A,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Jg(t){function A(L){if(!L)throw Error("assert :P")}function e(L,q,U){for(var S=0;4>S;S++)if(L[q+S]!=U.charCodeAt(S))return!0;return!1}function r(L,q,U,S,G){for(var V=0;V<G;V++)L[q+V]=U[S+V]}function n(L,q,U,S){for(var G=0;G<S;G++)L[q+G]=U}function i(L){return new Int32Array(L)}function a(L,q){for(var U=[],S=0;S<L;S++)U.push(new q);return U}function s(L,q){var U=[];return(function S(G,V,nA){for(var oA=nA[V],lA=0;lA<oA&&(G.push(nA.length>V+1?[]:new q),!(nA.length<V+1));lA++)S(G[lA],V+1,nA)})(U,0,L),U}var l=function(){var L=this;function q(o,c){for(var g=1<<c-1>>>0;o&g;)g>>>=1;return g?(o&g-1)+g:o}function U(o,c,g,w,y){A(!(w%g));do o[c+(w-=g)]=y;while(0<w)}function S(o,c,g,w,y){if(A(2328>=y),512>=y)var Q=i(512);else if((Q=i(y))==null)return 0;return(function(x,_,I,T,Y,aA){var D,Z,tA=_,pA=1<<I,iA=i(16),BA=i(16);for(A(Y!=0),A(T!=null),A(x!=null),A(0<I),Z=0;Z<Y;++Z){if(15<T[Z])return 0;++iA[T[Z]]}if(iA[0]==Y)return 0;for(BA[1]=0,D=1;15>D;++D){if(iA[D]>1<<D)return 0;BA[D+1]=BA[D]+iA[D]}for(Z=0;Z<Y;++Z)D=T[Z],0<T[Z]&&(aA[BA[D]++]=Z);if(BA[15]==1)return(T=new G).g=0,T.value=aA[0],U(x,tA,1,pA,T),pA;var mA,UA=-1,CA=pA-1,jA=0,NA=1,pe=1,PA=1<<I;for(Z=0,D=1,Y=2;D<=I;++D,Y<<=1){if(NA+=pe<<=1,0>(pe-=iA[D]))return 0;for(;0<iA[D];--iA[D])(T=new G).g=D,T.value=aA[Z++],U(x,tA+jA,Y,PA,T),jA=q(jA,D)}for(D=I+1,Y=2;15>=D;++D,Y<<=1){if(NA+=pe<<=1,0>(pe-=iA[D]))return 0;for(;0<iA[D];--iA[D]){if(T=new G,(jA&CA)!=UA){for(tA+=PA,mA=1<<(UA=D)-I;15>UA&&!(0>=(mA-=iA[UA]));)++UA,mA<<=1;pA+=PA=1<<(mA=UA-I),x[_+(UA=jA&CA)].g=mA+I,x[_+UA].value=tA-_-UA}T.g=D-I,T.value=aA[Z++],U(x,tA+(jA>>I),Y,PA,T),jA=q(jA,D)}}return NA!=2*BA[15]-1?0:pA})(o,c,g,w,y,Q)}function G(){this.value=this.g=0}function V(){this.value=this.g=0}function nA(){this.G=a(5,G),this.H=i(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=a(ki,V)}function oA(o,c,g,w){A(o!=null),A(c!=null),A(2147483648>w),o.Ca=254,o.I=0,o.b=-8,o.Ka=0,o.oa=c,o.pa=g,o.Jd=c,o.Yc=g+w,o.Zc=4<=w?g+w-4+1:g,dA(o)}function lA(o,c){for(var g=0;0<c--;)g|=gA(o,128)<<c;return g}function eA(o,c){var g=lA(o,c);return fA(o)?-g:g}function uA(o,c,g,w){var y,Q=0;for(A(o!=null),A(c!=null),A(4294967288>w),o.Sb=w,o.Ra=0,o.u=0,o.h=0,4<w&&(w=4),y=0;y<w;++y)Q+=c[g+y]<<8*y;o.Ra=Q,o.bb=w,o.oa=c,o.pa=g}function vA(o){for(;8<=o.u&&o.bb<o.Sb;)o.Ra>>>=8,o.Ra+=o.oa[o.pa+o.bb]<<Mn-8>>>0,++o.bb,o.u-=8;W(o)&&(o.h=1,o.u=0)}function hA(o,c){if(A(0<=c),!o.h&&c<=or){var g=M(o)&sr[c];return o.u+=c,vA(o),g}return o.h=1,o.u=0}function F(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function k(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function M(o){return o.Ra>>>(o.u&Mn-1)>>>0}function W(o){return A(o.bb<=o.Sb),o.h||o.bb==o.Sb&&o.u>Mn}function $(o,c){o.u=c,o.h=W(o)}function rA(o){o.u>=Cn&&(A(o.u>=Cn),vA(o))}function dA(o){A(o!=null&&o.oa!=null),o.pa<o.Zc?(o.I=(o.oa[o.pa++]|o.I<<8)>>>0,o.b+=8):(A(o!=null&&o.oa!=null),o.pa<o.Yc?(o.b+=8,o.I=o.oa[o.pa++]|o.I<<8):o.Ka?o.b=0:(o.I<<=8,o.b+=8,o.Ka=1))}function fA(o){return lA(o,1)}function gA(o,c){var g=o.Ca;0>o.b&&dA(o);var w=o.b,y=g*c>>>8,Q=(o.I>>>w>y)+0;for(Q?(g-=y,o.I-=y+1<<w>>>0):g=y+1,w=g,y=0;256<=w;)y+=8,w>>=8;return w=7^y+Kn[w],o.b-=w,o.Ca=(g<<w)-1,Q}function sA(o,c,g){o[c+0]=g>>24&255,o[c+1]=g>>16&255,o[c+2]=g>>8&255,o[c+3]=255&g}function yA(o,c){return o[c+0]|o[c+1]<<8}function xA(o,c){return yA(o,c)|o[c+2]<<16}function cA(o,c){return yA(o,c)|yA(o,c+2)<<16}function R(o,c){var g=1<<c;return A(o!=null),A(0<c),o.X=i(g),o.X==null?0:(o.Mb=32-c,o.Xa=c,1)}function me(o,c){A(o!=null),A(c!=null),A(o.Xa==c.Xa),r(c.X,0,o.X,0,1<<c.Xa)}function le(){this.X=[],this.Xa=this.Mb=0}function zA(o,c,g,w){A(g!=null),A(w!=null);var y=g[0],Q=w[0];return y==0&&(y=(o*Q+c/2)/c),Q==0&&(Q=(c*y+o/2)/o),0>=y||0>=Q?0:(g[0]=y,w[0]=Q,1)}function QA(o,c){return o+(1<<c)-1>>>c}function KA(o,c){return((4278255360&o)+(4278255360&c)>>>0&4278255360)+((16711935&o)+(16711935&c)>>>0&16711935)>>>0}function IA(o,c){L[c]=function(g,w,y,Q,x,_,I){var T;for(T=0;T<x;++T){var Y=L[o](_[I+T-1],y,Q+T);_[I+T]=KA(g[w+T],Y)}}}function ce(){this.ud=this.hd=this.jd=0}function WA(o,c){return((4278124286&(o^c))>>>1)+(o&c)>>>0}function ye(o){return 0<=o&&256>o?o:0>o?0:255<o?255:void 0}function re(o,c){return ye(o+(o-c+.5>>1))}function ne(o,c,g){return Math.abs(c-g)-Math.abs(o-g)}function Ee(o,c,g,w,y,Q,x){for(w=Q[x-1],g=0;g<y;++g)Q[x+g]=w=KA(o[c+g],w)}function ue(o,c,g,w,y){var Q;for(Q=0;Q<g;++Q){var x=o[c+Q],_=x>>8&255,I=16711935&(I=(I=16711935&x)+((_<<16)+_));w[y+Q]=(4278255360&x)+I>>>0}}function GA(o,c){c.jd=255&o,c.hd=o>>8&255,c.ud=o>>16&255}function ZA(o,c,g,w,y,Q){var x;for(x=0;x<w;++x){var _=c[g+x],I=_>>>8,T=_,Y=255&(Y=(Y=_>>>16)+((o.jd<<24>>24)*(I<<24>>24)>>>5));T=255&(T=(T+=(o.hd<<24>>24)*(I<<24>>24)>>>5)+((o.ud<<24>>24)*(Y<<24>>24)>>>5)),y[Q+x]=(4278255360&_)+(Y<<16)+T}}function VA(o,c,g,w,y){L[c]=function(Q,x,_,I,T,Y,aA,D,Z){for(I=aA;I<D;++I)for(aA=0;aA<Z;++aA)T[Y++]=y(_[w(Q[x++])])},L[o]=function(Q,x,_,I,T,Y,aA){var D=8>>Q.b,Z=Q.Ea,tA=Q.K[0],pA=Q.w;if(8>D)for(Q=(1<<Q.b)-1,pA=(1<<D)-1;x<_;++x){var iA,BA=0;for(iA=0;iA<Z;++iA)iA&Q||(BA=w(I[T++])),Y[aA++]=y(tA[BA&pA]),BA>>=D}else L["VP8LMapColor"+g](I,T,tA,pA,Y,aA,x,_,Z)}}function ke(o,c,g,w,y){for(g=c+g;c<g;){var Q=o[c++];w[y++]=Q>>16&255,w[y++]=Q>>8&255,w[y++]=255&Q}}function Fe(o,c,g,w,y){for(g=c+g;c<g;){var Q=o[c++];w[y++]=Q>>16&255,w[y++]=Q>>8&255,w[y++]=255&Q,w[y++]=Q>>24&255}}function OA(o,c,g,w,y){for(g=c+g;c<g;){var Q=(x=o[c++])>>16&240|x>>12&15,x=240&x|x>>28&15;w[y++]=Q,w[y++]=x}}function ie(o,c,g,w,y){for(g=c+g;c<g;){var Q=(x=o[c++])>>16&248|x>>13&7,x=x>>5&224|x>>3&31;w[y++]=Q,w[y++]=x}}function Ie(o,c,g,w,y){for(g=c+g;c<g;){var Q=o[c++];w[y++]=255&Q,w[y++]=Q>>8&255,w[y++]=Q>>16&255}}function XA(o,c,g,w,y,Q){if(Q==0)for(g=c+g;c<g;)sA(w,((Q=o[c++])[0]>>24|Q[1]>>8&65280|Q[2]<<8&16711680|Q[3]<<24)>>>0),y+=32;else r(w,y,o,c,g)}function ve(o,c){L[c][0]=L[o+"0"],L[c][1]=L[o+"1"],L[c][2]=L[o+"2"],L[c][3]=L[o+"3"],L[c][4]=L[o+"4"],L[c][5]=L[o+"5"],L[c][6]=L[o+"6"],L[c][7]=L[o+"7"],L[c][8]=L[o+"8"],L[c][9]=L[o+"9"],L[c][10]=L[o+"10"],L[c][11]=L[o+"11"],L[c][12]=L[o+"12"],L[c][13]=L[o+"13"],L[c][14]=L[o+"0"],L[c][15]=L[o+"0"]}function ae(o){return o==yc||o==Fc||o==mo||o==Qc}function Me(){this.eb=[],this.size=this.A=this.fb=0}function Xe(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Se(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Me,this.f.kb=new Xe,this.sd=null}function ee(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Ue(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function gi(o){return alert("todo:WebPSamplerProcessPlane"),o.T}function Mt(o,c){var g=o.T,w=c.ba.f.RGBA,y=w.eb,Q=w.fb+o.ka*w.A,x=Er[c.ba.S],_=o.y,I=o.O,T=o.f,Y=o.N,aA=o.ea,D=o.W,Z=c.cc,tA=c.dc,pA=c.Mc,iA=c.Nc,BA=o.ka,mA=o.ka+o.T,UA=o.U,CA=UA+1>>1;for(BA==0?x(_,I,null,null,T,Y,aA,D,T,Y,aA,D,y,Q,null,null,UA):(x(c.ec,c.fc,_,I,Z,tA,pA,iA,T,Y,aA,D,y,Q-w.A,y,Q,UA),++g);BA+2<mA;BA+=2)Z=T,tA=Y,pA=aA,iA=D,Y+=o.Rc,D+=o.Rc,Q+=2*w.A,x(_,(I+=2*o.fa)-o.fa,_,I,Z,tA,pA,iA,T,Y,aA,D,y,Q-w.A,y,Q,UA);return I+=o.fa,o.j+mA<o.o?(r(c.ec,c.fc,_,I,UA),r(c.cc,c.dc,T,Y,CA),r(c.Mc,c.Nc,aA,D,CA),g--):1&mA||x(_,I,null,null,T,Y,aA,D,T,Y,aA,D,y,Q+w.A,null,null,UA),g}function fn(o,c,g){var w=o.F,y=[o.J];if(w!=null){var Q=o.U,x=c.ba.S,_=x==wo||x==mo;c=c.ba.f.RGBA;var I=[0],T=o.ka;I[0]=o.T,o.Kb&&(T==0?--I[0]:(--T,y[0]-=o.width),o.j+o.ka+o.T==o.o&&(I[0]=o.o-o.j-T));var Y=c.eb;T=c.fb+T*c.A,o=qf(w,y[0],o.width,Q,I,Y,T+(_?0:3),c.A),A(g==I),o&&ae(x)&&os(Y,T,_,Q,I,c.A)}return 0}function zr(o){var c=o.ma,g=c.ba.S,w=11>g,y=g==po||g==Bo||g==wo||g==bc||g==12||ae(g);if(c.memory=null,c.Ib=null,c.Jb=null,c.Nd=null,!As(c.Oa,o,y?11:12))return 0;if(y&&ae(g)&&lo(),o.da)alert("todo:use_scaling");else{if(w){if(c.Ib=gi,o.Kb){if(g=o.U+1>>1,c.memory=i(o.U+2*g),c.memory==null)return 0;c.ec=c.memory,c.fc=0,c.cc=c.ec,c.dc=c.fc+o.U,c.Mc=c.cc,c.Nc=c.dc+g,c.Ib=Mt,lo()}}else alert("todo:EmitYUV");y&&(c.Jb=fn,w&&Fr())}if(w&&!oh){for(o=0;256>o;++o)I1[o]=89858*(o-128)+Co>>vo,N1[o]=-22014*(o-128)+Co,H1[o]=-45773*(o-128),S1[o]=113618*(o-128)+Co>>vo;for(o=cs;o<Ec;++o)c=76283*(o-16)+Co>>vo,k1[o-cs]=tt(c,255),T1[o-cs]=tt(c+8>>4,15);oh=1}return 1}function Ae(o){var c=o.ma,g=o.U,w=o.T;return A(!(1&o.ka)),0>=g||0>=w?0:(g=c.Ib(o,c),c.Jb!=null&&c.Jb(o,c,g),c.Dc+=g,1)}function hn(o){o.ma.memory=null}function dn(o,c,g,w){return hA(o,8)!=47?0:(c[0]=hA(o,14)+1,g[0]=hA(o,14)+1,w[0]=hA(o,1),hA(o,3)!=0?0:!o.h)}function vr(o,c){if(4>o)return o+1;var g=o-2>>1;return(2+(1&o)<<g)+hA(c,g)+1}function Cr(o,c){return 120<c?c-120:1<=(g=((g=B1[c-1])>>4)*o+(8-(15&g)))?g:1;var g}function et(o,c,g){var w=M(g),y=o[c+=255&w].g-8;return 0<y&&($(g,g.u+8),w=M(g),c+=o[c].value,c+=w&(1<<y)-1),$(g,g.u+o[c].g),o[c].value}function Lt(o,c,g){return g.g+=o.g,g.value+=o.value<<c>>>0,A(8>=g.g),o.g}function Ht(o,c,g){var w=o.xc;return A((c=w==0?0:o.vc[o.md*(g>>w)+(c>>w)])<o.Wb),o.Ya[c]}function pi(o,c,g,w){var y=o.ab,Q=o.c*c,x=o.C;c=x+c;var _=g,I=w;for(w=o.Ta,g=o.Ua;0<y--;){var T=o.gc[y],Y=x,aA=c,D=_,Z=I,tA=(I=w,_=g,T.Ea);switch(A(Y<aA),A(aA<=T.nc),T.hc){case 2:st(D,Z,(aA-Y)*tA,I,_);break;case 0:var pA=Y,iA=aA,BA=I,mA=_,UA=(PA=T).Ea;pA==0&&(ts(D,Z,null,null,1,BA,mA),Ee(D,Z+1,0,0,UA-1,BA,mA+1),Z+=UA,mA+=UA,++pA);for(var CA=1<<PA.b,jA=CA-1,NA=QA(UA,PA.b),pe=PA.K,PA=PA.w+(pA>>PA.b)*NA;pA<iA;){var be=pe,Ft=PA,Be=1;for(fa(D,Z,BA,mA-UA,1,BA,mA);Be<UA;){var RA=(Be&~jA)+CA;RA>UA&&(RA=UA),(0,ns[be[Ft++]>>8&15])(D,Z+ +Be,BA,mA+Be-UA,RA-Be,BA,mA+Be),Be=RA}Z+=UA,mA+=UA,++pA&jA||(PA+=NA)}aA!=T.nc&&r(I,_-tA,I,_+(aA-Y-1)*tA,tA);break;case 1:for(tA=D,iA=Z,UA=(D=T.Ea)-(mA=D&~(BA=(Z=1<<T.b)-1)),pA=QA(D,T.b),CA=T.K,T=T.w+(Y>>T.b)*pA;Y<aA;){for(jA=CA,NA=T,pe=new ce,PA=iA+mA,be=iA+D;iA<PA;)GA(jA[NA++],pe),is(pe,tA,iA,Z,I,_),iA+=Z,_+=Z;iA<be&&(GA(jA[NA++],pe),is(pe,tA,iA,UA,I,_),iA+=UA,_+=UA),++Y&BA||(T+=pA)}break;case 3:if(D==I&&Z==_&&0<T.b){for(iA=I,D=tA=_+(aA-Y)*tA-(mA=(aA-Y)*QA(T.Ea,T.b)),Z=I,BA=_,pA=[],mA=(UA=mA)-1;0<=mA;--mA)pA[mA]=Z[BA+mA];for(mA=UA-1;0<=mA;--mA)iA[D+mA]=pA[mA];uo(T,Y,aA,I,tA,I,_)}else uo(T,Y,aA,D,Z,I,_)}_=w,I=g}I!=g&&r(w,g,_,I,Q)}function Tn(o,c){var g=o.V,w=o.Ba+o.c*o.C,y=c-o.C;if(A(c<=o.l.o),A(16>=y),0<y){var Q=o.l,x=o.Ta,_=o.Ua,I=Q.width;if(pi(o,y,g,w),y=_=[_],A((g=o.C)<(w=c)),A(Q.v<Q.va),w>Q.o&&(w=Q.o),g<Q.j){var T=Q.j-g;g=Q.j,y[0]+=T*I}if(g>=w?g=0:(y[0]+=4*Q.v,Q.ka=g-Q.j,Q.U=Q.va-Q.v,Q.T=w-g,g=1),g){if(_=_[0],11>(g=o.ca).S){var Y=g.f.RGBA,aA=(w=g.S,y=Q.U,Q=Q.T,T=Y.eb,Y.A),D=Q;for(Y=Y.fb+o.Ma*Y.A;0<D--;){var Z=x,tA=_,pA=y,iA=T,BA=Y;switch(w){case go:as(Z,tA,pA,iA,BA);break;case po:Gn(Z,tA,pA,iA,BA);break;case yc:Gn(Z,tA,pA,iA,BA),os(iA,BA,0,pA,1,0);break;case Zf:Ti(Z,tA,pA,iA,BA);break;case Bo:XA(Z,tA,pA,iA,BA,1);break;case Fc:XA(Z,tA,pA,iA,BA,1),os(iA,BA,0,pA,1,0);break;case wo:XA(Z,tA,pA,iA,BA,0);break;case mo:XA(Z,tA,pA,iA,BA,0),os(iA,BA,1,pA,1,0);break;case bc:Vn(Z,tA,pA,iA,BA);break;case Qc:Vn(Z,tA,pA,iA,BA),jf(iA,BA,pA,1,0);break;case Ah:jn(Z,tA,pA,iA,BA);break;default:A(0)}_+=I,Y+=aA}o.Ma+=Q}else alert("todo:EmitRescaledRowsYUVA");A(o.Ma<=g.height)}}o.C=c,A(o.C<=o.i)}function Nr(o){var c;if(0<o.ua)return 0;for(c=0;c<o.Wb;++c){var g=o.Ya[c].G,w=o.Ya[c].H;if(0<g[1][w[1]+0].g||0<g[2][w[2]+0].g||0<g[3][w[3]+0].g)return 0}return 1}function Xr(o,c,g,w,y,Q){if(o.Z!=0){var x=o.qd,_=o.rd;for(A(zn[o.Z]!=null);c<g;++c)zn[o.Z](x,_,w,y,w,y,Q),x=w,_=y,y+=Q;o.qd=x,o.rd=_}}function kr(o,c){var g=o.l.ma,w=g.Z==0||g.Z==1?o.l.j:o.C;if(w=o.C<w?w:o.C,A(c<=o.l.o),c>w){var y=o.l.width,Q=g.ca,x=g.tb+y*w,_=o.V,I=o.Ba+o.c*w,T=o.gc;A(o.ab==1),A(T[0].hc==3),Zr(T[0],w,c,_,I,Q,x),Xr(g,w,c,Q,x,y)}o.C=o.Ma=c}function Tr(o,c,g,w,y,Q,x){var _=o.$/w,I=o.$%w,T=o.m,Y=o.s,aA=g+o.$,D=aA;y=g+w*y;var Z=g+w*Q,tA=280+Y.ua,pA=o.Pb?_:16777216,iA=0<Y.ua?Y.Wa:null,BA=Y.wc,mA=aA<Z?Ht(Y,I,_):null;A(o.C<Q),A(Z<=y);var UA=!1;A:for(;;){for(;UA||aA<Z;){var CA=0;if(_>=pA){var jA=aA-g;A((pA=o).Pb),pA.wd=pA.m,pA.xd=jA,0<pA.s.ua&&me(pA.s.Wa,pA.s.vb),pA=_+m1}if(I&BA||(mA=Ht(Y,I,_)),A(mA!=null),mA.Qb&&(c[aA]=mA.qb,UA=!0),!UA)if(rA(T),mA.jc){CA=T,jA=c;var NA=aA,pe=mA.pd[M(CA)&ki-1];A(mA.jc),256>pe.g?($(CA,CA.u+pe.g),jA[NA]=pe.value,CA=0):($(CA,CA.u+pe.g-256),A(256<=pe.value),CA=pe.value),CA==0&&(UA=!0)}else CA=et(mA.G[0],mA.H[0],T);if(T.h)break;if(UA||256>CA){if(!UA)if(mA.nd)c[aA]=(mA.qb|CA<<8)>>>0;else{if(rA(T),UA=et(mA.G[1],mA.H[1],T),rA(T),jA=et(mA.G[2],mA.H[2],T),NA=et(mA.G[3],mA.H[3],T),T.h)break;c[aA]=(NA<<24|UA<<16|CA<<8|jA)>>>0}if(UA=!1,++aA,++I>=w&&(I=0,++_,x!=null&&_<=Q&&!(_%16)&&x(o,_),iA!=null))for(;D<aA;)CA=c[D++],iA.X[(506832829*CA&4294967295)>>>iA.Mb]=CA}else if(280>CA){if(CA=vr(CA-256,T),jA=et(mA.G[4],mA.H[4],T),rA(T),jA=Cr(w,jA=vr(jA,T)),T.h)break;if(aA-g<jA||y-aA<CA)break A;for(NA=0;NA<CA;++NA)c[aA+NA]=c[aA+NA-jA];for(aA+=CA,I+=CA;I>=w;)I-=w,++_,x!=null&&_<=Q&&!(_%16)&&x(o,_);if(A(aA<=y),I&BA&&(mA=Ht(Y,I,_)),iA!=null)for(;D<aA;)CA=c[D++],iA.X[(506832829*CA&4294967295)>>>iA.Mb]=CA}else{if(!(CA<tA))break A;for(UA=CA-280,A(iA!=null);D<aA;)CA=c[D++],iA.X[(506832829*CA&4294967295)>>>iA.Mb]=CA;CA=aA,A(!(UA>>>(jA=iA).Xa)),c[CA]=jA.X[UA],UA=!0}UA||A(T.h==W(T))}if(o.Pb&&T.h&&aA<y)A(o.m.h),o.a=5,o.m=o.wd,o.$=o.xd,0<o.s.ua&&me(o.s.vb,o.s.Wa);else{if(T.h)break A;x!=null&&x(o,_>Q?Q:_),o.a=0,o.$=aA-g}return 1}return o.a=3,0}function br(o){A(o!=null),o.vc=null,o.yc=null,o.Ya=null;var c=o.Wa;c!=null&&(c.X=null),o.vb=null,A(o!=null)}function Bi(){var o=new MA;return o==null?null:(o.a=0,o.xb=rh,ve("Predictor","VP8LPredictors"),ve("Predictor","VP8LPredictors_C"),ve("PredictorAdd","VP8LPredictorsAdd"),ve("PredictorAdd","VP8LPredictorsAdd_C"),st=ue,is=ZA,as=ke,Gn=Fe,Vn=OA,jn=ie,Ti=Ie,L.VP8LMapColor32b=$r,L.VP8LMapColor8b=rs,o)}function Jr(o,c,g,w,y){var Q=1,x=[o],_=[c],I=w.m,T=w.s,Y=null,aA=0;A:for(;;){if(g)for(;Q&&hA(I,1);){var D=x,Z=_,tA=w,pA=1,iA=tA.m,BA=tA.gc[tA.ab],mA=hA(iA,2);if(tA.Oc&1<<mA)Q=0;else{switch(tA.Oc|=1<<mA,BA.hc=mA,BA.Ea=D[0],BA.nc=Z[0],BA.K=[null],++tA.ab,A(4>=tA.ab),mA){case 0:case 1:BA.b=hA(iA,3)+2,pA=Jr(QA(BA.Ea,BA.b),QA(BA.nc,BA.b),0,tA,BA.K),BA.K=BA.K[0];break;case 3:var UA,CA=hA(iA,8)+1,jA=16<CA?0:4<CA?1:2<CA?2:3;if(D[0]=QA(BA.Ea,jA),BA.b=jA,UA=pA=Jr(CA,1,0,tA,BA.K)){var NA,pe=CA,PA=BA,be=1<<(8>>PA.b),Ft=i(be);if(Ft==null)UA=0;else{var Be=PA.K[0],RA=PA.w;for(Ft[0]=PA.K[0][0],NA=1;NA<1*pe;++NA)Ft[NA]=KA(Be[RA+NA],Ft[NA-1]);for(;NA<4*be;++NA)Ft[NA]=0;PA.K[0]=null,PA.K[0]=Ft,UA=1}}pA=UA;break;case 2:break;default:A(0)}Q=pA}}if(x=x[0],_=_[0],Q&&hA(I,1)&&!(Q=1<=(aA=hA(I,4))&&11>=aA)){w.a=3;break A}var _A;if(_A=Q)e:{var lt,ge,Qe,Je=w,kt=x,Jt=_,rt=aA,Gt=g,Yt=Je.m,Qt=Je.s,xe=[null],Te=1,nt=0,De=w1[rt];t:for(;;){if(Gt&&hA(Yt,1)){var Tt=hA(Yt,3)+2,Pr=QA(kt,Tt),ct=QA(Jt,Tt),tr=Pr*ct;if(!Jr(Pr,ct,0,Je,xe))break t;for(xe=xe[0],Qt.xc=Tt,lt=0;lt<tr;++lt){var Ge=xe[lt]>>8&65535;xe[lt]=Ge,Ge>=Te&&(Te=Ge+1)}}if(Yt.h)break t;for(ge=0;5>ge;++ge){var Ut=eh[ge];!ge&&0<rt&&(Ut+=1<<rt),nt<Ut&&(nt=Ut)}var cr=a(Te*De,G),$t=Te,ur=a($t,nA);if(ur==null)var fr=null;else A(65536>=$t),fr=ur;var rr=i(nt);if(fr==null||rr==null||cr==null){Je.a=1;break t}var hr=cr;for(lt=Qe=0;lt<Te;++lt){var We=fr[lt],dr=We.G,Rr=We.H,Oi=0,Fn=1,Dt=0;for(ge=0;5>ge;++ge){Ut=eh[ge],dr[ge]=hr,Rr[ge]=Qe,!ge&&0<rt&&(Ut+=1<<rt);n:{var yo,Lc=Ut,Fo=Je,us=rr,P1=hr,R1=Qe,_c=0,Xn=Fo.m,M1=hA(Xn,1);if(n(us,0,0,Lc),M1){var K1=hA(Xn,1)+1,G1=hA(Xn,1),uh=hA(Xn,G1==0?1:8);us[uh]=1,K1==2&&(us[uh=hA(Xn,8)]=1);var Qo=1}else{var fh=i(19),hh=hA(Xn,4)+4;if(19<hh){Fo.a=3;var Uo=0;break n}for(yo=0;yo<hh;++yo)fh[p1[yo]]=hA(Xn,3);var Ic=void 0,fs=void 0,dh=Fo,V1=fh,xo=Lc,gh=us,Sc=0,Jn=dh.m,ph=8,Bh=a(128,G);r:for(;S(Bh,0,7,V1,19);){if(hA(Jn,1)){var j1=2+2*hA(Jn,3);if((Ic=2+hA(Jn,j1))>xo)break r}else Ic=xo;for(fs=0;fs<xo&&Ic--;){rA(Jn);var wh=Bh[0+(127&M(Jn))];$(Jn,Jn.u+wh.g);var da=wh.value;if(16>da)gh[fs++]=da,da!=0&&(ph=da);else{var q1=da==16,mh=da-16,W1=d1[mh],vh=hA(Jn,h1[mh])+W1;if(fs+vh>xo)break r;for(var z1=q1?ph:0;0<vh--;)gh[fs++]=z1}}Sc=1;break r}Sc||(dh.a=3),Qo=Sc}(Qo=Qo&&!Xn.h)&&(_c=S(P1,R1,8,us,Lc)),Qo&&_c!=0?Uo=_c:(Fo.a=3,Uo=0)}if(Uo==0)break t;if(Fn&&g1[ge]==1&&(Fn=hr[Qe].g==0),Oi+=hr[Qe].g,Qe+=Uo,3>=ge){var hs,Hc=rr[0];for(hs=1;hs<Ut;++hs)rr[hs]>Hc&&(Hc=rr[hs]);Dt+=Hc}}if(We.nd=Fn,We.Qb=0,Fn&&(We.qb=(dr[3][Rr[3]+0].value<<24|dr[1][Rr[1]+0].value<<16|dr[2][Rr[2]+0].value)>>>0,Oi==0&&256>dr[0][Rr[0]+0].value&&(We.Qb=1,We.qb+=dr[0][Rr[0]+0].value<<8)),We.jc=!We.Qb&&6>Dt,We.jc){var Eo,Qn=We;for(Eo=0;Eo<ki;++Eo){var Yn=Eo,$n=Qn.pd[Yn],Lo=Qn.G[0][Qn.H[0]+Yn];256<=Lo.value?($n.g=Lo.g+256,$n.value=Lo.value):($n.g=0,$n.value=0,Yn>>=Lt(Lo,8,$n),Yn>>=Lt(Qn.G[1][Qn.H[1]+Yn],16,$n),Yn>>=Lt(Qn.G[2][Qn.H[2]+Yn],0,$n),Lt(Qn.G[3][Qn.H[3]+Yn],24,$n))}}}Qt.vc=xe,Qt.Wb=Te,Qt.Ya=fr,Qt.yc=cr,_A=1;break e}_A=0}if(!(Q=_A)){w.a=3;break A}if(0<aA){if(T.ua=1<<aA,!R(T.Wa,aA)){w.a=1,Q=0;break A}}else T.ua=0;var Nc=w,Ch=x,X1=_,kc=Nc.s,Tc=kc.xc;if(Nc.c=Ch,Nc.i=X1,kc.md=QA(Ch,Tc),kc.wc=Tc==0?-1:(1<<Tc)-1,g){w.xb=U1;break A}if((Y=i(x*_))==null){w.a=1,Q=0;break A}Q=(Q=Tr(w,Y,0,x,_,_,null))&&!I.h;break A}return Q?(y!=null?y[0]=Y:(A(Y==null),A(g)),w.$=0,g||br(T)):br(T),Q}function wi(o,c){var g=o.c*o.i,w=g+c+16*c;return A(o.c<=c),o.V=i(w),o.V==null?(o.Ta=null,o.Ua=0,o.a=1,0):(o.Ta=o.V,o.Ua=o.Ba+g+c,1)}function ta(o,c){var g=o.C,w=c-g,y=o.V,Q=o.Ba+o.c*g;for(A(c<=o.l.o);0<w;){var x=16<w?16:w,_=o.l.ma,I=o.l.width,T=I*x,Y=_.ca,aA=_.tb+I*g,D=o.Ta,Z=o.Ua;pi(o,x,y,Q),Wf(D,Z,Y,aA,T),Xr(_,g,g+x,Y,aA,I),w-=x,y+=x*o.c,g+=x}A(g==c),o.C=o.Ma=c}function ra(){this.ub=this.yd=this.td=this.Rb=0}function na(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function ic(){this.Fb=this.Bb=this.Cb=0,this.Zb=i(4),this.Lb=i(4)}function Ra(){this.Yb=(function(){var o=[];return(function c(g,w,y){for(var Q=y[w],x=0;x<Q&&(g.push(y.length>w+1?[]:0),!(y.length<w+1));x++)c(g[x],w+1,y)})(o,0,[3,11]),o})()}function zs(){this.jb=i(3),this.Wc=s([4,8],Ra),this.Xc=s([4,17],Ra)}function Xs(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new i(4),this.od=new i(4)}function yr(){this.ld=this.La=this.dd=this.tc=0}function Ma(){this.Na=this.la=0}function Js(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Ka(){this.ad=i(384),this.Za=0,this.Ob=i(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Ys(){this.uc=this.M=this.Nb=0,this.wa=Array(new yr),this.Y=0,this.ya=Array(new Ka),this.aa=0,this.l=new ia}function $s(){this.y=i(16),this.f=i(8),this.ea=i(8)}function Zs(){this.cb=this.a=0,this.sc="",this.m=new F,this.Od=new ra,this.Kc=new na,this.ed=new Xs,this.Qa=new ic,this.Ic=this.$c=this.Aa=0,this.D=new Ys,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=a(8,F),this.ia=0,this.pb=a(4,Js),this.Pa=new zs,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new $s),this.Hd=0,this.rb=Array(new Ma),this.sb=0,this.wa=Array(new yr),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Ka),this.L=this.aa=0,this.gd=s([4,2],yr),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function ia(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function ac(){var o=new Zs;return o!=null&&(o.a=0,o.sc="OK",o.cb=0,o.Xb=0,ls||(ls=gn)),o}function pt(o,c,g){return o.a==0&&(o.a=c,o.sc=g,o.cb=0),0}function Ao(o,c,g){return 3<=g&&o[c+0]==157&&o[c+1]==1&&o[c+2]==42}function eo(o,c){if(o==null)return 0;if(o.a=0,o.sc="OK",c==null)return pt(o,2,"null VP8Io passed to VP8GetHeaders()");var g=c.data,w=c.w,y=c.ha;if(4>y)return pt(o,7,"Truncated header.");var Q=g[w+0]|g[w+1]<<8|g[w+2]<<16,x=o.Od;if(x.Rb=!(1&Q),x.td=Q>>1&7,x.yd=Q>>4&1,x.ub=Q>>5,3<x.td)return pt(o,3,"Incorrect keyframe parameters.");if(!x.yd)return pt(o,4,"Frame not displayable.");w+=3,y-=3;var _=o.Kc;if(x.Rb){if(7>y)return pt(o,7,"cannot parse picture header");if(!Ao(g,w,y))return pt(o,3,"Bad code word");_.c=16383&(g[w+4]<<8|g[w+3]),_.Td=g[w+4]>>6,_.i=16383&(g[w+6]<<8|g[w+5]),_.Ud=g[w+6]>>6,w+=7,y-=7,o.za=_.c+15>>4,o.Ub=_.i+15>>4,c.width=_.c,c.height=_.i,c.Da=0,c.j=0,c.v=0,c.va=c.width,c.o=c.height,c.da=0,c.ib=c.width,c.hb=c.height,c.U=c.width,c.T=c.height,n((Q=o.Pa).jb,0,255,Q.jb.length),A((Q=o.Qa)!=null),Q.Cb=0,Q.Bb=0,Q.Fb=1,n(Q.Zb,0,0,Q.Zb.length),n(Q.Lb,0,0,Q.Lb)}if(x.ub>y)return pt(o,7,"bad partition length");oA(Q=o.m,g,w,x.ub),w+=x.ub,y-=x.ub,x.Rb&&(_.Ld=fA(Q),_.Kd=fA(Q)),_=o.Qa;var I,T=o.Pa;if(A(Q!=null),A(_!=null),_.Cb=fA(Q),_.Cb){if(_.Bb=fA(Q),fA(Q)){for(_.Fb=fA(Q),I=0;4>I;++I)_.Zb[I]=fA(Q)?eA(Q,7):0;for(I=0;4>I;++I)_.Lb[I]=fA(Q)?eA(Q,6):0}if(_.Bb)for(I=0;3>I;++I)T.jb[I]=fA(Q)?lA(Q,8):255}else _.Bb=0;if(Q.Ka)return pt(o,3,"cannot parse segment header");if((_=o.ed).zd=fA(Q),_.Tb=lA(Q,6),_.wb=lA(Q,3),_.Pc=fA(Q),_.Pc&&fA(Q)){for(T=0;4>T;++T)fA(Q)&&(_.vd[T]=eA(Q,6));for(T=0;4>T;++T)fA(Q)&&(_.od[T]=eA(Q,6))}if(o.L=_.Tb==0?0:_.zd?1:2,Q.Ka)return pt(o,3,"cannot parse filter header");var Y=y;if(y=I=w,w=I+Y,_=Y,o.Xb=(1<<lA(o.m,2))-1,Y<3*(T=o.Xb))g=7;else{for(I+=3*T,_-=3*T,Y=0;Y<T;++Y){var aA=g[y+0]|g[y+1]<<8|g[y+2]<<16;aA>_&&(aA=_),oA(o.Jc[+Y],g,I,aA),I+=aA,_-=aA,y+=3}oA(o.Jc[+T],g,I,_),g=I<w?0:5}if(g!=0)return pt(o,g,"cannot parse partitions");for(g=lA(I=o.m,7),y=fA(I)?eA(I,4):0,w=fA(I)?eA(I,4):0,_=fA(I)?eA(I,4):0,T=fA(I)?eA(I,4):0,I=fA(I)?eA(I,4):0,Y=o.Qa,aA=0;4>aA;++aA){if(Y.Cb){var D=Y.Zb[aA];Y.Fb||(D+=g)}else{if(0<aA){o.pb[aA]=o.pb[0];continue}D=g}var Z=o.pb[aA];Z.Sc[0]=Uc[tt(D+y,127)],Z.Sc[1]=xc[tt(D+0,127)],Z.Eb[0]=2*Uc[tt(D+w,127)],Z.Eb[1]=101581*xc[tt(D+_,127)]>>16,8>Z.Eb[1]&&(Z.Eb[1]=8),Z.Qc[0]=Uc[tt(D+T,117)],Z.Qc[1]=xc[tt(D+I,127)],Z.lc=D+I}if(!x.Rb)return pt(o,4,"Not a key frame.");for(fA(Q),x=o.Pa,g=0;4>g;++g){for(y=0;8>y;++y)for(w=0;3>w;++w)for(_=0;11>_;++_)T=gA(Q,F1[g][y][w][_])?lA(Q,8):b1[g][y][w][_],x.Wc[g][y].Yb[w][_]=T;for(y=0;17>y;++y)x.Xc[g][y]=x.Wc[g][Q1[y]]}return o.kc=fA(Q),o.kc&&(o.Bd=lA(Q,8)),o.cb=1}function gn(o,c,g,w,y,Q,x){var _=c[y].Yb[g];for(g=0;16>y;++y){if(!gA(o,_[g+0]))return y;for(;!gA(o,_[g+1]);)if(_=c[++y].Yb[0],g=0,y==16)return 16;var I=c[y+1].Yb;if(gA(o,_[g+2])){var T=o,Y=0;if(gA(T,(D=_)[(aA=g)+3]))if(gA(T,D[aA+6])){for(_=0,aA=2*(Y=gA(T,D[aA+8]))+(D=gA(T,D[aA+9+Y])),Y=0,D=v1[aA];D[_];++_)Y+=Y+gA(T,D[_]);Y+=3+(8<<aA)}else gA(T,D[aA+7])?(Y=7+2*gA(T,165),Y+=gA(T,145)):Y=5+gA(T,159);else Y=gA(T,D[aA+4])?3+gA(T,D[aA+5]):2;_=I[2]}else Y=1,_=I[1];I=x+C1[y],0>(T=o).b&&dA(T);var aA,D=T.b,Z=(aA=T.Ca>>1)-(T.I>>D)>>31;--T.b,T.Ca+=Z,T.Ca|=1,T.I-=(aA+1&Z)<<D,Q[I]=((Y^Z)-Z)*w[(0<y)+0]}return 16}function mi(o){var c=o.rb[o.sb-1];c.la=0,c.Na=0,n(o.zc,0,0,o.zc.length),o.ja=0}function Dr(o,c,g,w,y){y=o[c+g+32*w]+(y>>3),o[c+g+32*w]=-256&y?0>y?0:255:y}function vi(o,c,g,w,y,Q){Dr(o,c,0,g,w+y),Dr(o,c,1,g,w+Q),Dr(o,c,2,g,w-Q),Dr(o,c,3,g,w-y)}function at(o){return(20091*o>>16)+o}function Ga(o,c,g,w){var y,Q=0,x=i(16);for(y=0;4>y;++y){var _=o[c+0]+o[c+8],I=o[c+0]-o[c+8],T=(35468*o[c+4]>>16)-at(o[c+12]),Y=at(o[c+4])+(35468*o[c+12]>>16);x[Q+0]=_+Y,x[Q+1]=I+T,x[Q+2]=I-T,x[Q+3]=_-Y,Q+=4,c++}for(y=Q=0;4>y;++y)_=(o=x[Q+0]+4)+x[Q+8],I=o-x[Q+8],T=(35468*x[Q+4]>>16)-at(x[Q+12]),Dr(g,w,0,0,_+(Y=at(x[Q+4])+(35468*x[Q+12]>>16))),Dr(g,w,1,0,I+T),Dr(g,w,2,0,I-T),Dr(g,w,3,0,_-Y),Q++,w+=32}function sc(o,c,g,w){var y=o[c+0]+4,Q=35468*o[c+4]>>16,x=at(o[c+4]),_=35468*o[c+1]>>16;vi(g,w,0,y+x,o=at(o[c+1]),_),vi(g,w,1,y+Q,o,_),vi(g,w,2,y-Q,o,_),vi(g,w,3,y-x,o,_)}function oc(o,c,g,w,y){Ga(o,c,g,w),y&&Ga(o,c+16,g,w+4)}function lc(o,c,g,w){Di(o,c+0,g,w,1),Di(o,c+32,g,w+128,1)}function Yr(o,c,g,w){var y;for(o=o[c+0]+4,y=0;4>y;++y)for(c=0;4>c;++c)Dr(g,w,c,y,o)}function to(o,c,g,w){o[c+0]&&He(o,c+0,g,w),o[c+16]&&He(o,c+16,g,w+4),o[c+32]&&He(o,c+32,g,w+128),o[c+48]&&He(o,c+48,g,w+128+4)}function ro(o,c,g,w){var y,Q=i(16);for(y=0;4>y;++y){var x=o[c+0+y]+o[c+12+y],_=o[c+4+y]+o[c+8+y],I=o[c+4+y]-o[c+8+y],T=o[c+0+y]-o[c+12+y];Q[0+y]=x+_,Q[8+y]=x-_,Q[4+y]=T+I,Q[12+y]=T-I}for(y=0;4>y;++y)x=(o=Q[0+4*y]+3)+Q[3+4*y],_=Q[1+4*y]+Q[2+4*y],I=Q[1+4*y]-Q[2+4*y],T=o-Q[3+4*y],g[w+0]=x+_>>3,g[w+16]=T+I>>3,g[w+32]=x-_>>3,g[w+48]=T-I>>3,w+=64}function Dn(o,c,g){var w,y=c-32,Q=lr,x=255-o[y-1];for(w=0;w<g;++w){var _,I=Q,T=x+o[c-1];for(_=0;_<g;++_)o[c+_]=I[T+o[y+_]];c+=32}}function Va(o,c){Dn(o,c,4)}function cc(o,c){Dn(o,c,8)}function uc(o,c){Dn(o,c,16)}function fc(o,c){var g;for(g=0;16>g;++g)r(o,c+32*g,o,c-32,16)}function ja(o,c){var g;for(g=16;0<g;--g)n(o,c,o[c-1],16),c+=32}function Ci(o,c,g){var w;for(w=0;16>w;++w)n(c,g+32*w,o,16)}function On(o,c){var g,w=16;for(g=0;16>g;++g)w+=o[c-1+32*g]+o[c+g-32];Ci(w>>5,o,c)}function hc(o,c){var g,w=8;for(g=0;16>g;++g)w+=o[c-1+32*g];Ci(w>>4,o,c)}function bi(o,c){var g,w=8;for(g=0;16>g;++g)w+=o[c+g-32];Ci(w>>4,o,c)}function qa(o,c){Ci(128,o,c)}function fe(o,c,g){return o+2*c+g+2>>2}function dc(o,c){var g,w=c-32;for(w=new Uint8Array([fe(o[w-1],o[w+0],o[w+1]),fe(o[w+0],o[w+1],o[w+2]),fe(o[w+1],o[w+2],o[w+3]),fe(o[w+2],o[w+3],o[w+4])]),g=0;4>g;++g)r(o,c+32*g,w,0,w.length)}function gc(o,c){var g=o[c-1],w=o[c-1+32],y=o[c-1+64],Q=o[c-1+96];sA(o,c+0,16843009*fe(o[c-1-32],g,w)),sA(o,c+32,16843009*fe(g,w,y)),sA(o,c+64,16843009*fe(w,y,Q)),sA(o,c+96,16843009*fe(y,Q,Q))}function pc(o,c){var g,w=4;for(g=0;4>g;++g)w+=o[c+g-32]+o[c-1+32*g];for(w>>=3,g=0;4>g;++g)n(o,c+32*g,w,4)}function Bc(o,c){var g=o[c-1+0],w=o[c-1+32],y=o[c-1+64],Q=o[c-1-32],x=o[c+0-32],_=o[c+1-32],I=o[c+2-32],T=o[c+3-32];o[c+0+96]=fe(w,y,o[c-1+96]),o[c+1+96]=o[c+0+64]=fe(g,w,y),o[c+2+96]=o[c+1+64]=o[c+0+32]=fe(Q,g,w),o[c+3+96]=o[c+2+64]=o[c+1+32]=o[c+0+0]=fe(x,Q,g),o[c+3+64]=o[c+2+32]=o[c+1+0]=fe(_,x,Q),o[c+3+32]=o[c+2+0]=fe(I,_,x),o[c+3+0]=fe(T,I,_)}function pn(o,c){var g=o[c+1-32],w=o[c+2-32],y=o[c+3-32],Q=o[c+4-32],x=o[c+5-32],_=o[c+6-32],I=o[c+7-32];o[c+0+0]=fe(o[c+0-32],g,w),o[c+1+0]=o[c+0+32]=fe(g,w,y),o[c+2+0]=o[c+1+32]=o[c+0+64]=fe(w,y,Q),o[c+3+0]=o[c+2+32]=o[c+1+64]=o[c+0+96]=fe(y,Q,x),o[c+3+32]=o[c+2+64]=o[c+1+96]=fe(Q,x,_),o[c+3+64]=o[c+2+96]=fe(x,_,I),o[c+3+96]=fe(_,I,I)}function Bn(o,c){var g=o[c-1+0],w=o[c-1+32],y=o[c-1+64],Q=o[c-1-32],x=o[c+0-32],_=o[c+1-32],I=o[c+2-32],T=o[c+3-32];o[c+0+0]=o[c+1+64]=Q+x+1>>1,o[c+1+0]=o[c+2+64]=x+_+1>>1,o[c+2+0]=o[c+3+64]=_+I+1>>1,o[c+3+0]=I+T+1>>1,o[c+0+96]=fe(y,w,g),o[c+0+64]=fe(w,g,Q),o[c+0+32]=o[c+1+96]=fe(g,Q,x),o[c+1+32]=o[c+2+96]=fe(Q,x,_),o[c+2+32]=o[c+3+96]=fe(x,_,I),o[c+3+32]=fe(_,I,T)}function wc(o,c){var g=o[c+0-32],w=o[c+1-32],y=o[c+2-32],Q=o[c+3-32],x=o[c+4-32],_=o[c+5-32],I=o[c+6-32],T=o[c+7-32];o[c+0+0]=g+w+1>>1,o[c+1+0]=o[c+0+64]=w+y+1>>1,o[c+2+0]=o[c+1+64]=y+Q+1>>1,o[c+3+0]=o[c+2+64]=Q+x+1>>1,o[c+0+32]=fe(g,w,y),o[c+1+32]=o[c+0+96]=fe(w,y,Q),o[c+2+32]=o[c+1+96]=fe(y,Q,x),o[c+3+32]=o[c+2+96]=fe(Q,x,_),o[c+3+64]=fe(x,_,I),o[c+3+96]=fe(_,I,T)}function mc(o,c){var g=o[c-1+0],w=o[c-1+32],y=o[c-1+64],Q=o[c-1+96];o[c+0+0]=g+w+1>>1,o[c+2+0]=o[c+0+32]=w+y+1>>1,o[c+2+32]=o[c+0+64]=y+Q+1>>1,o[c+1+0]=fe(g,w,y),o[c+3+0]=o[c+1+32]=fe(w,y,Q),o[c+3+32]=o[c+1+64]=fe(y,Q,Q),o[c+3+64]=o[c+2+64]=o[c+0+96]=o[c+1+96]=o[c+2+96]=o[c+3+96]=Q}function aa(o,c){var g=o[c-1+0],w=o[c-1+32],y=o[c-1+64],Q=o[c-1+96],x=o[c-1-32],_=o[c+0-32],I=o[c+1-32],T=o[c+2-32];o[c+0+0]=o[c+2+32]=g+x+1>>1,o[c+0+32]=o[c+2+64]=w+g+1>>1,o[c+0+64]=o[c+2+96]=y+w+1>>1,o[c+0+96]=Q+y+1>>1,o[c+3+0]=fe(_,I,T),o[c+2+0]=fe(x,_,I),o[c+1+0]=o[c+3+32]=fe(g,x,_),o[c+1+32]=o[c+3+64]=fe(w,g,x),o[c+1+64]=o[c+3+96]=fe(y,w,g),o[c+1+96]=fe(Q,y,w)}function Wa(o,c){var g;for(g=0;8>g;++g)r(o,c+32*g,o,c-32,8)}function yi(o,c){var g;for(g=0;8>g;++g)n(o,c,o[c-1],8),c+=32}function sa(o,c,g){var w;for(w=0;8>w;++w)n(c,g+32*w,o,8)}function oa(o,c){var g,w=8;for(g=0;8>g;++g)w+=o[c+g-32]+o[c-1+32*g];sa(w>>4,o,c)}function vc(o,c){var g,w=4;for(g=0;8>g;++g)w+=o[c+g-32];sa(w>>3,o,c)}function za(o,c){var g,w=4;for(g=0;8>g;++g)w+=o[c-1+32*g];sa(w>>3,o,c)}function Xa(o,c){sa(128,o,c)}function Fi(o,c,g){var w=o[c-g],y=o[c+0],Q=3*(y-w)+Cc[1020+o[c-2*g]-o[c+g]],x=ho[112+(Q+4>>3)];o[c-g]=lr[255+w+ho[112+(Q+3>>3)]],o[c+0]=lr[255+y-x]}function Qi(o,c,g,w){var y=o[c+0],Q=o[c+g];return xr[255+o[c-2*g]-o[c-g]]>w||xr[255+Q-y]>w}function Ja(o,c,g,w){return 4*xr[255+o[c-g]-o[c+0]]+xr[255+o[c-2*g]-o[c+g]]<=w}function la(o,c,g,w,y){var Q=o[c-3*g],x=o[c-2*g],_=o[c-g],I=o[c+0],T=o[c+g],Y=o[c+2*g],aA=o[c+3*g];return 4*xr[255+_-I]+xr[255+x-T]>w?0:xr[255+o[c-4*g]-Q]<=y&&xr[255+Q-x]<=y&&xr[255+x-_]<=y&&xr[255+aA-Y]<=y&&xr[255+Y-T]<=y&&xr[255+T-I]<=y}function Ya(o,c,g,w){var y=2*w+1;for(w=0;16>w;++w)Ja(o,c+w,g,y)&&Fi(o,c+w,g)}function Ui(o,c,g,w){var y=2*w+1;for(w=0;16>w;++w)Ja(o,c+w*g,1,y)&&Fi(o,c+w*g,1)}function no(o,c,g,w){var y;for(y=3;0<y;--y)Ya(o,c+=4*g,g,w)}function io(o,c,g,w){var y;for(y=3;0<y;--y)Ui(o,c+=4,g,w)}function wn(o,c,g,w,y,Q,x,_){for(Q=2*Q+1;0<y--;){if(la(o,c,g,Q,x))if(Qi(o,c,g,_))Fi(o,c,g);else{var I=o,T=c,Y=g,aA=I[T-2*Y],D=I[T-Y],Z=I[T+0],tA=I[T+Y],pA=I[T+2*Y],iA=27*(mA=Cc[1020+3*(Z-D)+Cc[1020+aA-tA]])+63>>7,BA=18*mA+63>>7,mA=9*mA+63>>7;I[T-3*Y]=lr[255+I[T-3*Y]+mA],I[T-2*Y]=lr[255+aA+BA],I[T-Y]=lr[255+D+iA],I[T+0]=lr[255+Z-iA],I[T+Y]=lr[255+tA-BA],I[T+2*Y]=lr[255+pA-mA]}c+=w}}function mn(o,c,g,w,y,Q,x,_){for(Q=2*Q+1;0<y--;){if(la(o,c,g,Q,x))if(Qi(o,c,g,_))Fi(o,c,g);else{var I=o,T=c,Y=g,aA=I[T-Y],D=I[T+0],Z=I[T+Y],tA=ho[112+(4+(pA=3*(D-aA))>>3)],pA=ho[112+(pA+3>>3)],iA=tA+1>>1;I[T-2*Y]=lr[255+I[T-2*Y]+iA],I[T-Y]=lr[255+aA+pA],I[T+0]=lr[255+D-tA],I[T+Y]=lr[255+Z-iA]}c+=w}}function ao(o,c,g,w,y,Q){wn(o,c,g,1,16,w,y,Q)}function so(o,c,g,w,y,Q){wn(o,c,1,g,16,w,y,Q)}function xi(o,c,g,w,y,Q){var x;for(x=3;0<x;--x)mn(o,c+=4*g,g,1,16,w,y,Q)}function oo(o,c,g,w,y,Q){var x;for(x=3;0<x;--x)mn(o,c+=4,1,g,16,w,y,Q)}function h(o,c,g,w,y,Q,x,_){wn(o,c,y,1,8,Q,x,_),wn(g,w,y,1,8,Q,x,_)}function b(o,c,g,w,y,Q,x,_){wn(o,c,1,y,8,Q,x,_),wn(g,w,1,y,8,Q,x,_)}function O(o,c,g,w,y,Q,x,_){mn(o,c+4*y,y,1,8,Q,x,_),mn(g,w+4*y,y,1,8,Q,x,_)}function z(o,c,g,w,y,Q,x,_){mn(o,c+4,1,y,8,Q,x,_),mn(g,w+4,1,y,8,Q,x,_)}function AA(){this.ba=new Se,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new Ue,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function wA(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function bA(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function DA(){this.ua=0,this.Wa=new le,this.vb=new le,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new nA,this.yc=new G}function MA(){this.xb=this.a=0,this.l=new ia,this.ca=new Se,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new k,this.Pb=0,this.wd=new k,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new DA,this.ab=0,this.gc=a(4,bA),this.Oc=0}function se(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new ia,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function he(o,c,g,w,y,Q,x){for(o=o==null?0:o[c+0],c=0;c<x;++c)y[Q+c]=o+g[w+c]&255,o=y[Q+c]}function Le(o,c,g,w,y,Q,x){var _;if(o==null)he(null,null,g,w,y,Q,x);else for(_=0;_<x;++_)y[Q+_]=o[c+_]+g[w+_]&255}function At(o,c,g,w,y,Q,x){if(o==null)he(null,null,g,w,y,Q,x);else{var _,I=o[c+0],T=I,Y=I;for(_=0;_<x;++_)T=Y+(I=o[c+_])-T,Y=g[w+_]+(-256&T?0>T?0:255:T)&255,T=I,y[Q+_]=Y}}function Bt(o,c,g,w){var y=c.width,Q=c.o;if(A(o!=null&&c!=null),0>g||0>=w||g+w>Q)return null;if(!o.Cc){if(o.ga==null){var x;if(o.ga=new se,(x=o.ga==null)||(x=c.width*c.o,A(o.Gb.length==0),o.Gb=i(x),o.Uc=0,o.Gb==null?x=0:(o.mb=o.Gb,o.nb=o.Uc,o.rc=null,x=1),x=!x),!x){x=o.ga;var _=o.Fa,I=o.P,T=o.qc,Y=o.mb,aA=o.nb,D=I+1,Z=T-1,tA=x.l;if(A(_!=null&&Y!=null&&c!=null),zn[0]=null,zn[1]=he,zn[2]=Le,zn[3]=At,x.ca=Y,x.tb=aA,x.c=c.width,x.i=c.height,A(0<x.c&&0<x.i),1>=T)c=0;else if(x.$a=3&_[I+0],x.Z=_[I+0]>>2&3,x.Lc=_[I+0]>>4&3,I=_[I+0]>>6&3,0>x.$a||1<x.$a||4<=x.Z||1<x.Lc||I)c=0;else if(tA.put=Ae,tA.ac=zr,tA.bc=hn,tA.ma=x,tA.width=c.width,tA.height=c.height,tA.Da=c.Da,tA.v=c.v,tA.va=c.va,tA.j=c.j,tA.o=c.o,x.$a)A:{A(x.$a==1),c=Bi();e:for(;;){if(c==null){c=0;break A}if(A(x!=null),x.mc=c,c.c=x.c,c.i=x.i,c.l=x.l,c.l.ma=x,c.l.width=x.c,c.l.height=x.i,c.a=0,uA(c.m,_,D,Z),!Jr(x.c,x.i,1,c,null)||(c.ab==1&&c.gc[0].hc==3&&Nr(c.s)?(x.ic=1,_=c.c*c.i,c.Ta=null,c.Ua=0,c.V=i(_),c.Ba=0,c.V==null?(c.a=1,c=0):c=1):(x.ic=0,c=wi(c,x.c)),!c))break e;c=1;break A}x.mc=null,c=0}else c=Z>=x.c*x.i;x=!c}if(x)return null;o.ga.Lc!=1?o.Ga=0:w=Q-g}A(o.ga!=null),A(g+w<=Q);A:{if(c=(_=o.ga).c,Q=_.l.o,_.$a==0){if(D=o.rc,Z=o.Vc,tA=o.Fa,I=o.P+1+g*c,T=o.mb,Y=o.nb+g*c,A(I<=o.P+o.qc),_.Z!=0)for(A(zn[_.Z]!=null),x=0;x<w;++x)zn[_.Z](D,Z,tA,I,T,Y,c),D=T,Z=Y,Y+=c,I+=c;else for(x=0;x<w;++x)r(T,Y,tA,I,c),D=T,Z=Y,Y+=c,I+=c;o.rc=D,o.Vc=Z}else{if(A(_.mc!=null),c=g+w,A((x=_.mc)!=null),A(c<=x.i),x.C>=c)c=1;else if(_.ic||Fr(),_.ic){_=x.V,D=x.Ba,Z=x.c;var pA=x.i,iA=(tA=1,I=x.$/Z,T=x.$%Z,Y=x.m,aA=x.s,x.$),BA=Z*pA,mA=Z*c,UA=aA.wc,CA=iA<mA?Ht(aA,T,I):null;A(iA<=BA),A(c<=pA),A(Nr(aA));e:for(;;){for(;!Y.h&&iA<mA;){if(T&UA||(CA=Ht(aA,T,I)),A(CA!=null),rA(Y),256>(pA=et(CA.G[0],CA.H[0],Y)))_[D+iA]=pA,++iA,++T>=Z&&(T=0,++I<=c&&!(I%16)&&kr(x,I));else{if(!(280>pA)){tA=0;break e}pA=vr(pA-256,Y);var jA,NA=et(CA.G[4],CA.H[4],Y);if(rA(Y),!(iA>=(NA=Cr(Z,NA=vr(NA,Y)))&&BA-iA>=pA)){tA=0;break e}for(jA=0;jA<pA;++jA)_[D+iA+jA]=_[D+iA+jA-NA];for(iA+=pA,T+=pA;T>=Z;)T-=Z,++I<=c&&!(I%16)&&kr(x,I);iA<mA&&T&UA&&(CA=Ht(aA,T,I))}A(Y.h==W(Y))}kr(x,I>c?c:I);break e}!tA||Y.h&&iA<BA?(tA=0,x.a=Y.h?5:3):x.$=iA,c=tA}else c=Tr(x,x.V,x.Ba,x.c,x.i,c,ta);if(!c){w=0;break A}}g+w>=Q&&(o.Cc=1),w=1}if(!w)return null;if(o.Cc&&((w=o.ga)!=null&&(w.mc=null),o.ga=null,0<o.Ga))return alert("todo:WebPDequantizeLevels"),null}return o.nb+g*y}function qe(o,c,g,w,y,Q){for(;0<y--;){var x,_=o,I=c+(g?1:0),T=o,Y=c+(g?0:3);for(x=0;x<w;++x){var aA=T[Y+4*x];aA!=255&&(aA*=32897,_[I+4*x+0]=_[I+4*x+0]*aA>>23,_[I+4*x+1]=_[I+4*x+1]*aA>>23,_[I+4*x+2]=_[I+4*x+2]*aA>>23)}c+=Q}}function bt(o,c,g,w,y){for(;0<w--;){var Q;for(Q=0;Q<g;++Q){var x=o[c+2*Q+0],_=15&(T=o[c+2*Q+1]),I=4369*_,T=(240&T|T>>4)*I>>16;o[c+2*Q+0]=(240&x|x>>4)*I>>16&240|(15&x|x<<4)*I>>16>>4&15,o[c+2*Q+1]=240&T|_}c+=y}}function wt(o,c,g,w,y,Q,x,_){var I,T,Y=255;for(T=0;T<y;++T){for(I=0;I<w;++I){var aA=o[c+I];Q[x+4*I]=aA,Y&=aA}c+=g,x+=_}return Y!=255}function Nt(o,c,g,w,y){var Q;for(Q=0;Q<y;++Q)g[w+Q]=o[c+Q]>>8}function Fr(){os=qe,jf=bt,qf=wt,Wf=Nt}function er(o,c,g){L[o]=function(w,y,Q,x,_,I,T,Y,aA,D,Z,tA,pA,iA,BA,mA,UA){var CA,jA=UA-1>>1,NA=_[I+0]|T[Y+0]<<16,pe=aA[D+0]|Z[tA+0]<<16;A(w!=null);var PA=3*NA+pe+131074>>2;for(c(w[y+0],255&PA,PA>>16,pA,iA),Q!=null&&(PA=3*pe+NA+131074>>2,c(Q[x+0],255&PA,PA>>16,BA,mA)),CA=1;CA<=jA;++CA){var be=_[I+CA]|T[Y+CA]<<16,Ft=aA[D+CA]|Z[tA+CA]<<16,Be=NA+be+pe+Ft+524296,RA=Be+2*(be+pe)>>3;PA=RA+NA>>1,NA=(Be=Be+2*(NA+Ft)>>3)+be>>1,c(w[y+2*CA-1],255&PA,PA>>16,pA,iA+(2*CA-1)*g),c(w[y+2*CA-0],255&NA,NA>>16,pA,iA+(2*CA-0)*g),Q!=null&&(PA=Be+pe>>1,NA=RA+Ft>>1,c(Q[x+2*CA-1],255&PA,PA>>16,BA,mA+(2*CA-1)*g),c(Q[x+2*CA+0],255&NA,NA>>16,BA,mA+(2*CA+0)*g)),NA=be,pe=Ft}1&UA||(PA=3*NA+pe+131074>>2,c(w[y+UA-1],255&PA,PA>>16,pA,iA+(UA-1)*g),Q!=null&&(PA=3*pe+NA+131074>>2,c(Q[x+UA-1],255&PA,PA>>16,BA,mA+(UA-1)*g)))}}function lo(){Er[go]=x1,Er[po]=nh,Er[Zf]=E1,Er[Bo]=ih,Er[wo]=ah,Er[bc]=sh,Er[Ah]=L1,Er[yc]=nh,Er[Fc]=ih,Er[mo]=ah,Er[Qc]=sh}function ca(o){return o&-16384?0>o?0:255:o>>_1}function Ei(o,c){return ca((19077*o>>8)+(26149*c>>8)-14234)}function Pn(o,c,g){return ca((19077*o>>8)-(6419*c>>8)-(13320*g>>8)+8708)}function Li(o,c){return ca((19077*o>>8)+(33050*c>>8)-17685)}function _i(o,c,g,w,y){w[y+0]=Ei(o,g),w[y+1]=Pn(o,c,g),w[y+2]=Li(o,c)}function Ii(o,c,g,w,y){w[y+0]=Li(o,c),w[y+1]=Pn(o,c,g),w[y+2]=Ei(o,g)}function Kt(o,c,g,w,y){var Q=Pn(o,c,g);c=Q<<3&224|Li(o,c)>>3,w[y+0]=248&Ei(o,g)|Q>>5,w[y+1]=c}function Si(o,c,g,w,y){var Q=240&Li(o,c)|15;w[y+0]=240&Ei(o,g)|Pn(o,c,g)>>4,w[y+1]=Q}function Hi(o,c,g,w,y){w[y+0]=255,_i(o,c,g,w,y+1)}function $a(o,c,g,w,y){Ii(o,c,g,w,y),w[y+3]=255}function Za(o,c,g,w,y){_i(o,c,g,w,y),w[y+3]=255}function tt(o,c){return 0>o?0:o>c?c:o}function vn(o,c,g){L[o]=function(w,y,Q,x,_,I,T,Y,aA){for(var D=Y+(-2&aA)*g;Y!=D;)c(w[y+0],Q[x+0],_[I+0],T,Y),c(w[y+1],Q[x+0],_[I+0],T,Y+g),y+=2,++x,++I,Y+=2*g;1&aA&&c(w[y+0],Q[x+0],_[I+0],T,Y)}}function ua(o,c,g){return g==0?o==0?c==0?6:5:c==0?4:0:g}function co(o,c,g,w,y){switch(o>>>30){case 3:Di(c,g,w,y,0);break;case 2:Ur(c,g,w,y);break;case 1:He(c,g,w,y)}}function Qr(o,c){var g,w,y=c.M,Q=c.Nb,x=o.oc,_=o.pc+40,I=o.oc,T=o.pc+584,Y=o.oc,aA=o.pc+600;for(g=0;16>g;++g)x[_+32*g-1]=129;for(g=0;8>g;++g)I[T+32*g-1]=129,Y[aA+32*g-1]=129;for(0<y?x[_-1-32]=I[T-1-32]=Y[aA-1-32]=129:(n(x,_-32-1,127,21),n(I,T-32-1,127,9),n(Y,aA-32-1,127,9)),w=0;w<o.za;++w){var D=c.ya[c.aa+w];if(0<w){for(g=-1;16>g;++g)r(x,_+32*g-4,x,_+32*g+12,4);for(g=-1;8>g;++g)r(I,T+32*g-4,I,T+32*g+4,4),r(Y,aA+32*g-4,Y,aA+32*g+4,4)}var Z=o.Gd,tA=o.Hd+w,pA=D.ad,iA=D.Hc;if(0<y&&(r(x,_-32,Z[tA].y,0,16),r(I,T-32,Z[tA].f,0,8),r(Y,aA-32,Z[tA].ea,0,8)),D.Za){var BA=x,mA=_-32+16;for(0<y&&(w>=o.za-1?n(BA,mA,Z[tA].y[15],4):r(BA,mA,Z[tA+1].y,0,4)),g=0;4>g;g++)BA[mA+128+g]=BA[mA+256+g]=BA[mA+384+g]=BA[mA+0+g];for(g=0;16>g;++g,iA<<=2)BA=x,mA=_+lh[g],Or[D.Ob[g]](BA,mA),co(iA,pA,16*+g,BA,mA)}else if(BA=ua(w,y,D.Ob[0]),Wn[BA](x,_),iA!=0)for(g=0;16>g;++g,iA<<=2)co(iA,pA,16*+g,x,_+lh[g]);for(g=D.Gc,BA=ua(w,y,D.Dd),yn[BA](I,T),yn[BA](Y,aA),iA=pA,BA=I,mA=T,255&(D=0|g)&&(170&D?An(iA,256,BA,mA):Ke(iA,256,BA,mA)),D=Y,iA=aA,255&(g>>=8)&&(170&g?An(pA,320,D,iA):Ke(pA,320,D,iA)),y<o.Ub-1&&(r(Z[tA].y,0,x,_+480,16),r(Z[tA].f,0,I,T+224,8),r(Z[tA].ea,0,Y,aA+224,8)),g=8*Q*o.B,Z=o.sa,tA=o.ta+16*w+16*Q*o.R,pA=o.qa,D=o.ra+8*w+g,iA=o.Ha,BA=o.Ia+8*w+g,g=0;16>g;++g)r(Z,tA+g*o.R,x,_+32*g,16);for(g=0;8>g;++g)r(pA,D+g*o.B,I,T+32*g,8),r(iA,BA+g*o.B,Y,aA+32*g,8)}}function Ni(o,c,g,w,y,Q,x,_,I){var T=[0],Y=[0],aA=0,D=I!=null?I.kd:0,Z=I??new wA;if(o==null||12>g)return 7;Z.data=o,Z.w=c,Z.ha=g,c=[c],g=[g],Z.gb=[Z.gb];A:{var tA=c,pA=g,iA=Z.gb;if(A(o!=null),A(pA!=null),A(iA!=null),iA[0]=0,12<=pA[0]&&!e(o,tA[0],"RIFF")){if(e(o,tA[0]+8,"WEBP")){iA=3;break A}var BA=cA(o,tA[0]+4);if(12>BA||4294967286<BA){iA=3;break A}if(D&&BA>pA[0]-8){iA=7;break A}iA[0]=BA,tA[0]+=12,pA[0]-=12}iA=0}if(iA!=0)return iA;for(BA=0<Z.gb[0],g=g[0];;){A:{var mA=o;pA=c,iA=g;var UA=T,CA=Y,jA=tA=[0];if((PA=aA=[aA])[0]=0,8>iA[0])iA=7;else{if(!e(mA,pA[0],"VP8X")){if(cA(mA,pA[0]+4)!=10){iA=3;break A}if(18>iA[0]){iA=7;break A}var NA=cA(mA,pA[0]+8),pe=1+xA(mA,pA[0]+12);if(2147483648<=pe*(mA=1+xA(mA,pA[0]+15))){iA=3;break A}jA!=null&&(jA[0]=NA),UA!=null&&(UA[0]=pe),CA!=null&&(CA[0]=mA),pA[0]+=18,iA[0]-=18,PA[0]=1}iA=0}}if(aA=aA[0],tA=tA[0],iA!=0)return iA;if(pA=!!(2&tA),!BA&&aA)return 3;if(Q!=null&&(Q[0]=!!(16&tA)),x!=null&&(x[0]=pA),_!=null&&(_[0]=0),x=T[0],tA=Y[0],aA&&pA&&I==null){iA=0;break}if(4>g){iA=7;break}if(BA&&aA||!BA&&!aA&&!e(o,c[0],"ALPH")){g=[g],Z.na=[Z.na],Z.P=[Z.P],Z.Sa=[Z.Sa];A:{NA=o,iA=c,BA=g;var PA=Z.gb;UA=Z.na,CA=Z.P,jA=Z.Sa,pe=22,A(NA!=null),A(BA!=null),mA=iA[0];var be=BA[0];for(A(UA!=null),A(jA!=null),UA[0]=null,CA[0]=null,jA[0]=0;;){if(iA[0]=mA,BA[0]=be,8>be){iA=7;break A}var Ft=cA(NA,mA+4);if(4294967286<Ft){iA=3;break A}var Be=8+Ft+1&-2;if(pe+=Be,0<PA&&pe>PA){iA=3;break A}if(!e(NA,mA,"VP8 ")||!e(NA,mA,"VP8L")){iA=0;break A}if(be[0]<Be){iA=7;break A}e(NA,mA,"ALPH")||(UA[0]=NA,CA[0]=mA+8,jA[0]=Ft),mA+=Be,be-=Be}}if(g=g[0],Z.na=Z.na[0],Z.P=Z.P[0],Z.Sa=Z.Sa[0],iA!=0)break}g=[g],Z.Ja=[Z.Ja],Z.xa=[Z.xa];A:if(PA=o,iA=c,BA=g,UA=Z.gb[0],CA=Z.Ja,jA=Z.xa,NA=iA[0],mA=!e(PA,NA,"VP8 "),pe=!e(PA,NA,"VP8L"),A(PA!=null),A(BA!=null),A(CA!=null),A(jA!=null),8>BA[0])iA=7;else{if(mA||pe){if(PA=cA(PA,NA+4),12<=UA&&PA>UA-12){iA=3;break A}if(D&&PA>BA[0]-8){iA=7;break A}CA[0]=PA,iA[0]+=8,BA[0]-=8,jA[0]=pe}else jA[0]=5<=BA[0]&&PA[NA+0]==47&&!(PA[NA+4]>>5),CA[0]=BA[0];iA=0}if(g=g[0],Z.Ja=Z.Ja[0],Z.xa=Z.xa[0],c=c[0],iA!=0)break;if(4294967286<Z.Ja)return 3;if(_==null||pA||(_[0]=Z.xa?2:1),x=[x],tA=[tA],Z.xa){if(5>g){iA=7;break}_=x,D=tA,pA=Q,o==null||5>g?o=0:5<=g&&o[c+0]==47&&!(o[c+4]>>5)?(BA=[0],PA=[0],UA=[0],uA(CA=new k,o,c,g),dn(CA,BA,PA,UA)?(_!=null&&(_[0]=BA[0]),D!=null&&(D[0]=PA[0]),pA!=null&&(pA[0]=UA[0]),o=1):o=0):o=0}else{if(10>g){iA=7;break}_=tA,o==null||10>g||!Ao(o,c+3,g-3)?o=0:(D=o[c+0]|o[c+1]<<8|o[c+2]<<16,pA=16383&(o[c+7]<<8|o[c+6]),o=16383&(o[c+9]<<8|o[c+8]),1&D||3<(D>>1&7)||!(D>>4&1)||D>>5>=Z.Ja||!pA||!o?o=0:(x&&(x[0]=pA),_&&(_[0]=o),o=1))}if(!o||(x=x[0],tA=tA[0],aA&&(T[0]!=x||Y[0]!=tA)))return 3;I!=null&&(I[0]=Z,I.offset=c-I.w,A(4294967286>c-I.w),A(I.offset==I.ha-g));break}return iA==0||iA==7&&aA&&I==null?(Q!=null&&(Q[0]|=Z.na!=null&&0<Z.na.length),w!=null&&(w[0]=x),y!=null&&(y[0]=tA),0):iA}function As(o,c,g){var w=c.width,y=c.height,Q=0,x=0,_=w,I=y;if(c.Da=o!=null&&0<o.Da,c.Da&&(_=o.cd,I=o.bd,Q=o.v,x=o.j,11>g||(Q&=-2,x&=-2),0>Q||0>x||0>=_||0>=I||Q+_>w||x+I>y))return 0;if(c.v=Q,c.j=x,c.va=Q+_,c.o=x+I,c.U=_,c.T=I,c.da=o!=null&&0<o.da,c.da){if(!zA(_,I,g=[o.ib],Q=[o.hb]))return 0;c.ib=g[0],c.hb=Q[0]}return c.ob=o!=null&&o.ob,c.Kb=o==null||!o.Sd,c.da&&(c.ob=c.ib<3*w/4&&c.hb<3*y/4,c.Kb=0),1}function es(o){if(o==null)return 2;if(11>o.S){var c=o.f.RGBA;c.fb+=(o.height-1)*c.A,c.A=-c.A}else c=o.f.kb,o=o.height,c.O+=(o-1)*c.fa,c.fa=-c.fa,c.N+=(o-1>>1)*c.Ab,c.Ab=-c.Ab,c.W+=(o-1>>1)*c.Db,c.Db=-c.Db,c.F!=null&&(c.J+=(o-1)*c.lb,c.lb=-c.lb);return 0}function Rn(o,c,g,w){if(w==null||0>=o||0>=c)return 2;if(g!=null){if(g.Da){var y=g.cd,Q=g.bd,x=-2&g.v,_=-2&g.j;if(0>x||0>_||0>=y||0>=Q||x+y>o||_+Q>c)return 2;o=y,c=Q}if(g.da){if(!zA(o,c,y=[g.ib],Q=[g.hb]))return 2;o=y[0],c=Q[0]}}w.width=o,w.height=c;A:{var I=w.width,T=w.height;if(o=w.S,0>=I||0>=T||!(o>=go&&13>o))o=2;else{if(0>=w.Rd&&w.sd==null){x=Q=y=c=0;var Y=(_=I*ch[o])*T;if(11>o||(Q=(T+1)/2*(c=(I+1)/2),o==12&&(x=(y=I)*T)),(T=i(Y+2*Q+x))==null){o=1;break A}w.sd=T,11>o?((I=w.f.RGBA).eb=T,I.fb=0,I.A=_,I.size=Y):((I=w.f.kb).y=T,I.O=0,I.fa=_,I.Fd=Y,I.f=T,I.N=0+Y,I.Ab=c,I.Cd=Q,I.ea=T,I.W=0+Y+Q,I.Db=c,I.Ed=Q,o==12&&(I.F=T,I.J=0+Y+2*Q),I.Tc=x,I.lb=y)}if(c=1,y=w.S,Q=w.width,x=w.height,y>=go&&13>y)if(11>y)o=w.f.RGBA,c&=(_=Math.abs(o.A))*(x-1)+Q<=o.size,c&=_>=Q*ch[y],c&=o.eb!=null;else{o=w.f.kb,_=(Q+1)/2,Y=(x+1)/2,I=Math.abs(o.fa),T=Math.abs(o.Ab);var aA=Math.abs(o.Db),D=Math.abs(o.lb),Z=D*(x-1)+Q;c&=I*(x-1)+Q<=o.Fd,c&=T*(Y-1)+_<=o.Cd,c=(c&=aA*(Y-1)+_<=o.Ed)&I>=Q&T>=_&aA>=_,c&=o.y!=null,c&=o.f!=null,c&=o.ea!=null,y==12&&(c&=D>=Q,c&=Z<=o.Tc,c&=o.F!=null)}else c=0;o=c?0:2}}return o!=0||g!=null&&g.fd&&(o=es(w)),o}var ki=64,sr=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],or=24,Mn=32,Cn=8,Kn=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];IA("Predictor0","PredictorAdd0"),L.Predictor0=function(){return 4278190080},L.Predictor1=function(o){return o},L.Predictor2=function(o,c,g){return c[g+0]},L.Predictor3=function(o,c,g){return c[g+1]},L.Predictor4=function(o,c,g){return c[g-1]},L.Predictor5=function(o,c,g){return WA(WA(o,c[g+1]),c[g+0])},L.Predictor6=function(o,c,g){return WA(o,c[g-1])},L.Predictor7=function(o,c,g){return WA(o,c[g+0])},L.Predictor8=function(o,c,g){return WA(c[g-1],c[g+0])},L.Predictor9=function(o,c,g){return WA(c[g+0],c[g+1])},L.Predictor10=function(o,c,g){return WA(WA(o,c[g-1]),WA(c[g+0],c[g+1]))},L.Predictor11=function(o,c,g){var w=c[g+0];return 0>=ne(w>>24&255,o>>24&255,(c=c[g-1])>>24&255)+ne(w>>16&255,o>>16&255,c>>16&255)+ne(w>>8&255,o>>8&255,c>>8&255)+ne(255&w,255&o,255&c)?w:o},L.Predictor12=function(o,c,g){var w=c[g+0];return(ye((o>>24&255)+(w>>24&255)-((c=c[g-1])>>24&255))<<24|ye((o>>16&255)+(w>>16&255)-(c>>16&255))<<16|ye((o>>8&255)+(w>>8&255)-(c>>8&255))<<8|ye((255&o)+(255&w)-(255&c)))>>>0},L.Predictor13=function(o,c,g){var w=c[g-1];return(re((o=WA(o,c[g+0]))>>24&255,w>>24&255)<<24|re(o>>16&255,w>>16&255)<<16|re(o>>8&255,w>>8&255)<<8|re(255&o,255&w))>>>0};var ts=L.PredictorAdd0;L.PredictorAdd1=Ee,IA("Predictor2","PredictorAdd2"),IA("Predictor3","PredictorAdd3"),IA("Predictor4","PredictorAdd4"),IA("Predictor5","PredictorAdd5"),IA("Predictor6","PredictorAdd6"),IA("Predictor7","PredictorAdd7"),IA("Predictor8","PredictorAdd8"),IA("Predictor9","PredictorAdd9"),IA("Predictor10","PredictorAdd10"),IA("Predictor11","PredictorAdd11"),IA("Predictor12","PredictorAdd12"),IA("Predictor13","PredictorAdd13");var fa=L.PredictorAdd2;VA("ColorIndexInverseTransform","MapARGB","32b",function(o){return o>>8&255},function(o){return o}),VA("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(o){return o},function(o){return o>>8&255});var st,uo=L.ColorIndexInverseTransform,$r=L.MapARGB,Zr=L.VP8LColorIndexInverseTransformAlpha,rs=L.MapAlpha,ns=L.VP8LPredictorsAdd=[];ns.length=16,(L.VP8LPredictors=[]).length=16,(L.VP8LPredictorsAdd_C=[]).length=16,(L.VP8LPredictors_C=[]).length=16;var is,as,Gn,Vn,jn,Ti,qn,Di,Ur,An,He,Ke,ot,yt,bn,ss,ha,fo,Pf,Rf,Mf,Kf,Gf,Vf,os,jf,qf,Wf,zf=i(511),Xf=i(2041),Jf=i(225),Yf=i(767),$f=0,Cc=Xf,ho=Jf,lr=Yf,xr=zf,go=0,po=1,Zf=2,Bo=3,wo=4,bc=5,Ah=6,yc=7,Fc=8,mo=9,Qc=10,h1=[2,3,7],d1=[3,3,11],eh=[280,256,256,256,40],g1=[0,1,1,1,0],p1=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],B1=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],w1=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],m1=8,Uc=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],xc=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],ls=null,v1=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],C1=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],th=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],b1=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],y1=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],F1=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],Q1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Wn=[],Or=[],yn=[],U1=1,rh=2,zn=[],Er=[];er("UpsampleRgbLinePair",_i,3),er("UpsampleBgrLinePair",Ii,3),er("UpsampleRgbaLinePair",Za,4),er("UpsampleBgraLinePair",$a,4),er("UpsampleArgbLinePair",Hi,4),er("UpsampleRgba4444LinePair",Si,2),er("UpsampleRgb565LinePair",Kt,2);var x1=L.UpsampleRgbLinePair,E1=L.UpsampleBgrLinePair,nh=L.UpsampleRgbaLinePair,ih=L.UpsampleBgraLinePair,ah=L.UpsampleArgbLinePair,sh=L.UpsampleRgba4444LinePair,L1=L.UpsampleRgb565LinePair,vo=16,Co=1<<vo-1,cs=-227,Ec=482,_1=6,oh=0,I1=i(256),S1=i(256),H1=i(256),N1=i(256),k1=i(Ec-cs),T1=i(Ec-cs);vn("YuvToRgbRow",_i,3),vn("YuvToBgrRow",Ii,3),vn("YuvToRgbaRow",Za,4),vn("YuvToBgraRow",$a,4),vn("YuvToArgbRow",Hi,4),vn("YuvToRgba4444Row",Si,2),vn("YuvToRgb565Row",Kt,2);var lh=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],bo=[0,2,8],D1=[8,7,6,4,4,2,2,2,1,1,1,1],O1=1;this.WebPDecodeRGBA=function(o,c,g,w,y){var Q=po,x=new AA,_=new Se;x.ba=_,_.S=Q,_.width=[_.width],_.height=[_.height];var I=_.width,T=_.height,Y=new ee;if(Y==null||o==null)var aA=2;else A(Y!=null),aA=Ni(o,c,g,Y.width,Y.height,Y.Pd,Y.Qd,Y.format,null);if(aA!=0?I=0:(I!=null&&(I[0]=Y.width[0]),T!=null&&(T[0]=Y.height[0]),I=1),I){_.width=_.width[0],_.height=_.height[0],w!=null&&(w[0]=_.width),y!=null&&(y[0]=_.height);A:{if(w=new ia,(y=new wA).data=o,y.w=c,y.ha=g,y.kd=1,c=[0],A(y!=null),((o=Ni(y.data,y.w,y.ha,null,null,null,c,null,y))==0||o==7)&&c[0]&&(o=4),(c=o)==0){if(A(x!=null),w.data=y.data,w.w=y.w+y.offset,w.ha=y.ha-y.offset,w.put=Ae,w.ac=zr,w.bc=hn,w.ma=x,y.xa){if((o=Bi())==null){x=1;break A}if((function(D,Z){var tA=[0],pA=[0],iA=[0];e:for(;;){if(D==null)return 0;if(Z==null)return D.a=2,0;if(D.l=Z,D.a=0,uA(D.m,Z.data,Z.w,Z.ha),!dn(D.m,tA,pA,iA)){D.a=3;break e}if(D.xb=rh,Z.width=tA[0],Z.height=pA[0],!Jr(tA[0],pA[0],1,D,null))break e;return 1}return A(D.a!=0),0})(o,w)){if(w=(c=Rn(w.width,w.height,x.Oa,x.ba))==0){e:{w=o;t:for(;;){if(w==null){w=0;break e}if(A(w.s.yc!=null),A(w.s.Ya!=null),A(0<w.s.Wb),A((g=w.l)!=null),A((y=g.ma)!=null),w.xb!=0){if(w.ca=y.ba,w.tb=y.tb,A(w.ca!=null),!As(y.Oa,g,Bo)){w.a=2;break t}if(!wi(w,g.width)||g.da)break t;if((g.da||ae(w.ca.S))&&Fr(),11>w.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),w.ca.f.kb.F!=null&&Fr()),w.Pb&&0<w.s.ua&&w.s.vb.X==null&&!R(w.s.vb,w.s.Wa.Xa)){w.a=1;break t}w.xb=0}if(!Tr(w,w.V,w.Ba,w.c,w.i,g.o,Tn))break t;y.Dc=w.Ma,w=1;break e}A(w.a!=0),w=0}w=!w}w&&(c=o.a)}else c=o.a}else{if((o=new ac)==null){x=1;break A}if(o.Fa=y.na,o.P=y.P,o.qc=y.Sa,eo(o,w)){if((c=Rn(w.width,w.height,x.Oa,x.ba))==0){if(o.Aa=0,g=x.Oa,A((y=o)!=null),g!=null){if(0<(I=0>(I=g.Md)?0:100<I?255:255*I/100)){for(T=Y=0;4>T;++T)12>(aA=y.pb[T]).lc&&(aA.ia=I*D1[0>aA.lc?0:aA.lc]>>3),Y|=aA.ia;Y&&(alert("todo:VP8InitRandom"),y.ia=1)}y.Ga=g.Id,100<y.Ga?y.Ga=100:0>y.Ga&&(y.Ga=0)}(function(D,Z){if(D==null)return 0;if(Z==null)return pt(D,2,"NULL VP8Io parameter in VP8Decode().");if(!D.cb&&!eo(D,Z))return 0;if(A(D.cb),Z.ac==null||Z.ac(Z)){Z.ob&&(D.L=0);var tA=bo[D.L];if(D.L==2?(D.yb=0,D.zb=0):(D.yb=Z.v-tA>>4,D.zb=Z.j-tA>>4,0>D.yb&&(D.yb=0),0>D.zb&&(D.zb=0)),D.Va=Z.o+15+tA>>4,D.Hb=Z.va+15+tA>>4,D.Hb>D.za&&(D.Hb=D.za),D.Va>D.Ub&&(D.Va=D.Ub),0<D.L){var pA=D.ed;for(tA=0;4>tA;++tA){var iA;if(D.Qa.Cb){var BA=D.Qa.Lb[tA];D.Qa.Fb||(BA+=pA.Tb)}else BA=pA.Tb;for(iA=0;1>=iA;++iA){var mA=D.gd[tA][iA],UA=BA;if(pA.Pc&&(UA+=pA.vd[0],iA&&(UA+=pA.od[0])),0<(UA=0>UA?0:63<UA?63:UA)){var CA=UA;0<pA.wb&&(CA=4<pA.wb?CA>>2:CA>>1)>9-pA.wb&&(CA=9-pA.wb),1>CA&&(CA=1),mA.dd=CA,mA.tc=2*UA+CA,mA.ld=40<=UA?2:15<=UA?1:0}else mA.tc=0;mA.La=iA}}}tA=0}else pt(D,6,"Frame setup failed"),tA=D.a;if(tA=tA==0){if(tA){D.$c=0,0<D.Aa||(D.Ic=O1);e:{tA=D.Ic,pA=4*(CA=D.za);var jA=32*CA,NA=CA+1,pe=0<D.L?CA*(0<D.Aa?2:1):0,PA=(D.Aa==2?2:1)*CA;if((mA=pA+832+(iA=3*(16*tA+bo[D.L])/2*jA)+(BA=D.Fa!=null&&0<D.Fa.length?D.Kc.c*D.Kc.i:0))!=mA)tA=0;else{if(mA>D.Vb){if(D.Vb=0,D.Ec=i(mA),D.Fc=0,D.Ec==null){tA=pt(D,1,"no memory during frame initialization.");break e}D.Vb=mA}mA=D.Ec,UA=D.Fc,D.Ac=mA,D.Bc=UA,UA+=pA,D.Gd=a(jA,$s),D.Hd=0,D.rb=a(NA+1,Ma),D.sb=1,D.wa=pe?a(pe,yr):null,D.Y=0,D.D.Nb=0,D.D.wa=D.wa,D.D.Y=D.Y,0<D.Aa&&(D.D.Y+=CA),A(!0),D.oc=mA,D.pc=UA,UA+=832,D.ya=a(PA,Ka),D.aa=0,D.D.ya=D.ya,D.D.aa=D.aa,D.Aa==2&&(D.D.aa+=CA),D.R=16*CA,D.B=8*CA,CA=(jA=bo[D.L])*D.R,jA=jA/2*D.B,D.sa=mA,D.ta=UA+CA,D.qa=D.sa,D.ra=D.ta+16*tA*D.R+jA,D.Ha=D.qa,D.Ia=D.ra+8*tA*D.B+jA,D.$c=0,UA+=iA,D.mb=BA?mA:null,D.nb=BA?UA:null,A(UA+BA<=D.Fc+D.Vb),mi(D),n(D.Ac,D.Bc,0,pA),tA=1}}if(tA){if(Z.ka=0,Z.y=D.sa,Z.O=D.ta,Z.f=D.qa,Z.N=D.ra,Z.ea=D.Ha,Z.Vd=D.Ia,Z.fa=D.R,Z.Rc=D.B,Z.F=null,Z.J=0,!$f){for(tA=-255;255>=tA;++tA)zf[255+tA]=0>tA?-tA:tA;for(tA=-1020;1020>=tA;++tA)Xf[1020+tA]=-128>tA?-128:127<tA?127:tA;for(tA=-112;112>=tA;++tA)Jf[112+tA]=-16>tA?-16:15<tA?15:tA;for(tA=-255;510>=tA;++tA)Yf[255+tA]=0>tA?0:255<tA?255:tA;$f=1}qn=ro,Di=oc,An=lc,He=Yr,Ke=to,Ur=sc,ot=ao,yt=so,bn=h,ss=b,ha=xi,fo=oo,Pf=O,Rf=z,Mf=Ya,Kf=Ui,Gf=no,Vf=io,Or[0]=pc,Or[1]=Va,Or[2]=dc,Or[3]=gc,Or[4]=Bc,Or[5]=Bn,Or[6]=pn,Or[7]=wc,Or[8]=aa,Or[9]=mc,Wn[0]=On,Wn[1]=uc,Wn[2]=fc,Wn[3]=ja,Wn[4]=hc,Wn[5]=bi,Wn[6]=qa,yn[0]=oa,yn[1]=cc,yn[2]=Wa,yn[3]=yi,yn[4]=za,yn[5]=vc,yn[6]=Xa,tA=1}else tA=0}tA&&(tA=(function(be,Ft){for(be.M=0;be.M<be.Va;++be.M){var Be,RA=be.Jc[be.M&be.Xb],_A=be.m,lt=be;for(Be=0;Be<lt.za;++Be){var ge=_A,Qe=lt,Je=Qe.Ac,kt=Qe.Bc+4*Be,Jt=Qe.zc,rt=Qe.ya[Qe.aa+Be];if(Qe.Qa.Bb?rt.$b=gA(ge,Qe.Pa.jb[0])?2+gA(ge,Qe.Pa.jb[2]):gA(ge,Qe.Pa.jb[1]):rt.$b=0,Qe.kc&&(rt.Ad=gA(ge,Qe.Bd)),rt.Za=!gA(ge,145)+0,rt.Za){var Gt=rt.Ob,Yt=0;for(Qe=0;4>Qe;++Qe){var Qt,xe=Jt[0+Qe];for(Qt=0;4>Qt;++Qt){xe=y1[Je[kt+Qt]][xe];for(var Te=th[gA(ge,xe[0])];0<Te;)Te=th[2*Te+gA(ge,xe[Te])];xe=-Te,Je[kt+Qt]=xe}r(Gt,Yt,Je,kt,4),Yt+=4,Jt[0+Qe]=xe}}else xe=gA(ge,156)?gA(ge,128)?1:3:gA(ge,163)?2:0,rt.Ob[0]=xe,n(Je,kt,xe,4),n(Jt,0,xe,4);rt.Dd=gA(ge,142)?gA(ge,114)?gA(ge,183)?1:3:2:0}if(lt.m.Ka)return pt(be,7,"Premature end-of-partition0 encountered.");for(;be.ja<be.za;++be.ja){if(lt=RA,ge=(_A=be).rb[_A.sb-1],Je=_A.rb[_A.sb+_A.ja],Be=_A.ya[_A.aa+_A.ja],kt=_A.kc?Be.Ad:0)ge.la=Je.la=0,Be.Za||(ge.Na=Je.Na=0),Be.Hc=0,Be.Gc=0,Be.ia=0;else{var nt,De;if(ge=Je,Je=lt,kt=_A.Pa.Xc,Jt=_A.ya[_A.aa+_A.ja],rt=_A.pb[Jt.$b],Qe=Jt.ad,Gt=0,Yt=_A.rb[_A.sb-1],xe=Qt=0,n(Qe,Gt,0,384),Jt.Za)var Tt=0,Pr=kt[3];else{Te=i(16);var ct=ge.Na+Yt.Na;if(ct=ls(Je,kt[1],ct,rt.Eb,0,Te,0),ge.Na=Yt.Na=(0<ct)+0,1<ct)qn(Te,0,Qe,Gt);else{var tr=Te[0]+3>>3;for(Te=0;256>Te;Te+=16)Qe[Gt+Te]=tr}Tt=1,Pr=kt[0]}var Ge=15&ge.la,Ut=15&Yt.la;for(Te=0;4>Te;++Te){var cr=1&Ut;for(tr=De=0;4>tr;++tr)Ge=Ge>>1|(cr=(ct=ls(Je,Pr,ct=cr+(1&Ge),rt.Sc,Tt,Qe,Gt))>Tt)<<7,De=De<<2|(3<ct?3:1<ct?2:Qe[Gt+0]!=0),Gt+=16;Ge>>=4,Ut=Ut>>1|cr<<7,Qt=(Qt<<8|De)>>>0}for(Pr=Ge,Tt=Ut>>4,nt=0;4>nt;nt+=2){for(De=0,Ge=ge.la>>4+nt,Ut=Yt.la>>4+nt,Te=0;2>Te;++Te){for(cr=1&Ut,tr=0;2>tr;++tr)ct=cr+(1&Ge),Ge=Ge>>1|(cr=0<(ct=ls(Je,kt[2],ct,rt.Qc,0,Qe,Gt)))<<3,De=De<<2|(3<ct?3:1<ct?2:Qe[Gt+0]!=0),Gt+=16;Ge>>=2,Ut=Ut>>1|cr<<5}xe|=De<<4*nt,Pr|=Ge<<4<<nt,Tt|=(240&Ut)<<nt}ge.la=Pr,Yt.la=Tt,Jt.Hc=Qt,Jt.Gc=xe,Jt.ia=43690&xe?0:rt.ia,kt=!(Qt|xe)}if(0<_A.L&&(_A.wa[_A.Y+_A.ja]=_A.gd[Be.$b][Be.Za],_A.wa[_A.Y+_A.ja].La|=!kt),lt.Ka)return pt(be,7,"Premature end-of-file encountered.")}if(mi(be),_A=Ft,lt=1,Be=(RA=be).D,ge=0<RA.L&&RA.M>=RA.zb&&RA.M<=RA.Va,RA.Aa==0)e:{if(Be.M=RA.M,Be.uc=ge,Qr(RA,Be),lt=1,Be=(De=RA.D).Nb,ge=(xe=bo[RA.L])*RA.R,Je=xe/2*RA.B,Te=16*Be*RA.R,tr=8*Be*RA.B,kt=RA.sa,Jt=RA.ta-ge+Te,rt=RA.qa,Qe=RA.ra-Je+tr,Gt=RA.Ha,Yt=RA.Ia-Je+tr,Ut=(Ge=De.M)==0,Qt=Ge>=RA.Va-1,RA.Aa==2&&Qr(RA,De),De.uc)for(cr=(ct=RA).D.M,A(ct.D.uc),De=ct.yb;De<ct.Hb;++De){Tt=De,Pr=cr;var $t=(ur=(Dt=ct).D).Nb;nt=Dt.R;var ur=ur.wa[ur.Y+Tt],fr=Dt.sa,rr=Dt.ta+16*$t*nt+16*Tt,hr=ur.dd,We=ur.tc;if(We!=0)if(A(3<=We),Dt.L==1)0<Tt&&Kf(fr,rr,nt,We+4),ur.La&&Vf(fr,rr,nt,We),0<Pr&&Mf(fr,rr,nt,We+4),ur.La&&Gf(fr,rr,nt,We);else{var dr=Dt.B,Rr=Dt.qa,Oi=Dt.ra+8*$t*dr+8*Tt,Fn=Dt.Ha,Dt=Dt.Ia+8*$t*dr+8*Tt;$t=ur.ld,0<Tt&&(yt(fr,rr,nt,We+4,hr,$t),ss(Rr,Oi,Fn,Dt,dr,We+4,hr,$t)),ur.La&&(fo(fr,rr,nt,We,hr,$t),Rf(Rr,Oi,Fn,Dt,dr,We,hr,$t)),0<Pr&&(ot(fr,rr,nt,We+4,hr,$t),bn(Rr,Oi,Fn,Dt,dr,We+4,hr,$t)),ur.La&&(ha(fr,rr,nt,We,hr,$t),Pf(Rr,Oi,Fn,Dt,dr,We,hr,$t))}}if(RA.ia&&alert("todo:DitherRow"),_A.put!=null){if(De=16*Ge,Ge=16*(Ge+1),Ut?(_A.y=RA.sa,_A.O=RA.ta+Te,_A.f=RA.qa,_A.N=RA.ra+tr,_A.ea=RA.Ha,_A.W=RA.Ia+tr):(De-=xe,_A.y=kt,_A.O=Jt,_A.f=rt,_A.N=Qe,_A.ea=Gt,_A.W=Yt),Qt||(Ge-=xe),Ge>_A.o&&(Ge=_A.o),_A.F=null,_A.J=null,RA.Fa!=null&&0<RA.Fa.length&&De<Ge&&(_A.J=Bt(RA,_A,De,Ge-De),_A.F=RA.mb,_A.F==null&&_A.F.length==0)){lt=pt(RA,3,"Could not decode alpha data.");break e}De<_A.j&&(xe=_A.j-De,De=_A.j,A(!(1&xe)),_A.O+=RA.R*xe,_A.N+=RA.B*(xe>>1),_A.W+=RA.B*(xe>>1),_A.F!=null&&(_A.J+=_A.width*xe)),De<Ge&&(_A.O+=_A.v,_A.N+=_A.v>>1,_A.W+=_A.v>>1,_A.F!=null&&(_A.J+=_A.v),_A.ka=De-_A.j,_A.U=_A.va-_A.v,_A.T=Ge-De,lt=_A.put(_A))}Be+1!=RA.Ic||Qt||(r(RA.sa,RA.ta-ge,kt,Jt+16*RA.R,ge),r(RA.qa,RA.ra-Je,rt,Qe+8*RA.B,Je),r(RA.Ha,RA.Ia-Je,Gt,Yt+8*RA.B,Je))}if(!lt)return pt(be,6,"Output aborted.")}return 1})(D,Z)),Z.bc!=null&&Z.bc(Z),tA&=1}return tA?(D.cb=0,tA):0})(o,w)||(c=o.a)}}else c=o.a}c==0&&x.Oa!=null&&x.Oa.fd&&(c=es(x.ba))}x=c}Q=x!=0?null:11>Q?_.f.RGBA.eb:_.f.kb.y}else Q=null;return Q};var ch=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function u(L,q){for(var U="",S=0;S<4;S++)U+=String.fromCharCode(L[q++]);return U}function f(L,q){return L[q+0]|L[q+1]<<8}function p(L,q){return(L[q+0]|L[q+1]<<8|L[q+2]<<16)>>>0}function B(L,q){return(L[q+0]|L[q+1]<<8|L[q+2]<<16|L[q+3]<<24)>>>0}new l;var d=[0],m=[0],C=[],E=new l,v=t,H=(function(L,q){var U={},S=0,G=!1,V=0,nA=0;if(U.frames=[],!(function(F,k){for(var M=0;M<4;M++)if(F[k+M]!="RIFF".charCodeAt(M))return!0;return!1})(L,q)){for(B(L,q+=4),q+=8;q<L.length;){var oA=u(L,q),lA=B(L,q+=4);q+=4;var eA=lA+(1&lA);switch(oA){case"VP8 ":case"VP8L":U.frames[S]===void 0&&(U.frames[S]={}),(hA=U.frames[S]).src_off=G?nA:q-8,hA.src_size=V+lA+8,S++,G&&(G=!1,V=0,nA=0);break;case"VP8X":(hA=U.header={}).feature_flags=L[q];var uA=q+4;hA.canvas_width=1+p(L,uA),uA+=3,hA.canvas_height=1+p(L,uA),uA+=3;break;case"ALPH":G=!0,V=eA+8,nA=q-8;break;case"ANIM":(hA=U.header).bgcolor=B(L,q),uA=q+4,hA.loop_count=f(L,uA),uA+=2;break;case"ANMF":var vA,hA;(hA=U.frames[S]={}).offset_x=2*p(L,q),q+=3,hA.offset_y=2*p(L,q),q+=3,hA.width=1+p(L,q),q+=3,hA.height=1+p(L,q),q+=3,hA.duration=p(L,q),q+=3,vA=L[q++],hA.dispose=1&vA,hA.blend=vA>>1&1}oA!="ANMF"&&(q+=eA)}return U}})(v,0);H.response=v,H.rgbaoutput=!0,H.dataurl=!1;var P=H.header?H.header:null,N=H.frames?H.frames:null;if(P){P.loop_counter=P.loop_count,d=[P.canvas_height],m=[P.canvas_width];for(var j=0;j<N.length&&N[j].blend!=0;j++);}var J=N[0],X=E.WebPDecodeRGBA(v,J.src_off,J.src_size,m,d);J.rgba=X,J.imgwidth=m[0],J.imgheight=d[0];for(var K=0;K<m[0]*d[0]*4;K++)C[K]=X[K];return this.width=m,this.height=d,this.data=C,this}(function(t){var A,e,r,n,i,a,s,l,u,f=function(F){return F=F||{},this.isStrokeTransparent=F.isStrokeTransparent||!1,this.strokeOpacity=F.strokeOpacity||1,this.strokeStyle=F.strokeStyle||"#000000",this.fillStyle=F.fillStyle||"#000000",this.isFillTransparent=F.isFillTransparent||!1,this.fillOpacity=F.fillOpacity||1,this.font=F.font||"10px sans-serif",this.textBaseline=F.textBaseline||"alphabetic",this.textAlign=F.textAlign||"left",this.lineWidth=F.lineWidth||1,this.lineJoin=F.lineJoin||"miter",this.lineCap=F.lineCap||"butt",this.path=F.path||[],this.transform=F.transform!==void 0?F.transform.clone():new l,this.globalCompositeOperation=F.globalCompositeOperation||"normal",this.globalAlpha=F.globalAlpha||1,this.clip_path=F.clip_path||[],this.currentPoint=F.currentPoint||new a,this.miterLimit=F.miterLimit||10,this.lastPoint=F.lastPoint||new a,this.lineDashOffset=F.lineDashOffset||0,this.lineDash=F.lineDash||[],this.margin=F.margin||[0,0,0,0],this.prevPageLastElemOffset=F.prevPageLastElemOffset||0,this.ignoreClearRect=typeof F.ignoreClearRect!="boolean"||F.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new p(this),A=this.internal.f2,e=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,n=this.internal.getHorizontalCoordinate,i=this.internal.getVerticalCoordinate,a=this.internal.Point,s=this.internal.Rectangle,l=this.internal.Matrix,u=new f}]);var p=function(F){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var k=F;Object.defineProperty(this,"pdf",{get:function(){return k}});var M=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return M},set:function(cA){M=!!cA}});var W=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return W},set:function(cA){W=!!cA}});var $=0;Object.defineProperty(this,"posX",{get:function(){return $},set:function(cA){isNaN(cA)||($=cA)}});var rA=0;Object.defineProperty(this,"posY",{get:function(){return rA},set:function(cA){isNaN(cA)||(rA=cA)}}),Object.defineProperty(this,"margin",{get:function(){return u.margin},set:function(cA){var R;typeof cA=="number"?R=[cA,cA,cA,cA]:((R=new Array(4))[0]=cA[0],R[1]=cA.length>=2?cA[1]:R[0],R[2]=cA.length>=3?cA[2]:R[0],R[3]=cA.length>=4?cA[3]:R[1]),u.margin=R}});var dA=!1;Object.defineProperty(this,"autoPaging",{get:function(){return dA},set:function(cA){dA=cA}});var fA=0;Object.defineProperty(this,"lastBreak",{get:function(){return fA},set:function(cA){fA=cA}});var gA=[];Object.defineProperty(this,"pageBreaks",{get:function(){return gA},set:function(cA){gA=cA}}),Object.defineProperty(this,"ctx",{get:function(){return u},set:function(cA){cA instanceof f&&(u=cA)}}),Object.defineProperty(this,"path",{get:function(){return u.path},set:function(cA){u.path=cA}});var sA=[];Object.defineProperty(this,"ctxStack",{get:function(){return sA},set:function(cA){sA=cA}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(cA){var R;R=B(cA),this.ctx.fillStyle=R.style,this.ctx.isFillTransparent=R.a===0,this.ctx.fillOpacity=R.a,this.pdf.setFillColor(R.r,R.g,R.b,{a:R.a}),this.pdf.setTextColor(R.r,R.g,R.b,{a:R.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(cA){var R=B(cA);this.ctx.strokeStyle=R.style,this.ctx.isStrokeTransparent=R.a===0,this.ctx.strokeOpacity=R.a,R.a===0?this.pdf.setDrawColor(255,255,255):(R.a,this.pdf.setDrawColor(R.r,R.g,R.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(cA){["butt","round","square"].indexOf(cA)!==-1&&(this.ctx.lineCap=cA,this.pdf.setLineCap(cA))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(cA){isNaN(cA)||(this.ctx.lineWidth=cA,this.pdf.setLineWidth(cA))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(cA){["bevel","round","miter"].indexOf(cA)!==-1&&(this.ctx.lineJoin=cA,this.pdf.setLineJoin(cA))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(cA){isNaN(cA)||(this.ctx.miterLimit=cA,this.pdf.setMiterLimit(cA))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(cA){this.ctx.textBaseline=cA}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(cA){["right","end","center","left","start"].indexOf(cA)!==-1&&(this.ctx.textAlign=cA)}});var yA=null,xA=null;Object.defineProperty(this,"fontFaces",{get:function(){return xA},set:function(cA){yA=null,xA=cA}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(cA){var R;if(this.ctx.font=cA,(R=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(cA))!==null){var me=R[1];R[2];var le=R[3],zA=R[4];R[5];var QA=R[6],KA=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(zA)[2];zA=Math.floor(KA==="px"?parseFloat(zA)*this.pdf.internal.scaleFactor:KA==="em"?parseFloat(zA)*this.pdf.getFontSize():parseFloat(zA)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(zA);var IA=(function(ZA){var VA,ke,Fe=[],OA=ZA.trim();if(OA==="")return Fu;if(OA in kg)return[kg[OA]];for(;OA!=="";){switch(ke=null,VA=(OA=Dg(OA)).charAt(0)){case'"':case"'":ke=YF(OA.substring(1),VA);break;default:ke=$F(OA)}if(ke===null||(Fe.push(ke[0]),(OA=Dg(ke[1]))!==""&&OA.charAt(0)!==","))return Fu;OA=OA.replace(/^,/,"")}return Fe})(QA);if(this.fontFaces){var ce=(function(ZA,VA){if(yA===null){var ke=(function(Fe){var OA=[];return Object.keys(Fe).forEach(function(ie){Fe[ie].forEach(function(Ie){var XA=null;switch(Ie){case"bold":XA={family:ie,weight:"bold"};break;case"italic":XA={family:ie,style:"italic"};break;case"bolditalic":XA={family:ie,weight:"bold",style:"italic"};break;case"":case"normal":XA={family:ie}}XA!==null&&(XA.ref={name:ie,style:Ie},OA.push(XA))})}),OA})(ZA.getFontList());yA=(function(Fe){for(var OA={},ie=0;ie<Fe.length;++ie){var Ie=yu(Fe[ie]),XA=Ie.family,ve=Ie.stretch,ae=Ie.style,Me=Ie.weight;OA[XA]=OA[XA]||{},OA[XA][ve]=OA[XA][ve]||{},OA[XA][ve][ae]=OA[XA][ve][ae]||{},OA[XA][ve][ae][Me]=Ie}return OA})(ke.concat(VA))}return yA})(this.pdf,this.fontFaces),WA=IA.map(function(ZA){return{family:ZA,stretch:"normal",weight:le,style:me}}),ye=(function(ZA,VA,ke){for(var Fe=(ke=ke||{}).defaultFontFamily||"times",OA=Object.assign({},JF,ke.genericFontFamilies||{}),ie=null,Ie=null,XA=0;XA<VA.length;++XA)if(OA[(ie=yu(VA[XA])).family]&&(ie.family=OA[ie.family]),ZA.hasOwnProperty(ie.family)){Ie=ZA[ie.family];break}if(!(Ie=Ie||ZA[Fe]))throw new Error("Could not find a font-family for the rule '"+Tg(ie)+"' and default family '"+Fe+"'.");if(Ie=(function(ve,ae){if(ae[ve])return ae[ve];var Me=ff[ve],Xe=Me<=ff.normal?-1:1,Se=Ng(ae,o1,Me,Xe);if(!Se)throw new Error("Could not find a matching font-stretch value for "+ve);return Se})(ie.stretch,Ie),Ie=(function(ve,ae){if(ae[ve])return ae[ve];for(var Me=s1[ve],Xe=0;Xe<Me.length;++Xe)if(ae[Me[Xe]])return ae[Me[Xe]];throw new Error("Could not find a matching font-style for "+ve)})(ie.style,Ie),!(Ie=(function(ve,ae){if(ae[ve])return ae[ve];if(ve===400&&ae[500])return ae[500];if(ve===500&&ae[400])return ae[400];var Me=XF[ve],Xe=Ng(ae,l1,Me,ve<400?-1:1);if(!Xe)throw new Error("Could not find a matching font-weight for value "+ve);return Xe})(ie.weight,Ie)))throw new Error("Failed to resolve a font for the rule '"+Tg(ie)+"'.");return Ie})(ce,WA);this.pdf.setFont(ye.ref.name,ye.ref.style)}else{var re="";(le==="bold"||parseInt(le,10)>=700||me==="bold")&&(re="bold"),me==="italic"&&(re+="italic"),re.length===0&&(re="normal");for(var ne="",Ee={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},ue=0;ue<IA.length;ue++){if(this.pdf.internal.getFont(IA[ue],re,{noFallback:!0,disableWarning:!0})!==void 0){ne=IA[ue];break}if(re==="bolditalic"&&this.pdf.internal.getFont(IA[ue],"bold",{noFallback:!0,disableWarning:!0})!==void 0)ne=IA[ue],re="bold";else if(this.pdf.internal.getFont(IA[ue],"normal",{noFallback:!0,disableWarning:!0})!==void 0){ne=IA[ue],re="normal";break}}if(ne===""){for(var GA=0;GA<IA.length;GA++)if(Ee[IA[GA]]){ne=Ee[IA[GA]];break}}ne=ne===""?"Times":ne,this.pdf.setFont(ne,re)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(cA){this.ctx.globalCompositeOperation=cA}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(cA){this.ctx.globalAlpha=cA}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(cA){this.ctx.lineDashOffset=cA,hA.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(cA){this.ctx.lineDash=cA,hA.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(cA){this.ctx.ignoreClearRect=!!cA}})};p.prototype.setLineDash=function(F){this.lineDash=F},p.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},p.prototype.fill=function(){N.call(this,"fill",!1)},p.prototype.stroke=function(){N.call(this,"stroke",!1)},p.prototype.beginPath=function(){this.path=[{type:"begin"}]},p.prototype.moveTo=function(F,k){if(isNaN(F)||isNaN(k))throw Ve.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var M=this.ctx.transform.applyToPoint(new a(F,k));this.path.push({type:"mt",x:M.x,y:M.y}),this.ctx.lastPoint=new a(F,k)},p.prototype.closePath=function(){var F=new a(0,0),k=0;for(k=this.path.length-1;k!==-1;k--)if(this.path[k].type==="begin"&&je(this.path[k+1])==="object"&&typeof this.path[k+1].x=="number"){F=new a(this.path[k+1].x,this.path[k+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new a(F.x,F.y)},p.prototype.lineTo=function(F,k){if(isNaN(F)||isNaN(k))throw Ve.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var M=this.ctx.transform.applyToPoint(new a(F,k));this.path.push({type:"lt",x:M.x,y:M.y}),this.ctx.lastPoint=new a(M.x,M.y)},p.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),N.call(this,null,!0)},p.prototype.quadraticCurveTo=function(F,k,M,W){if(isNaN(M)||isNaN(W)||isNaN(F)||isNaN(k))throw Ve.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var $=this.ctx.transform.applyToPoint(new a(M,W)),rA=this.ctx.transform.applyToPoint(new a(F,k));this.path.push({type:"qct",x1:rA.x,y1:rA.y,x:$.x,y:$.y}),this.ctx.lastPoint=new a($.x,$.y)},p.prototype.bezierCurveTo=function(F,k,M,W,$,rA){if(isNaN($)||isNaN(rA)||isNaN(F)||isNaN(k)||isNaN(M)||isNaN(W))throw Ve.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var dA=this.ctx.transform.applyToPoint(new a($,rA)),fA=this.ctx.transform.applyToPoint(new a(F,k)),gA=this.ctx.transform.applyToPoint(new a(M,W));this.path.push({type:"bct",x1:fA.x,y1:fA.y,x2:gA.x,y2:gA.y,x:dA.x,y:dA.y}),this.ctx.lastPoint=new a(dA.x,dA.y)},p.prototype.arc=function(F,k,M,W,$,rA){if(isNaN(F)||isNaN(k)||isNaN(M)||isNaN(W)||isNaN($))throw Ve.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(rA=!!rA,!this.ctx.transform.isIdentity){var dA=this.ctx.transform.applyToPoint(new a(F,k));F=dA.x,k=dA.y;var fA=this.ctx.transform.applyToPoint(new a(0,M)),gA=this.ctx.transform.applyToPoint(new a(0,0));M=Math.sqrt(Math.pow(fA.x-gA.x,2)+Math.pow(fA.y-gA.y,2))}Math.abs($-W)>=2*Math.PI&&(W=0,$=2*Math.PI),this.path.push({type:"arc",x:F,y:k,radius:M,startAngle:W,endAngle:$,counterclockwise:rA})},p.prototype.arcTo=function(F,k,M,W,$){throw new Error("arcTo not implemented.")},p.prototype.rect=function(F,k,M,W){if(isNaN(F)||isNaN(k)||isNaN(M)||isNaN(W))throw Ve.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(F,k),this.lineTo(F+M,k),this.lineTo(F+M,k+W),this.lineTo(F,k+W),this.lineTo(F,k),this.lineTo(F+M,k),this.lineTo(F,k)},p.prototype.fillRect=function(F,k,M,W){if(isNaN(F)||isNaN(k)||isNaN(M)||isNaN(W))throw Ve.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!d.call(this)){var $={};this.lineCap!=="butt"&&($.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&($.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(F,k,M,W),this.fill(),$.hasOwnProperty("lineCap")&&(this.lineCap=$.lineCap),$.hasOwnProperty("lineJoin")&&(this.lineJoin=$.lineJoin)}},p.prototype.strokeRect=function(F,k,M,W){if(isNaN(F)||isNaN(k)||isNaN(M)||isNaN(W))throw Ve.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");m.call(this)||(this.beginPath(),this.rect(F,k,M,W),this.stroke())},p.prototype.clearRect=function(F,k,M,W){if(isNaN(F)||isNaN(k)||isNaN(M)||isNaN(W))throw Ve.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(F,k,M,W))},p.prototype.save=function(F){F=typeof F!="boolean"||F;for(var k=this.pdf.internal.getCurrentPageInfo().pageNumber,M=0;M<this.pdf.internal.getNumberOfPages();M++)this.pdf.setPage(M+1),this.pdf.internal.out("q");if(this.pdf.setPage(k),F){this.ctx.fontSize=this.pdf.internal.getFontSize();var W=new f(this.ctx);this.ctxStack.push(this.ctx),this.ctx=W}},p.prototype.restore=function(F){F=typeof F!="boolean"||F;for(var k=this.pdf.internal.getCurrentPageInfo().pageNumber,M=0;M<this.pdf.internal.getNumberOfPages();M++)this.pdf.setPage(M+1),this.pdf.internal.out("Q");this.pdf.setPage(k),F&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},p.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var B=function(F){var k,M,W,$;if(F.isCanvasGradient===!0&&(F=F.getColor()),!F)return{r:0,g:0,b:0,a:0,style:F};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(F))k=0,M=0,W=0,$=0;else{var rA=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(F);if(rA!==null)k=parseInt(rA[1]),M=parseInt(rA[2]),W=parseInt(rA[3]),$=1;else if((rA=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(F))!==null)k=parseInt(rA[1]),M=parseInt(rA[2]),W=parseInt(rA[3]),$=parseFloat(rA[4]);else{if($=1,typeof F=="string"&&F.charAt(0)!=="#"){var dA=new A1(F);F=dA.ok?dA.toHex():"#000000"}F.length===4?(k=F.substring(1,2),k+=k,M=F.substring(2,3),M+=M,W=F.substring(3,4),W+=W):(k=F.substring(1,3),M=F.substring(3,5),W=F.substring(5,7)),k=parseInt(k,16),M=parseInt(M,16),W=parseInt(W,16)}}return{r:k,g:M,b:W,a:$,style:F}},d=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},m=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};p.prototype.fillText=function(F,k,M,W){if(isNaN(k)||isNaN(M)||typeof F!="string")throw Ve.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(W=isNaN(W)?void 0:W,!d.call(this)){var $=eA(this.ctx.transform.rotation),rA=this.ctx.transform.scaleX;S.call(this,{text:F,x:k,y:M,scale:rA,angle:$,align:this.textAlign,maxWidth:W})}},p.prototype.strokeText=function(F,k,M,W){if(isNaN(k)||isNaN(M)||typeof F!="string")throw Ve.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!m.call(this)){W=isNaN(W)?void 0:W;var $=eA(this.ctx.transform.rotation),rA=this.ctx.transform.scaleX;S.call(this,{text:F,x:k,y:M,scale:rA,renderingMode:"stroke",angle:$,align:this.textAlign,maxWidth:W})}},p.prototype.measureText=function(F){if(typeof F!="string")throw Ve.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var k=this.pdf,M=this.pdf.internal.scaleFactor,W=k.internal.getFontSize(),$=k.getStringUnitWidth(F)*W/k.internal.scaleFactor;return new function(rA){var dA=(rA=rA||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return dA}}),this}({width:$*=Math.round(96*M/72*1e4)/1e4})},p.prototype.scale=function(F,k){if(isNaN(F)||isNaN(k))throw Ve.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var M=new l(F,0,0,k,0,0);this.ctx.transform=this.ctx.transform.multiply(M)},p.prototype.rotate=function(F){if(isNaN(F))throw Ve.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var k=new l(Math.cos(F),Math.sin(F),-Math.sin(F),Math.cos(F),0,0);this.ctx.transform=this.ctx.transform.multiply(k)},p.prototype.translate=function(F,k){if(isNaN(F)||isNaN(k))throw Ve.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var M=new l(1,0,0,1,F,k);this.ctx.transform=this.ctx.transform.multiply(M)},p.prototype.transform=function(F,k,M,W,$,rA){if(isNaN(F)||isNaN(k)||isNaN(M)||isNaN(W)||isNaN($)||isNaN(rA))throw Ve.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var dA=new l(F,k,M,W,$,rA);this.ctx.transform=this.ctx.transform.multiply(dA)},p.prototype.setTransform=function(F,k,M,W,$,rA){F=isNaN(F)?1:F,k=isNaN(k)?0:k,M=isNaN(M)?0:M,W=isNaN(W)?1:W,$=isNaN($)?0:$,rA=isNaN(rA)?0:rA,this.ctx.transform=new l(F,k,M,W,$,rA)};var C=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};p.prototype.drawImage=function(F,k,M,W,$,rA,dA,fA,gA){var sA=this.pdf.getImageProperties(F),yA=1,xA=1,cA=1,R=1;W!==void 0&&fA!==void 0&&(cA=fA/W,R=gA/$,yA=sA.width/W*fA/W,xA=sA.height/$*gA/$),rA===void 0&&(rA=k,dA=M,k=0,M=0),W!==void 0&&fA===void 0&&(fA=W,gA=$),W===void 0&&fA===void 0&&(fA=sA.width,gA=sA.height);for(var me,le=this.ctx.transform.decompose(),zA=eA(le.rotate.shx),QA=new l,KA=(QA=(QA=(QA=QA.multiply(le.translate)).multiply(le.skew)).multiply(le.scale)).applyToRectangle(new s(rA-k*cA,dA-M*R,W*yA,$*xA)),IA=E.call(this,KA),ce=[],WA=0;WA<IA.length;WA+=1)ce.indexOf(IA[WA])===-1&&ce.push(IA[WA]);if(P(ce),this.autoPaging)for(var ye=ce[0],re=ce[ce.length-1],ne=ye;ne<re+1;ne++){this.pdf.setPage(ne);var Ee=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],ue=ne===1?this.posY+this.margin[0]:this.margin[0],GA=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ZA=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],VA=ne===1?0:GA+(ne-2)*ZA;if(this.ctx.clip_path.length!==0){var ke=this.path;me=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=H(me,this.posX+this.margin[3],-VA+ue+this.ctx.prevPageLastElemOffset),j.call(this,"fill",!0),this.path=ke}var Fe=JSON.parse(JSON.stringify(KA));Fe=H([Fe],this.posX+this.margin[3],-VA+ue+this.ctx.prevPageLastElemOffset)[0];var OA=(ne>ye||ne<re)&&C.call(this);OA&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Ee,ZA,null).clip().discardPath()),this.pdf.addImage(F,"JPEG",Fe.x,Fe.y,Fe.w,Fe.h,null,null,zA),OA&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(F,"JPEG",KA.x,KA.y,KA.w,KA.h,null,null,zA)};var E=function(F,k,M){var W=[];k=k||this.pdf.internal.pageSize.width,M=M||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var $=this.posY+this.ctx.prevPageLastElemOffset;switch(F.type){default:case"mt":case"lt":W.push(Math.floor((F.y+$)/M)+1);break;case"arc":W.push(Math.floor((F.y+$-F.radius)/M)+1),W.push(Math.floor((F.y+$+F.radius)/M)+1);break;case"qct":var rA=uA(this.ctx.lastPoint.x,this.ctx.lastPoint.y,F.x1,F.y1,F.x,F.y);W.push(Math.floor((rA.y+$)/M)+1),W.push(Math.floor((rA.y+rA.h+$)/M)+1);break;case"bct":var dA=vA(this.ctx.lastPoint.x,this.ctx.lastPoint.y,F.x1,F.y1,F.x2,F.y2,F.x,F.y);W.push(Math.floor((dA.y+$)/M)+1),W.push(Math.floor((dA.y+dA.h+$)/M)+1);break;case"rect":W.push(Math.floor((F.y+$)/M)+1),W.push(Math.floor((F.y+F.h+$)/M)+1)}for(var fA=0;fA<W.length;fA+=1)for(;this.pdf.internal.getNumberOfPages()<W[fA];)v.call(this);return W},v=function(){var F=this.fillStyle,k=this.strokeStyle,M=this.font,W=this.lineCap,$=this.lineWidth,rA=this.lineJoin;this.pdf.addPage(),this.fillStyle=F,this.strokeStyle=k,this.font=M,this.lineCap=W,this.lineWidth=$,this.lineJoin=rA},H=function(F,k,M){for(var W=0;W<F.length;W++)switch(F[W].type){case"bct":F[W].x2+=k,F[W].y2+=M;case"qct":F[W].x1+=k,F[W].y1+=M;default:F[W].x+=k,F[W].y+=M}return F},P=function(F){return F.sort(function(k,M){return k-M})},N=function(F,k){for(var M,W,$=this.fillStyle,rA=this.strokeStyle,dA=this.lineCap,fA=this.lineWidth,gA=Math.abs(fA*this.ctx.transform.scaleX),sA=this.lineJoin,yA=JSON.parse(JSON.stringify(this.path)),xA=JSON.parse(JSON.stringify(this.path)),cA=[],R=0;R<xA.length;R++)if(xA[R].x!==void 0)for(var me=E.call(this,xA[R]),le=0;le<me.length;le+=1)cA.indexOf(me[le])===-1&&cA.push(me[le]);for(var zA=0;zA<cA.length;zA++)for(;this.pdf.internal.getNumberOfPages()<cA[zA];)v.call(this);if(P(cA),this.autoPaging)for(var QA=cA[0],KA=cA[cA.length-1],IA=QA;IA<KA+1;IA++){this.pdf.setPage(IA),this.fillStyle=$,this.strokeStyle=rA,this.lineCap=dA,this.lineWidth=gA,this.lineJoin=sA;var ce=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],WA=IA===1?this.posY+this.margin[0]:this.margin[0],ye=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],re=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],ne=IA===1?0:ye+(IA-2)*re;if(this.ctx.clip_path.length!==0){var Ee=this.path;M=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=H(M,this.posX+this.margin[3],-ne+WA+this.ctx.prevPageLastElemOffset),j.call(this,F,!0),this.path=Ee}if(W=JSON.parse(JSON.stringify(yA)),this.path=H(W,this.posX+this.margin[3],-ne+WA+this.ctx.prevPageLastElemOffset),k===!1||IA===0){var ue=(IA>QA||IA<KA)&&C.call(this);ue&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ce,re,null).clip().discardPath()),j.call(this,F,k),ue&&this.pdf.restoreGraphicsState()}this.lineWidth=fA}else this.lineWidth=gA,j.call(this,F,k),this.lineWidth=fA;this.path=yA},j=function(F,k){if((F!=="stroke"||k||!m.call(this))&&(F==="stroke"||k||!d.call(this))){for(var M,W,$=[],rA=this.path,dA=0;dA<rA.length;dA++){var fA=rA[dA];switch(fA.type){case"begin":$.push({begin:!0});break;case"close":$.push({close:!0});break;case"mt":$.push({start:fA,deltas:[],abs:[]});break;case"lt":var gA=$.length;if(rA[dA-1]&&!isNaN(rA[dA-1].x)&&(M=[fA.x-rA[dA-1].x,fA.y-rA[dA-1].y],gA>0)){for(;gA>=0;gA--)if($[gA-1].close!==!0&&$[gA-1].begin!==!0){$[gA-1].deltas.push(M),$[gA-1].abs.push(fA);break}}break;case"bct":M=[fA.x1-rA[dA-1].x,fA.y1-rA[dA-1].y,fA.x2-rA[dA-1].x,fA.y2-rA[dA-1].y,fA.x-rA[dA-1].x,fA.y-rA[dA-1].y],$[$.length-1].deltas.push(M);break;case"qct":var sA=rA[dA-1].x+2/3*(fA.x1-rA[dA-1].x),yA=rA[dA-1].y+2/3*(fA.y1-rA[dA-1].y),xA=fA.x+2/3*(fA.x1-fA.x),cA=fA.y+2/3*(fA.y1-fA.y),R=fA.x,me=fA.y;M=[sA-rA[dA-1].x,yA-rA[dA-1].y,xA-rA[dA-1].x,cA-rA[dA-1].y,R-rA[dA-1].x,me-rA[dA-1].y],$[$.length-1].deltas.push(M);break;case"arc":$.push({deltas:[],abs:[],arc:!0}),Array.isArray($[$.length-1].abs)&&$[$.length-1].abs.push(fA)}}W=k?null:F==="stroke"?"stroke":"fill";for(var le=!1,zA=0;zA<$.length;zA++)if($[zA].arc)for(var QA=$[zA].abs,KA=0;KA<QA.length;KA++){var IA=QA[KA];IA.type==="arc"?K.call(this,IA.x,IA.y,IA.radius,IA.startAngle,IA.endAngle,IA.counterclockwise,void 0,k,!le):G.call(this,IA.x,IA.y),le=!0}else if($[zA].close===!0)this.pdf.internal.out("h"),le=!1;else if($[zA].begin!==!0){var ce=$[zA].start.x,WA=$[zA].start.y;V.call(this,$[zA].deltas,ce,WA),le=!0}W&&L.call(this,W),k&&q.call(this)}},J=function(F){var k=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,M=k*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return F-M;case"top":return F+k-M;case"hanging":return F+k-2*M;case"middle":return F+k/2-M;default:return F}},X=function(F){return F+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};p.prototype.createLinearGradient=function(){var F=function(){};return F.colorStops=[],F.addColorStop=function(k,M){this.colorStops.push([k,M])},F.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},F.isCanvasGradient=!0,F},p.prototype.createPattern=function(){return this.createLinearGradient()},p.prototype.createRadialGradient=function(){return this.createLinearGradient()};var K=function(F,k,M,W,$,rA,dA,fA,gA){for(var sA=oA.call(this,M,W,$,rA),yA=0;yA<sA.length;yA++){var xA=sA[yA];yA===0&&(gA?U.call(this,xA.x1+F,xA.y1+k):G.call(this,xA.x1+F,xA.y1+k)),nA.call(this,F,k,xA.x2,xA.y2,xA.x3,xA.y3,xA.x4,xA.y4)}fA?q.call(this):L.call(this,dA)},L=function(F){switch(F){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},q=function(){this.pdf.clip(),this.pdf.discardPath()},U=function(F,k){this.pdf.internal.out(e(F)+" "+r(k)+" m")},S=function(F){var k;switch(F.align){case"right":case"end":k="right";break;case"center":k="center";break;default:k="left"}var M=this.pdf.getTextDimensions(F.text),W=J.call(this,F.y),$=X.call(this,W)-M.h,rA=this.ctx.transform.applyToPoint(new a(F.x,W)),dA=this.ctx.transform.decompose(),fA=new l;fA=(fA=(fA=fA.multiply(dA.translate)).multiply(dA.skew)).multiply(dA.scale);for(var gA,sA,yA,xA=this.ctx.transform.applyToRectangle(new s(F.x,W,M.w,M.h)),cA=fA.applyToRectangle(new s(F.x,$,M.w,M.h)),R=E.call(this,cA),me=[],le=0;le<R.length;le+=1)me.indexOf(R[le])===-1&&me.push(R[le]);if(P(me),this.autoPaging)for(var zA=me[0],QA=me[me.length-1],KA=zA;KA<QA+1;KA++){this.pdf.setPage(KA);var IA=KA===1?this.posY+this.margin[0]:this.margin[0],ce=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],WA=this.pdf.internal.pageSize.height-this.margin[2],ye=WA-this.margin[0],re=this.pdf.internal.pageSize.width-this.margin[1],ne=re-this.margin[3],Ee=KA===1?0:ce+(KA-2)*ye;if(this.ctx.clip_path.length!==0){var ue=this.path;gA=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=H(gA,this.posX+this.margin[3],-1*Ee+IA),j.call(this,"fill",!0),this.path=ue}var GA=H([JSON.parse(JSON.stringify(cA))],this.posX+this.margin[3],-Ee+IA+this.ctx.prevPageLastElemOffset)[0];F.scale>=.01&&(sA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(sA*F.scale),yA=this.lineWidth,this.lineWidth=yA*F.scale);var ZA=this.autoPaging!=="text";if(ZA||GA.y+GA.h<=WA){if(ZA||GA.y>=IA&&GA.x<=re){var VA=ZA?F.text:this.pdf.splitTextToSize(F.text,F.maxWidth||re-GA.x)[0],ke=H([JSON.parse(JSON.stringify(xA))],this.posX+this.margin[3],-Ee+IA+this.ctx.prevPageLastElemOffset)[0],Fe=ZA&&(KA>zA||KA<QA)&&C.call(this);Fe&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ne,ye,null).clip().discardPath()),this.pdf.text(VA,ke.x,ke.y,{angle:F.angle,align:k,renderingMode:F.renderingMode}),Fe&&this.pdf.restoreGraphicsState()}}else GA.y<WA&&(this.ctx.prevPageLastElemOffset+=WA-GA.y);F.scale>=.01&&(this.pdf.setFontSize(sA),this.lineWidth=yA)}else F.scale>=.01&&(sA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(sA*F.scale),yA=this.lineWidth,this.lineWidth=yA*F.scale),this.pdf.text(F.text,rA.x+this.posX,rA.y+this.posY,{angle:F.angle,align:k,renderingMode:F.renderingMode,maxWidth:F.maxWidth}),F.scale>=.01&&(this.pdf.setFontSize(sA),this.lineWidth=yA)},G=function(F,k,M,W){M=M||0,W=W||0,this.pdf.internal.out(e(F+M)+" "+r(k+W)+" l")},V=function(F,k,M){return this.pdf.lines(F,k,M,null,null)},nA=function(F,k,M,W,$,rA,dA,fA){this.pdf.internal.out([A(n(M+F)),A(i(W+k)),A(n($+F)),A(i(rA+k)),A(n(dA+F)),A(i(fA+k)),"c"].join(" "))},oA=function(F,k,M,W){for(var $=2*Math.PI,rA=Math.PI/2;k>M;)k-=$;var dA=Math.abs(M-k);dA<$&&W&&(dA=$-dA);for(var fA=[],gA=W?-1:1,sA=k;dA>1e-5;){var yA=sA+gA*Math.min(dA,rA);fA.push(lA.call(this,F,sA,yA)),dA-=Math.abs(yA-sA),sA=yA}return fA},lA=function(F,k,M){var W=(M-k)/2,$=F*Math.cos(W),rA=F*Math.sin(W),dA=$,fA=-rA,gA=dA*dA+fA*fA,sA=gA+dA*$+fA*rA,yA=4/3*(Math.sqrt(2*gA*sA)-sA)/(dA*rA-fA*$),xA=dA-yA*fA,cA=fA+yA*dA,R=xA,me=-cA,le=W+k,zA=Math.cos(le),QA=Math.sin(le);return{x1:F*Math.cos(k),y1:F*Math.sin(k),x2:xA*zA-cA*QA,y2:xA*QA+cA*zA,x3:R*zA-me*QA,y3:R*QA+me*zA,x4:F*Math.cos(M),y4:F*Math.sin(M)}},eA=function(F){return 180*F/Math.PI},uA=function(F,k,M,W,$,rA){var dA=F+.5*(M-F),fA=k+.5*(W-k),gA=$+.5*(M-$),sA=rA+.5*(W-rA),yA=Math.min(F,$,dA,gA),xA=Math.max(F,$,dA,gA),cA=Math.min(k,rA,fA,sA),R=Math.max(k,rA,fA,sA);return new s(yA,cA,xA-yA,R-cA)},vA=function(F,k,M,W,$,rA,dA,fA){var gA,sA,yA,xA,cA,R,me,le,zA,QA,KA,IA,ce,WA,ye=M-F,re=W-k,ne=$-M,Ee=rA-W,ue=dA-$,GA=fA-rA;for(sA=0;sA<41;sA++)zA=(me=(yA=F+(gA=sA/40)*ye)+gA*((cA=M+gA*ne)-yA))+gA*(cA+gA*($+gA*ue-cA)-me),QA=(le=(xA=k+gA*re)+gA*((R=W+gA*Ee)-xA))+gA*(R+gA*(rA+gA*GA-R)-le),sA==0?(KA=zA,IA=QA,ce=zA,WA=QA):(KA=Math.min(KA,zA),IA=Math.min(IA,QA),ce=Math.max(ce,zA),WA=Math.max(WA,QA));return new s(Math.round(KA),Math.round(IA),Math.round(ce-KA),Math.round(WA-IA))},hA=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var F,k,M=(F=this.ctx.lineDash,k=this.ctx.lineDashOffset,JSON.stringify({lineDash:F,lineDashOffset:k}));this.prevLineDash!==M&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=M)}}})(qA.API),(function(t){var A=function(a){var s,l,u,f,p,B,d,m,C,E;for(l=[],u=0,f=(a+=s="\0\0\0\0".slice(a.length%4||4)).length;f>u;u+=4)(p=(a.charCodeAt(u)<<24)+(a.charCodeAt(u+1)<<16)+(a.charCodeAt(u+2)<<8)+a.charCodeAt(u+3))!==0?(B=(p=((p=((p=((p=(p-(E=p%85))/85)-(C=p%85))/85)-(m=p%85))/85)-(d=p%85))/85)%85,l.push(B+33,d+33,m+33,C+33,E+33)):l.push(122);return(function(v,H){for(var P=H;P>0;P--)v.pop()})(l,s.length),String.fromCharCode.apply(String,l)+"~>"},e=function(a){var s,l,u,f,p,B=String,d="length",m=255,C="charCodeAt",E="slice",v="replace";for(a[E](-2),a=a[E](0,-2)[v](/\s/g,"")[v]("z","!!!!!"),u=[],f=0,p=(a+=s="uuuuu"[E](a[d]%5||5))[d];p>f;f+=5)l=52200625*(a[C](f)-33)+614125*(a[C](f+1)-33)+7225*(a[C](f+2)-33)+85*(a[C](f+3)-33)+(a[C](f+4)-33),u.push(m&l>>24,m&l>>16,m&l>>8,m&l);return(function(H,P){for(var N=P;N>0;N--)H.pop()})(u,s[d]),B.fromCharCode.apply(B,u)},r=function(a){return a.split("").map(function(s){return("0"+s.charCodeAt().toString(16)).slice(-2)}).join("")+">"},n=function(a){var s=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((a=a.replace(/\s/g,"")).indexOf(">")!==-1&&(a=a.substr(0,a.indexOf(">"))),a.length%2&&(a+="0"),s.test(a)===!1)return"";for(var l="",u=0;u<a.length;u+=2)l+=String.fromCharCode("0x"+(a[u]+a[u+1]));return l},i=function(a){for(var s=new Uint8Array(a.length),l=a.length;l--;)s[l]=a.charCodeAt(l);return(s=nf(s)).reduce(function(u,f){return u+String.fromCharCode(f)},"")};t.processDataByFilters=function(a,s){var l=0,u=a||"",f=[];for(typeof(s=s||[])=="string"&&(s=[s]),l=0;l<s.length;l+=1)switch(s[l]){case"ASCII85Decode":case"/ASCII85Decode":u=e(u),f.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":u=A(u),f.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":u=n(u),f.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":u=r(u),f.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":u=i(u),f.push("/FlateDecode");break;default:throw new Error('The filter: "'+s[l]+'" is not implemented')}return{data:u,reverseChain:f.reverse().join(" ")}}})(qA.API),(function(t){t.loadFile=function(A,e,r){return(function(n,i,a){i=i!==!1,a=typeof a=="function"?a:function(){};var s=void 0;try{s=(function(l,u,f){var p=new XMLHttpRequest,B=0,d=function(m){var C=m.length,E=[],v=String.fromCharCode;for(B=0;B<C;B+=1)E.push(v(255&m.charCodeAt(B)));return E.join("")};if(p.open("GET",l,!u),p.overrideMimeType("text/plain; charset=x-user-defined"),u===!1&&(p.onload=function(){p.status===200?f(d(this.responseText)):f(void 0)}),p.send(null),u&&p.status===200)return d(p.responseText)})(n,i,a)}catch{}return s})(A,e,r)},t.loadImageFile=t.loadFile})(qA.API),(function(t){function A(){return(te.html2canvas?Promise.resolve(te.html2canvas):Dc(()=>Promise.resolve().then(()=>_b),void 0,import.meta.url)).catch(function(s){return Promise.reject(new Error("Could not load html2canvas: "+s))}).then(function(s){return s.default?s.default:s})}function e(){return(te.DOMPurify?Promise.resolve(te.DOMPurify):Dc(()=>import("./admin-BkqzSx7d.js").then(s=>s.gf),__vite__mapDeps([0,1]),import.meta.url)).catch(function(s){return Promise.reject(new Error("Could not load dompurify: "+s))}).then(function(s){return s.default?s.default:s})}var r=function(s){var l=je(s);return l==="undefined"?"undefined":l==="string"||s instanceof String?"string":l==="number"||s instanceof Number?"number":l==="function"||s instanceof Function?"function":s&&s.constructor===Array?"array":s&&s.nodeType===1?"element":l==="object"?"object":"unknown"},n=function(s,l){var u=document.createElement(s);for(var f in l.className&&(u.className=l.className),l.innerHTML&&l.dompurify&&(u.innerHTML=l.dompurify.sanitize(l.innerHTML)),l.style)u.style[f]=l.style[f];return u},i=function s(l,u){for(var f=l.nodeType===3?document.createTextNode(l.nodeValue):l.cloneNode(!1),p=l.firstChild;p;p=p.nextSibling)u!==!0&&p.nodeType===1&&p.nodeName==="SCRIPT"||f.appendChild(s(p,u));return l.nodeType===1&&(l.nodeName==="CANVAS"?(f.width=l.width,f.height=l.height,f.getContext("2d").drawImage(l,0,0)):l.nodeName!=="TEXTAREA"&&l.nodeName!=="SELECT"||(f.value=l.value),f.addEventListener("load",function(){f.scrollTop=l.scrollTop,f.scrollLeft=l.scrollLeft},!0)),f},a=function s(l){var u=Object.assign(s.convert(Promise.resolve()),JSON.parse(JSON.stringify(s.template))),f=s.convert(Promise.resolve(),u);return(f=f.setProgress(1,s,1,[s])).set(l)};(a.prototype=Object.create(Promise.prototype)).constructor=a,a.convert=function(s,l){return s.__proto__=l||a.prototype,s},a.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},a.prototype.from=function(s,l){return this.then(function(){switch(l=l||(function(u){switch(r(u)){case"string":return"string";case"element":return u.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}})(s),l){case"string":return this.then(e).then(function(u){return this.set({src:n("div",{innerHTML:s,dompurify:u})})});case"element":return this.set({src:s});case"canvas":return this.set({canvas:s});case"img":return this.set({img:s});default:return this.error("Unknown source type.")}})},a.prototype.to=function(s){switch(s){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},a.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var s={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},l=i(this.prop.src,this.opt.html2canvas.javascriptEnabled);l.tagName==="BODY"&&(s.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=n("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=n("div",{className:"html2pdf__container",style:s}),this.prop.container.appendChild(l),this.prop.container.firstChild.appendChild(n("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},a.prototype.toCanvas=function(){var s=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(s).then(A).then(function(l){var u=Object.assign({},this.opt.html2canvas);return delete u.onrendered,l(this.prop.container,u)}).then(function(l){(this.opt.html2canvas.onrendered||function(){})(l),this.prop.canvas=l,document.body.removeChild(this.prop.overlay)})},a.prototype.toContext2d=function(){var s=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(s).then(A).then(function(l){var u=this.opt.jsPDF,f=this.opt.fontFaces,p=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,B=Object.assign({async:!0,allowTaint:!0,scale:p,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete B.onrendered,u.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,u.context2d.posX=this.opt.x,u.context2d.posY=this.opt.y,u.context2d.margin=this.opt.margin,u.context2d.fontFaces=f,f)for(var d=0;d<f.length;++d){var m=f[d],C=m.src.find(function(E){return E.format==="truetype"});C&&u.addFont(C.url,m.ref.name,m.ref.style)}return B.windowHeight=B.windowHeight||0,B.windowHeight=B.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):B.windowHeight,u.context2d.save(!0),l(this.prop.container,B)}).then(function(l){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(l),this.prop.canvas=l,document.body.removeChild(this.prop.overlay)})},a.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var s=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=s})},a.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},a.prototype.output=function(s,l,u){return(u=u||"pdf").toLowerCase()==="img"||u.toLowerCase()==="image"?this.outputImg(s,l):this.outputPdf(s,l)},a.prototype.outputPdf=function(s,l){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(s,l)})},a.prototype.outputImg=function(s){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(s){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+s+'" is not supported.'}})},a.prototype.save=function(s){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(s?{filename:s}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},a.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},a.prototype.set=function(s){if(r(s)!=="object")return this;var l=Object.keys(s||{}).map(function(u){if(u in a.template.prop)return function(){this.prop[u]=s[u]};switch(u){case"margin":return this.setMargin.bind(this,s.margin);case"jsPDF":return function(){return this.opt.jsPDF=s.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,s.pageSize);default:return function(){this.opt[u]=s[u]}}},this);return this.then(function(){return this.thenList(l)})},a.prototype.get=function(s,l){return this.then(function(){var u=s in a.template.prop?this.prop[s]:this.opt[s];return l?l(u):u})},a.prototype.setMargin=function(s){return this.then(function(){switch(r(s)){case"number":s=[s,s,s,s];case"array":if(s.length===2&&(s=[s[0],s[1],s[0],s[1]]),s.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=s}).then(this.setPageSize)},a.prototype.setPageSize=function(s){function l(u,f){return Math.floor(u*f/72*96)}return this.then(function(){(s=s||qA.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(s.inner={width:s.width-this.opt.margin[1]-this.opt.margin[3],height:s.height-this.opt.margin[0]-this.opt.margin[2]},s.inner.px={width:l(s.inner.width,s.k),height:l(s.inner.height,s.k)},s.inner.ratio=s.inner.height/s.inner.width),this.prop.pageSize=s})},a.prototype.setProgress=function(s,l,u,f){return s!=null&&(this.progress.val=s),l!=null&&(this.progress.state=l),u!=null&&(this.progress.n=u),f!=null&&(this.progress.stack=f),this.progress.ratio=this.progress.val/this.progress.state,this},a.prototype.updateProgress=function(s,l,u,f){return this.setProgress(s?this.progress.val+s:null,l||null,u?this.progress.n+u:null,f?this.progress.stack.concat(f):null)},a.prototype.then=function(s,l){var u=this;return this.thenCore(s,l,function(f,p){return u.updateProgress(null,null,1,[f]),Promise.prototype.then.call(this,function(B){return u.updateProgress(null,f),B}).then(f,p).then(function(B){return u.updateProgress(1),B})})},a.prototype.thenCore=function(s,l,u){u=u||Promise.prototype.then;var f=this;s&&(s=s.bind(f)),l&&(l=l.bind(f));var p=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?f:a.convert(Object.assign({},f),Promise.prototype),B=u.call(p,s,l);return a.convert(B,f.__proto__)},a.prototype.thenExternal=function(s,l){return Promise.prototype.then.call(this,s,l)},a.prototype.thenList=function(s){var l=this;return s.forEach(function(u){l=l.thenCore(u)}),l},a.prototype.catch=function(s){s&&(s=s.bind(this));var l=Promise.prototype.catch.call(this,s);return a.convert(l,this)},a.prototype.catchExternal=function(s){return Promise.prototype.catch.call(this,s)},a.prototype.error=function(s){return this.then(function(){throw new Error(s)})},a.prototype.using=a.prototype.set,a.prototype.saveAs=a.prototype.save,a.prototype.export=a.prototype.output,a.prototype.run=a.prototype.then,qA.getPageSize=function(s,l,u){if(je(s)==="object"){var f=s;s=f.orientation,l=f.unit||l,u=f.format||u}l=l||"mm",u=u||"a4",s=(""+(s||"P")).toLowerCase();var p,B=(""+u).toLowerCase(),d={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(l){case"pt":p=1;break;case"mm":p=72/25.4;break;case"cm":p=72/2.54;break;case"in":p=72;break;case"px":p=.75;break;case"pc":case"em":p=12;break;case"ex":p=6;break;default:throw"Invalid unit: "+l}var m,C=0,E=0;if(d.hasOwnProperty(B))C=d[B][1]/p,E=d[B][0]/p;else try{C=u[1],E=u[0]}catch{throw new Error("Invalid format: "+u)}if(s==="p"||s==="portrait")s="p",E>C&&(m=E,E=C,C=m);else{if(s!=="l"&&s!=="landscape")throw"Invalid orientation: "+s;s="l",C>E&&(m=E,E=C,C=m)}return{width:E,height:C,unit:l,k:p,orientation:s}},t.html=function(s,l){(l=l||{}).callback=l.callback||function(){},l.html2canvas=l.html2canvas||{},l.html2canvas.canvas=l.html2canvas.canvas||this.canvas,l.jsPDF=l.jsPDF||this,l.fontFaces=l.fontFaces?l.fontFaces.map(yu):null;var u=new a(l);return l.worker?u:u.from(s).doCallback()}})(qA.API),qA.API.addJS=function(t){return Pg=t,this.internal.events.subscribe("postPutResources",function(){cl=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(cl+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Og=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Pg+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){cl!==void 0&&Og!==void 0&&this.internal.out("/Names <</JavaScript "+cl+" 0 R>>")}),this},(function(t){var A;t.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=e.outline.render().split(/\r\n/),i=0;i<n.length;i++){var a=n[i],s=r.exec(a);if(s!=null){var l=s[1];e.internal.newObjectDeferredBegin(l,!1)}e.internal.write(a)}if(this.outline.createNamedDestinations){var u=this.internal.pages.length,f=[];for(i=0;i<u;i++){var p=e.internal.newObject();f.push(p);var B=e.internal.getPageInfo(i+1);e.internal.write("<< /D["+B.objId+" 0 R /XYZ null null null]>> endobj")}var d=e.internal.newObject();for(e.internal.write("<< /Names [ "),i=0;i<f.length;i++)e.internal.write("(page_"+(i+1)+")"+f[i]+" 0 R");e.internal.write(" ] >>","endobj"),A=e.internal.newObject(),e.internal.write("<< /Dests "+d+" 0 R"),e.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+A+" 0 R"))}]),t.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(r,n,i){var a={title:n,options:i,children:[]};return r==null&&(r=this.root),r.children.push(a),a},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(r){r.id=e.internal.newObjectDeferred();for(var n=0;n<r.children.length;n++)this.genIds_r(r.children[n])},e.outline.renderRoot=function(r){this.objStart(r),this.line("/Type /Outlines"),r.children.length>0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},e.outline.renderItems=function(r){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,i=0;i<r.children.length;i++){var a=r.children[i];this.objStart(a),this.line("/Title "+this.makeString(a.title)),this.line("/Parent "+this.makeRef(r)),i>0&&this.line("/Prev "+this.makeRef(r.children[i-1])),i<r.children.length-1&&this.line("/Next "+this.makeRef(r.children[i+1])),a.children.length>0&&(this.line("/First "+this.makeRef(a.children[0])),this.line("/Last "+this.makeRef(a.children[a.children.length-1])));var s=this.count=this.count_r({count:0},a);if(s>0&&this.line("/Count "+s),a.options&&a.options.pageNumber){var l=e.internal.getPageInfo(a.options.pageNumber);this.line("/Dest ["+l.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var u=0;u<r.children.length;u++)this.renderItems(r.children[u])},e.outline.line=function(r){this.ctx.val+=r+`\r
`},e.outline.makeRef=function(r){return r.id+" 0 R"},e.outline.makeString=function(r){return"("+e.internal.pdfEscape(r)+")"},e.outline.objStart=function(r){this.ctx.val+=`\r
`+r.id+` 0 obj\r
<<\r
`},e.outline.objEnd=function(){this.ctx.val+=`>> \r
endobj\r
`},e.outline.count_r=function(r,n){for(var i=0;i<n.children.length;i++)r.count++,this.count_r(r,n.children[i]);return r.count}}])})(qA.API),(function(t){var A=[192,193,194,195,196,197,198,199];t.processJPEG=function(e,r,n,i,a,s){var l,u=this.decode.DCT_DECODE,f=null;if(typeof e=="string"||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=a||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,l=(function(p){for(var B,d=256*p.charCodeAt(4)+p.charCodeAt(5),m=p.length,C={width:0,height:0,numcomponents:1},E=4;E<m;E+=2){if(E+=d,A.indexOf(p.charCodeAt(E+1))!==-1){B=256*p.charCodeAt(E+5)+p.charCodeAt(E+6),C={width:256*p.charCodeAt(E+7)+p.charCodeAt(E+8),height:B,numcomponents:p.charCodeAt(E+9)};break}d=256*p.charCodeAt(E+2)+p.charCodeAt(E+3)}return C})(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e),l.numcomponents){case 1:s=this.color_spaces.DEVICE_GRAY;break;case 4:s=this.color_spaces.DEVICE_CMYK;break;case 3:s=this.color_spaces.DEVICE_RGB}f={data:e,width:l.width,height:l.height,colorSpace:s,bitsPerComponent:8,filter:u,index:r,alias:n}}return f}})(qA.API),qA.API.processPNG=function(t,A,e,r){if(this.__addimage__.isArrayBuffer(t)&&(t=new Uint8Array(t)),this.__addimage__.isArrayBufferView(t)){var n,i=kF(t,{checkCrc:!0}),a=i.width,s=i.height,l=i.channels,u=i.palette,f=i.depth;n=u&&l===1?(function(K){for(var L=K.width,q=K.height,U=K.data,S=K.palette,G=K.depth,V=!1,nA=[],oA=[],lA=void 0,eA=!1,uA=0,vA=0;vA<S.length;vA++){var hA=Gd(S[vA],4),F=hA[0],k=hA[1],M=hA[2],W=hA[3];nA.push(F,k,M),W!=null&&(W===0?(uA++,oA.length<1&&oA.push(vA)):W<255&&(eA=!0))}if(eA||uA>1){V=!0,oA=void 0;var $=L*q;lA=new Uint8Array($);for(var rA=new DataView(U.buffer),dA=0;dA<$;dA++){var fA=Qu(rA,dA,G),gA=Gd(S[fA],4)[3];lA[dA]=gA}}else uA===0&&(oA=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:V?8:void 0,colorBytes:U,alphaBytes:lA,needSMask:V,palette:nA,mask:oA}})(i):l===2||l===4?(function(K){for(var L=K.data,q=K.width,U=K.height,S=K.channels,G=K.depth,V=S===2?"DeviceGray":"DeviceRGB",nA=S-1,oA=q*U,lA=nA,eA=oA*lA,uA=1*oA,vA=Math.ceil(eA*G/8),hA=Math.ceil(uA*G/8),F=new Uint8Array(vA),k=new Uint8Array(hA),M=new DataView(L.buffer),W=new DataView(F.buffer),$=new DataView(k.buffer),rA=!1,dA=0;dA<oA;dA++){for(var fA=dA*S,gA=0;gA<lA;gA++)zg(W,Qu(M,fA+gA,G),dA*lA+gA,G);var sA=Qu(M,fA+lA,G);sA<(1<<G)-1&&(rA=!0),zg($,sA,1*dA,G)}return{colorSpace:V,colorsPerPixel:nA,sMaskBitsPerComponent:rA?G:void 0,colorBytes:F,alphaBytes:k,needSMask:rA}})(i):(function(K){var L=K.data,q=K.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:q,colorsPerPixel:q==="DeviceGray"?1:3,colorBytes:L instanceof Uint16Array?(function(U){for(var S=U.length,G=new Uint8Array(2*S),V=new DataView(G.buffer,G.byteOffset,G.byteLength),nA=0;nA<S;nA++)V.setUint16(2*nA,U[nA],!1);return G})(L):L,needSMask:!1}})(i);var p,B,d,m=n,C=m.colorSpace,E=m.colorsPerPixel,v=m.sMaskBitsPerComponent,H=m.colorBytes,P=m.alphaBytes,N=m.needSMask,j=m.palette,J=m.mask,X=null;return r!==qA.API.image_compression.NONE&&typeof nf=="function"?(X=(function(K){var L;switch(K){case qA.API.image_compression.FAST:L=11;break;case qA.API.image_compression.MEDIUM:L=13;break;case qA.API.image_compression.SLOW:L=14;break;default:L=12}return L})(r),p=this.decode.FLATE_DECODE,B="/Predictor ".concat(X," /Colors ").concat(E," /BitsPerComponent ").concat(f," /Columns ").concat(a),t=Gg(H,Math.ceil(a*E*f/8),E,f,r),N&&(d=Gg(P,Math.ceil(a*v/8),1,v,r))):(p=void 0,B=void 0,t=H,N&&(d=P)),(this.__addimage__.isArrayBuffer(t)||this.__addimage__.isArrayBufferView(t))&&(t=this.__addimage__.arrayBufferToBinaryString(t)),(d&&this.__addimage__.isArrayBuffer(d)||this.__addimage__.isArrayBufferView(d))&&(d=this.__addimage__.arrayBufferToBinaryString(d)),{alias:e,data:t,index:A,filter:p,decodeParameters:B,transparency:J,palette:j,sMask:d,predictor:X,width:a,height:s,bitsPerComponent:f,sMaskBitsPerComponent:v,colorSpace:C}}},(function(t){t.processGIF89A=function(A,e,r,n){var i=new tQ(A),a=i.width,s=i.height,l=[];i.decodeAndBlitFrameRGBA(0,l);var u={data:l,width:a,height:s},f=new Uu(100).encode(u,100);return t.processJPEG.call(this,f,e,r,n)},t.processGIF87A=t.processGIF89A})(qA.API),Mr.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var t=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(t);for(var A=0;A<t;A++){var e=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0);this.palette[A]={red:n,green:r,blue:e,quad:i}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Mr.prototype.parseBGR=function(){this.pos=this.offset;try{var t="bit"+this.bitPP,A=this.width*this.height*4;this.data=new Uint8Array(A),this[t]()}catch(e){Ve.log("bit decode error:"+e)}},Mr.prototype.bit1=function(){var t,A=Math.ceil(this.width/8),e=A%4;for(t=this.height-1;t>=0;t--){for(var r=this.bottom_up?t:this.height-1-t,n=0;n<A;n++)for(var i=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+8*n*4,s=0;s<8&&8*n+s<this.width;s++){var l=this.palette[i>>7-s&1];this.data[a+4*s]=l.blue,this.data[a+4*s+1]=l.green,this.data[a+4*s+2]=l.red,this.data[a+4*s+3]=255}e!==0&&(this.pos+=4-e)}},Mr.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),A=t%4,e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,n=0;n<t;n++){var i=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+2*n*4,s=i>>4,l=15&i,u=this.palette[s];if(this.data[a]=u.blue,this.data[a+1]=u.green,this.data[a+2]=u.red,this.data[a+3]=255,2*n+1>=this.width)break;u=this.palette[l],this.data[a+4]=u.blue,this.data[a+4+1]=u.green,this.data[a+4+2]=u.red,this.data[a+4+3]=255}A!==0&&(this.pos+=4-A)}},Mr.prototype.bit8=function(){for(var t=this.width%4,A=this.height-1;A>=0;A--){for(var e=this.bottom_up?A:this.height-1-A,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),i=e*this.width*4+4*r;if(n<this.palette.length){var a=this.palette[n];this.data[i]=a.red,this.data[i+1]=a.green,this.data[i+2]=a.blue,this.data[i+3]=255}else this.data[i]=255,this.data[i+1]=255,this.data[i+2]=255,this.data[i+3]=255}t!==0&&(this.pos+=4-t)}},Mr.prototype.bit15=function(){for(var t=this.width%3,A=parseInt("11111",2),e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var i=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(i&A)/A*255|0,s=(i>>5&A)/A*255|0,l=(i>>10&A)/A*255|0,u=i>>15?255:0,f=r*this.width*4+4*n;this.data[f]=l,this.data[f+1]=s,this.data[f+2]=a,this.data[f+3]=u}this.pos+=t}},Mr.prototype.bit16=function(){for(var t=this.width%3,A=parseInt("11111",2),e=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<this.width;i++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(a&A)/A*255|0,l=(a>>5&e)/e*255|0,u=(a>>11)/A*255|0,f=n*this.width*4+4*i;this.data[f]=u,this.data[f+1]=l,this.data[f+2]=s,this.data[f+3]=255}this.pos+=t}},Mr.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var A=this.bottom_up?t:this.height-1-t,e=0;e<this.width;e++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=A*this.width*4+4*e;this.data[a]=i,this.data[a+1]=n,this.data[a+2]=r,this.data[a+3]=255}this.pos+=this.width%4}},Mr.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var A=this.bottom_up?t:this.height-1-t,e=0;e<this.width;e++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=A*this.width*4+4*e;this.data[s]=i,this.data[s+1]=n,this.data[s+2]=r,this.data[s+3]=a}},Mr.prototype.getData=function(){return this.data},(function(t){t.processBMP=function(A,e,r,n){var i=new Mr(A,!1),a=i.width,s=i.height,l={data:i.getData(),width:a,height:s},u=new Uu(100).encode(l,100);return t.processJPEG.call(this,u,e,r,n)}})(qA.API),Jg.prototype.getData=function(){return this.data},(function(t){t.processWEBP=function(A,e,r,n){var i=new Jg(A),a=i.width,s=i.height,l={data:i.getData(),width:a,height:s},u=new Uu(100).encode(l,100);return t.processJPEG.call(this,u,e,r,n)}})(qA.API),qA.API.processRGBA=function(t,A,e){for(var r=t.data,n=r.length,i=new Uint8Array(n/4*3),a=new Uint8Array(n/4),s=0,l=0,u=0;u<n;u+=4){var f=r[u],p=r[u+1],B=r[u+2],d=r[u+3];i[s++]=f,i[s++]=p,i[s++]=B,a[l++]=d}var m=this.__addimage__.arrayBufferToBinaryString(i);return{alpha:this.__addimage__.arrayBufferToBinaryString(a),data:m,index:A,alias:e,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},qA.API.setLanguage=function(t){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[t]!==void 0&&(this.internal.languageSettings.languageCode=t,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},Qa=qA.API,ul=Qa.getCharWidthsArray=function(t,A){var e,r,n=(A=A||{}).font||this.internal.getFont(),i=A.fontSize||this.internal.getFontSize(),a=A.charSpace||this.internal.getCharSpace(),s=A.widths?A.widths:n.metadata.Unicode.widths,l=s.fof?s.fof:1,u=A.kerning?A.kerning:n.metadata.Unicode.kerning,f=u.fof?u.fof:1,p=A.doKerning!==!1,B=0,d=t.length,m=0,C=s[0]||l,E=[];for(e=0;e<d;e++)r=t.charCodeAt(e),typeof n.metadata.widthOfString=="function"?E.push((n.metadata.widthOfGlyph(n.metadata.characterToGlyph(r))+a*(1e3/i)||0)/1e3):(B=p&&je(u[r])==="object"&&!isNaN(parseInt(u[r][m],10))?u[r][m]/f:0,E.push((s[r]||C)/l+B)),m=r;return E},Rg=Qa.getStringUnitWidth=function(t,A){var e=(A=A||{}).fontSize||this.internal.getFontSize(),r=A.font||this.internal.getFont(),n=A.charSpace||this.internal.getCharSpace();return Qa.processArabic&&(t=Qa.processArabic(t)),typeof r.metadata.widthOfString=="function"?r.metadata.widthOfString(t,e,n)/e:ul.apply(this,arguments).reduce(function(i,a){return i+a},0)},Mg=function(t,A,e,r){for(var n=[],i=0,a=t.length,s=0;i!==a&&s+A[i]<e;)s+=A[i],i++;n.push(t.slice(0,i));var l=i;for(s=0;i!==a;)s+A[i]>r&&(n.push(t.slice(l,i)),s=0,l=i),s+=A[i],i++;return l!==i&&n.push(t.slice(l,i)),n},Kg=function(t,A,e){e||(e={});var r,n,i,a,s,l,u,f=[],p=[f],B=e.textIndent||0,d=0,m=0,C=t.split(" "),E=ul.apply(this,[" ",e])[0];if(l=e.lineIndent===-1?C[0].length+2:e.lineIndent||0){var v=Array(l).join(" "),H=[];C.map(function(N){(N=N.split(/\s*\n/)).length>1?H=H.concat(N.map(function(j,J){return(J&&j.length?`
`:"")+j})):H.push(N[0])}),C=H,l=Rg.apply(this,[v,e])}for(i=0,a=C.length;i<a;i++){var P=0;if(r=C[i],l&&r[0]==`
`&&(r=r.substr(1),P=1),B+d+(m=(n=ul.apply(this,[r,e])).reduce(function(N,j){return N+j},0))>A||P){if(m>A){for(s=Mg.apply(this,[r,n,A-(B+d),A]),f.push(s.shift()),f=[s.pop()];s.length;)p.push([s.shift()]);m=n.slice(r.length-(f[0]?f[0].length:0)).reduce(function(N,j){return N+j},0)}else f=[r];p.push(f),B=m+l,d=E}else f.push(r),B+=d+m,d=E}return u=l?function(N,j){return(j?v:"")+N.join(" ")}:function(N){return N.join(" ")},p.map(u)},Qa.splitTextToSize=function(t,A,e){var r,n=(e=e||{}).fontSize||this.internal.getFontSize(),i=(function(f){if(f.widths&&f.kerning)return{widths:f.widths,kerning:f.kerning};var p=this.internal.getFont(f.fontName,f.fontStyle),B="Unicode";return p.metadata[B]?{widths:p.metadata[B].widths||{0:1},kerning:p.metadata[B].kerning||{}}:{font:p.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,e);r=Array.isArray(t)?t:String(t).split(/\r?\n/);var a=1*this.internal.scaleFactor*A/n;i.textIndent=e.textIndent?1*e.textIndent*this.internal.scaleFactor/n:0,i.lineIndent=e.lineIndent;var s,l,u=[];for(s=0,l=r.length;s<l;s++)u=u.concat(Kg.apply(this,[r[s],a,i]));return u},(function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var A="0123456789abcdef",e="klmnopqrstuvwxyz",r={},n={},i=0;i<16;i++)r[e[i]]=A[i],n[A[i]]=e[i];var a=function(B){return"0x"+parseInt(B,10).toString(16)},s=t.__fontmetrics__.compress=function(B){var d,m,C,E,v=["{"];for(var H in B){if(d=B[H],isNaN(parseInt(H,10))?m="'"+H+"'":(H=parseInt(H,10),m=(m=a(H).slice(2)).slice(0,-1)+n[m.slice(-1)]),typeof d=="number")d<0?(C=a(d).slice(3),E="-"):(C=a(d).slice(2),E=""),C=E+C.slice(0,-1)+n[C.slice(-1)];else{if(je(d)!=="object")throw new Error("Don't know what to do with value type "+je(d)+".");C=s(d)}v.push(m+C)}return v.push("}"),v.join("")},l=t.__fontmetrics__.uncompress=function(B){if(typeof B!="string")throw new Error("Invalid argument passed to uncompress.");for(var d,m,C,E,v={},H=1,P=v,N=[],j="",J="",X=B.length-1,K=1;K<X;K+=1)(E=B[K])=="'"?d?(C=d.join(""),d=void 0):d=[]:d?d.push(E):E=="{"?(N.push([P,C]),P={},C=void 0):E=="}"?((m=N.pop())[0][m[1]]=P,C=void 0,P=m[0]):E=="-"?H=-1:C===void 0?r.hasOwnProperty(E)?(j+=r[E],C=parseInt(j,16)*H,H=1,j=""):j+=E:r.hasOwnProperty(E)?(J+=r[E],P[C]=parseInt(J,16)*H,H=1,C=void 0,J=""):J+=E;return v},u={codePages:["WinAnsiEncoding"],WinAnsiEncoding:l("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},f={Unicode:{Courier:u,"Courier-Bold":u,"Courier-BoldOblique":u,"Courier-Oblique":u,Helvetica:u,"Helvetica-Bold":u,"Helvetica-BoldOblique":u,"Helvetica-Oblique":u,"Times-Roman":u,"Times-Bold":u,"Times-BoldItalic":u,"Times-Italic":u}},p={Unicode:{"Courier-Oblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":l("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":l("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:l("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:l("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":l("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":l("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};t.events.push(["addFont",function(B){var d=B.font,m=p.Unicode[d.postScriptName];m&&(d.metadata.Unicode={},d.metadata.Unicode.widths=m.widths,d.metadata.Unicode.kerning=m.kerning);var C=f.Unicode[d.postScriptName];C&&(d.metadata.Unicode.encoding=C,d.encoding=C.codePages[0])}])})(qA.API),(function(t){var A=function(e){for(var r=e.length,n=new Uint8Array(r),i=0;i<r;i++)n[i]=e.charCodeAt(i);return n};t.API.events.push(["addFont",function(e){var r=void 0,n=e.font,i=e.instance;if(!n.isStandardFont){if(i===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+n.postScriptName+"').");if(typeof(r=i.existsFileInVFS(n.postScriptName)===!1?i.loadFile(n.postScriptName):i.getFileFromVFS(n.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+n.postScriptName+"').");(function(a,s){s=/^\x00\x01\x00\x00/.test(s)?A(s):A(wl(s)),a.metadata=t.API.TTFFont.open(s),a.metadata.Unicode=a.metadata.Unicode||{encoding:{},kerning:{},widths:[]},a.metadata.glyIdsUsed=[0]})(n,r)}}])})(qA),qA.API.addSvgAsImage=function(t,A,e,r,n,i,a,s){if(isNaN(A)||isNaN(e))throw Ve.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(r)||isNaN(n))throw Ve.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var l=document.createElement("canvas");l.width=r,l.height=n;var u=l.getContext("2d");u.fillStyle="#fff",u.fillRect(0,0,l.width,l.height);var f={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},p=this;return(te.canvg?Promise.resolve(te.canvg):Dc(()=>import("./index.es-DyBZy4UP.js"),__vite__mapDeps([2,0,1,3,4]),import.meta.url)).catch(function(B){return Promise.reject(new Error("Could not load canvg: "+B))}).then(function(B){return B.default?B.default:B}).then(function(B){return B.fromString(u,t,f)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(B){return B.render(f)}).then(function(){p.addImage(l.toDataURL("image/jpeg",1),A,e,r,n,a,s)})},qA.API.putTotalPages=function(t){var A,e=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(A=new RegExp(t,"g"),e=this.internal.getNumberOfPages()):(A=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),e=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var n=0;n<this.internal.pages[r].length;n++)this.internal.pages[r][n]=this.internal.pages[r][n].replace(A,e);return this},qA.API.viewerPreferences=function(t,A){var e;t=t||{},A=A||!1;var r,n,i,a={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},s=Object.keys(a),l=[],u=0,f=0,p=0;function B(m,C){var E,v=!1;for(E=0;E<m.length;E+=1)m[E]===C&&(v=!0);return v}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(a)),this.internal.viewerpreferences.isSubscribed=!1),e=this.internal.viewerpreferences.configuration,t==="reset"||A===!0){var d=s.length;for(p=0;p<d;p+=1)e[s[p]].value=e[s[p]].defaultValue,e[s[p]].explicitSet=!1}if(je(t)==="object"){for(n in t)if(i=t[n],B(s,n)&&i!==void 0){if(e[n].type==="boolean"&&typeof i=="boolean")e[n].value=i;else if(e[n].type==="name"&&B(e[n].valueSet,i))e[n].value=i;else if(e[n].type==="integer"&&Number.isInteger(i))e[n].value=i;else if(e[n].type==="array"){for(u=0;u<i.length;u+=1)if(r=!0,i[u].length===1&&typeof i[u][0]=="number")l.push(String(i[u]-1));else if(i[u].length>1){for(f=0;f<i[u].length;f+=1)typeof i[u][f]!="number"&&(r=!1);r===!0&&l.push([i[u][0]-1,i[u][1]-1].join(" "))}e[n].value="["+l.join(" ")+"]"}else e[n].value=e[n].defaultValue;e[n].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var m,C=[];for(m in e)e[m].explicitSet===!0&&(e[m].type==="name"?C.push("/"+m+" /"+e[m].value):C.push("/"+m+" "+e[m].value));C.length!==0&&this.internal.write(`/ViewerPreferences
<<
`+C.join(`
`)+`
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=e,this},(function(t){var A=function(){var r='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',n=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),i=unescape(encodeURIComponent(r)),a=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),s=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),l=unescape(encodeURIComponent("</x:xmpmeta>")),u=i.length+a.length+s.length+n.length+l.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+u+" >>"),this.internal.write("stream"),this.internal.write(n+i+a+s+l),this.internal.write("endstream"),this.internal.write("endobj")},e=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};t.addMetadata=function(r,n){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:r,namespaceuri:n||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",e),this.internal.events.subscribe("postPutResources",A)),this}})(qA.API),(function(t){var A=t.API,e=A.pdfEscape16=function(i,a){for(var s,l=a.metadata.Unicode.widths,u=["","0","00","000","0000"],f=[""],p=0,B=i.length;p<B;++p){if(s=a.metadata.characterToGlyph(i.charCodeAt(p)),a.metadata.glyIdsUsed.push(s),a.metadata.toUnicode[s]=i.charCodeAt(p),l.indexOf(s)==-1&&(l.push(s),l.push([parseInt(a.metadata.widthOfGlyph(s),10)])),s=="0")return f.join("");s=s.toString(16),f.push(u[4-s.length],s)}return f.join("")},r=function(i){var a,s,l,u,f,p,B;for(f=`/CIDInit /ProcSet findresource begin
12 dict begin
begincmap
/CIDSystemInfo <<
/Registry (Adobe)
/Ordering (UCS)
/Supplement 0
>> def
/CMapName /Adobe-Identity-UCS def
/CMapType 2 def
1 begincodespacerange
<0000><ffff>
endcodespacerange`,l=[],p=0,B=(s=Object.keys(i).sort(function(d,m){return d-m})).length;p<B;p++)a=s[p],l.length>=100&&(f+=`
`+l.length+` beginbfchar
`+l.join(`
`)+`
endbfchar`,l=[]),i[a]!==void 0&&i[a]!==null&&typeof i[a].toString=="function"&&(u=("0000"+i[a].toString(16)).slice(-4),a=("0000"+(+a).toString(16)).slice(-4),l.push("<"+a+"><"+u+">"));return l.length&&(f+=`
`+l.length+` beginbfchar
`+l.join(`
`)+`
endbfchar
`),f+`endcmap
CMapName currentdict /CMap defineresource pop
end
end`};A.events.push(["putFont",function(i){(function(a){var s=a.font,l=a.out,u=a.newObject,f=a.putStream;if(s.metadata instanceof t.API.TTFFont&&s.encoding==="Identity-H"){for(var p=s.metadata.Unicode.widths,B=s.metadata.subset.encode(s.metadata.glyIdsUsed,1),d="",m=0;m<B.length;m++)d+=String.fromCharCode(B[m]);var C=u();f({data:d,addLength1:!0,objectId:C}),l("endobj");var E=u();f({data:r(s.metadata.toUnicode),addLength1:!0,objectId:E}),l("endobj");var v=u();l("<<"),l("/Type /FontDescriptor"),l("/FontName /"+La(s.fontName)),l("/FontFile2 "+C+" 0 R"),l("/FontBBox "+t.API.PDFObject.convert(s.metadata.bbox)),l("/Flags "+s.metadata.flags),l("/StemV "+s.metadata.stemV),l("/ItalicAngle "+s.metadata.italicAngle),l("/Ascent "+s.metadata.ascender),l("/Descent "+s.metadata.decender),l("/CapHeight "+s.metadata.capHeight),l(">>"),l("endobj");var H=u();l("<<"),l("/Type /Font"),l("/BaseFont /"+La(s.fontName)),l("/FontDescriptor "+v+" 0 R"),l("/W "+t.API.PDFObject.convert(p)),l("/CIDToGIDMap /Identity"),l("/DW 1000"),l("/Subtype /CIDFontType2"),l("/CIDSystemInfo"),l("<<"),l("/Supplement 0"),l("/Registry (Adobe)"),l("/Ordering ("+s.encoding+")"),l(">>"),l(">>"),l("endobj"),s.objectNumber=u(),l("<<"),l("/Type /Font"),l("/Subtype /Type0"),l("/ToUnicode "+E+" 0 R"),l("/BaseFont /"+La(s.fontName)),l("/Encoding /"+s.encoding),l("/DescendantFonts ["+H+" 0 R]"),l(">>"),l("endobj"),s.isAlreadyPutted=!0}})(i)}]),A.events.push(["putFont",function(i){(function(a){var s=a.font,l=a.out,u=a.newObject,f=a.putStream;if(s.metadata instanceof t.API.TTFFont&&s.encoding==="WinAnsiEncoding"){for(var p=s.metadata.rawData,B="",d=0;d<p.length;d++)B+=String.fromCharCode(p[d]);var m=u();f({data:B,addLength1:!0,objectId:m}),l("endobj");var C=u();f({data:r(s.metadata.toUnicode),addLength1:!0,objectId:C}),l("endobj");var E=u();l("<<"),l("/Descent "+s.metadata.decender),l("/CapHeight "+s.metadata.capHeight),l("/StemV "+s.metadata.stemV),l("/Type /FontDescriptor"),l("/FontFile2 "+m+" 0 R"),l("/Flags 96"),l("/FontBBox "+t.API.PDFObject.convert(s.metadata.bbox)),l("/FontName /"+La(s.fontName)),l("/ItalicAngle "+s.metadata.italicAngle),l("/Ascent "+s.metadata.ascender),l(">>"),l("endobj"),s.objectNumber=u();for(var v=0;v<s.metadata.hmtx.widths.length;v++)s.metadata.hmtx.widths[v]=parseInt(s.metadata.hmtx.widths[v]*(1e3/s.metadata.head.unitsPerEm));l("<</Subtype/TrueType/Type/Font/ToUnicode "+C+" 0 R/BaseFont/"+La(s.fontName)+"/FontDescriptor "+E+" 0 R/Encoding/"+s.encoding+" /FirstChar 29 /LastChar 255 /Widths "+t.API.PDFObject.convert(s.metadata.hmtx.widths)+">>"),l("endobj"),s.isAlreadyPutted=!0}})(i)}]);var n=function(i){var a,s=i.text||"",l=i.x,u=i.y,f=i.options||{},p=i.mutex||{},B=p.pdfEscape,d=p.activeFontKey,m=p.fonts,C=d,E="",v=0,H="",P=m[C].encoding;if(m[C].encoding!=="Identity-H")return{text:s,x:l,y:u,options:f,mutex:p};for(H=s,C=d,Array.isArray(s)&&(H=s[0]),v=0;v<H.length;v+=1)m[C].metadata.hasOwnProperty("cmap")&&(a=m[C].metadata.cmap.unicode.codeMap[H[v].charCodeAt(0)]),a||H[v].charCodeAt(0)<256&&m[C].metadata.hasOwnProperty("Unicode")?E+=H[v]:E+="";var N="";return parseInt(C.slice(1))<14||P==="WinAnsiEncoding"?N=B(E,C).split("").map(function(j){return j.charCodeAt(0).toString(16)}).join(""):P==="Identity-H"&&(N=e(E,m[C])),p.isHex=!0,{text:N,x:l,y:u,options:f,mutex:p}};A.events.push(["postProcessText",function(i){var a=i.text||"",s=[],l={text:a,x:i.x,y:i.y,options:i.options,mutex:i.mutex};if(Array.isArray(a)){var u=0;for(u=0;u<a.length;u+=1)Array.isArray(a[u])&&a[u].length===3?s.push([n(Object.assign({},l,{text:a[u][0]})).text,a[u][1],a[u][2]]):s.push(n(Object.assign({},l,{text:a[u]})).text);i.text=s}else i.text=n(Object.assign({},l,{text:a})).text}])})(qA),(function(t){var A=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};t.existsFileInVFS=function(e){return A.call(this),this.internal.vFS[e]!==void 0},t.addFileToVFS=function(e,r){return A.call(this),this.internal.vFS[e]=r,this},t.getFileFromVFS=function(e){return A.call(this),this.internal.vFS[e]!==void 0?this.internal.vFS[e]:null}})(qA.API),(function(t){t.__bidiEngine__=t.prototype.__bidiEngine__=function(r){var n,i,a,s,l,u,f,p=A,B=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],d=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],m={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},C={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},E=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","","","","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],v=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),H=!1,P=0;this.__bidiEngine__={};var N=function(U){var S=U.charCodeAt(),G=S>>8,V=C[G];return V!==void 0?p[256*V+(255&S)]:G===252||G===253?"AL":v.test(G)?"L":G===8?"R":"N"},j=function(U){for(var S,G=0;G<U.length;G++){if((S=N(U.charAt(G)))==="L")return!1;if(S==="R")return!0}return!1},J=function(U,S,G,V){var nA,oA,lA,eA,uA=S[V];switch(uA){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":H=!1;break;case"N":case"AN":break;case"EN":H&&(uA="AN");break;case"AL":H=!0,uA="R";break;case"WS":case"BN":uA="N";break;case"CS":V<1||V+1>=S.length||(nA=G[V-1])!=="EN"&&nA!=="AN"||(oA=S[V+1])!=="EN"&&oA!=="AN"?uA="N":H&&(oA="AN"),uA=oA===nA?oA:"N";break;case"ES":uA=(nA=V>0?G[V-1]:"B")==="EN"&&V+1<S.length&&S[V+1]==="EN"?"EN":"N";break;case"ET":if(V>0&&G[V-1]==="EN"){uA="EN";break}if(H){uA="N";break}for(lA=V+1,eA=S.length;lA<eA&&S[lA]==="ET";)lA++;uA=lA<eA&&S[lA]==="EN"?"EN":"N";break;case"NSM":if(a&&!s){for(eA=S.length,lA=V+1;lA<eA&&S[lA]==="NSM";)lA++;if(lA<eA){var vA=U[V],hA=vA>=1425&&vA<=2303||vA===64286;if(nA=S[lA],hA&&(nA==="R"||nA==="AL")){uA="R";break}}}uA=V<1||(nA=S[V-1])==="B"?"N":G[V-1];break;case"B":H=!1,n=!0,uA=P;break;case"S":i=!0,uA="N"}return uA},X=function(U,S,G){var V=U.split("");return G&&K(V,G,{hiLevel:P}),V.reverse(),S&&S.reverse(),V.join("")},K=function(U,S,G){var V,nA,oA,lA,eA,uA=-1,vA=U.length,hA=0,F=[],k=P?d:B,M=[];for(H=!1,n=!1,i=!1,nA=0;nA<vA;nA++)M[nA]=N(U[nA]);for(oA=0;oA<vA;oA++){if(eA=hA,F[oA]=J(U,M,F,oA),V=240&(hA=k[eA][m[F[oA]]]),hA&=15,S[oA]=lA=k[hA][5],V>0)if(V===16){for(nA=uA;nA<oA;nA++)S[nA]=1;uA=-1}else uA=-1;if(k[hA][6])uA===-1&&(uA=oA);else if(uA>-1){for(nA=uA;nA<oA;nA++)S[nA]=lA;uA=-1}M[oA]==="B"&&(S[oA]=0),G.hiLevel|=lA}i&&(function(W,$,rA){for(var dA=0;dA<rA;dA++)if(W[dA]==="S"){$[dA]=P;for(var fA=dA-1;fA>=0&&W[fA]==="WS";fA--)$[fA]=P}})(M,S,vA)},L=function(U,S,G,V,nA){if(!(nA.hiLevel<U)){if(U===1&&P===1&&!n)return S.reverse(),void(G&&G.reverse());for(var oA,lA,eA,uA,vA=S.length,hA=0;hA<vA;){if(V[hA]>=U){for(eA=hA+1;eA<vA&&V[eA]>=U;)eA++;for(uA=hA,lA=eA-1;uA<lA;uA++,lA--)oA=S[uA],S[uA]=S[lA],S[lA]=oA,G&&(oA=G[uA],G[uA]=G[lA],G[lA]=oA);hA=eA}hA++}}},q=function(U,S,G){var V=U.split(""),nA={hiLevel:P};return G||(G=[]),K(V,G,nA),(function(oA,lA,eA){if(eA.hiLevel!==0&&f)for(var uA,vA=0;vA<oA.length;vA++)lA[vA]===1&&(uA=E.indexOf(oA[vA]))>=0&&(oA[vA]=E[uA+1])})(V,G,nA),L(2,V,S,G,nA),L(1,V,S,G,nA),V.join("")};return this.__bidiEngine__.doBidiReorder=function(U,S,G){if((function(nA,oA){if(oA)for(var lA=0;lA<nA.length;lA++)oA[lA]=lA;s===void 0&&(s=j(nA)),u===void 0&&(u=j(nA))})(U,S),a||!l||u)if(a&&l&&s^u)P=s?1:0,U=X(U,S,G);else if(!a&&l&&u)P=s?1:0,U=q(U,S,G),U=X(U,S);else if(!a||s||l||u){if(a&&!l&&s^u)U=X(U,S),s?(P=0,U=q(U,S,G)):(P=1,U=q(U,S,G),U=X(U,S));else if(a&&s&&!l&&u)P=1,U=q(U,S,G),U=X(U,S);else if(!a&&!l&&s^u){var V=f;s?(P=1,U=q(U,S,G),P=0,f=!1,U=q(U,S,G),f=V):(P=0,U=q(U,S,G),U=X(U,S),P=1,f=!1,U=q(U,S,G),f=V,U=X(U,S))}}else P=0,U=q(U,S,G);else P=s?1:0,U=q(U,S,G);return U},this.__bidiEngine__.setOptions=function(U){U&&(a=U.isInputVisual,l=U.isOutputVisual,s=U.isInputRtl,u=U.isOutputRtl,f=U.isSymmetricSwapping)},this.__bidiEngine__.setOptions(r),this.__bidiEngine__};var A=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],e=new t.__bidiEngine__({isInputVisual:!0});t.API.events.push(["postProcessText",function(r){var n=r.text;r.x,r.y;var i=r.options||{};r.mutex,i.lang;var a=[];if(i.isInputVisual=typeof i.isInputVisual!="boolean"||i.isInputVisual,e.setOptions(i),Object.prototype.toString.call(n)==="[object Array]"){var s=0;for(a=[],s=0;s<n.length;s+=1)Object.prototype.toString.call(n[s])==="[object Array]"?a.push([e.doBidiReorder(n[s][0]),n[s][1],n[s][2]]):a.push([e.doBidiReorder(n[s])]);r.text=a}else r.text=e.doBidiReorder(n);e.setOptions({isInputVisual:!0})}])})(qA),qA.API.TTFFont=(function(){function t(A){var e;if(this.rawData=A,e=this.contents=new hi(A),this.contents.pos=4,e.readString(4)==="ttcf")throw new Error("TTCF not supported.");e.pos=0,this.parse(),this.subset=new BQ(this),this.registerTTF()}return t.open=function(A){return new t(A)},t.prototype.parse=function(){return this.directory=new rQ(this.contents),this.head=new iQ(this),this.name=new cQ(this),this.cmap=new u1(this),this.toUnicode={},this.hhea=new aQ(this),this.maxp=new uQ(this),this.hmtx=new fQ(this),this.post=new oQ(this),this.os2=new sQ(this),this.loca=new pQ(this),this.glyf=new hQ(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},t.prototype.registerTTF=function(){var A,e,r,n,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=(function(){var a,s,l,u;for(u=[],a=0,s=(l=this.bbox).length;a<s;a++)A=l[a],u.push(Math.round(A*this.scaleFactor));return u}).call(this),this.stemV=0,this.post.exists?(r=255&(n=this.post.italic_angle),32768&(e=n>>16)&&(e=-(1+(65535^e))),this.italicAngle=+(e+"."+r)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(i=this.familyClass)===1||i===2||i===3||i===4||i===5||i===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},t.prototype.characterToGlyph=function(A){var e;return((e=this.cmap.unicode)!=null?e.codeMap[A]:void 0)||0},t.prototype.widthOfGlyph=function(A){var e;return e=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(A).advance*e},t.prototype.widthOfString=function(A,e,r){var n,i,a,s;for(a=0,i=0,s=(A=""+A).length;0<=s?i<s:i>s;i=0<=s?++i:--i)n=A.charCodeAt(i),a+=this.widthOfGlyph(this.characterToGlyph(n))+r*(1e3/e)||0;return a*(e/1e3)},t.prototype.lineHeight=function(A,e){var r;return e==null&&(e=!1),r=e?this.lineGap:0,(this.ascender+r-this.decender)/1e3*A},t})();var Wr,hi=(function(){function t(A){this.data=A??[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(A){return this.data[this.pos++]=A},t.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},t.prototype.writeUInt32=function(A){return this.writeByte(A>>>24&255),this.writeByte(A>>16&255),this.writeByte(A>>8&255),this.writeByte(255&A)},t.prototype.readInt32=function(){var A;return(A=this.readUInt32())>=2147483648?A-4294967296:A},t.prototype.writeInt32=function(A){return A<0&&(A+=4294967296),this.writeUInt32(A)},t.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},t.prototype.writeUInt16=function(A){return this.writeByte(A>>8&255),this.writeByte(255&A)},t.prototype.readInt16=function(){var A;return(A=this.readUInt16())>=32768?A-65536:A},t.prototype.writeInt16=function(A){return A<0&&(A+=65536),this.writeUInt16(A)},t.prototype.readString=function(A){var e,r;for(r=[],e=0;0<=A?e<A:e>A;e=0<=A?++e:--e)r[e]=String.fromCharCode(this.readByte());return r.join("")},t.prototype.writeString=function(A){var e,r,n;for(n=[],e=0,r=A.length;0<=r?e<r:e>r;e=0<=r?++e:--e)n.push(this.writeByte(A.charCodeAt(e)));return n},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(A){return this.writeInt16(A)},t.prototype.readLongLong=function(){var A,e,r,n,i,a,s,l;return A=this.readByte(),e=this.readByte(),r=this.readByte(),n=this.readByte(),i=this.readByte(),a=this.readByte(),s=this.readByte(),l=this.readByte(),128&A?-1*(72057594037927940*(255^A)+281474976710656*(255^e)+1099511627776*(255^r)+4294967296*(255^n)+16777216*(255^i)+65536*(255^a)+256*(255^s)+(255^l)+1):72057594037927940*A+281474976710656*e+1099511627776*r+4294967296*n+16777216*i+65536*a+256*s+l},t.prototype.writeLongLong=function(A){var e,r;return e=Math.floor(A/4294967296),r=4294967295&A,this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(A){return this.writeInt32(A)},t.prototype.read=function(A){var e,r;for(e=[],r=0;0<=A?r<A:r>A;r=0<=A?++r:--r)e.push(this.readByte());return e},t.prototype.write=function(A){var e,r,n,i;for(i=[],r=0,n=A.length;r<n;r++)e=A[r],i.push(this.writeByte(e));return i},t})(),rQ=(function(){var t;function A(e){var r,n,i;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},n=0,i=this.tableCount;0<=i?n<i:n>i;n=0<=i?++n:--n)r={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[r.tag]=r}return A.prototype.encode=function(e){var r,n,i,a,s,l,u,f,p,B,d,m,C;for(C in d=Object.keys(e).length,l=Math.log(2),p=16*Math.floor(Math.log(d)/l),a=Math.floor(p/l),f=16*d-p,(n=new hi).writeInt(this.scalarType),n.writeShort(d),n.writeShort(p),n.writeShort(a),n.writeShort(f),i=16*d,u=n.pos+i,s=null,m=[],e)for(B=e[C],n.writeString(C),n.writeInt(t(B)),n.writeInt(u),n.writeInt(B.length),m=m.concat(B),C==="head"&&(s=u),u+=B.length;u%4;)m.push(0),u++;return n.write(m),r=2981146554-t(n.data),n.pos=s+8,n.writeUInt32(r),n.data},t=function(e){var r,n,i,a;for(e=f1.call(e);e.length%4;)e.push(0);for(i=new hi(e),n=0,r=0,a=e.length;r<a;r=r+=4)n+=i.readUInt32();return 4294967295&n},A})(),nQ={}.hasOwnProperty,un=function(t,A){for(var e in A)nQ.call(A,e)&&(t[e]=A[e]);function r(){this.constructor=t}return r.prototype=A.prototype,t.prototype=new r,t.__super__=A.prototype,t};Wr=(function(){function t(A){var e;this.file=A,e=this.file.directory.tables[this.tag],this.exists=!!e,e&&(this.offset=e.offset,this.length=e.length,this.parse(this.file.contents))}return t.prototype.parse=function(){},t.prototype.encode=function(){},t.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},t})();var iQ=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return un(t,Wr),t.prototype.tag="head",t.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.revision=A.readInt(),this.checkSumAdjustment=A.readInt(),this.magicNumber=A.readInt(),this.flags=A.readShort(),this.unitsPerEm=A.readShort(),this.created=A.readLongLong(),this.modified=A.readLongLong(),this.xMin=A.readShort(),this.yMin=A.readShort(),this.xMax=A.readShort(),this.yMax=A.readShort(),this.macStyle=A.readShort(),this.lowestRecPPEM=A.readShort(),this.fontDirectionHint=A.readShort(),this.indexToLocFormat=A.readShort(),this.glyphDataFormat=A.readShort()},t.prototype.encode=function(A){var e;return(e=new hi).writeInt(this.version),e.writeInt(this.revision),e.writeInt(this.checkSumAdjustment),e.writeInt(this.magicNumber),e.writeShort(this.flags),e.writeShort(this.unitsPerEm),e.writeLongLong(this.created),e.writeLongLong(this.modified),e.writeShort(this.xMin),e.writeShort(this.yMin),e.writeShort(this.xMax),e.writeShort(this.yMax),e.writeShort(this.macStyle),e.writeShort(this.lowestRecPPEM),e.writeShort(this.fontDirectionHint),e.writeShort(A),e.writeShort(this.glyphDataFormat),e.data},t})(),Yg=(function(){function t(A,e){var r,n,i,a,s,l,u,f,p,B,d,m,C,E,v,H,P;switch(this.platformID=A.readUInt16(),this.encodingID=A.readShort(),this.offset=e+A.readInt(),p=A.pos,A.pos=this.offset,this.format=A.readUInt16(),this.length=A.readUInt16(),this.language=A.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(l=0;l<256;++l)this.codeMap[l]=A.readByte();break;case 4:for(d=A.readUInt16(),B=d/2,A.pos+=6,i=(function(){var N,j;for(j=[],l=N=0;0<=B?N<B:N>B;l=0<=B?++N:--N)j.push(A.readUInt16());return j})(),A.pos+=2,C=(function(){var N,j;for(j=[],l=N=0;0<=B?N<B:N>B;l=0<=B?++N:--N)j.push(A.readUInt16());return j})(),u=(function(){var N,j;for(j=[],l=N=0;0<=B?N<B:N>B;l=0<=B?++N:--N)j.push(A.readUInt16());return j})(),f=(function(){var N,j;for(j=[],l=N=0;0<=B?N<B:N>B;l=0<=B?++N:--N)j.push(A.readUInt16());return j})(),n=(this.length-A.pos+this.offset)/2,s=(function(){var N,j;for(j=[],l=N=0;0<=n?N<n:N>n;l=0<=n?++N:--N)j.push(A.readUInt16());return j})(),l=v=0,P=i.length;v<P;l=++v)for(E=i[l],r=H=m=C[l];m<=E?H<=E:H>=E;r=m<=E?++H:--H)f[l]===0?a=r+u[l]:(a=s[f[l]/2+(r-m)-(B-l)]||0)!==0&&(a+=u[l]),this.codeMap[r]=65535&a}A.pos=p}return t.encode=function(A,e){var r,n,i,a,s,l,u,f,p,B,d,m,C,E,v,H,P,N,j,J,X,K,L,q,U,S,G,V,nA,oA,lA,eA,uA,vA,hA,F,k,M,W,$,rA,dA,fA,gA,sA,yA;switch(V=new hi,a=Object.keys(A).sort(function(xA,cA){return xA-cA}),e){case"macroman":for(C=0,E=(function(){var xA=[];for(m=0;m<256;++m)xA.push(0);return xA})(),H={0:0},i={},nA=0,uA=a.length;nA<uA;nA++)H[fA=A[n=a[nA]]]==null&&(H[fA]=++C),i[n]={old:A[n],new:H[A[n]]},E[n]=H[A[n]];return V.writeUInt16(1),V.writeUInt16(0),V.writeUInt32(12),V.writeUInt16(0),V.writeUInt16(262),V.writeUInt16(0),V.write(E),{charMap:i,subtable:V.data,maxGlyphID:C+1};case"unicode":for(S=[],p=[],P=0,H={},r={},v=u=null,oA=0,vA=a.length;oA<vA;oA++)H[j=A[n=a[oA]]]==null&&(H[j]=++P),r[n]={old:j,new:H[j]},s=H[j]-n,v!=null&&s===u||(v&&p.push(v),S.push(n),u=s),v=n;for(v&&p.push(v),p.push(65535),S.push(65535),q=2*(L=S.length),K=2*Math.pow(Math.log(L)/Math.LN2,2),B=Math.log(K/2)/Math.LN2,X=2*L-K,l=[],J=[],d=[],m=lA=0,hA=S.length;lA<hA;m=++lA){if(U=S[m],f=p[m],U===65535){l.push(0),J.push(0);break}if(U-(G=r[U].new)>=32768)for(l.push(0),J.push(2*(d.length+L-m)),n=eA=U;U<=f?eA<=f:eA>=f;n=U<=f?++eA:--eA)d.push(r[n].new);else l.push(G-U),J.push(0)}for(V.writeUInt16(3),V.writeUInt16(1),V.writeUInt32(12),V.writeUInt16(4),V.writeUInt16(16+8*L+2*d.length),V.writeUInt16(0),V.writeUInt16(q),V.writeUInt16(K),V.writeUInt16(B),V.writeUInt16(X),rA=0,F=p.length;rA<F;rA++)n=p[rA],V.writeUInt16(n);for(V.writeUInt16(0),dA=0,k=S.length;dA<k;dA++)n=S[dA],V.writeUInt16(n);for(gA=0,M=l.length;gA<M;gA++)s=l[gA],V.writeUInt16(s);for(sA=0,W=J.length;sA<W;sA++)N=J[sA],V.writeUInt16(N);for(yA=0,$=d.length;yA<$;yA++)C=d[yA],V.writeUInt16(C);return{charMap:r,subtable:V.data,maxGlyphID:P+1}}},t})(),u1=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return un(t,Wr),t.prototype.tag="cmap",t.prototype.parse=function(A){var e,r,n;for(A.pos=this.offset,this.version=A.readUInt16(),n=A.readUInt16(),this.tables=[],this.unicode=null,r=0;0<=n?r<n:r>n;r=0<=n?++r:--r)e=new Yg(A,this.offset),this.tables.push(e),e.isUnicode&&this.unicode==null&&(this.unicode=e);return!0},t.encode=function(A,e){var r,n;return e==null&&(e="macroman"),r=Yg.encode(A,e),(n=new hi).writeUInt16(0),n.writeUInt16(1),r.table=n.data.concat(r.subtable),r},t})(),aQ=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return un(t,Wr),t.prototype.tag="hhea",t.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.ascender=A.readShort(),this.decender=A.readShort(),this.lineGap=A.readShort(),this.advanceWidthMax=A.readShort(),this.minLeftSideBearing=A.readShort(),this.minRightSideBearing=A.readShort(),this.xMaxExtent=A.readShort(),this.caretSlopeRise=A.readShort(),this.caretSlopeRun=A.readShort(),this.caretOffset=A.readShort(),A.pos+=8,this.metricDataFormat=A.readShort(),this.numberOfMetrics=A.readUInt16()},t})(),sQ=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return un(t,Wr),t.prototype.tag="OS/2",t.prototype.parse=function(A){if(A.pos=this.offset,this.version=A.readUInt16(),this.averageCharWidth=A.readShort(),this.weightClass=A.readUInt16(),this.widthClass=A.readUInt16(),this.type=A.readShort(),this.ySubscriptXSize=A.readShort(),this.ySubscriptYSize=A.readShort(),this.ySubscriptXOffset=A.readShort(),this.ySubscriptYOffset=A.readShort(),this.ySuperscriptXSize=A.readShort(),this.ySuperscriptYSize=A.readShort(),this.ySuperscriptXOffset=A.readShort(),this.ySuperscriptYOffset=A.readShort(),this.yStrikeoutSize=A.readShort(),this.yStrikeoutPosition=A.readShort(),this.familyClass=A.readShort(),this.panose=(function(){var e,r;for(r=[],e=0;e<10;++e)r.push(A.readByte());return r})(),this.charRange=(function(){var e,r;for(r=[],e=0;e<4;++e)r.push(A.readInt());return r})(),this.vendorID=A.readString(4),this.selection=A.readShort(),this.firstCharIndex=A.readShort(),this.lastCharIndex=A.readShort(),this.version>0&&(this.ascent=A.readShort(),this.descent=A.readShort(),this.lineGap=A.readShort(),this.winAscent=A.readShort(),this.winDescent=A.readShort(),this.codePageRange=(function(){var e,r;for(r=[],e=0;e<2;e=++e)r.push(A.readInt());return r})(),this.version>1))return this.xHeight=A.readShort(),this.capHeight=A.readShort(),this.defaultChar=A.readShort(),this.breakChar=A.readShort(),this.maxContext=A.readShort()},t})(),oQ=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return un(t,Wr),t.prototype.tag="post",t.prototype.parse=function(A){var e,r,n;switch(A.pos=this.offset,this.format=A.readInt(),this.italicAngle=A.readInt(),this.underlinePosition=A.readShort(),this.underlineThickness=A.readShort(),this.isFixedPitch=A.readInt(),this.minMemType42=A.readInt(),this.maxMemType42=A.readInt(),this.minMemType1=A.readInt(),this.maxMemType1=A.readInt(),this.format){case 65536:case 196608:break;case 131072:var i;for(r=A.readUInt16(),this.glyphNameIndex=[],i=0;0<=r?i<r:i>r;i=0<=r?++i:--i)this.glyphNameIndex.push(A.readUInt16());for(this.names=[],n=[];A.pos<this.offset+this.length;)e=A.readByte(),n.push(this.names.push(A.readString(e)));return n;case 151552:return r=A.readUInt16(),this.offsets=A.read(r);case 262144:return this.map=(function(){var a,s,l;for(l=[],i=a=0,s=this.file.maxp.numGlyphs;0<=s?a<s:a>s;i=0<=s?++a:--a)l.push(A.readUInt32());return l}).call(this)}},t})(),lQ=function(t,A){this.raw=t,this.length=t.length,this.platformID=A.platformID,this.encodingID=A.encodingID,this.languageID=A.languageID},cQ=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return un(t,Wr),t.prototype.tag="name",t.prototype.parse=function(A){var e,r,n,i,a,s,l,u,f,p,B;for(A.pos=this.offset,A.readShort(),e=A.readShort(),s=A.readShort(),r=[],i=0;0<=e?i<e:i>e;i=0<=e?++i:--i)r.push({platformID:A.readShort(),encodingID:A.readShort(),languageID:A.readShort(),nameID:A.readShort(),length:A.readShort(),offset:this.offset+s+A.readShort()});for(l={},i=f=0,p=r.length;f<p;i=++f)n=r[i],A.pos=n.offset,u=A.readString(n.length),a=new lQ(u,n),l[B=n.nameID]==null&&(l[B]=[]),l[n.nameID].push(a);this.strings=l,this.copyright=l[0],this.fontFamily=l[1],this.fontSubfamily=l[2],this.uniqueSubfamily=l[3],this.fontName=l[4],this.version=l[5];try{this.postscriptName=l[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=l[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=l[7],this.manufacturer=l[8],this.designer=l[9],this.description=l[10],this.vendorUrl=l[11],this.designerUrl=l[12],this.license=l[13],this.licenseUrl=l[14],this.preferredFamily=l[15],this.preferredSubfamily=l[17],this.compatibleFull=l[18],this.sampleText=l[19]},t})(),uQ=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return un(t,Wr),t.prototype.tag="maxp",t.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.numGlyphs=A.readUInt16(),this.maxPoints=A.readUInt16(),this.maxContours=A.readUInt16(),this.maxCompositePoints=A.readUInt16(),this.maxComponentContours=A.readUInt16(),this.maxZones=A.readUInt16(),this.maxTwilightPoints=A.readUInt16(),this.maxStorage=A.readUInt16(),this.maxFunctionDefs=A.readUInt16(),this.maxInstructionDefs=A.readUInt16(),this.maxStackElements=A.readUInt16(),this.maxSizeOfInstructions=A.readUInt16(),this.maxComponentElements=A.readUInt16(),this.maxComponentDepth=A.readUInt16()},t})(),fQ=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return un(t,Wr),t.prototype.tag="hmtx",t.prototype.parse=function(A){var e,r,n,i,a,s,l;for(A.pos=this.offset,this.metrics=[],e=0,s=this.file.hhea.numberOfMetrics;0<=s?e<s:e>s;e=0<=s?++e:--e)this.metrics.push({advance:A.readUInt16(),lsb:A.readInt16()});for(n=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=(function(){var u,f;for(f=[],e=u=0;0<=n?u<n:u>n;e=0<=n?++u:--u)f.push(A.readInt16());return f})(),this.widths=(function(){var u,f,p,B;for(B=[],u=0,f=(p=this.metrics).length;u<f;u++)i=p[u],B.push(i.advance);return B}).call(this),r=this.widths[this.widths.length-1],l=[],e=a=0;0<=n?a<n:a>n;e=0<=n?++a:--a)l.push(this.widths.push(r));return l},t.prototype.forGlyph=function(A){return A in this.metrics?this.metrics[A]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[A-this.metrics.length]}},t})(),f1=[].slice,hQ=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return un(t,Wr),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(A){var e,r,n,i,a,s,l,u,f,p;return A in this.cache?this.cache[A]:(i=this.file.loca,e=this.file.contents,r=i.indexOf(A),(n=i.lengthOf(A))===0?this.cache[A]=null:(e.pos=this.offset+r,a=(s=new hi(e.read(n))).readShort(),u=s.readShort(),p=s.readShort(),l=s.readShort(),f=s.readShort(),this.cache[A]=a===-1?new gQ(s,u,p,l,f):new dQ(s,a,u,p,l,f),this.cache[A]))},t.prototype.encode=function(A,e,r){var n,i,a,s,l;for(a=[],i=[],s=0,l=e.length;s<l;s++)n=A[e[s]],i.push(a.length),n&&(a=a.concat(n.encode(r)));return i.push(a.length),{table:a,offsets:i}},t})(),dQ=(function(){function t(A,e,r,n,i,a){this.raw=A,this.numberOfContours=e,this.xMin=r,this.yMin=n,this.xMax=i,this.yMax=a,this.compound=!1}return t.prototype.encode=function(){return this.raw.data},t})(),gQ=(function(){function t(A,e,r,n,i){var a,s;for(this.raw=A,this.xMin=e,this.yMin=r,this.xMax=n,this.yMax=i,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],a=this.raw;s=a.readShort(),this.glyphOffsets.push(a.pos),this.glyphIDs.push(a.readUInt16()),32&s;)a.pos+=1&s?4:2,128&s?a.pos+=8:64&s?a.pos+=4:8&s&&(a.pos+=2)}return t.prototype.encode=function(){var A,e,r;for(e=new hi(f1.call(this.raw.data)),A=0,r=this.glyphIDs.length;A<r;++A)e.pos=this.glyphOffsets[A];return e.data},t})(),pQ=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return un(t,Wr),t.prototype.tag="loca",t.prototype.parse=function(A){var e,r;return A.pos=this.offset,e=this.file.head.indexToLocFormat,this.offsets=e===0?(function(){var n,i;for(i=[],r=0,n=this.length;r<n;r+=2)i.push(2*A.readUInt16());return i}).call(this):(function(){var n,i;for(i=[],r=0,n=this.length;r<n;r+=4)i.push(A.readUInt32());return i}).call(this)},t.prototype.indexOf=function(A){return this.offsets[A]},t.prototype.lengthOf=function(A){return this.offsets[A+1]-this.offsets[A]},t.prototype.encode=function(A,e){for(var r=new Uint32Array(this.offsets.length),n=0,i=0,a=0;a<r.length;++a)if(r[a]=n,i<e.length&&e[i]==a){++i,r[a]=n;var s=this.offsets[a],l=this.offsets[a+1]-s;l>0&&(n+=l)}for(var u=new Array(4*r.length),f=0;f<r.length;++f)u[4*f+3]=255&r[f],u[4*f+2]=(65280&r[f])>>8,u[4*f+1]=(16711680&r[f])>>16,u[4*f]=(4278190080&r[f])>>24;return u},t})(),BQ=(function(){function t(A){this.font=A,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var A,e,r,n,i;for(e in n=this.font.cmap.tables[0].codeMap,A={},i=this.subset)r=i[e],A[e]=n[r];return A},t.prototype.glyphsFor=function(A){var e,r,n,i,a,s,l;for(n={},a=0,s=A.length;a<s;a++)n[i=A[a]]=this.font.glyf.glyphFor(i);for(i in e=[],n)(r=n[i])!=null&&r.compound&&e.push.apply(e,r.glyphIDs);if(e.length>0)for(i in l=this.glyphsFor(e))r=l[i],n[i]=r;return n},t.prototype.encode=function(A,e){var r,n,i,a,s,l,u,f,p,B,d,m,C,E,v;for(n in r=u1.encode(this.generateCmap(),"unicode"),a=this.glyphsFor(A),d={0:0},v=r.charMap)d[(l=v[n]).old]=l.new;for(m in B=r.maxGlyphID,a)m in d||(d[m]=B++);return f=(function(H){var P,N;for(P in N={},H)N[H[P]]=P;return N})(d),p=Object.keys(f).sort(function(H,P){return H-P}),C=(function(){var H,P,N;for(N=[],H=0,P=p.length;H<P;H++)s=p[H],N.push(f[s]);return N})(),i=this.font.glyf.encode(a,C,d),u=this.font.loca.encode(i.offsets,C),E={cmap:this.font.cmap.raw(),glyf:i.table,loca:u,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(e)},this.font.os2.exists&&(E["OS/2"]=this.font.os2.raw()),this.font.directory.encode(E)},t})();qA.API.PDFObject=(function(){var t;function A(){}return t=function(e,r){return(Array(r+1).join("0")+e).slice(-r)},A.convert=function(e){var r,n,i,a;if(Array.isArray(e))return"["+(function(){var s,l,u;for(u=[],s=0,l=e.length;s<l;s++)r=e[s],u.push(A.convert(r));return u})().join(" ")+"]";if(typeof e=="string")return"/"+e;if(e!=null&&e.isString)return"("+e+")";if(e instanceof Date)return"(D:"+t(e.getUTCFullYear(),4)+t(e.getUTCMonth(),2)+t(e.getUTCDate(),2)+t(e.getUTCHours(),2)+t(e.getUTCMinutes(),2)+t(e.getUTCSeconds(),2)+"Z)";if({}.toString.call(e)==="[object Object]"){for(n in i=["<<"],e)a=e[n],i.push("/"+n+" "+A.convert(a));return i.push(">>"),i.join(`
`)}return""+e},A})();const wQ={style:{"max-height":"calc(100vh - 200px)","overflow-y":"auto",display:"flex","justify-content":"center"}},mQ={class:"dialog-footer"},vQ=mr({__name:"index",setup(t,{expose:A}){const e=YA(!1),r=YA(),n=YA(),i=YA(!1),a=f=>{if(i.value=!0,e.value=!0,!f)return;const p=f.cloneNode(!0),B=p.querySelectorAll("img"),d=Array.from(B).map(m=>(!m.src.startsWith(window.origin)&&m.src.startsWith("http")&&(m.src=`${window.MaxKB.prefix}/api/resource_proxy?url=${encodeURIComponent(m.src)}`),m.setAttribute("onerror",""),new Promise(C=>{if(m.complete){C({img:m,success:m.naturalWidth>0});return}m.onload=()=>C({img:m,success:!0}),m.onerror=()=>C({img:m,success:!1})})));Promise.all(d).finally(()=>{setTimeout(()=>{Vi(()=>{n.value.appendChild(p),i5(p,{pixelRatio:1,quality:1,onImageErrorHandler:(m,C,E,v,H)=>{console.log(m,C,E,v,H)}}).then(m=>fetch(m).then(C=>C.text()).then(C=>{const v=new DOMParser().parseFromString(C,"image/svg+xml");n.value.style.display="none";const H=v.documentElement;r.value.appendChild(H),r.value.style.height=H.scrollHeight+"px"})).finally(()=>{e.value=!1}).catch(m=>{e.value=!1})})},1)})},s=()=>{e.value=!0,setTimeout(()=>{Vi(()=>{Af(r.value,{logging:!1}).then(f=>{const p=new qA("p","mm","a4"),B=f.toDataURL("image/jpeg",1),d=p.internal.pageSize.getWidth(),m=p.internal.pageSize.getHeight(),C=d,E=f.height*C/f.width;p.addImage(B,"jpeg",0,0,C,E);let v=E,H=0;for(v-=m;v>=0;)H=v-E,p.addPage(),p.addImage(B,"jpeg",0,H,C,E),v-=m;return p.save("导出文档.pdf"),"ok"}).finally(()=>{e.value=!1})})})},l=()=>{e.value=!0,setTimeout(()=>{Vi(()=>{Af(r.value,{logging:!1}).then(f=>{const p=f.toDataURL("image/jpeg",1),B=document.createElement("a");return B.download="webpage-screenshot.jpeg",B.href=p,document.body.appendChild(B),B.click(),"ok"}).finally(()=>{e.value=!1})})},1)},u=()=>{i.value=!1};return A({open:a,close:u}),(f,p)=>{const B=TA("el-button"),d=TA("el-dialog"),m=Gl("loading");return $A(),_e(d,{modelValue:i.value,"onUpdate:modelValue":p[1]||(p[1]=C=>i.value=C),title:f.$t("chat.preview"),style:{overflow:"auto"},width:"60%","before-close":u,"destroy-on-close":"","align-center":""},{footer:EA(()=>[LA("span",mQ,[FA(B,{loading:e.value,onClick:s},{default:EA(()=>[xt(oe(f.$t("chat.exportPDF")),1)]),_:1},8,["loading"]),FA(B,{loading:e.value,type:"primary",onClick:p[0]||(p[0]=()=>{e.value=!0,l()})},{default:EA(()=>[xt(oe(f.$t("chat.exportImg")),1)]),_:1},8,["loading"])])]),default:EA(()=>[Ar(($A(),vt("div",wQ,[LA("div",{ref_key:"cloneContainerRef",ref:n,style:{width:"100%"}},null,512),LA("div",{ref_key:"svgContainerRef",ref:r},null,512)])),[[m,e.value]])]),_:1},8,["modelValue","title"])}}}),CQ={class:"flex h-full w-full"},bQ={class:"chat-pc__left"},yQ={class:"user-info p-16 cursor"},FQ={class:"flex align-center"},QQ={class:"flex align-center p-8"},UQ={class:"mr-8 flex align-center"},xQ={class:"medium mb-4"},EQ={class:"color-secondary"},LQ={style:{flex:"1",width:"calc(100% - var(--execution-detail-panel-width))"}},_Q={class:"p-16-24 flex-between"},IQ={class:"ellipsis-1",style:{width:"66%"}},SQ={key:0,class:"flex align-center"},HQ={key:1,class:"lighter"},NQ={class:"right-height chat-width"},kQ={class:"execution-detail-panel",resizable:!1,collapsible:""},TQ={class:"p-16 flex-between border-b"},DQ=["title"],OQ={class:"flex align-center"},PQ={key:0,class:"mr-4"},RQ=["href","title"],MQ={class:"execution-detail-content"},KQ=mr({__name:"index",props:{application_profile:{},applicationAvailable:{type:Boolean}},setup(t){AB();const A=YA(),{common:e,chatUser:r}=di(),n=Ks(),i=()=>{var sA;(sA=A.value)==null||sA.open(document.getElementById("chatListId"))},a=df(),s=YA(!1),l=YA(!1);sB(()=>e.device,()=>{e.isMobile()&&(l.value=!1)});const u=()=>{r.logout().then(()=>{n.push({name:"login",query:a.query})})},f=YA(),p=()=>{var sA;(sA=f.value)==null||sA.open()},B=sA=>{Pt.resetCurrentPassword(sA).then(()=>{n.push({name:"login"})})},d=on(()=>({mobile:e.isMobile(),hideLeft:!s.value,openLeft:s.value})),m={id:"new",abstract:mt("chat.createChat")},C=t,E=YA(),v=YA(!1),H=YA(!1),P=on({get:()=>C.application_profile,set:sA=>{}}),N=YA([]),j=YA({current_page:1,page_size:20,total:0}),J=YA([]),X=YA("new"),K=YA(mt("chat.createChat"));function L(sA,yA){const xA=N.value.find(cA=>cA.id==sA);xA&&(xA.abstract=yA)}function q(sA){Pt.deleteChat(sA.id).then(()=>{X.value===sA.id&&(X.value="new",K.value=mt("chat.createChat"),j.value.current_page=1,j.value.total=0,J.value=[]),N.value=N.value.filter(yA=>yA.id!==sA.id)})}function U(){Pt.clearChat(H).then(()=>{X.value="new",K.value=mt("chat.createChat"),j.value.current_page=1,j.value.total=0,J.value=[],V()})}function S(sA){if(X.value!=="new"&&sA.scrollTop===0&&j.value.total>J.value.length){const yA=sA.dialogScrollbar.offsetHeight;j.value.current_page+=1,nA().then(()=>{sA.scrollDiv.setScrollTop(sA.dialogScrollbar.offsetHeight-yA)})}}function G(){N.value.some(sA=>sA.id==="new")?(j.value.current_page=1,j.value.total=0,J.value=[]):(j.value.current_page=1,j.value.total=0,J.value=[],N.value.unshift(m)),gA(),X.value="new",K.value=mt("chat.createChat"),e.isMobile()&&(s.value=!1)}function V(sA){const yA={current_page:1,page_size:20};Pt.pageChat(yA.current_page,yA.page_size,H).then(xA=>{var cA,R;N.value=xA.data.records,sA?K.value=(R=(cA=N.value)==null?void 0:cA[0])==null?void 0:R.abstract:(j.value.current_page=1,j.value.total=0,J.value=[],X.value="new",K.value=mt("chat.createChat"))})}function nA(){return Pt.pageChatRecord(X.value,j.value.current_page,j.value.page_size,v).then(sA=>{j.value.total=sA.data.total;const yA=sA.data.records;yA.map(xA=>{xA.write_ed=!0,xA.record_id=xA.id}),J.value=[...yA,...J.value].sort((xA,cA)=>xA.create_time.localeCompare(cA.create_time)),j.value.current_page===1&&Vi(()=>{E.value.setScrollBottom()})})}const oA=sA=>{sA.id!==X.value&&(j.value.current_page=1,j.value.total=0,J.value=[],X.value=sA.id,K.value=sA.abstract,gA(),X.value!=="new"&&(nA(),window.speechSynthesis.paused&&window.speechSynthesis.speaking&&(window.speechSynthesis.resume(),Vi(()=>{window.speechSynthesis.cancel()})))),e.isMobile()&&(s.value=!1)};function lA(sA){X.value=sA,V(!0)}async function eA(){const sA=`${X.value}.md`,yA=J.value.map(cA=>`# ${cA.problem_text}
${cA.answer_text}
`).join(`
`),xA=new Blob([yA],{type:"text/markdown;charset=utf-8"});Sh.saveAs(xA,sA)}async function uA(){const sA=`${X.value}.html`,yA=J.value.map(R=>`# ${R.problem_text}
${R.answer_text}
`).join(`
`),xA=Oe(yA),cA=new Blob([xA],{type:"text/html;charset=utf-8"});Sh.saveAs(cA,sA)}const vA=()=>{V()};gf(()=>{vA()});const hA=YA(0),F=YA(""),k=YA(""),M=YA(!1),W=YA([]),$=YA();async function rA(sA){if(hA.value=400,F.value=mt("chat.executionDetails.title"),k.value="executionDetail",sA.execution_details)W.value=Fh.cloneDeep(sA.execution_details);else{const yA=await Pt.getChatRecord(sA.chat_id,sA.record_id,M);W.value=Fh.cloneDeep(yA.data.execution_details)}}async function dA(sA){F.value=mt("chat.KnowledgeSource.title"),k.value="knowledgeSource",$.value=sA,hA.value=400}function fA(sA,yA){F.value=yA.document_name,k.value="paragraphDocument",hA.value=400,$.value=yA}function gA(){hA.value=0}return(sA,yA)=>{var WA,ye,re,ne,Ee,ue,GA,ZA,VA,ke,Fe,OA,ie,Ie,XA,ve,ae;const xA=TA("el-avatar"),cA=TA("AppIcon"),R=TA("el-dropdown-item"),me=TA("el-dropdown-menu"),le=TA("el-dropdown"),zA=TA("el-icon"),QA=TA("el-button"),KA=TA("AiChat"),IA=TA("Close"),ce=Gl("loading");return Ar(($A(),vt("div",{class:pf(["chat-pc",d.value]),style:Sn({"--el-color-primary":(ye=(WA=P.value)==null?void 0:WA.custom_theme)==null?void 0:ye.theme_color,"--el-color-primary-light-9":we(Hn)(((ne=(re=P.value)==null?void 0:re.custom_theme)==null?void 0:ne.theme_color)||"#3370FF",.1),"--el-color-primary-light-6":we(Hn)(((ue=(Ee=P.value)==null?void 0:Ee.custom_theme)==null?void 0:ue.theme_color)||"#3370FF",.4),"--el-color-primary-light-06":we(Hn)(((ZA=(GA=P.value)==null?void 0:GA.custom_theme)==null?void 0:ZA.theme_color)||"#3370FF",.04)})},[LA("div",CQ,[LA("div",bQ,[FA(Bf,{"application-detail":P.value,"chat-log-data":N.value,"left-loading":H.value,currentChatId:X.value,onNewChat:G,onClickLog:oA,onDeleteLog:q,onClearChat:U,onRefreshFieldTitle:L,isPcCollapse:l.value},{default:EA(()=>{var Me;return[LA("div",yQ,[!((Me=we(r).chat_profile)!=null&&Me.authentication)||we(r).chat_profile.authentication_type==="password"?($A(),_e(xA,{key:0,size:32},{default:EA(()=>[...yA[2]||(yA[2]=[LA("img",{src:oi,style:{width:"54%"},alt:""},null,-1)])]),_:1})):($A(),_e(le,{key:1,trigger:"click",type:"primary",class:"w-full"},{dropdown:EA(()=>[FA(me,{style:{"min-width":"260px"}},{default:EA(()=>{var Xe,Se,ee,Ue;return[LA("div",QQ,[LA("div",UQ,[FA(xA,{size:40},{default:EA(()=>[...yA[4]||(yA[4]=[LA("img",{src:oi,style:{width:"54%"},alt:""},null,-1)])]),_:1})]),LA("div",null,[LA("h4",xQ,oe((Xe=we(r).chatUserProfile)==null?void 0:Xe.nick_name),1),LA("div",EQ,oe(`${we(mt)("common.username")}: ${(Se=we(r).chatUserProfile)==null?void 0:Se.username}`),1)])]),((ee=we(r).chatUserProfile)==null?void 0:ee.source)==="LOCAL"?($A(),_e(R,{key:0,class:"border-t",style:{"padding-top":"8px","padding-bottom":"8px"},onClick:p},{default:EA(()=>[FA(cA,{iconName:"app-key",class:"color-secondary"}),xt(" "+oe(sA.$t("views.login.resetPassword")),1)]),_:1})):It("",!0),((Ue=we(r).chatUserProfile)==null?void 0:Ue.source)==="LOCAL"?($A(),_e(R,{key:1,class:"border-t",style:{"padding-top":"8px","padding-bottom":"8px"},onClick:u},{default:EA(()=>[FA(cA,{iconName:"app-export",class:"color-secondary"}),xt(" "+oe(sA.$t("layout.logout")),1)]),_:1})):It("",!0)]}),_:1})]),default:EA(()=>{var Xe;return[LA("div",FQ,[FA(xA,{size:32},{default:EA(()=>[...yA[3]||(yA[3]=[LA("img",{src:oi,style:{width:"54%"},alt:""},null,-1)])]),_:1}),Ar(LA("span",{class:"ml-8 color-text-primary"},oe((Xe=we(r).chatUserProfile)==null?void 0:Xe.nick_name),513),[[_n,!l.value]])])]}),_:1}))])]}),_:1},8,["application-detail","chat-log-data","left-loading","currentChatId","isPcCollapse"]),we(e).isMobile()?It("",!0):($A(),_e(QA,{key:0,class:"pc-collapse cursor",circle:"",onClick:yA[0]||(yA[0]=Me=>l.value=!l.value)},{default:EA(()=>[FA(zA,null,{default:EA(()=>[($A(),_e(Kl(l.value?"ArrowRightBold":"ArrowLeftBold")))]),_:1})]),_:1}))]),LA("div",{class:"chat-pc__right chat-background",style:Sn({backgroundImage:`url(${(VA=P.value)==null?void 0:VA.chat_background})`,"--execution-detail-panel-width":hA.value+"px"})},[LA("div",LQ,[LA("div",_Q,[LA("h4",IQ,oe(K.value),1),J.value.length?($A(),vt("span",SQ,[j.value.total?($A(),_e(cA,{key:0,iconName:"app-chat-record",class:"color-secondary mr-8",style:{"font-size":"16px"}})):It("",!0),j.value.total?($A(),vt("span",HQ,oe(j.value.total)+" "+oe(sA.$t("chat.question_count")),1)):It("",!0),FA(le,{class:"ml-8"},{dropdown:EA(()=>[FA(me,null,{default:EA(()=>[FA(R,{onClick:eA},{default:EA(()=>[xt(oe(sA.$t("common.export"))+" Markdown",1)]),_:1}),FA(R,{onClick:uA},{default:EA(()=>[xt(oe(sA.$t("common.export"))+" HTML",1)]),_:1}),FA(R,{onClick:i},{default:EA(()=>[xt(oe(sA.$t("common.export"))+" PDF",1)]),_:1})]),_:1})]),default:EA(()=>[FA(cA,{iconName:"app-export",class:"cursor",title:sA.$t("chat.exportRecords")},null,8,["title"])]),_:1})])):It("",!0)]),LA("div",NQ,[FA(KA,{ref_key:"AiChatRef",ref:E,applicationDetails:P.value,"onUpdate:applicationDetails":yA[1]||(yA[1]=Me=>P.value=Me),available:t.applicationAvailable,type:"ai-chat",appId:(ke=P.value)==null?void 0:ke.id,record:J.value,chatId:X.value,executionIsRightPanel:"",onRefresh:lA,onScroll:S,onOpenExecutionDetail:rA,onOpenParagraph:dA,onOpenParagraphDocument:fA},null,8,["applicationDetails","available","appId","record","chatId"])])]),LA("div",kQ,[LA("div",TQ,[LA("h4",{class:"medium ellipsis",title:F.value},oe(F.value),9,DQ),LA("div",OQ,[k.value==="paragraphDocument"?($A(),vt("span",PQ,[LA("a",{href:we(oB)((OA=(Fe=$.value)==null?void 0:Fe.meta)==null?void 0:OA.source_file_id)||((Ie=(ie=$.value)==null?void 0:ie.meta)==null?void 0:Ie.source_url),target:"_blank",class:"ellipsis-1",title:(ve=(XA=$.value)==null?void 0:XA.document_name)==null?void 0:ve.trim()},[FA(QA,{text:""},{default:EA(()=>[FA(cA,{iconName:"app-pdf-export",class:"cursor"})]),_:1})],8,RQ)])):It("",!0),LA("span",null,[FA(QA,{text:"",onClick:gA},{default:EA(()=>[FA(zA,{size:"20"},{default:EA(()=>[FA(IA)]),_:1})]),_:1})])])]),Ar(($A(),vt("div",MQ,[k.value==="knowledgeSource"?($A(),_e(lB,{key:0,detail:$.value},null,8,["detail"])):It("",!0),k.value==="executionDetail"?($A(),_e(cB,{key:1,detail:W.value,appType:(ae=P.value)==null?void 0:ae.type},null,8,["detail","appType"])):($A(),_e(uB,{key:2,detail:$.value},null,8,["detail"]))])),[[ce,M.value]])])],4)]),FA(Zg,{ref_key:"resetPasswordRef",ref:f,emitConfirm:"",onConfirm:B},null,512),FA(vQ,{ref_key:"pdfExportRef",ref:A},null,512)],6)),[[ce,v.value]])}}}),GQ=$i(KQ,[["__scopeId","data-v-ee98a6a6"]]),VQ=Object.freeze(Object.defineProperty({__proto__:null,default:GQ},Symbol.toStringTag,{value:"Module"})),jQ=mr({__name:"index",setup(t){const{locale:A}=fB({useScope:"global"}),e=df(),{chatUser:r,common:n}=di(),i=Object.assign({"/src/views/chat/auth/index.vue":mB,"/src/views/chat/embed/index.vue":r2,"/src/views/chat/index.vue":gB,"/src/views/chat/mobile/index.vue":x2,"/src/views/chat/no-service/index.vue":S2,"/src/views/chat/pc/index.vue":VQ,"/src/views/chat/user-login/index.vue":eB}),{query:{mode:a}}=e,s=on(()=>{let u="";r.application?!a||a==="pc"?u=n.isMobile()?"mobile":"pc":u=a:u="no-service";const f=`/src/views/chat/${u}/index.vue`;return i[f].default}),l=YA(!0);return hB(()=>{A.value=r.getLanguage()}),(u,f)=>($A(),_e(Kl(s.value),{applicationAvailable:l.value,application_profile:we(r).application,key:we(e).fullPath},null,8,["applicationAvailable","application_profile"]))}});export{jQ as default};