PageSourceSearch

https://mypublicinbox.com/static/js/7378.60aca653.chunk.js

js mypublicinbox.com collected 2026-10-03 22:05:14 UTC 435,703 bytes, 2 lines download raw bytes

1/*! For license information please see 7378.60aca653.chunk.js.LICENSE.txt */
2(self.webpackChunkmy_public_inbox_spa=self.webpackChunkmy_public_inbox_spa||[]).push([[7378],{94730(t,e,n){"use strict";var r=n(24994);e.A=void 0;var i=r(n(79526)),o=n(44414);e.A=(0,i.default)((0,o.jsx)("path",{d:"M11 9h2V6h3V4h-3V1h-2v3H8v2h3zm-4 9c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2m10 0c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2m-9.83-3.25.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.86-7.01L19.42 4h-.01l-1.1 2-2.76 5H8.53l-.13-.27L6.16 6l-.95-2-.94-2H1v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.13 0-.25-.11-.25-.25"}),"AddShoppingCart")},13458(t,e,n){"use strict";var r=n(24994);e.A=void 0;var i=r(n(79526)),o=n(44414);e.A=(0,i.default)((0,o.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M10 17l-3.5-3.5 1.41-1.41L10 14.17 15.18 9l1.41 1.41z"}),"CloudDone")},40233(t,e,n){"use strict";var r=n(24994);e.A=void 0;var i=r(n(79526)),o=n(44414);e.A=(0,i.default)((0,o.jsx)("path",{d:"M9.01 14H3c-.55 0-1 .45-1 1s.45 1 1 1h6.01v1.79c0 .45.54.67.85.35l2.78-2.79c.19-.2.19-.51 0-.71l-2.78-2.79c-.31-.32-.85-.09-.85.35zm5.98-2.21V10H21c.55 0 1-.45 1-1s-.45-1-1-1h-6.01V6.21c0-.45-.54-.67-.85-.35l-2.78 2.79c-.19.2-.19.51 0 .71l2.78 2.79c.31.31.85.09.85-.36"}),"CompareArrowsRounded")},7999(t,e,n){"use strict";var r=n(24994);e.A=void 0;var i=r(n(79526)),o=n(44414);e.A=(0,i.default)((0,o.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit")},76746(t,e,n){"use strict";var r=n(24994);e.A=void 0;var i=r(n(79526)),o=n(44414);e.A=(0,i.default)((0,o.jsx)("path",{d:"M14.59 8 12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"HighlightOff")},20888(t,e,n){"use strict";var r=n(24994);e.A=void 0;var i=r(n(79526)),o=n(44414);e.A=(0,i.default)((0,o.jsx)("path",{d:"M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2zm10 14.5V20H8v-3.5l4-4zm-4-5-4-4V4h8v3.5z"}),"HourglassEmpty")},54554(t,e,n){"use strict";var r=n(24994);e.A=void 0;var i=r(n(79526)),o=n(44414);e.A=(0,i.default)((0,o.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2M9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9zm9 14H6V10h12zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2"}),"LockOutlined")},13670(t,e,n){"use strict";var r=n(24994);e.A=void 0;var i=r(n(79526)),o=n(44414);e.A=(0,i.default)((0,o.jsx)("path",{d:"M21 5v14h2V5zm-4 14h2V5h-2zM14 5H2c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1M8 7.75c1.24 0 2.25 1.01 2.25 2.25S9.24 12.25 8 12.25 5.75 11.24 5.75 10 6.76 7.75 8 7.75M12.5 17h-9v-.75c0-1.5 3-2.25 4.5-2.25s4.5.75 4.5 2.25z"}),"RecentActors")},35436(t,e,n){"use strict";var r=n(24994);e.A=void 0;var i=r(n(79526)),o=n(44414);e.A=(0,i.default)((0,o.jsx)("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm2 16H5V5h11.17L19 7.83zm-7-7c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3M6 6h9v4H6z"}),"SaveOutlined")},67891(t,e,n){"use strict";var r=n(24994);e.A=void 0;var i=r(n(79526)),o=n(44414);e.A=(0,i.default)((0,o.jsx)("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star")},36080(t,e,n){"use strict";n.d(e,{A:()=>S});var r=n(98587),i=n(58168),o=n(9950),a=n(72004),s=n(88465),u=n(61676),l=n(59254),c=n(18463),h=n(41573),f=n(31506),d=n(82053),p=n(1763),m=n(423);function g(t){return(0,m.Ay)("MuiLink",t)}const v=(0,p.A)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var b=n(12703),y=n(99269);const w={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},A=t=>{let{theme:e,ownerState:n}=t;const r=(t=>w[t]||t)(n.color),i=(0,b.Yn)(e,"palette.".concat(r),!1)||n.color,o=(0,b.Yn)(e,"palette.".concat(r,"Channel"));return"vars"in e&&o?"rgba(".concat(o," / 0.4)"):(0,y.X4)(i,.4)};var x=n(44414);const L=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],N=(0,l.Ay)(d.A,{name:"MuiLink",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e["underline".concat((0,u.A)(n.underline))],"button"===n.component&&e.button]}})(t=>{let{theme:e,ownerState:n}=t;return(0,i.A)({},"none"===n.underline&&{textDecoration:"none"},"hover"===n.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===n.underline&&(0,i.A)({textDecoration:"underline"},"inherit"!==n.color&&{textDecorationColor:A({theme:e,ownerState:n})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===n.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},["&.".concat(v.focusVisible)]:{outline:"auto"}})}),S=o.forwardRef(function(t,e){const n=(0,c.b)({props:t,name:"MuiLink"}),{className:l,color:d="primary",component:p="a",onBlur:m,onFocus:v,TypographyClasses:b,underline:y="always",variant:A="inherit",sx:S}=n,P=(0,r.A)(n,L),{isFocusVisibleRef:_,onBlur:k,onFocus:I,ref:C}=(0,h.A)(),[F,O]=o.useState(!1),M=(0,f.A)(e,C),j=(0,i.A)({}
2,n,{color:d,component:p,focusVisible:F,underline:y,variant:A}),E=(t=>{const{classes:e,component:n,focusVisible:r,underline:i}=t,o={root:["root","underline".concat((0,u.A)(i)),"button"===n&&"button",r&&"focusVisible"]};return(0,s.A)(o,g,e)})(j);return(0,x.jsx)(N,(0,i.A)({color:d,className:(0,a.A)(E.root,l),classes:b,component:p,onBlur:t=>{k(t),!1===_.current&&O(!1),m&&m(t)},onFocus:t=>{I(t),!0===_.current&&O(!0),v&&v(t)},ref:M,ownerState:j,variant:A,sx:[...Object.keys(w).includes(d)?[]:[{color:d}],...Array.isArray(S)?S:[S]]},P))})},50792(t,e,n){"use strict";n.d(e,{A:()=>i});const r=n(9950).createContext({});const i=r},37885(t,e,n){"use strict";n.d(e,{A:()=>j});var r=n(98587),i=n(58168),o=n(9950),a=n(72004),s=n(88465),u=n(59254),l=n(18463),c=n(65471),h=n(44414);const f=(0,c.A)((0,h.jsx)("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),d=(0,c.A)((0,h.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");var p=n(9360),m=n(1763),g=n(423);function v(t){return(0,g.Ay)("MuiStepIcon",t)}const b=(0,m.A)("MuiStepIcon",["root","active","completed","error","text"]);var y;const w=["active","className","completed","error","icon"],A=(0,u.Ay)(p.A,{name:"MuiStepIcon",slot:"Root",overridesResolver:(t,e)=>e.root})(t=>{let{theme:e}=t;return{display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),color:(e.vars||e).palette.text.disabled,["&.".concat(b.completed)]:{color:(e.vars||e).palette.primary.main},["&.".concat(b.active)]:{color:(e.vars||e).palette.primary.main},["&.".concat(b.error)]:{color:(e.vars||e).palette.error.main}}}),x=(0,u.Ay)("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(t,e)=>e.text})(t=>{let{theme:e}=t;return{fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily}}),L=o.forwardRef(function(t,e){const n=(0,l.b)({props:t,name:"MuiStepIcon"}),{active:o=!1,className:u,completed:c=!1,error:p=!1,icon:m}=n,g=(0,r.A)(n,w),b=(0,i.A)({},n,{active:o,completed:c,error:p}),L=(t=>{const{classes:e,active:n,completed:r,error:i}=t,o={root:["root",n&&"active",r&&"completed",i&&"error"],text:["text"]};return(0,s.A)(o,v,e)})(b);if("number"===typeof m||"string"===typeof m){const t=(0,a.A)(u,L.root);return p?(0,h.jsx)(A,(0,i.A)({as:d,className:t,ref:e,ownerState:b},g)):c?(0,h.jsx)(A,(0,i.A)({as:f,className:t,ref:e,ownerState:b},g)):(0,h.jsxs)(A,(0,i.A)({className:t,ref:e,ownerState:b},g,{children:[y||(y=(0,h.jsx)("circle",{cx:"12",cy:"12",r:"12"})),(0,h.jsx)(x,{className:L.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:b,children:m})]}))}return m});var N=n(55442),S=n(50792);function P(t){return(0,g.Ay)("MuiStepLabel",t)}const _=(0,m.A)("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]),k=["children","className","componentsProps","error","icon","optional","slotProps","StepIconComponent","StepIconProps"],I=(0,u.Ay)("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.orientation]]}})(t=>{let{ownerState:e}=t;return(0,i.A)({display:"flex",alignItems:"center",["&.".concat(_.alternativeLabel)]:{flexDirection:"column"},["&.".concat(_.disabled)]:{cursor:"default"}},"vertical"===e.orientation&&{textAlign:"left",padding:"8px 0"})}),C=(0,u.Ay)("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(t,e)=>e.label})(t=>{let{theme:e}=t;return(0,i.A)({},e.typography.body2,{display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),["&.".concat(_.active)]:{color:(e.vars||e).palette.text.primary,fontWeight:500},["&.".concat(_.completed)]:{color:(e.vars||e).palette.text.primary,fontWeight:500},["&.".concat(_.alternativeLabel)]:{marginTop:16},["&.".concat(_.error)]:{color:(e.vars||e).palette.error.main}})}),F=(0,u.Ay)("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(t,e)=>e.iconContainer})(()=>({flexShrink:0,display:"flex",paddingRight:8,["&.".concat(_.alternativeLabel)]:{paddingRight:0}})),O=(0,u.Ay)("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(t,e)=>e.labelContainer})(t=>{let{theme:e}=t;return{width:"100%",color:(e.vars||e).palette.text.secondary,["&.".concat(_.alternativeLabel)]:{textAlign:"center"}}}),M=o.forwardRef(function(t,e){var n;const u=(0,l.b)({props:t,name:"MuiStepLabel"}),{children:c,className:f,componentsProps:d={},error:p=!1,icon:m,optional:g,slotProps:v={},StepIconComponent:b,StepIconProps:y}=u,w=(0,r.A)(u,k),{alternativeLabel:A,orientation:x}=o.useContext(N.A),{active:_,disabled:M,completed:j,icon:E}=o.useContext(S.A),R=m||E;let D=b;R&&!D&&(D=L);const T=(0,i.A)({},u,{active:_,alternativeLabel:A,completed:j,disabled:M,error:p,orientation:x}),B=(t=>{const{classes:e,orientation:n,active:r,completed:i,error:o,disabled:a,alternativeLabel:u}=t,l={root:["root",n,o&&"error",a&&"disabled",u&&"alternativeLabel"],label:["label",r&&"active",i&&"completed",o&&"error",a&&"disabled",u&&"alternativeLabel"],iconContainer:["iconContainer",r&&"active",i&&"completed",o&&"error",a&&"disabled",u&&"alternativeLabel"],labelContainer:["labelContainer",u&&"alternativeLabel"]};return(0,s.A)(l,P,e)})(T),q=null!=(n=v.label)?n:d.label;return(0,h.jsxs)(I,(0,i.A)({className:(0,a.A)(B.root,f),ref:e,ownerState:T},w,{children:[R||D?(0,h.jsx)(F,{className:B.iconContainer,ownerState:T,children:(0,h.jsx)(D,(0,i.A)({completed:j,active:_,error:p,icon:R},y))}):null,(0,h.jsxs)(O,{className:B.labelContainer,ownerState:T,children:[c?(0,h.jsx)(C,(0,i.A)({ownerState:T},q,{className:(0,a.A)(B.label,null==q?void 0:q.className),children:c})):null,g]})]}))});M.muiName="StepLabel";const j=M},55442(t,e,n){"use strict";n.d(e,{A:()=>i});const r=n(9950).createContext({});const i=r},69780(t,e,n){"use strict";n.d(e,{A:()=>y});var r=n(58168),i=n(98587),o=n(9950),a=n(72004),s=n(88465),u=n(89330),l=n(18463),c=n(59254),h=n(1763),f=n(423);function d(t){return(0,f.Ay)("MuiTableHead",t)}(0,h.A)("MuiTableHead",["root"]);var p=n(44414);const m=["className","component"],g=(0,c.Ay)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-header-group"}),v={variant:"head"},b="thead",y=o.forwardRef(function(t,e){const n=(0,l.b)({props:t,name:"MuiTableHead"}),{className:o,component:c=b}=n,h=(0,i.A)(n,m),f=(0,r.A)({},n,{component:c}),y=(t=>{const{classes:e}=t;return(0,s.A)({root:["root"]},d,e)})(f);return(0,p.jsx)(u.A.Provider,{value:v,children:(0,p.jsx)(g,(0,r.A)({as:c,className:(0,a.A)(y.root,o),ref:e,role:c===b?null:"rowgroup",ownerState:f},h))})})},34696(t){!function(){"use strict";var e=function(){return{escape:function(t){return t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1")},parseExtension:t,mimeType:function(e){var n=t(e).toLowerCase();return function(){var t="application/font-woff",e="image/jpeg";return{woff:t,woff2:t,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:e,jpeg:e,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"}}()[n]||""},dataAsUrl:function(t,e){return"data:"+e+";base64,"+t},isDataUrl:function(t){return-1!==t.search(/^(data:)/)},canvasToBlob:function(t){return t.toBlob?new Promise(function(e){t.toBlob(e)}
2):function(t){return new Promise(function(e){for(var n=window.atob(t.toDataURL().split(",")[1]),r=n.length,i=new Uint8Array(r),o=0;o<r;o++)i[o]=n.charCodeAt(o);e(new Blob([i],{type:"image/png"}))})}(t)},resolveUrl:function(t,e){var n=document.implementation.createHTMLDocument(),r=n.createElement("base");n.head.appendChild(r);var i=n.createElement("a");return n.body.appendChild(i),r.href=e,i.href=t,i.href},getAndEncode:function(t){var e=3e4;a.impl.options.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+(new Date).getTime());return new Promise(function(n){var r,i=new XMLHttpRequest;if(i.onreadystatechange=s,i.ontimeout=u,i.responseType="blob",i.timeout=e,i.open("GET",t,!0),i.send(),a.impl.options.imagePlaceholder){var o=a.impl.options.imagePlaceholder.split(/,/);o&&o[1]&&(r=o[1])}function s(){if(4===i.readyState)if(200===i.status){var e=new FileReader;e.onloadend=function(){var t=e.result.split(/,/)[1];n(t)},e.readAsDataURL(i.response)}else r?n(r):l("cannot fetch resource: "+t+", status: "+i.status)}function u(){r?n(r):l("timeout of "+e+"ms occured while fetching resource: "+t)}function l(t){console.error(t),n("")}})},uid:function(){var t=0;return function(){return"u"+e()+t++;function e(){return("0000"+(Math.random()*Math.pow(36,4)|0).toString(36)).slice(-4)}}}(),delay:function(t){return function(e){return new Promise(function(n){setTimeout(function(){n(e)},t)})}},asArray:function(t){for(var e=[],n=t.length,r=0;r<n;r++)e.push(t[r]);return e},escapeXhtml:function(t){return t.replace(/#/g,"%23").replace(/\n/g,"%0A")},makeImage:function(t){return new Promise(function(e,n){var r=new Image;r.onload=function(){e(r)},r.onerror=n,r.src=t})},width:function(t){var n=e(t,"border-left-width"),r=e(t,"border-right-width");return t.scrollWidth+n+r},height:function(t){var n=e(t,"border-top-width"),r=e(t,"border-bottom-width");return t.scrollHeight+n+r}};function t(t){var e=/\.([^\.\/]*?)$/g.exec(t);return e?e[1]:""}function e(t,e){var n=window.getComputedStyle(t).getPropertyValue(e);return parseFloat(n.replace("px",""))}}(),n=function(){var t=/url\(['"]?([^'"]+?)['"]?\)/g;return{inlineAll:function(t,e,o){return a()?Promise.resolve(t):Promise.resolve(t).then(r).then(function(n){var r=Promise.resolve(t);return n.forEach(function(t){r=r.then(function(n){return i(n,t,e,o)})}),r});function a(){return!n(t)}},shouldProcess:n,impl:{readUrls:r,inline:i}};function n(e){return-1!==e.search(t)}function r(n){for(var r,i=[];null!==(r=t.exec(n));)i.push(r[1]);return i.filter(function(t){return!e.isDataUrl(t)})}function i(t,n,r,i){return Promise.resolve(n).then(function(t){return r?e.resolveUrl(t,r):t}).then(i||e.getAndEncode).then(function(t){return e.dataAsUrl(t,e.mimeType(n))}).then(function(r){return t.replace(function(t){return new RegExp("(url\\(['\"]?)("+e.escape(t)+")(['\"]?\\))","g")}(n),"$1"+r+"$3")})}}(),r=function(){return{resolveAll:function(){return t(document).then(function(t){return Promise.all(t.map(function(t){return t.resolve()}))}).then(function(t){return t.join("\n")})},impl:{readAll:t}};function t(){return Promise.resolve(e.asArray(document.styleSheets)).then(function(t){var n=[];return t.forEach(function(t){try{e.asArray(t.cssRules||[]).forEach(n.push.bind(n))}catch(r){console.log("Error while reading CSS rules from "+t.href,r.toString())}}),n}).then(function(t){return t.filter(function(t){return t.type===CSSRule.FONT_FACE_RULE}).filter(function(t){return n.shouldProcess(t.style.getPropertyValue("src"))})}).then(function(e){return e.map(t)});function t(t){return{resolve:function(){var e=(t.parentStyleSheet||{}).href;return n.inlineAll(t.cssText,e)},src:function(){return t.style.getPropertyValue("src")}}}}}(),i=function(){return{inlineAll:function r(i){return i instanceof Element?o(i).then(function(){return i instanceof HTMLImageElement?t(i).inline():Promise.all(e.asArray(i.childNodes).map(function(t){return r(t)}))}):Promise.resolve(i);function o(t){var e=t.style.getPropertyValue("background");return e?n.inlineAll(e).then(function(e){t.style.setProperty("background",e,t.style.getPropertyPriority("background"))}).then(function(){return t}):Promise.resolve(t)}},impl:{newImage:t}};function t(t){return{inline:function(n){return e.isDataUrl(t.src)?Promise.resolve():Promise.resolve(t.src).then(n||e.getAndEncode).then(function(n){return e.dataAsUrl(n,e.mimeType(t.src))}).then(function(e){return new Promise(function(n,r){t.onload=n,t.onerror=r,t.src=e})})}}}}(),o={imagePlaceholder:void 0,cacheBust:!1},a={toSvg:s,toPng:function(t,e){return u(t,e||{}).then(function(t){return t.toDataURL()})},toJpeg:function(t,e){return u(t,e=e||{}).then(function(t){return t.toDataURL("image/jpeg",e.quality||1)})},toBlob:function(t,n){return u(t,n||{}).then(e.canvasToBlob)},toPixelData:function(t,n){return u(t,n||{}).then(function(n){return n.getContext("2d").getImageData(0,0,e.width(t),e.height(t)).data})},impl:{fontFaces:r,images:i,util:e,inliner:n,options:{}}};function s(t,n){return function(t){"undefined"===typeof t.imagePlaceholder?a.impl.options.imagePlaceholder=o.imagePlaceholder:a.impl.options.imagePlaceholder=t.imagePlaceholder;
2"undefined"===typeof t.cacheBust?a.impl.options.cacheBust=o.cacheBust:a.impl.options.cacheBust=t.cacheBust}(n=n||{}),Promise.resolve(t).then(function(t){return l(t,n.filter,!0)}).then(c).then(h).then(function(t){n.bgcolor&&(t.style.backgroundColor=n.bgcolor);n.width&&(t.style.width=n.width+"px");n.height&&(t.style.height=n.height+"px");n.style&&Object.keys(n.style).forEach(function(e){t.style[e]=n.style[e]});return t}).then(function(r){return function(t,n,r){return Promise.resolve(t).then(function(t){return t.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),(new XMLSerializer).serializeToString(t)}).then(e.escapeXhtml).then(function(t){return'<foreignObject x="0" y="0" width="100%" height="100%">'+t+"</foreignObject>"}).then(function(t){return'<svg xmlns="http://www.w3.org/2000/svg" width="'+n+'" height="'+r+'">'+t+"</svg>"}).then(function(t){return"data:image/svg+xml;charset=utf-8,"+t})}(r,n.width||e.width(t),n.height||e.height(t))})}function u(t,n){return s(t,n).then(e.makeImage).then(e.delay(100)).then(function(r){var i=function(t){var r=document.createElement("canvas");if(r.width=n.width||e.width(t),r.height=n.height||e.height(t),n.bgcolor){var i=r.getContext("2d");i.fillStyle=n.bgcolor,i.fillRect(0,0,r.width,r.height)}return r}(t);return i.getContext("2d").drawImage(r,0,0),i})}function l(t,n,r){return r||!n||n(t)?Promise.resolve(t).then(function(t){return t instanceof HTMLCanvasElement?e.makeImage(t.toDataURL()):t.cloneNode(!1)}).then(function(r){return function(t,n,r){var i=t.childNodes;return 0===i.length?Promise.resolve(n):o(n,e.asArray(i),r).then(function(){return n});function o(t,e,n){var r=Promise.resolve();return e.forEach(function(e){r=r.then(function(){return l(e,n)}).then(function(e){e&&t.appendChild(e)})}),r}}(t,r,n)}).then(function(n){return function(t,n){return n instanceof Element?Promise.resolve().then(r).then(i).then(o).then(a).then(function(){return n}):n;function r(){function r(t,n){function r(t,n){e.asArray(t).forEach(function(e){n.setProperty(e,t.getPropertyValue(e),t.getPropertyPriority(e))})}t.cssText?n.cssText=t.cssText:r(t,n)}r(window.getComputedStyle(t),n.style)}function i(){function r(r){var i=window.getComputedStyle(t,r),o=i.getPropertyValue("content");if(""!==o&&"none"!==o){var a=e.uid();n.className=n.className+" "+a;var s=document.createElement("style");s.appendChild(u(a,r,i)),n.appendChild(s)}function u(t,n,r){var i="."+t+":"+n,o=r.cssText?a(r):s(r);return document.createTextNode(i+"{"+o+"}");function a(t){var e=t.getPropertyValue("content");return t.cssText+" content: "+e+";"}function s(t){return e.asArray(t).map(n).join("; ")+";";function n(e){return e+": "+t.getPropertyValue(e)+(t.getPropertyPriority(e)?" !important":"")}}}}[":before",":after"].forEach(function(t){r(t)})}function o(){t instanceof HTMLTextAreaElement&&(n.innerHTML=t.value),t instanceof HTMLInputElement&&n.setAttribute("value",t.value)}function a(){n instanceof SVGElement&&(n.setAttribute("xmlns","http://www.w3.org/2000/svg"),n instanceof SVGRectElement&&["width","height"].forEach(function(t){var e=n.getAttribute(t);e&&n.style.setProperty(t,e)}))}}(t,n)}):Promise.resolve()}function c(t){return r.resolveAll().then(function(e){var n=document.createElement("style");return t.appendChild(n),n.appendChild(document.createTextNode(e)),t})}function h(t){return i.inlineAll(t).then(function(){return t})}t.exports=a}()},59019(t,e,n){"use strict";n.d(e,{uE:()=>Mt});var r=n(82284),i=Uint8Array,o=Uint16Array,a=Int32Array,s=new i([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]),u=new i([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]),l=new i([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),c=function(t,e){for(var n=new o(31),r=0;r<31;++r)n[r]=e+=1<<t[r-1];var i=new a(n[30]);for(r=1;r<30;++r)for(var s=n[r];s<n[r+1];++s)i[s]=s-n[r]<<5|r;return{b:n,r:i}},h=c(s,2),f=h.b,d=h.r;f[28]=258,d[258]=28;for(var p=c(u,0),m=p.b,g=p.r,v=new o(32768),b=0;b<32768;++b){var y=(43690&b)>>1|(21845&b)<<1;y=(61680&(y=(52428&y)>>2|(13107&y)<<2))>>4|(3855&y)<<4,v[b]=((65280&y)>>8|(255&y)<<8)>>1}var w=function(t,e,n){for(var r=t.length,i=0,a=new o(e);i<r;++i)t[i]&&++a[t[i]-1];var s,u=new o(e);for(i=1;i<e;
vendor: 9,034 bytes, line 2
2++i)u[i]=u[i-1]+a[i-1]<<1;if(n){s=new o(1<<e);var l=15-e;for(i=0;i<r;++i)if(t[i])for(var c=i<<4|t[i],h=e-t[i],f=u[t[i]-1]++<<h,d=f|(1<<h)-1;f<=d;++f)s[v[f]>>l]=c}else for(s=new o(r),i=0;i<r;++i)t[i]&&(s[i]=v[u[t[i]-1]++]>>15-t[i]);return s},A=new i(288);for(b=0;b<144;++b)A[b]=8;for(b=144;b<256;++b)A[b]=9;for(b=256;b<280;++b)A[b]=7;for(b=280;b<288;++b)A[b]=8;var x=new i(32);for(b=0;b<32;++b)x[b]=5;var L=w(A,9,0),N=w(A,9,1),S=w(x,5,0),P=w(x,5,1),_=function(t){for(var e=t[0],n=1;n<t.length;++n)t[n]>e&&(e=t[n]);return e},k=function(t,e,n){var r=e/8|0;return(t[r]|t[r+1]<<8)>>(7&e)&n},I=function(t,e){var n=e/8|0;return(t[n]|t[n+1]<<8|t[n+2]<<16)>>(7&e)},C=function(t){return(t+7)/8|0},F=function(t,e,n){return(null==e||e<0)&&(e=0),(null==n||n>t.length)&&(n=t.length),new i(t.subarray(e,n))},O=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],M=function(t,e,n){var r=new Error(e||O[t]);if(r.code=t,Error.captureStackTrace&&Error.captureStackTrace(r,M),!n)throw r;return r},j=function(t,e,n,r){var o=t.length,a=r?r.length:0;if(!o||e.f&&!e.l)return n||new i(0);var c=!n,h=c||2!=e.i,d=e.i;c&&(n=new i(3*o));var p=function(t){var e=n.length;if(t>e){var r=new i(Math.max(2*e,t));r.set(n),n=r}},g=e.f||0,v=e.p||0,b=e.b||0,y=e.l,A=e.d,x=e.m,L=e.n,S=8*o;do{if(!y){g=k(t,v,1);var O=k(t,v+1,3);if(v+=3,!O){var j=t[(W=C(v)+4)-4]|t[W-3]<<8,E=W+j;if(E>o){d&&M(0);break}h&&p(b+j),n.set(t.subarray(W,E),b),e.b=b+=j,e.p=v=8*E,e.f=g;continue}if(1==O)y=N,A=P,x=9,L=5;else if(2==O){var R=k(t,v,31)+257,D=k(t,v+10,15)+4,T=R+k(t,v+5,31)+1;v+=14;for(var B=new i(T),q=new i(19),z=0;z<D;++z)q[l[z]]=k(t,v+3*z,7);v+=3*D;var U=_(q),V=(1<<U)-1,H=w(q,U,1);for(z=0;z<T;){var W,G=H[k(t,v,V)];if(v+=15&G,(W=G>>4)<16)B[z++]=W;else{var Y=0,X=0;for(16==W?(X=3+k(t,v,3),v+=2,Y=B[z-1]):17==W?(X=3+k(t,v,7),v+=3):18==W&&(X=11+k(t,v,127),v+=7);X--;)B[z++]=Y}}var J=B.subarray(0,R),K=B.subarray(R);x=_(J),L=_(K),y=w(J,x,1),A=w(K,L,1)}else M(1);if(v>S){d&&M(0);break}}h&&p(b+131072);for(var $=(1<<x)-1,Z=(1<<L)-1,Q=v;;Q=v){var tt=(Y=y[I(t,v)&$])>>4;if((v+=15&Y)>S){d&&M(0);break}if(Y||M(2),tt<256)n[b++]=tt;else{if(256==tt){Q=v,y=null;break}var et=tt-254;if(tt>264){var nt=s[z=tt-257];et=k(t,v,(1<<nt)-1)+f[z],v+=nt}var rt=A[I(t,v)&Z],it=rt>>4;rt||M(3),v+=15&rt;K=m[it];if(it>3){nt=u[it];K+=I(t,v)&(1<<nt)-1,v+=nt}if(v>S){d&&M(0);break}h&&p(b+131072);var ot=b+et;if(b<K){var at=a-K,st=Math.min(K,ot);for(at+b<0&&M(3);b<st;++b)n[b]=r[at+b]}for(;b<ot;++b)n[b]=n[b-K]}}e.l=y,e.p=Q,e.b=b,e.f=g,y&&(g=1,e.m=x,e.d=A,e.n=L)}while(!g);return b!=n.length&&c?F(n,0,b):n.subarray(0,b)},E=function(t,e,n){n<<=7&e;var r=e/8|0;t[r]|=n,t[r+1]|=n>>8},R=function(t,e,n){n<<=7&e;var r=e/8|0;t[r]|=n,t[r+1]|=n>>8,t[r+2]|=n>>16},D=function(t,e){for(var n=[],r=0;r<t.length;++r)t[r]&&n.push({s:r,f:t[r]});var a=n.length,s=n.slice();if(!a)return{t:H,l:0};if(1==a){var u=new i(n[0].s+1);return u[n[0].s]=1,{t:u,l:1}}n.sort(function(t,e){return t.f-e.f}),n.push({s:-1,f:25001});var l=n[0],c=n[1],h=0,f=1,d=2;for(n[0]={s:-1,f:l.f+c.f,l:l,r:c};f!=a-1;)l=n[n[h].f<n[d].f?h++:d++],c=n[h!=f&&n[h].f<n[d].f?h++:d++],n[f++]={s:-1,f:l.f+c.f,l:l,r:c};var p=s[0].s;for(r=1;r<a;++r)s[r].s>p&&(p=s[r].s);var m=new o(p+1),g=T(n[f-1],m,0);if(g>e){r=0;var v=0,b=g-e,y=1<<b;for(s.sort(function(t,e){return m[e.s]-m[t.s]||t.f-e.f});r<a;++r){var w=s[r].s;if(!(m[w]>e))break;v+=y-(1<<g-m[w]),m[w]=e}for(v>>=b;v>0;){var A=s[r].s;m[A]<e?v-=1<<e-m[A]++-1:++r}for(;r>=0&&v;--r){var x=s[r].s;m[x]==e&&(--m[x],++v)}g=e}return{t:new i(m),l:g}},T=function(t,e,n){return-1==t.s?Math.max(T(t.l,e,n+1),T(t.r,e,n+1)):e[t.s]=n},B=function(t){for(var e=t.length;e&&!t[--e];);for(var n=new o(++e),r=0,i=t[0],a=1,s=function(t){n[r++]=t},u=1;u<=e;++u)if(t[u]==i&&u!=e)++a;else{if(!i&&a>2){for(;a>138;a-=138)s(32754);a>2&&(s(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(s(i),--a;a>6;a-=6)s(8304);a>2&&(s(a-3<<5|8208),a=0)}for(;a--;)s(i);a=1,i=t[u]}return{c:n.subarray(0,r),n:e}},q=function(t,e){for(var n=0,r=0;r<e.length;++r)n+=t[r]*e[r];return n},z=function(t,e,n){var r=n.length,i=C(e+2);t[i]=255&r,t[i+1]=r>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var o=0;o<r;++o)t[i+o+4]=n[o];return 8*(i+4+r)},U=function(t,e,n,r,i,a,c,h,f,d,p){E(e,p++,n),++i[256];for(var m=D(i,15),g=m.t,v=m.l,b=D(a,15),y=b.t,N=b.l,P=B(g),_=P.c,k=P.n,I=B(y),C=I.c,F=I.n,O=new o(19),M=0;M<_.length;++M)++O[31&_[M]];for(M=0;M<C.length;++M)++O[31&C[M]];for(var j=D(O,7),T=j.t,U=j.l,V=19;V>4&&!T[l[V-1]];--V);var H,W,G,Y,X=d+5<<3,J=q(i,A)+q(a,x)+c,K=q(i,g)+q(a,y)+c+14+3*V+q(O,T)+2*O[16]+3*O[17]+7*O[18];if(f>=0&&X<=J&&X<=K)return z(e,p,t.subarray(f,f+d));if(E(e,p,1+(K<J)),p+=2,K<J){H=w(g,v,0),W=g,G=w(y,N,0),Y=y;var $=w(T,U,0);E(e,p,k-257),E(e,p+5,F-1),E(e,p+10,V-4),p+=14;for(M=0;M<V;++M)E(e,p+3*M,T[l[M]]);p+=3*V;for(var Z=[_,C],Q=0;Q<2;++Q){var tt=Z[Q];for(M=0;M<tt.length;++M){var et=31&tt[M];E(e,p,$[et]),p+=T[et],et>15&&(E(e,p,tt[M]>>5&127),p+=tt[M]>>12)}}}else H=L,W=A,G=S,Y=x;for(M=0;M<h;++M){var nt=r[M];if(nt>255){R(e,p,H[(et=nt>>18&31)+257]),p+=W[et+257],et>7&&(E(e,p,nt>>23&31),p+=s[et]);var rt=31&nt;R(e,p,G[rt]),p+=Y[rt],rt>3&&(R(e,p,nt>>5&8191),p+=u[rt])}else R(e,p,H[nt]),p+=W[nt]}return R(e,p,H[256]),p+W[256]},V=new a([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),H=new i(0),W=function(t,e,n,r,l,c){var h=c.z||t.length,f=new i(r+h+5*(1+Math.ceil(h/7e3))+l),p=f.subarray(r,f.length-l),m=c.l,v=7&(c.r||0);if(e){v&&(p[0]=c.r>>3);for(var b=V[e-1],y=b>>13,w=8191&b,A=(1<<n)-1,x=c.p||new o(32768),L=c.h||new o(A+1),N=Math.ceil(n/3),S=2*N,P=function(e){return(t[e]^t[e+1]<<N^t[e+2]<<S)&A},_=new a(25e3),k=new o(288),I=new o(32),O=0,M=0,j=c.i||0,E=0,R=c.w||0,D=0;j+2<h;++j){var T=P(j),B=32767&j,q=L[T];if(x[B]=q,L[T]=B,R<=j){var H=h-j;if((O>7e3||E>24576)&&(H>423||!m)){v=U(t,p,0,_,k,I,M,E,D,j-D,v),E=O=M=0,D=j;for(var W=0;W<286;++W)k[W]=0;for(W=0;W<30;++W)I[W]=0}var G=2,Y=0,X=w,J=B-q&32767;if(H>2&&T==P(j-J))for(var K=Math.min(y,H)-1,$=Math.min(32767,j),Z=Math.min(258,H);J<=$&&--X&&B!=q;){if(t[j+G]==t[j+G-J]){for(var Q=0;Q<Z&&t[j+Q]==t[j+Q-J];++Q);if(Q>G){if(G=Q,Y=J,Q>K)break;var tt=Math.min(J,Q-2),et=0;for(W=0;W<tt;++W){var nt=j-J+W&32767,rt=nt-x[nt]&32767;rt>et&&(et=rt,q=nt)}}}J+=(B=q)-(q=x[B])&32767}if(Y){_[E++]=268435456|d[G]<<18|g[Y];var it=31&d[G],ot=31&g[Y];M+=s[it]+u[ot],++k[257+it],++I[ot],R=j+G,++O}else _[E++]=t[j],++k[t[j]]}}for(j=Math.max(j,R);j<h;++j)_[E++]=t[j],++k[t[j]];v=U(t,p,m,_,k,I,M,E,D,j-D,v),m||(c.r=7&v|p[v/8|0]<<3,v-=7,c.h=L,c.p=x,c.i=j,c.w=R)}else{for(j=c.w||0;j<h+m;j+=65535){var at=j+65535;at>=h&&(p[v/8|0]=m,at=h),v=z(p,v+1,t.subarray(j,at))}c.i=h}return F(f,0,r+C(v)+l)},G=function(){var t=1,e=0;return{p:function(n){for(var r=t,i=e,o=0|n.length,a=0;a!=o;){for(var s=Math.min(a+2655,o);a<s;++a)i+=r+=n[a];r=(65535&r)+15*(r>>16),i=(65535&i)+15*(i>>16)}t=r,e=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(e%=65521))<<8|e>>8}}},Y=function(t,e,n,r,o){if(!o&&(o={l:1},e.dictionary)){var a=e.dictionary.subarray(-32768),s=new i(a.length+t.length);s.set(a),s.set(t,a.length),t=s,o.w=a.length}return W(t,null==e.level?6:e.level,null==e.mem?o.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(t.length)))):20:12+e.mem,n,r,o)},X=function(t,e,n){for(;n;++e)t[e]=n,n>>>=8},J=function(t,e){var n=e.level,r=0==n?0:n<6?1:9==n?3:2;if(t[0]=120,t[1]=r<<6|(e.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,e.dictionary){var i=G();i.p(e.dictionary),X(t,2,i.d())}},K=function(t,e){return(8!=(15&t[0])||t[0]>>4>7||(t[0]<<8|t[1])%31)&&M(6,"invalid zlib data"),(t[1]>>5&1)==+!e&&M(6,"invalid zlib data: "+(32&t[1]?"need":"unexpected")+" dictionary"),2+(t[1]>>3&4)};function $(t,e){e||(e={});var n=G();n.p(t);var r=Y(t,e,e.dictionary?6:2,4);return J(r,e),X(r,r.length-4,n.d()),r}function Z(t,e){return j(t.subarray(K(t,e&&e.dictionary),-4),{i:2},e&&e.out,e&&e.dictionary)}var Q="undefined"!=typeof TextDecoder&&new TextDecoder;try{Q.decode(H,{stream:!0})}catch(yn){}"function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout&&setTimeout;var tt=function(){return"undefined"!=typeof window?window:"undefined"!=typeof n.g?n.g:"undefined"!=typeof self?self:this}();function et(){tt.console&&"function"==typeof tt.console.log&&tt.console.log.apply(tt.console,arguments)}var nt={log:et,warn:function(t){tt.console&&("function"==typeof tt.console.warn?tt.console.warn.apply(tt.console,arguments):et.call(null,arguments))},error:function(t){tt.console&&("function"==typeof tt.console.error?tt.console.error.apply(tt.console,arguments):et(t))}};function rt(t,e,n){var r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){ut(r.response,e,n)},r.onerror=function(){nt.error("could not download file")},r.send()}function it(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return e.status>=200&&e.status<=299}function ot(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(n){var e=document.createEvent("MouseEvents");
vendor: 3,287 bytes, line 2
2e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var at,st,ut=tt.saveAs||("object"!==("undefined"==typeof window?"undefined":(0,r.A)(window))||window!==tt?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(t,e,n){var r=tt.URL||tt.webkitURL,i=document.createElement("a");e=e||t.name||"download",i.download=e,i.rel="noopener","string"==typeof t?(i.href=t,i.origin!==location.origin?it(i.href)?rt(t,e,n):ot(i,i.target="_blank"):ot(i)):(i.href=r.createObjectURL(t),setTimeout(function(){r.revokeObjectURL(i.href)},4e4),setTimeout(function(){ot(i)},0))}:"msSaveOrOpenBlob"in navigator?function(t,e,n){if(e=e||t.name||"download","string"==typeof t)if(it(t))rt(t,e,n);else{var i=document.createElement("a");i.href=t,i.target="_blank",setTimeout(function(){ot(i)})}else navigator.msSaveOrOpenBlob(function(t,e){return void 0===e?e={autoBom:!1}:"object"!==(0,r.A)(e)&&(nt.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t}(t,n),e)}:function(t,e,n,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof t)return rt(t,e,n);var o="application/octet-stream"===t.type,a=/constructor/i.test(tt.HTMLElement)||tt.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||o&&a)&&"object"===("undefined"==typeof FileReader?"undefined":(0,r.A)(FileReader))){var u=new FileReader;u.onloadend=function(){var t=u.result;t=s?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=t:location=t,i=null},u.readAsDataURL(t)}else{var l=tt.URL||tt.webkitURL,c=l.createObjectURL(t);i?i.location=c:location.href=c,i=null,setTimeout(function(){l.revokeObjectURL(c)},4e4)}});function lt(t){var e;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:"90ee9
20",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 n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],r=0;r<n.length;r++){var i=n[r].re,o=n[r].process,a=i.exec(t);a&&(e=o(a),this.r=e[0],this.g=e[1],this.b=e[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 t=this.r.toString(16),e=this.g.toString(16),n=this.b.toString(16);return 1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),1==n.length&&(n="0"+n),"#"+t+e+n}}function ct(t,e){var n=t[0],r=t[1],i=t[2],o=t[3];n=ft(n,r,i,o,e[0],7,-680876936),o=ft(o,n,r,i,e[1],12,-389564586),i=ft(i,o,n,r,e[2],17,606105819),r=ft(r,i,o,n,e[3],22,-1044525330),n=ft(n,r,i,o,e[4],7,-176418897),o=ft(o,n,r,i,e[5],12,1200080426),i=ft(i,o,n,r,e[6],17,-1473231341),r=ft(r,i,o,n,e[7],22,-45705983),n=ft(n,r,i,o,e[8],7,1770035416),o=ft(o,n,r,i,e[9],12,-1958414417),i=ft(i,o,n,r,e[10],17,-42063),r=ft(r,i,o,n,e[11],22,-1990404162),n=ft(n,r,i,o,e[12],7,1804603682),o=ft(o,n,r,i,e[13],12,-40341101),i=ft(i,o,n,r,e[14],17,-1502002290),n=dt(n,r=ft(r,i,o,n,e[15],22,1236535329),i,o,e[1],5,-165796510),o=dt(o,n,r,i,e[6],9,-1069501632),i=dt(i,o,n,r,e[11],14,643717713),r=dt(r,i,o,n,e[0],20,-373897302),n=dt(n,r,i,o,e[5],5,-701558691),o=dt(o,n,r,i,e[10],9,38016083),i=dt(i,o,n,r,e[15],14,-660478335),r=dt(r,i,o,n,e[4],20,-405537848),n=dt(n,r,i,o,e[9],5,568446438),o=dt(o,n,r,i,e[14],9,-1019803690),i=dt(i,o,n,r,e[3],14,-187363961),r=dt(r,i,o,n,e[8],20,1163531501),n=dt(n,r,i,o,e[13],5,-1444681467),o=dt(o,n,r,i,e[2],9,-51403784),i=dt(i,o,n,r,e[7],14,1735328473),n=pt(n,r=dt(r,i,o,n,e[12],20,-1926607734),i,o,e[5],4,-378558),o=pt(o,n,r,i,e[8],11,-2022574463),i=pt(i,o,n,r,e[11],16,1839030562),r=pt(r,i,o,n,e[14],23,-35309556),n=pt(n,r,i,o,e[1],4,-1530992060),o=pt(o,n,r,i,e[4],11,1272893353),i=pt(i,o,n,r,e[7],16,-155497632),r=pt(r,i,o,n,e[10],23,-1094730640),n=pt(n,r,i,o,e[13],4,681279174),o=pt(o,n,r,i,e[0],11,-358537222),i=pt(i,o,n,r,e[3],16,-722521979),r=pt(r,i,o,n,e[6],23,76029189),n=pt(n,r,i,o,e[9],4,-640364487),o=pt(o,n,r,i,e[12],11,-421815835),i=pt(i,o,n,r,e[15],16,530742520),n=mt(n,r=pt(r,i,o,n,e[2],23,-995338651),i,o,e[0],6,-198630844),o=mt(o,n,r,i,e[7],10,1126891415),i=mt(i,o,n,r,e[14],15,-1416354905),r=mt(r,i,o,n,e[5],21,-57434055),n=mt(n,r,i,o,e[12],6,1700485571),o=mt(o,n,r,i,e[3],10,-1894986606),i=mt(i,o,n,r,e[10],15,-1051523),r=mt(r,i,o,n,e[1],21,-2054922799),n=mt(n,r,i,o,e[8],6,1873313359),o=mt(o,n,r,i,e[15],10,-30611744),i=mt(i,o,n,r,e[6],15,-1560198380),r=mt(r,i,o,n,e[13],21,1309151649),n=mt(n,r,i,o,e[4],6,-145523070),o=mt(o,n,r,i,e[11],10,-1120210379),i=mt(i,o,n,r,e[2],15,718787259),r=mt(r,i,o,n,e[9],21,-343485551),t[0]=Lt(n,t[0]),t[1]=Lt(r,t[1]),t[2]=Lt(i,t[2]),t[3]=Lt(o,t[3])}function ht(t,e,n,r,i,o){return e=Lt(Lt(e,t),Lt(r,o)),Lt(e<<i|e>>>32-i,n)}function ft(t,e,n,r,i,o,a){return ht(e&n|~e&r,t,e,i,o,a)}function dt(t,e,n,r,i,o,a){return ht(e&r|n&~r,t,e,i,o,a)}function pt(t,e,n,r,i,o,a){return ht(e^n^r,t,e,i,o,a)}function mt(t,e,n,r,i,o,a){return ht(n^(e|~r),t,e,i,o,a)}function gt(t){var e,n=t.length,r=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=t.length;
vendor: 4,265 bytes, line 2
2e+=64)ct(r,vt(t.substring(e-64,e)));t=t.substring(e-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<t.length;e++)i[e>>2]|=t.charCodeAt(e)<<(e%4<<3);if(i[e>>2]|=128<<(e%4<<3),e>55)for(ct(r,i),e=0;e<16;e++)i[e]=0;return i[14]=8*n,ct(r,i),r}function vt(t){var e,n=[];for(e=0;e<64;e+=4)n[e>>2]=t.charCodeAt(e)+(t.charCodeAt(e+1)<<8)+(t.charCodeAt(e+2)<<16)+(t.charCodeAt(e+3)<<24);return n}at=tt.atob.bind(tt),st=tt.btoa.bind(tt);var bt="0123456789abcdef".split("");function yt(t){for(var e="",n=0;n<4;n++)e+=bt[t>>8*n+4&15]+bt[t>>8*n&15];return e}function wt(t){return String.fromCharCode(255&t,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function At(t){return gt(t).map(wt).join("")}var xt="5d41402abc4b2a76b9719d911017c592"!=function(t){for(var e=0;e<t.length;e++)t[e]=yt(t[e]);return t.join("")}(gt("hello"));function Lt(t,e){if(xt){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}return t+e&4294967295}function Nt(t,e){var n,r,i,o;if(t!==n){for(var a=(i=t,o=1+(256/t.length|0),new Array(o+1).join(i)),s=[],u=0;u<256;u++)s[u]=u;var l=0;for(u=0;u<256;u++){var c=s[u];l=(l+c+a.charCodeAt(u))%256,s[u]=s[l],s[l]=c}n=t,r=s}else s=r;var h=e.length,f=0,d=0,p="";for(u=0;u<h;u++)d=(d+(c=s[f=(f+1)%256]))%256,s[f]=s[d],s[d]=c,a=s[(s[f]+s[d])%256],p+=String.fromCharCode(e.charCodeAt(u)^a);return p}var St={print:4,modify:8,copy:16,"annot-forms":32};function Pt(t,e,n,r){this.v=1,this.r=2;var i=192;t.forEach(function(t){if(void 0!==St.perm)throw new Error("Invalid permission: "+t);i+=St[t]}),this.padding="(\xbfN^Nu\x8aAd\0NV\xff\xfa\x01\b..\0\xb6\xd0h>\x80/\f\xa9\xfedSiz";var o=(e+this.padding).substr(0,32),a=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,a),this.P=-(1+(255^i)),this.encryptionKey=At(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=Nt(this.encryptionKey,this.padding)}function _t(t){if(/[^\u0000-\u00ff]/.test(t))throw new Error("Invalid PDF Name Object: "+t+", Only accept ASCII characters.");for(var e="",n=t.length,r=0;r<n;r++){var i=t.charCodeAt(r);e+=i<33||35===i||37===i||40===i||41===i||47===i||60===i||62===i||91===i||93===i||123===i||125===i||i>126?"#"+("0"+i.toString(16)).slice(-2):t[r]}return e}function kt(t){if("object"!==(0,r.A)(t))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var e={};this.subscribe=function(t,n,r){if(r=r||!1,"string"!=typeof t||"function"!=typeof n||"boolean"!=typeof r)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");e.hasOwnProperty(t)||(e[t]={});var i=Math.random().toString(35);return e[t][i]=[n,!!r],i},this.unsubscribe=function(t){for(var n in e)if(e[n][t])return delete e[n][t],0===Object.keys(e[n]).length&&delete e[n],!0;return!1},this.publish=function(n){if(e.hasOwnProperty(n)){var r=Array.prototype.slice.call(arguments,1),i=[];for(var o in e[n]){var a=e[n][o];try{a[0].apply(t,r)}catch(n){tt.console&&nt.error("jsPDF PubSub Error",n.message,n)}a[1]&&i.push(o)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return e}}function It(t){if(!(this instanceof It))return new It(t);var e="opacity,stroke-opacity".split(",");for(var n in t)t.hasOwnProperty(n)&&e.indexOf(n)>=0&&(this[n]=t[n]);this.id="",this.objectNumber=-1}function Ct(t,e){this.gState=t,this.matrix=e,this.id="",this.objectNumber=-1}function Ft(t,e,n,r,i){if(!(this instanceof Ft))return new Ft(t,e,n,r,i);this.type="axial"===t?2:3,this.coords=e,this.colors=n,Ct.call(this,r,i)}function Ot(t,e,n,r,i){if(!(this instanceof Ot))return new Ot(t,e,n,r,i);this.boundingBox=t,this.xStep=e,this.yStep=n,this.stream="",this.cloneIndex=0,Ct.call(this,r,i)}function Mt(t){var e,n="string"==typeof arguments[0]?arguments[0]:"p",i=arguments[1],o=arguments[2],a=arguments[3],s=[],u=1,l=16,c="S",h=null;"object"===(0,r.A)(t=t||{})&&(n=t.orientation,i=t.unit||i,o=t.format||o,a=t.compress||t.compressPdf||a,null!==(h=t.encryption||null)&&(h.userPassword=h.userPassword||"",h.ownerPassword=h.ownerPassword||"",h.userPermissions=h.userPermissions||[]),u="number"==typeof t.userUnit?Math.abs(t.userUnit):1,void 0!==t.precision&&(e=t.precision),void 0!==t.floatPrecision&&(l=t.floatPrecision),c=t.defaultPathOperation||"S"),s=t.filters||(!0===a?["FlateEncode"]:s),i=i||"mm",n=(""+(n||"P")).toLowerCase();
vendor: 4,613 bytes, line 2
2var f=t.putOnlyUsedFonts||!1,d={},p={internal:{},__private__:{}};p.__private__.PubSub=kt;var m="1.3",g=p.__private__.getPdfVersion=function(){return m};p.__private__.setPdfVersion=function(t){m=t};var v={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]};p.__private__.getPageFormats=function(){return v};var b=p.__private__.getPageFormat=function(t){return v[t]};o=o||"a4";var y="compat",w="advanced",A=y;function x(){this.saveGraphicsState(),Z(new Ht(bt,0,0,-bt,0,Ln()*bt).toString()+" cm"),this.setFontSize(this.getFontSize()/bt),c="n",A=w}function L(){this.restoreGraphicsState(),c="S",A=y}var N=p.__private__.combineFontStyleAndFontWeight=function(t,e){if("bold"==t&&"normal"==e||"bold"==t&&400==e||"normal"==t&&"italic"==e||"bold"==t&&"italic"==e)throw new Error("Invalid Combination of fontweight and fontstyle");return e&&(t=400==e||"normal"===e?"italic"===t?"italic":"normal":700!=e&&"bold"!==e||"normal"!==t?(700==e?"bold":e)+""+t:"bold"),t};p.advancedAPI=function(t){var e=A===y;return e&&x.call(this),"function"!=typeof t||(t(this),e&&L.call(this)),this},p.compatAPI=function(t){var e=A===w;return e&&L.call(this),"function"!=typeof t||(t(this),e&&x.call(this)),this},p.isAdvancedAPI=function(){return A===w};var S,P=function(t){if(A!==w)throw new Error(t+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},_=p.roundToPrecision=p.__private__.roundToPrecision=function(t,n){var r=e||n;if(isNaN(t)||isNaN(r))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return t.toFixed(r).replace(/0+$/,"")};S=p.hpf=p.__private__.hpf="number"==typeof l?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return _(t,l)}:"smart"===l?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return _(t,t>-1&&t<1?16:5)}:function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return _(t,16)};var k=p.f2=p.__private__.f2=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f2");return _(t,2)},I=p.__private__.f3=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f3");return _(t,3)},C=p.scale=p.__private__.scale=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.scale");return A===y?t*bt:A===w?t:void 0},F=function(t){return C(function(t){return A===y?Ln()-t:A===w?t:void 0}(t))};p.__private__.setPrecision=p.setPrecision=function(t){"number"==typeof parseInt(t,10)&&(e=parseInt(t,10))};var O,M="00000000000000000000000000000000",j=p.__private__.getFileId=function(){return M},E=p.__private__.setFileId=function(t){return M=void 0!==t&&/^[a-fA-F0-9]{32}$/.test(t)?t.toUpperCase():M.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),null!==h&&(Oe=new Pt(h.userPermissions,h.userPassword,h.ownerPassword,M)),M};p.setFileId=function(t){return E(t),this},p.getFileId=function(){return j()};var R=p.__private__.convertDateToPDFDate=function(t){var e=t.getTimezoneOffset(),n=e<0?"+":"-",r=Math.floor(Math.abs(e/60)),i=Math.abs(e%60),o=[n,z(r),"'",z(i),"'"].join("");return["D:",t.getFullYear(),z(t.getMonth()+1),z(t.getDate()),z(t.getHours()),z(t.getMinutes()),z(t.getSeconds()),o].join("")},D=p.__private__.convertPDFDateToDate=function(t){var e=parseInt(t.substr(2,4),10),n=parseInt(t.substr(6,2),10)-1,r=parseInt(t.substr(8,2),10),i=parseInt(t.substr(10,2),10),o=parseInt(t.substr(12,2),10),a=parseInt(t.substr(14,2),10);return new Date(e,n,r,i,o,a,0)},T=p.__private__.setCreationDate=function(t){var e;if(void 0===t&&(t=new Date),t instanceof Date)e=R(t);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(t))throw new Error("Invalid argument passed to 
2jsPDF.setCreationDate");e=t}return O=e},B=p.__private__.getCreationDate=function(t){var e=O;return"jsDate"===t&&(e=D(O)),e};p.setCreationDate=function(t){return T(t),this},p.getCreationDate=function(t){return B(t)};var q,z=p.__private__.padd2=function(t){return("0"+parseInt(t)).slice(-2)},U=p.__private__.padd2Hex=function(t){return("00"+(t=t.toString())).substr(t.length)},V=0,H=[],W=[],G=0,Y=[],X=[],J=!1,K=W;p.__private__.setCustomOutputDestination=function(t){J=!0,K=t};var $=function(t){J||(K=t)};p.__private__.resetCustomOutputDestination=function(){J=!1,K=W};var Z=p.__private__.out=function(t){return t=t.toString(),G+=t.length+1,K.push(t),K},Q=p.__private__.write=function(t){return Z(1===arguments.length?t.toString():Array.prototype.join.call(arguments," "))},et=p.__private__.getArrayBuffer=function(t){for(var e=t.length,n=new ArrayBuffer(e),r=new Uint8Array(n);e--;)r[e]=t.charCodeAt(e);return n},rt=[["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]];p.__private__.getStandardFonts=function(){return rt};var it=t.fontSize||16;p.__private__.setFontSize=p.setFontSize=function(t){return it=A===w?t/bt:t,this};var ot,at=p.__private__.getFontSize=p.getFontSize=function(){return A===y?it:it*bt},ct=t.R2L||!1;p.__private__.setR2L=p.setR2L=function(t){return ct=t,this},p.__private__.getR2L=p.getR2L=function(){return ct};var ht,ft=p.__private__.setZoomMode=function(t){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(t))ot=t;else if(isNaN(t)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(t))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+t+'" is not recognized.');ot=t}else ot=parseInt(t,10)};p.__private__.getZoomMode=function(){return ot};var dt,pt=p.__private__.setPageMode=function(t){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(t))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+t+'" is not recognized.');ht=t};p.__private__.getPageMode=function(){return ht};var mt=p.__private__.setLayoutMode=function(t){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(t))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+t+'" is not recognized.');dt=t};p.__private__.getLayoutMode=function(){return dt},p.__private__.setDisplayMode=p.setDisplayMode=function(t,e,n){return ft(t),mt(e),pt(n),this};var gt={title:"",subject:"",author:"",keywords:"",creator:""};p.__private__.getDocumentProperty=function(t){if(-1===Object.keys(gt).indexOf(t))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return gt[t]},p.__private__.getDocumentProperties=function(){return gt},p.__private__.setDocumentProperties=p.setProperties=p.setDocumentProperties=function(t){for(var e in gt)gt.hasOwnProperty(e)&&t[e]&&(gt[e]=t[e]);return this},p.__private__.setDocumentProperty=function(t,e){if(-1===Object.keys(gt).indexOf(t))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return gt[t]=e};var vt,bt,yt,wt,At,xt={},Lt={},Nt=[],St={},Ct={},jt={},Et={},Rt=null,Dt=0,Tt=[],Bt=new kt(p),qt=t.hotfixes||[],zt={},Ut={},Vt=[],Ht=function t(e,n,r,i,o,a){if(!(this instanceof t))return new t(e,n,r,i,o,a);isNaN(e)&&(e=1),isNaN(n)&&(n=0),isNaN(r)&&(r=0),isNaN(i)&&(i=1),isNaN(o)&&(o=0),isNaN(a)&&(a=0),this._matrix=[e,n,r,i,o,a]};Object.defineProperty(Ht.prototype,"sx",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Ht.prototype,"shy",{get:function(){return this._matrix[
vendor: 4,764 bytes, line 2
21]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Ht.prototype,"shx",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Ht.prototype,"sy",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Ht.prototype,"tx",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Ht.prototype,"ty",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Ht.prototype,"a",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Ht.prototype,"b",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Ht.prototype,"c",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Ht.prototype,"d",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Ht.prototype,"e",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Ht.prototype,"f",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Ht.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Ht.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Ht.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Ht.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Ht.prototype.join=function(t){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(S).join(t)},Ht.prototype.multiply=function(t){var e=t.sx*this.sx+t.shy*this.shx,n=t.sx*this.shy+t.shy*this.sy,r=t.shx*this.sx+t.sy*this.shx,i=t.shx*this.shy+t.sy*this.sy,o=t.tx*this.sx+t.ty*this.shx+this.tx,a=t.tx*this.shy+t.ty*this.sy+this.ty;return new Ht(e,n,r,i,o,a)},Ht.prototype.decompose=function(){var t=this.sx,e=this.shy,n=this.shx,r=this.sy,i=this.tx,o=this.ty,a=Math.sqrt(t*t+e*e),s=(t/=a)*n+(e/=a)*r;n-=t*s,r-=e*s;var u=Math.sqrt(n*n+r*r);return s/=u,t*(r/=u)<e*(n/=u)&&(t=-t,e=-e,s=-s,a=-a),{scale:new Ht(a,0,0,u,0,0),translate:new Ht(1,0,0,1,i,o),rotate:new Ht(t,e,-e,t,0,0),skew:new Ht(1,0,s,1,0,0)}},Ht.prototype.toString=function(t){return this.join(" ")},Ht.prototype.inversed=function(){var t=this.sx,e=this.shy,n=this.shx,r=this.sy,i=this.tx,o=this.ty,a=1/(t*r-e*n),s=r*a,u=-e*a,l=-n*a,c=t*a;return new Ht(s,u,l,c,-s*i-l*o,-u*i-c*o)},Ht.prototype.applyToPoint=function(t){var e=t.x*this.sx+t.y*this.shx+this.tx,n=t.x*this.shy+t.y*this.sy+this.ty;return new gn(e,n)},Ht.prototype.applyToRectangle=function(t){var e=this.applyToPoint(t),n=this.applyToPoint(new gn(t.x+t.w,t.y+t.h));return new vn(e.x,e.y,n.x-e.x,n.y-e.y)},Ht.prototype.clone=function(){var t=this.sx,e=this.shy,n=this.shx,r=this.sy,i=this.tx,o=this.ty;return new Ht(t,e,n,r,i,o)},p.Matrix=Ht;var Wt=p.matrixMult=function(t,e){return e.multiply(t)},Gt=new Ht(1,0,0,1,0,0);p.unitMatrix=p.identityMatrix=Gt;var Yt=function(t,e){if(!Ct[t]){var n=(e instanceof Ft?"Sh":"P")+(Object.keys(St).length+1).toString(10);e.id=n,Ct[t]=n,St[n]=e,Bt.publish("addPattern",e)}};p.ShadingPattern=Ft,p.TilingPattern=Ot,p.addShadingPattern=function(t,e){return P("addShadingPattern()"),Yt(t,e),this},p.beginTilingPattern=function(t){P("beginTilingPattern()"),yn(t.boundingBox[0],t.boundingBox[1],t.boundingBox[2]-t.boundingBox[0],t.boundingBox[3]-t.boundingBox[1],t.matrix)},p.endTilingPattern=function(t,e){P("endTilingPattern()"),e.stream=X[q].join("\n"),Yt(t,e),Bt.publish("endTilingPattern",e),Vt.pop().restore()};var Xt,Jt=p.__private__.newObject=function(){var t=Kt();return $t(t,!0),t},Kt=p.__private__.newObjectDeferred=function(){return V++,H[V]=function(){return G},V},$t=function(t,e){return e="boolean"==typeof e&&e,H[t]=G,e&&Z(t+" 0 obj"),t},Zt=p.__private__.newAdditionalObject=function(){var t={objId:Kt(),content:""};return Y.push(t),t},Qt=Kt(),te=Kt(),ee=p.__private__.decodeColorString=function(t){var e=t.split(" ");if(2!==e.length||"g"!==e[1]&&"G"!==e[1])5!==e.length||"k"!==e[4]&&"K"!==e[4]||(e=[(1-e[0])*(1-e[3]),(1-e[1])*(1-e[3]),(1-e[2])*(1-e[3]),"r"]);else{var n=parseFloat(e[0]);e=[n,n,n,"r"]}for(var r="#",i=0;i<3;i++)r+=("0"+Math.floor(255*parseFloat(e[i])).toString(16)).slice(-2);return r},ne=p.__private__.encodeColorString=function(t){var e;"string"==typeof t&&(t={ch1:t});var n=t.ch1,i=t.ch2,o=t.ch3,a=t.ch4,s="draw"===t.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof n&&"#"!==n.charAt(0)){var u=new lt(n);if(u.ok)n=u.toHex();else if(!/^\d*\.?\d*$/.test(n))throw new Error('Invalid color "'+n+'" passed to 
2jsPDF.encodeColorString.')}if("string"==typeof n&&/^#[0-9A-Fa-f]{3}$/.test(n)&&(n="#"+n[1]+n[1]+n[2]+n[2]+n[3]+n[3]),"string"==typeof n&&/^#[0-9A-Fa-f]{6}$/.test(n)){var l=parseInt(n.substr(1),16);n=l>>16&255,i=l>>8&255,o=255&l}if(void 0===i||void 0===a&&n===i&&i===o)if("string"==typeof n)e=n+" "+s[0];else if(2===t.precision)e=k(n/255)+" "+s[0];else e=I(n/255)+" "+s[0];else if(void 0===a||"object"===(0,r.A)(a)){if(a&&!isNaN(a.a)&&0===a.a)return["1.","1.","1.",s[1]].join(" ");if("string"==typeof n)e=[n,i,o,s[1]].join(" ");else if(2===t.precision)e=[k(n/255),k(i/255),k(o/255),s[1]].join(" ");else e=[I(n/255),I(i/255),I(o/255),s[1]].join(" ")}else if("string"==typeof n)e=[n,i,o,a,s[2]].join(" ");else if(2===t.precision)e=[k(n),k(i),k(o),k(a),s[2]].join(" ");else e=[I(n),I(i),I(o),I(a),s[2]].join(" ");return e},re=p.__private__.getFilters=function(){return s},ie=p.__private__.putStream=function(t){var e=(t=t||{}).data||"",n=t.filters||re(),r=t.alreadyAppliedFilters||[],i=t.addLength1||!1,o=e.length,a=t.objectId,s=function(t){return t};if(null!==h&&void 0===a)throw new Error("ObjectId must be passed to putStream for file encryption");null!==h&&(s=Oe.encryptor(a,0));var u={};!0===n&&(n=["FlateEncode"]);var l=t.additionalKeyValues||[],c=(u=void 0!==Mt.API.processDataByFilters?Mt.API.processDataByFilters(e,n):{data:e,reverseChain:[]}).reverseChain+(Array.isArray(r)?r.join(" "):r.toString());if(0!==u.data.length&&(l.push({key:"Length",value:u.data.length}),!0===i&&l.push({key:"Length1",value:o})),0!=c.length)if(c.split("/").length-1==1)l.push({key:"Filter",value:c});else{l.push({key:"Filter",value:"["+c+"]"});for(var f=0;f<l.length;f+=1)if("DecodeParms"===l[f].key){for(var d=[],p=0;p<u.reverseChain.split("/").length-1;p+=1)d.push("null");d.push(l[f].value),l[f].value="["+d.join(" ")+"]"}}Z("<<");for(var m=0;m<l.length;m++)Z("/"+l[m].key+" "+l[m].value);Z(">>"),0!==u.data.length&&(Z("stream"),Z(s(u.data)),Z("endstream"))},oe=p.__private__.putPage=function(t){var e=t.number,n=t.data,r=t.objId,i=t.contentsObjId;$t(r,!0),Z("<</Type /Page"),Z("/Parent "+t.rootDictionaryObjId+" 0 R"),Z("/Resources "+t.resourceDictionaryObjId+" 0 R"),Z("/MediaBox ["+parseFloat(S(t.mediaBox.bottomLeftX))+" "+parseFloat(S(t.mediaBox.bottomLeftY))+" "+S(t.mediaBox.topRightX)+" "+S(t.mediaBox.topRightY)+"]"),null!==t.cropBox&&Z("/CropBox ["+S(t.cropBox.bottomLeftX)+" "+S(t.cropBox.bottomLeftY)+" "+S(t.cropBox.topRightX)+" "+S(t.cropBox.topRightY)+"]"),null!==t.bleedBox&&Z("/BleedBox ["+S(t.bleedBox.bottomLeftX)+" "+S(t.bleedBox.bottomLeftY)+" "+S(t.bleedBox.topRightX)+" "+S(t.bleedBox.topRightY)+"]"),null!==t.trimBox&&Z("/TrimBox ["+S(t.trimBox.bottomLeftX)+" "+S(t.trimBox.bottomLeftY)+" "+S(t.trimBox.topRightX)+" "+S(t.trimBox.topRightY)+"]"),null!==t.artBox&&Z("/ArtBox ["+S(t.artBox.bottomLeftX)+" "+S(t.artBox.bottomLeftY)+" "+S(t.artBox.topRightX)+" "+S(t.artBox.topRightY)+"]"),"number"==typeof t.userUnit&&1!==t.userUnit&&Z("/UserUnit "+t.userUnit),Bt.publish("putPage",{objId:r,pageContext:Tt[e],pageNumber:e,page:n}),Z("/Contents "+i+" 0 R"),Z(">>"),Z("endobj");var o=n.join("\n");return A===w&&(o+="\nQ"),$t(i,!0),ie({data:o,filters:re(),objectId:i}),Z("endobj"),r},ae=p.__private__.putPages=function(){var t,e,n=[];for(t=1;t<=Dt;t++)Tt[t].objId=Kt(),Tt[t].contentsObjId=Kt();for(t=1;t<=Dt;t++)n.push(oe({number:t,data:X[t],objId:Tt[t].objId,contentsObjId:Tt[t].contentsObjId,mediaBox:Tt[t].mediaBox,cropBox:Tt[t].cropBox,bleedBox:Tt[t].bleedBox,trimBox:Tt[t].trimBox,artBox:Tt[t].artBox,userUnit:Tt[t].userUnit,rootDictionaryObjId:Qt,resourceDictionaryObjId:te}));$t(Qt,!0),Z("<</Type /Pages");var r="/Kids [";for(e=0;e<Dt;e++)r+=n[e]+" 0 R ";Z(r+"]"),Z("/Count "+Dt),Z(">>"),Z("endobj"),Bt.publish("postPutPages")},se=function(t){Bt.publish("putFont",{font:t,out:Z,newObject:Jt,putStream:ie}),!0!==t.isAlreadyPutted&&(t.objectNumber=Jt(),Z("<<"),Z("/Type /Font"),Z("/BaseFont /"+_t(t.postScriptName)),Z("/Subtype /Type1"),"string"==typeof t.encoding&&Z("/Encoding /"+t.encoding),Z("/FirstChar 32"),Z("/LastChar 255"),Z(">>"),Z("endobj"))},ue=function(t){t.objectNumber=Jt();var e=[];e.push({key:"Type",value:"/XObject"}),e.push({key:"Subtype",value:"/Form"}),e.push({key:"BBox",value:"["+[S(t.x),S(t.y),S(t.x+t.width),S(t.y+t.height)].join(" ")+"]"}),e.push({key:"Matrix",value:"["+t.matrix.toString()+"]"});var n=t.pages[1].join("\n");ie({data:n,additionalKeyValues:e,objectId:t.objectNumber}),Z("endobj")},le=function(t,e){e||(e=21);var n=Jt(),r=function(t,e){var n,r=[],i=1/(e-1);for(n=0;n<1;n+=i)r.push(n);if(r.push(1),0!=t[0].offset){var o={offset:0,color:t[0].color};t.unshift(o)}if(1!=t[t.length-1].offset){var a={offset:1,color:t[t.length-1].color};t.push(a)}for(var s="",u=0,l=0;l<r.length;l++){for(n=r[l];n>t[u+1].offset;)u++;var c=t[u].offset,h=(n-c)/(t[u+1].offset-c),f=t[u].color,d=t[u+1].color;
vendor: 6,158 bytes, line 2
2s+=U(Math.round((1-h)*f[0]+h*d[0]).toString(16))+U(Math.round((1-h)*f[1]+h*d[1]).toString(16))+U(Math.round((1-h)*f[2]+h*d[2]).toString(16))}return s.trim()}(t.colors,e),i=[];i.push({key:"FunctionType",value:"0"}),i.push({key:"Domain",value:"[0.0 1.0]"}),i.push({key:"Size",value:"["+e+"]"}),i.push({key:"BitsPerSample",value:"8"}),i.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),i.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ie({data:r,additionalKeyValues:i,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:n}),Z("endobj"),t.objectNumber=Jt(),Z("<< /ShadingType "+t.type),Z("/ColorSpace /DeviceRGB");var o="/Coords ["+S(parseFloat(t.coords[0]))+" "+S(parseFloat(t.coords[1]))+" ";2===t.type?o+=S(parseFloat(t.coords[2]))+" "+S(parseFloat(t.coords[3])):o+=S(parseFloat(t.coords[2]))+" "+S(parseFloat(t.coords[3]))+" "+S(parseFloat(t.coords[4]))+" "+S(parseFloat(t.coords[5])),Z(o+="]"),t.matrix&&Z("/Matrix ["+t.matrix.toString()+"]"),Z("/Function "+n+" 0 R"),Z("/Extend [true true]"),Z(">>"),Z("endobj")},ce=function(t,e){var n=Kt(),r=Jt();e.push({resourcesOid:n,objectOid:r}),t.objectNumber=r;var i=[];i.push({key:"Type",value:"/Pattern"}),i.push({key:"PatternType",value:"1"}),i.push({key:"PaintType",value:"1"}),i.push({key:"TilingType",value:"1"}),i.push({key:"BBox",value:"["+t.boundingBox.map(S).join(" ")+"]"}),i.push({key:"XStep",value:S(t.xStep)}),i.push({key:"YStep",value:S(t.yStep)}),i.push({key:"Resources",value:n+" 0 R"}),t.matrix&&i.push({key:"Matrix",value:"["+t.matrix.toString()+"]"}),ie({data:t.stream,additionalKeyValues:i,objectId:t.objectNumber}),Z("endobj")},he=function(t){for(var e in t.objectNumber=Jt(),Z("<<"),t)switch(e){case"opacity":Z("/ca "+k(t[e]));break;case"stroke-opacity":Z("/CA "+k(t[e]))}Z(">>"),Z("endobj")},fe=function(t){$t(t.resourcesOid,!0),Z("<<"),Z("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var t in Z("/Font <<"),xt)xt.hasOwnProperty(t)&&(!1===f||!0===f&&d.hasOwnProperty(t))&&Z("/"+t+" "+xt[t].objectNumber+" 0 R");Z(">>")}(),function(){if(Object.keys(St).length>0){for(var t in Z("/Shading <<"),St)St.hasOwnProperty(t)&&St[t]instanceof Ft&&St[t].objectNumber>=0&&Z("/"+t+" "+St[t].objectNumber+" 0 R");Bt.publish("putShadingPatternDict"),Z(">>")}}(),function(t){if(Object.keys(St).length>0){for(var e in Z("/Pattern <<"),St)St.hasOwnProperty(e)&&St[e]instanceof p.TilingPattern&&St[e].objectNumber>=0&&St[e].objectNumber<t&&Z("/"+e+" "+St[e].objectNumber+" 0 R");Bt.publish("putTilingPatternDict"),Z(">>")}}(t.objectOid),function(){if(Object.keys(jt).length>0){var t;for(t in Z("/ExtGState <<"),jt)jt.hasOwnProperty(t)&&jt[t].objectNumber>=0&&Z("/"+t+" "+jt[t].objectNumber+" 0 R");Bt.publish("putGStateDict"),Z(">>")}}(),function(){for(var t in Z("/XObject <<"),zt)zt.hasOwnProperty(t)&&zt[t].objectNumber>=0&&Z("/"+t+" "+zt[t].objectNumber+" 0 R");Bt.publish("putXobjectDict"),Z(">>")}(),Z(">>"),Z("endobj")},de=function(){var t=[];(function(){for(var t in xt)xt.hasOwnProperty(t)&&(!1===f||!0===f&&d.hasOwnProperty(t))&&se(xt[t])})(),function(){var t;for(t in jt)jt.hasOwnProperty(t)&&he(jt[t])}(),function(){for(var t in zt)zt.hasOwnProperty(t)&&ue(zt[t])}(),function(t){var e;for(e in St)St.hasOwnProperty(e)&&(St[e]instanceof Ft?le(St[e]):St[e]instanceof Ot&&ce(St[e],t))}(t),Bt.publish("putResources"),t.forEach(fe),fe({resourcesOid:te,objectOid:Number.MAX_SAFE_INTEGER}),Bt.publish("postPutResources")},pe=function(t){Lt[t.fontName]=Lt[t.fontName]||{},Lt[t.fontName][t.fontStyle]=t.id},me=function(t,e,n,r,i){var o={id:"F"+(Object.keys(xt).length+1).toString(10),postScriptName:t,fontName:e,fontStyle:n,encoding:r,isStandardFont:i||!1,metadata:{}};return Bt.publish("addFont",{font:o,instance:this}),xt[o.id]=o,pe(o),o.id},ge=p.__private__.pdfEscape=p.pdfEscape=function(t,e){return function(t,e){var n,r,i,o,a,s,u,l,c;if(i=(e=e||{}).sourceEncoding||"Unicode",a=e.outputEncoding,(e.autoencode||a)&&xt[vt].metadata&&xt[vt].metadata[i]&&xt[vt].metadata[i].encoding&&(o=xt[vt].metadata[i].encoding,!a&&xt[vt].encoding&&(a=xt[vt].encoding),!a&&o.codePages&&(a=o.codePages[0]),"string"==typeof a&&(a=o[a]),a)){for(u=!1,s=[],n=0,r=t.length;n<r;n++)(l=a[t.charCodeAt(n)])?s.push(String.fromCharCode(l)):s.push(t[n]),s[n].charCodeAt(0)>>8&&(u=!0);t=s.join("")}for(n=t.length;void 0===u&&0!==n;)t.charCodeAt(n-1)>>8&&(u=!0),n--;if(!u)return t;for(s=e.noBOM?[]:[254,255],n=0,r=t.length;n<r;n++){if((c=(l=t.charCodeAt(n))>>8)>>8)throw new Error("Character at position "+n+" of string '"+t+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(c),s.push(l-(c<<8))}return String.fromCharCode.apply(void 0,s)}(t,e).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ve=p.__private__.beginPage=function(t){X[++Dt]=[],Tt[Dt]={objId:0,contentsObjId:0,userUnit:Number(u),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(t[0]),topRightY:Number(t[1])}},we(Dt),$(X[q])},be=function(t,e){var r,i,a;switch(n=e||n,"string"==typeof t&&(r=b(t.toLowerCase()),Array.isArray(r)&&(i=r[0],a=r[1])),Array.isArray(t)&&(i=t[0]*bt,a=t[1]*bt),isNaN(i)&&(i=o[0],a=o[1]),(i>14400||a>14400)&&(nt.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),i=Math.min(14400,i),a=Math.min(14400,a)),o=[i,a],n.substr(0,1)){case"l":a>i&&(o=[a,i]);break;case"p":i>a&&(o=[a,i])}ve(o),Ze(Ke),Z(sn),0!==dn&&Z(dn+" J"),0!==pn&&Z(pn+" j"),Bt.publish("addPage",{pageNumber:Dt})},ye=function(t){t>0&&t<=Dt&&(X.splice(t,1),Tt.splice(t,1),Dt--,q>Dt&&(q=Dt),this.setPage(q))},we=function(t){t>0&&t<=Dt&&(q=t)},Ae=p.__private__.getNumberOfPages=p.getNumberOfPages=function(){return X.length-1},xe=function(t,e,n){var r,i=void 0;return n=n||{},t=void 0!==t?t:xt[vt].fontName,e=void 0!==e?e:xt[vt].fontStyle,r=t.toLowerCase(),void 0!==Lt[r]&&void 0!==Lt[r][e]?i=Lt[r][e]:void 0!==Lt[t]&&void 0!==Lt[t][e]?i=Lt[t][e]:!1===n.disableWarning&&nt.warn("Unable to look up font label for font '"+t+"', '"+e+"'. Refer to getFontList() for available fonts."),i||n.noFallback||null==(i=Lt.times[e])&&(i=Lt.times.normal),i},Le=p.__private__.putInfo=function(){var t=Jt(),e=function(t){return t};
vendor: 5,162 bytes, line 2
2for(var n in null!==h&&(e=Oe.encryptor(t,0)),Z("<<"),Z("/Producer ("+ge(e("jsPDF "+Mt.version))+")"),gt)gt.hasOwnProperty(n)&&gt[n]&&Z("/"+n.substr(0,1).toUpperCase()+n.substr(1)+" ("+ge(e(gt[n]))+")");Z("/CreationDate ("+ge(e(O))+")"),Z(">>"),Z("endobj")},Ne=p.__private__.putCatalog=function(t){var e=(t=t||{}).rootDictionaryObjId||Qt;switch(Jt(),Z("<<"),Z("/Type /Catalog"),Z("/Pages "+e+" 0 R"),ot||(ot="fullwidth"),ot){case"fullwidth":Z("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Z("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Z("/OpenAction [3 0 R /Fit]");break;case"original":Z("/OpenAction [3 0 R /XYZ null null 1]");break;default:var n=""+ot;"%"===n.substr(n.length-1)&&(ot=parseInt(ot)/100),"number"==typeof ot&&Z("/OpenAction [3 0 R /XYZ null null "+k(ot)+"]")}switch(dt||(dt="continuous"),dt){case"continuous":Z("/PageLayout /OneColumn");break;case"single":Z("/PageLayout /SinglePage");break;case"two":case"twoleft":Z("/PageLayout /TwoColumnLeft");break;case"tworight":Z("/PageLayout /TwoColumnRight")}ht&&Z("/PageMode /"+ht),Bt.publish("putCatalog"),Z(">>"),Z("endobj")},Se=p.__private__.putTrailer=function(){Z("trailer"),Z("<<"),Z("/Size "+(V+1)),Z("/Root "+V+" 0 R"),Z("/Info "+(V-1)+" 0 R"),null!==h&&Z("/Encrypt "+Oe.oid+" 0 R"),Z("/ID [ <"+M+"> <"+M+"> ]"),Z(">>")},Pe=p.__private__.putHeader=function(){Z("%PDF-"+m),Z("%\xba\xdf\xac\xe0")},_e=p.__private__.putXRef=function(){var t="0000000000";Z("xref"),Z("0 "+(V+1)),Z("0000000000 65535 f ");for(var e=1;e<=V;e++)"function"==typeof H[e]?Z((t+H[e]()).slice(-10)+" 00000 n "):void 0!==H[e]?Z((t+H[e]).slice(-10)+" 00000 n "):Z("0000000000 00000 n ")},ke=p.__private__.buildDocument=function(){V=0,G=0,W=[],H=[],Y=[],Qt=Kt(),te=Kt(),$(W),Bt.publish("buildDocument"),Pe(),ae(),function(){Bt.publish("putAdditionalObjects");for(var t=0;t<Y.length;t++){var e=Y[t];$t(e.objId,!0),Z(e.content),Z("endobj")}Bt.publish("postPutAdditionalObjects")}(),de(),null!==h&&(Oe.oid=Jt(),Z("<<"),Z("/Filter /Standard"),Z("/V "+Oe.v),Z("/R "+Oe.r),Z("/U <"+Oe.toHexString(Oe.U)+">"),Z("/O <"+Oe.toHexString(Oe.O)+">"),Z("/P "+Oe.P),Z(">>"),Z("endobj")),Le(),Ne();var t=G;return _e(),Se(),Z("startxref"),Z(""+t),Z("%%EOF"),$(X[q]),W.join("\n")},Ie=p.__private__.getBlob=function(t){return new Blob([et(t)],{type:"application/pdf"})},Ce=p.output=p.__private__.output=(Xt=function(t,e){switch("string"==typeof(e=e||{})?e={filename:e}:e.filename=e.filename||"generated.pdf",t){case void 0:return ke();case"save":p.save(e.filename);break;case"arraybuffer":return et(ke());case"blob":return Ie(ke());case"bloburi":case"bloburl":if(void 0!==tt.URL&&"function"==typeof tt.URL.createObjectURL)return tt.URL&&tt.URL.createObjectURL(Ie(ke()))||void 0;nt.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var n="",r=ke();try{n=st(r)}catch(t){n=st(unescape(encodeURIComponent(r)))}return"data:application/pdf;filename="+e.filename+";base64,"+n;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(tt)){var i="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",o=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';e.pdfObjectUrl&&(i=e.pdfObjectUrl,o="");var a='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><script src="'+i+'"'+o+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(e)+");<\/script></body></html>",s=tt.open();return null!==s&&s.document.write(a),s}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(tt)){var u='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe id="pdfViewer" src="'+(e.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+e.filename+'" width="500px" height="400px" /></body></html>',l=tt.open();if(null!==l){l.document.write(u);var c=this;l.document.documentElement.querySelector("#pdfViewer").onload=function(){l.document.title=e.filename,l.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(c.output("bloburl"))}}return l}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(tt))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var h='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe src="'+this.output("datauristring",e)+'"></iframe></body></html>',f=tt.open();if(null!==f&&(f.document.write(h),f.document.title=e.filename),f||"undefined"==typeof safari)return f;break;case"datauri":case"dataurl":return tt.document.location.href=this.output("datauristring",e);default:return null}},Xt.foo=function(){try{return Xt.apply(this,arguments)}catch(Xt){var t=Xt.stack||"";
vendor: 9,462 bytes, line 2
2~t.indexOf(" at ")&&(t=t.split(" at ")[1]);var e="Error in function "+t.split("\n")[0].split("<")[0]+": "+Xt.message;if(!tt.console)throw new Error(e);tt.console.error(e,Xt),tt.alert&&alert(e)}},Xt.foo.bar=Xt,Xt.foo),Fe=function(t){return!0===Array.isArray(qt)&&qt.indexOf(t)>-1};switch(i){case"pt":bt=1;break;case"mm":bt=72/25.4;break;case"cm":bt=72/2.54;break;case"in":bt=72;break;case"px":bt=1==Fe("px_scaling")?.75:96/72;break;case"pc":case"em":bt=12;break;case"ex":bt=6;break;default:if("number"!=typeof i)throw new Error("Invalid unit: "+i);bt=i}var Oe=null;T(),E();var Me=p.__private__.getPageInfo=p.getPageInfo=function(t){if(isNaN(t)||t%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Tt[t].objId,pageNumber:t,pageContext:Tt[t]}},je=p.__private__.getPageInfoByObjId=function(t){if(isNaN(t)||t%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var e in Tt)if(Tt[e].objId===t)break;return Me(e)},Ee=p.__private__.getCurrentPageInfo=p.getCurrentPageInfo=function(){return{objId:Tt[q].objId,pageNumber:q,pageContext:Tt[q]}};p.addPage=function(){return be.apply(this,arguments),this},p.setPage=function(){return we.apply(this,arguments),$.call(this,X[q]),this},p.insertPage=function(t){return this.addPage(),this.movePage(q,t),this},p.movePage=function(t,e){var n,r;if(t>e){n=X[t],r=Tt[t];for(var i=t;i>e;i--)X[i]=X[i-1],Tt[i]=Tt[i-1];X[e]=n,Tt[e]=r,this.setPage(e)}else if(t<e){n=X[t],r=Tt[t];for(var o=t;o<e;o++)X[o]=X[o+1],Tt[o]=Tt[o+1];X[e]=n,Tt[e]=r,this.setPage(e)}return this},p.deletePage=function(){return ye.apply(this,arguments),this},p.__private__.text=p.text=function(t,e,n,i,o){var a,s,u,l,c,h,f,p,m,g=(i=i||{}).scope||this;if("number"==typeof t&&"number"==typeof e&&("string"==typeof n||Array.isArray(n))){var v=n;n=e,e=t,t=v}if(arguments[3]instanceof Ht==0?(u=arguments[4],l=arguments[5],"object"===(0,r.A)(f=arguments[3])&&null!==f||("string"==typeof u&&(l=u,u=null),"string"==typeof f&&(l=f,f=null),"number"==typeof f&&(u=f,f=null),i={flags:f,angle:u,align:l})):(P("The transform parameter of text() with a Matrix value"),m=o),isNaN(e)||isNaN(n)||null==t)throw new Error("Invalid arguments passed to jsPDF.text");if(0===t.length)return g;var b,y="",x="number"==typeof i.lineHeightFactor?i.lineHeightFactor:Je,L=g.internal.scaleFactor;function N(t){return t=t.split("\t").join(Array(i.TabLen||9).join(" ")),ge(t,f)}function _(t){for(var e,n=t.concat(),r=[],i=n.length;i--;)"string"==typeof(e=n.shift())?r.push(e):Array.isArray(t)&&(1===e.length||void 0===e[1]&&void 0===e[2])?r.push(e[0]):r.push([e[0],e[1],e[2]]);return r}function k(t,e){var n;if("string"==typeof t)n=e(t)[0];else if(Array.isArray(t)){for(var r,i,o=t.concat(),a=[],s=o.length;s--;)"string"==typeof(r=o.shift())?a.push(e(r)[0]):Array.isArray(r)&&"string"==typeof r[0]&&(i=e(r[0],r[1],r[2]),a.push([i[0],i[1],i[2]]));n=a}return n}var I=!1,F=!0;if("string"==typeof t)I=!0;else if(Array.isArray(t)){var O=t.concat();s=[];for(var M,j=O.length;j--;)("string"!=typeof(M=O.shift())||Array.isArray(M)&&"string"!=typeof M[0])&&(F=!1);I=F}if(!1===I)throw new Error('Type of text must be string or Array. "'+t+'" is not recognized.');"string"==typeof t&&(t=t.match(/[\r?\n]/)?t.split(/\r\n|\r|\n/g):[t]);var E=it/g.internal.scaleFactor,R=E*(x-1);switch(i.baseline){case"bottom":n-=R;break;case"top":n+=E-R;break;case"hanging":n+=E-2*R;break;case"middle":n+=E/2-R}if((h=i.maxWidth||0)>0&&("string"==typeof t?t=g.splitTextToSize(t,h):"[object Array]"===Object.prototype.toString.call(t)&&(t=t.reduce(function(t,e){return t.concat(g.splitTextToSize(e,h))},[]))),a={text:t,x:e,y:n,options:i,mutex:{pdfEscape:ge,activeFontKey:vt,fonts:xt,activeFontSize:it}},Bt.publish("preProcessText",a),t=a.text,u=(i=a.options).angle,m instanceof Ht==0&&u&&"number"==typeof u){u*=Math.PI/180,0===i.rotationDirection&&(u=-u),A===w&&(u=-u);var D=Math.cos(u),T=Math.sin(u);m=new Ht(D,T,-T,D,0,0)}else u&&u instanceof Ht&&(m=u);A!==w||m||(m=Gt),void 0!==(c=i.charSpace||hn)&&(y+=S(C(c))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(p=i.horizontalScale)&&(y+=S(100*p)+" Tz\n"),i.lang;var B=-1,q=void 0!==i.renderingMode?i.renderingMode:i.stroke,z=g.internal.getCurrentPageInfo().pageContext;switch(q){case 0:case!1:case"fill":B=0;break;case 1:case!0:case"stroke":B=1;break;case 2:case"fillThenStroke":B=2;break;case 3:case"invisible":B=3;break;case 4:case"fillAndAddForClipping":B=4;break;case 5:case"strokeAndAddPathForClipping":B=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":B=6;break;case 7:case"addToPathForClipping":B=7}var U=void 0!==z.usedRenderingMode?z.usedRenderingMode:-1;-1!==B?y+=B+" Tr\n":-1!==U&&(y+="0 Tr\n"),-1!==B&&(z.usedRenderingMode=B),l=i.align||"left";var V,H=it*x,W=g.internal.pageSize.getWidth(),G=xt[vt];c=i.charSpace||hn,h=i.maxWidth||0,f=Object.assign({autoencode:!0,noBOM:!0},i.flags);var Y=[],X=function(t){return g.getStringUnitWidth(t,{font:G,charSpace:c,fontSize:it,doKerning:!1})*it/L};if("[object Array]"===Object.prototype.toString.call(t)){var J;s=_(t),"left"!==l&&(V=s.map(X));var K,$=0;if("right"===l){e-=V[0],t=[],j=s.length;for(var Q=0;Q<j;Q++)0===Q?(K=nn(e),J=rn(n)):(K=C($-V[Q]),J=-H),t.push([s[Q],K,J]),$=V[Q]}else if("center"===l){e-=V[0]/2,t=[],j=s.length;for(var tt=0;tt<j;tt++)0===tt?(K=nn(e),J=rn(n)):(K=C(($-V[tt])/2),J=-H),t.push([s[tt],K,J]),$=V[tt]}else if("left"===l){t=[],j=s.length;for(var et=0;et<j;et++)t.push(s[et])}else if("justify"===l&&"Identity-H"===G.encoding){t=[],j=s.length,h=0!==h?h:W;for(var nt=0,rt=0;rt<j;rt++)if(J=0===rt?rn(n):-H,K=0===rt?nn(e):nt,rt<j-1){var ot=C((h-V[rt])/(s[rt].split(" ").length-1)),at=s[rt].split(" ");t.push([at[0]+" ",K,J]),nt=0;for(var st=1;st<at.length;st++){var ut=(X(at[st-1]+" "+at[st])-X(at[st]))*L+ot;st==at.length-1?t.push([at[st],ut,0]):t.push([at[st]+" ",ut,0]),nt-=ut}}else t.push([s[rt],K,J]);t.push(["",nt,0])}else{if("justify"!==l)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(t=[],j=s.length,h=0!==h?h:W,rt=0;rt<j;rt++)J=0===rt?rn(n):-H,K=0===rt?nn(e):0,rt<j-1?Y.push(S(C((h-V[rt])/(s[rt].split(" ").length-1)))):Y.push(0),t.push([s[rt],K,J])}}!0===("boolean"==typeof i.R2L?i.R2L:ct)&&(t=k(t,function(t,e,n){return[t.split("").reverse().join(""),e,n]})),a={text:t,x:e,y:n,options:i,mutex:{pdfEscape:ge,activeFontKey:vt,fonts:xt,activeFontSize:it}},Bt.publish("postProcessText",a),t=a.text,b=a.mutex.isHex||!1;var lt=xt[vt].encoding;"WinAnsiEncoding"!==lt&&"StandardEncoding"!==lt||(t=k(t,function(t,e,n){return[N(t),e,n]})),s=_(t),t=[];for(var ht,ft,dt,pt=Array.isArray(s[0])?1:0,mt="",gt=function(t,e,n){var r="";return n instanceof Ht?(n="number"==typeof i.angle?Wt(n,new Ht(1,0,0,1,t,e)):Wt(new Ht(1,0,0,1,t,e),n),A===w&&(n=Wt(new Ht(1,0,0,-1,0,0),n)),r=n.join(" ")+" Tm\n"):r=S(t)+" "+S(e)+" Td\n",r},bt=0;bt<s.length;bt++){switch(mt="",pt){case 1:dt=(b?"<":"(")+s[bt][0]+(b?">":")"),ht=parseFloat(s[bt][1]),ft=parseFloat(s[bt][2]);break;case 0:dt=(b?"<":"(")+s[bt]+(b?">":")"),ht=nn(e),ft=rn(n)}void 0!==Y&&void 0!==Y[bt]&&(mt=Y[bt]+" Tw\n"),0===bt?t.push(mt+gt(ht,ft,m)+dt):0===pt?t.push(mt+dt):1===pt&&t.push(mt+gt(ht,ft,m)+dt)}t=0===pt?t.join(" Tj\nT* "):t.join(" Tj\n"),t+=" Tj\n";var yt="BT\n/";return yt+=vt+" "+it+" Tf\n",yt+=S(it*x)+" TL\n",yt+=ln+"\n",yt+=y,yt+=t,Z(yt+="ET"),d[vt]=!0,g};var Re=p.__private__.clip=p.clip=function(t){return Z("evenodd"===t?"W*":"W"),this};p.clipEvenOdd=function(){return Re("evenodd")},p.__private__.discardPath=p.discardPath=function(){return Z("n"),this};var De=p.__private__.isValidStyle=function(t){var e=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(t)&&(e=!0),e};p.__private__.setDefaultPathOperation=p.setDefaultPathOperation=function(t){return De(t)&&(c=t),this};var Te=p.__private__.getStyle=p.getStyle=function(t){var e=c;switch(t){case"D":case"S":e="S";break;case"F":e="f";break;case"FD":case"DF":e="B";break;case"f":case"f*":case"B":case"B*":e=t}return e},Be=p.close=function(){return Z("h"),this};p.stroke=function(){return Z("S"),this},p.fill=function(t){return qe("f",t),this},p.fillEvenOdd=function(t){return qe("f*",t),this},p.fillStroke=function(t){return qe("B",t),this},p.fillStrokeEvenOdd=function(t){return qe("B*",t),this};var qe=function(t,e){"object"===(0,r.A)(e)?Ve(e,t):Z(t)},ze=function(t){null===t||A===w&&void 0===t||(t=Te(t),Z(t))};function Ue(t,e,n,r,i){var o=new Ot(e||this.boundingBox,n||this.xStep,r||this.yStep,this.gState,i||this.matrix);o.stream=this.stream;var a=t+"$$"+this.cloneIndex+++"$$";return Yt(a,o),o}var Ve=function(t,e){var n=Ct[t.key],r=St[n];if(r instanceof Ft)Z("q"),Z(He(e)),r.gState&&p.setGState(r.gState),Z(t.matrix.toString()+" cm"),Z("/"+n+" sh"),Z("Q");else if(r instanceof Ot){var i=new Ht(1,0,0,-1,0,Ln());t.matrix&&(i=i.multiply(t.matrix||Gt),n=Ue.call(r,t.key,t.boundingBox,t.xStep,t.yStep,i).id),Z("q"),Z("/Pattern cs"),Z("/"+n+" scn"),r.gState&&p.setGState(r.gState),Z(e),Z("Q")}},He=function(t){switch(t){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"}},We=p.moveTo=function(t,e){return Z(S(C(t))+" "+S(F(e))+" m"),this},Ge=p.lineTo=function(t,e){return Z(S(C(t))+" "+S(F(e))+" l"),this},Ye=p.curveTo=function(t,e,n,r,i,o){return Z([S(C(t)),S(F(e)),S(C(n)),S(F(r)),S(C(i)),S(F(o)),"c"].join(" ")),this};p.__private__.line=p.line=function(t,e,n,r,i){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r)||!De(i))throw new Error("Invalid arguments passed to 
2jsPDF.line");return A===y?this.lines([[n-t,r-e]],t,e,[1,1],i||"S"):this.lines([[n-t,r-e]],t,e,[1,1]).stroke()},p.__private__.lines=p.lines=function(t,e,n,r,i,o){var a,s,u,l,c,h,f,d,p,m,g,v;if("number"==typeof t&&(v=n,n=e,e=t,t=v),r=r||[1,1],o=o||!1,isNaN(e)||isNaN(n)||!Array.isArray(t)||!Array.isArray(r)||!De(i)||"boolean"!=typeof o)throw new Error("Invalid arguments passed to jsPDF.lines");for(We(e,n),a=r[0],s=r[1],l=t.length,m=e,g=n,u=0;u<l;u++)2===(c=t[u]).length?(m=c[0]*a+m,g=c[1]*s+g,Ge(m,g)):(h=c[0]*a+m,f=c[1]*s+g,d=c[2]*a+m,p=c[3]*s+g,m=c[4]*a+m,g=c[5]*s+g,Ye(h,f,d,p,m,g));return o&&Be(),ze(i),this},p.path=function(t){for(var e=0;e<t.length;e++){var n=t[e],r=n.c;switch(n.op){case"m":We(r[0],r[1]);break;case"l":Ge(r[0],r[1]);break;case"c":Ye.apply(this,r);break;case"h":Be()}}return this},p.__private__.rect=p.rect=function(t,e,n,r,i){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r)||!De(i))throw new Error("Invalid arguments passed to jsPDF.rect");return A===y&&(r=-r),Z([S(C(t)),S(F(e)),S(C(n)),S(C(r)),"re"].join(" ")),ze(i),this},p.__private__.triangle=p.triangle=function(t,e,n,r,i,o,a){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(o)||!De(a))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[n-t,r-e],[i-n,o-r],[t-i,e-o]],t,e,[1,1],a,!0),this},p.__private__.roundedRect=p.roundedRect=function(t,e,n,r,i,o,a){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(o)||!De(a))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var s=4/3*(Math.SQRT2-1);return i=Math.min(i,.5*n),o=Math.min(o,.5*r),this.lines([[n-2*i,0],[i*s,0,i,o-o*s,i,o],[0,r-2*o],[0,o*s,-i*s,o,-i,o],[2*i-n,0],[-i*s,0,-i,-o*s,-i,-o],[0,2*o-r],[0,-o*s,i*s,-o,i,-o]],t+i,e,[1,1],a,!0),this},p.__private__.ellipse=p.ellipse=function(t,e,n,r,i){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r)||!De(i))throw new Error("Invalid arguments passed to jsPDF.ellipse");var o=4/3*(Math.SQRT2-1)*n,a=4/3*(Math.SQRT2-1)*r;return We(t+n,e),Ye(t+n,e-a,t+o,e-r,t,e-r),Ye(t-o,e-r,t-n,e-a,t-n,e),Ye(t-n,e+a,t-o,e+r,t,e+r),Ye(t+o,e+r,t+n,e+a,t+n,e),ze(i),this},p.__private__.circle=p.circle=function(t,e,n,r){if(isNaN(t)||isNaN(e)||isNaN(n)||!De(r))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(t,e,n,n,r)},p.setFont=function(t,e,n){return n&&(e=N(e,n)),vt=xe(t,e,{disableWarning:!1}),this};var Xe=p.__private__.getFont=p.getFont=function(){return xt[xe.apply(p,arguments)]};p.__private__.getFontList=p.getFontList=function(){var t,e,n={};for(t in Lt)if(Lt.hasOwnProperty(t))for(e in n[t]=[],Lt[t])Lt[t].hasOwnProperty(e)&&n[t].push(e);return n},p.addFont=function(t,e,n,r,i){var o=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==o.indexOf(arguments[3])?i=arguments[3]:arguments[3]&&-1==o.indexOf(arguments[3])&&(n=N(n,r)),me.call(this,t,e,n,i=i||"Identity-H")};var Je,Ke=t.lineWidth||.200025,$e=p.__private__.getLineWidth=p.getLineWidth=function(){return Ke},Ze=p.__private__.setLineWidth=p.setLineWidth=function(t){return Ke=t,Z(S(C(t))+" w"),this};p.__private__.setLineDash=Mt.API.setLineDash=Mt.API.setLineDashPattern=function(t,e){if(t=t||[],e=e||0,isNaN(e)||!Array.isArray(t))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return t=t.map(function(t){return S(C(t))}).join(" "),e=S(C(e)),Z("["+t+"] "+e+" d"),this};var Qe=p.__private__.getLineHeight=p.getLineHeight=function(){return it*Je};p.__private__.getLineHeight=p.getLineHeight=function(){return it*Je};var tn=p.__private__.setLineHeightFactor=p.setLineHeightFactor=function(t){return"number"==typeof(t=t||1.15)&&(Je=t),this},en=p.__private__.getLineHeightFactor=p.getLineHeightFactor=function(){return Je};tn(t.lineHeight);var nn=p.__private__.getHorizontalCoordinate=function(t){return C(t)},rn=p.__private__.getVerticalCoordinate=function(t){return A===w?t:Tt[q].mediaBox.topRightY-Tt[q].mediaBox.bottomLeftY-C(t)},on=p.__private__.getHorizontalCoordinateString=p.getHorizontalCoordinateString=function(t){return S(nn(t))},an=p.__private__.getVerticalCoordinateString=p.getVerticalCoordinateString=function(t){return S(rn(t))},sn=t.strokeColor||"0 G";p.__private__.getStrokeColor=p.getDrawColor=function(){return ee(sn)},p.__private__.setStrokeColor=p.setDrawColor=function(t,e,n,r){return sn=ne({ch1:t,ch2:e,ch3:n,ch4:r,pdfColorType:"draw",precision:2}),Z(sn),this};var un=t.fillColor||"0 g";p.__private__.getFillColor=p.getFillColor=function(){return ee(un)},p.__private__.setFillColor=p.setFillColor=function(t,e,n,r){return un=ne({ch1:t,ch2:e,ch3:n,ch4:r,pdfColorType:"fill",precision:2}),Z(un),this};var ln=t.textColor||"0 g",cn=p.__private__.getTextColor=p.getTextColor=function(){return ee(ln)};p.__private__.setTextColor=p.setTextColor=function(t,e,n,r){return ln=ne({ch1:t,ch2:e,ch3:n,ch4:r,pdfColorType:"text",precision:3}),this};var hn=t.charSpace,fn=p.__private__.getCharSpace=p.getCharSpace=function(){return parseFloat(hn||0)};p.__private__.setCharSpace=p.setCharSpace=function(t){if(isNaN(t))throw new Error("Invalid argument passed to 
2jsPDF.setCharSpace");return hn=t,this};var dn=0;p.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},p.__private__.setLineCap=p.setLineCap=function(t){var e=p.CapJoinStyles[t];if(void 0===e)throw new Error("Line cap style of '"+t+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return dn=e,Z(e+" J"),this};var pn=0;p.__private__.setLineJoin=p.setLineJoin=function(t){var e=p.CapJoinStyles[t];if(void 0===e)throw new Error("Line join style of '"+t+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return pn=e,Z(e+" j"),this},p.__private__.setLineMiterLimit=p.__private__.setMiterLimit=p.setLineMiterLimit=p.setMiterLimit=function(t){if(t=t||0,isNaN(t))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return Z(S(C(t))+" M"),this},p.GState=It,p.setGState=function(t){(t="string"==typeof t?jt[Et[t]]:mn(null,t)).equals(Rt)||(Z("/"+t.id+" gs"),Rt=t)};var mn=function(t,e){if(!t||!Et[t]){var n=!1;for(var r in jt)if(jt.hasOwnProperty(r)&&jt[r].equals(e)){n=!0;break}if(n)e=jt[r];else{var i="GS"+(Object.keys(jt).length+1).toString(10);jt[i]=e,e.id=i}return t&&(Et[t]=e.id),Bt.publish("addGState",e),e}};p.addGState=function(t,e){return mn(t,e),this},p.saveGraphicsState=function(){return Z("q"),Nt.push({key:vt,size:it,color:ln}),this},p.restoreGraphicsState=function(){Z("Q");var t=Nt.pop();return vt=t.key,it=t.size,ln=t.color,Rt=null,this},p.setCurrentTransformationMatrix=function(t){return Z(t.toString()+" cm"),this},p.comment=function(t){return Z("#"+t),this};var gn=function(t,e){var n=t||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return n},set:function(t){isNaN(t)||(n=parseFloat(t))}});var r=e||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return r},set:function(t){isNaN(t)||(r=parseFloat(t))}});var i="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return i},set:function(t){i=t.toString()}}),this},vn=function(t,e,n,r){gn.call(this,t,e),this.type="rect";var i=n||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return i},set:function(t){isNaN(t)||(i=parseFloat(t))}});var o=r||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return o},set:function(t){isNaN(t)||(o=parseFloat(t))}}),this},bn=function(){this.page=Dt,this.currentPage=q,this.pages=X.slice(0),this.pagesContext=Tt.slice(0),this.x=yt,this.y=wt,this.matrix=At,this.width=An(q),this.height=Ln(q),this.outputDestination=K,this.id="",this.objectNumber=-1};bn.prototype.restore=function(){Dt=this.page,q=this.currentPage,Tt=this.pagesContext,X=this.pages,yt=this.x,wt=this.y,At=this.matrix,xn(q,this.width),Nn(q,this.height),K=this.outputDestination};var yn=function(t,e,n,r,i){Vt.push(new bn),Dt=q=0,X=[],yt=t,wt=e,At=i,ve([n,r])};for(var wn in p.beginFormObject=function(t,e,n,r,i){return yn(t,e,n,r,i),this},p.endFormObject=function(t){return function(t){if(Ut[t])Vt.pop().restore();else{var e=new bn,n="Xo"+(Object.keys(zt).length+1).toString(10);e.id=n,Ut[t]=n,zt[n]=e,Bt.publish("addFormObject",e),Vt.pop().restore()}}(t),this},p.doFormObject=function(t,e){var n=zt[Ut[t]];return Z("q"),Z(e.toString()+" cm"),Z("/"+n.id+" Do"),Z("Q"),this},p.getFormObject=function(t){var e=zt[Ut[t]];return{x:e.x,y:e.y,width:e.width,height:e.height,matrix:e.matrix}},p.save=function(t,e){return t=t||"generated.pdf",(e=e||{}).returnPromise=e.returnPromise||!1,!1===e.returnPromise?(ut(Ie(ke()),t),"function"==typeof ut.unload&&tt.setTimeout&&setTimeout(ut.unload,911),this):new Promise(function(e,n){try{var r=ut(Ie(ke()),t);"function"==typeof ut.unload&&tt.setTimeout&&setTimeout(ut.unload,911),e(r)}catch(t){n(t.message)}})},Mt.API)Mt.API.hasOwnProperty(wn)&&("events"===wn&&Mt.API.events.length?function(t,e){var n,r,i;for(i=e.length-1;-1!==i;i--)n=e[i][0],r=e[i][1],t.subscribe.apply(t,[n].concat("function"==typeof r?[r]:r))}(Bt,Mt.API.events):p[wn]=Mt.API[wn]);var An=p.getPageWidth=function(t){return(Tt[t=t||q].mediaBox.topRightX-Tt[t].mediaBox.bottomLeftX)/bt},xn=p.setPageWidth=function(t,e){Tt[t].mediaBox.topRightX=e*bt+Tt[t].mediaBox.bottomLeftX},Ln=p.getPageHeight=function(t){return(Tt[t=t||q].mediaBox.topRightY-Tt[t].mediaBox.bottomLeftY)/bt},Nn=p.setPageHeight=function(t,e){Tt[t].mediaBox.topRightY=e*bt+Tt[t].mediaBox.bottomLeftY};return p.internal={pdfEscape:ge,getStyle:Te,getFont:Xe,getFontSize:at,getCharSpace:fn,getTextColor:cn,getLineHeight:Qe,getLineHeightFactor:en,getLineWidth:$e,write:Q,getHorizontalCoordinate:nn,getVerticalCoordinate:rn,getCoordinateString:on,getVerticalCoordinateString:an,collections:{},newObject:Jt,newAdditionalObject:Zt,newObjectDeferred:Kt,newObjectDeferredBegin:$t,getFilters:re,putStream:ie,events:Bt,scaleFactor:bt,pageSize:{getWidth:function(){return An(q)}
vendor: 4,822 bytes, line 2
2,setWidth:function(t){xn(q,t)},getHeight:function(){return Ln(q)},setHeight:function(t){Nn(q,t)}},encryptionOptions:h,encryption:Oe,getEncryptor:function(t){return null!==h?Oe.encryptor(t,0):function(t){return t}},output:Ce,getNumberOfPages:Ae,pages:X,out:Z,f2:k,f3:I,getPageInfo:Me,getPageInfoByObjId:je,getCurrentPageInfo:Ee,getPDFVersion:g,Point:gn,Rectangle:vn,Matrix:Ht,hasHotfix:Fe},Object.defineProperty(p.internal.pageSize,"width",{get:function(){return An(q)},set:function(t){xn(q,t)},enumerable:!0,configurable:!0}),Object.defineProperty(p.internal.pageSize,"height",{get:function(){return Ln(q)},set:function(t){Nn(q,t)},enumerable:!0,configurable:!0}),function(t){for(var e=0,n=rt.length;e<n;e++){var r=me.call(this,t[e][0],t[e][1],t[e][2],rt[e][3],!0);!1===f&&(d[r]=!0);var i=t[e][0].split("-");pe({id:r,fontName:i[0],fontStyle:i[1]||""})}Bt.publish("addFonts",{fonts:xt,dictionary:Lt})}.call(p,rt),vt="F1",be(o,n),Bt.publish("initialized"),p}Pt.prototype.lsbFirstWord=function(t){return String.fromCharCode(255&t,t>>8&255,t>>16&255,t>>24&255)},Pt.prototype.toHexString=function(t){return t.split("").map(function(t){return("0"+(255&t.charCodeAt(0)).toString(16)).slice(-2)}).join("")},Pt.prototype.hexToBytes=function(t){for(var e=[],n=0;n<t.length;n+=2)e.push(String.fromCharCode(parseInt(t.substr(n,2),16)));return e.join("")},Pt.prototype.processOwnerPassword=function(t,e){return Nt(At(e).substr(0,5),t)},Pt.prototype.encryptor=function(t,e){var n=At(this.encryptionKey+String.fromCharCode(255&t,t>>8&255,t>>16&255,255&e,e>>8&255)).substr(0,10);return function(t){return Nt(n,t)}},It.prototype.equals=function(t){var e,n="id,objectNumber,equals";if(!t||(0,r.A)(t)!==(0,r.A)(this))return!1;var i=0;for(e in this)if(!(n.indexOf(e)>=0)){if(this.hasOwnProperty(e)&&!t.hasOwnProperty(e))return!1;if(this[e]!==t[e])return!1;i++}for(e in t)t.hasOwnProperty(e)&&n.indexOf(e)<0&&i--;return 0===i},Mt.API={events:[]},Mt.version="2.5.2";var jt=Mt.API,Et=1,Rt=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Dt=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Tt=function(t){return t.toFixed(2)},Bt=function(t){return t.toFixed(5)};jt.__acroform__={};var qt=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t},zt=function(t){return t*Et},Ut=function(t){var e=new oe,n=ye.internal.getHeight(t)||0,r=ye.internal.getWidth(t)||0;return e.BBox=[0,0,Number(Tt(r)),Number(Tt(n))],e},Vt=jt.__acroform__.setBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return t|1<<e},Ht=jt.__acroform__.clearBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return t&~(1<<e)},Wt=jt.__acroform__.getBit=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return 0==(t&1<<e)?0:1},Gt=jt.__acroform__.getBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Wt(t,e-1)},Yt=jt.__acroform__.setBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Vt(t,e-1)},Xt=jt.__acroform__.clearBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return Ht(t,e-1)},Jt=jt.__acroform__.calculateCoordinates=function(t,e){var n=e.internal.getHorizontalCoordinate,r=e.internal.getVerticalCoordinate,i=t[0],o=t[1],a=t[2],s=t[3],u={};return u.lowerLeft_X=n(i)||0,u.lowerLeft_Y=r(o+s)||0,u.upperRight_X=n(i+a)||0,u.upperRight_Y=r(o)||0,[Number(Tt(u.lowerLeft_X)),Number(Tt(u.lowerLeft_Y)),Number(Tt(u.upperRight_X)),Number(Tt(u.upperRight_Y))]},Kt=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var e=[],n=t._V||t.DV,r=$t(t,n),i=t.scope.internal.getFont(t.fontName,t.fontStyle).id;e.push("/Tx BMC"),e.push("q"),e.push("BT"),e.push(t.scope.__private__.encodeColorString(t.color)),e.push("/"+i+" "+Tt(r.fontSize)+" Tf"),e.push("1 0 0 1 0 0 Tm"),e.push(r.text),e.push("ET"),e.push("Q"),e.push("EMC");var o=Ut(t);return o.scope=t.scope,o.stream=e.join("\n"),o}},$t=function(t,e){var n=0===t.fontSize?t.maxFontSize:t.fontSize,r={text:"",fontSize:""},i=(e=")"==(e="("==e.substr(0,1)?e.substr(1):e).substr(e.length-1)?e.substr(0,e.length-1):e).split(" ");i=t.multiline?i.map(function(t){return t.split("\n")}):i.map(function(t){return[t]});var o=n,a=ye.internal.getHeight(t)||0;a=a<0?-a:a;var s=ye.internal.getWidth(t)||0;s=s<0?-s:s;var u=function(e,n,r){if(e+1<i.length){var o=n+" "+i[e+1][0];return Zt(o,t,r).width<=s-4}return!1};o++;t:for(;o>0;){e="",o--;
vendor: 4,454 bytes, line 2
2var l,c,h=Zt("3",t,o).height,f=t.multiline?a-o:(a-h)/2,d=f+=2,p=0,m=0,g=0;if(o<=0){e="(...) Tj\n",e+="% Width of Text: "+Zt(e,t,o=12).width+", FieldWidth:"+s+"\n";break}for(var v="",b=0,y=0;y<i.length;y++)if(i.hasOwnProperty(y)){var w=!1;if(1!==i[y].length&&g!==i[y].length-1){if((h+2)*(b+2)+2>a)continue t;v+=i[y][g],w=!0,m=y,y--}else{v=" "==(v+=i[y][g]+" ").substr(v.length-1)?v.substr(0,v.length-1):v;var A=parseInt(y),x=u(A,v,o),L=y>=i.length-1;if(x&&!L){v+=" ",g=0;continue}if(x||L){if(L)m=A;else if(t.multiline&&(h+2)*(b+2)+2>a)continue t}else{if(!t.multiline)continue t;if((h+2)*(b+2)+2>a)continue t;m=A}}for(var N="",S=p;S<=m;S++){var P=i[S];if(t.multiline){if(S===m){N+=P[g]+" ",g=(g+1)%P.length;continue}if(S===p){N+=P[P.length-1]+" ";continue}}N+=P[0]+" "}switch(N=" "==N.substr(N.length-1)?N.substr(0,N.length-1):N,c=Zt(N,t,o).width,t.textAlign){case"right":l=s-c-2;break;case"center":l=(s-c)/2;break;default:l=2}e+=Tt(l)+" "+Tt(d)+" Td\n",e+="("+Rt(N)+") Tj\n",e+=-Tt(l)+" 0 Td\n",d=-(o+2),c=0,p=w?m:m+1,b++,v=""}break}return r.text=e,r.fontSize=o,r},Zt=function(t,e,n){var r=e.scope.internal.getFont(e.fontName,e.fontStyle),i=e.scope.getStringUnitWidth(t,{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n);return{height:e.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n)*1.5,width:i}},Qt={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},te=function(t,e){var n={type:"reference",object:t};void 0===e.internal.getPageInfo(t.page).pageContext.annotations.find(function(t){return t.type===n.type&&t.object===n.object})&&e.internal.getPageInfo(t.page).pageContext.annotations.push(n)},ee=function(t,e){if(e.scope=t,void 0!==t.internal&&(void 0===t.internal.acroformPlugin||!1===t.internal.acroformPlugin.isInitialized)){if(se.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify(Qt)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Et=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new ae,t.internal.acroformPlugin.acroFormDictionaryRoot.scope=t,t.internal.acroformPlugin.acroFormDictionaryRoot._eventID=t.internal.events.subscribe("postPutResources",function(){var e;(e=t).internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0}),t.internal.events.subscribe("buildDocument",function(){!function(t){t.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var e=t.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];r.objId=void 0,r.hasAnnotation&&te(r,t)}}(t)}),t.internal.events.subscribe("putCatalog",function(){!function(t){if(void 0===t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");t.internal.write("/AcroForm "+t.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(t)}),t.internal.events.subscribe("postPutPages",function(e){!function(t,e){var n=!t;for(var i in t||(e.internal.newObjectDeferredBegin(e.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),e.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),t=t||e.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(t.hasOwnProperty(i)){var o=t[i],a=[],s=o.Rect;if(o.Rect&&(o.Rect=Jt(o.Rect,e)),e.internal.newObjectDeferredBegin(o.objId,!0),o.DA=ye.createDefaultAppearanceStream(o),"object"===(0,r.A)(o)&&"function"==typeof o.getKeyValueListForStream&&(a=o.getKeyValueListForStream()),o.Rect=s,o.hasAppearanceStream&&!o.appearanceStreamContent){var u=Kt(o);a.push({key:"AP",value:"<</N "+u+">>"}),e.internal.acroformPlugin.xForms.push(u)}if(o.appearanceStreamContent){var l="";for(var c in o.appearanceStreamContent)if(o.appearanceStreamContent.hasOwnProperty(c)){var h=o.appearanceStreamContent[c];if(l+="/"+c+" ",l+="<<",Object.keys(h).length>=1||Array.isArray(h)){for(var i in h)if(h.hasOwnProperty(i)){var f=h[i];"function"==typeof f&&(f=f.call(e,o)),l+="/"+i+" "+f+" ",e.internal.acroformPlugin.xForms.indexOf(f)>=0||e.internal.acroformPlugin.xForms.push(f)}}else"function"==typeof(f=h)&&(f=f.call(e,o)),l+="/"+i+" "+f,e.internal.acroformPlugin.xForms.indexOf(f)>=0||e.internal.acroformPlugin.xForms.push(f);l+=">>"}a.push({key:"AP",value:"<<\n"+l+">>"})}e.internal.putStream({additionalKeyValues:a,objectId:o.objId}
vendor: 4,389 bytes, line 2
2),e.internal.out("endobj")}n&&function(t,e){for(var n in t)if(t.hasOwnProperty(n)){var i=n,o=t[n];e.internal.newObjectDeferredBegin(o.objId,!0),"object"===(0,r.A)(o)&&"function"==typeof o.putStream&&o.putStream(),delete t[i]}}(e.internal.acroformPlugin.xForms,e)}(e,t)}),t.internal.acroformPlugin.isInitialized=!0}},ne=jt.__acroform__.arrayToPdfArray=function(t,e,n){var i=function(t){return t};if(Array.isArray(t)){for(var o="[",a=0;a<t.length;a++)switch(0!==a&&(o+=" "),(0,r.A)(t[a])){case"boolean":case"number":case"object":o+=t[a].toString();break;case"string":"/"!==t[a].substr(0,1)?(void 0!==e&&n&&(i=n.internal.getEncryptor(e)),o+="("+Rt(i(t[a].toString()))+")"):o+=t[a].toString()}return o+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},re=function(t,e,n){var r=function(t){return t};return void 0!==e&&n&&(r=n.internal.getEncryptor(e)),(t=t||"").toString(),"("+Rt(r(t))+")"},ie=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)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})};ie.prototype.toString=function(){return this.objId+" 0 R"},ie.prototype.putStream=function(){var t=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:t,objectId:this.objId}),this.scope.internal.out("endobj")},ie.prototype.getKeyValueListForStream=function(){var t=[],e=Object.getOwnPropertyNames(this).filter(function(t){return"content"!=t&&"appearanceStreamContent"!=t&&"scope"!=t&&"objId"!=t&&"_"!=t.substring(0,1)});for(var n in e)if(!1===Object.getOwnPropertyDescriptor(this,e[n]).configurable){var r=e[n],i=this[r];i&&(Array.isArray(i)?t.push({key:r,value:ne(i,this.objId,this.scope)}):i instanceof ie?(i.scope=this.scope,t.push({key:r,value:i.objId+" 0 R"})):"function"!=typeof i&&t.push({key:r,value:i}))}return t};var oe=function(){ie.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,e=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return e},set:function(t){e=t}}),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}})};qt(oe,ie);var ae=function(){ie.call(this);var t,e=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return e.length>0?e:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return e}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(t){var e=function(t){return t};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+Rt(e(t))+")"}},set:function(e){t=e}})};qt(ae,ie);var se=function t(){ie.call(this);var e=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){if(isNaN(t))throw new Error('Invalid value "'+t+'" for attribute F supplied.');e=t}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(e,3))},set:function(t){!0===Boolean(t)?this.F=Yt(e,3):this.F=Xt(e,3)}});var n=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return n},set:function(t){if(isNaN(t))throw new Error('Invalid value "'+t+'" for attribute Ff supplied.');n=t}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(t){r=void 0!==t?t:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(t){r[0]=t}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(t){r[1]=t}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(t){r[2]=t}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]}
vendor: 4,857 bytes, line 2
2,set:function(t){r[3]=t}});var i="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return i},set:function(t){switch(t){case"/Btn":case"/Tx":case"/Ch":case"/Sig":i=t;break;default:throw new Error('Invalid value "'+t+'" for attribute FT supplied.')}}});var o=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!o||o.length<1){if(this instanceof me)return;o="FieldObject"+t.FieldNum++}var e=function(t){return t};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+Rt(e(o))+")"},set:function(t){o=t.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return o},set:function(t){o=t}});var a="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return a},set:function(t){a=t}});var s="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return s},set:function(t){s=t}});var u=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return u},set:function(t){u=t}});var l=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===l?50/Et:l},set:function(t){l=t}});var c="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return c},set:function(t){c=t}});var h="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!h||this instanceof me||this instanceof ve))return re(h,this.objId,this.scope)},set:function(t){t=t.toString(),h=t}});var f=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof fe==0?re(f,this.objId,this.scope):f},set:function(t){t=t.toString(),f=this instanceof fe==0?"("===t.substr(0,1)?Dt(t.substr(1,t.length-2)):Dt(t):t}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof fe==1?Dt(f.substr(1,f.length-1)):f},set:function(t){t=t.toString(),f=this instanceof fe==1?"/"+t:t}});var d=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(d)return d},set:function(t){this.V=t}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(d)return this instanceof fe==0?re(d,this.objId,this.scope):d},set:function(t){t=t.toString(),d=this instanceof fe==0?"("===t.substr(0,1)?Dt(t.substr(1,t.length-2)):Dt(t):t}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof fe==1?Dt(d.substr(1,d.length-1)):d},set:function(t){t=t.toString(),d=this instanceof fe==1?"/"+t:t}}),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 p,m=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return m},set:function(t){t=Boolean(t),m=t}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(p)return p},set:function(t){p=t}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,1))},set:function(t){!0===Boolean(t)?this.Ff=Yt(this.Ff,1):this.Ff=Xt(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,2))},set:function(t){!0===Boolean(t)?this.Ff=Yt(this.Ff,2):this.Ff=Xt(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,3))},set:function(t){!0===Boolean(t)?this.Ff=Yt(this.Ff,3):this.Ff=Xt(this.Ff,3)}});var g=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==g)return g},set:function(t){if(-1===[0,1,2].indexOf(t))throw new Error('Invalid value "'+t+'" for attribute Q supplied.');g=t}}),Object.defineProperty(this,"textAlign",{get:function(){var t;switch(g){case 0:default:t="left";break;case 1:t="center";break;case 2:t="right"}return t},configurable:!0,enumerable:!0,set:function(t){switch(t){case"right":case 2:g=2;break;case"center":case 1:g=1;break;default:g=0}}})};qt(se,ie);var ue=function(){se.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 e=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return ne(e,this.objId,this.scope)}
vendor: 13,588 bytes, line 2
2,set:function(t){var n,r;r=[],"string"==typeof(n=t)&&(r=function(t,e,n){n||(n=1);for(var r,i=[];r=e.exec(t);)i.push(r[n]);return i}(n,/\((.*?)\)/g)),e=r}}),this.getOptions=function(){return e},this.setOptions=function(t){e=t,this.sort&&e.sort()},this.addOption=function(t){t=(t=t||"").toString(),e.push(t),this.sort&&e.sort()},this.removeOption=function(t,n){for(n=n||!1,t=(t=t||"").toString();-1!==e.indexOf(t)&&(e.splice(e.indexOf(t),1),!1!==n););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,18))},set:function(t){!0===Boolean(t)?this.Ff=Yt(this.Ff,18):this.Ff=Xt(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,19))},set:function(t){!0===this.combo&&(!0===Boolean(t)?this.Ff=Yt(this.Ff,19):this.Ff=Xt(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,20))},set:function(t){!0===Boolean(t)?(this.Ff=Yt(this.Ff,20),e.sort()):this.Ff=Xt(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,22))},set:function(t){!0===Boolean(t)?this.Ff=Yt(this.Ff,22):this.Ff=Xt(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,23))},set:function(t){!0===Boolean(t)?this.Ff=Yt(this.Ff,23):this.Ff=Xt(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,27))},set:function(t){!0===Boolean(t)?this.Ff=Yt(this.Ff,27):this.Ff=Xt(this.Ff,27)}}),this.hasAppearanceStream=!1};qt(ue,se);var le=function(){ue.call(this),this.fontName="helvetica",this.combo=!1};qt(le,ue);var ce=function(){le.call(this),this.combo=!0};qt(ce,le);var he=function(){ce.call(this),this.edit=!0};qt(he,ce);var fe=function(){se.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,15))},set:function(t){!0===Boolean(t)?this.Ff=Yt(this.Ff,15):this.Ff=Xt(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,16))},set:function(t){!0===Boolean(t)?this.Ff=Yt(this.Ff,16):this.Ff=Xt(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,17))},set:function(t){!0===Boolean(t)?this.Ff=Yt(this.Ff,17):this.Ff=Xt(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,26))},set:function(t){!0===Boolean(t)?this.Ff=Yt(this.Ff,26):this.Ff=Xt(this.Ff,26)}});var t,e={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(t){return t};if(this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(e).length){var n,r=[];for(n in r.push("<<"),e)r.push("/"+n+" ("+Rt(t(e[n]))+")");return r.push(">>"),r.join("\n")}},set:function(t){"object"===(0,r.A)(t)&&(e=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return e.CA||""},set:function(t){"string"==typeof t&&(e.CA=t)}}),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}})};qt(fe,se);var de=function(){fe.call(this),this.pushButton=!0};qt(de,fe);var pe=function(){fe.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=void 0!==e?e:[]}})};qt(pe,fe);var me=function(){var t,e;se.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return e},set:function(t){e=t}});var n,i={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(t){return t};this.scope&&(t=this.scope.internal.getEncryptor(this.objId));var e,n=[];for(e in n.push("<<"),i)n.push("/"+e+" ("+Rt(t(i[e]))+")");return n.push(">>"),n.join("\n")},set:function(t){"object"===(0,r.A)(t)&&(i=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return i.CA||""},set:function(t){"string"==typeof t&&(i.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(t){n=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(t){n="/"+t}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=ye.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};qt(me,se),pe.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 e in this.Kids)if(this.Kids.hasOwnProperty(e)){var n=this.Kids[e];n.appearanceStreamContent=t.createAppearanceStream(n.optionName),n.caption=t.getCA()}},pe.prototype.createOption=function(t){var e=new me;return e.Parent=this,e.optionName=t,this.Kids.push(e),we.call(this.scope,e),e};var ge=function(){fe.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=ye.CheckBox.createAppearanceStream()};qt(ge,fe);var ve=function(){se.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,13))},set:function(t){!0===Boolean(t)?this.Ff=Yt(this.Ff,13):this.Ff=Xt(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,21))},set:function(t){!0===Boolean(t)?this.Ff=Yt(this.Ff,21):this.Ff=Xt(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,23))},set:function(t){!0===Boolean(t)?this.Ff=Yt(this.Ff,23):this.Ff=Xt(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,24))},set:function(t){!0===Boolean(t)?this.Ff=Yt(this.Ff,24):this.Ff=Xt(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,25))},set:function(t){!0===Boolean(t)?this.Ff=Yt(this.Ff,25):this.Ff=Xt(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,26))},set:function(t){!0===Boolean(t)?this.Ff=Yt(this.Ff,26):this.Ff=Xt(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){Number.isInteger(e)&&(t=e)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};qt(ve,se);var be=function(){ve.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,14))},set:function(t){!0===Boolean(t)?this.Ff=Yt(this.Ff,14):this.Ff=Xt(this.Ff,14)}}),this.password=!0};qt(be,ve);var ye={CheckBox:{createAppearanceStream:function(){return{N:{On:ye.CheckBox.YesNormal},D:{On:ye.CheckBox.YesPushDown,Off:ye.CheckBox.OffPushDown}}},YesPushDown:function(t){var e=Ut(t);e.scope=t.scope;var n=[],r=t.scope.internal.getFont(t.fontName,t.fontStyle).id,i=t.scope.__private__.encodeColorString(t.color),o=$t(t,t.caption);return n.push("0.749023 g"),n.push("0 0 "+Tt(ye.internal.getWidth(t))+" "+Tt(ye.internal.getHeight(t))+" re"),n.push("f"),n.push("BMC"),n.push("q"),n.push("0 0 1 rg"),n.push("/"+r+" "+Tt(o.fontSize)+" Tf "+i),n.push("BT"),n.push(o.text),n.push("ET"),n.push("Q"),n.push("EMC"),e.stream=n.join("\n"),e},YesNormal:function(t){var e=Ut(t);e.scope=t.scope;var n=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color),i=[],o=ye.internal.getHeight(t),a=ye.internal.getWidth(t),s=$t(t,t.caption);return i.push("1 g"),i.push("0 0 "+Tt(a)+" "+Tt(o)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+Tt(a-1)+" "+Tt(o-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+n+" "+Tt(s.fontSize)+" Tf "+r),i.push(s.text),i.push("ET"),i.push("Q"),e.stream=i.join("\n"),e},OffPushDown:function(t){var e=Ut(t);e.scope=t.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+Tt(ye.internal.getWidth(t))+" "+Tt(ye.internal.getHeight(t))+" re"),n.push("f"),e.stream=n.join("\n"),e}},RadioButton:{Circle:{createAppearanceStream:function(t){var e={D:{Off:ye.RadioButton.Circle.OffPushDown},N:{}};return e.N[t]=ye.RadioButton.Circle.YesNormal,e.D[t]=ye.RadioButton.Circle.YesPushDown,e},getCA:function(){return"l"},YesNormal:function(t){var e=Ut(t);e.scope=t.scope;var n=[],r=ye.internal.getWidth(t)<=ye.internal.getHeight(t)?ye.internal.getWidth(t)/4:ye.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var i=ye.internal.Bezier_C,o=Number((r*i).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+Bt(ye.internal.getWidth(t)/2)+" "+Bt(ye.internal.getHeight(t)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+o+" "+o+" "+r+" 0 "+r+" c"),n.push("-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c"),n.push("-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c"),n.push(o+" -"+r+" "+r+" -"+o+" "+r+" 0 c"),n.push("f"),n.push("Q"),e.stream=n.join("\n"),e},YesPushDown:function(t){var e=Ut(t);e.scope=t.scope;var n=[],r=ye.internal.getWidth(t)<=ye.internal.getHeight(t)?ye.internal.getWidth(t)/4:ye.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),o=Number((i*ye.internal.Bezier_C).toFixed(5)),a=Number((r*ye.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+Bt(ye.internal.getWidth(t)/2)+" "+Bt(ye.internal.getHeight(t)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),n.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),n.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),n.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+Bt(ye.internal.getWidth(t)/2)+" "+Bt(ye.internal.getHeight(t)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+a+" "+a+" "+r+" 0 "+r+" c"),n.push("-"+a+" "+r+" -"+r+" "+a+" -"+r+" 0 c"),n.push("-"+r+" -"+a+" -"+a+" -"+r+" 0 -"+r+" c"),n.push(a+" -"+r+" "+r+" -"+a+" "+r+" 0 c"),n.push("f"),n.push("Q"),e.stream=n.join("\n"),e},OffPushDown:function(t){var e=Ut(t);e.scope=t.scope;var n=[],r=ye.internal.getWidth(t)<=ye.internal.getHeight(t)?ye.internal.getWidth(t)/4:ye.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),o=Number((i*ye.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+Bt(ye.internal.getWidth(t)/2)+" "+Bt(ye.internal.getHeight(t)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),n.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),n.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),n.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),n.push("f"),n.push("Q"),e.stream=n.join("\n"),e}},Cross:{createAppearanceStream:function(t){var e={D:{Off:ye.RadioButton.Cross.OffPushDown},N:{}};return e.N[t]=ye.RadioButton.Cross.YesNormal,e.D[t]=ye.RadioButton.Cross.YesPushDown,e},getCA:function(){return"8"},YesNormal:function(t){var e=Ut(t);e.scope=t.scope;var n=[],r=ye.internal.calculateCross(t);return n.push("q"),n.push("1 1 "+Tt(ye.internal.getWidth(t)-2)+" "+Tt(ye.internal.getHeight(t)-2)+" re"),n.push("W"),n.push("n"),n.push(Tt(r.x1.x)+" "+Tt(r.x1.y)+" m"),n.push(Tt(r.x2.x)+" "+Tt(r.x2.y)+" l"),n.push(Tt(r.x4.x)+" "+Tt(r.x4.y)+" m"),n.push(Tt(r.x3.x)+" "+Tt(r.x3.y)+" l"),n.push("s"),n.push("Q"),e.stream=n.join("\n"),e},YesPushDown:function(t){var e=Ut(t);e.scope=t.scope;var n=ye.internal.calculateCross(t),r=[];return r.push("0.749023 g"),r.push("0 0 "+Tt(ye.internal.getWidth(t))+" "+Tt(ye.internal.getHeight(t))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+Tt(ye.internal.getWidth(t)-2)+" "+Tt(ye.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(Tt(n.x1.x)+" "+Tt(n.x1.y)+" m"),r.push(Tt(n.x2.x)+" "+Tt(n.x2.y)+" l"),r.push(Tt(n.x4.x)+" "+Tt(n.x4.y)+" m"),r.push(Tt(n.x3.x)+" "+Tt(n.x3.y)+" l"),r.push("s"),r.push("Q"),e.stream=r.join("\n"),e},OffPushDown:function(t){var e=Ut(t);e.scope=t.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+Tt(ye.internal.getWidth(t))+" "+Tt(ye.internal.getHeight(t))+" re"),n.push("f"),e.stream=n.join("\n"),e}}},createDefaultAppearanceStream:function(t){var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,n=t.scope.__private__.encodeColorString(t.color);return"/"+e+" "+t.fontSize+" Tf "+n}};ye.internal={Bezier_C:.551915024494,calculateCross:function(t){var e=ye.internal.getWidth(t),n=ye.internal.getHeight(t),r=Math.min(e,n);return{x1:{x:(e-r)/2,y:(n-r)/2+r},x2:{x:(e-r)/2+r,y:(n-r)/2},x3:{x:(e-r)/2,y:(n-r)/2},x4:{x:(e-r)/2+r,y:(n-r)/2+r}}}},ye.internal.getWidth=function(t){var e=0;return"object"===(0,r.A)(t)&&(e=zt(t.Rect[2])),e},ye.internal.getHeight=function(t){var e=0;return"object"===(0,r.A)(t)&&(e=zt(t.Rect[3])),e};var we=jt.addField=function(t){if(ee(this,t),!(t instanceof se))throw new Error("Invalid argument passed to 
2jsPDF.addField.");var e;return(e=t).scope.internal.acroformPlugin.printedOut&&(e.scope.internal.acroformPlugin.printedOut=!1,e.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};jt.AcroFormChoiceField=ue,jt.AcroFormListBox=le,jt.AcroFormComboBox=ce,jt.AcroFormEditBox=he,jt.AcroFormButton=fe,jt.AcroFormPushButton=de,jt.AcroFormRadioButton=pe,jt.AcroFormCheckBox=ge,jt.AcroFormTextField=ve,jt.AcroFormPasswordField=be,jt.AcroFormAppearance=ye,jt.AcroForm={ChoiceField:ue,ListBox:le,ComboBox:ce,EditBox:he,Button:fe,PushButton:de,RadioButton:pe,CheckBox:ge,TextField:ve,PasswordField:be,Appearance:ye},Mt.AcroForm={ChoiceField:ue,ListBox:le,ComboBox:ce,EditBox:he,Button:fe,PushButton:de,RadioButton:pe,CheckBox:ge,TextField:ve,PasswordField:be,Appearance:ye};Mt.AcroForm;function Ae(t){return t.reduce(function(t,e,n){return t[e]=n,t},{})}!function(t){t.__addimage__={};var e="UNKNOWN",n={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]]},i=t.__addimage__.getImageFileTypeByImageData=function(t,r){var i,o,a,s,u,l=e;if("RGBA"===(r=r||e)||void 0!==t.data&&t.data instanceof Uint8ClampedArray&&"height"in t&&"width"in t)return"RGBA";if(L(t))for(u in n)for(a=n[u],i=0;i<a.length;i+=1){for(s=!0,o=0;o<a[i].length;o+=1)if(void 0!==a[i][o]&&a[i][o]!==t[o]){s=!1;break}if(!0===s){l=u;break}}else for(u in n)for(a=n[u],i=0;i<a.length;i+=1){for(s=!0,o=0;o<a[i].length;o+=1)if(void 0!==a[i][o]&&a[i][o]!==t.charCodeAt(o)){s=!1;break}if(!0===s){l=u;break}}return l===e&&r!==e&&(l=r),l},o=function t(e){for(var n=this.internal.write,r=this.internal.putStream,i=(0,this.internal.getFilters)();-1!==i.indexOf("FlateEncode");)i.splice(i.indexOf("FlateEncode"),1);e.objectId=this.internal.newObject();var o=[];if(o.push({key:"Type",value:"/XObject"}),o.push({key:"Subtype",value:"/Image"}),o.push({key:"Width",value:e.width}),o.push({key:"Height",value:e.height}),e.colorSpace===v.INDEXED?o.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(e.palette.length/3-1)+" "+("sMask"in e&&void 0!==e.sMask?e.objectId+2:e.objectId+1)+" 0 R]"}):(o.push({key:"ColorSpace",value:"/"+e.colorSpace}),e.colorSpace===v.DEVICE_CMYK&&o.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),o.push({key:"BitsPerComponent",value:e.bitsPerComponent}),"decodeParameters"in e&&void 0!==e.decodeParameters&&o.push({key:"DecodeParms",value:"<<"+e.decodeParameters+">>"}),"transparency"in e&&Array.isArray(e.transparency)){for(var a="",s=0,u=e.transparency.length;s<u;s++)a+=e.transparency[s]+" "+e.transparency[s]+" ";o.push({key:"Mask",value:"["+a+"]"})}void 0!==e.sMask&&o.push({key:"SMask",value:e.objectId+1+" 0 R"});var l=void 0!==e.filter?["/"+e.filter]:void 0;if(r({data:e.data,additionalKeyValues:o,alreadyAppliedFilters:l,objectId:e.objectId}),n("endobj"),"sMask"in e&&void 0!==e.sMask){var c="/Predictor "+e.predictor+" /Colors 1 /BitsPerComponent "+e.bitsPerComponent+" /Columns "+e.width,h={width:e.width,height:e.height,colorSpace:"DeviceGray",bitsPerComponent:e.bitsPerComponent,decodeParameters:c,data:e.sMask};"filter"in e&&(h.filter=e.filter),t.call(this,h)}if(e.colorSpace===v.INDEXED){var f=this.internal.newObject();r({data:S(new Uint8Array(e.palette)),objectId:f}),n("endobj")}},a=function(){var t=this.internal.collections.addImage_images;for(var e in t)o.call(this,t[e])},s=function(){var t,e=this.internal.collections.addImage_images,n=this.internal.write;for(var r in e)n("/I"+(t=e[r]).index,t.objectId,"0","R")},u=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",a),this.internal.events.subscribe("putXobjectDict",s))},l=function(){var t=this.internal.collections.addImage_images;return u.call(this),t},c=function(){return Object.keys(this.internal.collections.addImage_images).length},h=function(e){return"function"==typeof t["process"+e.toUpperCase()]},f=function(t){return"object"===(0,r.A)(t)&&1===t.nodeType},d=function(e,n){if("IMG"===e.nodeName&&e.hasAttribute("src")){var r=""+e.getAttribute("src");if(0===r.indexOf("data:image/"))return at(unescape(r).split("base64,").pop());var i=t.loadFile(r,!0);if(void 0!==i)return i}if("CANVAS"===e.nodeName){if(0===e.width||0===e.height)throw new Error("Given canvas must have data. Canvas width: "+e.width+", height: "+e.height);var o;switch(n){case"PNG":o="image/png";break;case"WEBP":o="image/webp";break;default:o="image/jpeg"}return at(e.toDataURL(o,1).split("base64,").pop())}},p=function(t){var e=this.internal.collections.addImage_images;if(e)for(var n in e)if(t===e[n].alias)return e[n]},m=function(t,e,n){return t||e||(t=-96,e=-96),t<0&&(t=-1*n.width*72/t/this.internal.scaleFactor),e<0&&(e=-1*n.height*72/e/this.internal.scaleFactor),0===t&&(t=e*n.width/n.height),0===e&&(e=t*n.height/n.width),[t,e]},g=function(t,e,n,r,i,o){var a=m.call(this,n,r,i),s=this.internal.getCoordinateString,u=this.internal.getVerticalCoordinateString,c=l.call(this);if(n=a[0],r=a[1],c[i.index]=i,o){o*=Math.PI/180;var h=Math.cos(o),f=Math.sin(o),d=function(t){return t.toFixed(4)},p=[d(h),d(f),d(-1*f),d(h),0,0,"cm"]}this.internal.write("q"),o?(this.internal.write([1,"0","0",1,s(t),u(e+r),"cm"].join(" ")),this.internal.write(p.join(" ")),this.internal.write([s(n),"0","0",s(r),"0","0","cm"].join(" "))):this.internal.write([s(n),"0","0",s(r),s(t),u(e+r),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+i.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 b=t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},y=t.__addimage__.sHashCode=function(t){var e,n,r=0;if("string"==typeof t)for(n=t.length,e=0;e<n;e++)r=(r<<5)-r+t.charCodeAt(e),r|=0;else if(L(t))for(n=t.byteLength/2,e=0;e<n;e++)r=(r<<5)-r+t[e],r|=0;return r}
vendor: 4,075 bytes, line 2
2,w=t.__addimage__.validateStringAsBase64=function(t){(t=t||"").toString().trim();var e=!0;return 0===t.length&&(e=!1),t.length%4!=0&&(e=!1),!1===/^[A-Za-z0-9+/]+$/.test(t.substr(0,t.length-2))&&(e=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(t.substr(-2))&&(e=!1),e},A=t.__addimage__.extractImageFromDataUrl=function(t){var e=(t=t||"").split("base64,"),n=null;if(2===e.length){var r=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(e[0]);Array.isArray(r)&&(n={mimeType:r[1],charset:r[2],data:e[1]})}return n},x=t.__addimage__.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array};t.__addimage__.isArrayBuffer=function(t){return x()&&t instanceof ArrayBuffer};var L=t.__addimage__.isArrayBufferView=function(t){return x()&&"undefined"!=typeof Uint32Array&&(t instanceof Int8Array||t instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)},N=t.__addimage__.binaryStringToUint8Array=function(t){for(var e=t.length,n=new Uint8Array(e),r=0;r<e;r++)n[r]=t.charCodeAt(r);return n},S=t.__addimage__.arrayBufferToBinaryString=function(t){for(var e="",n=L(t)?t:new Uint8Array(t),r=0;r<n.length;r+=8192)e+=String.fromCharCode.apply(null,n.subarray(r,r+8192));return e};t.addImage=function(){var t,n,i,o,a,s,l,c,h;if("number"==typeof arguments[1]?(n=e,i=arguments[1],o=arguments[2],a=arguments[3],s=arguments[4],l=arguments[5],c=arguments[6],h=arguments[7]):(n=arguments[1],i=arguments[2],o=arguments[3],a=arguments[4],s=arguments[5],l=arguments[6],c=arguments[7],h=arguments[8]),"object"===(0,r.A)(t=arguments[0])&&!f(t)&&"imageData"in t){var d=t;t=d.imageData,n=d.format||n||e,i=d.x||i||0,o=d.y||o||0,a=d.w||d.width||a,s=d.h||d.height||s,l=d.alias||l,c=d.compression||c,h=d.rotation||d.angle||h}var p=this.internal.getFilters();if(void 0===c&&-1!==p.indexOf("FlateEncode")&&(c="SLOW"),isNaN(i)||isNaN(o))throw new Error("Invalid coordinates passed to jsPDF.addImage");u.call(this);var m=P.call(this,t,n,l,c);return g.call(this,i,o,a,s,m,h),this};var P=function(n,r,o,a){var s,u,l;if("string"==typeof n&&i(n)===e){n=unescape(n);var m=_(n,!1);(""!==m||void 0!==(m=t.loadFile(n,!0)))&&(n=m)}if(f(n)&&(n=d(n,r)),r=i(n,r),!h(r))throw new Error("addImage does not support files of type '"+r+"', please ensure that a plugin for '"+r+"' support is added.");if((null==(l=o)||0===l.length)&&(o=function(t){return"string"==typeof t||L(t)?y(t):L(t.data)?y(t.data):null}(n)),(s=p.call(this,o))||(x()&&(n instanceof Uint8Array||"RGBA"===r||(u=n,n=N(n))),s=this["process"+r.toUpperCase()](n,c.call(this),o,function(e){return e&&"string"==typeof e&&(e=e.toUpperCase()),e in t.image_compression?e:b.NONE}(a),u)),!s)throw new Error("An unknown error occurred whilst processing the image.");return s},_=t.__addimage__.convertBase64ToBinaryString=function(t,e){var n;e="boolean"!=typeof e||e;var r,i="";if("string"==typeof t){r=null!==(n=A(t))?n.data:t;try{i=at(r)}catch(t){if(e)throw w(r)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+t.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return i};t.getImageProperties=function(n){var r,o,a="";if(f(n)&&(n=d(n)),"string"==typeof n&&i(n)===e&&(""===(a=_(n,!1))&&(a=t.loadFile(n)||""),n=a),o=i(n),!h(o))throw new Error("addImage does not support files of type '"+o+"', please ensure that a plugin for '"+o+"' support is added.");if(!x()||n instanceof Uint8Array||(n=N(n)),!(r=this["process"+o.toUpperCase()](n)))throw new Error("An unknown error occurred whilst processing the image");return r.fileType=o,r}}(Mt.API),function(t){var e=function(t){if(void 0!==t&&""!=t)return!0};Mt.API.events.push(["addPage",function(t){this.internal.getPageInfo(t.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(t){for(var n,r,i,o=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,
vendor: 2,861 bytes, line 2
2s=this.internal.getPageInfoByObjId(t.objId),u=t.pageContext.annotations,l=!1,c=0;c<u.length&&!l;c++)switch((n=u[c]).type){case"link":(e(n.options.url)||e(n.options.pageNumber))&&(l=!0);break;case"reference":case"text":case"freetext":l=!0}if(0!=l){this.internal.write("/Annots [");for(var h=0;h<u.length;h++){n=u[h];var f=this.internal.pdfEscape,d=this.internal.getEncryptor(t.objId);switch(n.type){case"reference":this.internal.write(" "+n.object.objId+" 0 R ");break;case"text":var p=this.internal.newAdditionalObject(),m=this.internal.newAdditionalObject(),g=this.internal.getEncryptor(p.objId),v=n.title||"Note";i="<</Type /Annot /Subtype /Text "+(r="/Rect ["+o(n.bounds.x)+" "+a(n.bounds.y+n.bounds.h)+" "+o(n.bounds.x+n.bounds.w)+" "+a(n.bounds.y)+"] ")+"/Contents ("+f(g(n.contents))+")",i+=" /Popup "+m.objId+" 0 R",i+=" /P "+s.objId+" 0 R",i+=" /T ("+f(g(v))+") >>",p.content=i;var b=p.objId+" 0 R";i="<</Type /Annot /Subtype /Popup "+(r="/Rect ["+o(n.bounds.x+30)+" "+a(n.bounds.y+n.bounds.h)+" "+o(n.bounds.x+n.bounds.w+30)+" "+a(n.bounds.y)+"] ")+" /Parent "+b,n.open&&(i+=" /Open true"),i+=" >>",m.content=i,this.internal.write(p.objId,"0 R",m.objId,"0 R");break;case"freetext":r="/Rect ["+o(n.bounds.x)+" "+a(n.bounds.y)+" "+o(n.bounds.x+n.bounds.w)+" "+a(n.bounds.y+n.bounds.h)+"] ";var y=n.color||"#000000";i="<</Type /Annot /Subtype /FreeText "+r+"/Contents ("+f(d(n.contents))+")",i+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+y+")",i+=" /Border [0 0 0]",i+=" >>",this.internal.write(i);break;case"link":if(n.options.name){var w=this.annotations._nameMap[n.options.name];n.options.pageNumber=w.page,n.options.top=w.y}else n.options.top||(n.options.top=0);if(r="/Rect ["+n.finalBounds.x+" "+n.finalBounds.y+" "+n.finalBounds.w+" "+n.finalBounds.h+"] ",i="",n.options.url)i="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /A <</S /URI /URI ("+f(d(n.options.url))+") >>";else if(n.options.pageNumber)switch(i="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(n.options.pageNumber).objId+" 0 R",n.options.magFactor=n.options.magFactor||"XYZ",n.options.magFactor){case"Fit":i+=" /Fit]";break;case"FitH":i+=" /FitH "+n.options.top+"]";break;case"FitV":n.options.left=n.options.left||0,i+=" /FitV "+n.options.left+"]";break;default:var A=a(n.options.top);n.options.left=n.options.left||0,void 0===n.options.zoom&&(n.options.zoom=0),i+=" /XYZ "+n.options.left+" "+A+" "+n.options.zoom+"]"}""!=i&&(i+=" >>",this.internal.write(i))}}this.internal.write("]")}}]),t.createAnnotation=function(t){var e=this.internal.getCurrentPageInfo();switch(t.type){case"link":this.link(t.bounds.x,t.bounds.y,t.bounds.w,t.bounds.h,t);break;case"text":case"freetext":e.pageContext.annotations.push(t)}},t.link=function(t,e,n,r,i){var o=this.internal.getCurrentPageInfo(),a=this.internal.getCoordinateString,
vendor: 8,049 bytes, line 2
2s=this.internal.getVerticalCoordinateString;o.pageContext.annotations.push({finalBounds:{x:a(t),y:s(e),w:a(t+n),h:s(e+r)},options:i,type:"link"})},t.textWithLink=function(t,e,n,r){var i,o,a=this.getTextWidth(t),s=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==r.maxWidth){o=r.maxWidth;var u=this.splitTextToSize(t,o).length;i=Math.ceil(s*u)}else o=a,i=s;return this.text(t,e,n,r),n+=.2*s,"center"===r.align&&(e-=a/2),"right"===r.align&&(e-=a),this.link(e,n-s,o,i,r),a},t.getTextWidth=function(t){var e=this.internal.getFontSize();return this.getStringUnitWidth(t)*e/this.internal.scaleFactor}}(Mt.API),function(t){var e={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]},n={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},i=[1570,1571,1573,1575];t.__arabicParser__={};var o=t.__arabicParser__.isInArabicSubstitutionA=function(t){return void 0!==e[t.charCodeAt(0)]},a=t.__arabicParser__.isArabicLetter=function(t){return"string"==typeof t&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(t)},s=t.__arabicParser__.isArabicEndLetter=function(t){return a(t)&&o(t)&&e[t.charCodeAt(0)].length<=2},u=t.__arabicParser__.isArabicAlfLetter=function(t){return a(t)&&i.indexOf(t.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(t){return a(t)&&o(t)&&e[t.charCodeAt(0)].length>=1};var l=t.__arabicParser__.arabicLetterHasFinalForm=function(t){return a(t)&&o(t)&&e[t.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(t){return a(t)&&o(t)&&e[t.charCodeAt(0)].length>=3};var c=t.__arabicParser__.arabicLetterHasMedialForm=function(t){return a(t)&&o(t)&&4==e[t.charCodeAt(0)].length},h=t.__arabicParser__.resolveLigatures=function(t){var e=0,r=n,i="",o=0;for(e=0;e<t.length;e+=1)void 0!==r[t.charCodeAt(e)]?(o++,"number"==typeof(r=r[t.charCodeAt(e)])&&(i+=String.fromCharCode(r),r=n,o=0),e===t.length-1&&(r=n,i+=t.charAt(e-(o-1)),e-=o-1,o=0)):(r=n,i+=t.charAt(e-o),e-=o,o=0);return i};t.__arabicParser__.isArabicDiacritic=function(t){return void 0!==t&&void 0!==r[t.charCodeAt(0)]};var f=t.__arabicParser__.getCorrectForm=function(t,e,n){return a(t)?!1===o(t)?-1:!l(t)||!a(e)&&!a(n)||!a(n)&&s(e)||s(t)&&!a(e)||s(t)&&u(e)||s(t)&&s(e)?0:c(t)&&a(e)&&!s(e)&&a(n)&&l(n)?3:s(t)||!a(n)?1:2:-1},d=function(t){var n=0,r=0,i=0,o="",s="",u="",l=(t=t||"").split("\\s+"),c=[];for(n=0;n<l.length;n+=1){for(c.push(""),r=0;r<l[n].length;r+=1)o=l[n][r],s=l[n][r-1],u=l[n][r+1],a(o)?(i=f(o,s,u),c[n]+=-1!==i?String.fromCharCode(e[o.charCodeAt(0)][i]):o):c[n]+=o;c[n]=h(c[n])}return c.join(" ")},p=t.__arabicParser__.processArabic=t.processArabic=function(){var t,e="string"==typeof arguments[0]?arguments[0]:arguments[0].text,n=[];if(Array.isArray(e)){var r=0;for(n=[],r=0;r<e.length;r+=1)Array.isArray(e[r])?n.push([d(e[r][0]),e[r][1],e[r][2]]):n.push([d(e[r])]);t=n}else t=d(e);return"string"==typeof arguments[0]?t:(arguments[0].text=t,arguments[0])};t.events.push(["preProcessText",p])}(Mt.API),Mt.API.autoPrint=function(t){var e;if("javascript"===((t=t||{}).variant=t.variant||"non-conform",t.variant))this.addJS("print({});");else this.internal.events.subscribe("postPutResources",function(){e=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 "+e+" 0 R")});return this},function(t){var e=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(e){t=e}});var e=150;Object.defineProperty(this,"width",{get:function(){return e},set:function(t){e=isNaN(t)||!1===Number.isInteger(t)||t<0?150:t,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=e+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(t){n=isNaN(t)||!1===Number.isInteger(t)||t<0?300:t,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var r=[];Object.defineProperty(this,"childNodes",{get:function(){return r},set:function(t){r=t}});var i={};Object.defineProperty(this,"style",{get:function(){return i},set:function(t){i=t}}),Object.defineProperty(this,"parentNode",{})};e.prototype.getContext=function(t,e){var n;if("2d"!==(t=t||"2d"))return null;for(n in e)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=e[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},e.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new e,this.canvas.pdf=this}])}(Mt.API),function(t){var e={left:0,top:0,bottom:0,right:0},n=!1,i=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},e),this.internal.__cell__.margins.width=this.getPageWidth(),o.call(this))},o=function(){this.internal.__cell__.lastCell=new a,this.internal.__cell__.pages=1},a=function(){var t=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var e=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var n=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return n},set:function(t){n=t}});var r=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return r},set:function(t){r=t}});var i=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return i},set:function(t){i=t}});var o=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return o},set:function(t){o=t}});var a=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return a}
vendor: 4,299 bytes, line 2
2,set:function(t){a=t}}),this};a.prototype.clone=function(){return new a(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},a.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(t){return i.call(this),this.internal.__cell__.headerFunction="function"==typeof t?t:void 0,this},t.getTextDimensions=function(t,e){i.call(this);var n=(e=e||{}).fontSize||this.getFontSize(),r=e.font||this.getFont(),o=e.scaleFactor||this.internal.scaleFactor,a=0,s=0,u=0,l=this;if(!Array.isArray(t)&&"string"!=typeof t){if("number"!=typeof t)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");t=String(t)}var c=e.maxWidth;c>0?"string"==typeof t?t=this.splitTextToSize(t,c):"[object Array]"===Object.prototype.toString.call(t)&&(t=t.reduce(function(t,e){return t.concat(l.splitTextToSize(e,c))},[])):t=Array.isArray(t)?t:[t];for(var h=0;h<t.length;h++)a<(u=this.getStringUnitWidth(t[h],{font:r})*n)&&(a=u);return 0!==a&&(s=t.length),{w:a/=o,h:Math.max((s*n*this.getLineHeightFactor()-n*(this.getLineHeightFactor()-1))/o,0)}},t.cellAddPage=function(){i.call(this),this.addPage();var t=this.internal.__cell__.margins||e;return this.internal.__cell__.lastCell=new a(t.left,t.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=t.cell=function(){var t;t=arguments[0]instanceof a?arguments[0]:new a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),i.call(this);var r=this.internal.__cell__.lastCell,o=this.internal.__cell__.padding,s=this.internal.__cell__.margins||e,u=this.internal.__cell__.tableHeaderRow,l=this.internal.__cell__.printHeaders;return void 0!==r.lineNumber&&(r.lineNumber===t.lineNumber?(t.x=(r.x||0)+(r.width||0),t.y=r.y||0):r.y+r.height+t.height+s.bottom>this.getPageHeight()?(this.cellAddPage(),t.y=s.top,l&&u&&(this.printHeaderRow(t.lineNumber,!0),t.y+=u[0].height)):t.y=r.y+r.height||t.y),void 0!==t.text[0]&&(this.rect(t.x,t.y,t.width,t.height,!0===n?"FD":void 0),"right"===t.align?this.text(t.text,t.x+t.width-o,t.y+o,{align:"right",baseline:"top"}):"center"===t.align?this.text(t.text,t.x+t.width/2,t.y+o,{align:"center",baseline:"top",maxWidth:t.width-o-o}):this.text(t.text,t.x+o,t.y+o,{align:"left",baseline:"top",maxWidth:t.width-o-o})),this.internal.__cell__.lastCell=t,this};t.table=function(t,n,l,c,h){if(i.call(this),!l)throw new Error("No data for PDF table.");var f,d,p,m,g=[],v=[],b=[],y={},w={},A=[],x=[],L=(h=h||{}).autoSize||!1,N=!1!==h.printHeaders,S=h.css&&void 0!==h.css["font-size"]?16*h.css["font-size"]:h.fontSize||12,P=h.margins||Object.assign({width:this.getPageWidth()},e),_="number"==typeof h.padding?h.padding:3,k=h.headerBackgroundColor||"#c8c8c8",I=h.headerTextColor||"#000";if(o.call(this),this.internal.__cell__.printHeaders=N,this.internal.__cell__.margins=P,this.internal.__cell__.table_font_size=S,this.internal.__cell__.padding=_,this.internal.__cell__.headerBackgroundColor=k,this.internal.__cell__.headerTextColor=I,this.setFontSize(S),null==c)v=g=Object.keys(l[0]),b=g.map(function(){return"left"});else if(Array.isArray(c)&&"object"===(0,r.A)(c[0]))for(g=c.map(function(t){return t.name}),v=c.map(function(t){return t.prompt||t.name||""}),b=c.map(function(t){return t.align||"left"}),f=0;f<c.length;f+=1)w[c[f].name]=c[f].width*(19.049976/25.4);else Array.isArray(c)&&"string"==typeof c[0]&&(v=g=c,b=g.map(function(){return"left"}));if(L||Array.isArray(c)&&"string"==typeof c[0])for(f=0;f<g.length;f+=1){for(y[m=g[f]]=l.map(function(t){return t[m]}),this.setFont(void 0,"bold"),A.push(this.getTextDimensions(v[f],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),d=y[m],this.setFont(void 0,"normal"),p=0;p<d.length;p+=1)A.push(this.getTextDimensions(d[p],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);w[m]=Math.max.apply(null,A)+_+_,A=[]}if(N){var C={};for(f=0;f<g.length;f+=1)C[g[f]]={},C[g[f]].text=v[f],C[g[f]].align=b[f];var F=u.call(this,C,w);x=g.map(function(e){return new a(t,n,w[e],F,C[e].text,void 0,C[e].align)}),this.setTableHeaderRow(x),this.printHeaderRow(1,!1)}var O=c.reduce(function(t,e){return t[e.name]=e.align,t},{});for(f=0;f<l.length;
vendor: 10,622 bytes, line 2
2f+=1){"rowStart"in h&&h.rowStart instanceof Function&&h.rowStart({row:f,data:l[f]},this);var M=u.call(this,l[f],w);for(p=0;p<g.length;p+=1){var j=l[f][g[p]];"cellStart"in h&&h.cellStart instanceof Function&&h.cellStart({row:f,col:p,data:j},this),s.call(this,new a(t,n,w[g[p]],M,j,f+2,O[g[p]]))}}return this.internal.__cell__.table_x=t,this.internal.__cell__.table_y=n,this};var u=function(t,e){var n=this.internal.__cell__.padding,r=this.internal.__cell__.table_font_size,i=this.internal.scaleFactor;return Object.keys(t).map(function(r){var i=t[r];return this.splitTextToSize(i.hasOwnProperty("text")?i.text:i,e[r]-n-n)},this).map(function(t){return this.getLineHeightFactor()*t.length*r/i+n+n},this).reduce(function(t,e){return Math.max(t,e)},0)};t.setTableHeaderRow=function(t){i.call(this),this.internal.__cell__.tableHeaderRow=t},t.printHeaderRow=function(t,e){if(i.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var r;if(n=!0,"function"==typeof this.internal.__cell__.headerFunction){var o=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new a(o[0],o[1],o[2],o[3],void 0,-1)}this.setFont(void 0,"bold");for(var u=[],l=0;l<this.internal.__cell__.tableHeaderRow.length;l+=1){r=this.internal.__cell__.tableHeaderRow[l].clone(),e&&(r.y=this.internal.__cell__.margins.top||0,u.push(r)),r.lineNumber=t;var c=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,r),this.setTextColor(c)}u.length>0&&this.setTableHeaderRow(u),this.setFont(void 0,"normal"),n=!1}}(Mt.API);var xe={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Le=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Ne=Ae(Le),Se=[100,200,300,400,500,600,700,800,900],Pe=Ae(Se);function _e(t){var e=t.family.replace(/"|'/g,"").toLowerCase(),n=function(t){return xe[t=t||"normal"]?t:"normal"}(t.style),r=function(t){return t?"number"==typeof t?t>=100&&t<=900&&t%100==0?t:400:/^\d00$/.test(t)?parseInt(t):"bold"===t?700:400:400}(t.weight),i=function(t){return"number"==typeof Ne[t=t||"normal"]?t:"normal"}(t.stretch);return{family:e,style:n,weight:r,stretch:i,src:t.src||[],ref:t.ref||{name:e,style:[i,n,r].join(" ")}}}function ke(t,e,n,r){var i;for(i=n;i>=0&&i<e.length;i+=r)if(t[e[i]])return t[e[i]];for(i=n;i>=0&&i<e.length;i-=r)if(t[e[i]])return t[e[i]]}var Ie={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Ce={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Fe(t){return[t.stretch,t.style,t.weight,t.family].join(" ")}function Oe(t){return t.trimLeft()}function Me(t,e){for(var n=0;n<t.length;){if(t.charAt(n)===e)return[t.substring(0,n),t.substring(n+1)];n+=1}return null}function je(t){var e=t.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===e?null:[e[0],t.substring(e[0].length)]}var Ee,Re,De,Te,Be=["times"];!function(t){var e,n,i,o,a,s,u,l,c,h=function(t){return t=t||{},this.isStrokeTransparent=t.isStrokeTransparent||!1,this.strokeOpacity=t.strokeOpacity||1,this.strokeStyle=t.strokeStyle||"#000000",this.fillStyle=t.fillStyle||"#000000",this.isFillTransparent=t.isFillTransparent||!1,this.fillOpacity=t.fillOpacity||1,this.font=t.font||"10px sans-serif",this.textBaseline=t.textBaseline||"alphabetic",this.textAlign=t.textAlign||"left",this.lineWidth=t.lineWidth||1,this.lineJoin=t.lineJoin||"miter",this.lineCap=t.lineCap||"butt",this.path=t.path||[],this.transform=void 0!==t.transform?t.transform.clone():new l,this.globalCompositeOperation=t.globalCompositeOperation||"normal",this.globalAlpha=t.globalAlpha||1,this.clip_path=t.clip_path||[],this.currentPoint=t.currentPoint||new s,this.miterLimit=t.miterLimit||10,this.lastPoint=t.lastPoint||new s,this.lineDashOffset=t.lineDashOffset||0,this.lineDash=t.lineDash||[],this.margin=t.margin||[0,0,0,0],this.prevPageLastElemOffset=t.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof t.ignoreClearRect||t.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new f(this),e=this.internal.f2,n=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,o=this.internal.getHorizontalCoordinate,a=this.internal.getVerticalCoordinate,s=this.internal.Point,u=this.internal.Rectangle,l=this.internal.Matrix,c=new h}]);var f=function(t){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var e=t;Object.defineProperty(this,"pdf",{get:function(){return e}});var n=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return n},set:function(t){n=Boolean(t)}});var r=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return r},set:function(t){r=Boolean(t)}});var i=0;Object.defineProperty(this,"posX",{get:function(){return i},set:function(t){isNaN(t)||(i=t)}});var o=0;Object.defineProperty(this,"posY",{get:function(){return o},set:function(t){isNaN(t)||(o=t)}}),Object.defineProperty(this,"margin",{get:function(){return c.margin},set:function(t){var e;"number"==typeof t?e=[t,t,t,t]:((e=new Array(4))[0]=t[0],e[1]=t.length>=2?t[1]:e[0],e[2]=t.length>=3?t[2]:e[0],e[3]=t.length>=4?t[3]:e[1]),c.margin=e}});var a=!1;Object.defineProperty(this,"autoPaging",{get:function(){return a},set:function(t){a=t}});var s=0;Object.defineProperty(this,"lastBreak",{get:function(){return s},set:function(t){s=t}});var u=[];Object.defineProperty(this,"pageBreaks",{get:function(){return u},set:function(t){u=t}}),Object.defineProperty(this,"ctx",{get:function(){return c},set:function(t){t instanceof h&&(c=t)}}),Object.defineProperty(this,"path",{get:function(){return c.path},set:function(t){c.path=t}});var l=[];Object.defineProperty(this,"ctxStack",{get:function(){return l},set:function(t){l=t}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(t){var e;e=d(t),this.ctx.fillStyle=e.style,this.ctx.isFillTransparent=0===e.a,this.ctx.fillOpacity=e.a,this.pdf.setFillColor(e.r,e.g,e.b,{a:e.a}),this.pdf.setTextColor(e.r,e.g,e.b,{a:e.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(t){var e=d(t);this.ctx.strokeStyle=e.style,this.ctx.isStrokeTransparent=0===e.a,this.ctx.strokeOpacity=e.a,0===e.a?this.pdf.setDrawColor(255,255,255):(e.a,this.pdf.setDrawColor(e.r,e.g,e.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(t){-1!==["butt","round","square"].indexOf(t)&&(this.ctx.lineCap=t,this.pdf.setLineCap(t))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(t){isNaN(t)||(this.ctx.lineWidth=t,this.pdf.setLineWidth(t))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(t){-1!==["bevel","round","miter"].indexOf(t)&&(this.ctx.lineJoin=t,this.pdf.setLineJoin(t))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(t){isNaN(t)||(this.ctx.miterLimit=t,this.pdf.setMiterLimit(t))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(t){this.ctx.textBaseline=t}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(t){-1!==["right","end","center","left","start"].indexOf(t)&&(this.ctx.textAlign=t)}});var f=null;function p(t,e){if(null===f){var n=function(t){var e=[];return Object.keys(t).forEach(function(n){t[n].forEach(function(t){var r=null;switch(t){case"bold":r={family:n,weight:"bold"};break;case"italic":r={family:n,style:"italic"};break;case"bolditalic":r={family:n,weight:"bold",style:"italic"};break;case"":case"normal":r={family:n}}null!==r&&(r.ref={name:n,style:t},e.push(r))})}),e}(t.getFontList());f=function(t){for(var e={},n=0;n<t.length;++n){var r=_e(t[n]),i=r.family,o=r.stretch,a=r.style,s=r.weight;e[i]=e[i]||{},e[i][o]=e[i][o]||{},e[i][o][a]=e[i][o][a]||{},e[i][o][a][s]=r}return e}(n.concat(e))}return f}var m=null;Object.defineProperty(this,"fontFaces",{get:function(){return m},set:function(t){f=null,m=t}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(t){var e;if(this.ctx.font=t,null!==(e=/^\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(t))){var n=e[1],r=(e[2],e[3]),i=e[4],o=(e[5],e[6]),a=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(i)[2];i="px"===a?Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor):"em"===a?Math.floor(parseFloat(i)*this.pdf.getFontSize()):Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(i);var s=function(t){var e,n,r=[],i=t.trim();if(""===i)return Be;if(i in Ce)return[Ce[i]];for(;""!==i;){switch(n=null,e=(i=Oe(i)).charAt(0)){case'"':case"'":n=Me(i.substring(1),e);break;default:n=je(i)}if(null===n)return Be;if(r.push(n[0]),""!==(i=Oe(n[1]))&&","!==i.charAt(0))return Be;i=i.replace(/^,/,"")}return r}(o);if(this.fontFaces){var u=function(t,e,n){for(var r=(n=n||{}).defaultFontFamily||"times",i=Object.assign({},Ie,n.genericFontFamilies||{}),o=null,a=null,s=0;s<e.length;++s)if(i[(o=_e(e[s])).family]&&(o.family=i[o.family]),t.hasOwnProperty(o.family)){a=t[o.family];break}if(!(a=a||t[r]))throw new Error("Could not find a font-family for the rule '"+Fe(o)+"' and default family '"+r+"'.");if(a=function(t,e){if(e[t])return e[t];var n=Ne[t],r=n<=Ne.normal?-1:1,i=ke(e,Le,n,r);if(!i)throw new Error("Could not find a matching font-stretch value for "+t);return i}(o.stretch,a),a=function(t,e){if(e[t])return e[t];for(var n=xe[t],r=0;r<n.length;++r)if(e[n[r]])return e[n[r]];throw new Error("Could not find a matching font-style for "+t)}(o.style,a),!(a=function(t,e){if(e[t])return e[t];if(400===t&&e[500])return e[500];if(500===t&&e[400])return e[400];var n=Pe[t],r=ke(e,Se,n,t<400?-1:1);if(!r)throw new Error("Could not find a matching font-weight for value "+t);return r}(o.weight,a)))throw new Error("Failed to resolve a font for the rule '"+Fe(o)+"'.");return a}(p(this.pdf,this.fontFaces),s.map(function(t){return{family:t,stretch:"normal",weight:r,style:n}}
vendor: 4,137 bytes, line 2
2));this.pdf.setFont(u.ref.name,u.ref.style)}else{var l="";("bold"===r||parseInt(r,10)>=700||"bold"===n)&&(l="bold"),"italic"===n&&(l+="italic"),0===l.length&&(l="normal");for(var c="",h={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"},f=0;f<s.length;f++){if(void 0!==this.pdf.internal.getFont(s[f],l,{noFallback:!0,disableWarning:!0})){c=s[f];break}if("bolditalic"===l&&void 0!==this.pdf.internal.getFont(s[f],"bold",{noFallback:!0,disableWarning:!0}))c=s[f],l="bold";else if(void 0!==this.pdf.internal.getFont(s[f],"normal",{noFallback:!0,disableWarning:!0})){c=s[f],l="normal";break}}if(""===c)for(var d=0;d<s.length;d++)if(h[s[d]]){c=h[s[d]];break}c=""===c?"Times":c,this.pdf.setFont(c,l)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(t){this.ctx.globalCompositeOperation=t}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(t){this.ctx.globalAlpha=t}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(t){this.ctx.lineDashOffset=t,T.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(t){this.ctx.lineDash=t,T.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(t){this.ctx.ignoreClearRect=Boolean(t)}})};f.prototype.setLineDash=function(t){this.lineDash=t},f.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},f.prototype.fill=function(){A.call(this,"fill",!1)},f.prototype.stroke=function(){A.call(this,"stroke",!1)},f.prototype.beginPath=function(){this.path=[{type:"begin"}]},f.prototype.moveTo=function(t,e){if(isNaN(t)||isNaN(e))throw nt.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var n=this.ctx.transform.applyToPoint(new s(t,e));this.path.push({type:"mt",x:n.x,y:n.y}),this.ctx.lastPoint=new s(t,e)},f.prototype.closePath=function(){var t=new s(0,0),e=0;for(e=this.path.length-1;-1!==e;e--)if("begin"===this.path[e].type&&"object"===(0,r.A)(this.path[e+1])&&"number"==typeof this.path[e+1].x){t=new s(this.path[e+1].x,this.path[e+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(t.x,t.y)},f.prototype.lineTo=function(t,e){if(isNaN(t)||isNaN(e))throw nt.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var n=this.ctx.transform.applyToPoint(new s(t,e));this.path.push({type:"lt",x:n.x,y:n.y}),this.ctx.lastPoint=new s(n.x,n.y)},f.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),A.call(this,null,!0)},f.prototype.quadraticCurveTo=function(t,e,n,r){if(isNaN(n)||isNaN(r)||isNaN(t)||isNaN(e))throw nt.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var i=this.ctx.transform.applyToPoint(new s(n,r)),o=this.ctx.transform.applyToPoint(new s(t,e));this.path.push({type:"qct",x1:o.x,y1:o.y,x:i.x,y:i.y}),this.ctx.lastPoint=new s(i.x,i.y)},f.prototype.bezierCurveTo=function(t,e,n,r,i,o){if(isNaN(i)||isNaN(o)||isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r))throw nt.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var a=this.ctx.transform.applyToPoint(new s(i,o)),u=this.ctx.transform.applyToPoint(new s(t,e)),l=this.ctx.transform.applyToPoint(new s(n,r));this.path.push({type:"bct",x1:u.x,y1:u.y,x2:l.x,y2:l.y,x:a.x,y:a.y}),this.ctx.lastPoint=new s(a.x,a.y)},f.prototype.arc=function(t,e,n,r,i,o){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r)||isNaN(i))throw nt.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to 
2jsPDF.context2d.arc");if(o=Boolean(o),!this.ctx.transform.isIdentity){var a=this.ctx.transform.applyToPoint(new s(t,e));t=a.x,e=a.y;var u=this.ctx.transform.applyToPoint(new s(0,n)),l=this.ctx.transform.applyToPoint(new s(0,0));n=Math.sqrt(Math.pow(u.x-l.x,2)+Math.pow(u.y-l.y,2))}Math.abs(i-r)>=2*Math.PI&&(r=0,i=2*Math.PI),this.path.push({type:"arc",x:t,y:e,radius:n,startAngle:r,endAngle:i,counterclockwise:o})},f.prototype.arcTo=function(t,e,n,r,i){throw new Error("arcTo not implemented.")},f.prototype.rect=function(t,e,n,r){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r))throw nt.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(t,e),this.lineTo(t+n,e),this.lineTo(t+n,e+r),this.lineTo(t,e+r),this.lineTo(t,e),this.lineTo(t+n,e),this.lineTo(t,e)},f.prototype.fillRect=function(t,e,n,r){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r))throw nt.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!p.call(this)){var i={};"butt"!==this.lineCap&&(i.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(i.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(t,e,n,r),this.fill(),i.hasOwnProperty("lineCap")&&(this.lineCap=i.lineCap),i.hasOwnProperty("lineJoin")&&(this.lineJoin=i.lineJoin)}},f.prototype.strokeRect=function(t,e,n,r){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r))throw nt.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");m.call(this)||(this.beginPath(),this.rect(t,e,n,r),this.stroke())},f.prototype.clearRect=function(t,e,n,r){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r))throw nt.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(t,e,n,r))},f.prototype.save=function(t){t="boolean"!=typeof t||t;for(var e=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("q");if(this.pdf.setPage(e),t){this.ctx.fontSize=this.pdf.internal.getFontSize();var r=new h(this.ctx);this.ctxStack.push(this.ctx),this.ctx=r}},f.prototype.restore=function(t){t="boolean"!=typeof t||t;for(var e=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("Q");this.pdf.setPage(e),t&&0!==this.ctxStack.length&&(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)},f.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var d=function(t){var e,n,r,i;if(!0===t.isCanvasGradient&&(t=t.getColor()),!t)return{r:0,g:0,b:0,a:0,style:t};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(t))e=0,n=0,r=0,i=0;else{var o=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(t);if(null!==o)e=parseInt(o[1]),n=parseInt(o[2]),r=parseInt(o[3]),i=1;else if(null!==(o=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(t)))e=parseInt(o[1]),n=parseInt(o[2]),r=parseInt(o[3]),i=parseFloat(o[4]);else{if(i=1,"string"==typeof t&&"#"!==t.charAt(0)){var a=new lt(t);t=a.ok?a.toHex():"#000000"}4===t.length?(e=t.substring(1,2),e+=e,n=t.substring(2,3),n+=n,r=t.substring(3,4),r+=r):(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7)),e=parseInt(e,16),n=parseInt(n,16),r=parseInt(r,16)}}return{r:e,g:n,b:r,a:i,style:t}},p=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},m=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};f.prototype.fillText=function(t,e,n,r){if(isNaN(e)||isNaN(n)||"string"!=typeof t)throw nt.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to 
2jsPDF.context2d.fillText");if(r=isNaN(r)?void 0:r,!p.call(this)){var i=E(this.ctx.transform.rotation),o=this.ctx.transform.scaleX;I.call(this,{text:t,x:e,y:n,scale:o,angle:i,align:this.textAlign,maxWidth:r})}},f.prototype.strokeText=function(t,e,n,r){if(isNaN(e)||isNaN(n)||"string"!=typeof t)throw nt.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!m.call(this)){r=isNaN(r)?void 0:r;var i=E(this.ctx.transform.rotation),o=this.ctx.transform.scaleX;I.call(this,{text:t,x:e,y:n,scale:o,renderingMode:"stroke",angle:i,align:this.textAlign,maxWidth:r})}},f.prototype.measureText=function(t){if("string"!=typeof t)throw nt.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var e=this.pdf,n=this.pdf.internal.scaleFactor,r=e.internal.getFontSize(),i=e.getStringUnitWidth(t)*r/e.internal.scaleFactor;return new function(t){var e=(t=t||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return e}}),this}({width:i*=Math.round(96*n/72*1e4)/1e4})},f.prototype.scale=function(t,e){if(isNaN(t)||isNaN(e))throw nt.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var n=new l(t,0,0,e,0,0);this.ctx.transform=this.ctx.transform.multiply(n)},f.prototype.rotate=function(t){if(isNaN(t))throw nt.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var e=new l(Math.cos(t),Math.sin(t),-Math.sin(t),Math.cos(t),0,0);this.ctx.transform=this.ctx.transform.multiply(e)},f.prototype.translate=function(t,e){if(isNaN(t)||isNaN(e))throw nt.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var n=new l(1,0,0,1,t,e);this.ctx.transform=this.ctx.transform.multiply(n)},f.prototype.transform=function(t,e,n,r,i,o){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(o))throw nt.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var a=new l(t,e,n,r,i,o);this.ctx.transform=this.ctx.transform.multiply(a)},f.prototype.setTransform=function(t,e,n,r,i,o){t=isNaN(t)?1:t,e=isNaN(e)?0:e,n=isNaN(n)?0:n,r=isNaN(r)?1:r,i=isNaN(i)?0:i,o=isNaN(o)?0:o,this.ctx.transform=new l(t,e,n,r,i,o)};var g=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};f.prototype.drawImage=function(t,e,n,r,i,o,a,s,c){var h=this.pdf.getImageProperties(t),f=1,d=1,p=1,m=1;void 0!==r&&void 0!==s&&(p=s/r,m=c/i,f=h.width/r*s/r,d=h.height/i*c/i),void 0===o&&(o=e,a=n,e=0,n=0),void 0!==r&&void 0===s&&(s=r,c=i),void 0===r&&void 0===s&&(s=h.width,c=h.height);for(var b,A=this.ctx.transform.decompose(),L=E(A.rotate.shx),N=new l,S=(N=(N=(N=N.multiply(A.translate)).multiply(A.skew)).multiply(A.scale)).applyToRectangle(new u(o-e*p,a-n*m,r*f,i*d)),P=v.call(this,S),_=[],k=0;k<P.length;k+=1)-1===_.indexOf(P[k])&&_.push(P[k]);if(w(_),this.autoPaging)for(var I=_[0],C=_[_.length-1],F=I;F<C+1;F++){this.pdf.setPage(F);var O=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],M=1===F?this.posY+this.margin[0]:this.margin[0],j=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],R=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],D=1===F?0:j+(F-2)*R;if(0!==this.ctx.clip_path.length){var T=this.path;b=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(b,this.posX+this.margin[3],-D+M+this.ctx.prevPageLastElemOffset),x.call(this,"fill",!0),this.path=T}var B=JSON.parse(JSON.stringify(S));B=y([B],this.posX+this.margin[3],-D+M+this.ctx.prevPageLastElemOffset)[0];var q=(F>I||F<C)&&g.call(this);q&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],O,R,null).clip().discardPath()),this.pdf.addImage(t,"JPEG",B.x,B.y,B.w,B.h,null,null,L),q&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(t,"JPEG",S.x,S.y,S.w,S.h,null,null,L)};var v=function(t,e,n){var r=[];e=e||this.pdf.internal.pageSize.width,n=n||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var i=this.posY+this.ctx.prevPageLastElemOffset;switch(t.type){default:case"mt":case"lt":r.push(Math.floor((t.y+i)/n)+1);break;case"arc":r.push(Math.floor((t.y+i-t.radius)/n)+1),r.push(Math.floor((t.y+i+t.radius)/n)+1);break;case"qct":var o=R(this.ctx.lastPoint.x,this.ctx.lastPoint.y,t.x1,t.y1,t.x,t.y);r.push(Math.floor((o.y+i)/n)+1),r.push(Math.floor((o.y+o.h+i)/n)+1);break;case"bct":var a=D(this.ctx.lastPoint.x,this.ctx.lastPoint.y,t.x1,t.y1,t.x2,t.y2,t.x,t.y);r.push(Math.floor((a.y+i)/n)+1),r.push(Math.floor((a.y+a.h+i)/n)+1);break;
vendor: 6,193 bytes, line 2
2case"rect":r.push(Math.floor((t.y+i)/n)+1),r.push(Math.floor((t.y+t.h+i)/n)+1)}for(var s=0;s<r.length;s+=1)for(;this.pdf.internal.getNumberOfPages()<r[s];)b.call(this);return r},b=function(){var t=this.fillStyle,e=this.strokeStyle,n=this.font,r=this.lineCap,i=this.lineWidth,o=this.lineJoin;this.pdf.addPage(),this.fillStyle=t,this.strokeStyle=e,this.font=n,this.lineCap=r,this.lineWidth=i,this.lineJoin=o},y=function(t,e,n){for(var r=0;r<t.length;r++)switch(t[r].type){case"bct":t[r].x2+=e,t[r].y2+=n;case"qct":t[r].x1+=e,t[r].y1+=n;default:t[r].x+=e,t[r].y+=n}return t},w=function(t){return t.sort(function(t,e){return t-e})},A=function(t,e){for(var n,r,i=this.fillStyle,o=this.strokeStyle,a=this.lineCap,s=this.lineWidth,u=Math.abs(s*this.ctx.transform.scaleX),l=this.lineJoin,c=JSON.parse(JSON.stringify(this.path)),h=JSON.parse(JSON.stringify(this.path)),f=[],d=0;d<h.length;d++)if(void 0!==h[d].x)for(var p=v.call(this,h[d]),m=0;m<p.length;m+=1)-1===f.indexOf(p[m])&&f.push(p[m]);for(var A=0;A<f.length;A++)for(;this.pdf.internal.getNumberOfPages()<f[A];)b.call(this);if(w(f),this.autoPaging)for(var L=f[0],N=f[f.length-1],S=L;S<N+1;S++){this.pdf.setPage(S),this.fillStyle=i,this.strokeStyle=o,this.lineCap=a,this.lineWidth=u,this.lineJoin=l;var P=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],_=1===S?this.posY+this.margin[0]:this.margin[0],k=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],I=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],C=1===S?0:k+(S-2)*I;if(0!==this.ctx.clip_path.length){var F=this.path;n=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(n,this.posX+this.margin[3],-C+_+this.ctx.prevPageLastElemOffset),x.call(this,t,!0),this.path=F}if(r=JSON.parse(JSON.stringify(c)),this.path=y(r,this.posX+this.margin[3],-C+_+this.ctx.prevPageLastElemOffset),!1===e||0===S){var O=(S>L||S<N)&&g.call(this);O&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],P,I,null).clip().discardPath()),x.call(this,t,e),O&&this.pdf.restoreGraphicsState()}this.lineWidth=s}else this.lineWidth=u,x.call(this,t,e),this.lineWidth=s;this.path=c},x=function(t,e){if(("stroke"!==t||e||!m.call(this))&&("stroke"===t||e||!p.call(this))){for(var n,r,i=[],o=this.path,a=0;a<o.length;a++){var s=o[a];switch(s.type){case"begin":i.push({begin:!0});break;case"close":i.push({close:!0});break;case"mt":i.push({start:s,deltas:[],abs:[]});break;case"lt":var u=i.length;if(o[a-1]&&!isNaN(o[a-1].x)&&(n=[s.x-o[a-1].x,s.y-o[a-1].y],u>0))for(;u>=0;u--)if(!0!==i[u-1].close&&!0!==i[u-1].begin){i[u-1].deltas.push(n),i[u-1].abs.push(s);break}break;case"bct":n=[s.x1-o[a-1].x,s.y1-o[a-1].y,s.x2-o[a-1].x,s.y2-o[a-1].y,s.x-o[a-1].x,s.y-o[a-1].y],i[i.length-1].deltas.push(n);break;case"qct":var l=o[a-1].x+2/3*(s.x1-o[a-1].x),c=o[a-1].y+2/3*(s.y1-o[a-1].y),h=s.x+2/3*(s.x1-s.x),f=s.y+2/3*(s.y1-s.y),d=s.x,g=s.y;n=[l-o[a-1].x,c-o[a-1].y,h-o[a-1].x,f-o[a-1].y,d-o[a-1].x,g-o[a-1].y],i[i.length-1].deltas.push(n);break;case"arc":i.push({deltas:[],abs:[],arc:!0}),Array.isArray(i[i.length-1].abs)&&i[i.length-1].abs.push(s)}}r=e?null:"stroke"===t?"stroke":"fill";for(var v=!1,b=0;b<i.length;b++)if(i[b].arc)for(var y=i[b].abs,w=0;w<y.length;w++){var A=y[w];"arc"===A.type?S.call(this,A.x,A.y,A.radius,A.startAngle,A.endAngle,A.counterclockwise,void 0,e,!v):C.call(this,A.x,A.y),v=!0}else if(!0===i[b].close)this.pdf.internal.out("h"),v=!1;else if(!0!==i[b].begin){var x=i[b].start.x,L=i[b].start.y;F.call(this,i[b].deltas,x,L),v=!0}r&&P.call(this,r),e&&_.call(this)}},L=function(t){var e=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,n=e*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return t-n;case"top":return t+e-n;case"hanging":return t+e-2*n;case"middle":return t+e/2-n;default:return t}},N=function(t){return t+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};f.prototype.createLinearGradient=function(){var t=function(){};return t.colorStops=[],t.addColorStop=function(t,e){this.colorStops.push([t,e])},t.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},t.isCanvasGradient=!0,t},f.prototype.createPattern=function(){return this.createLinearGradient()},f.prototype.createRadialGradient=function(){return this.createLinearGradient()};var S=function(t,e,n,r,i,o,a,s,u){for(var l=M.call(this,n,r,i,o),c=0;c<l.length;c++){var h=l[c];0===c&&(u?k.call(this,h.x1+t,h.y1+e):C.call(this,h.x1+t,h.y1+e)),O.call(this,t,e,h.x2,h.y2,h.x3,h.y3,h.x4,h.y4)}s?_.call(this):P.call(this,a)},P=function(t){switch(t){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},_=function(){this.pdf.clip(),this.pdf.discardPath()},k=function(t,e){this.pdf.internal.out(n(t)+" "+i(e)+" m")},I=function(t){var e;switch(t.align){case"right":case"end":e="right";break;case"center":e="center";break;default:e="left"}var n=this.pdf.getTextDimensions(t.text),r=L.call(this,t.y),i=N.call(this,r)-n.h,o=this.ctx.transform.applyToPoint(new s(t.x,r)),a=this.ctx.transform.decompose(),c=new l;c=(c=(c=c.multiply(a.translate)).multiply(a.skew)).multiply(a.scale);for(var h,f,d,p=this.ctx.transform.applyToRectangle(new u(t.x,r,n.w,n.h)),m=c.applyToRectangle(new u(t.x,i,n.w,n.h)),b=v.call(this,m),A=[],S=0;S<b.length;S+=1)-1===A.indexOf(b[S])&&A.push(b[S]);if(w(A),this.autoPaging)for(var P=A[0],_=A[A.length-1],k=P;k<_+1;k++){this.pdf.setPage(k);var I=1===k?this.posY+this.margin[0]:this.margin[0],C=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],F=this.pdf.internal.pageSize.height-this.margin[2],O=F-this.margin[0],M=this.pdf.internal.pageSize.width-this.margin[1],j=M-this.margin[3],E=1===k?0:C+(k-2)*O;if(0!==this.ctx.clip_path.length){var R=this.path;h=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(h,this.posX+this.margin[3],-1*E+I),x.call(this,"fill",!0),this.path=R}var D=y([JSON.parse(JSON.stringify(m))],this.posX+this.margin[3],-E+I+this.ctx.prevPageLastElemOffset)[0];t.scale>=.01&&(f=this.pdf.internal.getFontSize(),this.pdf.setFontSize(f*t.scale),d=this.lineWidth,this.lineWidth=d*t.scale);var T="text"!==this.autoPaging;
vendor: 4,200 bytes, line 2
2if(T||D.y+D.h<=F){if(T||D.y>=I&&D.x<=M){var B=T?t.text:this.pdf.splitTextToSize(t.text,t.maxWidth||M-D.x)[0],q=y([JSON.parse(JSON.stringify(p))],this.posX+this.margin[3],-E+I+this.ctx.prevPageLastElemOffset)[0],z=T&&(k>P||k<_)&&g.call(this);z&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],j,O,null).clip().discardPath()),this.pdf.text(B,q.x,q.y,{angle:t.angle,align:e,renderingMode:t.renderingMode}),z&&this.pdf.restoreGraphicsState()}}else D.y<F&&(this.ctx.prevPageLastElemOffset+=F-D.y);t.scale>=.01&&(this.pdf.setFontSize(f),this.lineWidth=d)}else t.scale>=.01&&(f=this.pdf.internal.getFontSize(),this.pdf.setFontSize(f*t.scale),d=this.lineWidth,this.lineWidth=d*t.scale),this.pdf.text(t.text,o.x+this.posX,o.y+this.posY,{angle:t.angle,align:e,renderingMode:t.renderingMode,maxWidth:t.maxWidth}),t.scale>=.01&&(this.pdf.setFontSize(f),this.lineWidth=d)},C=function(t,e,r,o){r=r||0,o=o||0,this.pdf.internal.out(n(t+r)+" "+i(e+o)+" l")},F=function(t,e,n){return this.pdf.lines(t,e,n,null,null)},O=function(t,n,r,i,s,u,l,c){this.pdf.internal.out([e(o(r+t)),e(a(i+n)),e(o(s+t)),e(a(u+n)),e(o(l+t)),e(a(c+n)),"c"].join(" "))},M=function(t,e,n,r){for(var i=2*Math.PI,o=Math.PI/2;e>n;)e-=i;var a=Math.abs(n-e);a<i&&r&&(a=i-a);for(var s=[],u=r?-1:1,l=e;a>1e-5;){var c=l+u*Math.min(a,o);s.push(j.call(this,t,l,c)),a-=Math.abs(c-l),l=c}return s},j=function(t,e,n){var r=(n-e)/2,i=t*Math.cos(r),o=t*Math.sin(r),a=i,s=-o,u=a*a+s*s,l=u+a*i+s*o,c=4/3*(Math.sqrt(2*u*l)-l)/(a*o-s*i),h=a-c*s,f=s+c*a,d=h,p=-f,m=r+e,g=Math.cos(m),v=Math.sin(m);return{x1:t*Math.cos(e),y1:t*Math.sin(e),x2:h*g-f*v,y2:h*v+f*g,x3:d*g-p*v,y3:d*v+p*g,x4:t*Math.cos(n),y4:t*Math.sin(n)}},E=function(t){return 180*t/Math.PI},R=function(t,e,n,r,i,o){var a=t+.5*(n-t),s=e+.5*(r-e),l=i+.5*(n-i),c=o+.5*(r-o),h=Math.min(t,i,a,l),f=Math.max(t,i,a,l),d=Math.min(e,o,s,c),p=Math.max(e,o,s,c);return new u(h,d,f-h,p-d)},D=function(t,e,n,r,i,o,a,s){var l,c,h,f,d,p,m,g,v,b,y,w,A,x,L=n-t,N=r-e,S=i-n,P=o-r,_=a-i,k=s-o;for(c=0;c<41;c++)v=(m=(h=t+(l=c/40)*L)+l*((d=n+l*S)-h))+l*(d+l*(i+l*_-d)-m),b=(g=(f=e+l*N)+l*((p=r+l*P)-f))+l*(p+l*(o+l*k-p)-g),0==c?(y=v,w=b,A=v,x=b):(y=Math.min(y,v),w=Math.min(w,b),A=Math.max(A,v),x=Math.max(x,b));return new u(Math.round(y),Math.round(w),Math.round(A-y),Math.round(x-w))},T=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var t,e,n=(t=this.ctx.lineDash,e=this.ctx.lineDashOffset,JSON.stringify({lineDash:t,lineDashOffset:e}));this.prevLineDash!==n&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=n)}}}(Mt.API),function(t){var e=function(t){var e,n,r,i,o,a,s,u,l,c;for(/[^\x00-\xFF]/.test(t),n=[],r=0,i=(t+=e="\0\0\0\0".slice(t.length%4||4)).length;i>r;r+=4)0!==(o=(t.charCodeAt(r)<<24)+(t.charCodeAt(r+1)<<16)+(t.charCodeAt(r+2)<<8)+t.charCodeAt(r+3))?(a=(o=((o=((o=((o=(o-(c=o%85))/85)-(l=o%85))/85)-(u=o%85))/85)-(s=o%85))/85)%85,n.push(a+33,s+33,u+33,l+33,c+33)):n.push(122);return function(t,e){for(var n=e;n>0;n--)t.pop()}(n,e.length),String.fromCharCode.apply(String,n)+"~>"},n=function(t){var e,n,r,i,o,a=String,s="length",u=255,l="charCodeAt",c="slice",h="replace";for(t[c](-2),t=t[c](0,-2)[h](/\s/g,"")[h]("z","!!!!!"),r=[],i=0,o=(t+=e="uuuuu"[c](t[s]%5||5))[s];o>i;i+=5)n=52200625*(t[l](i)-33)+614125*(t[l](i+1)-33)+7225*(t[l](i+2)-33)+85*(t[l](i+3)-33)+(t[l](i+4)-33),r.push(u&n>>24,u&n>>16,u&n>>8,u&n);return function(t,e){for(var n=e;n>0;n--)t.pop()}(r,e[s]),a.fromCharCode.apply(a,r)},r=function(t){var e=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(t=t.replace(/\s/g,"")).indexOf(">")&&(t=t.substr(0,t.indexOf(">"))),t.length%2&&(t+="0"),!1===e.test(t))return"";for(var n="",r=0;r<t.length;r+=2)n+=String.fromCharCode("0x"+(t[r]+t[r+1]));return n},i=function(t){for(var e=new Uint8Array(t.length),n=t.length;n--;)e[n]=t.charCodeAt(n);return(e=$(e)).reduce(function(t,e){return t+String.fromCharCode(e)},"")};t.processDataByFilters=function(t,o){var a=0,s=t||"",u=[];for("string"==typeof(o=o||[])&&(o=[o]),a=0;a<o.length;a+=1)switch(o[a]){case"ASCII85Decode":case"/ASCII85Decode":s=n(s),u.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":s=e(s),u.push("/ASCII85Decode");break;
vendor: 4,260 bytes, line 2
2case"ASCIIHexDecode":case"/ASCIIHexDecode":s=r(s),u.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":s=s.split("").map(function(t){return("0"+t.charCodeAt().toString(16)).slice(-2)}).join("")+">",u.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":s=i(s),u.push("/FlateDecode");break;default:throw new Error('The filter: "'+o[a]+'" is not implemented')}return{data:s,reverseChain:u.reverse().join(" ")}}}(Mt.API),(Te=Mt.API).loadFile=function(t,e,n){return function(t,e,n){e=!1!==e,n="function"==typeof n?n:function(){};var r=void 0;try{r=function(t,e,n){var r=new XMLHttpRequest,i=0,o=function(t){var e=t.length,n=[],r=String.fromCharCode;for(i=0;i<e;i+=1)n.push(r(255&t.charCodeAt(i)));return n.join("")};if(r.open("GET",t,!e),r.overrideMimeType("text/plain; charset=x-user-defined"),!1===e&&(r.onload=function(){200===r.status?n(o(this.responseText)):n(void 0)}),r.send(null),e&&200===r.status)return o(r.responseText)}(t,e,n)}catch(t){}return r}(t,e,n)},Te.loadImageFile=Te.loadFile,function(t){function e(){return(tt.html2canvas?Promise.resolve(tt.html2canvas):n.e(1052).then(n.t.bind(n,81052,23))).catch(function(t){return Promise.reject(new Error("Could not load html2canvas: "+t))}).then(function(t){return t.default?t.default:t})}function i(){return(tt.DOMPurify?Promise.resolve(tt.DOMPurify):n.e(760).then(n.t.bind(n,760,23))).catch(function(t){return Promise.reject(new Error("Could not load dompurify: "+t))}).then(function(t){return t.default?t.default:t})}var o=function(t){var e=(0,r.A)(t);return"undefined"===e?"undefined":"string"===e||t instanceof String?"string":"number"===e||t instanceof Number?"number":"function"===e||t instanceof Function?"function":t&&t.constructor===Array?"array":t&&1===t.nodeType?"element":"object"===e?"object":"unknown"},a=function(t,e){var n=document.createElement(t);for(var r in e.className&&(n.className=e.className),e.innerHTML&&e.dompurify&&(n.innerHTML=e.dompurify.sanitize(e.innerHTML)),e.style)n.style[r]=e.style[r];return n},s=function t(e){var n=Object.assign(t.convert(Promise.resolve()),JSON.parse(JSON.stringify(t.template))),r=t.convert(Promise.resolve(),n);return(r=r.setProgress(1,t,1,[t])).set(e)};(s.prototype=Object.create(Promise.prototype)).constructor=s,s.convert=function(t,e){return t.__proto__=e||s.prototype,t},s.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"}},s.prototype.from=function(t,e){return this.then(function(){switch(e=e||function(t){switch(o(t)){case"string":return"string";case"element":return"canvas"===t.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(t)){case"string":return this.then(i).then(function(e){return this.set({src:a("div",{innerHTML:t,dompurify:e})})});case"element":return this.set({src:t});case"canvas":return this.set({canvas:t});case"img":return this.set({img:t});default:return this.error("Unknown source type.")}})},s.prototype.to=function(t){switch(t){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.")}},s.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 t={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||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},e=function t(e,n){for(var r=3===e.nodeType?document.createTextNode(e.nodeValue):e.cloneNode(!1),i=e.firstChild;i;i=i.nextSibling)!0!==n&&1===i.nodeType&&"SCRIPT"===i.nodeName||r.appendChild(t(i,n));return 1===e.nodeType&&("CANVAS"===e.nodeName?(r.width=e.width,r.height=e.height,r.getContext("2d").drawImage(e,0,0)):"TEXTAREA"!==e.n
vendor: 4,181 bytes, line 2
2odeName&&"SELECT"!==e.nodeName||(r.value=e.value),r.addEventListener("load",function(){r.scrollTop=e.scrollTop,r.scrollLeft=e.scrollLeft},!0)),r}(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===e.tagName&&(t.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=a("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=a("div",{className:"html2pdf__container",style:t}),this.prop.container.appendChild(e),this.prop.container.firstChild.appendChild(a("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"})},s.prototype.toCanvas=function(){var t=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(t).then(e).then(function(t){var e=Object.assign({},this.opt.html2canvas);return delete e.onrendered,t(this.prop.container,e)}).then(function(t){(this.opt.html2canvas.onrendered||function(){})(t),this.prop.canvas=t,document.body.removeChild(this.prop.overlay)})},s.prototype.toContext2d=function(){var t=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(t).then(e).then(function(t){var e=this.opt.jsPDF,n=this.opt.fontFaces,r="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,i=Object.assign({async:!0,allowTaint:!0,scale:r,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 i.onrendered,e.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,e.context2d.posX=this.opt.x,e.context2d.posY=this.opt.y,e.context2d.margin=this.opt.margin,e.context2d.fontFaces=n,n)for(var o=0;o<n.length;++o){var a=n[o],s=a.src.find(function(t){return"truetype"===t.format});s&&e.addFont(s.url,a.ref.name,a.ref.style)}return i.windowHeight=i.windowHeight||0,i.windowHeight=0==i.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):i.windowHeight,e.context2d.save(!0),t(this.prop.container,i)}).then(function(t){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(t),this.prop.canvas=t,document.body.removeChild(this.prop.overlay)})},s.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var t=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=t})},s.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},s.prototype.output=function(t,e,n){return"img"===(n=n||"pdf").toLowerCase()||"image"===n.toLowerCase()?this.outputImg(t,e):this.outputPdf(t,e)},s.prototype.outputPdf=function(t,e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(t,e)})},s.prototype.outputImg=function(t){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(t){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 "'+t+'" is not supported.'}})},s.prototype.save=function(t){return this.thenList([function(){return this.prop.pdf||this.toPdf(
vendor: 8,171 bytes, line 2
2)}]).set(t?{filename:t}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},s.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},s.prototype.set=function(t){if("object"!==o(t))return this;var e=Object.keys(t||{}).map(function(e){if(e in s.template.prop)return function(){this.prop[e]=t[e]};switch(e){case"margin":return this.setMargin.bind(this,t.margin);case"jsPDF":return function(){return this.opt.jsPDF=t.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,t.pageSize);default:return function(){this.opt[e]=t[e]}}},this);return this.then(function(){return this.thenList(e)})},s.prototype.get=function(t,e){return this.then(function(){var n=t in s.template.prop?this.prop[t]:this.opt[t];return e?e(n):n})},s.prototype.setMargin=function(t){return this.then(function(){switch(o(t)){case"number":t=[t,t,t,t];case"array":if(2===t.length&&(t=[t[0],t[1],t[0],t[1]]),4===t.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=t}).then(this.setPageSize)},s.prototype.setPageSize=function(t){function e(t,e){return Math.floor(t*e/72*96)}return this.then(function(){(t=t||Mt.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(t.inner={width:t.width-this.opt.margin[1]-this.opt.margin[3],height:t.height-this.opt.margin[0]-this.opt.margin[2]},t.inner.px={width:e(t.inner.width,t.k),height:e(t.inner.height,t.k)},t.inner.ratio=t.inner.height/t.inner.width),this.prop.pageSize=t})},s.prototype.setProgress=function(t,e,n,r){return null!=t&&(this.progress.val=t),null!=e&&(this.progress.state=e),null!=n&&(this.progress.n=n),null!=r&&(this.progress.stack=r),this.progress.ratio=this.progress.val/this.progress.state,this},s.prototype.updateProgress=function(t,e,n,r){return this.setProgress(t?this.progress.val+t:null,e||null,n?this.progress.n+n:null,r?this.progress.stack.concat(r):null)},s.prototype.then=function(t,e){var n=this;return this.thenCore(t,e,function(t,e){return n.updateProgress(null,null,1,[t]),Promise.prototype.then.call(this,function(e){return n.updateProgress(null,t),e}).then(t,e).then(function(t){return n.updateProgress(1),t})})},s.prototype.thenCore=function(t,e,n){n=n||Promise.prototype.then,t&&(t=t.bind(this)),e&&(e=e.bind(this));var r=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:s.convert(Object.assign({},this),Promise.prototype),i=n.call(r,t,e);return s.convert(i,this.__proto__)},s.prototype.thenExternal=function(t,e){return Promise.prototype.then.call(this,t,e)},s.prototype.thenList=function(t){var e=this;return t.forEach(function(t){e=e.thenCore(t)}),e},s.prototype.catch=function(t){t&&(t=t.bind(this));var e=Promise.prototype.catch.call(this,t);return s.convert(e,this)},s.prototype.catchExternal=function(t){return Promise.prototype.catch.call(this,t)},s.prototype.error=function(t){return this.then(function(){throw new Error(t)})},s.prototype.using=s.prototype.set,s.prototype.saveAs=s.prototype.save,s.prototype.export=s.prototype.output,s.prototype.run=s.prototype.then,Mt.getPageSize=function(t,e,n){if("object"===(0,r.A)(t)){var i=t;t=i.orientation,e=i.unit||e,n=i.format||n}e=e||"mm",n=n||"a4",t=(""+(t||"P")).toLowerCase();var o,a=(""+n).toLowerCase(),s={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(e){case"pt":o=1;break;case"mm":o=72/25.4;break;case"cm":o=72/2.54;break;case"in":o=72;break;case"px":o=.75;break;case"pc":case"em":o=12;break;case"ex":o=6;break;default:throw"Invalid unit: "+e}var u,l=0,c=0;if(s.hasOwnProperty(a))l=s[a][1]/o,c=s[a][0]/o;else try{l=n[1],c=n[0]}catch(Te){throw new Error("Invalid format: "+n)}if("p"===t||"portrait"===t)t="p",c>l&&(u=c,c=l,l=u);else{if("l"!==t&&"landscape"!==t)throw"Invalid orientation: "+t;t="l",l>c&&(u=c,c=l,l=u)}return{width:c,height:l,unit:e,k:o,orientation:t}},t.html=function(t,e){(e=e||{}).callback=e.callback||function(){},e.html2canvas=e.html2canvas||{},e.html2canvas.canvas=e.html2canvas.canvas||this.canvas,e.jsPDF=e.jsPDF||this,e.fontFaces=e.fontFaces?e.fontFaces.map(_e):null;var n=new s(e);return e.worker?n:n.from(t).doCallback()}}(Mt.API),Mt.API.addJS=function(t){return De=t,this.internal.events.subscribe("postPutResources",function(){Ee=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Ee+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Re=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+De+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){void 0!==Ee&&void 0!==Re&&this.internal.out("/Names <</JavaScript "+Ee+" 0 R>>")}),this},function(t){var e;t.events.push(["postPutResources",function(){var t=this,n=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var r=t.outline.render().split(/\r\n/),i=0;i<r.length;i++){var o=r[i],a=n.exec(o);if(null!=a){var s=a[1];t.internal.newObjectDeferredBegin(s,!1)}t.internal.write(o)}if(this.outline.createNamedDestinations){var u=this.internal.pages.length,l=[];for(i=0;i<u;i++){var c=t.internal.newObject();l.push(c);var h=t.internal.getPageInfo(i+1);t.internal.write("<< /D["+h.objId+" 0 R /XYZ null null null]>> endobj")}var f=t.internal.newObject();for(t.internal.write("<< /Names [ "),i=0;i<l.length;i++)t.internal.write("(page_"+(i+1)+")"+l[i]+" 0 R");t.internal.write(" ] >>","endobj"),e=t.internal.newObject(),t.internal.write("<< /Dests "+f+" 0 R"),t.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+e+" 0 R"))}]),t.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(t,e,n){var r={title:e,options:n,children:[]};return null==t&&(t=this.root),t.children.push(r),r},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(e){e.id=t.internal.newObjectDeferred();for(var n=0;n<e.children.length;n++)this.genIds_r(e.children[n])},t.outline.renderRoot=function(t){this.objStart(t),this.line("/Type /Outlines"),t.children.length>0&&(this.line("/First "+this.makeRef(t.children[0])),this.line("/Last "+this.makeRef(t.children[t.children.length-1]))),this.line("/Count "+this.count_r({count:0},t)),this.objEnd()},t.outline.renderItems=function(e){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,r=0;r<e.children.length;r++){var i=e.children[r];this.objStart(i),this.line("/Title "+this.makeString(i.title)),this.line("/Parent "+this.makeRef(e)),r>0&&this.line("/Prev "+this.makeRef(e.children[r-1])),r<e.children.length-1&&this.line("/Next "+this.makeRef(e.children[r+1])),i.children.length>0&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1])));var o=this.count=this.count_r({count:0},i);if(o>0&&this.line("/Count "+o),i.options&&i.options.pageNumber){var a=t.internal.getPageInfo(i.options.pageNumber);this.line("/Dest ["+a.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var s=0;s<e.children.length;s++)this.renderItems(e.children[s])}
vendor: 10,635 bytes, line 2
2,t.outline.line=function(t){this.ctx.val+=t+"\r\n"},t.outline.makeRef=function(t){return t.id+" 0 R"},t.outline.makeString=function(e){return"("+t.internal.pdfEscape(e)+")"},t.outline.objStart=function(t){this.ctx.val+="\r\n"+t.id+" 0 obj\r\n<<\r\n"},t.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},t.outline.count_r=function(t,e){for(var n=0;n<e.children.length;n++)t.count++,this.count_r(t,e.children[n]);return t.count}}])}(Mt.API),function(t){var e=[192,193,194,195,196,197,198,199];t.processJPEG=function(t,n,r,i,o,a){var s,u=this.decode.DCT_DECODE,l=null;if("string"==typeof t||this.__addimage__.isArrayBuffer(t)||this.__addimage__.isArrayBufferView(t)){switch(t=o||t,t=this.__addimage__.isArrayBuffer(t)?new Uint8Array(t):t,(s=function(t){for(var n,r=256*t.charCodeAt(4)+t.charCodeAt(5),i=t.length,o={width:0,height:0,numcomponents:1},a=4;a<i;a+=2){if(a+=r,-1!==e.indexOf(t.charCodeAt(a+1))){n=256*t.charCodeAt(a+5)+t.charCodeAt(a+6),o={width:256*t.charCodeAt(a+7)+t.charCodeAt(a+8),height:n,numcomponents:t.charCodeAt(a+9)};break}r=256*t.charCodeAt(a+2)+t.charCodeAt(a+3)}return o}(t=this.__addimage__.isArrayBufferView(t)?this.__addimage__.arrayBufferToBinaryString(t):t)).numcomponents){case 1:a=this.color_spaces.DEVICE_GRAY;break;case 4:a=this.color_spaces.DEVICE_CMYK;break;case 3:a=this.color_spaces.DEVICE_RGB}l={data:t,width:s.width,height:s.height,colorSpace:a,bitsPerComponent:8,filter:u,index:n,alias:r}}return l}}(Mt.API);var qe,ze,Ue,Ve,He,We=function(){var t,e,n;function r(t){var e,n,r,i,o,a,s,u,l,c,h,f,d,p;for(this.data=t,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},a=null;;){switch(e=this.readUInt32(),l=function(){var t,e;for(e=[],t=0;t<4;++t)e.push(String.fromCharCode(this.data[this.pos++]));return e}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(e);break;case"fcTL":a&&this.animation.frames.push(a),this.pos+=4,a={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},o=this.readUInt16(),i=this.readUInt16()||100,a.delay=1e3*o/i,a.disposeOp=this.data[this.pos++],a.blendOp=this.data[this.pos++],a.data=[];break;case"IDAT":case"fdAT":for("fdAT"===l&&(this.pos+=4,e-=4),t=(null!=a?a.data:void 0)||this.imgData,f=0;0<=e?f<e:f>e;0<=e?++f:--f)t.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(r=this.palette.length/3,this.transparency.indexed=this.read(e),this.transparency.indexed.length>r)throw new Error("More transparent colors than palette size");if((c=r-this.transparency.indexed.length)>0)for(d=0;0<=c?d<c:d>c;0<=c?++d:--d)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(e)[0];break;case 2:this.transparency.rgb=this.read(e)}break;case"tEXt":s=(h=this.read(e)).indexOf(0),u=String.fromCharCode.apply(String,h.slice(0,s)),this.text[u]=String.fromCharCode.apply(String,h.slice(s+1));break;case"IEND":return a&&this.animation.frames.push(a),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(p=this.colorType)||6===p,n=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*n,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=e}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}r.prototype.read=function(t){var e,n;for(n=[],e=0;0<=t?e<t:e>t;0<=t?++e:--e)n.push(this.data[this.pos++]);return n},r.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.decodePixels=function(t){var e=this.pixelBitlength/8,n=new Uint8Array(this.width*this.height*e),r=0,i=this;if(null==t&&(t=this.imgData),0===t.length)return new Uint8Array(0);function o(o,a,s,u){var l,c,h,f,d,p,m,g,v,b,y,w,A,x,L,N,S,P,_,k,I,C=Math.ceil((i.width-o)/s),F=Math.ceil((i.height-a)/u),O=i.width==C&&i.height==F;for(x=e*C,w=O?n:new Uint8Array(x*F),p=t.length,A=0,c=0;A<F&&r<p;){switch(t[r++]){case 0:for(f=S=0;S<x;f=S+=1)w[c++]=t[r++];break;case 1:for(f=P=0;P<x;f=P+=1)l=t[r++],d=f<e?0:w[c-e],w[c++]=(l+d)%256;break;case 2:for(f=_=0;_<x;f=_+=1)l=t[r++],h=(f-f%e)/e,L=A&&w[(A-1)*x+h*e+f%e],w[c++]=(L+l)%256;break;case 3:for(f=k=0;k<x;f=k+=1)l=t[r++],h=(f-f%e)/e,d=f<e?0:w[c-e],L=A&&w[(A-1)*x+h*e+f%e],w[c++]=(l+Math.floor((d+L)/2))%256;break;case 4:for(f=I=0;I<x;f=I+=1)l=t[r++],h=(f-f%e)/e,d=f<e?0:w[c-e],0===A?L=N=0:(L=w[(A-1)*x+h*e+f%e],N=h&&w[(A-1)*x+(h-1)*e+f%e]),m=d+L-N,g=Math.abs(m-d),b=Math.abs(m-L),y=Math.abs(m-N),v=g<=b&&g<=y?d:b<=y?L:N,w[c++]=(l+v)%256;break;default:throw new Error("Invalid filter algorithm: "+t[r-1])}if(!O){var M=((a+A*u)*i.width+o)*e,j=A*x;for(f=0;f<C;f+=1){for(var E=0;E<e;E+=1)n[M++]=w[j++];M+=(s-1)*e}}A++}}return t=Z(t),1==i.interlaceMethod?(o(0,0,8,8),o(4,0,8,8),o(0,4,4,8),o(2,0,4,4),o(0,2,2,4),o(1,0,2,2),o(0,1,1,2)):o(0,0,1,1),n},r.prototype.decodePalette=function(){var t,e,n,r,i,o,a,s,u;for(n=this.palette,o=this.transparency.indexed||[],i=new Uint8Array((o.length||0)+n.length),r=0,t=0,e=a=0,s=n.length;a<s;e=a+=3)i[r++]=n[e],i[r++]=n[e+1],i[r++]=n[e+2],i[r++]=null!=(u=o[t++])?u:255;return i},r.prototype.copyToImageData=function(t,e){var n,r,i,o,a,s,u,l,c,h,f;if(r=this.colors,c=null,n=this.hasAlphaChannel,this.palette.length&&(c=null!=(f=this._decodedPalette)?f:this._decodedPalette=this.decodePalette(),r=4,n=!0),l=(i=t.data||t).length,a=c||e,o=s=0,1===r)for(;o<l;)u=c?4*e[o/4]:s,h=a[u++],i[o++]=h,i[o++]=h,i[o++]=h,i[o++]=n?a[u++]:255,s=u;else for(;o<l;)u=c?4*e[o/4]:s,i[o++]=a[u++],i[o++]=a[u++],i[o++]=a[u++],i[o++]=n?a[u++]:255,s=u},r.prototype.decode=function(){var t;return t=new Uint8Array(this.width*this.height*4),this.copyToImageData(t,this.decodePixels()),t};var i=function(){if("[object Window]"===Object.prototype.toString.call(tt)){try{e=tt.document.createElement("canvas"),n=e.getContext("2d")}catch(t){return!1}return!0}return!1};return i(),t=function(t){var r;if(!0===i())return n.width=t.width,n.height=t.height,n.clearRect(0,0,t.width,t.height),n.putImageData(t,0,0),(r=new Image).src=e.toDataURL(),r;throw new Error("This method requires a Browser with Canvas-capability.")},r.prototype.decodeFrames=function(e){var n,r,i,o,a,s,u,l;if(this.animation){for(l=[],r=a=0,s=(u=this.animation.frames).length;a<s;r=++a)n=u[r],i=e.createImageData(n.width,n.height),o=this.decodePixels(new Uint8Array(n.data)),this.copyToImageData(i,o),n.imageData=i,l.push(n.image=t(i));return l}},r.prototype.renderFrame=function(t,e){var n,r,i;return n=(r=this.animation.frames)[e],i=r[e-1],0===e&&t.clearRect(0,0,this.width,this.height),1===(null!=i?i.disposeOp:void 0)?t.clearRect(i.xOffset,i.yOffset,i.width,i.height):2===(null!=i?i.disposeOp:void 0)&&t.putImageData(i.imageData,i.xOffset,i.yOffset),0===n.blendOp&&t.clearRect(n.xOffset,n.yOffset,n.width,n.height),t.drawImage(n.image,n.xOffset,n.yOffset)},r.prototype.animate=function(t){var e,n,r,i,o,a,s=this;return n=0,a=this.animation,i=a.numFrames,r=a.frames,o=a.numPlays,(e=function(){var a,u;if(a=n++%i,u=r[a],s.renderFrame(t,a),i>1&&n/i<o)return s.animation._timeout=setTimeout(e,u.delay)})()},r.prototype.stopAnimation=function(){var t;return clearTimeout(null!=(t=this.animation)?t._timeout:void 0)},r.prototype.render=function(t){var e,n;return t._png&&t._png.stopAnimation(),t._png=this,t.width=this.width,t.height=this.height,e=t.getContext("2d"),this.animation?(this.decodeFrames(e),this.animate(e)):(n=e.createImageData(this.width,this.height),this.copyToImageData(n,this.decodePixels()),e.putImageData(n,0,0))},r}();function Ge(t){var e=0;if(71!==t[e++]||73!==t[e++]||70!==t[e++]||56!==t[e++]||56!=(t[e++]+1&253)||97!==t[e++])throw new Error("Invalid GIF 87a/89a header.");var n=t[e++]|t[e++]<<8,r=t[e++]|t[e++]<<8,i=t[e++],o=i>>7,a=1<<1+(7&i);t[e++],t[e++];var s=null,u=null;o&&(s=e,u=a,e+=3*a);var l=!0,c=[],h=0,f=null,d=0,p=null;for(this.width=n,this.height=r;l&&e<t.length;)switch(t[e++]){case 33:switch(t[e++]){case 255:if(11!==t[e]||78==t[e+1]&&69==t[e+2]&&84==t[e+3]&&83==t[e+4]&&67==t[e+5]&&65==t[e+6]&&80==t[e+7]&&69==t[e+8]&&50==t[e+9]&&46==t[e+10]&&48==t[e+11]&&3==t[e+12]&&1==t[e+13]&&0==t[e+16])e+=14,p=t[e++]|t[e++]<<8,e++;else for(e+=12;;){if(!((_=t[e++])>=0))throw Error("Invalid block size");if(0===_)break;e+=_}break;case 249:if(4!==t[e++]||0!==t[e+4])throw new Error("Invalid graphics extension block.");var m=t[e++];h=t[e++]|t[e++]<<8,f=t[e++],0==(1&m)&&(f=null),d=m>>2&7,e++;break;case 254:for(;;){if(!((_=t[e++])>=0))throw Error("Invalid block size");if(0===_)break;e+=_}break;default:throw new Error("Unknown graphic control label: 0x"+t[e-1].toString(16))}break;case 44:var g=t[e++]|t[e++]<<8,v=t[e++]|t[e++]<<8,b=t[e++]|t[e++]<<8,y=t[e++]|t[e++]<<8,w=t[e++],A=w>>6&1,x=1<<1+(7&w),L=s,N=u,S=!1;w>>7&&(S=!0,L=e,N=x,e+=3*x);var P=e;for(e++;;){var _;if(!((_=t[e++])>=0))throw Error("Invalid block size");if(0===_)break;e+=_}c.push({x:g,y:v,width:b,height:y,has_local_palette:S,palette_offset:L,palette_size:N,data_offset:P,data_length:e-P,transparent_index:f,interlaced:!!A,delay:h,disposal:d});break;case 59:l=!1;break;default:throw new Error("Unknown gif block: 0x"+t[e-1].toString(16))}this.numFrames=function(){return c.length},this.loopCount=function(){return p},this.frameInfo=function(t){if(t<0||t>=c.length)throw new Error("Frame index out of range.");return c[t]},this.decodeAndBlitFrameBGRA=function(e,r){var i=this.frameInfo(e),o=i.width*i.height,a=new Uint8Array(o);Ye(t,i.data_offset,a,o);var s=i.palette_offset,u=i.transparent_index;null===u&&(u=256);var l=i.width,c=n-l,h=l,f=4*(i.y*n+i.x),d=4*((i.y+i.height)*n+i.x),p=f,m=4*c;!0===i.interlaced&&(m+=4*n*7);for(var g=8,v=0,b=a.length;v<b;++v){var y=a[v];if(0===h&&(h=l,(p+=m)>=d&&(m=4*c+4*n*(g-1),p=f+(l+c)*(g<<1),g>>=1)),y===u)p+=4;else{var w=t[s+3*y],A=t[s+3*y+1],x=t[s+3*y+2];r[p++]=x,r[p++]=A,r[p++]=w,r[p++]=255}--h}},this.decodeAndBlitFrameRGBA=function(e,r){var i=this.frameInfo(e),o=i.width*i.height,a=new Uint8Array(o);Ye(t,i.data_offset,a,o);var s=i.palette_offset,u=i.transparent_index;
vendor: 58,103 bytes, line 2
2null===u&&(u=256);var l=i.width,c=n-l,h=l,f=4*(i.y*n+i.x),d=4*((i.y+i.height)*n+i.x),p=f,m=4*c;!0===i.interlaced&&(m+=4*n*7);for(var g=8,v=0,b=a.length;v<b;++v){var y=a[v];if(0===h&&(h=l,(p+=m)>=d&&(m=4*c+4*n*(g-1),p=f+(l+c)*(g<<1),g>>=1)),y===u)p+=4;else{var w=t[s+3*y],A=t[s+3*y+1],x=t[s+3*y+2];r[p++]=w,r[p++]=A,r[p++]=x,r[p++]=255}--h}}}function Ye(t,e,n,r){for(var i=t[e++],o=1<<i,a=o+1,s=a+1,u=i+1,l=(1<<u)-1,c=0,h=0,f=0,d=t[e++],p=new Int32Array(4096),m=null;;){for(;c<16&&0!==d;)h|=t[e++]<<c,c+=8,1===d?d=t[e++]:--d;if(c<u)break;var g=h&l;if(h>>=u,c-=u,g!==o){if(g===a)break;for(var v=g<s?g:m,b=0,y=v;y>o;)y=p[y]>>8,++b;var w=y;if(f+b+(v!==g?1:0)>r)return void nt.log("Warning, gif stream longer than expected.");n[f++]=w;var A=f+=b;for(v!==g&&(n[f++]=w),y=v;b--;)y=p[y],n[--A]=255&y,y>>=8;null!==m&&s<4096&&(p[s++]=m<<8|w,s>=l+1&&u<12&&(++u,l=l<<1|1)),m=g}else s=a+1,l=(1<<(u=i+1))-1,m=null}return f!==r&&nt.log("Warning, gif stream shorter than expected."),n}function Xe(t){var e,n,r,i,o,a=Math.floor,s=new Array(64),u=new Array(64),l=new Array(64),c=new Array(64),h=new Array(65535),f=new Array(65535),d=new Array(64),p=new Array(64),m=[],g=0,v=7,b=new Array(64),y=new Array(64),w=new Array(64),A=new Array(256),x=new Array(2048),L=[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],N=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],S=[0,1,2,3,4,5,6,7,8,9,10,11],P=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],_=[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],k=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],I=[0,1,2,3,4,5,6,7,8,9,10,11],C=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],F=[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 O(t,e){for(var n=0,r=0,i=new Array,o=1;o<=16;o++){for(var a=1;a<=t[o];a++)i[e[r]]=[],i[e[r]][0]=n,i[e[r]][1]=o,r++,n++;n*=2}return i}function M(t){for(var e=t[0],n=t[1]-1;n>=0;)e&1<<n&&(g|=1<<v),n--,--v<0&&(255==g?(j(255),j(0)):j(g),v=7,g=0)}function j(t){m.push(t)}function E(t){j(t>>8&255),j(255&t)}function R(t,e,n,r,i){for(var o,a=i[0],s=i[240],u=function(t,e){var n,r,i,o,a,s,u,l,c,h,f=0;for(c=0;c<8;++c){n=t[f],r=t[f+1],i=t[f+2],o=t[f+3],a=t[f+4],s=t[f+5],u=t[f+6];var p=n+(l=t[f+7]),m=n-l,g=r+u,v=r-u,b=i+s,y=i-s,w=o+a,A=o-a,x=p+w,L=p-w,N=g+b,S=g-b;t[f]=x+N,t[f+4]=x-N;var P=.707106781*(S+L);t[f+2]=L+P,t[f+6]=L-P;var _=.382683433*((x=A+y)-(S=v+m)),k=.5411961*x+_,I=1.306562965*S+_,C=.707106781*(N=y+v),F=m+C,O=m-C;t[f+5]=O+k,t[f+3]=O-k,t[f+1]=F+I,t[f+7]=F-I,f+=8}for(f=0,c=0;c<8;++c){n=t[f],r=t[f+8],i=t[f+16],o=t[f+24],a=t[f+32],s=t[f+40],u=t[f+48];var M=n+(l=t[f+56]),j=n-l,E=r+u,R=r-u,D=i+s,T=i-s,B=o+a,q=o-a,z=M+B,U=M-B,V=E+D,H=E-D;t[f]=z+V,t[f+32]=z-V;var W=.707106781*(H+U);t[f+16]=U+W,t[f+48]=U-W;var G=.382683433*((z=q+T)-(H=R+j)),Y=.5411961*z+G,X=1.306562965*H+G,J=.707106781*(V=T+R),K=j+J,$=j-J;t[f+40]=$+Y,t[f+24]=$-Y,t[f+8]=K+X,t[f+56]=K-X,f++}for(c=0;c<64;++c)h=t[c]*e[c],d[c]=h>0?h+.5|0:h-.5|0;return d}(t,e),l=0;l<64;++l)p[L[l]]=u[l];var c=p[0]-n;n=p[0],0==c?M(r[0]):(M(r[f[o=32767+c]]),M(h[o]));for(var m=63;m>0&&0==p[m];)m--;if(0==m)return M(a),n;for(var g,v=1;v<=m;){for(var b=v;0==p[v]&&v<=m;)++v;var y=v-b;if(y>=16){g=y>>4;for(var w=1;w<=g;++w)M(s);y&=15}o=32767+p[v],M(i[(y<<4)+f[o]]),M(h[o]),v++}return 63!=m&&M(a),n}function D(t){t=Math.min(Math.max(t,1),100),o!=t&&(function(t){for(var e=[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],n=0;n<64;n++){var r=a((e[n]*t+50)/100);r=Math.min(Math.max(r,1),255),s[L[n]]=r}for(var i=[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],o=0;o<64;o++){var h=a((i[o]*t+50)/100);h=Math.min(Math.max(h,1),255),u[L[o]]=h}for(var f=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],d=0,p=0;p<8;p++)for(var m=0;m<8;m++)l[d]=1/(s[L[d]]*f[p]*f[m]*8),c[d]=1/(u[L[d]]*f[p]*f[m]*8),d++}(t<50?Math.floor(5e3/t):Math.floor(200-2*t)),o=t)}this.encode=function(t,o){o&&D(o),m=new Array,g=0,v=7,E(65496),E(65504),E(16),j(74),j(70),j(73),j(70),j(0),j(1),j(1),j(0),E(1),E(1),j(0),j(0),function(){E(65499),E(132),j(0);for(var t=0;t<64;t++)j(s[t]);j(1);for(var e=0;e<64;e++)j(u[e])}(),function(t,e){E(65472),E(17),j(8),E(e),E(t),j(3),j(1),j(17),j(0),j(2),j(17),j(1),j(3),j(17),j(1)}(t.width,t.height),function(){E(65476),E(418),j(0);for(var t=0;t<16;t++)j(N[t+1]);for(var e=0;e<=11;e++)j(S[e]);j(16);for(var n=0;n<16;n++)j(P[n+1]);for(var r=0;r<=161;r++)j(_[r]);j(1);for(var i=0;i<16;i++)j(k[i+1]);for(var o=0;o<=11;o++)j(I[o]);j(17);for(var a=0;a<16;a++)j(C[a+1]);for(var s=0;s<=161;s++)j(F[s])}(),E(65498),E(12),j(3),j(1),j(0),j(2),j(17),j(3),j(17),j(0),j(63),j(0);var a=0,h=0,f=0;g=0,v=7,this.encode.displayName="_encode_";for(var d,p,A,L,O,T,B,q,z,U=t.data,V=t.width,H=t.height,W=4*V,G=0;G<H;){for(d=0;d<W;){for(O=W*G+d,B=-1,q=0,z=0;z<64;z++)T=O+(q=z>>3)*W+(B=4*(7&z)),G+q>=H&&(T-=W*(G+1+q-H)),d+B>=W&&(T-=d+B-W+4),p=U[T++],A=U[T++],L=U[T++],b[z]=(x[p]+x[A+256|0]+x[L+512|0]>>16)-128,y[z]=(x[p+768|0]+x[A+1024|0]+x[L+1280|0]>>16)-128,w[z]=(x[p+1280|0]+x[A+1536|0]+x[L+1792|0]>>16)-128;a=R(b,l,a,e,r),h=R(y,c,h,n,i),f=R(w,c,f,n,i),d+=32}G+=8}if(v>=0){var Y=[];Y[1]=v+1,Y[0]=(1<<v+1)-1,M(Y)}return E(65497),new Uint8Array(m)},t=t||50,function(){for(var t=String.fromCharCode,e=0;e<256;e++)A[e]=t(e)}(),e=O(N,S),n=O(k,I),r=O(P,_),i=O(C,F),function(){for(var t=1,e=2,n=1;n<=15;n++){for(var r=t;r<e;r++)f[32767+r]=n,h[32767+r]=[],h[32767+r][1]=n,h[32767+r][0]=r;for(var i=-(e-1);i<=-t;i++)f[32767+i]=n,h[32767+i]=[],h[32767+i][1]=n,h[32767+i][0]=e-1+i;t<<=1,e<<=1}}(),function(){for(var t=0;t<256;t++)x[t]=19595*t,x[t+256|0]=38470*t,x[t+512|0]=7471*t+32768,x[t+768|0]=-11059*t,x[t+1024|0]=-21709*t,x[t+1280|0]=32768*t+8421375,x[t+1536|0]=-27439*t,x[t+1792|0]=-5329*t}(),D(t)}function Je(t,e){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!e,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Ke(t){function e(t){if(!t)throw Error("assert :P")}function n(t,e,n){for(var r=0;4>r;r++)if(t[e+r]!=n.charCodeAt(r))return!0;return!1}function r(t,e,n,r,i){for(var o=0;o<i;o++)t[e+o]=n[r+o]}function i(t,e,n,r){for(var i=0;i<r;i++)t[e+i]=n}function o(t){return new Int32Array(t)}function a(t,e){for(var n=[],r=0;r<t;r++)n.push(new e);return n}function s(t,e){var n=[];return function t(n,r,i){for(var o=i[r],a=0;a<o&&(n.push(i.length>r+1?[]:new e),!(i.length<r+1));a++)t(n[a],r+1,i)}(n,0,t),n}var u=function(){var t=this;function u(t,e){for(var n=1<<e-1>>>0;t&n;)n>>>=1;return n?(t&n-1)+n:t}function l(t,n,r,i,o){e(!(i%r));do{t[n+(i-=r)]=o}while(0<i)}function c(t,n,r,i,a){if(e(2328>=a),512>=a)var s=o(512);else if(null==(s=o(a)))return 0;return function(t,n,r,i,a,s){var c,f,d=n,p=1<<r,m=o(16),g=o(16);for(e(0!=a),e(null!=i),e(null!=t),e(0<r),f=0;f<a;++f){if(15<i[f])return 0;++m[i[f]]}if(m[0]==a)return 0;for(g[1]=0,c=1;15>c;++c){if(m[c]>1<<c)return 0;g[c+1]=g[c]+m[c]}for(f=0;f<a;++f)c=i[f],0<i[f]&&(s[g[c]++]=f);if(1==g[15])return(i=new h).g=0,i.value=s[0],l(t,d,1,p,i),p;var v,b=-1,y=p-1,w=0,A=1,x=1,L=1<<r;for(f=0,c=1,a=2;c<=r;++c,a<<=1){if(A+=x<<=1,0>(x-=m[c]))return 0;for(;0<m[c];--m[c])(i=new h).g=c,i.value=s[f++],l(t,d+w,a,L,i),w=u(w,c)}for(c=r+1,a=2;15>=c;++c,a<<=1){if(A+=x<<=1,0>(x-=m[c]))return 0;for(;0<m[c];--m[c]){if(i=new h,(w&y)!=b){for(d+=L,v=1<<(b=c)-r;15>b&&!(0>=(v-=m[b]));)++b,v<<=1;p+=L=1<<(v=b-r),t[n+(b=w&y)].g=v+r,t[n+b].value=d-n-b}i.g=c-r,i.value=s[f++],l(t,d+(w>>r),a,L,i),w=u(w,c)}}return A!=2*g[15]-1?0:p}(t,n,r,i,a,s)}function h(){this.value=this.g=0}function f(){this.value=this.g=0}function d(){this.G=a(5,h),this.H=o(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=a(Bn,f)}function p(t,n,r,i){e(null!=t),e(null!=n),e(2147483648>i),t.Ca=254,t.I=0,t.b=-8,t.Ka=0,t.oa=n,t.pa=r,t.Jd=n,t.Yc=r+i,t.Zc=4<=i?r+i-4+1:r,P(t)}function m(t,e){for(var n=0;0<e--;)n|=k(t,128)<<e;return n}function g(t,e){var n=m(t,e);return _(t)?-n:n}function v(t,n,r,i){var o,a=0;for(e(null!=t),e(null!=n),e(4294967288>i),t.Sb=i,t.Ra=0,t.u=0,t.h=0,4<i&&(i=4),o=0;o<i;++o)a+=n[r+o]<<8*o;t.Ra=a,t.bb=i,t.oa=n,t.pa=r}function b(t){for(;8<=t.u&&t.bb<t.Sb;)t.Ra>>>=8,t.Ra+=t.oa[t.pa+t.bb]<<Un-8>>>0,++t.bb,t.u-=8;L(t)&&(t.h=1,t.u=0)}function y(t,n){if(e(0<=n),!t.h&&n<=zn){var r=x(t)&qn[n];return t.u+=n,b(t),r}return t.h=1,t.u=0}function w(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function A(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function x(t){return t.Ra>>>(t.u&Un-1)>>>0}function L(t){return e(t.bb<=t.Sb),t.h||t.bb==t.Sb&&t.u>Un}function N(t,e){t.u=e,t.h=L(t)}function S(t){t.u>=Vn&&(e(t.u>=Vn),b(t))}function P(t){e(null!=t&&null!=t.oa),t.pa<t.Zc?(t.I=(t.oa[t.pa++]|t.I<<8)>>>0,t.b+=8):(e(null!=t&&null!=t.oa),t.pa<t.Yc?(t.b+=8,t.I=t.oa[t.pa++]|t.I<<8):t.Ka?t.b=0:(t.I<<=8,t.b+=8,t.Ka=1))}function _(t){return m(t,1)}function k(t,e){var n=t.Ca;0>t.b&&P(t);var r=t.b,i=n*e>>>8,o=(t.I>>>r>i)+0;for(o?(n-=i,t.I-=i+1<<r>>>0):n=i+1,r=n,i=0;256<=r;)i+=8,r>>=8;return r=7^i+Hn[r],t.b-=r,t.Ca=(n<<r)-1,o}function I(t,e,n){t[e+0]=n>>24&255,t[e+1]=n>>16&255,t[e+2]=n>>8&255,t[e+3]=255&n}function C(t,e){return t[e+0]|t[e+1]<<8}function F(t,e){return C(t,e)|t[e+2]<<16}function O(t,e){return C(t,e)|C(t,e+2)<<16}function M(t,n){var r=1<<n;return e(null!=t),e(0<n),t.X=o(r),null==t.X?0:(t.Mb=32-n,t.Xa=n,1)}function j(t,n){e(null!=t),e(null!=n),e(t.Xa==n.Xa),r(n.X,0,t.X,0,1<<n.Xa)}function E(){this.X=[],this.Xa=this.Mb=0}function R(t,n,r,i){e(null!=r),e(null!=i);var o=r[0],a=i[0];return 0==o&&(o=(t*a+n/2)/n),0==a&&(a=(n*o+t/2)/t),0>=o||0>=a?0:(r[0]=o,i[0]=a,1)}function D(t,e){return t+(1<<e)-1>>>e}function T(t,e){return((4278255360&t)+(4278255360&e)>>>0&4278255360)+((16711935&t)+(16711935&e)>>>0&16711935)>>>0}function B(e,n){t[n]=function(n,r,i,o,a,s,u){var l;for(l=0;l<a;++l){var c=t[e](s[u+l-1],i,o+l);s[u+l]=T(n[r+l],c)}}}function q(){this.ud=this.hd=this.jd=0}function z(t,e){return((4278124286&(t^e))>>>1)+(t&e)>>>0}function U(t){return 0<=t&&256>t?t:0>t?0:255<t?255:void 0}function V(t,e){return U(t+(t-e+.5>>1))}function H(t,e,n){return Math.abs(e-n)-Math.abs(t-n)}function W(t,e,n,r,i,o,a){for(r=o[a-1],n=0;n<i;++n)o[a+n]=r=T(t[e+n],r)}function G(t,e,n,r,i){var o;for(o=0;o<n;++o){var a=t[e+o],s=a>>8&255,u=16711935&(u=(u=16711935&a)+((s<<16)+s));r[i+o]=(4278255360&a)+u>>>0}}function Y(t,e){e.jd=255&t,e.hd=t>>8&255,e.ud=t>>16&255}function X(t,e,n,r,i,o){var a;for(a=0;a<r;++a){var s=e[n+a],u=s>>>8,l=s,c=255&(c=(c=s>>>16)+((t.jd<<24>>24)*(u<<24>>24)>>>5));l=255&(l=(l+=(t.hd<<24>>24)*(u<<24>>24)>>>5)+((t.ud<<24>>24)*(c<<24>>24)>>>5)),i[o+a]=(4278255360&s)+(c<<16)+l}}function J(e,n,r,i,o){t[n]=function(t,e,n,r,a,s,u,l,c){for(r=u;r<l;++r)for(u=0;u<c;++u)a[s++]=o(n[i(t[e++])])},t[e]=function(e,n,a,s,u,l,c){var h=8>>e.b,f=e.Ea,d=e.K[0],p=e.w;if(8>h)for(e=(1<<e.b)-1,p=(1<<h)-1;n<a;++n){var m,g=0;for(m=0;m<f;++m)m&e||(g=i(s[u++])),l[c++]=o(d[g&p]),g>>=h}else t["VP8LMapColor"+r](s,u,d,p,l,c,n,a,f)}}function K(t,e,n,r,i){for(n=e+n;e<n;){var o=t[e++];r[i++]=o>>16&255,r[i++]=o>>8&255,r[i++]=255&o}}function $(t,e,n,r,i){for(n=e+n;e<n;){var o=t[e++];r[i++]=o>>16&255,r[i++]=o>>8&255,r[i++]=255&o,r[i++]=o>>24&255}}function Z(t,e,n,r,i){for(n=e+n;e<n;){var o=(a=t[e++])>>16&240|a>>12&15,a=240&a|a>>28&15;r[i++]=o,r[i++]=a}}function Q(t,e,n,r,i){for(n=e+n;e<n;){var o=(a=t[e++])>>16&248|a>>13&7,a=a>>5&224|a>>3&31;r[i++]=o,r[i++]=a}}function tt(t,e,n,r,i){for(n=e+n;e<n;){var o=t[e++];r[i++]=255&o,r[i++]=o>>8&255,r[i++]=o>>16&255}}function et(t,e,n,i,o,a){if(0==a)for(n=e+n;e<n;)I(i,((a=t[e++])[0]>>24|a[1]>>8&65280|a[2]<<8&16711680|a[3]<<24)>>>0),o+=32;else r(i,o,t,e,n)}function nt(e,n){t[n][0]=t[e+"0"],t[n][1]=t[e+"1"],t[n][2]=t[e+"2"],t[n][3]=t[e+"3"],t[n][4]=t[e+"4"],t[n][5]=t[e+"5"],t[n][6]=t[e+"6"],t[n][7]=t[e+"7"],t[n][8]=t[e+"8"],t[n][9]=t[e+"9"],t[n][10]=t[e+"10"],t[n][11]=t[e+"11"],t[n][12]=t[e+"12"],t[n][13]=t[e+"13"],t[n][14]=t[e+"0"],t[n][15]=t[e+"0"]}function rt(t){return t==Vr||t==Hr||t==Wr||t==Gr}function it(){this.eb=[],this.size=this.A=this.fb=0}function ot(){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 at(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new it,this.f.kb=new ot,this.sd=null}function st(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ut(){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 lt(t){return alert("todo:WebPSamplerProcessPlane"),t.T}function ct(t,e){var n=t.T,i=e.ba.f.RGBA,o=i.eb,a=i.fb+t.ka*i.A,s=vi[e.ba.S],u=t.y,l=t.O,c=t.f,h=t.N,f=t.ea,d=t.W,p=e.cc,m=e.dc,g=e.Mc,v=e.Nc,b=t.ka,y=t.ka+t.T,w=t.U,A=w+1>>1;for(0==b?s(u,l,null,null,c,h,f,d,c,h,f,d,o,a,null,null,w):(s(e.ec,e.fc,u,l,p,m,g,v,c,h,f,d,o,a-i.A,o,a,w),++n);b+2<y;b+=2)p=c,m=h,g=f,v=d,h+=t.Rc,d+=t.Rc,a+=2*i.A,s(u,(l+=2*t.fa)-t.fa,u,l,p,m,g,v,c,h,f,d,o,a-i.A,o,a,w);return l+=t.fa,t.j+y<t.o?(r(e.ec,e.fc,u,l,w),r(e.cc,e.dc,c,h,A),r(e.Mc,e.Nc,f,d,A),n--):1&y||s(u,l,null,null,c,h,f,d,c,h,f,d,o,a+i.A,null,null,w),n}function ht(t,n,r){var i=t.F,o=[t.J];if(null!=i){var a=t.U,s=n.ba.S,u=s==qr||s==Wr;n=n.ba.f.RGBA;var l=[0],c=t.ka;l[0]=t.T,t.Kb&&(0==c?--l[0]:(--c,o[0]-=t.width),t.j+t.ka+t.T==t.o&&(l[0]=t.o-t.j-c));var h=n.eb;c=n.fb+c*n.A,t=Sr(i,o[0],t.width,a,l,h,c+(u?0:3),n.A),e(r==l),t&&rt(s)&&Lr(h,c,u,a,l,n.A)}return 0}function ft(t){var e=t.ma,n=e.ba.S,r=11>n,i=n==Dr||n==Br||n==qr||n==zr||12==n||rt(n);if(e.memory=null,e.Ib=null,e.Jb=null,e.Nd=null,!Rn(e.Oa,t,i?11:12))return 0;if(i&&rt(n)&&yn(),t.da)alert("todo:use_scaling");else{if(r){if(e.Ib=lt,t.Kb){if(n=t.U+1>>1,e.memory=o(t.U+2*n),null==e.memory)return 0;e.ec=e.memory,e.fc=0,e.cc=e.ec,e.dc=e.fc+t.U,e.Mc=e.cc,e.Nc=e.dc+n,e.Ib=ct,yn()}}else alert("todo:EmitYUV");i&&(e.Jb=ht,r&&vn())}if(r&&!Fi){for(t=0;256>t;++t)Oi[t]=89858*(t-128)+Pi>>Si,Ei[t]=-22014*(t-128)+Pi,ji[t]=-45773*(t-128),Mi[t]=113618*(t-128)+Pi>>Si;for(t=_i;t<ki;++t)e=76283*(t-16)+Pi>>Si,Ri[t-_i]=Wt(e,255),Di[t-_i]=Wt(e+8>>4,15);Fi=1}return 1}function dt(t){var n=t.ma,r=t.U,i=t.T;return e(!(1&t.ka)),0>=r||0>=i?0:(r=n.Ib(t,n),null!=n.Jb&&n.Jb(t,n,r),n.Dc+=r,1)}function pt(t){t.ma.memory=null}function mt(t,e,n,r){return 47!=y(t,8)?0:(e[0]=y(t,14)+1,n[0]=y(t,14)+1,r[0]=y(t,1),0!=y(t,3)?0:!t.h)}function gt(t,e){if(4>t)return t+1;var n=t-2>>1;return(2+(1&t)<<n)+y(e,n)+1}function vt(t,e){return 120<e?e-120:1<=(n=((n=Zr[e-1])>>4)*t+(8-(15&n)))?n:1;var n}function bt(t,e,n){var r=x(n),i=t[e+=255&r].g-8;return 0<i&&(N(n,n.u+8),r=x(n),e+=t[e].value,e+=r&(1<<i)-1),N(n,n.u+t[e].g),t[e].value}function yt(t,n,r){return r.g+=t.g,r.value+=t.value<<n>>>0,e(8>=r.g),t.g}function wt(t,n,r){var i=t.xc;return e((n=0==i?0:t.vc[t.md*(r>>i)+(n>>i)])<t.Wb),t.Ya[n]}function At(t,n,i,o){var a=t.ab,s=t.c*n,u=t.C;n=u+n;var l=i,c=o;for(o=t.Ta,i=t.Ua;0<a--;){var h=t.gc[a],f=u,d=n,p=l,m=c,g=(c=o,l=i,h.Ea);switch(e(f<d),e(d<=h.nc),h.hc){case 2:Yn(p,m,(d-f)*g,c,l);break;case 0:var v=f,b=d,y=c,w=l,A=(P=h).Ea;0==v&&(Wn(p,m,null,null,1,y,w),W(p,m+1,0,0,A-1,y,w+1),m+=A,w+=A,++v);for(var x=1<<P.b,L=x-1,N=D(A,P.b),S=P.K,P=P.w+(v>>P.b)*N;v<b;){var _=S,k=P,I=1;for(Gn(p,m,y,w-A,1,y,w);I<A;){var C=(I&~L)+x;C>A&&(C=A),(0,Zn[_[k++]>>8&15])(p,m+ +I,y,w+I-A,C-I,y,w+I),I=C}m+=A,w+=A,++v&L||(P+=N)}d!=h.nc&&r(c,l-g,c,l+(d-f-1)*g,g);break;case 1:for(g=p,b=m,A=(p=h.Ea)-(w=p&~(y=(m=1<<h.b)-1)),v=D(p,h.b),x=h.K,h=h.w+(f>>h.b)*v;f<d;){for(L=x,N=h,S=new q,P=b+w,_=b+p;b<P;)Y(L[N++],S),Qn(S,g,b,m,c,l),b+=m,l+=m;b<_&&(Y(L[N++],S),Qn(S,g,b,A,c,l),b+=A,l+=A),++f&y||(h+=v)}break;case 3:if(p==c&&m==l&&0<h.b){for(b=c,p=g=l+(d-f)*g-(w=(d-f)*D(h.Ea,h.b)),m=c,y=l,v=[],w=(A=w)-1;0<=w;--w)v[w]=m[y+w];for(w=A-1;0<=w;--w)b[p+w]=v[w];Xn(h,f,d,c,g,c,l)}else Xn(h,f,d,p,m,c,l)}l=o,c=i}c!=i&&r(o,i,l,c,s)}function xt(t,n){var r=t.V,i=t.Ba+t.c*t.C,o=n-t.C;if(e(n<=t.l.o),e(16>=o),0<o){var a=t.l,s=t.Ta,u=t.Ua,l=a.width;if(At(t,o,r,i),o=u=[u],e((r=t.C)<(i=n)),e(a.v<a.va),i>a.o&&(i=a.o),r<a.j){var c=a.j-r;r=a.j,o[0]+=c*l}if(r>=i?r=0:(o[0]+=4*a.v,a.ka=r-a.j,a.U=a.va-a.v,a.T=i-r,r=1),r){if(u=u[0],11>(r=t.ca).S){var h=r.f.RGBA,f=(i=r.S,o=a.U,a=a.T,c=h.eb,h.A),d=a;for(h=h.fb+t.Ma*h.A;0<d--;){var p=s,m=u,g=o,v=c,b=h;switch(i){case Rr:tr(p,m,g,v,b);break;case Dr:er(p,m,g,v,b);break;case Vr:er(p,m,g,v,b),Lr(v,b,0,g,1,0);break;case Tr:ir(p,m,g,v,b);break;case Br:et(p,m,g,v,b,1);break;case Hr:et(p,m,g,v,b,1),Lr(v,b,0,g,1,0);break;case qr:et(p,m,g,v,b,0);break;case Wr:et(p,m,g,v,b,0),Lr(v,b,1,g,1,0);break;case zr:nr(p,m,g,v,b);break;case Gr:nr(p,m,g,v,b),Nr(v,b,g,1,0);break;case Ur:rr(p,m,g,v,b);break;default:e(0)}u+=l,h+=f}t.Ma+=a}else alert("todo:EmitRescaledRowsYUVA");e(t.Ma<=r.height)}}t.C=n,e(t.C<=t.i)}function Lt(t){var e;if(0<t.ua)return 0;for(e=0;e<t.Wb;++e){var n=t.Ya[e].G,r=t.Ya[e].H;if(0<n[1][r[1]+0].g||0<n[2][r[2]+0].g||0<n[3][r[3]+0].g)return 0}return 1}function Nt(t,n,r,i,o,a){if(0!=t.Z){var s=t.qd,u=t.rd;for(e(null!=gi[t.Z]);n<r;++n)gi[t.Z](s,u,i,o,i,o,a),s=i,u=o,o+=a;t.qd=s,t.rd=u}}function St(t,n){var r=t.l.ma,i=0==r.Z||1==r.Z?t.l.j:t.C;if(i=t.C<i?i:t.C,e(n<=t.l.o),n>i){var o=t.l.width,a=r.ca,s=r.tb+o*i,u=t.V,l=t.Ba+t.c*i,c=t.gc;e(1==t.ab),e(3==c[0].hc),Kn(c[0],i,n,u,l,a,s),Nt(r,i,n,a,s,o)}t.C=t.Ma=n}function Pt(t,n,r,i,o,a,s){var u=t.$/i,l=t.$%i,c=t.m,h=t.s,f=r+t.$,d=f;o=r+i*o;var p=r+i*a,m=280+h.ua,g=t.Pb?u:16777216,v=0<h.ua?h.Wa:null,b=h.wc,y=f<p?wt(h,l,u):null;e(t.C<a),e(p<=o);var w=!1;t:for(;;){for(;w||f<p;){var A=0;if(u>=g){var P=f-r;e((g=t).Pb),g.wd=g.m,g.xd=P,0<g.s.ua&&j(g.s.Wa,g.s.vb),g=u+ti}if(l&b||(y=wt(h,l,u)),e(null!=y),y.Qb&&(n[f]=y.qb,w=!0),!w)if(S(c),y.jc){A=c,P=n;var _=f,k=y.pd[x(A)&Bn-1];e(y.jc),256>k.g?(N(A,A.u+k.g),P[_]=k.value,A=0):(N(A,A.u+k.g-256),e(256<=k.value),A=k.value),0==A&&(w=!0)}else A=bt(y.G[0],y.H[0],c);if(c.h)break;if(w||256>A){if(!w)if(y.nd)n[f]=(y.qb|A<<8)>>>0;else{if(S(c),w=bt(y.G[1],y.H[1],c),S(c),P=bt(y.G[2],y.H[2],c),_=bt(y.G[3],y.H[3],c),c.h)break;n[f]=(_<<24|w<<16|A<<8|P)>>>0}if(w=!1,++f,++l>=i&&(l=0,++u,null!=s&&u<=a&&!(u%16)&&s(t,u),null!=v))for(;d<f;)A=n[d++],v.X[(506832829*A&4294967295)>>>v.Mb]=A}else if(280>A){if(A=gt(A-256,c),P=bt(y.G[4],y.H[4],c),S(c),P=vt(i,P=gt(P,c)),c.h)break;if(f-r<P||o-f<A)break t;for(_=0;_<A;++_)n[f+_]=n[f+_-P];for(f+=A,l+=A;l>=i;)l-=i,++u,null!=s&&u<=a&&!(u%16)&&s(t,u);if(e(f<=o),l&b&&(y=wt(h,l,u)),null!=v)for(;d<f;)A=n[d++],v.X[(506832829*A&4294967295)>>>v.Mb]=A}else{if(!(A<m))break t;for(w=A-280,e(null!=v);d<f;)A=n[d++],v.X[(506832829*A&4294967295)>>>v.Mb]=A;A=f,e(!(w>>>(P=v).Xa)),n[A]=P.X[w],w=!0}w||e(c.h==L(c))}if(t.Pb&&c.h&&f<o)e(t.m.h),t.a=5,t.m=t.wd,t.$=t.xd,0<t.s.ua&&j(t.s.vb,t.s.Wa);else{if(c.h)break t;null!=s&&s(t,u>a?a:u),t.a=0,t.$=f-r}return 1}return t.a=3,0}function _t(t){e(null!=t),t.vc=null,t.yc=null,t.Ya=null;var n=t.Wa;null!=n&&(n.X=null),t.vb=null,e(null!=t)}function kt(){var e=new sn;return null==e?null:(e.a=0,e.xb=mi,nt("Predictor","VP8LPredictors"),nt("Predictor","VP8LPredictors_C"),nt("PredictorAdd","VP8LPredictorsAdd"),nt("PredictorAdd","VP8LPredictorsAdd_C"),Yn=G,Qn=X,tr=K,er=$,nr=Z,rr=Q,ir=tt,t.VP8LMapColor32b=Jn,t.VP8LMapColor8b=$n,e)}function It(t,n,r,s,u){var l=1,f=[t],p=[n],m=s.m,g=s.s,v=null,b=0;t:for(;;){if(r)for(;l&&y(m,1);){var w=f,A=p,L=s,P=1,_=L.m,k=L.gc[L.ab],I=y(_,2);if(L.Oc&1<<I)l=0;else{switch(L.Oc|=1<<I,k.hc=I,k.Ea=w[0],k.nc=A[0],k.K=[null],++L.ab,e(4>=L.ab),I){case 0:case 1:k.b=y(_,3)+2,P=It(D(k.Ea,k.b),D(k.nc,k.b),0,L,k.K),k.K=k.K[0];break;case 3:var C,F=y(_,8)+1,O=16<F?0:4<F?1:2<F?2:3;if(w[0]=D(k.Ea,O),k.b=O,C=P=It(F,1,0,L,k.K)){var j,E=F,R=k,B=1<<(8>>R.b),q=o(B);if(null==q)C=0;else{var z=R.K[0],U=R.w;for(q[0]=R.K[0][0],j=1;j<1*E;++j)q[j]=T(z[U+j],q[j-1]);for(;j<4*B;++j)q[j]=0;R.K[0]=null,R.K[0]=q,C=1}}P=C;break;case 2:break;default:e(0)}l=P}}if(f=f[0],p=p[0],l&&y(m,1)&&!(l=1<=(b=y(m,4))&&11>=b)){s.a=3;break t}var V;if(V=l)e:{var H,W,G,Y=s,X=f,J=p,K=b,$=r,Z=Y.m,Q=Y.s,tt=[null],et=1,nt=0,rt=Qr[K];n:for(;;){if($&&y(Z,1)){var it=y(Z,3)+2,ot=D(X,it),at=D(J,it),st=ot*at;if(!It(ot,at,0,Y,tt))break n;for(tt=tt[0],Q.xc=it,H=0;H<st;++H){var ut=tt[H]>>8&65535;tt[H]=ut,ut>=et&&(et=ut+1)}}if(Z.h)break n;for(W=0;5>W;++W){var lt=Jr[W];!W&&0<K&&(lt+=1<<K),nt<lt&&(nt=lt)}var ct=a(et*rt,h),ht=et,ft=a(ht,d);if(null==ft)var dt=null;else e(65536>=ht),dt=ft;var pt=o(nt);if(null==dt||null==pt||null==ct){Y.a=1;break n}var mt=ct;for(H=G=0;H<et;++H){var gt=dt[H],vt=gt.G,bt=gt.H,wt=0,At=1,xt=0;for(W=0;5>W;++W){lt=Jr[W],vt[W]=mt,bt[W]=G,!W&&0<K&&(lt+=1<<K);r:{var Lt,Nt=lt,St=Y,kt=pt,Ct=mt,Ft=G,Ot=0,Mt=St.m,jt=y(Mt,1);if(i(kt,0,0,Nt),jt){var Et=y(Mt,1)+1,Rt=y(Mt,1),Dt=y(Mt,0==Rt?1:8);kt[Dt]=1,2==Et&&(kt[Dt=y(Mt,8)]=1);var Tt=1}else{var Bt=o(19),qt=y(Mt,4)+4;if(19<qt){St.a=3;var zt=0;break r}for(Lt=0;Lt<qt;++Lt)Bt[$r[Lt]]=y(Mt,3);var Ut=void 0,Vt=void 0,Ht=St,Wt=Bt,Gt=Nt,Yt=kt,Xt=0,Jt=Ht.m,Kt=8,$t=a(128,h);i:for(;c($t,0,7,Wt,19);){if(y(Jt,1)){var Zt=2+2*y(Jt,3);if((Ut=2+y(Jt,Zt))>Gt)break i}else Ut=Gt;for(Vt=0;Vt<Gt&&Ut--;){S(Jt);var Qt=$t[0+(127&x(Jt))];N(Jt,Jt.u+Qt.g);var te=Qt.value;if(16>te)Yt[Vt++]=te,0!=te&&(Kt=te);else{var ee=16==te,ne=te-16,re=Xr[ne],ie=y(Jt,Yr[ne])+re;if(Vt+ie>Gt)break i;for(var oe=ee?Kt:0;0<ie--;)Yt[Vt++]=oe}}Xt=1;break i}Xt||(Ht.a=3),Tt=Xt}(Tt=Tt&&!Mt.h)&&(Ot=c(Ct,Ft,8,kt,Nt)),Tt&&0!=Ot?zt=Ot:(St.a=3,zt=0)}if(0==zt)break n;if(At&&1==Kr[W]&&(At=0==mt[G].g),wt+=mt[G].g,G+=zt,3>=W){var ae,se=pt[0];for(ae=1;ae<lt;++ae)pt[ae]>se&&(se=pt[ae]);xt+=se}}if(gt.nd=At,gt.Qb=0,At&&(gt.qb=(vt[3][bt[3]+0].value<<24|vt[1][bt[1]+0].value<<16|vt[2][bt[2]+0].value)>>>0,0==wt&&256>vt[0][bt[0]+0].value&&(gt.Qb=1,gt.qb+=vt[0][bt[0]+0].value<<8)),gt.jc=!gt.Qb&&6>xt,gt.jc){var ue,le=gt;for(ue=0;ue<Bn;++ue){var ce=ue,he=le.pd[ce],fe=le.G[0][le.H[0]+ce];256<=fe.value?(he.g=fe.g+256,he.value=fe.value):(he.g=0,he.value=0,ce>>=yt(fe,8,he),ce>>=yt(le.G[1][le.H[1]+ce],16,he),ce>>=yt(le.G[2][le.H[2]+ce],0,he),yt(le.G[3][le.H[3]+ce],24,he))}}}Q.vc=tt,Q.Wb=et,Q.Ya=dt,Q.yc=ct,V=1;break e}V=0}if(!(l=V)){s.a=3;break t}if(0<b){if(g.ua=1<<b,!M(g.Wa,b)){s.a=1,l=0;break t}}else g.ua=0;var de=s,pe=f,me=p,ge=de.s,ve=ge.xc;if(de.c=pe,de.i=me,ge.md=D(pe,ve),ge.wc=0==ve?-1:(1<<ve)-1,r){s.xb=pi;break t}if(null==(v=o(f*p))){s.a=1,l=0;break t}l=(l=Pt(s,v,0,f,p,p,null))&&!m.h;break t}return l?(null!=u?u[0]=v:(e(null==v),e(r)),s.$=0,r||_t(g)):_t(g),l}function Ct(t,n){var r=t.c*t.i,i=r+n+16*n;return e(t.c<=n),t.V=o(i),null==t.V?(t.Ta=null,t.Ua=0,t.a=1,0):(t.Ta=t.V,t.Ua=t.Ba+r+n,1)}function Ft(t,n){var r=t.C,i=n-r,o=t.V,a=t.Ba+t.c*r;for(e(n<=t.l.o);0<i;){var s=16<i?16:i,u=t.l.ma,l=t.l.width,c=l*s,h=u.ca,f=u.tb+l*r,d=t.Ta,p=t.Ua;At(t,s,o,a),Pr(d,p,h,f,c),Nt(u,r,r+s,h,f,l),i-=s,o+=s*t.c,r+=s}e(r==n),t.C=t.Ma=n}function Ot(){this.ub=this.yd=this.td=this.Rb=0}function Mt(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function jt(){this.Fb=this.Bb=this.Cb=0,this.Zb=o(4),this.Lb=o(4)}function Et(){this.Yb=function(){var t=[];return function t(e,n,r){for(var i=r[n],o=0;o<i&&(e.push(r.length>n+1?[]:0),!(r.length<n+1));o++)t(e[o],n+1,r)}(t,0,[3,11]),t}()}function Rt(){this.jb=o(3),this.Wc=s([4,8],Et),this.Xc=s([4,17],Et)}function Dt(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new o(4),this.od=new o(4)}function Tt(){this.ld=this.La=this.dd=this.tc=0}function Bt(){this.Na=this.la=0}function qt(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function zt(){this.ad=o(384),this.Za=0,this.Ob=o(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Ut(){this.uc=this.M=this.Nb=0,this.wa=Array(new Tt),this.Y=0,this.ya=Array(new zt),this.aa=0,this.l=new Gt}function Vt(){this.y=o(16),this.f=o(8),this.ea=o(8)}function Ht(){this.cb=this.a=0,this.sc="",this.m=new w,this.Od=new Ot,this.Kc=new Mt,this.ed=new Dt,this.Qa=new jt,this.Ic=this.$c=this.Aa=0,this.D=new Ut,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=a(8,w),this.ia=0,this.pb=a(4,qt),this.Pa=new Rt,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Vt),this.Hd=0,this.rb=Array(new Bt),this.sb=0,this.wa=Array(new Tt),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 zt),this.L=this.aa=0,this.gd=s([4,2],Tt),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 Wt(t,e){return 0>t?0:t>e?e:t}function Gt(){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 Yt(){var t=new Ht;return null!=t&&(t.a=0,t.sc="OK",t.cb=0,t.Xb=0,ri||(ri=$t)),t}function Xt(t,e,n){return 0==t.a&&(t.a=e,t.sc=n,t.cb=0),0}function Jt(t,e,n){return 3<=n&&157==t[e+0]&&1==t[e+1]&&42==t[e+2]}function Kt(t,n){if(null==t)return 0;if(t.a=0,t.sc="OK",null==n)return Xt(t,2,"null VP8Io passed to VP8GetHeaders()");var r=n.data,o=n.w,a=n.ha;if(4>a)return Xt(t,7,"Truncated header.");var s=r[o+0]|r[o+1]<<8|r[o+2]<<16,u=t.Od;if(u.Rb=!(1&s),u.td=s>>1&7,u.yd=s>>4&1,u.ub=s>>5,3<u.td)return Xt(t,3,"Incorrect keyframe parameters.");if(!u.yd)return Xt(t,4,"Frame not displayable.");o+=3,a-=3;var l=t.Kc;if(u.Rb){if(7>a)return Xt(t,7,"cannot parse picture header");if(!Jt(r,o,a))return Xt(t,3,"Bad code word");l.c=16383&(r[o+4]<<8|r[o+3]),l.Td=r[o+4]>>6,l.i=16383&(r[o+6]<<8|r[o+5]),l.Ud=r[o+6]>>6,o+=7,a-=7,t.za=l.c+15>>4,t.Ub=l.i+15>>4,n.width=l.c,n.height=l.i,n.Da=0,n.j=0,n.v=0,n.va=n.width,n.o=n.height,n.da=0,n.ib=n.width,n.hb=n.height,n.U=n.width,n.T=n.height,i((s=t.Pa).jb,0,255,s.jb.length),e(null!=(s=t.Qa)),s.Cb=0,s.Bb=0,s.Fb=1,i(s.Zb,0,0,s.Zb.length),i(s.Lb,0,0,s.Lb)}if(u.ub>a)return Xt(t,7,"bad partition length");p(s=t.m,r,o,u.ub),o+=u.ub,a-=u.ub,u.Rb&&(l.Ld=_(s),l.Kd=_(s)),l=t.Qa;var c,h=t.Pa;if(e(null!=s),e(null!=l),l.Cb=_(s),l.Cb){if(l.Bb=_(s),_(s)){for(l.Fb=_(s),c=0;4>c;++c)l.Zb[c]=_(s)?g(s,7):0;for(c=0;4>c;++c)l.Lb[c]=_(s)?g(s,6):0}if(l.Bb)for(c=0;3>c;++c)h.jb[c]=_(s)?m(s,8):255}else l.Bb=0;if(s.Ka)return Xt(t,3,"cannot parse segment header");if((l=t.ed).zd=_(s),l.Tb=m(s,6),l.wb=m(s,3),l.Pc=_(s),l.Pc&&_(s)){for(h=0;4>h;++h)_(s)&&(l.vd[h]=g(s,6));for(h=0;4>h;++h)_(s)&&(l.od[h]=g(s,6))}if(t.L=0==l.Tb?0:l.zd?1:2,s.Ka)return Xt(t,3,"cannot parse filter header");var f=a;if(a=c=o,o=c+f,l=f,t.Xb=(1<<m(t.m,2))-1,f<3*(h=t.Xb))r=7;else{for(c+=3*h,l-=3*h,f=0;f<h;++f){var d=r[a+0]|r[a+1]<<8|r[a+2]<<16;d>l&&(d=l),p(t.Jc[+f],r,c,d),c+=d,l-=d,a+=3}p(t.Jc[+h],r,c,l),r=c<o?0:5}if(0!=r)return Xt(t,r,"cannot parse partitions");for(r=m(c=t.m,7),a=_(c)?g(c,4):0,o=_(c)?g(c,4):0,l=_(c)?g(c,4):0,h=_(c)?g(c,4):0,c=_(c)?g(c,4):0,f=t.Qa,d=0;4>d;++d){if(f.Cb){var v=f.Zb[d];f.Fb||(v+=r)}else{if(0<d){t.pb[d]=t.pb[0];continue}v=r}var b=t.pb[d];b.Sc[0]=ei[Wt(v+a,127)],b.Sc[1]=ni[Wt(v+0,127)],b.Eb[0]=2*ei[Wt(v+o,127)],b.Eb[1]=101581*ni[Wt(v+l,127)]>>16,8>b.Eb[1]&&(b.Eb[1]=8),b.Qc[0]=ei[Wt(v+h,117)],b.Qc[1]=ni[Wt(v+c,127)],b.lc=v+c}if(!u.Rb)return Xt(t,4,"Not a key frame.");for(_(s),u=t.Pa,r=0;4>r;++r){for(a=0;8>a;++a)for(o=0;3>o;++o)for(l=0;11>l;++l)h=k(s,li[r][a][o][l])?m(s,8):si[r][a][o][l],u.Wc[r][a].Yb[o][l]=h;for(a=0;17>a;++a)u.Xc[r][a]=u.Wc[r][ci[a]]}return t.kc=_(s),t.kc&&(t.Bd=m(s,8)),t.cb=1}function $t(t,e,n,r,i,o,a){var s=e[i].Yb[n];for(n=0;16>i;++i){if(!k(t,s[n+0]))return i;for(;!k(t,s[n+1]);)if(s=e[++i].Yb[0],n=0,16==i)return 16;var u=e[i+1].Yb;if(k(t,s[n+2])){var l=t,c=0;if(k(l,(f=s)[(h=n)+3]))if(k(l,f[h+6])){for(s=0,h=2*(c=k(l,f[h+8]))+(f=k(l,f[h+9+c])),c=0,f=ii[h];f[s];++s)c+=c+k(l,f[s]);c+=3+(8<<h)}else k(l,f[h+7])?(c=7+2*k(l,165),c+=k(l,145)):c=5+k(l,159);else c=k(l,f[h+4])?3+k(l,f[h+5]):2;s=u[2]}else c=1,s=u[1];u=a+oi[i],0>(l=t).b&&P(l);var h,f=l.b,d=(h=l.Ca>>1)-(l.I>>f)>>31;--l.b,l.Ca+=d,l.Ca|=1,l.I-=(h+1&d)<<f,o[u]=((c^d)-d)*r[(0<i)+0]}return 16}function Zt(t){var e=t.rb[t.sb-1];e.la=0,e.Na=0,i(t.zc,0,0,t.zc.length),t.ja=0}function Qt(t,n){if(null==t)return 0;if(null==n)return Xt(t,2,"NULL VP8Io parameter in VP8Decode().");if(!t.cb&&!Kt(t,n))return 0;if(e(t.cb),null==n.ac||n.ac(n)){n.ob&&(t.L=0);var s=Bi[t.L];if(2==t.L?(t.yb=0,t.zb=0):(t.yb=n.v-s>>4,t.zb=n.j-s>>4,0>t.yb&&(t.yb=0),0>t.zb&&(t.zb=0)),t.Va=n.o+15+s>>4,t.Hb=n.va+15+s>>4,t.Hb>t.za&&(t.Hb=t.za),t.Va>t.Ub&&(t.Va=t.Ub),0<t.L){var u=t.ed;for(s=0;4>s;++s){var l;if(t.Qa.Cb){var c=t.Qa.Lb[s];t.Qa.Fb||(c+=u.Tb)}else c=u.Tb;for(l=0;1>=l;++l){var h=t.gd[s][l],f=c;if(u.Pc&&(f+=u.vd[0],l&&(f+=u.od[0])),0<(f=0>f?0:63<f?63:f)){var d=f;0<u.wb&&(d=4<u.wb?d>>2:d>>1)>9-u.wb&&(d=9-u.wb),1>d&&(d=1),h.dd=d,h.tc=2*f+d,h.ld=40<=f?2:15<=f?1:0}else h.tc=0;h.La=l}}}s=0}else Xt(t,6,"Frame setup failed"),s=t.a;if(s=0==s){if(s){t.$c=0,0<t.Aa||(t.Ic=zi);t:{s=t.Ic,u=4*(d=t.za);var p=32*d,m=d+1,g=0<t.L?d*(0<t.Aa?2:1):0,v=(2==t.Aa?2:1)*d;if((h=u+832+(l=3*(16*s+Bi[t.L])/2*p)+(c=null!=t.Fa&&0<t.Fa.length?t.Kc.c*t.Kc.i:0))!=h)s=0;else{if(h>t.Vb){if(t.Vb=0,t.Ec=o(h),t.Fc=0,null==t.Ec){s=Xt(t,1,"no memory during frame initialization.");break t}t.Vb=h}h=t.Ec,f=t.Fc,t.Ac=h,t.Bc=f,f+=u,t.Gd=a(p,Vt),t.Hd=0,t.rb=a(m+1,Bt),t.sb=1,t.wa=g?a(g,Tt):null,t.Y=0,t.D.Nb=0,t.D.wa=t.wa,t.D.Y=t.Y,0<t.Aa&&(t.D.Y+=d),e(!0),t.oc=h,t.pc=f,f+=832,t.ya=a(v,zt),t.aa=0,t.D.ya=t.ya,t.D.aa=t.aa,2==t.Aa&&(t.D.aa+=d),t.R=16*d,t.B=8*d,d=(p=Bi[t.L])*t.R,p=p/2*t.B,t.sa=h,t.ta=f+d,t.qa=t.sa,t.ra=t.ta+16*s*t.R+p,t.Ha=t.qa,t.Ia=t.ra+8*s*t.B+p,t.$c=0,f+=l,t.mb=c?h:null,t.nb=c?f:null,e(f+c<=t.Fc+t.Vb),Zt(t),i(t.Ac,t.Bc,0,u),s=1}}if(s){if(n.ka=0,n.y=t.sa,n.O=t.ta,n.f=t.qa,n.N=t.ra,n.ea=t.Ha,n.Vd=t.Ia,n.fa=t.R,n.Rc=t.B,n.F=null,n.J=0,!Fr){for(s=-255;255>=s;++s)_r[255+s]=0>s?-s:s;for(s=-1020;1020>=s;++s)kr[1020+s]=-128>s?-128:127<s?127:s;for(s=-112;112>=s;++s)Ir[112+s]=-16>s?-16:15<s?15:s;for(s=-255;510>=s;++s)Cr[255+s]=0>s?0:255<s?255:s;Fr=1}or=le,ar=oe,ur=ae,lr=se,cr=ue,sr=ie,hr=Xe,fr=Je,dr=Ze,pr=Qe,mr=Ke,gr=$e,vr=tn,br=en,yr=Ue,wr=Ve,Ar=He,xr=We,fi[0]=Ne,fi[1]=he,fi[2]=xe,fi[3]=Le,fi[4]=Se,fi[5]=_e,fi[6]=Pe,fi[7]=ke,fi[8]=Ce,fi[9]=Ie,hi[0]=ve,hi[1]=de,hi[2]=pe,hi[3]=me,hi[4]=be,hi[5]=ye,hi[6]=we,di[0]=je,di[1]=fe,di[2]=Fe,di[3]=Oe,di[4]=Re,di[5]=Ee,di[6]=De,s=1}else s=0}s&&(s=function(t,n){for(t.M=0;t.M<t.Va;++t.M){var a,s=t.Jc[t.M&t.Xb],u=t.m,l=t;for(a=0;a<l.za;++a){var c=u,h=l,f=h.Ac,d=h.Bc+4*a,p=h.zc,m=h.ya[h.aa+a];if(h.Qa.Bb?m.$b=k(c,h.Pa.jb[0])?2+k(c,h.Pa.jb[2]):k(c,h.Pa.jb[1]):m.$b=0,h.kc&&(m.Ad=k(c,h.Bd)),m.Za=!k(c,145)+0,m.Za){var g=m.Ob,v=0;for(h=0;4>h;++h){var b,y=p[0+h];for(b=0;4>b;++b){y=ui[f[d+b]][y];for(var w=ai[k(c,y[0])];0<w;)w=ai[2*w+k(c,y[w])];y=-w,f[d+b]=y}r(g,v,f,d,4),v+=4,p[0+h]=y}}else y=k(c,156)?k(c,128)?1:3:k(c,163)?2:0,m.Ob[0]=y,i(f,d,y,4),i(p,0,y,4);m.Dd=k(c,142)?k(c,114)?k(c,183)?1:3:2:0}if(l.m.Ka)return Xt(t,7,"Premature end-of-partition0 encountered.");for(;t.ja<t.za;++t.ja){if(l=s,c=(u=t).rb[u.sb-1],f=u.rb[u.sb+u.ja],a=u.ya[u.aa+u.ja],d=u.kc?a.Ad:0)c.la=f.la=0,a.Za||(c.Na=f.Na=0),a.Hc=0,a.Gc=0,a.ia=0;else{var A,x;if(c=f,f=l,d=u.Pa.Xc,p=u.ya[u.aa+u.ja],m=u.pb[p.$b],h=p.ad,g=0,v=u.rb[u.sb-1],y=b=0,i(h,g,0,384),p.Za)var L=0,N=d[3];else{w=o(16);var S=c.Na+v.Na;if(S=ri(f,d[1],S,m.Eb,0,w,0),c.Na=v.Na=(0<S)+0,1<S)or(w,0,h,g);else{var P=w[0]+3>>3;for(w=0;256>w;w+=16)h[g+w]=P}L=1,N=d[0]}var _=15&c.la,I=15&v.la;for(w=0;4>w;++w){var C=1&I;for(P=x=0;4>P;++P)_=_>>1|(C=(S=ri(f,N,S=C+(1&_),m.Sc,L,h,g))>L)<<7,x=x<<2|(3<S?3:1<S?2:0!=h[g+0]),g+=16;_>>=4,I=I>>1|C<<7,b=(b<<8|x)>>>0}for(N=_,L=I>>4,A=0;4>A;A+=2){for(x=0,_=c.la>>4+A,I=v.la>>4+A,w=0;2>w;++w){for(C=1&I,P=0;2>P;++P)S=C+(1&_),_=_>>1|(C=0<(S=ri(f,d[2],S,m.Qc,0,h,g)))<<3,x=x<<2|(3<S?3:1<S?2:0!=h[g+0]),g+=16;_>>=2,I=I>>1|C<<5}y|=x<<4*A,N|=_<<4<<A,L|=(240&I)<<A}c.la=N,v.la=L,p.Hc=b,p.Gc=y,p.ia=43690&y?0:m.ia,d=!(b|y)}if(0<u.L&&(u.wa[u.Y+u.ja]=u.gd[a.$b][a.Za],u.wa[u.Y+u.ja].La|=!d),l.Ka)return Xt(t,7,"Premature end-of-file encountered.")}if(Zt(t),u=n,l=1,a=(s=t).D,c=0<s.L&&s.M>=s.zb&&s.M<=s.Va,0==s.Aa)t:{if(a.M=s.M,a.uc=c,jn(s,a),l=1,a=(x=s.D).Nb,c=(y=Bi[s.L])*s.R,f=y/2*s.B,w=16*a*s.R,P=8*a*s.B,d=s.sa,p=s.ta-c+w,m=s.qa,h=s.ra-f+P,g=s.Ha,v=s.Ia-f+P,I=0==(_=x.M),b=_>=s.Va-1,2==s.Aa&&jn(s,x),x.uc)for(C=(S=s).D.M,e(S.D.uc),x=S.yb;x<S.Hb;++x){L=x,N=C;var F=(O=(z=S).D).Nb;A=z.R;var O=O.wa[O.Y+L],M=z.sa,j=z.ta+16*F*A+16*L,E=O.dd,R=O.tc;if(0!=R)if(e(3<=R),1==z.L)0<L&&wr(M,j,A,R+4),O.La&&xr(M,j,A,R),0<N&&yr(M,j,A,R+4),O.La&&Ar(M,j,A,R);else{var D=z.B,T=z.qa,B=z.ra+8*F*D+8*L,q=z.Ha,z=z.Ia+8*F*D+8*L;F=O.ld,0<L&&(fr(M,j,A,R+4,E,F),pr(T,B,q,z,D,R+4,E,F)),O.La&&(gr(M,j,A,R,E,F),br(T,B,q,z,D,R,E,F)),0<N&&(hr(M,j,A,R+4,E,F),dr(T,B,q,z,D,R+4,E,F)),O.La&&(mr(M,j,A,R,E,F),vr(T,B,q,z,D,R,E,F))}}if(s.ia&&alert("todo:DitherRow"),null!=u.put){if(x=16*_,_=16*(_+1),I?(u.y=s.sa,u.O=s.ta+w,u.f=s.qa,u.N=s.ra+P,u.ea=s.Ha,u.W=s.Ia+P):(x-=y,u.y=d,u.O=p,u.f=m,u.N=h,u.ea=g,u.W=v),b||(_-=y),_>u.o&&(_=u.o),u.F=null,u.J=null,null!=s.Fa&&0<s.Fa.length&&x<_&&(u.J=fn(s,u,x,_-x),u.F=s.mb,null==u.F&&0==u.F.length)){l=Xt(s,3,"Could not decode alpha data.");break t}x<u.j&&(y=u.j-x,x=u.j,e(!(1&y)),u.O+=s.R*y,u.N+=s.B*(y>>1),u.W+=s.B*(y>>1),null!=u.F&&(u.J+=u.width*y)),x<_&&(u.O+=u.v,u.N+=u.v>>1,u.W+=u.v>>1,null!=u.F&&(u.J+=u.v),u.ka=x-u.j,u.U=u.va-u.v,u.T=_-x,l=u.put(u))}a+1!=s.Ic||b||(r(s.sa,s.ta-c,d,p+16*s.R,c),r(s.qa,s.ra-f,m,h+8*s.B,f),r(s.Ha,s.Ia-f,g,v+8*s.B,f))}if(!l)return Xt(t,6,"Output aborted.")}return 1}(t,n)),null!=n.bc&&n.bc(n),s&=1}return s?(t.cb=0,s):0}function te(t,e,n,r,i){i=t[e+n+32*r]+(i>>3),t[e+n+32*r]=-256&i?0>i?0:255:i}function ee(t,e,n,r,i,o){te(t,e,0,n,r+i),te(t,e,1,n,r+o),te(t,e,2,n,r-o),te(t,e,3,n,r-i)}function ne(t){return(20091*t>>16)+t}function re(t,e,n,r){var i,a=0,s=o(16);for(i=0;4>i;++i){var u=t[e+0]+t[e+8],l=t[e+0]-t[e+8],c=(35468*t[e+4]>>16)-ne(t[e+12]),h=ne(t[e+4])+(35468*t[e+12]>>16);s[a+0]=u+h,s[a+1]=l+c,s[a+2]=l-c,s[a+3]=u-h,a+=4,e++}for(i=a=0;4>i;++i)u=(t=s[a+0]+4)+s[a+8],l=t-s[a+8],c=(35468*s[a+4]>>16)-ne(s[a+12]),te(n,r,0,0,u+(h=ne(s[a+4])+(35468*s[a+12]>>16))),te(n,r,1,0,l+c),te(n,r,2,0,l-c),te(n,r,3,0,u-h),a++,r+=32}function ie(t,e,n,r){var i=t[e+0]+4,o=35468*t[e+4]>>16,a=ne(t[e+4]),s=35468*t[e+1]>>16;ee(n,r,0,i+a,t=ne(t[e+1]),s),ee(n,r,1,i+o,t,s),ee(n,r,2,i-o,t,s),ee(n,r,3,i-a,t,s)}function oe(t,e,n,r,i){re(t,e,n,r),i&&re(t,e+16,n,r+4)}function ae(t,e,n,r){ar(t,e+0,n,r,1),ar(t,e+32,n,r+128,1)}function se(t,e,n,r){var i;for(t=t[e+0]+4,i=0;4>i;++i)for(e=0;4>e;++e)te(n,r,e,i,t)}function ue(t,e,n,r){t[e+0]&&lr(t,e+0,n,r),t[e+16]&&lr(t,e+16,n,r+4),t[e+32]&&lr(t,e+32,n,r+128),t[e+48]&&lr(t,e+48,n,r+128+4)}function le(t,e,n,r){var i,a=o(16);for(i=0;4>i;++i){var s=t[e+0+i]+t[e+12+i],u=t[e+4+i]+t[e+8+i],l=t[e+4+i]-t[e+8+i],c=t[e+0+i]-t[e+12+i];a[0+i]=s+u,a[8+i]=s-u,a[4+i]=c+l,a[12+i]=c-l}for(i=0;4>i;++i)s=(t=a[0+4*i]+3)+a[3+4*i],u=a[1+4*i]+a[2+4*i],l=a[1+4*i]-a[2+4*i],c=t-a[3+4*i],n[r+0]=s+u>>3,n[r+16]=c+l>>3,n[r+32]=s-u>>3,n[r+48]=c-l>>3,r+=64}function ce(t,e,n){var r,i=e-32,o=jr,a=255-t[i-1];for(r=0;r<n;++r){var s,u=o,l=a+t[e-1];for(s=0;s<n;++s)t[e+s]=u[l+t[i+s]];e+=32}}function he(t,e){ce(t,e,4)}function fe(t,e){ce(t,e,8)}function de(t,e){ce(t,e,16)}function pe(t,e){var n;for(n=0;16>n;++n)r(t,e+32*n,t,e-32,16)}function me(t,e){var n;for(n=16;0<n;--n)i(t,e,t[e-1],16),e+=32}function ge(t,e,n){var r;for(r=0;16>r;++r)i(e,n+32*r,t,16)}function ve(t,e){var n,r=16;for(n=0;16>n;++n)r+=t[e-1+32*n]+t[e+n-32];ge(r>>5,t,e)}function be(t,e){var n,r=8;for(n=0;16>n;++n)r+=t[e-1+32*n];ge(r>>4,t,e)}function ye(t,e){var n,r=8;for(n=0;16>n;++n)r+=t[e+n-32];ge(r>>4,t,e)}function we(t,e){ge(128,t,e)}function Ae(t,e,n){return t+2*e+n+2>>2}function xe(t,e){var n,i=e-32;for(i=new Uint8Array([Ae(t[i-1],t[i+0],t[i+1]),Ae(t[i+0],t[i+1],t[i+2]),Ae(t[i+1],t[i+2],t[i+3]),Ae(t[i+2],t[i+3],t[i+4])]),n=0;4>n;++n)r(t,e+32*n,i,0,i.length)}function Le(t,e){var n=t[e-1],r=t[e-1+32],i=t[e-1+64],o=t[e-1+96];I(t,e+0,16843009*Ae(t[e-1-32],n,r)),I(t,e+32,16843009*Ae(n,r,i)),I(t,e+64,16843009*Ae(r,i,o)),I(t,e+96,16843009*Ae(i,o,o))}function Ne(t,e){var n,r=4;for(n=0;4>n;++n)r+=t[e+n-32]+t[e-1+32*n];for(r>>=3,n=0;4>n;++n)i(t,e+32*n,r,4)}function Se(t,e){var n=t[e-1+0],r=t[e-1+32],i=t[e-1+64],o=t[e-1-32],a=t[e+0-32],s=t[e+1-32],u=t[e+2-32],l=t[e+3-32];t[e+0+96]=Ae(r,i,t[e-1+96]),t[e+1+96]=t[e+0+64]=Ae(n,r,i),t[e+2+96]=t[e+1+64]=t[e+0+32]=Ae(o,n,r),t[e+3+96]=t[e+2+64]=t[e+1+32]=t[e+0+0]=Ae(a,o,n),t[e+3+64]=t[e+2+32]=t[e+1+0]=Ae(s,a,o),t[e+3+32]=t[e+2+0]=Ae(u,s,a),t[e+3+0]=Ae(l,u,s)}function Pe(t,e){var n=t[e+1-32],r=t[e+2-32],i=t[e+3-32],o=t[e+4-32],a=t[e+5-32],s=t[e+6-32],u=t[e+7-32];t[e+0+0]=Ae(t[e+0-32],n,r),t[e+1+0]=t[e+0+32]=Ae(n,r,i),t[e+2+0]=t[e+1+32]=t[e+0+64]=Ae(r,i,o),t[e+3+0]=t[e+2+32]=t[e+1+64]=t[e+0+96]=Ae(i,o,a),t[e+3+32]=t[e+2+64]=t[e+1+96]=Ae(o,a,s),t[e+3+64]=t[e+2+96]=Ae(a,s,u),t[e+3+96]=Ae(s,u,u)}function _e(t,e){var n=t[e-1+0],r=t[e-1+32],i=t[e-1+64],o=t[e-1-32],a=t[e+0-32],s=t[e+1-32],u=t[e+2-32],l=t[e+3-32];t[e+0+0]=t[e+1+64]=o+a+1>>1,t[e+1+0]=t[e+2+64]=a+s+1>>1,t[e+2+0]=t[e+3+64]=s+u+1>>1,t[e+3+0]=u+l+1>>1,t[e+0+96]=Ae(i,r,n),t[e+0+64]=Ae(r,n,o),t[e+0+32]=t[e+1+96]=Ae(n,o,a),t[e+1+32]=t[e+2+96]=Ae(o,a,s),t[e+2+32]=t[e+3+96]=Ae(a,s,u),t[e+3+32]=Ae(s,u,l)}function ke(t,e){var n=t[e+0-32],r=t[e+1-32],i=t[e+2-32],o=t[e+3-32],a=t[e+4-32],s=t[e+5-32],u=t[e+6-32],l=t[e+7-32];t[e+0+0]=n+r+1>>1,t[e+1+0]=t[e+0+64]=r+i+1>>1,t[e+2+0]=t[e+1+64]=i+o+1>>1,t[e+3+0]=t[e+2+64]=o+a+1>>1,t[e+0+32]=Ae(n,r,i),t[e+1+32]=t[e+0+96]=Ae(r,i,o),t[e+2+32]=t[e+1+96]=Ae(i,o,a),t[e+3+32]=t[e+2+96]=Ae(o,a,s),t[e+3+64]=Ae(a,s,u),t[e+3+96]=Ae(s,u,l)}function Ie(t,e){var n=t[e-1+0],r=t[e-1+32],i=t[e-1+64],o=t[e-1+96];t[e+0+0]=n+r+1>>1,t[e+2+0]=t[e+0+32]=r+i+1>>1,t[e+2+32]=t[e+0+64]=i+o+1>>1,t[e+1+0]=Ae(n,r,i),t[e+3+0]=t[e+1+32]=Ae(r,i,o),t[e+3+32]=t[e+1+64]=Ae(i,o,o),t[e+3+64]=t[e+2+64]=t[e+0+96]=t[e+1+96]=t[e+2+96]=t[e+3+96]=o}function Ce(t,e){var n=t[e-1+0],r=t[e-1+32],i=t[e-1+64],o=t[e-1+96],a=t[e-1-32],s=t[e+0-32],u=t[e+1-32],l=t[e+2-32];t[e+0+0]=t[e+2+32]=n+a+1>>1,t[e+0+32]=t[e+2+64]=r+n+1>>1,t[e+0+64]=t[e+2+96]=i+r+1>>1,t[e+0+96]=o+i+1>>1,t[e+3+0]=Ae(s,u,l),t[e+2+0]=Ae(a,s,u),t[e+1+0]=t[e+3+32]=Ae(n,a,s),t[e+1+32]=t[e+3+64]=Ae(r,n,a),t[e+1+64]=t[e+3+96]=Ae(i,r,n),t[e+1+96]=Ae(o,i,r)}function Fe(t,e){var n;for(n=0;8>n;++n)r(t,e+32*n,t,e-32,8)}function Oe(t,e){var n;for(n=0;8>n;++n)i(t,e,t[e-1],8),e+=32}function Me(t,e,n){var r;for(r=0;8>r;++r)i(e,n+32*r,t,8)}function je(t,e){var n,r=8;for(n=0;8>n;++n)r+=t[e+n-32]+t[e-1+32*n];Me(r>>4,t,e)}function Ee(t,e){var n,r=4;for(n=0;8>n;++n)r+=t[e+n-32];Me(r>>3,t,e)}function Re(t,e){var n,r=4;for(n=0;8>n;++n)r+=t[e-1+32*n];Me(r>>3,t,e)}function De(t,e){Me(128,t,e)}function Te(t,e,n){var r=t[e-n],i=t[e+0],o=3*(i-r)+Or[1020+t[e-2*n]-t[e+n]],a=Mr[112+(o+4>>3)];t[e-n]=jr[255+r+Mr[112+(o+3>>3)]],t[e+0]=jr[255+i-a]}function Be(t,e,n,r){var i=t[e+0],o=t[e+n];return Er[255+t[e-2*n]-t[e-n]]>r||Er[255+o-i]>r}function qe(t,e,n,r){return 4*Er[255+t[e-n]-t[e+0]]+Er[255+t[e-2*n]-t[e+n]]<=r}function ze(t,e,n,r,i){var o=t[e-3*n],a=t[e-2*n],s=t[e-n],u=t[e+0],l=t[e+n],c=t[e+2*n],h=t[e+3*n];return 4*Er[255+s-u]+Er[255+a-l]>r?0:Er[255+t[e-4*n]-o]<=i&&Er[255+o-a]<=i&&Er[255+a-s]<=i&&Er[255+h-c]<=i&&Er[255+c-l]<=i&&Er[255+l-u]<=i}function Ue(t,e,n,r){var i=2*r+1;for(r=0;16>r;++r)qe(t,e+r,n,i)&&Te(t,e+r,n)}function Ve(t,e,n,r){var i=2*r+1;for(r=0;16>r;++r)qe(t,e+r*n,1,i)&&Te(t,e+r*n,1)}function He(t,e,n,r){var i;for(i=3;0<i;--i)Ue(t,e+=4*n,n,r)}function We(t,e,n,r){var i;for(i=3;0<i;--i)Ve(t,e+=4,n,r)}function Ge(t,e,n,r,i,o,a,s){for(o=2*o+1;0<i--;){if(ze(t,e,n,o,a))if(Be(t,e,n,s))Te(t,e,n);else{var u=t,l=e,c=n,h=u[l-2*c],f=u[l-c],d=u[l+0],p=u[l+c],m=u[l+2*c],g=27*(b=Or[1020+3*(d-f)+Or[1020+h-p]])+63>>7,v=18*b+63>>7,b=9*b+63>>7;u[l-3*c]=jr[255+u[l-3*c]+b],u[l-2*c]=jr[255+h+v],u[l-c]=jr[255+f+g],u[l+0]=jr[255+d-g],u[l+c]=jr[255+p-v],u[l+2*c]=jr[255+m-b]}e+=r}}function Ye(t,e,n,r,i,o,a,s){for(o=2*o+1;0<i--;){if(ze(t,e,n,o,a))if(Be(t,e,n,s))Te(t,e,n);else{var u=t,l=e,c=n,h=u[l-c],f=u[l+0],d=u[l+c],p=Mr[112+(4+(m=3*(f-h))>>3)],m=Mr[112+(m+3>>3)],g=p+1>>1;u[l-2*c]=jr[255+u[l-2*c]+g],u[l-c]=jr[255+h+m],u[l+0]=jr[255+f-p],u[l+c]=jr[255+d-g]}e+=r}}function Xe(t,e,n,r,i,o){Ge(t,e,n,1,16,r,i,o)}function Je(t,e,n,r,i,o){Ge(t,e,1,n,16,r,i,o)}function Ke(t,e,n,r,i,o){var a;for(a=3;0<a;--a)Ye(t,e+=4*n,n,1,16,r,i,o)}function $e(t,e,n,r,i,o){var a;for(a=3;0<a;--a)Ye(t,e+=4,1,n,16,r,i,o)}function Ze(t,e,n,r,i,o,a,s){Ge(t,e,i,1,8,o,a,s),Ge(n,r,i,1,8,o,a,s)}function Qe(t,e,n,r,i,o,a,s){Ge(t,e,1,i,8,o,a,s),Ge(n,r,1,i,8,o,a,s)}function tn(t,e,n,r,i,o,a,s){Ye(t,e+4*i,i,1,8,o,a,s),Ye(n,r+4*i,i,1,8,o,a,s)}function en(t,e,n,r,i,o,a,s){Ye(t,e+4,1,i,8,o,a,s),Ye(n,r+4,1,i,8,o,a,s)}function nn(){this.ba=new at,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new ut,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function rn(){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 on(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function an(){this.ua=0,this.Wa=new E,this.vb=new E,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new d,this.yc=new h}function sn(){this.xb=this.a=0,this.l=new Gt,this.ca=new at,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new A,this.Pb=0,this.wd=new A,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new an,this.ab=0,this.gc=a(4,on),this.Oc=0}function un(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Gt,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function ln(t,e,n,r,i,o,a){for(t=null==t?0:t[e+0],e=0;e<a;++e)i[o+e]=t+n[r+e]&255,t=i[o+e]}function cn(t,e,n,r,i,o,a){var s;if(null==t)ln(null,null,n,r,i,o,a);else for(s=0;s<a;++s)i[o+s]=t[e+s]+n[r+s]&255}function hn(t,e,n,r,i,o,a){if(null==t)ln(null,null,n,r,i,o,a);else{var s,u=t[e+0],l=u,c=u;for(s=0;s<a;++s)l=c+(u=t[e+s])-l,c=n[r+s]+(-256&l?0>l?0:255:l)&255,l=u,i[o+s]=c}}function fn(t,n,i,a){var s=n.width,u=n.o;if(e(null!=t&&null!=n),0>i||0>=a||i+a>u)return null;if(!t.Cc){if(null==t.ga){var l;if(t.ga=new un,(l=null==t.ga)||(l=n.width*n.o,e(0==t.Gb.length),t.Gb=o(l),t.Uc=0,null==t.Gb?l=0:(t.mb=t.Gb,t.nb=t.Uc,t.rc=null,l=1),l=!l),!l){l=t.ga;var c=t.Fa,h=t.P,f=t.qc,d=t.mb,p=t.nb,m=h+1,g=f-1,b=l.l;if(e(null!=c&&null!=d&&null!=n),gi[0]=null,gi[1]=ln,gi[2]=cn,gi[3]=hn,l.ca=d,l.tb=p,l.c=n.width,l.i=n.height,e(0<l.c&&0<l.i),1>=f)n=0;else if(l.$a=3&c[h+0],l.Z=c[h+0]>>2&3,l.Lc=c[h+0]>>4&3,h=c[h+0]>>6&3,0>l.$a||1<l.$a||4<=l.Z||1<l.Lc||h)n=0;else if(b.put=dt,b.ac=ft,b.bc=pt,b.ma=l,b.width=n.width,b.height=n.height,b.Da=n.Da,b.v=n.v,b.va=n.va,b.j=n.j,b.o=n.o,l.$a)t:{e(1==l.$a),n=kt();e:for(;;){if(null==n){n=0;break t}if(e(null!=l),l.mc=n,n.c=l.c,n.i=l.i,n.l=l.l,n.l.ma=l,n.l.width=l.c,n.l.height=l.i,n.a=0,v(n.m,c,m,g),!It(l.c,l.i,1,n,null))break e;if(1==n.ab&&3==n.gc[0].hc&&Lt(n.s)?(l.ic=1,c=n.c*n.i,n.Ta=null,n.Ua=0,n.V=o(c),n.Ba=0,null==n.V?(n.a=1,n=0):n=1):(l.ic=0,n=Ct(n,l.c)),!n)break e;n=1;break t}l.mc=null,n=0}else n=g>=l.c*l.i;l=!n}if(l)return null;1!=t.ga.Lc?t.Ga=0:a=u-i}e(null!=t.ga),e(i+a<=u);t:{if(n=(c=t.ga).c,u=c.l.o,0==c.$a){if(m=t.rc,g=t.Vc,b=t.Fa,h=t.P+1+i*n,f=t.mb,d=t.nb+i*n,e(h<=t.P+t.qc),0!=c.Z)for(e(null!=gi[c.Z]),l=0;l<a;++l)gi[c.Z](m,g,b,h,f,d,n),m=f,g=d,d+=n,h+=n;else for(l=0;l<a;++l)r(f,d,b,h,n),m=f,g=d,d+=n,h+=n;t.rc=m,t.Vc=g}else{if(e(null!=c.mc),n=i+a,e(null!=(l=c.mc)),e(n<=l.i),l.C>=n)n=1;else if(c.ic||vn(),c.ic){c=l.V,m=l.Ba,g=l.c;var y=l.i,w=(b=1,h=l.$/g,f=l.$%g,d=l.m,p=l.s,l.$),A=g*y,x=g*n,N=p.wc,P=w<x?wt(p,f,h):null;e(w<=A),e(n<=y),e(Lt(p));e:for(;;){for(;!d.h&&w<x;){if(f&N||(P=wt(p,f,h)),e(null!=P),S(d),256>(y=bt(P.G[0],P.H[0],d)))c[m+w]=y,++w,++f>=g&&(f=0,++h<=n&&!(h%16)&&St(l,h));else{if(!(280>y)){b=0;break e}y=gt(y-256,d);var _,k=bt(P.G[4],P.H[4],d);if(S(d),!(w>=(k=vt(g,k=gt(k,d)))&&A-w>=y)){b=0;break e}for(_=0;_<y;++_)c[m+w+_]=c[m+w+_-k];for(w+=y,f+=y;f>=g;)f-=g,++h<=n&&!(h%16)&&St(l,h);w<x&&f&N&&(P=wt(p,f,h))}e(d.h==L(d))}St(l,h>n?n:h);break e}!b||d.h&&w<A?(b=0,l.a=d.h?5:3):l.$=w,n=b}else n=Pt(l,l.V,l.Ba,l.c,l.i,n,Ft);if(!n){a=0;break t}}i+a>=u&&(t.Cc=1),a=1}if(!a)return null;if(t.Cc&&(null!=(a=t.ga)&&(a.mc=null),t.ga=null,0<t.Ga))return alert("todo:WebPDequantizeLevels"),null}return t.nb+i*s}function dn(t,e,n,r,i,o){for(;0<i--;){var a,s=t,u=e+(n?1:0),l=t,c=e+(n?0:3);for(a=0;a<r;++a){var h=l[c+4*a];255!=h&&(h*=32897,s[u+4*a+0]=s[u+4*a+0]*h>>23,s[u+4*a+1]=s[u+4*a+1]*h>>23,s[u+4*a+2]=s[u+4*a+2]*h>>23)}e+=o}}function pn(t,e,n,r,i){for(;0<r--;){var o;for(o=0;o<n;++o){var a=t[e+2*o+0],s=15&(l=t[e+2*o+1]),u=4369*s,l=(240&l|l>>4)*u>>16;t[e+2*o+0]=(240&a|a>>4)*u>>16&240|(15&a|a<<4)*u>>16>>4&15,t[e+2*o+1]=240&l|s}e+=i}}function mn(t,e,n,r,i,o,a,s){var u,l,c=255;for(l=0;l<i;++l){for(u=0;u<r;++u){var h=t[e+u];o[a+4*u]=h,c&=h}e+=n,a+=s}return 255!=c}function gn(t,e,n,r,i){var o;for(o=0;o<i;++o)n[r+o]=t[e+o]>>8}function vn(){Lr=dn,Nr=pn,Sr=mn,Pr=gn}function bn(n,r,i){t[n]=function(t,n,o,a,s,u,l,c,h,f,d,p,m,g,v,b,y){var w,A=y-1>>1,x=s[u+0]|l[c+0]<<16,L=h[f+0]|d[p+0]<<16;e(null!=t);var N=3*x+L+131074>>2;for(r(t[n+0],255&N,N>>16,m,g),null!=o&&(N=3*L+x+131074>>2,r(o[a+0],255&N,N>>16,v,b)),w=1;w<=A;++w){var S=s[u+w]|l[c+w]<<16,P=h[f+w]|d[p+w]<<16,_=x+S+L+P+524296,k=_+2*(S+L)>>3;N=k+x>>1,x=(_=_+2*(x+P)>>3)+S>>1,r(t[n+2*w-1],255&N,N>>16,m,g+(2*w-1)*i),r(t[n+2*w-0],255&x,x>>16,m,g+(2*w-0)*i),null!=o&&(N=_+L>>1,x=k+P>>1,r(o[a+2*w-1],255&N,N>>16,v,b+(2*w-1)*i),r(o[a+2*w+0],255&x,x>>16,v,b+(2*w+0)*i)),x=S,L=P}1&y||(N=3*x+L+131074>>2,r(t[n+y-1],255&N,N>>16,m,g+(y-1)*i),null!=o&&(N=3*L+x+131074>>2,r(o[a+y-1],255&N,N>>16,v,b+(y-1)*i)))}}function yn(){vi[Rr]=bi,vi[Dr]=wi,vi[Tr]=yi,vi[Br]=Ai,vi[qr]=xi,vi[zr]=Li,vi[Ur]=Ni,vi[Vr]=wi,vi[Hr]=Ai,vi[Wr]=xi,vi[Gr]=Li}function wn(t){return t&~Ci?0>t?0:255:t>>Ii}function An(t,e){return wn((19077*t>>8)+(26149*e>>8)-14234)}function xn(t,e,n){return wn((19077*t>>8)-(6419*e>>8)-(13320*n>>8)+8708)}function Ln(t,e){return wn((19077*t>>8)+(33050*e>>8)-17685)}function Nn(t,e,n,r,i){r[i+0]=An(t,n),r[i+1]=xn(t,e,n),r[i+2]=Ln(t,e)}function Sn(t,e,n,r,i){r[i+0]=Ln(t,e),r[i+1]=xn(t,e,n),r[i+2]=An(t,n)}function Pn(t,e,n,r,i){var o=xn(t,e,n);e=o<<3&224|Ln(t,e)>>3,r[i+0]=248&An(t,n)|o>>5,r[i+1]=e}function _n(t,e,n,r,i){var o=240&Ln(t,e)|15;r[i+0]=240&An(t,n)|xn(t,e,n)>>4,r[i+1]=o}function kn(t,e,n,r,i){r[i+0]=255,Nn(t,e,n,r,i+1)}function In(t,e,n,r,i){Sn(t,e,n,r,i),r[i+3]=255}function Cn(t,e,n,r,i){Nn(t,e,n,r,i),r[i+3]=255}function Wt(t,e){return 0>t?0:t>e?e:t}function Fn(e,n,r){t[e]=function(t,e,i,o,a,s,u,l,c){for(var h=l+(-2&c)*r;l!=h;)n(t[e+0],i[o+0],a[s+0],u,l),n(t[e+1],i[o+0],a[s+0],u,l+r),e+=2,++o,++s,l+=2*r;1&c&&n(t[e+0],i[o+0],a[s+0],u,l)}}function On(t,e,n){return 0==n?0==t?0==e?6:5:0==e?4:0:n}function Mn(t,e,n,r,i){switch(t>>>30){case 3:ar(e,n,r,i,0);break;case 2:sr(e,n,r,i);break;case 1:lr(e,n,r,i)}}function jn(t,e){var n,o,a=e.M,s=e.Nb,u=t.oc,l=t.pc+40,c=t.oc,h=t.pc+584,f=t.oc,d=t.pc+600;for(n=0;16>n;++n)u[l+32*n-1]=129;for(n=0;8>n;++n)c[h+32*n-1]=129,f[d+32*n-1]=129;for(0<a?u[l-1-32]=c[h-1-32]=f[d-1-32]=129:(i(u,l-32-1,127,21),i(c,h-32-1,127,9),i(f,d-32-1,127,9)),o=0;o<t.za;++o){var p=e.ya[e.aa+o];if(0<o){for(n=-1;16>n;++n)r(u,l+32*n-4,u,l+32*n+12,4);for(n=-1;8>n;++n)r(c,h+32*n-4,c,h+32*n+4,4),r(f,d+32*n-4,f,d+32*n+4,4)}var m=t.Gd,g=t.Hd+o,v=p.ad,b=p.Hc;if(0<a&&(r(u,l-32,m[g].y,0,16),r(c,h-32,m[g].f,0,8),r(f,d-32,m[g].ea,0,8)),p.Za){var y=u,w=l-32+16;for(0<a&&(o>=t.za-1?i(y,w,m[g].y[15],4):r(y,w,m[g+1].y,0,4)),n=0;4>n;n++)y[w+128+n]=y[w+256+n]=y[w+384+n]=y[w+0+n];for(n=0;16>n;++n,b<<=2)y=u,w=l+Ti[n],fi[p.Ob[n]](y,w),Mn(b,v,16*+n,y,w)}else if(y=On(o,a,p.Ob[0]),hi[y](u,l),0!=b)for(n=0;16>n;++n,b<<=2)Mn(b,v,16*+n,u,l+Ti[n]);for(n=p.Gc,y=On(o,a,p.Dd),di[y](c,h),di[y](f,d),b=v,y=c,w=h,255&(p=n|0)&&(170&p?ur(b,256,y,w):cr(b,256,y,w)),p=f,b=d,255&(n>>=8)&&(170&n?ur(v,320,p,b):cr(v,320,p,b)),a<t.Ub-1&&(r(m[g].y,0,u,l+480,16),r(m[g].f,0,c,h+224,8),r(m[g].ea,0,f,d+224,8)),n=8*s*t.B,m=t.sa,g=t.ta+16*o+16*s*t.R,v=t.qa,p=t.ra+8*o+n,b=t.Ha,y=t.Ia+8*o+n,n=0;16>n;++n)r(m,g+n*t.R,u,l+32*n,16);for(n=0;8>n;++n)r(v,p+n*t.B,c,h+32*n,8),r(b,y+n*t.B,f,d+32*n,8)}}function En(t,r,i,o,a,s,u,l,c){var h=[0],f=[0],d=0,p=null!=c?c.kd:0,m=null!=c?c:new rn;if(null==t||12>i)return 7;m.data=t,m.w=r,m.ha=i,r=[r],i=[i],m.gb=[m.gb];t:{var g=r,b=i,y=m.gb;if(e(null!=t),e(null!=b),e(null!=y),y[0]=0,12<=b[0]&&!n(t,g[0],"RIFF")){if(n(t,g[0]+8,"WEBP")){y=3;break t}var w=O(t,g[0]+4);if(12>w||4294967286<w){y=3;break t}if(p&&w>b[0]-8){y=7;break t}y[0]=w,g[0]+=12,b[0]-=12}y=0}if(0!=y)return y;for(w=0<m.gb[0],i=i[0];;){t:{var x=t;b=r,y=i;var L=h,N=f,S=g=[0];if((k=d=[d])[0]=0,8>y[0])y=7;else{if(!n(x,b[0],"VP8X")){if(10!=O(x,b[0]+4)){y=3;break t}if(18>y[0]){y=7;break t}var P=O(x,b[0]+8),_=1+F(x,b[0]+12);if(2147483648<=_*(x=1+F(x,b[0]+15))){y=3;break t}null!=S&&(S[0]=P),null!=L&&(L[0]=_),null!=N&&(N[0]=x),b[0]+=18,y[0]-=18,k[0]=1}y=0}}if(d=d[0],g=g[0],0!=y)return y;if(b=!!(2&g),!w&&d)return 3;if(null!=s&&(s[0]=!!(16&g)),null!=u&&(u[0]=b),null!=l&&(l[0]=0),u=h[0],g=f[0],d&&b&&null==c){y=0;break}if(4>i){y=7;break}if(w&&d||!w&&!d&&!n(t,r[0],"ALPH")){i=[i],m.na=[m.na],m.P=[m.P],m.Sa=[m.Sa];t:{P=t,y=r,w=i;var k=m.gb;L=m.na,N=m.P,S=m.Sa,_=22,e(null!=P),e(null!=w),x=y[0];var I=w[0];for(e(null!=L),e(null!=S),L[0]=null,N[0]=null,S[0]=0;;){if(y[0]=x,w[0]=I,8>I){y=7;break t}var C=O(P,x+4);if(4294967286<C){y=3;break t}var M=8+C+1&-2;if(_+=M,0<k&&_>k){y=3;break t}if(!n(P,x,"VP8 ")||!n(P,x,"VP8L")){y=0;break t}if(I[0]<M){y=7;break t}n(P,x,"ALPH")||(L[0]=P,N[0]=x+8,S[0]=C),x+=M,I-=M}}if(i=i[0],m.na=m.na[0],m.P=m.P[0],m.Sa=m.Sa[0],0!=y)break}i=[i],m.Ja=[m.Ja],m.xa=[m.xa];t:if(k=t,y=r,w=i,L=m.gb[0],N=m.Ja,S=m.xa,P=y[0],x=!n(k,P,"VP8 "),_=!n(k,P,"VP8L"),e(null!=k),e(null!=w),e(null!=N),e(null!=S),8>w[0])y=7;else{if(x||_){if(k=O(k,P+4),12<=L&&k>L-12){y=3;break t}if(p&&k>w[0]-8){y=7;break t}N[0]=k,y[0]+=8,w[0]-=8,S[0]=_}else S[0]=5<=w[0]&&47==k[P+0]&&!(k[P+4]>>5),N[0]=w[0];y=0}if(i=i[0],m.Ja=m.Ja[0],m.xa=m.xa[0],r=r[0],0!=y)break;if(4294967286<m.Ja)return 3;if(null==l||b||(l[0]=m.xa?2:1),u=[u],g=[g],m.xa){if(5>i){y=7;break}l=u,p=g,b=s,null==t||5>i?t=0:5<=i&&47==t[r+0]&&!(t[r+4]>>5)?(w=[0],k=[0],L=[0],v(N=new A,t,r,i),mt(N,w,k,L)?(null!=l&&(l[0]=w[0]),null!=p&&(p[0]=k[0]),null!=b&&(b[0]=L[0]),t=1):t=0):t=0}else{if(10>i){y=7;break}l=g,null==t||10>i||!Jt(t,r+3,i-3)?t=0:(p=t[r+0]|t[r+1]<<8|t[r+2]<<16,b=16383&(t[r+7]<<8|t[r+6]),t=16383&(t[r+9]<<8|t[r+8]),1&p||3<(p>>1&7)||!(p>>4&1)||p>>5>=m.Ja||!b||!t?t=0:(u&&(u[0]=b),l&&(l[0]=t),t=1))}if(!t)return 3;if(u=u[0],g=g[0],d&&(h[0]!=u||f[0]!=g))return 3;null!=c&&(c[0]=m,c.offset=r-c.w,e(4294967286>r-c.w),e(c.offset==c.ha-i));break}return 0==y||7==y&&d&&null==c?(null!=s&&(s[0]|=null!=m.na&&0<m.na.length),null!=o&&(o[0]=u),null!=a&&(a[0]=g),0):y}function Rn(t,e,n){var r=e.width,i=e.height,o=0,a=0,s=r,u=i;if(e.Da=null!=t&&0<t.Da,e.Da&&(s=t.cd,u=t.bd,o=t.v,a=t.j,11>n||(o&=-2,a&=-2),0>o||0>a||0>=s||0>=u||o+s>r||a+u>i))return 0;if(e.v=o,e.j=a,e.va=o+s,e.o=a+u,e.U=s,e.T=u,e.da=null!=t&&0<t.da,e.da){if(!R(s,u,n=[t.ib],o=[t.hb]))return 0;e.ib=n[0],e.hb=o[0]}return e.ob=null!=t&&t.ob,e.Kb=null==t||!t.Sd,e.da&&(e.ob=e.ib<3*r/4&&e.hb<3*i/4,e.Kb=0),1}function Dn(t){if(null==t)return 2;if(11>t.S){var e=t.f.RGBA;e.fb+=(t.height-1)*e.A,e.A=-e.A}else e=t.f.kb,t=t.height,e.O+=(t-1)*e.fa,e.fa=-e.fa,e.N+=(t-1>>1)*e.Ab,e.Ab=-e.Ab,e.W+=(t-1>>1)*e.Db,e.Db=-e.Db,null!=e.F&&(e.J+=(t-1)*e.lb,e.lb=-e.lb);return 0}function Tn(t,e,n,r){if(null==r||0>=t||0>=e)return 2;if(null!=n){if(n.Da){var i=n.cd,a=n.bd,s=-2&n.v,u=-2&n.j;if(0>s||0>u||0>=i||0>=a||s+i>t||u+a>e)return 2;t=i,e=a}if(n.da){if(!R(t,e,i=[n.ib],a=[n.hb]))return 2;t=i[0],e=a[0]}}r.width=t,r.height=e;t:{var l=r.width,c=r.height;if(t=r.S,0>=l||0>=c||!(t>=Rr&&13>t))t=2;else{if(0>=r.Rd&&null==r.sd){s=a=i=e=0;var h=(u=l*Ui[t])*c;if(11>t||(a=(c+1)/2*(e=(l+1)/2),12==t&&(s=(i=l)*c)),null==(c=o(h+2*a+s))){t=1;break t}r.sd=c,11>t?((l=r.f.RGBA).eb=c,l.fb=0,l.A=u,l.size=h):((l=r.f.kb).y=c,l.O=0,l.fa=u,l.Fd=h,l.f=c,l.N=0+h,l.Ab=e,l.Cd=a,l.ea=c,l.W=0+h+a,l.Db=e,l.Ed=a,12==t&&(l.F=c,l.J=0+h+2*a),l.Tc=s,l.lb=i)}if(e=1,i=r.S,a=r.width,s=r.height,i>=Rr&&13>i)if(11>i)t=r.f.RGBA,e&=(u=Math.abs(t.A))*(s-1)+a<=t.size,e&=u>=a*Ui[i],e&=null!=t.eb;else{t=r.f.kb,u=(a+1)/2,h=(s+1)/2,l=Math.abs(t.fa),c=Math.abs(t.Ab);var f=Math.abs(t.Db),d=Math.abs(t.lb),p=d*(s-1)+a;e&=l*(s-1)+a<=t.Fd,e&=c*(h-1)+u<=t.Cd,e=(e&=f*(h-1)+u<=t.Ed)&l>=a&c>=u&f>=u,e&=null!=t.y,e&=null!=t.f,e&=null!=t.ea,12==i&&(e&=d>=a,e&=p<=t.Tc,e&=null!=t.F)}else e=0;t=e?0:2}}return 0!=t||null!=n&&n.fd&&(t=Dn(r)),t}var Bn=64,qn=[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],zn=24,Un=32,Vn=8,Hn=[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];B("Predictor0","PredictorAdd0"),t.Predictor0=function(){return 4278190080},t.Predictor1=function(t){return t},t.Predictor2=function(t,e,n){return e[n+0]},t.Predictor3=function(t,e,n){return e[n+1]},t.Predictor4=function(t,e,n){return e[n-1]},t.Predictor5=function(t,e,n){return z(z(t,e[n+1]),e[n+0])},t.Predictor6=function(t,e,n){return z(t,e[n-1])},t.Predictor7=function(t,e,n){return z(t,e[n+0])},t.Predictor8=function(t,e,n){return z(e[n-1],e[n+0])},t.Predictor9=function(t,e,n){return z(e[n+0],e[n+1])},t.Predictor10=function(t,e,n){return z(z(t,e[n-1]),z(e[n+0],e[n+1]))},t.Predictor11=function(t,e,n){var r=e[n+0];return 0>=H(r>>24&255,t>>24&255,(e=e[n-1])>>24&255)+H(r>>16&255,t>>16&255,e>>16&255)+H(r>>8&255,t>>8&255,e>>8&255)+H(255&r,255&t,255&e)?r:t},t.Predictor12=function(t,e,n){var r=e[n+0];return(U((t>>24&255)+(r>>24&255)-((e=e[n-1])>>24&255))<<24|U((t>>16&255)+(r>>16&255)-(e>>16&255))<<16|U((t>>8&255)+(r>>8&255)-(e>>8&255))<<8|U((255&t)+(255&r)-(255&e)))>>>0},t.Predictor13=function(t,e,n){var r=e[n-1];return(V((t=z(t,e[n+0]))>>24&255,r>>24&255)<<24|V(t>>16&255,r>>16&255)<<16|V(t>>8&255,r>>8&255)<<8|V(255&t,255&r))>>>0};var Wn=t.PredictorAdd0;t.PredictorAdd1=W,B("Predictor2","PredictorAdd2"),B("Predictor3","PredictorAdd3"),B("Predictor4","PredictorAdd4"),B("Predictor5","PredictorAdd5"),B("Predictor6","PredictorAdd6"),B("Predictor7","PredictorAdd7"),B("Predictor8","PredictorAdd8"),B("Predictor9","PredictorAdd9"),B("Predictor10","PredictorAdd10"),B("Predictor11","PredictorAdd11"),B("Predictor12","PredictorAdd12"),B("Predictor13","PredictorAdd13");var Gn=t.PredictorAdd2;J("ColorIndexInverseTransform","MapARGB","32b",function(t){return t>>8&255},function(t){return t}),J("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(t){return t},function(t){return t>>8&255});var Yn,Xn=t.ColorIndexInverseTransform,Jn=t.MapARGB,Kn=t.VP8LColorIndexInverseTransformAlpha,$n=t.MapAlpha,Zn=t.VP8LPredictorsAdd=[];Zn.length=16,(t.VP8LPredictors=[]).length=16,(t.VP8LPredictorsAdd_C=[]).length=16,(t.VP8LPredictors_C=[]).length=16;var Qn,tr,er,nr,rr,ir,or,ar,sr,ur,lr,cr,hr,fr,dr,pr,mr,gr,vr,br,yr,wr,Ar,xr,Lr,Nr,Sr,Pr,_r=o(511),kr=o(2041),Ir=o(225),Cr=o(767),Fr=0,Or=kr,Mr=Ir,jr=Cr,Er=_r,Rr=0,Dr=1,Tr=2,Br=3,qr=4,zr=5,Ur=6,Vr=7,Hr=8,Wr=9,Gr=10,Yr=[2,3,7],Xr=[3,3,11],Jr=[280,256,256,256,40],Kr=[0,1,1,1,0],$r=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Zr=[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],Qr=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ti=8,ei=[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],ni=[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],ri=null,ii=[[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]],oi=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],a
vendor: 7,620 bytes, line 2
2i=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],si=[[[[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]]]],ui=[[[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]]],
2li=[[[[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,25
vendor: 5,220 bytes, line 2
25,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]]]],ci=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],hi=[],fi=[],di=[],pi=1,mi=2,gi=[],vi=[];bn("UpsampleRgbLinePair",Nn,3),bn("UpsampleBgrLinePair",Sn,3),bn("UpsampleRgbaLinePair",Cn,4),bn("UpsampleBgraLinePair",In,4),bn("UpsampleArgbLinePair",kn,4),bn("UpsampleRgba4444LinePair",_n,2),bn("UpsampleRgb565LinePair",Pn,2);var bi=t.UpsampleRgbLinePair,yi=t.UpsampleBgrLinePair,wi=t.UpsampleRgbaLinePair,Ai=t.UpsampleBgraLinePair,xi=t.UpsampleArgbLinePair,Li=t.UpsampleRgba4444LinePair,Ni=t.UpsampleRgb565LinePair,Si=16,Pi=1<<Si-1,_i=-227,ki=482,Ii=6,Ci=(256<<Ii)-1,Fi=0,Oi=o(256),Mi=o(256),ji=o(256),Ei=o(256),Ri=o(ki-_i),Di=o(ki-_i);Fn("YuvToRgbRow",Nn,3),Fn("YuvToBgrRow",Sn,3),Fn("YuvToRgbaRow",Cn,4),Fn("YuvToBgraRow",In,4),Fn("YuvToArgbRow",kn,4),Fn("YuvToRgba4444Row",_n,2),Fn("YuvToRgb565Row",Pn,2);var Ti=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Bi=[0,2,8],qi=[8,7,6,4,4,2,2,2,1,1,1,1],zi=1;this.WebPDecodeRGBA=function(t,n,r,i,o){var a=Dr,s=new nn,u=new at;s.ba=u,u.S=a,u.width=[u.width],u.height=[u.height];var l=u.width,c=u.height,h=new st;if(null==h||null==t)var f=2;else e(null!=h),f=En(t,n,r,h.width,h.height,h.Pd,h.Qd,h.format,null);if(0!=f?l=0:(null!=l&&(l[0]=h.width[0]),null!=c&&(c[0]=h.height[0]),l=1),l){u.width=u.width[0],u.height=u.height[0],null!=i&&(i[0]=u.width),null!=o&&(o[0]=u.height);t:{if(i=new Gt,(o=new rn).data=t,o.w=n,o.ha=r,o.kd=1,n=[0],e(null!=o),(0==(t=En(o.data,o.w,o.ha,null,null,null,n,null,o))||7==t)&&n[0]&&(t=4),0==(n=t)){if(e(null!=s),i.data=o.data,i.w=o.w+o.offset,i.ha=o.ha-o.offset,i.put=dt,i.ac=ft,i.bc=pt,i.ma=s,o.xa){if(null==(t=kt())){s=1;break t}if(function(t,n){var r=[0],i=[0],o=[0];e:for(;;){if(null==t)return 0;if(null==n)return t.a=2,0;if(t.l=n,t.a=0,v(t.m,n.data,n.w,n.ha),!mt(t.m,r,i,o)){t.a=3;break e}if(t.xb=mi,n.width=r[0],n.height=i[0],!It(r[0],i[0],1,t,null))break e;return 1}return e(0!=t.a),0}(t,i)){if(i=0==(n=Tn(i.width,i.height,s.Oa,s.ba))){e:{i=t;n:for(;;){if(null==i){i=0;break e}if(e(null!=i.s.yc),e(null!=i.s.Ya),e(0<i.s.Wb),e(null!=(r=i.l)),e(null!=(o=r.ma)),0!=i.xb){if(i.ca=o.ba,i.tb=o.tb,e(null!=i.ca),!Rn(o.Oa,r,Br)){i.a=2;break n}if(!Ct(i,r.width))break n;if(r.da)break n;if((r.da||rt(i.ca.S))&&vn(),11>i.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=i.ca.f.kb.F&&vn()),i.Pb&&0<i.s.ua&&null==i.s.vb.X&&!M(i.s.vb,i.s.Wa.Xa)){i.a=1;break n}i.xb=0}if(!Pt(i,i.V,i.Ba,i.c,i.i,r.o,xt))break n;o.Dc=i.Ma,i=1;break e}e(0!=i.a),i=0}i=!i}i&&(n=t.a)}else n=t.a}else{if(null==(t=new Yt)){s=1;break t}if(t.Fa=o.na,t.P=o.P,t.qc=o.Sa,Kt(t,i)){if(0==(n=Tn(i.width,i.height,s.Oa,s.ba))){if(t.Aa=0,r=s.Oa,e(null!=(o=t)),null!=r){if(0<(l=0>(l=r.Md)?0:100<l?255:255*l/100)){for(c=h=0;4>c;++c)12>(f=o.pb[c]).lc&&(f.ia=l*qi[0>f.lc?0:f.lc]>>3),h|=f.ia;h&&(alert("todo:VP8InitRandom"),o.ia=1)}o.Ga=r.Id,100<o.Ga?o.Ga=100:0>o.Ga&&(o.Ga=0)}Qt(t,i)||(n=t.a)}}else n=t.a}0==n&&null!=s.Oa&&s.Oa.fd&&(n=Dn(s.ba))}s=n}a=0!=s?null:11>a?u.f.RGBA.eb:u.f.kb.y}else a=null;return a};var Ui=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function l(t,e){for(var n="",r=0;r<4;r++)n+=String.fromCharCode(t[e++]);return n}function c(t,e){return(t[e+0]|t[e+1]<<8|t[e+2]<<16)>>>0}function h(t,e){return(t[e+0]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0}new u;var f=[0],d=[0],p=[],m=new u,g=t,v=function(t,e){var n={},r=0,i=!1,o=0,a=0;if(n.frames=[],!function(t,e){for(var n=0;n<4;n++)if(t[e+n]!="RIFF".charCodeAt(n))return!0;return!1}(t,e)){var s,u;for(h(t,e+=4),e+=8;e<t.length;){var f=l(t,e),d=h(t,e+=4);e+=4;var p=d+(1&d);switch(f){case"VP8 ":case"VP8L":void 0===n.frames[r]&&(n.frames[r]={}),(v=n.frames[r]).src_off=i?a:e-8,v.src_size=o+d+8,r++,i&&(i=!1,o=0,a=0);break;case"VP8X":(v=n.header={}).feature_flags=t[e];var m=e+4;v.canvas_width=1+c(t,m),m+=3,v.canvas_height=1+c(t,m),m+=3;break;case"ALPH":i=!0,o=p+8,a=e-8;break;case"ANIM":(v=n.header).bgcolor=h(t,e),m=e+4,v.loop_count=(s=t)[(u=m)+0]|s[u+1]<<8,m+=2;break;case"ANMF":var g,v;(v=n.frames[r]={}).offset_x=2*c(t,e),e+=3,v.offset_y=2*c(t,e),e+=3,v.width=1+c(t,e),e+=3,v.height=1+c(t,e),e+=3,v.duration=c(t,e),e+=3,g=t[e++],v.dispose=1&g,v.blend=g>>1&1}"ANMF"!=f&&(e+=p)}return n}}(g,0);v.response=g,v.rgbaoutput=!0,v.dataurl=!1;var b=v.header?v.header:null,y=v.frames?v.frames:null;if(b){b.loop_counter=b.loop_count,f=[b.canvas_height],d=[b.canvas_width];for(var w=0;w<y.length&&0!=y[w].blend;w++);}var A=y[0],x=m.WebPDecodeRGBA(g,A.src_off,A.src_size,d,f);A.rgba=x,A.imgwidth=d[0],A.imgheight=f[0];for(var L=0;
vendor: 5,597 bytes, line 2
2L<d[0]*f[0]*4;L++)p[L]=x[L];return this.width=d,this.height=f,this.data=p,this}!function(t){var e=function(e,r,u,l){var c=4,h=o;switch(l){case t.image_compression.FAST:c=1,h=i;break;case t.image_compression.MEDIUM:c=6,h=a;break;case t.image_compression.SLOW:c=9,h=s}var f=$(e=n(e,r,u,h),{level:c});return t.__addimage__.arrayBufferToBinaryString(f)},n=function(t,e,n,r){for(var i,o,a,s=t.length/e,u=new Uint8Array(t.length+s),h=l(),f=0;f<s;f+=1){if(a=f*e,i=t.subarray(a,a+e),r)u.set(r(i,n,o),a+f);else{for(var d,p=h.length,m=[];d<p;d+=1)m[d]=h[d](i,n,o);var g=c(m.concat());u.set(m[g],a+f)}o=i}return u},r=function(t){var e=Array.apply([],t);return e.unshift(0),e},i=function(t,e){var n,r=[],i=t.length;r[0]=1;for(var o=0;o<i;o+=1)n=t[o-e]||0,r[o+1]=t[o]-n+256&255;return r},o=function(t,e,n){var r,i=[],o=t.length;i[0]=2;for(var a=0;a<o;a+=1)r=n&&n[a]||0,i[a+1]=t[a]-r+256&255;return i},a=function(t,e,n){var r,i,o=[],a=t.length;o[0]=3;for(var s=0;s<a;s+=1)r=t[s-e]||0,i=n&&n[s]||0,o[s+1]=t[s]+256-(r+i>>>1)&255;return o},s=function(t,e,n){var r,i,o,a,s=[],l=t.length;s[0]=4;for(var c=0;c<l;c+=1)r=t[c-e]||0,i=n&&n[c]||0,o=n&&n[c-e]||0,a=u(r,i,o),s[c+1]=t[c]-a+256&255;return s},u=function(t,e,n){if(t===e&&e===n)return t;var r=Math.abs(e-n),i=Math.abs(t-n),o=Math.abs(t+e-n-n);return r<=i&&r<=o?t:i<=o?e:n},l=function(){return[r,i,o,a,s]},c=function(t){var e=t.map(function(t){return t.reduce(function(t,e){return t+Math.abs(e)},0)});return e.indexOf(Math.min.apply(null,e))};t.processPNG=function(n,r,i,o){var a,s,u,l,c,h,f,d,p,m,g,v,b,y,w,A=this.decode.FLATE_DECODE,x="";if(this.__addimage__.isArrayBuffer(n)&&(n=new Uint8Array(n)),this.__addimage__.isArrayBufferView(n)){if(n=(u=new We(n)).imgData,s=u.bits,a=u.colorSpace,c=u.colors,-1!==[4,6].indexOf(u.colorType)){if(8===u.bits){p=(d=32==u.pixelBitlength?new Uint32Array(u.decodePixels().buffer):16==u.pixelBitlength?new Uint16Array(u.decodePixels().buffer):new Uint8Array(u.decodePixels().buffer)).length,g=new Uint8Array(p*u.colors),m=new Uint8Array(p);var L,N=u.pixelBitlength-u.bits;for(y=0,w=0;y<p;y++){for(b=d[y],L=0;L<N;)g[w++]=b>>>L&255,L+=u.bits;m[y]=b>>>L&255}}if(16===u.bits){p=(d=new Uint32Array(u.decodePixels().buffer)).length,g=new Uint8Array(p*(32/u.pixelBitlength)*u.colors),m=new Uint8Array(p*(32/u.pixelBitlength)),v=u.colors>1,y=0,w=0;for(var S=0;y<p;)b=d[y++],g[w++]=b>>>0&255,v&&(g[w++]=b>>>16&255,b=d[y++],g[w++]=b>>>0&255),m[S++]=b>>>16&255;s=8}o!==t.image_compression.NONE?(n=e(g,u.width*u.colors,u.colors,o),f=e(m,u.width,1,o)):(n=g,f=m,A=void 0)}if(3===u.colorType&&(a=this.color_spaces.INDEXED,h=u.palette,u.transparency.indexed)){var P=u.transparency.indexed,_=0;for(y=0,p=P.length;y<p;++y)_+=P[y];if((_/=255)===p-1&&-1!==P.indexOf(0))l=[P.indexOf(0)];else if(_!==p){for(d=u.decodePixels(),m=new Uint8Array(d.length),y=0,p=d.length;y<p;y++)m[y]=P[d[y]];f=e(m,u.width,1)}}var k=function(e){var n;switch(e){case t.image_compression.FAST:n=11;break;case t.image_compression.MEDIUM:n=13;break;case t.image_compression.SLOW:n=14;break;default:n=12}return n}(o);return A===this.decode.FLATE_DECODE&&(x="/Predictor "+k+" "),x+="/Colors "+c+" /BitsPerComponent "+s+" /Columns "+u.width,(this.__addimage__.isArrayBuffer(n)||this.__addimage__.isArrayBufferView(n))&&(n=this.__addimage__.arrayBufferToBinaryString(n)),(f&&this.__addimage__.isArrayBuffer(f)||this.__addimage__.isArrayBufferView(f))&&(f=this.__addimage__.arrayBufferToBinaryString(f)),{alias:i,data:n,index:r,filter:A,decodeParameters:x,transparency:l,palette:h,sMask:f,predictor:k,width:u.width,height:u.height,bitsPerComponent:s,colorSpace:a}}}}(Mt.API),function(t){t.processGIF89A=function(e,n,r,i){var o=new Ge(e),a=o.width,s=o.height,u=[];o.decodeAndBlitFrameRGBA(0,u);var l={data:u,width:a,height:s},c=new Xe(100).encode(l,100);return t.processJPEG.call(this,c,n,r,i)},t.processGIF87A=t.processGIF89A}(Mt.API),Je.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,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var t=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(t);for(var e=0;e<t;e++){var n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0);this.palette[e]={red:i,green:r,blue:n,quad:o}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Je.prototype.parseBGR=function(){this.pos=this.offset;try{var t="bit"+this.bitPP,e=this.width*this.height*4;this.data=new Uint8Array(e),this[t]()}catch(t){nt.log("bit decode error:"+t)}},Je.prototype.bit1=function(){var t,e=Math.ceil(this.width/8),n=e%4;for(t=this.height-1;t>=0;t--){for(var r=this.bottom_up?t:this.height-1-t,i=0;i<e;i++)for(var o=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+8*i*4,s=0;s<8&&8*i+s<this.width;s++){var u=this.palette[o>>7-s&1];
vendor: 4,679 bytes, line 2
2this.data[a+4*s]=u.blue,this.data[a+4*s+1]=u.green,this.data[a+4*s+2]=u.red,this.data[a+4*s+3]=255}0!==n&&(this.pos+=4-n)}},Je.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),e=t%4,n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<t;i++){var o=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+2*i*4,s=o>>4,u=15&o,l=this.palette[s];if(this.data[a]=l.blue,this.data[a+1]=l.green,this.data[a+2]=l.red,this.data[a+3]=255,2*i+1>=this.width)break;l=this.palette[u],this.data[a+4]=l.blue,this.data[a+4+1]=l.green,this.data[a+4+2]=l.red,this.data[a+4+3]=255}0!==e&&(this.pos+=4-e)}},Je.prototype.bit8=function(){for(var t=this.width%4,e=this.height-1;e>=0;e--){for(var n=this.bottom_up?e:this.height-1-e,r=0;r<this.width;r++){var i=this.datav.getUint8(this.pos++,!0),o=n*this.width*4+4*r;if(i<this.palette.length){var a=this.palette[i];this.data[o]=a.red,this.data[o+1]=a.green,this.data[o+2]=a.blue,this.data[o+3]=255}else this.data[o]=255,this.data[o+1]=255,this.data[o+2]=255,this.data[o+3]=255}0!==t&&(this.pos+=4-t)}},Je.prototype.bit15=function(){for(var t=this.width%3,e=parseInt("11111",2),n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<this.width;i++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(o&e)/e*255|0,s=(o>>5&e)/e*255|0,u=(o>>10&e)/e*255|0,l=o>>15?255:0,c=r*this.width*4+4*i;this.data[c]=u,this.data[c+1]=s,this.data[c+2]=a,this.data[c+3]=l}this.pos+=t}},Je.prototype.bit16=function(){for(var t=this.width%3,e=parseInt("11111",2),n=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var i=this.bottom_up?r:this.height-1-r,o=0;o<this.width;o++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(a&e)/e*255|0,u=(a>>5&n)/n*255|0,l=(a>>11)/e*255|0,c=i*this.width*4+4*o;this.data[c]=l,this.data[c+1]=u,this.data[c+2]=s,this.data[c+3]=255}this.pos+=t}},Je.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var e=this.bottom_up?t:this.height-1-t,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),a=e*this.width*4+4*n;this.data[a]=o,this.data[a+1]=i,this.data[a+2]=r,this.data[a+3]=255}this.pos+=this.width%4}},Je.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var e=this.bottom_up?t:this.height-1-t,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=e*this.width*4+4*n;this.data[s]=o,this.data[s+1]=i,this.data[s+2]=r,this.data[s+3]=a}},Je.prototype.getData=function(){return this.data},function(t){t.processBMP=function(e,n,r,i){var o=new Je(e,!1),a=o.width,s=o.height,u={data:o.getData(),width:a,height:s},l=new Xe(100).encode(u,100);return t.processJPEG.call(this,l,n,r,i)}}(Mt.API),Ke.prototype.getData=function(){return this.data},function(t){t.processWEBP=function(e,n,r,i){var o=new Ke(e,!1),a=o.width,s=o.height,u={data:o.getData(),width:a,height:s},l=new Xe(100).encode(u,100);return t.processJPEG.call(this,l,n,r,i)}}(Mt.API),Mt.API.processRGBA=function(t,e,n){for(var r=t.data,i=r.length,o=new Uint8Array(i/4*3),a=new Uint8Array(i/4),s=0,u=0,l=0;l<i;l+=4){var c=r[l],h=r[l+1],f=r[l+2],d=r[l+3];o[s++]=c,o[s++]=h,o[s++]=f,a[u++]=d}var p=this.__addimage__.arrayBufferToBinaryString(o);return{alpha:this.__addimage__.arrayBufferToBinaryString(a),data:p,index:e,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},Mt.API.setLanguage=function(t){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={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 (Canad
2a)","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]&&(this.internal.languageSettings.languageCode=t,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},qe=Mt.API,ze=qe.getCharWidthsArray=function(t,e){var n,i,o=(e=e||{}).font||this.internal.getFont(),a=e.fontSize||this.internal.getFontSize(),s=e.charSpace||this.internal.getCharSpace(),u=e.widths?e.widths:o.metadata.Unicode.widths,l=u.fof?u.fof:1,c=e.kerning?e.kerning:o.metadata.Unicode.kerning,h=c.fof?c.fof:1,f=!1!==e.doKerning,d=0,p=t.length,m=0,g=u[0]||l,v=[];for(n=0;n<p;n++)i=t.charCodeAt(n),"function"==typeof o.metadata.widthOfString?v.push((o.metadata.widthOfGlyph(o.metadata.characterToGlyph(i))+s*(1e3/a)||0)/1e3):(d=f&&"object"===(0,r.A)(c[i])&&!isNaN(parseInt(c[i][m],10))?c[i][m]/h:0,v.push((u[i]||g)/l+d)),m=i;return v},Ue=qe.getStringUnitWidth=function(t,e){var n=(e=e||{}).fontSize||this.internal.getFontSize(),r=e.font||this.internal.getFont(),i=e.charSpace||this.internal.getCharSpace();return qe.processArabic&&(t=qe.processArabic(t)),"function"==typeof r.metadata.widthOfString?r.metadata.widthOfString(t,n,i)/n:ze.apply(this,arguments).reduce(function(t,e){return t+e},0)},Ve=function(t,e,n,r){for(var i=[],o=0,a=t.length,s=0;o!==a&&s+e[o]<n;)s+=e[o],o++;i.push(t.slice(0,o));var u=o;for(s=0;o!==a;)s+e[o]>r&&(i.push(t.slice(u,o)),s=0,u=o),s+=e[o],o++;return u!==o&&i.push(t.slice(u,o)),i},He=function(t,e,n){n||(n={});var r,i,o,a,s,u,l,c=[],h=[c],f=n.textIndent||0,d=0,p=0,m=t.split(" "),g=ze.apply(this,[" ",n])[0];if(u=-1===n.lineIndent?m[0].length+2:n.lineIndent||0){var v=Array(u).join(" "),b=[];m.map(function(t){(t=t.split(/\s*\n/)).length>1?b=b.concat(t.map(function(t,e){return(e&&t.length?"\n":"")+t})):b.push(t[0])}),m=b,u=Ue.apply(this,[v,n])}for(o=0,a=m.length;o<a;o++){var y=0;if(r=m[o],u&&"\n"==r[0]&&(r=r.substr(1),y=1),f+d+(p=(i=ze.apply(this,[r,n])).reduce(function(t,e){return t+e},0))>e||y){if(p>e){for(s=Ve.apply(this,[r,i,e-(f+d),e]),c.push(s.shift()),c=[s.pop()];s.length;)h.push([s.shift()]);p=i.slice(r.length-(c[0]?c[0].length:0)).reduce(function(t,e){return t+e},0)}else c=[r];h.push(c),f=p+u,d=g}else c.push(r),f+=d+p,d=g}return l=u?function(t,e){return(e?v:"")+t.join(" ")}:function(t){return t.join(" ")},h.map(l)},qe.splitTextToSize=function(t,e,n){var r,i=(n=n||{}).fontSize||this.internal.getFontSize(),o=function(t){if(t.widths&&t.kerning)return{widths:t.widths,kerning:t.kerning};var e=this.internal.getFont(t.fontName,t.fontStyle);return e.metadata.Unicode?{widths:e.metadata.Unicode.widths||{0:1},kerning:e.metadata.Unicode.kerning||{}}:{font:e.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,n);r=Array.isArray(t)?t:String(t).split(/\r?\n/);var a=1*this.internal.scaleFactor*e/i;o.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/i:0,o.lineIndent=n.lineIndent;var s,u,l=[];for(s=0,u=r.length;s<u;s++)l=l.concat(He.apply(this,[r[s],a,o]));return l},function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var e="klmnopqrstuvwxyz",n={},i={},o=0;o<16;o++)n[e[o]]="0123456789abcdef"[o],i["0123456789abcdef"[o]]=e[o];var a=function(t){return"0x"+parseInt(t,10).toString(16)},s=t.__fontmetrics__.compress=function(t){var e,n,o,u,l=["{"];for(var c in t){if(e=t[c],isNaN(parseInt(c,10))?n="'"+c+"'":(c=parseInt(c,10),n=(n=a(c).slice(2)).slice(0,-1)+i[n.slice(-1)]),"number"==typeof e)e<0?(o=a(e).slice(3),u="-"):(o=a(e).slice(2),u=""),o=u+o.slice(0,-1)+i[o.slice(-1)];
vendor: 1,103 bytes, line 2
2else{if("object"!==(0,r.A)(e))throw new Error("Don't know what to do with value type "+(0,r.A)(e)+".");o=s(e)}l.push(n+o)}return l.push("}"),l.join("")},u=t.__fontmetrics__.uncompress=function(t){if("string"!=typeof t)throw new Error("Invalid argument passed to uncompress.");for(var e,r,i,o,a={},s=1,u=a,l=[],c="",h="",f=t.length-1,d=1;d<f;d+=1)"'"==(o=t[d])?e?(i=e.join(""),e=void 0):e=[]:e?e.push(o):"{"==o?(l.push([u,i]),u={},i=void 0):"}"==o?((r=l.pop())[0][r[1]]=u,i=void 0,u=r[0]):"-"==o?s=-1:void 0===i?n.hasOwnProperty(o)?(c+=n[o],i=parseInt(c,16)*s,s=1,c=""):c+=o:n.hasOwnProperty(o)?(h+=n[o],u[i]=parseInt(h,16)*s,s=1,i=void 0,h=""):h+=o;return a},l={codePages:["WinAnsiEncoding"],WinAnsiEncoding:u("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},c={Unicode:{Courier:l,"Courier-Bold":l,"Courier-BoldOblique":l,"Courier-Oblique":l,Helvetica:l,"Helvetica-Bold":l,"Helvetica-BoldOblique":l,"Helvetica-Oblique":l,"Times-Roman":l,"Times-Bold":l,"Times-BoldItalic":l,"Times-Italic":l}},h
vendor: 14,693 bytes, line 2
2={Unicode:{"Courier-Oblique":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":u("{'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":u("{'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:u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":u("{'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:u("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:u("{'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":u("{'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:u("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":u("{'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":u("{'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":u("{'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}}}")}};
vendor: 11,725 bytes, line 2
2t.events.push(["addFont",function(t){var e=t.font,n=h.Unicode[e.postScriptName];n&&(e.metadata.Unicode={},e.metadata.Unicode.widths=n.widths,e.metadata.Unicode.kerning=n.kerning);var r=c.Unicode[e.postScriptName];r&&(e.metadata.Unicode.encoding=r,e.encoding=r.codePages[0])}])}(Mt.API),function(t){var e=function(t){for(var e=t.length,n=new Uint8Array(e),r=0;r<e;r++)n[r]=t.charCodeAt(r);return n};t.API.events.push(["addFont",function(n){var r=void 0,i=n.font,o=n.instance;if(!i.isStandardFont){if(void 0===o)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if("string"!=typeof(r=!1===o.existsFileInVFS(i.postScriptName)?o.loadFile(i.postScriptName):o.getFileFromVFS(i.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");!function(n,r){r=/^\x00\x01\x00\x00/.test(r)?e(r):e(at(r)),n.metadata=t.API.TTFFont.open(r),n.metadata.Unicode=n.metadata.Unicode||{encoding:{},kerning:{},widths:[]},n.metadata.glyIdsUsed=[0]}(i,r)}}])}(Mt),function(){function t(){return(tt.canvg?Promise.resolve(tt.canvg):n.e(2239).then(n.bind(n,42239))).catch(function(t){return Promise.reject(new Error("Could not load canvg: "+t))}).then(function(t){return t.default?t.default:t})}Mt.API.addSvgAsImage=function(e,n,r,i,o,a,s,u){if(isNaN(n)||isNaN(r))throw nt.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(o))throw nt.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=i,l.height=o;var c=l.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,l.width,l.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},f=this;return t().then(function(t){return t.fromString(c,e,h)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(t){return t.render(h)}).then(function(){f.addImage(l.toDataURL("image/jpeg",1),n,r,i,o,s,u)})}}(),Mt.API.putTotalPages=function(t){var e,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),n=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(e,n);return this},Mt.API.viewerPreferences=function(t,e){var n;t=t||{},e=e||!1;var i,o,a,s={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}},u=Object.keys(s),l=[],c=0,h=0,f=0;function d(t,e){var n,r=!1;for(n=0;n<t.length;n+=1)t[n]===e&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===t||!0===e){var p=u.length;for(f=0;f<p;f+=1)n[u[f]].value=n[u[f]].defaultValue,n[u[f]].explicitSet=!1}if("object"===(0,r.A)(t))for(o in t)if(a=t[o],d(u,o)&&void 0!==a){if("boolean"===n[o].type&&"boolean"==typeof a)n[o].value=a;else if("name"===n[o].type&&d(n[o].valueSet,a))n[o].value=a;else if("integer"===n[o].type&&Number.isInteger(a))n[o].value=a;else if("array"===n[o].type){for(c=0;c<a.length;c+=1)if(i=!0,1===a[c].length&&"number"==typeof a[c][0])l.push(String(a[c]-1));else if(a[c].length>1){for(h=0;h<a[c].length;h+=1)"number"!=typeof a[c][h]&&(i=!1);!0===i&&l.push([a[c][0]-1,a[c][1]-1].join(" "))}n[o].value="["+l.join(" ")+"]"}else n[o].value=n[o].defaultValue;n[o].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){var t,e=[];for(t in n)!0===n[t].explicitSet&&("name"===n[t].type?e.push("/"+t+" /"+n[t].value):e.push("/"+t+" "+n[t].value));0!==e.length&&this.internal.write("/ViewerPreferences\n<<\n"+e.join("\n")+"\n>>")}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},function(t){var e=function(){var t='<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>',e=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),n=unescape(encodeURIComponent(t)),r=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),i=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),o=unescape(encodeURIComponent("</x:xmpmeta>")),a=n.length+r.length+i.length+e.length+o.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+a+" >>"),this.internal.write("stream"),this.internal.write(e+n+r+i+o),this.internal.write("endstream"),this.internal.write("endobj")},n=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};t.addMetadata=function(t,r){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:t,namespaceuri:r||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",n),this.internal.events.subscribe("postPutResources",e)),this}}(Mt.API),function(t){var e=t.API,n=e.pdfEscape16=function(t,e){for(var n,r=e.metadata.Unicode.widths,i=["","0","00","000","0000"],o=[""],a=0,s=t.length;a<s;++a){if(n=e.metadata.characterToGlyph(t.charCodeAt(a)),e.metadata.glyIdsUsed.push(n),e.metadata.toUnicode[n]=t.charCodeAt(a),-1==r.indexOf(n)&&(r.push(n),r.push([parseInt(e.metadata.widthOfGlyph(n),10)])),"0"==n)return o.join("");n=n.toString(16),o.push(i[4-n.length],n)}return o.join("")},r=function(t){var e,n,r,i,o,a,s;for(o="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n  /Registry (Adobe)\n  /Ordering (UCS)\n  /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",r=[],a=0,s=(n=Object.keys(t).sort(function(t,e){return t-e})).length;a<s;a++)e=n[a],r.length>=100&&(o+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar",r=[]),void 0!==t[e]&&null!==t[e]&&"function"==typeof t[e].toString&&(i=("0000"+t[e].toString(16)).slice(-4),e=("0000"+(+e).toString(16)).slice(-4),r.push("<"+e+"><"+i+">"));return r.length&&(o+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),o+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};e.events.push(["putFont",function(e){!function(e){var n=e.font,i=e.out,o=e.newObject,a=e.putStream;if(n.metadata instanceof t.API.TTFFont&&"Identity-H"===n.encoding){for(var s=n.metadata.Unicode.widths,u=n.metadata.subset.encode(n.metadata.glyIdsUsed,1),l="",c=0;c<u.length;c++)l+=String.fromCharCode(u[c]);var h=o();a({data:l,addLength1:!0,objectId:h}),i("endobj");var f=o();a({data:r(n.metadata.toUnicode),addLength1:!0,objectId:f}),i("endobj");var d=o();i("<<"),i("/Type /FontDescriptor"),i("/FontName /"+_t(n.fontName)),i("/FontFile2 "+h+" 0 R"),i("/FontBBox "+t.API.PDFObject.convert(n.metadata.bbox)),i("/Flags "+n.metadata.flags),i("/StemV "+n.metadata.stemV),i("/ItalicAngle "+n.metadata.italicAngle),i("/Ascent "+n.metadata.ascender),i("/Descent "+n.metadata.decender),i("/CapHeight "+n.metadata.capHeight),i(">>"),i("endobj");var p=o();i("<<"),i("/Type /Font"),i("/BaseFont /"+_t(n.fontName)),i("/FontDescriptor "+d+" 0 R"),i("/W "+t.API.PDFObject.convert(s)),i("/CIDToGIDMap /Identity"),i("/DW 1000"),i("/Subtype /CIDFontType2"),i("/CIDSystemInfo"),i("<<"),i("/Supplement 0"),i("/Registry (Adobe)"),i("/Ordering ("+n.encoding+")"),i(">>"),i(">>"),i("endobj"),n.objectNumber=o(),i("<<"),i("/Type /Font"),i("/Subtype /Type0"),i("/ToUnicode "+f+" 0 R"),i("/BaseFont /"+_t(n.fontName)),i("/Encoding /"+n.encoding),i("/DescendantFonts ["+p+" 0 R]"),i(">>"),i("endobj"),n.isAlreadyPutted=!0}}(e)}]),e.events.push(["putFont",function(e){!function(e){var n=e.font,i=e.out,o=e.newObject,a=e.putStream;if(n.metadata instanceof t.API.TTFFont&&"WinAnsiEncoding"===n.encoding){for(var s=n.metadata.rawData,u="",l=0;l<s.length;l++)u+=String.fromCharCode(s[l]);var c=o();a({data:u,addLength1:!0,objectId:c}),i("endobj");var h=o();a({data:r(n.metadata.toUnicode),addLength1:!0,objectId:h}),i("endobj");var f=o();i("<<"),i("/Descent "+n.metadata.decender),i("/CapHeight "+n.metadata.capHeight),i("/StemV "+n.metadata.stemV),i("/Type /FontDescriptor"),i("/FontFile2 "+c+" 0 R"),i("/Flags 96"),i("/FontBBox "+t.API.PDFObject.convert(n.metadata.bbox)),i("/FontName /"+_t(n.fontName)),i("/ItalicAngle "+n.metadata.italicAngle),i("/Ascent "+n.metadata.ascender),i(">>"),i("endobj"),n.objectNumber=o();for(var d=0;d<n.metadata.hmtx.widths.length;d++)n.metadata.hmtx.widths[d]=parseInt(n.metadata.hmtx.widths[d]*(1e3/n.metadata.head.unitsPerEm));i("<</Subtype/TrueType/Type/Font/ToUnicode "+h+" 0 R/BaseFont/"+_t(n.fontName)+"/FontDescriptor "+f+" 0 R/Encoding/"+n.encoding+" /FirstChar 29 /LastChar 255 /Widths "+t.API.PDFObject.convert(n.metadata.hmtx.widths)+">>"),i("endobj"),n.isAlreadyPutted=!0}}(e)}]);var i=function(t){var e,r=t.text||"",i=t.x,o=t.y,a=t.options||{},s=t.mutex||{},u=s.pdfEscape,l=s.activeFontKey,c=s.fonts,h=l,f="",d=0,p="",m=c[h].encoding;if("Identity-H"!==c[h].encoding)return{text:r,x:i,y:o,options:a,mutex:s};for(p=r,h=l,Array.isArray(r)&&(p=r[0]),d=0;d<p.length;d+=1)c[h].metadata.hasOwnProperty("cmap")&&(e=c[h].metadata.cmap.unicode.codeMap[p[d].charCo
vendor: 4,310 bytes, line 2
2deAt(0)]),e||p[d].charCodeAt(0)<256&&c[h].metadata.hasOwnProperty("Unicode")?f+=p[d]:f+="";var g="";return parseInt(h.slice(1))<14||"WinAnsiEncoding"===m?g=u(f,h).split("").map(function(t){return t.charCodeAt(0).toString(16)}).join(""):"Identity-H"===m&&(g=n(f,c[h])),s.isHex=!0,{text:g,x:i,y:o,options:a,mutex:s}};e.events.push(["postProcessText",function(t){var e=t.text||"",n=[],r={text:e,x:t.x,y:t.y,options:t.options,mutex:t.mutex};if(Array.isArray(e)){var o=0;for(o=0;o<e.length;o+=1)Array.isArray(e[o])&&3===e[o].length?n.push([i(Object.assign({},r,{text:e[o][0]})).text,e[o][1],e[o][2]]):n.push(i(Object.assign({},r,{text:e[o]})).text);t.text=n}else t.text=i(Object.assign({},r,{text:e})).text}])}(Mt),function(t){var e=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};t.existsFileInVFS=function(t){return e.call(this),void 0!==this.internal.vFS[t]},t.addFileToVFS=function(t,n){return e.call(this),this.internal.vFS[t]=n,this},t.getFileFromVFS=function(t){return e.call(this),void 0!==this.internal.vFS[t]?this.internal.vFS[t]:null}}(Mt.API),function(t){t.__bidiEngine__=t.prototype.__bidiEngine__=function(t){var n,r,i,o,a,s,u,l=e,c=[[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]],h=[[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]],f={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},d={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},p=["(",")","(","<",">","<","[","]","[","{","}","{","\xab","\xbb","\xab","\u2039","\u203a","\u2039","\u2045","\u2046","\u2045","\u207d","\u207e","\u207d","\u208d","\u208e","\u208d","\u2264","\u2265","\u2264","\u2329","\u232a","\u2329","\ufe59","\ufe5a","\ufe59","\ufe5b","\ufe5c","\ufe5b","\ufe5d","\ufe5e","\ufe5d","\ufe64","\ufe65","\ufe64"],m=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)$/),g=!1,v=0;this.__bidiEngine__={};var b=function(t){var e=t.charCodeAt(),n=e>>8,r=d[n];return void 0!==r?l[256*r+(255&e)]:252===n||253===n?"AL":m.test(n)?"L":8===n?"R":"N"},y=function(t){for(var e,n=0;n<t.length;n++){if("L"===(e=b(t.charAt(n))))return!1;if("R"===e)return!0}return!1},w=function(t,e,a,s){var u,l,c,h,f=e[s];switch(f){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":g=!1;break;case"N":case"AN":break;case"EN":g&&(f="AN");break;case"AL":g=!0,f="R";break;case"WS":case"BN":f="N";break;case"CS":s<1||s+1>=e.length||"EN"!==(u=a[s-1])&&"AN"!==u||"EN"!==(l=e[s+1])&&"AN"!==l?f="N":g&&(l="AN"),f=l===u?l:"N";break;case"ES":f="EN"===(u=s>0?a[s-1]:"B")&&s+1<e.length&&"EN"===e[s+1]?"EN":"N";break;case"ET":if(s>0&&"EN"===a[s-1]){f="EN";break}if(g){f="N";break}for(c=s+1,h=e.length;c<h&&"ET"===e[c];)c++;f=c<h&&"EN"===e[c]?"EN":"N";break;case"NSM":if(i&&!o){for(h=e.length,c=s+1;c<h&&"NSM"===e[c];)c++;if(c<h){var d=t[s],p=d>=1425&&d<=2303||64286===d;if(u=e[c],p&&("R"===u||"AL"===u)){f="R";break}}}f=s<1||"B"===(u=e[s-1])?"N":a[s-1];break;case"B":g=!1,n=!0,f=v;break;case"S":r=!0,f="N"}return f},A=function(t,e,n){var r=t.split("");return n&&x(r,n,{hiLevel:v}),r.reverse(),e&&e.reverse(),r.join("")},x=function(t,e,i){var o,a,s,u,l,d=-1,p=t.length,m=0,y=[],A=v?h:c,x=[];for(g=!1,n=!1,r=!1,a=0;a<p;a++)x[a]=b(t[a]);for(s=0;s<p;s++){if(l=m,y[s]=w(t,x,y,s),o=240&(m=A[l][f[y[s]]]),m&=15,e[s]=u=A[m][5],o>0)if(16===o){for(a=d;a<s;a++)e[a]=1;d=-1}else d=-1;if(A[m][6])-1===d&&(d=s);else if(d>-1){for(a=d;a<s;a++)e[a]=u;d=-1}"B"===x[s]&&(e[s]=0),i.hiLevel|=u}r&&function(t,e,n){for(var r=0;r<n;r++)if("S"===t[r]){e[r]=v;for(var i=r-1;i>=0&&"WS"===t[i];i--)e[i]=v}}(x,e,p)},L=function(t,e,r,i,o){if(!(o.hiLevel<t)){if(1===t&&1===v&&!n)return e.reverse(),void(r&&r.reverse());for(var a,s,u,l,c=e.length,h=0;h<c;){if(i[h]>=t){for(u=h+1;u<c&&i[u]>=t;)u++;for(l=h,s=u-1;l<s;l++,s--)a=e[l],e[l]=e[s],e[s]=a,r&&(a=r[l],r[l]=r[s],r[s]=a);h=u}h++}}},N=function(t,e,n){var r=t.split(""),i={hiLevel:v};return n||(n=[]),x(r,n,i),function(t,e,n){if(0!==n.hiLevel&&u)for(var r,i=0;i<t.length;i++)1===e[i]&&(r=p.indexOf(t[i]))>=0&&(t[i]=p[r+1])}(r,n,i),L(2,r,e,n,i),L(1,r,e,n,i),r.join("")};return this.__bidiEngine__.doBidiReorder=function(t,e,n){if(function(t,e){if(e)for(var n=0;n<t.length;n++)e[n]=n;void 0===o&&(o=y(t)),void 0===s&&(s=y(t))}(t,e),i||!a||s)if(i&&a&&o^s)v=o?1:0,t=A(t,e,n);else if(!i&&a&&s)v=o?1:0,t=N(t,e,n),t=A(t,e);
vendor: 16,377 bytes, line 2
2else if(!i||o||a||s){if(i&&!a&&o^s)t=A(t,e),o?(v=0,t=N(t,e,n)):(v=1,t=N(t,e,n),t=A(t,e));else if(i&&o&&!a&&s)v=1,t=N(t,e,n),t=A(t,e);else if(!i&&!a&&o^s){var r=u;o?(v=1,t=N(t,e,n),v=0,u=!1,t=N(t,e,n),u=r):(v=0,t=N(t,e,n),t=A(t,e),v=1,u=!1,t=N(t,e,n),u=r,t=A(t,e))}}else v=0,t=N(t,e,n);else v=o?1:0,t=N(t,e,n);return t},this.__bidiEngine__.setOptions=function(t){t&&(i=t.isInputVisual,a=t.isOutputVisual,o=t.isInputRtl,s=t.isOutputRtl,u=t.isSymmetricSwapping)},this.__bidiEngine__.setOptions(t),this.__bidiEngine__};var e=["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"],n=new t.__bidiEngine__({isInputVisual:!0});t.API.events.push(["postProcessText",function(t){var e=t.text,r=(t.x,t.y,t.options||{}),i=(t.mutex,r.lang,[]);if(r.isInputVisual="boolean"!=typeof r.isInputVisual||r.isInputVisual,n.setOptions(r),"[object Array]"===Object.prototype.toString.call(e)){var o=0;for(i=[],o=0;o<e.length;o+=1)"[object Array]"===Object.prototype.toString.call(e[o])?i.push([n.doBidiReorder(e[o][0]),e[o][1],e[o][2]]):i.push([n.doBidiReorder(e[o])]);t.text=i}else t.text=n.doBidiReorder(e);n.setOptions({isInputVisual:!0})}])}(Mt),Mt.API.TTFFont=function(){function t(t){var e;if(this.rawData=t,e=this.contents=new Ze(t),this.contents.pos=4,"ttcf"===e.readString(4))throw new Error("TTCF not supported.");e.pos=0,this.parse(),this.subset=new bn(this),this.registerTTF()}return t.open=function(e){return new t(e)},t.prototype.parse=function(){return this.directory=new Qe(this.contents),this.head=new nn(this),this.name=new cn(this),this.cmap=new on(this),this.toUnicode={},this.hhea=new an(this),this.maxp=new hn(this),this.hmtx=new fn(this),this.post=new un(this),this.os2=new sn(this),this.loca=new vn(this),this.glyf=new pn(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 t,e,n,r,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var e,n,r,i;for(i=[],e=0,n=(r=this.bbox).length;e<n;e++)t=r[e],i.push(Math.round(t*this.scaleFactor));return i}.call(this),this.stemV=0,this.post.exists?(n=255&(r=this.post.italic_angle),0!=(32768&(e=r>>16))&&(e=-(1+(65535^e))),this.italicAngle=+(e+"."+n)):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=1===(i=this.familyClass)||2===i||3===i||4===i||5===i||7===i,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},t.prototype.characterToGlyph=function(t){var e;return(null!=(e=this.cmap.unicode)?e.codeMap[t]:void 0)||0},t.prototype.widthOfGlyph=function(t){var e;return e=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(t).advance*e},t.prototype.widthOfString=function(t,e,n){var r,i,o,a;for(o=0,i=0,a=(t=""+t).length;0<=a?i<a:i>a;i=0<=a?++i:--i)r=t.charCodeAt(i),o+=this.widthOfGlyph(this.characterToGlyph(r))+n*(1e3/e)||0;return o*(e/1e3)},t.prototype.lineHeight=function(t,e){var n;return null==e&&(e=!1),n=e?this.lineGap:0,(this.ascender+n-this.decender)/1e3*t},t}();var $e,Ze=function(){function t(t){this.data=null!=t?t:[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(t){return this.data[this.pos++]=t},t.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},t.prototype.writeUInt32=function(t){return this.writeByte(t>>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t)},t.prototype.readInt32=function(){var t;return(t=this.readUInt32())>=2147483648?t-4294967296:t},t.prototype.writeInt32=function(t){return t<0&&(t+=4294967296),this.writeUInt32(t)},t.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},t.prototype.writeUInt16=function(t){return this.writeByte(t>>8&255),this.writeByte(255&t)},t.prototype.readInt16=function(){var t;return(t=this.readUInt16())>=32768?t-65536:t},t.prototype.writeInt16=function(t){return t<0&&(t+=65536),this.writeUInt16(t)},t.prototype.readString=function(t){var e,n;for(n=[],e=0;0<=t?e<t:e>t;e=0<=t?++e:--e)n[e]=String.fromCharCode(this.readByte());return n.join("")},t.prototype.writeString=function(t){var e,n,r;for(r=[],e=0,n=t.length;0<=n?e<n:e>n;e=0<=n?++e:--e)r.push(this.writeByte(t.charCodeAt(e)));return r},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(t){return this.writeInt16(t)},t.prototype.readLongLong=function(){var t,e,n,r,i,o,a,s;return t=this.readByte(),e=this.readByte(),n=this.readByte(),r=this.readByte(),i=this.readByte(),o=this.readByte(),a=this.readByte(),s=this.readByte(),128&t?-1*(72057594037927940*(255^t)+281474976710656*(255^e)+1099511627776*(255^n)+4294967296*(255^r)+16777216*(255^i)+65536*(255^o)+256*(255^a)+(255^s)+1):72057594037927940*t+281474976710656*e+1099511627776*n+4294967296*r+16777216*i+65536*o+256*a+s},t.prototype.writeLongLong=function(t){var e,n;return e=Math.floor(t/4294967296),n=4294967295&t,this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(t){return this.writeInt32(t)},t.prototype.read=function(t){var e,n;for(e=[],n=0;0<=t?n<t:n>t;n=0<=t?++n:--n)e.push(this.readByte());return e},t.prototype.write=function(t){var e,n,r,i;for(i=[],n=0,r=t.length;n<r;n++)e=t[n],i.push(this.writeByte(e));return i},t}(),Qe=function(){var t;function e(t){var e,n,r;for(this.scalarType=t.readInt(),this.tableCount=t.readShort(),this.searchRange=t.readShort(),this.entrySelector=t.readShort(),this.rangeShift=t.readShort(),this.tables={},n=0,r=this.tableCount;0<=r?n<r:n>r;n=0<=r?++n:--n)e={tag:t.readString(4),checksum:t.readInt(),offset:t.readInt(),length:t.readInt()},this.tables[e.tag]=e}return e.prototype.encode=function(e){var n,r,i,o,a,s,u,l,c,h,f,d,p;for(p in f=Object.keys(e).length,s=Math.log(2),c=16*Math.floor(Math.log(f)/s),o=Math.floor(c/s),l=16*f-c,(r=new Ze).writeInt(this.scalarType),r.writeShort(f),r.writeShort(c),r.writeShort(o),r.writeShort(l),i=16*f,u=r.pos+i,a=null,d=[],e)for(h=e[p],r.writeString(p),r.writeInt(t(h)),r.writeInt(u),r.writeInt(h.length),d=d.concat(h),"head"===p&&
vendor: 9,304 bytes, line 2
2(a=u),u+=h.length;u%4;)d.push(0),u++;return r.write(d),n=2981146554-t(r.data),r.pos=a+8,r.writeUInt32(n),r.data},t=function(t){var e,n,r,i;for(t=dn.call(t);t.length%4;)t.push(0);for(r=new Ze(t),n=0,e=0,i=t.length;e<i;e=e+=4)n+=r.readUInt32();return 4294967295&n},e}(),tn={}.hasOwnProperty,en=function(t,e){for(var n in e)tn.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t};$e=function(){function t(t){var e;this.file=t,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 nn=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return en(t,$e),t.prototype.tag="head",t.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.revision=t.readInt(),this.checkSumAdjustment=t.readInt(),this.magicNumber=t.readInt(),this.flags=t.readShort(),this.unitsPerEm=t.readShort(),this.created=t.readLongLong(),this.modified=t.readLongLong(),this.xMin=t.readShort(),this.yMin=t.readShort(),this.xMax=t.readShort(),this.yMax=t.readShort(),this.macStyle=t.readShort(),this.lowestRecPPEM=t.readShort(),this.fontDirectionHint=t.readShort(),this.indexToLocFormat=t.readShort(),this.glyphDataFormat=t.readShort()},t.prototype.encode=function(t){var e;return(e=new Ze).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(t),e.writeShort(this.glyphDataFormat),e.data},t}(),rn=function(){function t(t,e){var n,r,i,o,a,s,u,l,c,h,f,d,p,m,g,v,b;switch(this.platformID=t.readUInt16(),this.encodingID=t.readShort(),this.offset=e+t.readInt(),c=t.pos,t.pos=this.offset,this.format=t.readUInt16(),this.length=t.readUInt16(),this.language=t.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(s=0;s<256;++s)this.codeMap[s]=t.readByte();break;case 4:for(f=t.readUInt16(),h=f/2,t.pos+=6,i=function(){var e,n;for(n=[],s=e=0;0<=h?e<h:e>h;s=0<=h?++e:--e)n.push(t.readUInt16());return n}(),t.pos+=2,p=function(){var e,n;for(n=[],s=e=0;0<=h?e<h:e>h;s=0<=h?++e:--e)n.push(t.readUInt16());return n}(),u=function(){var e,n;for(n=[],s=e=0;0<=h?e<h:e>h;s=0<=h?++e:--e)n.push(t.readUInt16());return n}(),l=function(){var e,n;for(n=[],s=e=0;0<=h?e<h:e>h;s=0<=h?++e:--e)n.push(t.readUInt16());return n}(),r=(this.length-t.pos+this.offset)/2,a=function(){var e,n;for(n=[],s=e=0;0<=r?e<r:e>r;s=0<=r?++e:--e)n.push(t.readUInt16());return n}(),s=g=0,b=i.length;g<b;s=++g)for(m=i[s],n=v=d=p[s];d<=m?v<=m:v>=m;n=d<=m?++v:--v)0===l[s]?o=n+u[s]:0!==(o=a[l[s]/2+(n-d)-(h-s)]||0)&&(o+=u[s]),this.codeMap[n]=65535&o}t.pos=c}return t.encode=function(t,e){var n,r,i,o,a,s,u,l,c,h,f,d,p,m,g,v,b,y,w,A,x,L,N,S,P,_,k,I,C,F,O,M,j,E,R,D,T,B,q,z,U,V,H,W,G,Y;switch(I=new Ze,o=Object.keys(t).sort(function(t,e){return t-e}),e){case"macroman":for(p=0,m=function(){var t=[];for(d=0;d<256;++d)t.push(0);return t}(),v={0:0},i={},C=0,j=o.length;C<j;C++)null==v[H=t[r=o[C]]]&&(v[H]=++p),i[r]={old:t[r],new:v[t[r]]},m[r]=v[t[r]];return I.writeUInt16(1),I.writeUInt16(0),I.writeUInt32(12),I.writeUInt16(0),I.writeUInt16(262),I.writeUInt16(0),I.write(m),{charMap:i,subtable:I.data,maxGlyphID:p+1};case"unicode":for(_=[],c=[],b=0,v={},n={},g=u=null,F=0,E=o.length;F<E;F++)null==v[w=t[r=o[F]]]&&(v[w]=++b),n[r]={old:w,new:v[w]},a=v[w]-r,null!=g&&a===u||(g&&c.push(g),_.push(r),u=a),g=r;for(g&&c.push(g),c.push(65535),_.push(65535),S=2*(N=_.length),L=2*Math.pow(Math.log(N)/Math.LN2,2),h=Math.log(L/2)/Math.LN2,x=2*N-L,s=[],A=[],f=[],d=O=0,R=_.length;O<R;d=++O){if(P=_[d],l=c[d],65535===P){s.push(0),A.push(0);break}if(P-(k=n[P].new)>=32768)for(s.push(0),A.push(2*(f.length+N-d)),r=M=P;P<=l?M<=l:M>=l;r=P<=l?++M:--M)f.push(n[r].new);else s.push(k-P),A.push(0)}for(I.writeUInt16(3),I.writeUInt16(1),I.writeUInt32(12),I.writeUInt16(4),I.writeUInt16(16+8*N+2*f.length),I.writeUInt16(0),I.writeUInt16(S),I.writeUInt16(L),I.writeUInt16(h),I.writeUInt16(x),U=0,D=c.length;U<D;U++)r=c[U],I.writeUInt16(r);for(I.writeUInt16(0),V=0,T=_.length;V<T;V++)r=_[V],I.writeUInt16(r);for(W=0,B=s.length;W<B;W++)a=s[W],I.writeUInt16(a);for(G=0,q=A.length;G<q;G++)y=A[G],I.writeUInt16(y);for(Y=0,z=f.length;Y<z;Y++)p=f[Y],I.writeUInt16(p);return{charMap:n,subtable:I.data,maxGlyphID:b+1}}},t}(),on=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return en(t,$e),t.prototype.tag="cmap",t.prototype.parse=function(t){var e,n,r;for(t.pos=this.offset,this.version=t.readUInt16(),r=t.readUInt16(),this.tables=[],this.unicode=null,n=0;0<=r?n<r:n>r;n=0<=r?++n:--n)e=new rn(t,this.offset),this.tables.push(e),e.isUnicode&&null==this.unicode&&(this.unicode=e);return!0},t.encode=function(t,e){var n,r;return null==e&&(e="macroman"),n=rn.encode(t,e),(r=new Ze).writeUInt16(0),r.writeUInt16(1),n.table=r.data.concat(n.subtable),n},t}(),an=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return en(t,$e),t.prototype.tag="hhea",t.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.ascender=t.readShort(),this.decender=t.readShort(),this.lineGap=t.readShort(),this.advanceWidthMax=t.readShort(),this.minLeftSideBearing=t.readShort(),this.minRightSideBearing=t.readShort(),this.xMaxExtent=t.readShort(),this.caretSlopeRise=t.readShort(),this.caretSlopeRun=t.readShort(),this.caretOffset=t.readShort(),t.pos+=8,this.metricDataFormat=t.readShort(),this.numberOfMetrics=t.readUInt16()},t}(),sn=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return en(t,$e),t.prototype.tag="OS/2",t.prototype.parse=function(t){if(t.pos=this.offset,this.version=t.readUInt16(),this.averageCharWidth=t.readShort(),this.weightClass=t.readUInt16(),this.widthClass=t.readUInt16(),this.type=t.readShort(),this.ySubscriptXSize=t.readShort(),this.ySubscriptYSize=t.readShort(),this.ySubscriptXOffset=t.readShort(),this.ySubscriptYOffset=t.readShort(),this.ySuperscriptXSize=t.readShort(),this.ySuperscriptYSize=t.readShort(),this.ySuperscriptXOffset=t.readShort(),this.ySuperscriptYOffset=t.readShort(),this.yStrikeoutSize=t.readShort(),this.yStrikeoutPosition=t.readShort(),this.familyClass=t.readShort(),this.panose=function(){var e,n;for(n=[],e=0;e<10;++e)n.push(t.readByte());return n}(),this.charRange=function(){var e,n;for(n=[],e=0;e<4;++e)n.push(t.readInt());return n}(),this.vendorID=t.readString(4),this.selection=t.readShort(),this.firstCharIndex=t.readShort(),this.lastCharIndex=t.readShort(),this.version>0&&(this.ascent=t.readShort(),this.descent=t.readShort(),this.lineGap=t.readShort(),this.winAscent=t.readShort(),this.winDescent=t.readShort(),this.codePageRange=function(){var e,n;for(n=[],e=0;e<2;e=++e)n.push(t.readInt());return n}(),this.version>1))return this.xHeight=t.readShort(),this.capHeight=t.readShort(),this.defaultChar=t.readShort(),this.breakChar=t.readShort(),this.maxContext=t.readShort()},t}(),un=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return en(t,$e),t.prototype.tag="post",t.prototype.parse=function(t){var e,n,r;switch(t.pos=this.offset,this.format=t.readInt(),this.italicAngle=t.readInt(),this.underlinePosition=t.readShort(),this.underlineThickness=t.readShort(),this.isFixedPitch=t.readInt(),this.minMemType42=t.readInt(),this.maxMemType42=t.readInt(),this.minMemType1=t.readInt(),this.maxMemType1=t.readInt(),this.format){case 65536:case 196608:break;case 131072:var i;for(n=t.readUInt16(),this.glyphNameIndex=[],i=0;0<=n?i<n:i>n;i=0<=n?++i:--i)this.glyphNameIndex.push(t.readUInt16());for(this.names=[],r=[];t.pos<this.offset+this.length;)e=t.readByte(),r.push(this.names.push(t.readString(e)));return r;case 151552:return n=t.readUInt16(),this.offsets=t.read(n);case 262144:return this.map=function(){var e,n,r;for(r=[],i=e=0,n=this.file.maxp.numGlyphs;0<=n?e<n:e>n;i=0<=n?++e:--e)r.push(t.readUInt32());return r}.call(this)}},t}(),ln=function(t,e){this.raw=t,this.length=t.length,this.platformID=e.platformID,this.encodingID=e.encodingID,this.languageID=e.languageID},cn=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return en(t,$e),t.prototype.tag="name",t.prototype.parse=function(t){var e,n,r,i,o,a,s,u,l,c,h;for(t.pos=this.offset,t.readShort(),e=t.readShort(),a=t.readShort(),n=[],i=0;0<=e?i<e:i>e;i=0<=e?++i:--i)n.push({platformID:t.readShort(),encodingID:t.readShort(),languageID:t.readShort(),nameID:t.readShort(),length:t.readShort(),offset:this.offset+a+t.readShort()});for(s={},i=l=0,c=n.length;l<c;i=++l)r=n[i],t.pos=r.offset,u=t.readString(r.length),o=new ln(u,r),null==s[h=r.nameID]&&(s[h]=[]),s[r.nameID].push(o);this.strings=s,this.copyright=s[0],this.fontFamily=s[1],this.fontSubfam
vendor: 6,958 bytes, line 2
2ily=s[2],this.uniqueSubfamily=s[3],this.fontName=s[4],this.version=s[5];try{this.postscriptName=s[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(t){this.postscriptName=s[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=s[7],this.manufacturer=s[8],this.designer=s[9],this.description=s[10],this.vendorUrl=s[11],this.designerUrl=s[12],this.license=s[13],this.licenseUrl=s[14],this.preferredFamily=s[15],this.preferredSubfamily=s[17],this.compatibleFull=s[18],this.sampleText=s[19]},t}(),hn=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return en(t,$e),t.prototype.tag="maxp",t.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.numGlyphs=t.readUInt16(),this.maxPoints=t.readUInt16(),this.maxContours=t.readUInt16(),this.maxCompositePoints=t.readUInt16(),this.maxComponentContours=t.readUInt16(),this.maxZones=t.readUInt16(),this.maxTwilightPoints=t.readUInt16(),this.maxStorage=t.readUInt16(),this.maxFunctionDefs=t.readUInt16(),this.maxInstructionDefs=t.readUInt16(),this.maxStackElements=t.readUInt16(),this.maxSizeOfInstructions=t.readUInt16(),this.maxComponentElements=t.readUInt16(),this.maxComponentDepth=t.readUInt16()},t}(),fn=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return en(t,$e),t.prototype.tag="hmtx",t.prototype.parse=function(t){var e,n,r,i,o,a,s;for(t.pos=this.offset,this.metrics=[],e=0,a=this.file.hhea.numberOfMetrics;0<=a?e<a:e>a;e=0<=a?++e:--e)this.metrics.push({advance:t.readUInt16(),lsb:t.readInt16()});for(r=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var n,i;for(i=[],e=n=0;0<=r?n<r:n>r;e=0<=r?++n:--n)i.push(t.readInt16());return i}(),this.widths=function(){var t,e,n,r;for(r=[],t=0,e=(n=this.metrics).length;t<e;t++)i=n[t],r.push(i.advance);return r}.call(this),n=this.widths[this.widths.length-1],s=[],e=o=0;0<=r?o<r:o>r;e=0<=r?++o:--o)s.push(this.widths.push(n));return s},t.prototype.forGlyph=function(t){return t in this.metrics?this.metrics[t]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[t-this.metrics.length]}},t}(),dn=[].slice,pn=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return en(t,$e),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(t){var e,n,r,i,o,a,s,u,l,c;return t in this.cache?this.cache[t]:(i=this.file.loca,e=this.file.contents,n=i.indexOf(t),0===(r=i.lengthOf(t))?this.cache[t]=null:(e.pos=this.offset+n,o=(a=new Ze(e.read(r))).readShort(),u=a.readShort(),c=a.readShort(),s=a.readShort(),l=a.readShort(),this.cache[t]=-1===o?new gn(a,u,c,s,l):new mn(a,o,u,c,s,l),this.cache[t]))},t.prototype.encode=function(t,e,n){var r,i,o,a,s;for(o=[],i=[],a=0,s=e.length;a<s;a++)r=t[e[a]],i.push(o.length),r&&(o=o.concat(r.encode(n)));return i.push(o.length),{table:o,offsets:i}},t}(),mn=function(){function t(t,e,n,r,i,o){this.raw=t,this.numberOfContours=e,this.xMin=n,this.yMin=r,this.xMax=i,this.yMax=o,this.compound=!1}return t.prototype.encode=function(){return this.raw.data},t}(),gn=function(){function t(t,e,n,r,i){var o,a;for(this.raw=t,this.xMin=e,this.yMin=n,this.xMax=r,this.yMax=i,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],o=this.raw;a=o.readShort(),this.glyphOffsets.push(o.pos),this.glyphIDs.push(o.readUInt16()),32&a;)o.pos+=1&a?4:2,128&a?o.pos+=8:64&a?o.pos+=4:8&a&&(o.pos+=2)}return t.prototype.encode=function(){var t,e,n;for(e=new Ze(dn.call(this.raw.data)),t=0,n=this.glyphIDs.length;t<n;++t)e.pos=this.glyphOffsets[t];return e.data},t}(),vn=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return en(t,$e),t.prototype.tag="loca",t.prototype.parse=function(t){var e,n;return t.pos=this.offset,e=this.file.head.indexToLocFormat,this.offsets=0===e?function(){var e,r;for(r=[],n=0,e=this.length;n<e;n+=2)r.push(2*t.readUInt16());return r}.call(this):function(){var e,r;for(r=[],n=0,e=this.length;n<e;n+=4)r.push(t.readUInt32());return r}.call(this)},t.prototype.indexOf=function(t){return this.offsets[t]},t.prototype.lengthOf=function(t){return this.offsets[t+1]-this.offsets[t]},t.prototype.encode=function(t,e){for(var n=new Uint32Array(this.offsets.length),r=0,i=0,o=0;o<n.length;++o)if(n[o]=r,i<e.length&&e[i]==o){++i,n[o]=r;var a=this.offsets[o],s=this.offsets[o+1]-a;s>0&&(r+=s)}for(var u=new Array(4*n.length),l=0;l<n.length;++l)u[4*l+3]=255&n[l],u[4*l+2]=(65280&n[l])>>8,u[4*l+1]=(16711680&n[l])>>16,u[4*l]=(4278190080&n[l])>>24;return u},t}(),bn=function(){function t(t){this.font=t,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var t,e,n,r,i;for(e in r=this.font.cmap.tables[0].codeMap,t={},i=this.subset)n=i[e],t[e]=r[n];return t},t.prototype.glyphsFor=function(t){var e,n,r,i,o,a,s;for(r={},o=0,a=t.length;o<a;o++)r[i=t[o]]=this.font.glyf.glyphFor(i);for(i in e=[],r)(null!=(n=r[i])?n.compound:void 0)&&e.push.apply(e,n.glyphIDs);if(e.length>0)for(i in s=this.glyphsFor(e))n=s[i],r[i]=n;return r},t.prototype.encode=function(t,e){var n,r,i,o,a,s,u,l,c,h,f,d,p,m,g;for(r in n=on.encode(this.generateCmap(),"unicode"),o=this.glyphsFor(t),f={0:0},g=n.charMap)f[(s=g[r]).old]=s.new;for(d in h=n.maxGlyphID,o)d in f||(f[d]=h++);return l=function(t){var e,n;for(e in n={},t)n[t[e]]=e;return n}(f),c=Object.keys(l).sort(function(t,e){return t-e}),p=function(){var t,e,n;for(n=[],t=0,e=c.length;t<e;t++)a=c[t],n.push(l[a]);return n}(),i=this.font.glyf.encode(o,p,f),u=this.font.loca.encode(i.offsets,p),m={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&&(m["OS/2"]=this.font.os2.raw()),this.font.directory.encode(m)},t}();Mt.API.PDFObject=function(){var t;function e(){}return t=function(t,e){return(Array(e+1).join("0")+t).slice(-e)},e.convert=function(n){var r,i,o,a;if(Array.isArray(n))return"["+function(){var t,i,o;for(o=[],t=0,i=n.length;t<i;t++)r=n[t],o.push(e.convert(r));return o}().join(" ")+"]";if("string"==typeof n)return"/"+n;if(null!=n?n.isString:void 0)return"("+n+")";if(n instanceof Date)return"(D:"+t(n.getUTCFullYear(),4)+t(n.getUTCMonth(),2)+t(n.getUTCDate(),2)+t(n.getUTCHours(),2)+t(n.getUTCMinutes(),2)+t(n.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(n)){for(i in o=["<<"],n)a=n[i],o.push("/"+i+" "+e.convert(a));return o.push(">>"),o.join("\n")}return""+n},e}()},67654(t,e,n){"use strict";n.d(e,{Ay:()=>$e});var r=n(89379);var i=n(27800);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],u=!0,l=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);u=!0);}catch(t){l=!0,i=t}
2finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(t,e)||(0,i.A)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var a=n(80045),s=n(9950),u=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];var l=n(58168),c=n(23029),h=n(92901),f=n(85501),d=n(52962),p=n(45458),m=n(88283),g=n(82284),v=n(57528),b=n(64467),y=n(17119);const w=Math.min,A=Math.max,x=Math.round,L=Math.floor,N=t=>({x:t,y:t});function S(t){const{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}function P(){return"undefined"!==typeof window}function _(t){return C(t)?(t.nodeName||"").toLowerCase():"#document"}function k(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function I(t){var e;return null==(e=(C(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function C(t){return!!P()&&(t instanceof Node||t instanceof k(t).Node)}function F(t){return!!P()&&(t instanceof Element||t instanceof k(t).Element)}function O(t){return!!P()&&(t instanceof HTMLElement||t instanceof k(t).HTMLElement)}function M(t){return!(!P()||"undefined"===typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof k(t).ShadowRoot)}const j=new Set(["inline","contents"]);function E(t){const{overflow:e,overflowX:n,overflowY:r,display:i}=B(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!j.has(i)}function R(){return!("undefined"===typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const D=new Set(["html","body","#document"]);function T(t){return D.has(_(t))}function B(t){return k(t).getComputedStyle(t)}function q(t){if("html"===_(t))return t;const e=t.assignedSlot||t.parentNode||M(t)&&t.host||I(t);return M(e)?e.host:e}function z(t){const e=q(t);return T(e)?t.ownerDocument?t.ownerDocument.body:t.body:O(e)&&E(e)?e:z(e)}function U(t,e,n){var r;void 0===e&&(e=[]),void 0===n&&(n=!0);const i=z(t),o=i===(null==(r=t.ownerDocument)?void 0:r.body),a=k(i);if(o){const t=V(a);return e.concat(a,a.visualViewport||[],E(i)?i:[],t&&n?U(t):[])}return e.concat(i,U(i,[],n))}function V(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function H(t){const e=B(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=O(t),o=i?t.offsetWidth:n,a=i?t.offsetHeight:r,s=x(n)!==o||x(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function W(t){return F(t)?t:t.contextElement}function G(t){const e=W(t);if(!O(e))return N(1);const n=e.getBoundingClientRect(),{width:r,height:i,$:o}=H(e);let a=(o?x(n.width):n.width)/r,s=(o?x(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Y=N(0);function X(t){const e=k(t);
2return R()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Y}function J(t,e,n,r){void 0===e&&(e=!1),void 0===n&&(n=!1);const i=t.getBoundingClientRect(),o=W(t);let a=N(1);e&&(r?F(r)&&(a=G(r)):a=G(t));const s=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==k(t))&&e}(o,n,r)?X(o):N(0);let u=(i.left+s.x)/a.x,l=(i.top+s.y)/a.y,c=i.width/a.x,h=i.height/a.y;if(o){const t=k(o),e=r&&F(r)?k(r):r;let n=t,i=V(n);for(;i&&r&&e!==n;){const t=G(i),e=i.getBoundingClientRect(),r=B(i),o=e.left+(i.clientLeft+parseFloat(r.paddingLeft))*t.x,a=e.top+(i.clientTop+parseFloat(r.paddingTop))*t.y;u*=t.x,l*=t.y,c*=t.x,h*=t.y,u+=o,l+=a,n=k(i),i=V(n)}}return S({width:c,height:h,x:u,y:l})}function K(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function $(t,e,n,i){void 0===i&&(i={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s="function"===typeof ResizeObserver,layoutShift:u="function"===typeof IntersectionObserver,animationFrame:l=!1}=i,c=W(t),h=o||a?[...c?U(c):[],...U(e)]:[];h.forEach(t=>{o&&t.addEventListener("scroll",n,{passive:!0}),a&&t.addEventListener("resize",n)});const f=c&&u?function(t,e){let n,i=null;const o=I(t);function a(){var t;clearTimeout(n),null==(t=i)||t.disconnect(),i=null}return function s(u,l){void 0===u&&(u=!1),void 0===l&&(l=1),a();const c=t.getBoundingClientRect(),{left:h,top:f,width:d,height:p}=c;if(u||e(),!d||!p)return;const m={rootMargin:-L(f)+"px "+-L(o.clientWidth-(h+d))+"px "+-L(o.clientHeight-(f+p))+"px "+-L(h)+"px",threshold:A(0,w(1,l))||1};let g=!0;function v(e){const r=e[0].intersectionRatio;if(r!==l){if(!g)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||K(c,t.getBoundingClientRect())||s(),g=!1}try{i=new IntersectionObserver(v,(0,r.A)((0,r.A)({},m),{},{root:o.ownerDocument}))}catch(b){i=new IntersectionObserver(v,m)}i.observe(t)}(!0),a}(c,n):null;let d,p=-1,m=null;s&&(m=new ResizeObserver(t=>{let[r]=t;r&&r.target===c&&m&&(m.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var t;null==(t=m)||t.observe(e)})),n()}),c&&!l&&m.observe(c),m.observe(e));let g=l?J(t):null;return l&&function e(){const r=J(t);g&&!K(g,r)&&n();g=r,d=requestAnimationFrame(e)}(),n(),()=>{var t;h.forEach(t=>{o&&t.removeEventListener("scroll",n),a&&t.removeEventListener("resize",n)}),null==f||f(),null==(t=m)||t.disconnect(),m=null,l&&cancelAnimationFrame(d)}}var Z=s.useLayoutEffect,Q=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],tt=function(){};function et(t,e){return e?"-"===e[0]?t+e:t+"__"+e:t}function nt(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=[].concat(r);if(e&&t)for(var a in e)e.hasOwnProperty(a)&&e[a]&&o.push("".concat(et(t,a)));return o.filter(function(t){return t}).map(function(t){return String(t).trim()}).join(" ")}var rt=function(t){return e=t,Array.isArray(e)?t.filter(Boolean):"object"===(0,g.A)(t)&&null!==t?[t]:[];var e},it=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var e=(0,a.A)(t,Q);return(0,r.A)({},e)},ot=function(t,e,n){var r=t.cx,i=t.getStyles,o=t.getClassNames,a=t.className;return{css:i(e,t),className:r(null!==n&&void 0!==n?n:{},o(e,t),a)}};function at(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function st(t){return at(t)?window.pageYOffset:t.scrollTop}function ut(t,e){at(t)?window.scrollTo(0,e):t.scrollTop=e}function lt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:tt,i=st(t),o=e-i,a=0;!function e(){var s,u=o*((s=(s=a+=10)/n-1)*s*s+1)+i;ut(t,u),a<n?window.requestAnimationFrame(e):r(t)}()}function ct(t,e){var n=t.getBoundingClientRect(),r=e.getBoundingClientRect(),i=e.offsetHeight/3;r.bottom+i>n.bottom?ut(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+i,t.scrollHeight)):r.top-i<n.top&&ut(t,Math.max(e.offsetTop-i,0))}function ht(){try{return document.createEvent("TouchEvent"),!0}catch(t){return!1}}
vendor: 4,174 bytes, line 2
2var ft=!1,dt={get passive(){return ft=!0}},pt="undefined"!==typeof window?window:{};pt.addEventListener&&pt.removeEventListener&&(pt.addEventListener("p",tt,dt),pt.removeEventListener("p",tt,!1));var mt=ft;function gt(t){return null!=t}function vt(t,e,n){return t?e:n}var bt=["children","innerProps"],yt=["children","innerProps"];function wt(t){var e=t.maxHeight,n=t.menuEl,r=t.minHeight,i=t.placement,o=t.shouldScroll,a=t.isFixedPosition,s=t.controlHeight,u=function(t){var e=getComputedStyle(t),n="absolute"===e.position,r=/(auto|scroll)/;if("fixed"===e.position)return document.documentElement;for(var i=t;i=i.parentElement;)if(e=getComputedStyle(i),(!n||"static"!==e.position)&&r.test(e.overflow+e.overflowY+e.overflowX))return i;return document.documentElement}(n),l={placement:"bottom",maxHeight:e};if(!n||!n.offsetParent)return l;var c,h=u.getBoundingClientRect().height,f=n.getBoundingClientRect(),d=f.bottom,p=f.height,m=f.top,g=n.offsetParent.getBoundingClientRect().top,v=a?window.innerHeight:at(c=u)?window.innerHeight:c.clientHeight,b=st(u),y=parseInt(getComputedStyle(n).marginBottom,10),w=parseInt(getComputedStyle(n).marginTop,10),A=g-w,x=v-m,L=A+b,N=h-b-m,S=d-v+b+y,P=b+m-w,_=160;switch(i){case"auto":case"bottom":if(x>=p)return{placement:"bottom",maxHeight:e};if(N>=p&&!a)return o&&lt(u,S,_),{placement:"bottom",maxHeight:e};if(!a&&N>=r||a&&x>=r)return o&&lt(u,S,_),{placement:"bottom",maxHeight:a?x-y:N-y};if("auto"===i||a){var k=e,I=a?A:L;return I>=r&&(k=Math.min(I-y-s,e)),{placement:"top",maxHeight:k}}if("bottom"===i)return o&&ut(u,S),{placement:"bottom",maxHeight:e};break;case"top":if(A>=p)return{placement:"top",maxHeight:e};if(L>=p&&!a)return o&&lt(u,P,_),{placement:"top",maxHeight:e};if(!a&&L>=r||a&&A>=r){var C=e;return(!a&&L>=r||a&&A>=r)&&(C=a?A-w:L-w),o&&lt(u,P,_),{placement:"top",maxHeight:C}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return l}var At,xt=function(t){return"auto"===t?"bottom":t},Lt=(0,s.createContext)(null),Nt=function(t){var e=t.children,n=t.minMenuHeight,i=t.maxMenuHeight,a=t.menuPlacement,u=t.menuPosition,l=t.menuShouldScrollIntoView,c=t.theme,h=((0,s.useContext)(Lt)||{}).setPortalPlacement,f=(0,s.useRef)(null),d=o((0,s.useState)(i),2),p=d[0],m=d[1],g=o((0,s.useState)(null),2),v=g[0],b=g[1],y=c.spacing.controlHeight;return Z(function(){var t=f.current;if(t){var e="fixed"===u,r=wt({maxHeight:i,menuEl:t,minHeight:n,placement:a,shouldScroll:l&&!e,isFixedPosition:e,controlHeight:y});m(r.maxHeight),b(r.placement),null===h||void 0===h||h(r.placement)}},[i,a,u,l,n,h,y]),e({ref:f,placerProps:(0,r.A)((0,r.A)({},t),{},{placement:v||xt(a),maxHeight:p})})},St=function(t){var e=t.children,n=t.innerRef,r=t.innerProps;return(0,m.Y)("div",(0,l.A)({},ot(t,"menu",{menu:!0}),{ref:n},r),e)},Pt=function(t,e){var n=t.theme,i=n.spacing.baseUnit,o=n.colors;return(0,r.A)({textAlign:"center"},e?{}:{color:o.neutral40,padding:"".concat(2*i,"px ").concat(3*i,"px")})},_t=Pt,kt=Pt,It=["size"],Ct=["innerProps","isRtl","size"];var Ft={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Ot=function(t){var e=t.size,n=(0,a.A)(t,It);return(0,m.Y)("svg",(0,l.A)({height:e,width:e,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Ft},n))},Mt=function(t){return(0,m.Y)(Ot,(0,l.A)({size:20},t),(0,m.Y)("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},jt=function(t){return(0,m.Y)(Ot,(0,l.A)({size:20},t),(0,m.Y)("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Et=function(t,e){var n=t.isFocused,i=t.theme,o=i.spacing.baseUnit,a=i.colors;
2return(0,r.A)({label:"indicatorContainer",display:"flex",transition:"color 150ms"},e?{}:{color:n?a.neutral60:a.neutral20,padding:2*o,":hover":{color:n?a.neutral80:a.neutral40}})},Rt=Et,Dt=Et,Tt=(0,m.i7)(At||(At=(0,v.A)(["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"]))),Bt=function(t){var e=t.delay,n=t.offset;return(0,m.Y)("span",{css:(0,m.AH)({animation:"".concat(Tt," 1s ease-in-out ").concat(e,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},qt=function(t){var e=t.children,n=t.isDisabled,r=t.isFocused,i=t.innerRef,o=t.innerProps,a=t.menuIsOpen;return(0,m.Y)("div",(0,l.A)({ref:i},ot(t,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),o,{"aria-disabled":n||void 0}),e)},zt=["data"],Ut=function(t){var e=t.children,n=t.cx,r=t.getStyles,i=t.getClassNames,o=t.Heading,a=t.headingProps,s=t.innerProps,u=t.label,c=t.theme,h=t.selectProps;return(0,m.Y)("div",(0,l.A)({},ot(t,"group",{group:!0}),s),(0,m.Y)(o,(0,l.A)({},a,{selectProps:h,theme:c,getStyles:r,getClassNames:i,cx:n}),u),(0,m.Y)("div",null,e))},Vt=["innerRef","isDisabled","isHidden","inputClassName"],Ht={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Wt={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":(0,r.A)({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ht)},Gt=function(t){return(0,r.A)({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},Ht)},Yt=function(t){var e=t.children,n=t.innerProps;return(0,m.Y)("div",n,e)};var Xt=function(t){var e=t.children,n=t.components,i=t.data,o=t.innerProps,a=t.isDisabled,s=t.removeProps,u=t.selectProps,l=n.Container,c=n.Label,h=n.Remove;return(0,m.Y)(l,{data:i,innerProps:(0,r.A)((0,r.A)({},ot(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":a})),o),selectProps:u},(0,m.Y)(c,{data:i,innerProps:(0,r.A)({},ot(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},e),(0,m.Y)(h,{data:i,innerProps:(0,r.A)((0,r.A)({},ot(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(e||"option")},s),selectProps:u}))},Jt={ClearIndicator:function(t){var e=t.children,n=t.innerProps;return(0,m.Y)("div",(0,l.A)({},ot(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),e||(0,m.Y)(Mt,null))},Control:qt,DropdownIndicator:function(t){var e=t.children,n=t.innerProps;return(0,m.Y)("div",(0,l.A)({},ot(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),e||(0,m.Y)(jt,null))},DownChevron:jt,CrossIcon:Mt,Group:Ut,GroupHeading:function(t){var e=it(t);e.data;var n=(0,a.A)(e,zt);return(0,m.Y)("div",(0,l.A)({},ot(t,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(t){var e=t.children,n=t.innerProps;return(0,m.Y)("div",(0,l.A)({},ot(t,"indicatorsContainer",{indicators:!0}),n),e)},IndicatorSeparator:function(t){var e=t.innerProps;return(0,m.Y)("span",(0,l.A)({},e,ot(t,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(t){var e=t.cx,n=t.value,r=it(t),i=r.innerRef,o=r.isDisabled,s=r.isHidden,u=r.inputClassName,c=(0,a.A)(r,Vt);return(0,m.Y)("div",(0,l.A)({},ot(t,"input",{"input-container":!0}),{"data-value":n||""}),(0,m.Y)("input",(0,l.A)({className:e({input:!0},u),ref:i,style:Gt(s),disabled:o},c)))},LoadingIndicator:function(t){var e=t.innerProps,n=t.isRtl,i=t.size,o=void 0===i?4:i,s=(0,a.A)(t,Ct);return(0,m.Y)("div",(0,l.A)({},ot((0,r.A)((0,r.A)({},s),{},{innerProps:e,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),e),(0,m.Y)(Bt,{delay:0,offset:n}),(0,m.Y)(Bt,{delay:160,offset:!0}),(0,m.Y)(Bt,{delay:320,offset:!n}))},Menu:St,MenuList:function(t){var e=t.children,n=t.innerProps,r=t.innerRef,i=t.isMulti;return(0,m.Y)("div",(0,l.A)({},ot(t,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),e)},MenuPortal:function(t){var e=t.appendTo,n=t.children,i=t.controlElement,a=t.innerProps,u=t.menuPlacement,c=t.menuPosition,h=(0,s.useRef)(null),f=(0,s.useRef)(null),d=o((0,s.use
2State)(xt(u)),2),p=d[0],g=d[1],v=(0,s.useMemo)(function(){return{setPortalPlacement:g}},[]),b=o((0,s.useState)(null),2),w=b[0],A=b[1],x=(0,s.useCallback)(function(){if(i){var t=function(t){var e=t.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}(i),e="fixed"===c?0:window.pageYOffset,n=t[p]+e;n===(null===w||void 0===w?void 0:w.offset)&&t.left===(null===w||void 0===w?void 0:w.rect.left)&&t.width===(null===w||void 0===w?void 0:w.rect.width)||A({offset:n,rect:t})}},[i,c,p,null===w||void 0===w?void 0:w.offset,null===w||void 0===w?void 0:w.rect.left,null===w||void 0===w?void 0:w.rect.width]);Z(function(){x()},[x]);var L=(0,s.useCallback)(function(){"function"===typeof f.current&&(f.current(),f.current=null),i&&h.current&&(f.current=$(i,h.current,x,{elementResize:"ResizeObserver"in window}))},[i,x]);Z(function(){L()},[L]);var N=(0,s.useCallback)(function(t){h.current=t,L()},[L]);if(!e&&"fixed"!==c||!w)return null;var S=(0,m.Y)("div",(0,l.A)({ref:N},ot((0,r.A)((0,r.A)({},t),{},{offset:w.offset,position:c,rect:w.rect}),"menuPortal",{"menu-portal":!0}),a),n);return(0,m.Y)(Lt.Provider,{value:v},e?(0,y.createPortal)(S,e):S)},LoadingMessage:function(t){var e=t.children,n=void 0===e?"Loading...":e,i=t.innerProps,o=(0,a.A)(t,yt);return(0,m.Y)("div",(0,l.A)({},ot((0,r.A)((0,r.A)({},o),{},{children:n,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),n)},NoOptionsMessage:function(t){var e=t.children,n=void 0===e?"No options":e,i=t.innerProps,o=(0,a.A)(t,bt);return(0,m.Y)("div",(0,l.A)({},ot((0,r.A)((0,r.A)({},o),{},{children:n,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),n)},MultiValue:Xt,MultiValueContainer:Yt,MultiValueLabel:Yt,MultiValueRemove:function(t){var e=t.children,n=t.innerProps;return(0,m.Y)("div",(0,l.A)({role:"button"},n),e||(0,m.Y)(Mt,{size:14}))},Option:function(t){var e=t.children,n=t.isDisabled,r=t.isFocused,i=t.isSelected,o=t.innerRef,a=t.innerProps;return(0,m.Y)("div",(0,l.A)({},ot(t,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:o,"aria-disabled":n},a),e)},Placeholder:function(t){var e=t.children,n=t.innerProps;return(0,m.Y)("div",(0,l.A)({},ot(t,"placeholder",{placeholder:!0}),n),e)},SelectContainer:function(t){var e=t.children,n=t.innerProps,r=t.isDisabled,i=t.isRtl;return(0,m.Y)("div",(0,l.A)({},ot(t,"container",{"--is-disabled":r,"--is-rtl":i}),n),e)},SingleValue:function(t){var e=t.children,n=t.isDisabled,r=t.innerProps;return(0,m.Y)("div",(0,l.A)({},ot(t,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),e)},ValueContainer:function(t){var e=t.children,n=t.innerProps,r=t.isMulti,i=t.hasValue;return(0,m.Y)("div",(0,l.A)({},ot(t,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),e)}},Kt=Number.isNaN||function(t){return"number"===typeof t&&t!==t};function $t(t,e){return t===e||!(!Kt(t)||!Kt(e))}function Zt(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!$t(t[n],e[n]))return!1;return!0}for(var Qt={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},te=function(t){return(0,m.Y)("span",(0,l.A)({css:Qt},t))},ee={guidance:function(t){var e=t.isSearchable,n=t.isMulti,r=t.tabSelectsValue,i=t.context,o=t.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(t["aria-label"]||"Select"," is focused ").concat(e?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var e=t.action,n=t.label,r=void 0===n?"":n,i=t.labels,o=t.isDisabled;
vendor: 5,917 bytes, line 2
2switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return"option ".concat(r,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(t){var e=t.context,n=t.focused,r=t.options,i=t.label,o=void 0===i?"":i,a=t.selectValue,s=t.isDisabled,u=t.isSelected,l=t.isAppleDevice,c=function(t,e){return t&&t.length?"".concat(t.indexOf(e)+1," of ").concat(t.length):""};if("value"===e&&a)return"value ".concat(o," focused, ").concat(c(a,n),".");if("menu"===e&&l){var h=s?" disabled":"",f="".concat(u?" selected":"").concat(h);return"".concat(o).concat(f,", ").concat(c(r,n),".")}return""},onFilter:function(t){var e=t.inputValue,n=t.resultsMessage;return"".concat(n).concat(e?" for search term "+e:"",".")}},ne=function(t){var e=t.ariaSelection,n=t.focusedOption,i=t.focusedValue,o=t.focusableOptions,a=t.isFocused,u=t.selectValue,l=t.selectProps,c=t.id,h=t.isAppleDevice,f=l.ariaLiveMessages,d=l.getOptionLabel,p=l.inputValue,g=l.isMulti,v=l.isOptionDisabled,b=l.isSearchable,y=l.menuIsOpen,w=l.options,A=l.screenReaderStatus,x=l.tabSelectsValue,L=l.isLoading,N=l["aria-label"],S=l["aria-live"],P=(0,s.useMemo)(function(){return(0,r.A)((0,r.A)({},ee),f||{})},[f]),_=(0,s.useMemo)(function(){var t,n="";if(e&&P.onChange){var i=e.option,o=e.options,a=e.removedValue,s=e.removedValues,l=e.value,c=a||i||(t=l,Array.isArray(t)?null:t),h=c?d(c):"",f=o||s||void 0,p=f?f.map(d):[],m=(0,r.A)({isDisabled:c&&v(c,u),label:h,labels:p},e);n=P.onChange(m)}return n},[e,P,v,u,d]),k=(0,s.useMemo)(function(){var t="",e=n||i,r=!!(n&&u&&u.includes(n));if(e&&P.onFocus){var a={focused:e,label:d(e),isDisabled:v(e,u),isSelected:r,options:o,context:e===n?"menu":"value",selectValue:u,isAppleDevice:h};t=P.onFocus(a)}return t},[n,i,d,v,P,o,u,h]),I=(0,s.useMemo)(function(){var t="";if(y&&w.length&&!L&&P.onFilter){var e=A({count:o.length});t=P.onFilter({inputValue:p,resultsMessage:e})}return t},[o,p,y,P,w,A,L]),C="initial-input-focus"===(null===e||void 0===e?void 0:e.action),F=(0,s.useMemo)(function(){var t="";if(P.guidance){var e=i?"value":y?"menu":"input";t=P.guidance({"aria-label":N,context:e,isDisabled:n&&v(n,u),isMulti:g,isSearchable:b,tabSelectsValue:x,isInitialFocus:C})}return t},[N,n,i,g,v,b,y,P,u,x,C]),O=(0,m.Y)(s.Fragment,null,(0,m.Y)("span",{id:"aria-selection"},_),(0,m.Y)("span",{id:"aria-focused"},k),(0,m.Y)("span",{id:"aria-results"},I),(0,m.Y)("span",{id:"aria-guidance"},F));return(0,m.Y)(s.Fragment,null,(0,m.Y)(te,{id:c},C&&O),(0,m.Y)(te,{"aria-live":S,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!C&&O))},re=[{base:"A",letters:"A\u24b6\uff21\xc0\xc1\xc2\u1ea6\u1ea4\u1eaa\u1ea8\xc3\u0100\u0102\u1eb0\u1eae\u1eb4\u1eb2\u0226\u01e0\xc4\u01de\u1ea2\xc5\u01fa\u01cd\u0200\u0202\u1ea0\u1eac\u1eb6\u1e00\u0104\u023a\u2c6f"},{base:"AA",letters:"\ua732"},{base:"AE",letters:"\xc6\u01fc\u01e2"},{base:"AO",letters:"\ua734"},{base:"AU",letters:"\ua736"},{base:"AV",letters:"\ua738\ua73a"},{base:"AY",letters:"\ua73c"},{base:"B",letters:"B\u24b7\uff22\u1e02\u1e04\u1e06\u0243\u0182\u0181"},{base:"C",letters:"C\u24b8\uff23\u0106\u0108\u010a\u010c\xc7\u1e08\u0187\u023b\ua73e"},{base:"D",letters:"D\u24b9\uff24\u1e0a\u010e\u1e0c\u1e10\u1e12\u1e0e\u0110\u018b\u018a\u0189\ua779"},{base:"DZ",letters:"\u01f1\u01c4"},{base:"Dz",letters:"\u01f2\u01c5"},{base:"E",letters:"E\u24ba\uff25\xc8\xc9\xca\u1ec0\u1ebe\u1ec4\u1ec2\u1ebc\u0112\u1e14\u1e16\u0114\u0116\xcb\u1eba\u011a\u0204\u0206\u1eb8\u1ec6\u0228\u1e1c\u0118\u1e18\u1e1a\u0190\u018e"},{base:"F",letters:"F\u24bb\uff26\u1e1e\u0191\ua77b"},{base:"G",letters:"G\u24bc\uff27\u01f4\u011c\u1e20\u011e\u0120\u01e6\u0122\u01e4\u0193\ua7a0\ua77d\ua77e"},{base:"H",letters:"H\u24bd\uff28\u0124\u1e22\u1e26\u021e\u1e24\u1e28\u1e2a\u0126\u2c67\u2c75\ua78d"},{base:"I",letters:"I\u24be\uff29\xcc\xcd\xce\u0128\u012a\u012c\u0130\xcf\u1e2e\u1ec8\u01cf\u0208\u020a\u1eca\u012e\u1e2c\u0197"},{base:"J",letters:"J\u24bf\uff2a\u0134\u0248"},{base:"K",letters:"K\u24c0\uff2b\u1e30\u01e8\u1e32\u0136\u1e34\u0198\u2c69\ua740\ua742\ua744\ua7a2"},{base:"L",letters:"L\u24c1\uff2c\u013f\u0139\u013d\u1e36\u1e38\u013b\u1e3c\u1e3a\u0141\u023d\u2c62\u2c60\ua748\ua746\ua780"},{base:"LJ",letters:"\u01c7"},{base:"Lj",letters:"\u01c8"},{base:"M",letters:"M\u24c2\uff2d\u1e3e\u1e40\u1e42\u2c6e\u019c"},{base:"N",letters:"N\u24c3\uff2e\u01f8\u0143\xd1\u1e44\u0147\u1e46\u0145\u1e4a\u1e48\u0220\u019d\ua790\ua7a4"},{base:"NJ",letters:"\u01ca"},{base:"Nj",letters:"\u01cb"},{base:"O",letters:"O\u24c4\uff2f\xd2\xd3\xd4\u1ed2\u1ed0\u1ed6\u1ed4\xd5\u1e4c\u022c\u1e4e\u014c\u1e50\u1e52\u014e\u022e\u0230\xd6\u022a\u1ece\u0150\u01d1\u020c\u020e\u01a0\u1edc\u1eda\u1ee0\u1ede\u1ee2\u1ecc\u1ed8\u01ea\u01ec\xd8\u01fe\u0186\u019f\ua74a\ua74c"},{base:"OI",letters:"\u01a2"},{base:"OO",letters:"\ua74e"},{base:"OU",letters:"\u0222"},{base:"P",letters:"P\u24c5\uff30\u1e54\u1e56\u01a4\u2c63\ua750\ua752\ua754"},{base:"Q",letters:"Q\u24c6\uff31\ua756\ua758\u024a"},{base:"R",letters:"R\u24c7\uff32\u0154\u1e58\u0158\u0210\u0212\u1e5a\u1e5c\u0156\u1e5e\u024c\u2c64\ua75a\ua7a6\ua782"},{base:"S",letters:"S\u24c8\uff33\u1e9e\u015a\u1e64\u015c\u1e60\u0160\u1e66\u1e62\u1e68\u0218\u015e\u2c7e\ua7a8\ua784"},{base:"T",letters:"T\u24c9\uff34\u1e6a\u0164\u1e6c\u021a\u0162\u1e70\u1e6e\u0166\u01ac\u01ae\u023e\ua786"},{base:"TZ",letters:"\ua728"},{base:"U",letters:"U\u24ca\uff35\xd9\xda\xdb\u0168\u1e78\u016a\u1e7a\u016c\xdc\u01db\u01d7\u01d5\u01d9\u1ee6\u016e\u0170\u01d3\u0214\u0216\u01af\u1eea\u1ee8\u1eee\u1eec\u1ef0\u1ee4\u1e72\u0172\u1e76\u1e74\u0244"},{base:"V",letters:"V\u24cb\uff36\u1e7c\u1e7e\u01b2\ua75e\u0245"},{base:"VY",letters:"\ua760"},{base:"W",letters:"W\u24cc\uff37\u1e80\u1e82\u0174\u1e86\u1e84\u1e88\u2c72"}
vendor: 5,781 bytes, line 2
2,{base:"X",letters:"X\u24cd\uff38\u1e8a\u1e8c"},{base:"Y",letters:"Y\u24ce\uff39\u1ef2\xdd\u0176\u1ef8\u0232\u1e8e\u0178\u1ef6\u1ef4\u01b3\u024e\u1efe"},{base:"Z",letters:"Z\u24cf\uff3a\u0179\u1e90\u017b\u017d\u1e92\u1e94\u01b5\u0224\u2c7f\u2c6b\ua762"},{base:"a",letters:"a\u24d0\uff41\u1e9a\xe0\xe1\xe2\u1ea7\u1ea5\u1eab\u1ea9\xe3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\xe4\u01df\u1ea3\xe5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250"},{base:"aa",letters:"\ua733"},{base:"ae",letters:"\xe6\u01fd\u01e3"},{base:"ao",letters:"\ua735"},{base:"au",letters:"\ua737"},{base:"av",letters:"\ua739\ua73b"},{base:"ay",letters:"\ua73d"},{base:"b",letters:"b\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253"},{base:"c",letters:"c\u24d2\uff43\u0107\u0109\u010b\u010d\xe7\u1e09\u0188\u023c\ua73f\u2184"},{base:"d",letters:"d\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\ua77a"},{base:"dz",letters:"\u01f3\u01c6"},{base:"e",letters:"e\u24d4\uff45\xe8\xe9\xea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\xeb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u025b\u01dd"},{base:"f",letters:"f\u24d5\uff46\u1e1f\u0192\ua77c"},{base:"g",letters:"g\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\u1d79\ua77f"},{base:"h",letters:"h\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265"},{base:"hv",letters:"\u0195"},{base:"i",letters:"i\u24d8\uff49\xec\xed\xee\u0129\u012b\u012d\xef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131"},{base:"j",letters:"j\u24d9\uff4a\u0135\u01f0\u0249"},{base:"k",letters:"k\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3"},{base:"l",letters:"l\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747"},{base:"lj",letters:"\u01c9"},{base:"m",letters:"m\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f"},{base:"n",letters:"n\u24dd\uff4e\u01f9\u0144\xf1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5"},{base:"nj",letters:"\u01cc"},{base:"o",letters:"o\u24de\uff4f\xf2\xf3\xf4\u1ed3\u1ed1\u1ed7\u1ed5\xf5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\xf6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\xf8\u01ff\u0254\ua74b\ua74d\u0275"},{base:"oi",letters:"\u01a3"},{base:"ou",letters:"\u0223"},{base:"oo",letters:"\ua74f"},{base:"p",letters:"p\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755"},{base:"q",letters:"q\u24e0\uff51\u024b\ua757\ua759"},{base:"r",letters:"r\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783"},{base:"s",letters:"s\u24e2\uff53\xdf\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b"},{base:"t",letters:"t\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787"},{base:"tz",letters:"\ua729"},{base:"u",letters:"u\u24e4\uff55\xf9\xfa\xfb\u0169\u1e79\u016b\u1e7b\u016d\xfc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289"},{base:"v",letters:"v\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c"},{base:"vy",letters:"\ua761"},{base:"w",letters:"w\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73"},{base:"x",letters:"x\u24e7\uff58\u1e8b\u1e8d"},{base:"y",letters:"y\u24e8\uff59\u1ef3\xfd\u0177\u1ef9\u0233\u1e8f\xff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff"},{base:"z",letters:"z\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763"}],ie=new RegExp("["+re.map(function(t){return t.letters}).join("")+"]","g"),oe={},ae=0;ae<re.length;ae++)for(var se=re[ae],ue=0;ue<se.letters.length;ue++)oe[se.letters[ue]]=se.base;var le=function(t){return t.replace(ie,function(t){return oe[t]})},ce=function(t,e){void 0===e&&(e=Zt);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&e(r,n.lastArgs))return n.lastResult;var o=t.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return r.clear=function(){n=null},r}(le),he=function(t){return t.replace(/^\s+|\s+$/g,"")},fe=function(t){return"".concat(t.label," ").concat(t.value)},de=["innerRef"];function pe(t){var e=t.innerRef,n=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=Object.entries(t).filter(function(t){var e=o(t,1)[0];return!n.includes(e)});return i.reduce(function(t,e){var n=o(e,2),r=n[0],i=n[1];return t[r]=i,t},{})}((0,a.A)(t,de),"onExited","in","enter","exit","appear");return(0,m.Y)("input",(0,l.A)({ref:e},n,{css:(0,m.AH)({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var me=["boxSizing","height","overflow","paddingRight","position"],ge={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function ve(t){t.cancelable&&t.preventDefault()}function be(t){t.stopPropagation()}function ye(){var t=this.scrollTop,e=this.scrollHeight,n=t+this.offsetHeight;0===t?this.scrollTop=1:n===e&&(this.scrollTop=t-1)}function we(){return"ontouchstart"in window||navigator.maxTouchPoints}var Ae=!("undefined"===typeof window||!window.document||!window.document.createElement),xe=0,Le={capture:!1,passive:!1};var Ne=function(t){var e=t.target;return e.ownerDocument.activeElement&&e.ownerDocument.activeElement.blur()},Se={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Pe(t){var e=t.children,n=t.lockEnabled,r=t.captureEnabled,i=function(t){var e=t.isEnabled,n=t.onBottomArrive,r=t.onBottomLeave,
2i=t.onTopArrive,o=t.onTopLeave,a=(0,s.useRef)(!1),u=(0,s.useRef)(!1),l=(0,s.useRef)(0),c=(0,s.useRef)(null),h=(0,s.useCallback)(function(t,e){if(null!==c.current){var s=c.current,l=s.scrollTop,h=s.scrollHeight,f=s.clientHeight,d=c.current,p=e>0,m=h-f-l,g=!1;m>e&&a.current&&(r&&r(t),a.current=!1),p&&u.current&&(o&&o(t),u.current=!1),p&&e>m?(n&&!a.current&&n(t),d.scrollTop=h,g=!0,a.current=!0):!p&&-e>l&&(i&&!u.current&&i(t),d.scrollTop=0,g=!0,u.current=!0),g&&function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()}(t)}},[n,r,i,o]),f=(0,s.useCallback)(function(t){h(t,t.deltaY)},[h]),d=(0,s.useCallback)(function(t){l.current=t.changedTouches[0].clientY},[]),p=(0,s.useCallback)(function(t){var e=l.current-t.changedTouches[0].clientY;h(t,e)},[h]),m=(0,s.useCallback)(function(t){if(t){var e=!!mt&&{passive:!1};t.addEventListener("wheel",f,e),t.addEventListener("touchstart",d,e),t.addEventListener("touchmove",p,e)}},[p,d,f]),g=(0,s.useCallback)(function(t){t&&(t.removeEventListener("wheel",f,!1),t.removeEventListener("touchstart",d,!1),t.removeEventListener("touchmove",p,!1))},[p,d,f]);return(0,s.useEffect)(function(){if(e){var t=c.current;return m(t),function(){g(t)}}},[e,m,g]),function(t){c.current=t}}({isEnabled:void 0===r||r,onBottomArrive:t.onBottomArrive,onBottomLeave:t.onBottomLeave,onTopArrive:t.onTopArrive,onTopLeave:t.onTopLeave}),o=function(t){var e=t.isEnabled,n=t.accountForScrollbars,r=void 0===n||n,i=(0,s.useRef)({}),o=(0,s.useRef)(null),a=(0,s.useCallback)(function(t){if(Ae){var e=document.body,n=e&&e.style;if(r&&me.forEach(function(t){var e=n&&n[t];i.current[t]=e}),r&&xe<1){var o=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+o||0;Object.keys(ge).forEach(function(t){var e=ge[t];n&&(n[t]=e)}),n&&(n.paddingRight="".concat(s,"px"))}e&&we()&&(e.addEventListener("touchmove",ve,Le),t&&(t.addEventListener("touchstart",ye,Le),t.addEventListener("touchmove",be,Le))),xe+=1}},[r]),u=(0,s.useCallback)(function(t){if(Ae){var e=document.body,n=e&&e.style;xe=Math.max(xe-1,0),r&&xe<1&&me.forEach(function(t){var e=i.current[t];n&&(n[t]=e)}),e&&we()&&(e.removeEventListener("touchmove",ve,Le),t&&(t.removeEventListener("touchstart",ye,Le),t.removeEventListener("touchmove",be,Le)))}},[r]);return(0,s.useEffect)(function(){if(e){var t=o.current;return a(t),function(){u(t)}}},[e,a,u]),function(t){o.current=t}}({isEnabled:n});return(0,m.Y)(s.Fragment,null,n&&(0,m.Y)("div",{onClick:Ne,css:Se}),e(function(t){i(t),o(t)}))}var _e={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},ke=function(t){var e=t.name,n=t.onFocus;return(0,m.Y)("input",{required:!0,name:e,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:_e,value:"",onChange:function(){}})};function Ie(t){var e;return"undefined"!==typeof window&&null!=window.navigator&&t.test((null===(e=window.navigator.userAgentData)||void 0===e?void 0:e.platform)||window.navigator.platform)}function Ce(){return Ie(/^Mac/i)}function Fe(){return Ie(/^iPhone/i)||Ie(/^iPad/i)||Ce()&&navigator.maxTouchPoints>1}var Oe={clearIndicator:Dt,container:function(t){var e=t.isDisabled;return{label:"container",direction:t.isRtl?"rtl":void 0,pointerEvents:e?"none":void 0,position:"relative"}},control:function(t,e){var n=t.isDisabled,i=t.isFocused,o=t.theme,a=o.colors,s=o.borderRadius,u=o.spacing;return(0,r.A)({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:u.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},e?{}:{backgroundColor:n?a.neutral5:a.neutral0,borderColor:n?a.neutral10:i?a.primary:a.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:i?a.primary:a.neutral30}})},dropdownIndicator:Rt,group:function(t,e){var n=t.theme.spacing;return e?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(t,e){var n=t.theme,i=n.colors,o=n.spacing;return(0,r.A)({label:"group",cursor:"default",display:"block"},e?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(t,e){var n=t.isDisabled,i=t.theme,o=i.spacing.baseUnit,a=i.colors;return(0,r.A)({label:"indicatorSeparator",alignSelf:"stretch",width:1},e?{}:{backgroundColor:n?a.neutral10:a.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(t,e){var n=t.isDisabled,i=t.value,o=t.theme,a=o.spacing,s=o.colors;return(0,r.A)((0,r.A)({visibility:n?"hidden":"visible",transform:i?"translateZ(0)":""},Wt),e?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:s.neutral80})},loadingIndicator:function(t,e){var n=t.isFocused,i=t.size,o=t.theme,a=o.colors,s=o.spacing.baseUnit;return(0,r.A)({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},e?{}:{color:n?a.neutral60:a.neutral20,padding:2*s})},loadingMessage:kt,menu:function(t,e){var n,i=t.placement,o=t.theme,a=o.borderRadius,s=o.spacing,u=o.colors;return(0,r.A)((n={label:"menu"},(0,b.A)(n,function(t){return t?{bottom:"top",top:"bottom"}[t]:"bottom"}(i),"100%"),(0,b.A)(n,"position","absolute"),(0,b.A)(n,"width","100%"),(0,b.A)(n,"zIndex",1),n),e?{}:{backgroundColor:u.neutral0,borderRadius:a,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},menuList:function(t,e){var n=t.maxHeight,i=t.theme.spacing.baseUnit;return(0,r.A)({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},e?{}:{paddingBottom:i,paddingTop:i})},menuPortal:function(t){var e=t.rect,n=t.offset,r=t.position;return{left:e.left,position:r,top:n,width:e.width,zIndex:1}},multiValue:function(t,e){var n=t.theme,i=n.spacing,o=n.borderRadius,a=n.colors;return(0,r.A)({label:"multiValue",display:"flex",minWidth:0},e?{}:{backgroundColor:a.neutral10,borderRadius:o/2,margin:i.baseUnit/2})},multiValueLabel:function(t,e){var n=t.theme,i=n.borderRadius,o=n.colors,a=t.cropWithEllipsis;return(0,r.A)({overflow:"hidden",textOverflow:a||void 0===a?"ellipsis":void 0,whiteSpace:"nowrap"},e?{}:{borderRadius:i/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(t,e){var n=t.theme,i=n.spacing,o=n.borderRadius,a=n.colors,s=t.isFocused;return(0,r.A)({alignItems:"center",display:"flex"},e?{}:{borderRadius:o/2,backgroundColor:s?a.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},noOptionsMessage:_t,option:function(t,e){var n=t.isDisabled,i=t.isFocused,o=t.isSelected,a=t.theme,s=a.spacing,u=a.colors;return(0,r.A)({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},e?{}:{backgroundColor:o?u.primary:i?u.primary25:"transparent",color:n?u.neutral20:o?u.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?u.primary:u.primary50}})},placeholder:function(t,e){var n=t.theme,i=n.spacing,o=n.colors;return(0,r.A)({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},e?{}:{color:o.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},singleValue:function(t,e){var n=t.isDisabled,i=t.theme,o=i.spacing,a=i.colors;return(0,r.A)({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},e?{}:{color:n?a.neutral40:a.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(t,e){var n=t.theme.spacing,i=t.isMulti,o=t.hasValue,a=t.selectProps.controlShouldRenderValue;return(0,r.A)({alignItems:"center",display:i&&o&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},e?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}};var Me,je={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},Ee={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:ht(),captureMenuScroll:!ht(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(t,e){if(t.data.__isNew__)return!0;var n=(0,r.A)({ignoreCase:!0,ignoreAccents:!0,stringify:fe,trim:!0,matchFrom:"any"},Me),i=n.ignoreCase,o=n.ignoreAccents,a=n.stringify,s=n.trim,u=n.matchFrom,l=s?he(e):e,c=s?he(a(t)):a(t);return i&&(l=l.toLowerCase(),c=c.toLowerCase()),o&&(l=ce(l),c=le(c)),"start"===u?c.substr(0,l.length)===l:c.indexOf(l)>-1},formatGroupLabel:function(t){return t.label},getOptionLabel:function(t){return t.label},getOptionValue:function(t){return t.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(t){return!!t.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(t){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var e=t.count;return"".concat(e," result").concat(1!==e?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Re(t,e,n,r){return{type:"option",data:e,isDisabled:He(t,e,n),isSelected:We(t,e,n),label:Ue(t,e),value:Ve(t,e),index:r}}function De(t,e){return t.options.map(function(n,r){if("options"in n){var i=n.options.map(function(n,r){return Re(t,n,e,r)}).filter(function(e){return qe(t,e)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=Re(t,n,e,r);return qe(t,o)?o:void 0}).filter(gt)}function Te(t){return t.reduce(function(t,e){return"group"===e.type?t.push.apply(t,(0,p.A)(e.options.map(function(t){return t.data}))):t.push(e.data),t},[])}function Be(t,e){return t.reduce(function(t,n){return"group"===n.type?t.push.apply(t,(0,p.A)(n.options.map(function(t){return{data:t.data,id:"".concat(e,"-").concat(n.index,"-").concat(t.index)}}))):t.push({data:n.data,id:"".concat(e,"-").concat(n.index)}),t},[])}function qe(t,e){var n=t.inputValue,r=void 0===n?"":n,i=e.data,o=e.isSelected,a=e.label,s=e.value;return(!Ye(t)||!o)&&Ge(t,{label:a,value:s,data:i},r)}var ze=function(t,e){var n;return(null===(n=t.find(function(t){return t.data===e}))||void 0===n?void 0:n.id)||null},Ue=function(t,e){return t.getOptionLabel(e)},Ve=function(t,e){return t.getOptionValue(e)};function He(t,e,n){return"function"===typeof t.isOptionDisabled&&t.isOptionDisabled(e,n)}function We(t,e,n){if(n.indexOf(e)>-1)return!0;
vendor: 8,816 bytes, line 2
2if("function"===typeof t.isOptionSelected)return t.isOptionSelected(e,n);var r=Ve(t,e);return n.some(function(e){return Ve(t,e)===r})}function Ge(t,e,n){return!t.filterOption||t.filterOption(e,n)}var Ye=function(t){var e=t.hideSelectedOptions,n=t.isMulti;return void 0===e?n:e},Xe=1,Je=function(t){(0,f.A)(n,t);var e=(0,d.A)(n);function n(t){var i;if((0,c.A)(this,n),(i=e.call(this,t)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.controlRef=null,i.getControlRef=function(t){i.controlRef=t},i.focusedOptionRef=null,i.getFocusedOptionRef=function(t){i.focusedOptionRef=t},i.menuListRef=null,i.getMenuListRef=function(t){i.menuListRef=t},i.inputRef=null,i.getInputRef=function(t){i.inputRef=t},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(t,e){var n=i.props,r=n.onChange,o=n.name;e.name=o,i.ariaOnChange(t,e),r(t,e)},i.setValue=function(t,e,n){var r=i.props,o=r.closeMenuOnSelect,a=r.isMulti,s=r.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:s}),o&&(i.setState({inputIsHiddenAfterUpdate:!a}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(t,{action:e,option:n})},i.selectOption=function(t){var e=i.props,n=e.blurInputOnSelect,r=e.isMulti,o=e.name,a=i.state.selectValue,s=r&&i.isOptionSelected(t,a),u=i.isOptionDisabled(t,a);if(s){var l=i.getOptionValue(t);i.setValue(a.filter(function(t){return i.getOptionValue(t)!==l}),"deselect-option",t)}else{if(u)return void i.ariaOnChange(t,{action:"select-option",option:t,name:o});r?i.setValue([].concat((0,p.A)(a),[t]),"select-option",t):i.setValue(t,"select-option")}n&&i.blurInput()},i.removeValue=function(t){var e=i.props.isMulti,n=i.state.selectValue,r=i.getOptionValue(t),o=n.filter(function(t){return i.getOptionValue(t)!==r}),a=vt(e,o,o[0]||null);i.onChange(a,{action:"remove-value",removedValue:t}),i.focusInput()},i.clearValue=function(){var t=i.state.selectValue;i.onChange(vt(i.props.isMulti,[],null),{action:"clear",removedValues:t})},i.popValue=function(){var t=i.props.isMulti,e=i.state.selectValue,n=e[e.length-1],r=e.slice(0,e.length-1),o=vt(t,r,r[0]||null);n&&i.onChange(o,{action:"pop-value",removedValue:n})},i.getFocusedOptionId=function(t){return ze(i.state.focusableOptionsWithIds,t)},i.getFocusableOptionsWithIds=function(){return Be(De(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return nt.apply(void 0,[i.props.classNamePrefix].concat(e))},i.getOptionLabel=function(t){return Ue(i.props,t)},i.getOptionValue=function(t){return Ve(i.props,t)},i.getStyles=function(t,e){var n=i.props.unstyled,r=Oe[t](e,n);r.boxSizing="border-box";var o=i.props.styles[t];return o?o(r,e):r},i.getClassNames=function(t,e){var n,r;return null===(n=(r=i.props.classNames)[t])||void 0===n?void 0:n.call(r,e)},i.getElementId=function(t){return"".concat(i.state.instancePrefix,"-").concat(t)},i.getComponents=function(){return t=i.props,(0,r.A)((0,r.A)({},Jt),t.components);var t},i.buildCategorizedOptions=function(){return De(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return Te(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(t,e){i.setState({ariaSelection:(0,r.A)({value:t},e)})},i.onMenuMouseDown=function(t){0===t.button&&(t.stopPropagation(),t.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(t){i.blockOptionHover=!1},i.onControlMouseDown=function(t){if(!t.defaultPrevented){var e=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?"INPUT"!==t.target.tagName&&"TEXTAREA"!==t.target.tagName&&i.onMenuClose():e&&i.openMenu("first"):(e&&(i.openAfterFocus=!0),i.focusInput()),"INPUT"!==t.target.tagName&&"TEXTAREA"!==t.target.tagName&&t.preventDefault()}},i.onDropdownIndicatorMouseDown=function(t){if((!t||"mousedown"!==t.type||0===t.button)&&!i.props.isDisabled){var e=i.props,n=e.isMulti,r=e.menuIsOpen;i.focusInput(),r?(i.setState({inputIsHiddenAfterUpdate:!n}),i.onMenuClose()):i.openMenu("first"),t.preventDefault()}},i.onClearIndicatorMouseDown=function(t){t&&"mousedown"===t.type&&0!==t.button||(i.clearValue(),t.preventDefault(),i.openAfterFocus=!1,"touchend"===t.type?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(t){"boolean"===typeof i.props.closeMenuOnScroll?t.target instanceof HTMLElement&&at(t.target)&&i.props.onMenuClose():"function"===typeof i.props.closeMenuOnScroll&&i.props.closeMenuOnScroll(t)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(t){var e=t.touches,n=e&&e.item(0);n&&(i.initialTouchX=n.clientX,i.initialTouchY=n.clientY,i.userIsDragging=!1)},i.onTouchMove=function(t){var e=t.touches,n=e&&e.item(0);if(n){var r=Math.abs(n.clientX-i.initialTouchX),o=Math.abs(n.clientY-i.initialTouchY);i.userIsDragging=r>5||o>5}},i.onTouchEnd=function(t){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(t.target)&&i.menuListRef&&!i.menuListRef.contains(t.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(t){i.userIsDragging||i.onControlMouseDown(t)},i.onClearIndicatorTouchEnd=function(t){i.userIsDragging||i.onClearIndicatorMouseDown(t)},i.onDropdownIndicatorTouchEnd=function(t){i.userIsDragging||i.onDropdownIndicatorMouseDown(t)},i.handleInputChange=function(t){var e=i.props.inputValue,n=t.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(n,{action:"input-change",prevInputValue:e}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(t){i.props.onFocus&&i.props.onFocus(t),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(t){var e=i.props.inputValue;i.menuListRef&&i.menuListRef.contains(document.activeElement)?i.inputRef.focus():(i.props.onBlur&&i.props.onBlur(t),i.onInputChange("",{action:"input-blur",prevInputValue:e}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1}))},i.onOptionHover=function(t){if(!i.blockOptionHover&&i.state.focusedOption!==t){var e=i.getFocusableOptions().indexOf(t);i.setState({focusedOption:t,focusedOptionId:e>-1?i.getFocusedOptionId(t):null})}},i.shouldHideSelectedOptions=function(){return Ye(i.props)},i.onValueInputFocus=function(t){t.preventDefault(),t.stopPropagation(),i.focus()},i.onKeyDown=function(t){var e=i.props,n=e.isMulti,r=e.backspaceRemovesValue,o=e.escapeClearsValue,a=e.inputValue,s=e.isClearable,u=e.isDisabled,l=e.menuIsOpen,c=e.onKeyDown,h=e.tabSelectsValue,f=e.openMenuOnFocus,d=i.state,p=d.focusedOption,m=d.focusedValue,g=d.selectValue;if(!u&&("function"!==typeof c||(c(t),!t.defaultPrevented))){switch(i.blockOptionHover=!0,t.key){case"ArrowLeft":if(!n||a)return;i.focusValue("previous");break;case"ArrowRight":if(!n||a)return;i.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)i.removeValue(m);else{if(!r)return;n?i.popValue():s&&i.clearValue()}break;case"Tab":if(i.isComposing)return;if(t.shiftKey||!l||!h||!p||f&&i.isOptionSelected(p,g))return;i.selectOption(p);break;case"Enter":if(229===t.keyCode)break;if(l){if(!p)return;if(i.isComposing)return;i.selectOption(p);break}return;case"Escape":l?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:a}),i.onMenuClose()):s&&o&&i.clearValue();break;case" ":if(a)return;if(!l){i.openMenu("first");break}if(!p)return;i.selectOption(p);break;case"ArrowUp":l?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":l?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!l)return;i.focusOption("pageup");break;case"PageDown":if(!l)return;i.focusOption("pagedown");break;case"Home":if(!l)return;i.focusOption("first");break;case"End":if(!l)return;i.focusOption("last");break;default:return}t.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++Xe),i.state.selectValue=rt(t.value),t.menuIsOpen&&i.state.selectValue.length){var o=i.getFocusableOptionsWithIds(),a=i.buildFocusableOptions(),s=a.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=o,i.state.focusedOption=a[s],i.state.focusedOptionId=ze(o,a[s])}return i}
vendor: 4,142 bytes, line 2
2return(0,h.A)(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&ct(this.menuListRef,this.focusedOptionRef),(Ce()||Fe())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.isDisabled,r=e.menuIsOpen,i=this.state.isFocused;(i&&!n&&t.isDisabled||i&&r&&!t.menuIsOpen)&&this.focusInput(),i&&n&&!t.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!t.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(ct(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(t,e){this.props.onInputChange(t,e)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(t){var e=this,n=this.state,r=n.selectValue,i=n.isFocused,o=this.buildFocusableOptions(),a="first"===t?0:o.length-1;if(!this.props.isMulti){var s=o.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[a],focusedOptionId:this.getFocusedOptionId(o[a])},function(){return e.onMenuOpen()})}},{key:"focusValue",value:function(t){var e=this.state,n=e.selectValue,r=e.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var o=n.length-1,a=-1;if(n.length){switch(t){case"previous":a=0===i?0:-1===i?o:i-1;break;case"next":i>-1&&i<o&&(a=i+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",e=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,o=r.indexOf(n);n||(o=-1),"up"===t?i=o>0?o-1:r.length-1:"down"===t?i=(o+1)%r.length:"pageup"===t?(i=o-e)<0&&(i=0):"pagedown"===t?(i=o+e)>r.length-1&&(i=r.length-1):"last"===t&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"===typeof this.props.theme?this.props.theme(je):(0,r.A)((0,r.A)({},je),this.props.theme):je}},{key:"getCommonProps",value:function(){var t=this.clearValue,e=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,o=this.selectOption,a=this.setValue,s=this.props,u=s.isMulti,l=s.isRtl,c=s.options;return{clearValue:t,cx:e,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:u,isRtl:l,options:c,selectOption:o,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var t=this.props,e=t.isClearable,n=t.isMulti;return void 0===e?n:e}},{key:"isOptionDisabled",value:function(t,e){return He(this.props,t,e)}},{key:"isOptionSelected",value:function(t,e){return We(this.props,t,e)}},{key:"filterOption",value:function(t,e){return Ge(this.props,t,e)}},{key:"formatOptionLabel",value:function(t,e){if("function"===typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(t,{context:e,inputValue:n,selectValue:r})}return this.getOptionLabel(t)}
vendor: 10,259 bytes, line 2
2},{key:"formatGroupLabel",value:function(t){return this.props.formatGroupLabel(t)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var t=this.props,e=t.isDisabled,n=t.isSearchable,i=t.inputId,o=t.inputValue,a=t.tabIndex,u=t.form,c=t.menuIsOpen,h=t.required,f=this.getComponents().Input,d=this.state,p=d.inputIsHidden,m=d.ariaSelection,g=this.commonProps,v=i||this.getElementId("input"),b=(0,r.A)((0,r.A)((0,r.A)({"aria-autocomplete":"list","aria-expanded":c,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":h,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},c&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null===m||void 0===m?void 0:m.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?s.createElement(f,(0,l.A)({},g,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:v,innerRef:this.getInputRef,isDisabled:e,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:u,type:"text",value:o},b)):s.createElement(pe,(0,l.A)({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:tt,onFocus:this.onInputFocus,disabled:e,tabIndex:a,inputMode:"none",form:u,value:""},b))}},{key:"renderPlaceholderOrValue",value:function(){var t=this,e=this.getComponents(),n=e.MultiValue,r=e.MultiValueContainer,i=e.MultiValueLabel,o=e.MultiValueRemove,a=e.SingleValue,u=e.Placeholder,c=this.commonProps,h=this.props,f=h.controlShouldRenderValue,d=h.isDisabled,p=h.isMulti,m=h.inputValue,g=h.placeholder,v=this.state,b=v.selectValue,y=v.focusedValue,w=v.isFocused;if(!this.hasValue()||!f)return m?null:s.createElement(u,(0,l.A)({},c,{key:"placeholder",isDisabled:d,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),g);if(p)return b.map(function(e,a){var u=e===y,h="".concat(t.getOptionLabel(e),"-").concat(t.getOptionValue(e));return s.createElement(n,(0,l.A)({},c,{components:{Container:r,Label:i,Remove:o},isFocused:u,isDisabled:d,key:h,index:a,removeProps:{onClick:function(){return t.removeValue(e)},onTouchEnd:function(){return t.removeValue(e)},onMouseDown:function(t){t.preventDefault()}},data:e}),t.formatOptionLabel(e,"value"))});if(m)return null;var A=b[0];return s.createElement(a,(0,l.A)({},c,{data:A,isDisabled:d}),this.formatOptionLabel(A,"value"))}},{key:"renderClearIndicator",value:function(){var t=this.getComponents().ClearIndicator,e=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,o=this.state.isFocused;if(!this.isClearable()||!t||r||!this.hasValue()||i)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return s.createElement(t,(0,l.A)({},e,{innerProps:a,isFocused:o}))}},{key:"renderLoadingIndicator",value:function(){var t=this.getComponents().LoadingIndicator,e=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,o=this.state.isFocused;if(!t||!i)return null;return s.createElement(t,(0,l.A)({},e,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:o}))}},{key:"renderIndicatorSeparator",value:function(){var t=this.getComponents(),e=t.DropdownIndicator,n=t.IndicatorSeparator;if(!e||!n)return null;var r=this.commonProps,i=this.props.isDisabled,o=this.state.isFocused;return s.createElement(n,(0,l.A)({},r,{isDisabled:i,isFocused:o}))}},{key:"renderDropdownIndicator",value:function(){var t=this.getComponents().DropdownIndicator;if(!t)return null;var e=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return s.createElement(t,(0,l.A)({},e,{innerProps:i,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var t=this,e=this.getComponents(),n=e.Group,r=e.GroupHeading,i=e.Menu,o=e.MenuList,a=e.MenuPortal,u=e.LoadingMessage,c=e.NoOptionsMessage,h=e.Option,f=this.commonProps,d=this.state.focusedOption,p=this.props,m=p.captureMenuScroll,g=p.inputValue,v=p.isLoading,b=p.loadingMessage,y=p.minMenuHeight,w=p.maxMenuHeight,A=p.menuIsOpen,x=p.menuPlacement,L=p.menuPosition,N=p.menuPortalTarget,S=p.menuShouldBlockScroll,P=p.menuShouldScrollIntoView,_=p.noOptionsMessage,k=p.onMenuScrollToTop,I=p.onMenuScrollToBottom;if(!A)return null;var C,F=function(e,n){var r=e.type,i=e.data,o=e.isDisabled,a=e.isSelected,u=e.label,c=e.value,p=d===i,m=o?void 0:function(){return t.onOptionHover(i)},g=o?void 0:function(){return t.selectOption(i)},v="".concat(t.getElementId("option"),"-").concat(n),b={id:v,onClick:g,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":t.state.isAppleDevice?void 0:a};return s.createElement(h,(0,l.A)({},f,{innerProps:b,data:i,isDisabled:o,isSelected:a,key:v,label:u,type:r,value:c,isFocused:p,innerRef:p?t.getFocusedOptionRef:void 0}),t.formatOptionLabel(e.data,"menu"))};if(this.hasOptions())C=this.getCategorizedOptions().map(function(e){if("group"===e.type){var i=e.data,o=e.options,a=e.index,u="".concat(t.getElementId("group"),"-").concat(a),c="".concat(u,"-heading");return s.createElement(n,(0,l.A)({},f,{key:u,data:i,options:o,Heading:r,headingProps:{id:c,data:e.data},label:t.formatGroupLabel(e.data)}),e.options.map(function(t){return F(t,"".concat(a,"-").concat(t.index))}))}if("option"===e.type)return F(e,"".concat(e.index))});else if(v){var O=b({inputValue:g});if(null===O)return null;C=s.createElement(u,f,O)}else{var M=_({inputValue:g});if(null===M)return null;C=s.createElement(c,f,M)}var j={minMenuHeight:y,maxMenuHeight:w,menuPlacement:x,menuPosition:L,menuShouldScrollIntoView:P},E=s.createElement(Nt,(0,l.A)({},f,j),function(e){var n=e.ref,r=e.placerProps,a=r.placement,u=r.maxHeight;return s.createElement(i,(0,l.A)({},f,j,{innerRef:n,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:v,placement:a}),s.createElement(Pe,{captureEnabled:m,onTopArrive:k,onBottomArrive:I,lockEnabled:S},function(e){return s.createElement(o,(0,l.A)({},f,{innerRef:function(n){t.getMenuListRef(n),e(n)},innerProps:{role:"listbox","aria-multiselectable":f.isMulti,id:t.getElementId("listbox")},isLoading:v,maxHeight:u,focusedOption:d}),C)}))});return N||"fixed"===L?s.createElement(a,(0,l.A)({},f,{appendTo:N,controlElement:this.controlRef,menuPlacement:x,menuPosition:L}),E):E}},{key:"renderFormField",value:function(){var t=this,e=this.props,n=e.delimiter,r=e.isDisabled,i=e.isMulti,o=e.name,a=e.required,u=this.state.selectValue;if(a&&!this.hasValue()&&!r)return s.createElement(ke,{name:o,onFocus:this.onValueInputFocus});if(o&&!r){if(i){if(n){var l=u.map(function(e){return t.getOptionValue(e)}).join(n);return s.createElement("input",{name:o,type:"hidden",value:l})}var c=u.length>0?u.map(function(e,n){return s.createElement("input",{key:"i-".concat(n),name:o,type:"hidden",value:t.getOptionValue(e)})}):s.createElement("input",{name:o,type:"hidden",value:""});return s.createElement("div",null,c)}var h=u[0]?this.getOptionValue(u[0]):"";return s.createElement("input",{name:o,type:"hidden",value:h})}}},{key:"renderLiveRegion",value:function(){var t=this.commonProps,e=this.state,n=e.ariaSelection,r=e.focusedOption,i=e.focusedValue,o=e.isFocused,a=e.selectValue,u=this.getFocusableOptions();return s.createElement(ne,(0,l.A)({},t,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:i,isFocused:o,selectValue:a,focusableOptions:u,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var t=this.getComponents(),e=t.Control,n=t.IndicatorsContainer,r=t.SelectContainer,i=t.ValueContainer,o=this.props,a=o.className,u=o.id,c=o.isDisabled,h=o.menuIsOpen,f=this.state.isFocused,d=this.commonProps=this.getCommonProps();return s.createElement(r,(0,l.A)({},d,{className:a,innerProps:{id:u,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:f}),this.renderLiveRegion(),s.createElement(e,(0,l.A)({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:f,menuIsOpen:h}),s.createElement(i,(0,l.A)({},d,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),s.createElement(n,(0,l.A)({},d,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,i=e.clearFocusValueOnUpdate,o=e.inputIsHiddenAfterUpdate,a=e.ariaSelection,s=e.isFocused,u=e.prevWasFocused,l=e.instancePrefix,c=t.options,h=t.value,f=t.menuIsOpen,d=t.inputValue,p=t.isMulti,m=rt(h),g={};if(n&&(h!==n.value||c!==n.options||f!==n.menuIsOpen||d!==n.inputValue)){var v=f?function(t,e){return Te(De(t,e))}(t,m):[],b=f?Be(De(t,m),"".concat(l,"-option")):[],y=i?function(t,e){var n=t.focusedValue,r=t.selectValue.indexOf(n);if(r>-1){if(e.indexOf(n)>-1)return n;if(r<e.length)return e[r]}return null}(e,m):null,w=function(t,e){var n=t.focusedOption;return n&&e.indexOf(n)>-1?n:e[0]}(e,v);
2g={selectValue:m,focusedOption:w,focusedOptionId:ze(b,w),focusableOptionsWithIds:b,focusedValue:y,clearFocusValueOnUpdate:!1}}var A=null!=o&&t!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},x=a,L=s&&u;return s&&!L&&(x={value:vt(p,m,m[0]||null),options:m,action:"initial-input-focus"},L=!u),"initial-input-focus"===(null===a||void 0===a?void 0:a.action)&&(x=null),(0,r.A)((0,r.A)((0,r.A)({},g),A),{},{prevProps:t,ariaSelection:x,prevWasFocused:L})}}]),n}(s.Component);Je.defaultProps=Ee;n(58603);var Ke=(0,s.forwardRef)(function(t,e){var n=function(t){var e=t.defaultInputValue,n=void 0===e?"":e,i=t.defaultMenuIsOpen,l=void 0!==i&&i,c=t.defaultValue,h=void 0===c?null:c,f=t.inputValue,d=t.menuIsOpen,p=t.onChange,m=t.onInputChange,g=t.onMenuClose,v=t.onMenuOpen,b=t.value,y=(0,a.A)(t,u),w=o((0,s.useState)(void 0!==f?f:n),2),A=w[0],x=w[1],L=o((0,s.useState)(void 0!==d?d:l),2),N=L[0],S=L[1],P=o((0,s.useState)(void 0!==b?b:h),2),_=P[0],k=P[1],I=(0,s.useCallback)(function(t,e){"function"===typeof p&&p(t,e),k(t)},[p]),C=(0,s.useCallback)(function(t,e){var n;"function"===typeof m&&(n=m(t,e)),x(void 0!==n?n:t)},[m]),F=(0,s.useCallback)(function(){"function"===typeof v&&v(),S(!0)},[v]),O=(0,s.useCallback)(function(){"function"===typeof g&&g(),S(!1)},[g]),M=void 0!==f?f:A,j=void 0!==d?d:N,E=void 0!==b?b:_;return(0,r.A)((0,r.A)({},y),{},{inputValue:M,menuIsOpen:j,onChange:I,onInputChange:C,onMenuClose:O,onMenuOpen:F,value:E})}(t);return s.createElement(Je,(0,l.A)({ref:e},n))}),$e=Ke}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.