PageSourceSearch

https://fspublishers.org/_next/static/chunks/2154-25b8a918a42fa86e.js

js fspublishers.org collected 2026-10-02 05:19:41 UTC 165,837 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2154],{9255:function(t,e,r){let n;r.d(e,{w:function(){return iB}});var i,o,s,a,h,l,c,u,f,d,p={};r.r(p),r.d(p,{getLicenseStatus:function(){return iA},setScriptKey:function(){return iM},validatePackage:function(){return iL}});var g=r(3350),m=r(339);class x{}let w=Math.PI/180,y=Number.MAX_VALUE,v=-Number.MAX_VALUE;function b(t,e){let r=e?Math.pow(10,e):1;return Math.round(t*r)/r}class _ extends x{constructor(t=0,e=0,r=0,n=0,i=0,o=0){super(),this.a=t,this.b=e,this.c=r,this.d=n,this.e=i,this.f=o}multiplyCopy(t){return new _(this.a*t.a+this.c*t.b,this.b*t.a+this.d*t.b,this.a*t.c+this.c*t.d,this.b*t.c+this.d*t.d,this.a*t.e+this.c*t.f+this.e,this.b*t.e+this.d*t.f+this.f)}invert(){let{a:t,b:e,c:r,d:n,e:i,f:o}=this,s=t*n-e*r;return 0===s?null:new _(n/s,-e/s,-r/s,t/s,(r*o-n*i)/s,(e*i-t*o)/s)}clone(){return new _(this.a,this.b,this.c,this.d,this.e,this.f)}equals(t){return!!t&&this.a===t.a&&this.b===t.b&&this.c===t.c&&this.d===t.d&&this.e===t.e&&this.f===t.f}round(t){return this.a=b(this.a,t),this.b=b(this.b,t),this.c=b(this.c,t),this.d=b(this.d,t),this.e=b(this.e,t),this.f=b(this.f,t),this}toArray(t){let e=[this.a,this.b,this.c,this.d,this.e,this.f];if(void 0!==t)for(let r=0;r<e.length;r++)e[r]=b(e[r],t);return e}toString(t,e=","){return this.toArray(t).join(e)}static translate(t,e){return new _(1,0,0,1,t,e)}static unit(){return new _(1,0,0,1,0,0)}static rotate(t,e,r){let n=new _;return n.a=Math.cos(t*w),n.b=Math.sin(t*w),n.c=-n.b,n.d=n.a,n.e=e-e*n.a+r*n.b||0,n.f=r-r*n.a-e*n.b||0,n}static scale(t,e){return new _(t,0,0,e,0,0)}}_.IDENTITY=_.unit();class S extends x{observers(){return this._observers=this._observers||[],this._observers}addObserver(t){return this._observers?this._observers.push(t):this._observers=[t],this}removeObserver(t){let e=this.observers(),r=e.indexOf(t);return -1!==r&&e.splice(r,1),this}trigger(t,e){let r=this._observers;if(r&&!this._suspended)for(let n=0;n<r.length;n++){let i=r[n];i[t]&&i[t](e)}return this}optionsChange(t={}){t.element=this,this.trigger("optionsChange",t)}geometryChange(){this.trigger("geometryChange",{element:this})}suspend(){return this._suspended=(this._suspended||0)+1,this}resume(){return this._suspended=Math.max((this._suspended||0)-1,0),this}_observerField(t,e){this[t]&&this[t].removeObserver(this),this[t]=e,e.addObserver(this)}}var C=S,M=(t,e)=>{let r=class extends t{};return!function(t,e){for(let r=0;r<e.length;r++){let n=e[r],i=n.charAt(0).toUpperCase()+n.substring(1,n.length);t["set"+i]=function(t){return function(e){return this[t]!==e&&(this[t]=e,this.geometryChange()),this}}(n),t["get"+i]=function(t){return function(){return this[t]}}(n)}}(r.prototype,e),r};function T(t){return t&&"function"==typeof t.matrix?t.matrix():t}class k extends M(C,["x","y"]){constructor(t,e){super(),this.x=t||0,this.y=e||0}equals(t){return t&&t.x===this.x&&t.y===this.y}clone(){return new k(this.x,this.y)}rotate(t,e){let r=k.create(e)||k.ZERO;return this.transform(_.rotate(t,r.x,r.y))}translate(t,e){return this.x+=t,this.y+=e,this.geometryChange(),this}translateWith(t){return this.translate(t.x,t.y)}move(t,e){return this.x=this.y=0,this.translate(t,e)}scale(t,e=t){return this.x*=t,this.y*=e,this.geometryChange(),this}scaleCopy(t,e){return this.clone().scale(t,e)}transform(t){let e=T(t),{x:r,y:n}=this;return this.x=e.a*r+e.c*n+e.e,this.y=e.b*r+e.d*n+e.f,this.geometryChange(),this}transformCopy(t){let e=this.clone();return t&&e.transform(t),e}distanceTo(t){let e=this.x-t.x,r=this.y-t.y;return Math.sqrt(e*e+r*r)}round(t){return this.x=b(this.x,t),this.y=b(this.y,t),this.geometryChange(),this}toArray(t){let e=void 0!==t;return[e?b(this.x,t):this.x,e?b(this.y,t):this.y]}toString(t,e=" "){let{x:r,y:n}=this;return void 0!==t&&(r=b(r,t),n=b(n,t)),r+e+n}static create(t,e){if(void 0!==t)return t instanceof k?t:1==arguments.length&&2===t.length?new k(t[0],t[1]):new k(t,e)}static min(){let t=y,e=y;for(let r=0;r<arguments.length;r++){let n=arguments[r];t=Math.min(n.x,t),e=Math.min(n.y,e)}return new k(t,e)}static max(){let t=v,e=v;for(let r=0;r<arguments.length;r++){let n=arguments[r];t=Math.max(n.x,t),e=Math.max(n.y,e)}return new k(t,e)}static minPoint(){return new k(v,v)}static maxPoint(){return new k(y,y)}static get ZERO(){return new k(0,0)}}class A extends M(C,["width","height"]){constructor(t,e){super(),this.width=t||0,this.height=e||0}equals(t){return t&&t.width===this.width&&t.height===this.height}clone(){return new A(this.width,this.height)}toArray(t){let e=void 0!==t;return[e?b(this.width,t):this.width,e?b(this.height,t):this.height]}static create(t,e){if(void 0!==t)return t instanceof A?t:1==arguments.length&&2===t.length?new A(t[0],t[1]):new A(t,e)}static get ZERO(){return new A(0,0)}}class L extends C{constructor(t=new k,e=new A,r=0){super(),this.setOrigin(t),this.setSize(e),this.setCornerRadius(r)}clone(){return new L(this.origin.clone(),this.size.clone())}equals(t){return t&&t.origin.equals(this.origin)&&t.size.equals(this.size)}setOrigin(t){return this._observerField("origin",k.create(t)),this.geometryChange(),this}getOrigin(){return this.origin}setCornerRadius(t){return this.cornerRadius=Array.isArray(t)?t:[t,t],this.geometryChange(),this}getCornerRadius(){return this.cornerRadius}setSize(t){return this._observerField("size",A.create(t)),this.geometryChange(),this}getSize(){return this.size}width(){return this.size.width}height(){return this.size.height}topLeft(){return this.origin.clone()}bottomRight(){return this.origin.clone().translate(this.width(),this.height())}topRight(){return this.origin.clone().translate(this.width(),0)}bottomLeft(){return this.origin.clone().translate(0,this.height())}center(){return this.origin.clone().translate(this.width()/2,this.height()/2)}bbox(t){let e=this.topLeft().transformCopy(t),r=this.topRight().transformCopy(t),n=this.bottomRight().transformCopy(t),i=this.bottomLeft().transformCopy(t);return L.fromPoints(e,r,n,i)}transformCopy(t){return L.fromPoints(this.topLeft().transform(t),this.bottomRight().transform(t))}expand(t,e=t){return this.size.width+=2*t,this.size.height+=2*e,this.origin.translate(-t,-e),this}expandCopy(t,e){return this.clone().expand(t,e)}containsPoint(t){let e=this.origin,r=this.bottomRight();return!(t.x<e.x||t.y<e.y||r.x<t.x||r.y<t.y)}_isOnPath(t,e){let r=this.expandCopy(e,e),n=this.expandCopy(-e,-e);return r.containsPoint(t)&&!n.containsPoint(t)}static fromPoints(){let t=k.min.apply(null,arguments),e=k.max.apply(null,arguments),r=new A(e.x-t.x,e.y-t.y);return new L(t,r)}static union(t,e){return L.fromPoints(k.min(t.topLeft(),e.topLeft()),k.max(t.bottomRight(),e.bottomRight()))}static intersect(t,e){let r={left:t.topLeft().x,top:t.topLeft().y,right:t.bottomRight().x,bottom:t.bottomRight().y},n={left:e.topLeft().x,top:e.topLeft().y,right:e.bottomRight().x,bottom:e.bottomRight().y};if(r.left<=n.right&&n.left<=r.right&&r.top<=n.bottom&&n.top<=r.bottom)return L.fromPoints(new k(Math.max(r.left,n.left),Math.max(r.top,n.top)),new k(Math.min(r.right,n.right),Math.min(r.bottom,n.bottom)))}}function O(t,e,r=10){return 0===b(Math.abs(t-e),r)}function P(t,e,r){return t<e||O(t,e,r)}function B(t,e,r,n){let i=0,o=0;return n&&(i=Math.atan2(n.c*r,n.a*e),0!==n.b&&(o=Math.atan2(n.d*r,n.b*e))),{x:i,y:o}}class z extends C{constructor(t=_.unit()){super(),this._matrix=t}clone(){return new z(this._matrix.clone())}equals(t){return t&&t._matrix.equals(this._matrix)}translate(t,e){return this._matrix=this._matrix.multiplyCopy(_.translate(t,e)),this._optionsChange(),this}scale(t,e=t,r=null){let n=r;return n&&(n=k.create(n),this._matrix=this._matrix.multiplyCopy(_.translate(n.x,n.y))),this._matrix=this._matrix.multiplyCopy(_.scale(t,e)),n&&(this._matrix=this._matrix.multiplyCopy(_.translate(-n.x,-n.y))),this._optionsChange(),this}rotate(t,e){let r=k.create(e)||k.ZERO;return this._matrix=this._matrix.multiplyCopy(_.rotate(t,r.x,r.y)),this._optionsChange(),this}multiply(t){let e=T(t);return this._matrix=this._matrix.multiplyCopy(e),this._optionsChange(),this}matrix(t){return t?(this._matrix=t,this._optionsChange(),this):this._matrix}_optionsChange(){this.optionsChange({field:"transform",value:this})}}function D(t){return null===t?null:t instanceof z?t:new z(t)}let R=Math.pow,N=["radiusX","radiusY","startAngle","endAngle","anticlockwise"];class I extends M(C,N){constructor(t=new k,e={}){super(),this.setCenter(t),this.radiusX=e.radiusX,this.radiusY=e.radiu
1sY||e.radiusX,this.startAngle=e.startAngle,this.endAngle=e.endAngle,this.anticlockwise=e.anticlockwise||!1,this.xRotation=e.xRotation}clone(){return new I(this.center,{radiusX:this.radiusX,radiusY:this.radiusY,startAngle:this.startAngle,endAngle:this.endAngle,anticlockwise:this.anticlockwise})}setCenter(t){return this._observerField("center",k.create(t)),this.geometryChange(),this}getCenter(){return this.center}pointAt(t){let e=this.center,r=t*w;return new k(e.x+this.radiusX*Math.cos(r),e.y+this.radiusY*Math.sin(r))}curvePoints(){let t;let e=this.startAngle,r=this.anticlockwise?-1:1,n=[this.pointAt(e)],i=this._arcInterval(),o=i.endAngle-i.startAngle,s=Math.ceil(o/45),a=o/s,h=e;this.xRotation&&(t=D().rotate(this.xRotation,this.center));for(let e=1;e<=s;e++){let e=h+r*a,i=this._intervalCurvePoints(h,e,t);n.push(i.cp1,i.cp2,i.p2),h=e}return n}bbox(t){let e=this._arcInterval(),r=e.startAngle,n=e.endAngle,i=B(this.center,this.radiusX,this.radiusY,t),o=i.x/w,s=i.y/w,a=this.pointAt(n).transformCopy(t),h=F(o,r),l=F(s,r),c=this.pointAt(r).transformCopy(t),u=k.min(c,a),f=k.max(c,a);for(;h<n||l<n;){let e,r;h<n&&(e=this.pointAt(h).transformCopy(t),h+=90),l<n&&(r=this.pointAt(l).transformCopy(t),l+=90),c=new k(e.x,r.y),u=k.min(u,c),f=k.max(f,c)}return L.fromPoints(u,f)}_arcInterval(){let{startAngle:t,endAngle:e,anticlockwise:r}=this;if(r){let r=t;t=e,e=r}return(t>e||r&&t===e)&&(e+=360),{startAngle:t,endAngle:e}}_intervalCurvePoints(t,e,r){let n=this.pointAt(t),i=this.pointAt(e),o=this._derivativeAt(t),s=this._derivativeAt(e),a=(e*w-t*w)/3,h=new k(n.x+a*o.x,n.y+a*o.y),l=new k(i.x-a*s.x,i.y-a*s.y);return r&&(n.transform(r),i.transform(r),h.transform(r),l.transform(r)),{p1:n,cp1:h,cp2:l,p2:i}}_derivativeAt(t){let e=t*w;return new k(-this.radiusX*Math.sin(e),this.radiusY*Math.cos(e))}containsPoint(t){let e;let r=this._arcInterval(),n=r.endAngle-r.startAngle,{center:i,radiusX:o,radiusY:s}=this,a=i.distanceTo(t),h=Math.atan2(t.y-i.y,t.x-i.x),l=o*s/Math.sqrt(R(o,2)*R(Math.sin(h),2)+R(s,2)*R(Math.cos(h),2)),c=this.pointAt(this.startAngle).round(10),u=this.pointAt(this.endAngle).round(10),f=function(t,e,r,n){let i=e.x-t.x,o=n.x-r.x,s=e.y-t.y,a=n.y-r.y,h=t.x-r.x,l=t.y-r.y,c=i*a-o*s,u=(i*l-s*h)/c,f=(o*l-a*h)/c;if(u>=0&&u<=1&&f>=0&&f<=1)return new k(t.x+f*i,t.y+f*s)}(i,t.round(10),c,u);if(n<180)e=f&&P(i.distanceTo(f),a)&&P(a,l);else{let n=E(i.x,i.y,o,s,t.x,t.y);360!==n&&(n=(360+n)%360);let h=r.startAngle<=n&&n<=r.endAngle;e=h&&P(a,l)||!h&&(!f||f.equals(t))}return e}_isOnPath(t,e){let r=this._arcInterval(),n=this.center,i=E(n.x,n.y,this.radiusX,this.radiusY,t.x,t.y);return 360!==i&&(i=(360+i)%360),r.startAngle<=i&&i<=r.endAngle&&this.pointAt(i).distanceTo(t)<=e}static fromPoints(t,e,r,n,i,o,s){let a=function(t){let{x1:e,y1:r,x2:n,y2:i,rx:o,ry:s,largeArc:a,swipe:h,rotation:l=0}=t,c=l*w,u=Math.cos(c),f=Math.sin(c),d=u*(e-n)/2+f*(r-i)/2,p=-f*(e-n)/2+u*(r-i)/2,g=Math.pow(d,2),m=Math.pow(p,2),x=Math.pow(o,2),y=Math.pow(s,2),v=g/x+m/y;v>1&&(o*=v=Math.sqrt(g/x+m/y),x=Math.pow(o,2),s*=v,y=Math.pow(s,2));let _=(a!==h?1:-1)*Math.sqrt((x*y-x*m-y*g)/(x*m+y*g));isNaN(_)&&(_=0);let S=o*p*_/s,C=-(s*d*_)/o,M=(d-S)/o,T=(p-C)/s,A=-(d+S)/o,L=-(p+C)/s,O=Math.acos(M/Math.sqrt(M*M+T*T))/w*(T>=0?1:-1),P=Math.acos(b((M*A+T*L)/(Math.sqrt(M*M+T*T)*Math.sqrt(A*A+L*L)),10))/w*(M*L-T*A>=0?1:-1);!h&&P>0&&(P-=360),h&&P<0&&(P+=360);let B=O+P,z=B>=0?1:-1;return B=Math.abs(B)%360*z,{center:new k(u*S-f*C+(e+n)/2,f*S+u*C+(r+i)/2),startAngle:O,endAngle:B,radiusX:o,radiusY:s,xRotation:l}}({x1:t.x,y1:t.y,x2:e.x,y2:e.y,rx:r,ry:n,largeArc:i,swipe:o,rotation:s});return new I(a.center,{startAngle:a.startAngle,endAngle:a.endAngle,radiusX:a.radiusX,radiusY:a.radiusY,xRotation:a.xRotation,anticlockwise:0===o})}}function E(t,e,r,n,i,o){let s=b((i-t)/r,3),a=b((o-e)/n,3);return b(Math.atan2(a,s)/w)}function F(t,e){let r=t;for(;r<e;)r+=90;return r}let G=Math.PI/2;class q extends M(C,["radius"]){constructor(t=new k,e=0){super(),this.setCenter(t),this.setRadius(e)}setCenter(t){return this._observerField("center",k.create(t)),this.geometryChange(),this}getCenter(){return this.center}
1equals(t){return t&&t.center.equals(this.center)&&t.radius===this.radius}clone(){return new q(this.center.clone(),this.radius)}pointAt(t){return this._pointAt(t*w)}bbox(t){let e=B(this.center,this.radius,this.radius,t),r=k.maxPoint(),n=k.minPoint();for(let i=0;i<4;i++){let o=this._pointAt(e.x+i*G).transformCopy(t),s=this._pointAt(e.y+i*G).transformCopy(t),a=new k(o.x,s.y);r=k.min(r,a),n=k.max(n,a)}return L.fromPoints(r,n)}_pointAt(t){let{center:e,radius:r}=this;return new k(e.x+r*Math.cos(t),e.y+r*Math.sin(t))}containsPoint(t){let{center:e,radius:r}=this;return Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)<=Math.pow(r,2)}_isOnPath(t,e){let{center:r,radius:n}=this,i=r.distanceTo(t);return n-e<=i&&i<=n+e}}let j=null;var H={get browser(){if("undefined"==typeof window||j)return j;return j=function(t){let e={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+))/i},r={};for(let n in e)if(e.hasOwnProperty(n)){let i=t.match(e[n]);if(i){r[n]=!0,r[i[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,r.version=parseInt(document.documentMode||i[2],10);break}}return r}(window.navigator.userAgent)}};let U="undefined"!=typeof Uint8Array&&H.browser&&(!H.browser.msie||H.browser.version>9),Y=(i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",{decode:function(t){for(var e=t.replace(/[^A-Za-z0-9\+\/\=]/g,""),r=0,n=e.length,o=[];r<n;){var s=i.indexOf(e.charAt(r++)),a=i.indexOf(e.charAt(r++)),h=i.indexOf(e.charAt(r++)),l=i.indexOf(e.charAt(r++)),c=s<<2|a>>>4,u=(15&a)<<4|h>>>2,f=(3&h)<<6|l;o.push(c),64!=h&&o.push(u),64!=l&&o.push(f)}return o},encode:function(t){for(var e=0,r=t.length,n="";e<r;){var o=t[e++],s=t[e++],a=t[e++],h=o>>>2,l=(3&o)<<4|s>>>4,c=(15&s)<<2|a>>>6,u=63&a;e-r==2?c=u=64:e-r==1&&(u=64),n+=i.charAt(h)+i.charAt(l)+i.charAt(c)+i.charAt(u)}return n}});function V(t){var e=0,r=0;null==t?t=U?new Uint8Array(256):[]:r=t.length;var n=U?function(e){if(e>=t.length){var r=new Uint8Array(Math.max(e+256,2*t.length));r.set(t,0),t=r}}:function(){},i=U?function(){return new Uint8Array(t.buffer,0,r)}:function(){return t},o=U?function(i){if("string"==typeof i)return g(i);var o=i.length;n(e+o),t.set(i,e),(e+=o)>r&&(r=e)}:function(t){if("string"==typeof t)return g(t);for(var e=0;e<t.length;++e)a(t[e])};function s(){return e<r?t[e++]:0}function a(i){n(e),t[e++]=255&i,e>r&&(r=e)}function h(){return s()<<8|s()}function l(t){a(t>>8),a(t)}function c(){return 65536*h()+h()}function u(t){l(t>>>16&65535),l(65535&t)}function f(){var t=c();return t>=2147483648?t-4294967296:t}function d(t){u(t<0?t+4294967296:t)}function p(t){return m(t,s)}function g(t){for(var e=0;e<t.length;++e)a(t.charCodeAt(e))}function m(t,e){for(var r=Array(t),n=0;n<t;++n)r[n]=e();return r}var x={eof:function(){return e>=r},readByte:s,writeByte:a,readShort:h,writeShort:l,readLong:c,writeLong:u,readFixed:function(){return c()/65536},writeFixed:function(t){u(Math.round(65536*t))},readShort_:function(){var t=h();return t>=32768?t-65536:t},writeShort_:function(t){l(t<0?t+65536:t)},readLong_:f,writeLong_:d,readFixed_:function(){return f()/65536},writeFixed_:function(t){d(Math.round(65536*t))},read:p,write:o,readString:function(t){return String.fromCharCode.apply(String,p(t))},writeString:g,times:m,get:i,slice:U?function(e,r){if(t.buffer.slice)return new Uint8Array(t.buffer.slice(e,e+r));var n=new Uint8Array(r);return n.set(new Uint8Array(t.buffer,e,r)),n}:function(e,r){return t.slice(e,e+r)},offset:function(t){return null!=t?(e=t,x):e},skip:function(t){e+=t},toString:function(){throw Error("FIX CALLER.  BinaryStream is no longer convertible to string!")},length:function(){return r},saveExcursion:function(t){var r=e;try{return t()}finally{e=r}},writeBase64:function(t){window.atob?g(window.atob(t)):o(Y.decode(t))},base64:function(){return Y.encode(i())}};return x}function X(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function K(t){return Object.keys(t).sort(function(t,e){return t-e}).map(parseFloat)}class W{constructor(t){this.raw=t,this.scalerType=t.readLong(),this.tableCount=t.readShort(),this.searchRange=t.readShort(),this.entrySelector=t.readShort(),this.rangeShift=t.readShort();for(var e=this.tables={},r=0;r<this.tableCount;++r){var n={tag:t.readString(4),checksum:t.readLong(),offset:t.readLong(),length:t.readLong()};e[n.tag]=n}}readTable(t,e){var r=this.tables[t];if(!r)throw Error("Table "+t+" not found in directory");return this[t]=r.table=new e(this,r)}render(t){var e=Object.keys(t).length,r=Math.pow(2,Math.floor(Math.log(e)/Math.LN2)),n=16*r,i=V();i.writeLong(this.scalerType),i.writeShort(e),i.writeShort(n),i.writeShort(Math.floor(Math.log(r)/Math.LN2)),i.writeShort(16*e-n);var o=16*e,s=i.offset()+o,a=null,h=V();for(var l in t)if(X(t,l)){var c=t[l];for(i.writeString(l),i.writeLong(this.checksum(c)),i.writeLong(s),i.writeLong(c.length),h.write(c),"head"==l&&(a=s),s+=c.length;s%4;)h.writeByte(0),s++}i.write(h.get());var u=this.checksum(i.get());return i.offset(a+8),i.writeLong(2981146554-u),i.get()}checksum(t){t=V(t);for(var e=0;!t.eof();)e+=t.readLong();return 4294967295&e}}class Z{constructor(t,e){this.definition=e,this.length=e.length,this.offset=e.offset,this.file=t,this.rawData=t.raw,this.parse(t.raw)}raw(){return this.rawData.slice(this.offset,this.length)}parse(){}}class $ extends Z{parse(t){t.offset(this.offset),this.version=t.readLong(),this.revision=t.readLong(),this.checkSumAdjustment=t.readLong(),this.magicNumber=t.readLong(),this.flags=t.readShort(),this.unitsPerEm=t.readShort(),this.created=t.read(8),this.modified=t.read(8),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_()}render(t){var e=V();return e.writeLong(this.version),e.writeLong(this.revision),e.writeLong(0),e.writeLong(this.magicNumber),e.writeShort(this.flags),e.writeShort(this.unitsPerEm),e.write(this.created),e.write(this.modified),e.writeShort_(this.xMin),e.writeShort_(this.yMin),e.writeShort_(this.xMax),e.writeShort_(this.yMax
1),e.writeShort(this.macStyle),e.writeShort(this.lowestRecPPEM),e.writeShort_(this.fontDirectionHint),e.writeShort_(t),e.writeShort_(this.glyphDataFormat),e.get()}}class J extends Z{parse(t){t.offset(this.offset),0===this.file.head.indexToLocFormat?this.offsets=t.times(this.length/2,function(){return 2*t.readShort()}):this.offsets=t.times(this.length/4,t.readLong)}offsetOf(t){return this.offsets[t]}lengthOf(t){return this.offsets[t+1]-this.offsets[t]}render(t){for(var e=V(),r=t[t.length-1]>65535,n=0;n<t.length;++n)r?e.writeLong(t[n]):e.writeShort(t[n]/2);return{format:r?1:0,table:e.get()}}}class Q extends Z{parse(t){t.offset(this.offset),this.version=t.readLong(),this.ascent=t.readShort_(),this.descent=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.skip(8),this.metricDataFormat=t.readShort_(),this.numOfLongHorMetrics=t.readShort()}render(t){var e=V();return e.writeLong(this.version),e.writeShort_(this.ascent),e.writeShort_(this.descent),e.writeShort_(this.lineGap),e.writeShort(this.advanceWidthMax),e.writeShort_(this.minLeftSideBearing),e.writeShort_(this.minRightSideBearing),e.writeShort_(this.xMaxExtent),e.writeShort_(this.caretSlopeRise),e.writeShort_(this.caretSlopeRun),e.writeShort_(this.caretOffset),e.write([0,0,0,0,0,0,0,0]),e.writeShort_(this.metricDataFormat),e.writeShort(t.length),e.get()}}class tt extends Z{parse(t){t.offset(this.offset),this.version=t.readLong(),this.numGlyphs=t.readShort(),this.maxPoints=t.readShort(),this.maxContours=t.readShort(),this.maxComponentPoints=t.readShort(),this.maxComponentContours=t.readShort(),this.maxZones=t.readShort(),this.maxTwilightPoints=t.readShort(),this.maxStorage=t.readShort(),this.maxFunctionDefs=t.readShort(),this.maxInstructionDefs=t.readShort(),this.maxStackElements=t.readShort(),this.maxSizeOfInstructions=t.readShort(),this.maxComponentElements=t.readShort(),this.maxComponentDepth=t.readShort()}render(t){var e=V();return e.writeLong(this.version),e.writeShort(t.length),e.writeShort(this.maxPoints),e.writeShort(this.maxContours),e.writeShort(this.maxComponentPoints),e.writeShort(this.maxComponentContours),e.writeShort(this.maxZones),e.writeShort(this.maxTwilightPoints),e.writeShort(this.maxStorage),e.writeShort(this.maxFunctionDefs),e.writeShort(this.maxInstructionDefs),e.writeShort(this.maxStackElements),e.writeShort(this.maxSizeOfInstructions),e.writeShort(this.maxComponentElements),e.writeShort(this.maxComponentDepth),e.get()}}class te extends Z{parse(t){t.offset(this.offset);var e=this.file,r=e.hhea;this.metrics=t.times(r.numOfLongHorMetrics,function(){return{advance:t.readShort(),lsb:t.readShort_()}});var n=e.maxp.numGlyphs-e.hhea.numOfLongHorMetrics;this.leftSideBearings=t.times(n,t.readShort_)}forGlyph(t){var e=this.metrics,r=e.length;return t<r?e[t]:{advance:e[r-1].advance,lsb:this.leftSideBearings[t-r]}}render(t){for(var e=V(),r=0;r<t.length;++r){var n=this.forGlyph(t[r]);e.writeShort(n.advance),e.writeShort_(n.lsb)}return e.get()}}var tr=function(){class t{get compound(){return!1}constructor(t){this.raw=t}render(){return this.raw.get()}}class e{get compound(){return!0}constructor(t){this.raw=t;for(var e=this.glyphIds=[],r=this.idOffsets=[];;){var n=t.readShort();if(r.push(t.offset()),e.push(t.readShort()),!(32&n))break;t.skip(1&n?4:2),128&n?t.skip(8):64&n?t.skip(4):8&n&&t.skip(2)}}render(t){for(var e=V(this.raw.get()),r=0;r<this.glyphIds.length;++r){var n=this.glyphIds[r];e.offset(this.idOffsets[r]),e.writeShort(t[n])}return e.get()}}return class extends Z{parse(){this.cache={}}glyphFor(r){var n=this.cache;if(X(n,r))return n[r];var i=this.file.loca,o=i.lengthOf(r);if(0===o)return n[r]=null;var s=this.rawData,a=this.offset+i.offsetOf(r),h=V(s.slice(a,o)),l=h.readShort_(),c=h.readShort_(),u=h.readShort_(),f=h.readShort_(),d=h.readShort_(),p=n[r]=l<0?new e(h):new t(h);return p.numberOfContours=l,p.xMin=c,p.yMin=u,p.xMax=f,p.yMax=d,p}render(t,e,r){for(var n=V(),i=[],o=0;o<e.length;++o){var s=t[e[o]];n.offset()%2&&n.writeByte(0),i.push(n.offset()),s&&n.write(s.render(r))}return n.offset()%2&&n.writeByte(0),i.push(n.offset()),{table:n.get(),offsets:i}}}}(),tn=function(){class t{constructor(t,e){this.text=t,this.length=t.length,this.platformID=e.platformID,this.platformSpecificID=e.platformSpecificID,this.languageID=e.languageID,this.nameID=e.nameID}}return class extends Z{parse(e){e.offset(this.offset),e.readShort();for(var r=e.readShort(),n=this.offset+e.readShort(),i=e.times(r,function(){return{platformID:e.readShort(),platformSpecificID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:e.readShort()+n}}),o=this.strings={},s=0;s<i.length;++s){var a=i[s];e.offset(a.offset);var h=e.readString(a.length);o[a.nameID]||(o[a.nameID]=[]),o[a.nameID].push(new t(h,a))}this.postscriptEntry=o[6][0],this.postscriptName=this.postscriptEntry.text.replace(/[^\x20-\x7F]/g,"")}render(e){var r=this.strings,n=0;for(var i in r)X(r,i)&&(n+=r[i].length);var o=V(),s=V();for(i in o.writeShort(0),o.writeShort(n),o.writeShort(6+12*n),r)if(X(r,i))for(var a=6==i?[new t(e,this.postscriptEntry)]:r[i],h=0;h<a.length;++h){var l=a[h];o.writeShort(l.platformID),o.writeShort(l.platformSpecificID),o.writeShort(l.languageID),o.writeShort(l.nameID),o.writeShort(l.length),o.writeShort(s.offset()),s.writeString(l.text)}return o.write(s.get()),o.get()}}}(),ti=(o=".notdef .null nonmarkingreturn space exclam quotedbl numbersign dollar percent ampersand quotesingle parenleft parenright asterisk plus comma hyphen period slash zero one two three four five six seven eight nine colon semicolon less equal greater question at A B C D E F G H I J K L M N O P Q R S T U V W X Y Z bracketleft backslash bracketright asciicircum underscore grave a b c d e f g h i j k l m n o p q r s t u v w x y z braceleft bar braceright asciitilde Adieresis Aring Ccedilla Eacute Ntilde Odieresis Udieresis aacute agrave acircumflex adieresis atilde aring ccedilla eacute egrave ecircumflex edieresis iacute igrave icircumflex idieresis ntilde oacute ograve ocircumflex odieresis otilde uacute ugrave ucircumflex udieresis dagger degree cent sterling section bullet paragraph germandbls registered copyright trademark acute dieresis notequal AE Oslash infinity plusminus lessequal greaterequal yen mu partialdiff summation product pi integral ordfeminine ordmasculine Omega ae oslash questiondown exclamdown logicalnot radical florin approxequal Delta guillemotleft guillemotright ellipsis nonbreakingspace Agrave Atilde Otilde OE oe endash emdash quotedblleft quotedblright quoteleft quoteright divide lozenge ydieresis Ydieresis fraction currency guilsinglleft guilsinglright fi fl daggerdbl periodce
1ntered quotesinglbase quotedblbase perthousand Acircumflex Ecircumflex Aacute Edieresis Egrave Iacute Icircumflex Idieresis Igrave Oacute Ocircumflex apple Ograve Uacute Ucircumflex Ugrave dotlessi circumflex tilde macron breve dotaccent ring cedilla hungarumlaut ogonek caron Lslash lslash Scaron scaron Zcaron zcaron brokenbar Eth eth Yacute yacute Thorn thorn minus multiply onesuperior twosuperior threesuperior onehalf onequarter threequarters franc Gbreve gbreve Idotaccent Scedilla scedilla Cacute cacute Ccaron ccaron dcroat".split(/\s+/g),class extends Z{parse(t){switch(t.offset(this.offset),this.format=t.readLong(),this.italicAngle=t.readFixed_(),this.underlinePosition=t.readShort_(),this.underlineThickness=t.readShort_(),this.isFixedPitch=t.readLong(),this.minMemType42=t.readLong(),this.maxMemType42=t.readLong(),this.minMemType1=t.readLong(),this.maxMemType1=t.readLong(),this.format){case 65536:case 196608:break;case 131072:e=t.readShort(),this.glyphNameIndex=t.times(e,t.readShort),this.names=[];for(var e,r=this.offset+this.length;t.offset()<r;)this.names.push(t.readString(t.readByte()));break;case 151552:e=t.readShort(),this.offsets=t.read(e);break;case 262144:this.map=t.times(this.file.maxp.numGlyphs,t.readShort)}}glyphFor(t){switch(this.format){case 65536:return o[t]||".notdef";case 131072:var e=this.glyphNameIndex[t];if(e<o.length)return o[e];return this.names[e-o.length]||".notdef";case 151552:case 196608:return".notdef";case 262144:return this.map[t]||65535}}render(t){if(196608==this.format)return this.raw();var e=V(this.rawData.slice(this.offset,32));e.writeLong(131072),e.offset(32);for(var r=[],n=[],i=0;i<t.length;++i){var s=t[i],a=this.glyphFor(s),h=o.indexOf(a);h>=0?r.push(h):(r.push(o.length+n.length),n.push(a))}for(e.writeShort(t.length),i=0;i<r.length;++i)e.writeShort(r[i]);for(i=0;i<n.length;++i)e.writeByte(n[i].length),e.writeString(n[i]);return e.get()}}),to=function(){class t{constructor(t,e,r){var n=this;n.platformID=t.readShort(),n.platformSpecificID=t.readShort(),n.offset=e+t.readLong(),t.saveExcursion(function(){var e;switch(t.offset(n.offset),n.format=t.readShort(),n.format){case 0:n.length=t.readShort(),n.language=t.readShort();for(var i=0;i<256;++i)r[i]=t.readByte();break;case 4:n.length=t.readShort(),n.language=t.readShort();var o=t.readShort()/2;t.skip(6);var s=t.times(o,t.readShort);t.skip(2);var a=t.times(o,t.readShort),h=t.times(o,t.readShort_),l=t.times(o,t.readShort),c=(n.length+n.offset-t.offset())/2,u=t.times(c,t.readShort);for(i=0;i<o;++i){var f,d=a[i],p=s[i];for(e=d;e<=p;++e)0===l[i]?f=e+h[i]:0!==(f=u[l[i]/2-(o-i)+(e-d)]||0)&&(f+=h[i]),r[e]=65535&f}break;case 6:n.length=t.readShort(),n.language=t.readShort(),e=t.readShort();for(var g=t.readShort();g-- >0;)r[e++]=t.readShort();break;case 12:t.readShort(),n.length=t.readLong(),n.language=t.readLong();for(var m=t.readLong();m-- >0;){e=t.readLong();for(var x=t.readLong(),w=t.readLong();e<=x;)r[e++]=w++}break;default:window.console&&window.console.error("Unhandled CMAP format: "+n.format)}})}}return class extends Z{parse(e){var r=this,n=r.offset;e.offset(n),r.codeMap={},r.version=e.readShort();var i=e.readShort();r.tables=e.times(i,function(){return new t(e,n,r.codeMap)})}static render(t,e){var r=V();return r.writeShort(0),r.writeShort(1),r.write(function(t,e){for(var r=K(t),n=[],i=[],o=null,s=null,a=0;a<r.length;++a){var h=r[a],l=e[t[h]]-h;(null==o||l!==s)&&(o&&i.push(o),n.push(h),s=l),o=h}o&&i.push(o),i.push(65535),n.push(65535);var c=n.length,u=2*c,f=2*Math.pow(2,Math.floor(Math.log(c)/Math.LN2)),d=[],p=[],g=[];for(a=0;a<c;++a){var m=n[a],x=i[a];if(65535==m){d.push(0),p.push(0);break}var w=e[t[m]];if(m-w>=32768){d.push(0),p.push(2*(g.length+c-a));for(var y=m;y<=x;++y)g.push(e[t[y]])}else d.push(w-m),p.push(0)}var v=V();return v.writeShort(3),v.writeShort(1),v.writeLong(12),v.writeShort(4),v.writeShort(16+8*c+2*g.length),v.writeShort(0),v.writeShort(u),v.writeShort(f),v.writeShort(Math.log(f/2)/Math.LN2),v.writeShort(u-f),i.forEach(v.writeShort),v.writeShort(0),n.forEac
1h(v.writeShort),d.forEach(v.writeShort_),p.forEach(v.writeShort),g.forEach(v.writeShort),v.get()}(t,e)),r.get()}}}();class ts extends Z{parse(t){t.offset(this.offset),this.version=t.readShort(),this.averageCharWidth=t.readShort_(),this.weightClass=t.readShort(),this.widthClass=t.readShort(),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=t.times(10,t.readByte),this.charRange=t.times(4,t.readLong),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=t.times(2,t.readLong),this.version>1&&(this.xHeight=t.readShort(),this.capHeight=t.readShort(),this.defaultChar=t.readShort(),this.breakChar=t.readShort(),this.maxContext=t.readShort()))}render(){return this.raw()}}var ta=1e5;class th{constructor(t){this.font=t,this.subset={},this.unicodes={},this.ogid2ngid={0:0},this.ngid2ogid={0:0},this.ncid2ogid={},this.next=this.firstChar=1,this.nextGid=1,this.psName=function(){for(var t="",e=String(ta),r=0;r<e.length;++r)t+=String.fromCharCode(e.charCodeAt(r)-48+65);return++ta,t}()+"+"+this.font.psName}use(t){var e=this;if("string"==typeof t)return(function(t){for(var e,r,n=[],i=0,o=t.length;i<o;)(e=t.charCodeAt(i++))>=55296&&e<=56319&&i<o?(64512&(r=t.charCodeAt(i++)))==56320?n.push(((1023&e)<<10)+(1023&r)+65536):(n.push(e),i--):n.push(e);return n})(t).reduce(function(t,r){return t+String.fromCharCode(e.use(r))},"");var r=e.unicodes[t];if(!r){r=e.next++,e.subset[r]=t,e.unicodes[t]=r;var n=e.font.cmap.codeMap[t];if(n&&(e.ncid2ogid[r]=n,null==e.ogid2ngid[n])){var i=e.nextGid++;e.ogid2ngid[n]=i,e.ngid2ogid[i]=n}}return r}encodeText(t){return this.use(t)}glyphIds(){return K(this.ogid2ngid)}glyphsFor(t,e){e||(e={});for(var r=0;r<t.length;++r){var n=t[r];if(!e[n]){var i=e[n]=this.font.glyf.glyphFor(n);i&&i.compound&&this.glyphsFor(i.glyphIds,e)}}return e}render(){var t=this.glyphsFor(this.glyphIds());for(var e in t)if(X(t,e)&&(e=parseInt(e,10),null==this.ogid2ngid[e])){var r=this.nextGid++;this.ogid2ngid[e]=r,this.ngid2ogid[r]=e}var n=K(this.ngid2ogid).map(function(t){return this.ngid2ogid[t]},this),i=this.font,o=i.glyf.render(t,n,this.ogid2ngid),s=i.loca.render(o.offsets);this.lastChar=this.next-1;var a={cmap:to.render(this.ncid2ogid,this.ogid2ngid),glyf:o.table,loca:s.table,hmtx:i.hmtx.render(n),hhea:i.hhea.render(n),maxp:i.maxp.render(n),post:i.post.render(n),name:i.name.render(this.psName),head:i.head.render(s.format),"OS/2":i.os2.render()};return this.font.directory.render(a)}cidToGidMap(){for(var t=V(),e=0,r=this.firstChar;r<this.next;++r){for(;e<r;)t.writeShort(0),e++;var n=this.ncid2ogid[r];if(n){var i=this.ogid2ngid[n];t.writeShort(i)}else t.writeShort(0);e++}return t.get()}}class tl{constructor(t,e){var r=this,n=r.contents=V(t);if("ttcf"==n.readString(4)){let t=function(){n.offset(i),r.parse()};if(!e)throw Error("Must specify a name for TTC files");n.readLong();for(var i,o=n.readLong(),s=0;s<o;++s)if(i=n.readLong(),n.saveExcursion(t),r.psName==e)return;throw Error("Font "+e+" not found in collection")}n.offset(0),r.parse()}parse(){var t=this.directory=new W(this.contents);this.head=t.readTable("head",$),this.loca=t.readTable("loca",J),this.hhea=t.readTable("hhea",Q),this.maxp=t.readTable("maxp",tt),this.hmtx=t.readTable("hmtx",te),this.glyf=t.readTable("glyf",tr),this.name=t.readTable("name",tn),this.post=t.readTable("post",ti),this.cmap=t.readTable("cmap",to),this.os2=t.readTable("OS/2",ts),this.psName=this.name.postscriptName,this.ascent=this.os2.ascent||this.hhea.ascent,this.descent=this.os2.descent||this.hhea.descent,this.lineGap=this.os2.lineGap||this.hhea.lineGap,this.scale=1e3/this.head.unitsPerEm}widthOfGlyph(t){return this.hmtx.forGlyph(t).advance*this.scale}makeSubset(){return new th(this)}}let tc=r(6502).Wt,tu=String.fromCharCode;function tf(t){return tu(t>>8)+tu(255&t)}let td="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/=";function tp(t){let e="",r=0,n=function(t){let e="";for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);if(55296<=n&&n<=56319){let e=n,i=t.charCodeAt(++r);isNaN(i)||(n=(e-55296)*1024+(i-56320)+65536)}n<128?e+=tu(n):n<2048?e+=tu(192|n>>>6)+tu(128|63&n):n<65536?e+=tu(224|n>>>12)+tu(128|n>>>6&63)+tu(128|63&n):n<1114111&&(e+=tu(240|n>>>18)+tu(128|n>>>12&63)+tu(128|n>>>6&63)+tu(128|63&n))}return e}(t);for(;r<n.length;){let t=n.charCodeAt(r++),i=n.charCodeAt(r++),o=n.charCodeAt(r++),s=t>>2,a=(3&t)<<4|i>>4,h=(15&i)<<2|o>>6,l=63&o;isNaN(i)?h=l=64:isNaN(o)&&(l=64),e=e+td.charAt(s)+td.charAt(a)+td.charAt(h)+td.charAt(l)}return e}let tg=H.browser;var tm=0;let tx=0,tw={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],executive:[521.86,756],folio:[612,936],legal:[612,1008],letter:[612,792],tabloid:[792,1224]};function ty(){var t=0,e=V();function r(){for(var t=0;t<arguments.length;++t){var n=arguments[t];if(void 0===n)throw Error("Cannot output undefined to PDF");if(n instanceof tD)n.beforeRender(r),n.render(r);else if(tL(n))!function(t,e){e("["),t.length>0&&e.withIndent(function(){for(var r=0;r<t.length;++r)r>0&&r%8==0?e.indent(t[r]):e(" ",t[r])}),e(" ]")}(n,r);else if(n instanceof Date)r("(D:",tk(n.getUTCFullYear(),4),tk(n.getUTCMonth()+1,2),tk(n.getUTCDate(),2),tk(n.getUTCHours(),2),tk(n.getUTCMinutes(),2),tk(n.getUTCSeconds(),2),"Z)");else if("number"==typeof n){if(isNaN(n))throw Error("Cannot output NaN to PDF");var i=n.toFixed(7);i.indexOf(".")>=0&&(i=i.replace(/\.?0+$/,"")),"-0"==i&&(i="0"),e.writeString(i)}else/string|boolean/.test(typeof n)?e.writeString(String(n)):"function"==typeof n.get?e.write(n.get()):"object"==typeof n&&(n?r(new tF(n)):e.writeString("null"))}}return r.writeData=function(t){e.write(t)},r.withIndent=function(e){++t,e(r),--t},r.indent=function(){r("\n",tT("",2*t,"  ")),r.apply(null,arguments)},r.offset=function(){return e.offset()},r.toString=function(){throw Error("FIX CALLER")},r.get=function(){return e.get()},r.stream=function(){return e},r}function tv(t){if("function"!=typeof t){var e=t;t=function(t,r){return t in e?e[t]:r}}var r=t("paperSize",tw.a4);if(!r)return{};if("string"==typeof r&&null==(r=tw[r.toLowerCase()]))throw Error("Unknown paper size");r[0]=tz(r[0]),r[1]=tz(r[1]),t("landscape",!1)&&(r=[Math.max(r[0],r[1]),Math.min(r[0],r[1])]);var n=t("margin");return n&&(n="string"==typeof n||"number"==typeof n?{left:n=tz(n,0),top:n,right:n,bottom:n}:{left:tz(n.left,0),top:tz(n.top,0),right:tz(n.right,0),bottom:tz(n.bottom,0)},t("addMargin")&&(r[0]+=n.left+n.right,r[1]+=n.top+n.bottom)),{paperSize:r,margin:n}}var tb={"Times-Roman":!0,"Times-Bold":!0,"Times-Italic":!0,"Times-BoldItalic":!0,Helvetica:!0,"Helvetica-Bold":!0,"Helvetica-Oblique":!0,"Helvetica-BoldOblique":!0,Courier:!0,"Courier-Bold":!0,"Courier-Oblique":!0,"Courier-BoldOblique":!0,Symbol:!0,ZapfDingbats:!0},t_={},tS=(s=function(t,e){var r=tb[t];r?e(r):function(t,e){let r;if(tg.msie&&(r=/^data:.*?;base64,/i.exec(t))){var n;e((n=t.substr(r[0].length),window.atob?function(t){let e=window.atob(t),r=new Uint8Array(e.length);for(let t=0;t<e.length;t++)r[t]=e.charCodeAt(t);return r}(n):function(t){let e=new Uint8Array(t.length);for(let r=0;r<t.length;r++)e[r]=t[r];return e}(Y.decode(n))));return}function i(){window.console&&(window.console.error?window.console.error("Cannot load URL: %s",t):window.console.log("Cannot load URL: %s",t)),e(null)}var o=new XMLHttpRequest;o.open("GET",t,!0),U&&(o.responseType="arraybuffer"),o.onload=function(){200==o.status||304==o.status?U?e(new Uint8Array(o.response)):e(new window.VBArray(o.responseBody).toArray()):i()},o.onerror=i,o.send(null)}(t,function(r){if(null==r)throw Error("Cannot load font from "+t);var n=new tl(r);tb[t]=n,e(n)})},function(t,e){var r=t.length,n=r;if(0===r)return e();function i(){0==--r&&e()}for(;n-- >0;)s(t[n],i)}),tC=function(t,e,r){r=Object.assign({jpegQuality:.92,keepPNG:!1},r);var n=Object.keys(t),i=n.length;if(0===i)return e();function o(){0==--i&&e()}n.forEach(function(e){!function(t,e,r,n){var i,o,s=t_[t];if(s)r(s);else if(s=new Image,/^data:/i.test(t)||(s.crossOrigin="Anonymous"),U&&!/^data:/i.test(t)){var a=new XMLHttpRequest;a.onload=function(){if(o=a.response,tg.mozilla&&"image/svg+xml"==o.type){let t=new FileReader;t.onload=function(){let t=new window.DOMParser().parseFromString(this.result,"image/svg+xml").documentElement;if(t.getAttribute("width")&&t.getAttribute("height"))h(i=URL.createObjectURL(o));else{t.setAttribute("width",e.width),t.setAttribute("height",e.height);let r=new window.XMLSerializer().serializeToString(t);h(`data:image/svg+xml;base64,${tp(r)}`)}},t.readAsText(o)}else h(i=URL.createObjectURL(o))},a.onerror=c,a.open("GET",t,!0),a.responseType="blob",a.send()}else h(t);function h(t){s.src=t,s.complete&&!tg.msie?u.call(s):(s.onload=u,s.onerror=c)}function l(){e||(e={width:s.width,height:s.height});var o,a=document.createElement("canvas");a.width=e.width,a.height=e.height;var h=a.getContext("2d");h.drawImage(s,0,0,e.width,e.height);try{o=h.getImageData(0,0,e.width,e.height)}catch(t){c();return}finally{i&&URL.revokeObjectURL(i)}for(var l=!1,u=V(),f=V(),d=o.data,p=0;p<d.length;
1){u.writeByte(d[p++]),u.writeByte(d[p++]),u.writeByte(d[p++]);var g=d[p++];g<255&&(l=!0),f.writeByte(g)}if(l||n.keepPNG)s=new tY(e.width,e.height,u,f);else{var m=a.toDataURL("image/jpeg",n.jpegQuality);m=m.substr(m.indexOf(";base64,")+8);var x=V();x.writeBase64(m),s=new tU(x)}r(t_[t]=s)}function c(){r(t_[t]="ERROR")}function u(){if(e){let t=o&&"image/svg+xml"===o.type||/^data:image\/svg\+xml;/i.test(this.src.substring(0,19)),r=e.width>=s.width||e.height>=s.height;!t&&r&&(e=null)}if(!e&&o&&/^image\/jpe?g$/i.test(o.type)){let e=new FileReader;e.onload=function(){try{let e=new tU(V(new Uint8Array(this.result)));URL.revokeObjectURL(i),r(t_[t]=e)}catch(t){l()}},e.readAsArrayBuffer(o)}else l()}}(e,t[e],o,r)})};class tM{constructor(t){var e=this,r=ty(),n=0,i=[];function o(e,r){return t&&null!=t[e]?t[e]:r}e.getOption=o,e.attach=function(t){if(0>i.indexOf(t)){var e,r,o;e=++n,r=t.beforeRender,o=t.render,t.beforeRender=function(){},t.render=function(t){t(e," 0 R")},t.renderFull=function(n){t._offset=n.offset(),n(e," 0 obj "),r.call(t,n),o.call(t,n),n(" endobj")},i.push(t)}return t},e.pages=[],e.FONTS={},e.PATTERNS={},e.IMAGES={},e.GRAD_COL_FUNCTIONS={},e.GRAD_OPC_FUNCTIONS={},e.GRAD_COL={},e.GRAD_OPC={};var s=e.attach(new tq),a=e.attach(new tj);if(o("autoPrint")){let t={};t.JavaScript=new tF({Names:[new tR("JS"),e.attach(new tF({S:tE("JavaScript"),JS:new tR("print(true);")}))]}),s.props.Names=new tF(t)}s.setPages(a);var h=e.attach(new tF({Producer:new tR(o("producer","Kendo UI PDF Generator"),!0),Title:new tR(o("title",""),!0),Author:new tR(o("author",""),!0),Subject:new tR(o("subject",""),!0),Keywords:new tR(o("keywords",""),!0),Creator:new tR(o("creator","Kendo UI PDF Generator"),!0),CreationDate:o("date",new Date)}));e.addPage=function(t){var r=tv(function(e,r){return t&&null!=t[e]?t[e]:r}),n=r.paperSize,i=r.margin,o=n[0],s=n[1];i&&(o-=i.left+i.right,s-=i.top+i.bottom);var h=new tG(ty(),null,!0),l={Contents:e.attach(h),Parent:a,MediaBox:[0,0,n[0],n[1]]},c=new t$(e,l);return c._content=h,a.addPage(e.attach(c)),c.transform(1,0,0,-1,0,n[1]),i&&(c.translate(i.left,i.top),c.rect(0,0,o,s),c.clip()),e.pages.push(c),c},e.render=function(){for(r("%PDF-1.4","\n","%\xc2\xc1\xda\xcf\xce","\n","\n"),t=0;t<i.length;++t)i[t].renderFull(r),r("\n","\n");var t,e=r.offset();for(r("xref","\n",0," ",i.length+1,"\n"),r("0000000000 65535 f ","\n"),t=0;t<i.length;++t)r(tk(i[t]._offset,10)," 00000 n ","\n");return r("\n"),r("trailer","\n"),r(new tF({Size:i.length+1,Root:s,Info:h}),"\n","\n"),r("startxref","\n",e,"\n"),r("%%EOF","\n"),r.stream().offset(0)},e.loadFonts=tS,e.loadImages=tC}getFont(t){var e=this.FONTS[t];if(!e){if(!(e=tb[t]))throw Error("Font "+t+" has not been loaded");e=!0===e?this.attach(new tX(t)):this.attach(new tK(this,e)),this.FONTS[t]=e}return e}getPattern(t,e,r){let n=this.PATTERNS[t.id];return n||(n=this.attach(new tV(t,e,r)),this.PATTERNS[t.id]=n),n}getImage(t){var e=this.IMAGES[t];if(!e){if(!(e=t_[t]))throw Error("Image "+t+" has not been loaded");if("ERROR"===e)return null;e=this.IMAGES[t]=this.attach(e.asStream(this))}return e}getOpacityGS(t,e){var r=parseFloat(t).toFixed(3);t=parseFloat(r),r+=e?"S":"F";var n=this._opacityGSCache||(this._opacityGSCache={}),i=n[r];if(!i){var o={Type:tE("ExtGState")};e?o.CA=t:o.ca=t,(i=this.attach(new tF(o)))._resourceName=tE("GS"+ ++tm),n[r]=i}return i}dict(t){return new tF(t)}name(t){return tE(t)}stream(t,e){return new tG(e,t)}}function tT(t,e,r){for(;t.length<e;)t=r+t;return t}function tk(t,e){return tT(String(t),e,"0")}function tA(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var tL=Array.isArray||function(t){return t instanceof Array};function tO(t){return 72/25.4*t}function tP(t){return tO(10*t)}function tB(t){return 72*t}function tz(t,e){if("number"==typeof t)return t;if("string"==typeof t){var r;if(r=/^\s*([0-9.]+)\s*(mm|cm|in|pt)\s*$/.exec(t)){var n=parseFloat(r[1]);if(!isNaN(n))return"pt"==r[2]?n:({mm:tO,cm:tP,in:tB})[r[2]](n)}}if(null!=e)return e;throw Error("Can't parse unit: "+t)}class tD{beforeRender(){}}class tR extends tD{constructor(t,e){super(),this.value=t,this.utf16be=!!e}render(t){let e=this.value;if(this.utf16be)t("(",e=(e="\xfe\xff"+function(t){let e="";for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);if(n<65535)e+=tf(n);else{let t=(n-65536>>10)+55296,r=(n-65536&1023)+56320;e+=tf(t)+tf(r)}}return e}(e)).replace(/([\(\)\\])/g,"\\$1"),")");else{let n=[40];for(var r=0;r<e.length;++r){let t=255&e.charCodeAt(r);(40==t||41==t||92==t)&&n.push(92),n.push(t)}n.push(41),t.writeData(n)}}toString(){return this.value}}class tN extends tR{constructor(t){super(t),this.value=t}render(t){t("<");for(var e=0;e<this.value.length;++e)t(tk(this.value.charCodeAt(e).toString(16),4));t(">")}}class tI extends tD{static get(t){return tE(t)}constructor(t){super(),this.name=t}render(t){t("/"+this.escape())}escape(){return this.name.replace(/[^\x21-\x7E]/g,function(t){return"#"+tk(t.charCodeAt(0).toString(16),2)})}toString(){return this.name}}function tE(t){return new tI(t)}class tF extends tD{constructor(t){super(),this.props=t}render(t){var e=this.props,r=!0;t("<<"),t.withIndent(function(){for(var n in e)tA(e,n)&&!/^_/.test(n)&&(r=!1,t.indent(tE(n)," ",e[n]))}),r||t.indent(),t(">>")}}class tG extends tD{constructor(t,e,r){if(super(),"string"==typeof t){var n=V();n.write(t),t=n}this.data=t,this.props=e||{},this.compress=r}render(t){var e=this.data.get(),r=this.props;this.compress&&(r.Filter?r.Filter instanceof Array||(r.Filter=[r.Filter]):r.Filter=[],r.Filter.unshift(tE("FlateDecode")),e=tc(e)),r.Length=e.length,t(new tF(r)," stream","\n"),t.writeData(e),t("\n","endstream")}}class tq extends tF{constructor(){super({Type:tE("Catalog")})}setPages(t){this.props.Pages=t}}class tj extends tF{constructor(){super({Type:tE("Pages"),Kids:[],C
1ount:0})}addPage(t){this.props.Kids.push(t),this.props.Count++}}var tH=[192,193,194,195,197,198,199,201,202,203,205,206,207];class tU{constructor(t){if(t.offset(0),65496!=t.readShort())throw Error("Invalid JPEG image");for(;!t.eof();){if(255!=t.readByte())throw Error("Invalid JPEG image");var e,r,n,i,o=t.readByte(),s=t.readShort();if(tH.indexOf(o)>=0){i=t.readByte(),r=t.readShort(),e=t.readShort(),n=t.readByte();break}t.skip(s-2)}if(null==n)throw Error("Invalid JPEG image");var a={Type:tE("XObject"),Subtype:tE("Image"),Width:e,Height:r,BitsPerComponent:i,Filter:tE("DCTDecode")};switch(n){case 1:a.ColorSpace=tE("DeviceGray");break;case 3:a.ColorSpace=tE("DeviceRGB");break;case 4:a.ColorSpace=tE("DeviceCMYK"),a.Decode=[1,0,1,0,1,0,1,0]}this.asStream=function(){t.offset(0);var e=new tG(t,a);return e._resourceName=tE("I"+ ++tm),e}}}class tY{constructor(t,e,r,n){this.asStream=function(i){var o=new tG(n,{Type:tE("XObject"),Subtype:tE("Image"),Width:t,Height:e,BitsPerComponent:8,ColorSpace:tE("DeviceGray")},!0),s=new tG(r,{Type:tE("XObject"),Subtype:tE("Image"),Width:t,Height:e,BitsPerComponent:8,ColorSpace:tE("DeviceRGB"),SMask:i.attach(o)},!0);return s._resourceName=tE("I"+ ++tm),s}}}class tV extends tF{constructor(t,e,r){let{width:n,height:i}=t.size(),o=new t$(e._pdf,{});o._content=new tG(ty(),null,!0),r(t,o,{}),e._xResources=Object.assign(e._xResources,o._xResources),e._fontResources=Object.assign(e._fontResources,o._fontResources),e._gsResources=Object.assign(e._gsResources,o._gsResources),super({Type:tE("Pattern"),PatternType:1,PaintType:1,TilingType:1,BBox:[0,0,n,i],XStep:n,YStep:i,Matrix:[1,0,0,-1,0,i],Resources:{ExtGState:new tF(o._gsResources),XObject:new tF(o._xResources),Font:new tF(o._fontResources)}}),this._resourceName=tE("P"+ ++tx),this.data=o._content.data,this.compress=!0}render(t){tG.prototype.render.call(this,t)}}class tX extends tF{constructor(t){super({Type:tE("Font"),Subtype:tE("Type1"),BaseFont:tE(t)}),this._resourceName=tE("F"+ ++tm)}encodeText(t){return new tR(String(t))}}class tK extends tF{constructor(t,e,r){super({}),(r=this.props).Type=tE("Font"),r.Subtype=tE("Type0"),r.Encoding=tE("Identity-H"),this._pdf=t,this._font=e,this._sub=e.makeSubset(),this._resourceName=tE("F"+ ++tm);var n=e.head;this.name=e.psName;var i=this.scale=e.scale;this.bbox=[n.xMin*i,n.yMin*i,n.xMax*i,n.yMax*i],this.italicAngle=e.post.italicAngle,this.ascent=e.ascent*i,this.descent=e.descent*i,this.lineGap=e.lineGap*i,this.capHeight=e.os2.capHeight||this.ascent,this.xHeight=e.os2.xHeight||0,this.stemV=0,this.familyClass=(e.os2.familyClass||0)>>8,this.isSerif=this.familyClass>=1&&this.familyClass<=7,this.isScript=10==this.familyClass,this.flags=(e.post.isFixedPitch?1:0)|(this.isSerif?2:0)|(this.isScript?8:0)|(0!==this.italicAngle?64:0)|32}encodeText(t){return new tN(this._sub.encodeText(String(t)))}getTextWidth(t,e){for(var r=0,n=this._font.cmap.codeMap,i=0;i<e.length;++i){var o=n[e.charCodeAt(i)];r+=this._font.widthOfGlyph(o||0)}return r*t/1e3}beforeRender(){var t=this,e=t._sub,r=e.render(),n=new tG(V(r),{Length1:r.length},!0),i=t._pdf.attach(new tF({Type:tE("FontDescriptor"),FontName:tE(t._sub.psName),FontBBox:t.bbox,Flags:t.flags,StemV:t.stemV,ItalicAngle:t.italicAngle,Ascent:t.ascent,Descent:t.descent,CapHeight:t.capHeight,XHeight:t.xHeight,FontFile2:t._pdf.attach(n)})),o=e.ncid2ogid,s=e.firstChar,a=e.lastChar,h=[];!function e(r,n){if(r<=a){var i=o[r];null==i?e(r+1):(n||h.push(r,n=[]),n.push(t._font.widthOfGlyph(i)),e(r+1,n))}}(s);var l=new tF({Type:tE("Font"),Subtype:tE("CIDFontType2"),BaseFont:tE(t._sub.psName),CIDSystemInfo:new tF({Registry:new tR("Adobe"),Ordering:new tR("Identity"),Supplement:0}),FontDescriptor:i,FirstChar:s,LastChar:a,DW:Math.round(t._font.widthOfGlyph(0)),W:h,CIDToGIDMap:t._pdf.attach(t._makeCidToGidMap())}),c=t.props;c.BaseFont=tE(t._sub.psName),c.DescendantFonts=[t._pdf.attach(l)];var u=new tW(s,a,e.subset),f=new tG(ty(),null,!0);f.data(u),c.ToUnicode=t._pdf.attach(f)}_makeCidToGidMap(){return new tG(V(this._sub.cidToGidMap()),null,!0)}}class tW extends tD{constructor(t,e,r){super(),this.firstChar=t,this.lastChar=e,this.map=r}render(t){t.indent("/CIDInit /ProcSet findresource begin"),t.indent("12 dict begin"),t.indent("begincmap"),t.indent("/CIDSystemInfo <<"),t.indent("  /Registry (Adobe)"),t.indent("  /Ordering (UCS)"),t.indent("  /Supplement 0"),t.indent(">> def"),t.indent("/CMapName /Adobe-Identity-UCS def"),t.indent("/CMapType 2 def"),t.indent("1 begincodespacerange"),t.indent("  <0000><ffff>"),t.indent("endcodespacerange");var e=this;t.indent(e.lastChar-e.firstChar+1," beginbfchar"),t.withIndent(function(){for(var r=e.firstChar;r<=e.lastChar;++r){var n=[e.map[r]].map(function(t){var e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t)}).join("");t.indent("<",tk(r.toString(16),4),">","<");for(var i=0;i<n.length;++i)t(tk(n.charCodeAt(i).toString(16),4));t(">")}}),t.indent("endbfchar"),t.indent("endcmap"),t.indent("CMapName currentdict /CMap defineresource pop"),t.indent("end"),t.indent("end")}}function tZ(t){return t.map(function(t){return tL(t)?tZ(t):"number"==typeof t?(Math.round(1e3*t)/1e3).toFixed(3):t}).join(" ")}class t$ extends tF{constructor(t,e){super(e),this._pdf=t,this._rcount=0,this._textMode=!1,this._fontResources={},this._gsResources={},this._xResources={},this._patResources={},this._shResources={},this._opacity=1,this._matrix=[1,0,0,1,0,0],this._annotations=[],this._font=null,this._fontSize=null,this._contextStack=[],(e=this.props).Type=tE("Page"),e.ProcSet=[tE("PDF"),tE("Text"),tE("ImageB"),tE("ImageC"),tE("ImageI")],e.Resources=new tF({Font:new tF(this._fontResources),ExtGState:new tF(this._gsResources),XObject:ne
1w tF(this._xResources),Pattern:new tF(this._patResources),Shading:new tF(this._shResources)}),e.Annots=this._annotations}_out(){this._content.data.apply(null,arguments)}transform(t,e,r,n,i,o){var s,a,h,l,c,u,f,d,p,g,m,x,w;s=arguments,1===s[0]&&0===s[1]&&0===s[2]&&1===s[3]&&0===s[4]&&0===s[5]||(this._matrix=(a=arguments,h=this._matrix,l=a[0],c=a[1],u=a[2],f=a[3],d=a[4],p=a[5],g=h[0],m=h[1],[l*g+c*(x=h[2]),l*m+c*(w=h[3]),u*g+f*x,u*m+f*w,d*g+p*x+h[4],d*m+p*w+h[5]]),this._out(t," ",e," ",r," ",n," ",i," ",o," cm"),this._out("\n"))}translate(t,e){this.transform(1,0,0,1,t,e)}scale(t,e){this.transform(t,0,0,e,0,0)}rotate(t){var e=Math.cos(t),r=Math.sin(t);this.transform(e,r,-r,e,0,0)}beginText(){this._textMode=!0,this._out("BT","\n")}endText(){this._textMode=!1,this._out("ET","\n")}_requireTextMode(){if(!this._textMode)throw Error("Text mode required; call page.beginText() first")}_requireFont(){if(!this._font)throw Error("No font selected; call page.setFont() first")}setFont(t,e){this._requireTextMode(),null==t?t=this._font:t instanceof tK||(t=this._pdf.getFont(t)),null==e&&(e=this._fontSize),this._fontResources[t._resourceName]=t,this._font=t,this._fontSize=e,this._out(t._resourceName," ",e," Tf","\n")}setTextLeading(t){this._requireTextMode(),this._out(t," TL","\n")}setTextRenderingMode(t){this._requireTextMode(),this._out(t," Tr","\n")}showText(t,e){if(this._requireFont(),t.length>1&&e&&this._font instanceof tK){var r=this._font.getTextWidth(this._fontSize,t);this._out(e/r*100," Tz ")}this._out(this._font.encodeText(t)," Tj","\n")}showTextNL(t){this._requireFont(),this._out(this._font.encodeText(t)," '","\n")}addLink(t,e){var r=this._toPage({x:e.left,y:e.bottom}),n=this._toPage({x:e.right,y:e.top});this._annotations.push(new tF({Type:tE("Annot"),Subtype:tE("Link"),Rect:[r.x,r.y,n.x,n.y],Border:[0,0,0],A:new tF({Type:tE("Action"),S:tE("URI"),URI:new tR(t)})}))}setStrokeColor(t,e,r){this._out(t," ",e," ",r," RG","\n")}setOpacity(t){this.setFillOpacity(t),this.setStrokeOpacity(t),this._opacity*=t}setStrokeOpacity(t){if(t<1){var e=this._pdf.getOpacityGS(this._opacity*t,!0);this._gsResources[e._resourceName]=e,this._out(e._resourceName," gs","\n")}}setFillColor(t,e,r){this._out(t," ",e," ",r," rg","\n")}pattern(t,e,r){let n=this._pdf.getPattern(t,this,r);this._patResources[n._resourceName]=n,this._out("/Pattern cs","\n"),this._out(n._resourceName," scn","\n"),this.rect(e.left,e.top,e.width,e.height),this.fill()}setFillOpacity(t){if(t<1){var e=this._pdf.getOpacityGS(this._opacity*t,!1);this._gsResources[e._resourceName]=e,this._out(e._resourceName," gs","\n")}}gradient(t,e){this.save(),this.rect(e.left,e.top,e.width,e.height),this.clip(),t.userSpace||this.transform(e.width,0,0,e.height,e.left,e.top);var r,n,i,o,s,a,h,l=(r=this._pdf,n="radial"==t.type,i=function(t,e){var r,n,i,o,s,a=!1,h=[],l=[],c=[],u=[];for(r=1;r<e.length;++r)n=e[r-1],i=e[r],o=n.color,s=i.color,l.push(function(t,e,r,n,i,o,s){var a=tZ([e,r,n,i,o,s]),h=t.GRAD_COL_FUNCTIONS[a];return h||(h=t.GRAD_COL_FUNCTIONS[a]=t.attach(new tF({FunctionType:2,Domain:[0,1],Range:[0,1,0,1,0,1],N:1,C0:[e,r,n],C1:[i,o,s]}))),h}(t,o.r,o.g,o.b,s.r,s.g,s.b)),(o.a<1||s.a<1)&&(a=!0),c.push(i.offset),u.push(0,1);if(a)for(r=1;r<e.length;++r)n=e[r-1],i=e[r],o=n.color,s=i.color,h.push(function(t,e,r){var n=tZ([e,r]),i=t.GRAD_OPC_FUNCTIONS[n];return i||(i=t.GRAD_OPC_FUNCTIONS[n]=t.attach(new tF({FunctionType:2,Domain:[0,1],Range:[0,1],N:1,C0:[e],C1:[r]}))),i}(t,o.a,s.a));return c.pop(),{hasAlpha:a,colors:f(l),opacities:a?f(h):null};function f(t){return 1==t.length?t[0]:{FunctionType:3,Functions:t,Domain:[0,1],Bounds:c,Encode:u}}}(r,t.stops),o=n?[t.start.x,t.start.y,t.start.r,t.end.x,t.end.y,t.end.r]:[t.start.x,t.start.y,t.end.x,t.end.y],s=function(t,e,r,n,i,o){var s,a;if(!o){var h=[e].concat(n);r.forEach(function(t){h.push(t.offset,t.color.r,t.color.g,t.color.b)}),a=tZ(h),s=t.GRAD_COL[a]}return!s&&(s=new tF({Type:tE("Shading"),ShadingType:e?3:2,ColorSpace:tE("DeviceRGB"),Coords:n,Domain:[0,1],Function:i,Extend:[!0,!0]}),t.attach(s),s._resourceName="S"+ ++tm,a&&(t.GRAD_COL[a]=s)),s}(r,n,t.stops,o,i.colors,t.userSpace&&e),a=i.hasAlpha?function(t,e,r,n,i,o){var s,a;if(!o){var h=[e].concat(n);r.forEach(function(t){h.push(t.offset,t.color.a)}),a=tZ(h),s=t.GRAD_OPC[a]}return!s&&(s=new tF({Type:tE("ExtGState"),AIS:!1,CA:1,ca:1,SMask:{Type:tE("Mask"),S:tE("Luminosity"),G:t.attach(new tG("/a0 gs /s0 sh",{Type:tE("XObject"),Subtype:tE("Form"),FormType:1,BBox:o?[o.left,o.top+o.height,o.left+o.width,o.top]:[0,1,1,0],Group:{Type:tE("Group"),S:tE("Transparency"),CS:tE("DeviceGray"),I:!0},Resources:{ExtGState:{a0:{CA:1,ca:1}},Shading:{s0:{ColorSpace:tE("DeviceGray"),Coords:n,Domain:[0,1],ShadingType:e?3:2,Function:i,Extend:[!0,!0]}}}}))}}),t.attach(s),s._resourceName="O"+ ++tm,a&&(t.GRAD_OPC[a]=s)),s}(r,n,t.stops,o,i.opacities,t.userSpace&&e):null,{hasAlpha:i.hasAlpha,shading:s,opacity:a}),c=l.shading._resourceName;this._shResources[c]=l.shading,l.hasAlpha&&(h=l.opacity._resourceName,this._gsResources[h]=l.opacity,this._out("/"+h+" gs ")),this._out("/"+c+" sh","\n"),this.restore(
1)}setDashPattern(t,e){this._out(t," ",e," d","\n")}setLineWidth(t){this._out(t," w","\n")}setLineCap(t){this._out(t," J","\n")}setLineJoin(t){this._out(t," j","\n")}setMitterLimit(t){this._out(t," M","\n")}save(){this._contextStack.push(this._context()),this._out("q","\n")}restore(){this._out("Q","\n"),this._context(this._contextStack.pop())}moveTo(t,e){this._out(t," ",e," m","\n")}lineTo(t,e){this._out(t," ",e," l","\n")}bezier(t,e,r,n,i,o){this._out(t," ",e," ",r," ",n," ",i," ",o," c","\n")}bezier1(t,e,r,n){this._out(t," ",e," ",r," ",n," y","\n")}bezier2(t,e,r,n){this._out(t," ",e," ",r," ",n," v","\n")}close(){this._out("h","\n")}rect(t,e,r,n){this._out(t," ",e," ",r," ",n," re","\n")}ellipse(t,e,r,n){this.moveTo(t+0,e+n),this.bezier(t+.5522847498307936*r,e+n,t+r,e+.5522847498307936*n,t+r,e+0),this.bezier(t+r,e+-(.5522847498307936*n),t+.5522847498307936*r,e+-n,t+0,e+-n),this.bezier(t+-(.5522847498307936*r),e+-n,t+-r,e+-(.5522847498307936*n),t+-r,e+0),this.bezier(t+-r,e+.5522847498307936*n,t+-(.5522847498307936*r),e+n,t+0,e+n)}circle(t,e,r){this.ellipse(t,e,r,r)}stroke(){this._out("S","\n")}nop(){this._out("n","\n")}clip(){this._out("W n","\n")}clipStroke(){this._out("W S","\n")}closeStroke(){this._out("s","\n")}fill(){this._out("f","\n")}fillStroke(){this._out("B","\n")}drawImage(t){var e=this._pdf.getImage(t);e&&(this._xResources[e._resourceName]=e,this._out(e._resourceName," Do","\n"))}comment(t){var e=this;t.split(/\r?\n/g).forEach(function(t){e._out("% ",t,"\n")})}_context(t){if(null==t)return{opacity:this._opacity,matrix:this._matrix};this._opacity=t.opacity,this._matrix=t.matrix}_toPage(t){var e=this._matrix,r=e[0],n=e[1],i=e[2],o=e[3],s=e[4],a=e[5];return{x:r*t.x+i*t.y+s,y:n*t.x+o*t.y+a}}}function tJ(t){return t.replace(/^\s*(['"])(.*)\1\s*$/,"$2")}function tQ(t){var e=/^\s*((normal|italic)\s+)?(([a-z0-9-]+)\s+)?((normal|bold|\d+)\s+)?(([0-9.]+)(px|pt))(\/(([0-9.]+)(px|pt)|normal))?\s+(.*?)\s*$/i.exec(t);if(!e)return{fontSize:12,fontFamily:"sans-serif"};var r=e[8]?parseInt(e[8],10):12;return{italic:e[2]&&"italic"==e[2].toLowerCase(),variant:e[4],bold:e[6]&&/bold|700/i.test(e[6]),fontSize:r,lineHeight:e[12]?"normal"==e[12]?r:parseInt(e[12],10):null,fontFamily:e[14].split(/\s*,\s*/g).map(tJ)}}function t0(t){var e,r,n=t.fontFamily;if(n instanceof Array)for(var i=0;i<n.length&&(e=n[i],t.bold&&(e+="|bold"),t.italic&&(e+="|italic"),!(r=t1[e.toLowerCase()]));++i);else r=t1[n.toLowerCase()];for(;"function"==typeof r;)r=r();return r||(r="Times-Roman"),r}var t1={serif:"Times-Roman","serif|bold":"Times-Bold","serif|italic":"Times-Italic","serif|bold|italic":"Times-BoldItalic","sans-serif":"Helvetica","sans-serif|bold":"Helvetica-Bold","sans-serif|italic":"Helvetica-Oblique","sans-serif|bold|italic":"Helvetica-BoldOblique",monospace:"Courier","monospace|bold":"Courier-Bold","monospace|italic":"Courier-Oblique","monospace|bold|italic":"Courier-BoldOblique",zapfdingbats:"ZapfDingbats","zapfdingbats|bold":"ZapfDingbats","zapfdingbats|italic":"ZapfDingbats","zapfdingbats|bold|italic":"ZapfDingbats"};function t2(t,e){t1[t=t.toLowerCase()]=function(){return t1[e]},t1[t+"|bold"]=function(){return t1[e+"|bold"]},t1[t+"|italic"]=function(){return t1[e+"|italic"]},t1[t+"|bold|italic"]=function(){return t1[e+"|bold|italic"]}}function t4(){let t,e;let r=new Promise((n,i)=>{t=t=>(r._state="resolved",n(t),r),e=t=>(r._state="rejected",i(t),r)});return r._state="pending",r.resolve=t,r.reject=e,r.state=()=>r._state,r}t2("Times New Roman","serif"),t2("Courier New","monospace"),t2("Arial","sans-serif"),t2("Helvetica","sans-serif"),t2("Verdana","sans-serif"),t2("Tahoma","sans-serif"),t2("Georgia","sans-serif"),t2("Monaco","monospace"),t2("Andale Mono","monospace");class t3 extends x{constructor(t){super(),this._size=t,this._length=0,this._map={}}put(t,e){let r=this._map,n={key:t,value:e};r[t]=n,this._head?(this._tail.newer=n,n.older=this._tail,this._tail=n):this._head=this._tail=n,this._length>=this._size?(r[this._head.key]=null,this._head=this._head.newer,this._head.older=null):this._length++}get(t){let e=this._map[t];if(e)return e===this._head&&e!==this._tail&&(this._head=e.newer,this._head.older=null),e!==this._tail&&(e.older&&(e.older.newer=e.newer,e.newer.older=e.older),e.older=this._tail,e.newer=null,this._tail.newer=e,this._tail=e),e.value}}let t5=/\r?\n|\r|\t/g;function t6(){return{width:0,height:0,baseline:0}}let t9={baselineMarkerSize:1};"undefined"!=typeof document&&((n=document.createElement("div")).style.setProperty("position","absolute","
1important"),n.style.setProperty("top","-4000px","important"),n.style.setProperty("width","auto","important"),n.style.setProperty("height","auto","important"),n.style.setProperty("padding","0","important"),n.style.setProperty("margin","0","important"),n.style.setProperty("border","0","important"),n.style.setProperty("line-height","normal","important"),n.style.setProperty("visibility","hidden","important"),n.style.setProperty("white-space","pre","important"));class t8 extends x{constructor(t){super(),this._cache=new t3(1e3),this.options=Object.assign({},t9,t)}measure(t,e,r={}){if(null==t)return t6();let i=function(t){let e=2166136261;for(let r=0;r<t.length;++r)e+=(e<<1)+(e<<4)+(e<<7)+(e<<8)+(e<<24),e^=t.charCodeAt(r);return e>>>0}(t+function(t){let e=[];for(let r in t)e.push(r+t[r]);return e.sort().join("")}(e)),o=this._cache.get(i);if(o)return o;let s=t6(),a=r.box||n,h=this._baselineMarker().cloneNode(!1);for(let t in e){let r=e[t];void 0!==r&&(a.style[t]=r)}let l=!1!==r.normalizeText?String(t).replace(t5," "):String(t);return a.textContent=l,a.appendChild(h),document.body.appendChild(a),l.length&&(s.width=a.offsetWidth-this.options.baselineMarkerSize,s.height=a.offsetHeight,s.baseline=h.offsetTop+this.options.baselineMarkerSize),s.width>0&&s.height>0&&this._cache.put(i,s),a.parentNode.removeChild(a),s}_baselineMarker(){let t=document.createElement("div");return t.style.display="inline-block",t.style.verticalAlign="baseline",t.style.width=this.options.baselineMarkerSize+"px",t.style.height=this.options.baselineMarkerSize+"px",t.style.overflow="hidden",t}}function t7(t,e,r){return t8.current.measure(t,e,r)}t8.current=new t8;let et={1:"i",10:"x",100:"c",2:"ii",20:"xx",200:"cc",3:"iii",30:"xxx",300:"ccc",4:"iv",40:"xl",400:"cd",5:"v",50:"l",500:"d",6:"vi",60:"lx",600:"dc",7:"vii",70:"lxx",700:"dcc",8:"viii",80:"lxxx",800:"dccc",9:"ix",90:"xc",900:"cm",1e3:"m"};
1function ee(t){let e=[1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],r="";for(;t>0;)t<e[0]?e.shift():(r+=et[e[0]],t-=e[0]);return r}function er(t,e){return t.length<2?t.slice():function t(r){if(r.length<=1)return r;var n=Math.floor(r.length/2),i=r.slice(0,n),o=r.slice(n);return function(t,r){for(var n=[],i=0,o=0,s=0;i<t.length&&o<r.length;)0>=e(t[i],r[o])?n[s++]=t[i++]:n[s++]=r[o++];return i<t.length&&n.push.apply(n,t.slice(i)),o<r.length&&n.push.apply(n,r.slice(o)),n}(i=t(i),o=t(o))}(t)}var en={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",darkgrey:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",grey:"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",lightgray:"d3d3d3",lightgrey:"d3d3d3",lightgreen:"90ee9
10",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"778899",lightslategrey:"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",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};let ei=H.browser,eo=t=>{let e=Object.keys(en);e.push("transparent");let r=RegExp("^("+e.join("|")+")(\\W|$)","i");return eo=t=>r.exec(t),r.exec(t)};class es extends x{constructor(){super()}toHSV(){return this}toRGB(){return this}toHex(t){return this.toBytes().toHex(t)}toBytes(){return this}toCss(t){return"#"+this.toHex(t)}toCssRgba(){let t=this.toBytes();return`rgba(${t.r}, ${t.g}, ${t.b}, ${parseFloat(Number(this.a).toFixed(3))})`}toDisplay(){return ei.msie&&ei.version<9?this.toCss():this.toCssRgba()}equals(t){return t===this||null!=t&&this.toCssRgba()===ep(t).toCssRgba()}diff(t){if(null===t)return NaN;let e=this.toBytes(),r=t.toBytes();return Math.sqrt(Math.pow((e.r-r.r)*.3,2)+Math.pow((e.g-r.g)*.59,2)+Math.pow((e.b-r.b)*.11,2))}clone(){let t=this.toBytes();return t===this&&(t=new eh(t.r,t.g,t.b,t.a)),t}}class ea extends es{constructor(t,e,r,n){super(),this.r=t,this.g=e,this.b=r,this.a=n}toHSV(){let t,e;let{r,g:n,b:i}=this,o=Math.max(r,n,i),s=o-Math.min(r,n,i);
1return 0===s?new ec(0,0,o,this.a):(0!==o?(e=s/o,(t=(r===o?(n-i)/s:n===o?2+(i-r)/s:4+(r-n)/s)*60)<0&&(t+=360)):(e=0,t=-1),new ec(t,e,o,this.a))}toHSL(){let{r:t,g:e,b:r}=this,n=Math.max(t,e,r),i=Math.min(t,e,r),o,s,a=(n+i)/2;if(n===i)o=s=0;else{let h=n-i;switch(s=a>.5?h/(2-n-i):h/(n+i),n){case t:o=(e-r)/h+(e<r?6:0);break;case e:o=(r-t)/h+2;break;case r:o=(t-e)/h+4}}return new eu(60*o,100*s,100*a,this.a)}toBytes(){return new eh(255*this.r,255*this.g,255*this.b,this.a)}}class eh extends ea{constructor(t,e,r,n){super(Math.round(t),Math.round(e),Math.round(r),n)}toRGB(){return new ea(this.r/255,this.g/255,this.b/255,this.a)}toHSV(){return this.toRGB().toHSV()}toHSL(){return this.toRGB().toHSL()}toHex(t){let e=el(this.r,2)+el(this.g,2)+el(this.b,2);return t&&t.alpha&&(e+=el(Math.round(255*this.a),2)),e}toBytes(){return this}}function el(t,e,r="0"){let n=t.toString(16);for(;e>n.length;)n=r+n;return n}class ec extends es{constructor(t,e,r,n){super(),this.h=t,this.s=e,this.v=r,this.a=n}toRGB(){let t,e,r,{h:n,s:i,v:o}=this;if(0===i)t=e=r=o;else{let s=Math.floor(n/=60),a=n-s,h=o*(1-i),l=o*(1-i*a),c=o*(1-i*(1-a));switch(s){case 0:t=o,e=c,r=h;break;case 1:t=l,e=o,r=h;break;case 2:t=h,e=o,r=c;break;case 3:t=h,e=l,r=o;break;case 4:t=c,e=h,r=o;break;default:t=o,e=h,r=l}}return new ea(t,e,r,this.a)}toHSL(){return this.toRGB().toHSL()}toBytes(){return this.toRGB().toBytes()}}class eu extends es{constructor(t,e,r,n){super(),this.h=t,this.s=e,this.l=r,this.a=n}toRGB(){let t,e,r,n=this.h/360,i=this.s/100,o=this.l/100;if(0===i)t=e=r=o;else{let s=o<.5?o*(1+i):o+i-o*i,a=2*o-s;t=ef(a,s,n+1/3),e=ef(a,s,n),r=ef(a,s,n-1/3)}return new ea(t,e,r,this.a)}toHSV(){return this.toRGB().toHSV()}toBytes(){return this.toRGB().toBytes()}}function ef(t,e,r){let n=r;return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function ed(t){return parseFloat(parseFloat(parseInt(t,16)/255).toFixed(3))}function ep(t,e){let r,n;if(!t||"none"===t)return null;if(t instanceof es)return t;let i=t.toLowerCase();if(r=eo(i))return(i="transparent"===r[1]?new ea(1,1,1,0):ep(en[r[1]],e)).match=[r[1]],i;if((r=/^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})\b/i.exec(i))?n=new eh(parseInt(r[1],16),parseInt(r[2],16),parseInt(r[3],16),1):(r=/^#?([0-9a-f])([0-9a-f])([0-9a-f])\b/i.exec(i))?n=new eh(parseInt(r[1]+r[1],16),parseInt(r[2]+r[2],16),parseInt(r[3]+r[3],16),1):(r=/^#?([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])\b/i.exec(i))?n=new eh(parseInt(r[1]+r[1],16),parseInt(r[2]+r[2],16),parseInt(r[3]+r[3],16),ed(r[4]+r[4])):(r=/^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})\b/i.exec(i))?n=new eh(parseInt(r[1],16),parseInt(r[2],16),parseInt(r[3],16),ed(r[4])):(r=/^rgb\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/.exec(i))?n=new eh(parseInt(r[1],10),parseInt(r[2],10),parseInt(r[3],10),1):(r=/^rgba\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9.]+)\s*\)/.exec(i))?n=new eh(parseInt(r[1],10),parseInt(r[2],10),parseInt(r[3],10),parseFloat(r[4])):(r=/^rgb\(\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9]*\.?[0-9]+)%\s*\)/.exec(i))?n=new ea(parseFloat(r[1])/100,parseFloat(r[2])/100,parseFloat(r[3])/100,1):(r=/^rgba\(\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9.]+)\s*\)/.exec(i))?n=new ea(parseFloat(r[1])/100,parseFloat(r[2])/100,parseFloat(r[3])/100,parseFloat(r[4])):(r=/^color\(\s*srgb\s*([0-9]*\.?[0-9]+)\s+([0-9]*\.?[0-9]+)\s+([0-9]*\.?[0-9]+)\s*(\/\s+([0-9]*\.?[0-9]+))?\)/.exec(i))&&(n=new ea(parseFloat(r[1]),parseFloat(r[2]),parseFloat(r[3]),parseFloat(r[5]||"1"))),n)n.match=r;else if(!e)throw Error("Cannot parse color: "+i);return n}let eg={}.toString;class em extends C{constructor(t,e=""){for(let r in super(),this.prefix=e,t){let e=t[r];e=this._wrap(e,r),this[r]=e}}get(t){let e=t.split("."),r=this;for(;e.length&&r;)r=r[e.shift()];return r}set(t,e){this.get(t)!==e&&(this._set(t,this._wrap(e,t)),this.optionsChange({field:this.prefix+t,value:e}))}_set(t,e){let r=t.indexOf(".")>=0,n=this,i=t;if(r){let t=i.split("."),e=this.prefix;for(;t.length>1;){e+=(i=t.shift())+".";let r=n[i];r||((r=new em({},e)).addObserver(this),n[i]=r),n=r}i=t[0]}n._clear(i),n[i]=e}_clear(t){let e=this[t];e&&e.removeObserver&&e.removeObserver(this)}_wrap(t,e){let r=eg.call(t),n=t;return null!=n&&"[object Object]"===r&&(t instanceof em||t instanceof x||(n=new em(n,this.prefix+e+".")),n.addObserver(this)),n}}let ex=1;function ew(){return"kdef"+ex++}function ey(t){return""===t||null===t||"none"===t||"transparent"===t||void 0===t}let ev="Pattern";class eb extends C{get nodeType(){return"Rect"}constructor(t){super(),this._initOptions(t)}_initOptions(t={}){let{clip:e,transform:r}=t;r&&(t.transform=D(r)),e&&!e.id&&(e.id=ew()),this.options=new em(t),this.options.addObserver(this)}transform(t){if(void 0===t)return this.options.get("transform");this.options.set("transform",D(t))}parentTransform(){let t,e=this;for(;e.parent;){let r=(e=e.parent).transform();r&&(t=r.matrix().multiplyCopy(t||_.unit()))}if(t)return D(t)}currentTransform(t=this.parentTransform()){let e;let r=T(this.transform()),n=T(t);if(e=r&&n?n.multiplyCopy(r):r||n)return D(e)}visible(t){return void 0!==t?(this.options.set("visible",t),this):!1!==this.options.get("visible")}clip(t){let e=this.options;return void 0!==t?(t&&!t.id&&(t.id=ew()),e.set("clip",t),this):e.get("
1clip")}opacity(t){var e;return void 0!==t?(this.options.set("opacity",t),this):void 0!==(e=this.options.get("opacity"))?e:1}className(t){return void 0!==t?(this.options.set("className",t),this):this.options.get("className")}clippedBBox(t){let e=this._clippedBBox(t);if(e){let r=this.clip();return r?L.intersect(e,r.bbox(t)):e}}containsPoint(t,e){if(this.visible()){let r=this.currentTransform(e),n=t;return r&&(n=t.transformCopy(r.matrix().invert())),this._hasFill()&&this._containsPoint(n)||this._isOnPath&&this._hasStroke()&&this._isOnPath(n)}return!1}_hasFill(){let t=this.options.fill;return t&&(t.nodeType===ev||!ey(t.color))}_hasStroke(){let t=this.options.stroke;return t&&t.width>0&&!ey(t.color)}_clippedBBox(t){return this.bbox(t)}}var e_=eb,eS=t=>class extends t{fill(t,e){let r=this.options;if(void 0!==t){if(t&&"Gradient"!==t.nodeType){let n={color:t};void 0!==e&&(n.opacity=e),r.set("fill",n)}else r.set("fill",t);return this}return r.get("fill")}stroke(t,e,r){return void 0!==t?(this.options.set("stroke.color",t),void 0!==e&&this.options.set("stroke.width",e),void 0!==r&&this.options.set("stroke.opacity",r),this):this.options.get("stroke")}},eC=(t,e)=>{let r=class extends t{};return!function(t,e){for(let r=0;r<e.length;r++)t[e[r]]=function(t){let e="_"+t;return function(t){return void 0!==t?(this._observerField(e,k.create(t)),this.geometryChange(),this):this[e]}}(e[r])}(r.prototype,e),r};class eM extends eS(eC(e_,["position"])){get nodeType(){return"Text"}constructor(t,e=new k,r={}){super(r),this.content(t),this.position(e),this.options.font||(this.options.font="12px sans-serif"),void 0===this.options.fill&&this.fill("#000")}content(t){return void 0!==t?(this.options.set("content",t),this):this.options.get("content")}measure(){return t7(this.content(),{font:this.options.get("font")})}rect(){let t=this.measure();return new L(this.position().clone(),[t.width,t.height])}bbox(t){let e=T(this.currentTransform(t));return this.rect().bbox(e)}rawBBox(){return this.rect().bbox()}_containsPoint(t){return this.rect().containsPoint(t)}}var eT=eM,ek=(t,e)=>class extends t{traverse(t){let r=this[e];for(let e=0;e<r.length;e++){let n=r[e];n.traverse?n.traverse(t):t(n)}return this}};function eA(t,e,r){let n;for(let i=0;i<t.length;i++){let o=t[i];if(o.visible()){let t=e?o.bbox(r):o.rawBBox();t&&(n=n?L.union(n,t):t)}}return n}function eL(t,e){let r;for(let n=0;n<t.length;n++){let i=t[n];if(i.visible()){let t=i.clippedBBox(e);t&&(r=r?L.union(r,t):t)}}return r}class eO extends ek(e_,"children"){get nodeType(){return"Group"}constructor(t){super(t),this.children=[]}childrenChange(t,e,r){this.trigger("childrenChange",{action:t,items:e,index:r})}append(){var t,e;return t=this.children,e=arguments,t.push.apply(t,e),this._reparent(arguments,this),this.childrenChange("add",arguments),this}insert(t,e){return this.children.splice(t,0,e),e.parent=this,this.childrenChange("add",[e],t),this}insertAt(t,e){return this.insert(e,t)}remove(t){let e=this.children.indexOf(t);return e>=0&&(this.children.splice(e,1),t.parent=null,this.childrenChange("remove",[t],e)),this}removeAt(t){if(0<=t&&t<this.children.length){let e=this.children[t];this.children.splice(t,1),e.parent=null,this.childrenChange("remove",[e],t)}return this}clear(){let t=this.children;return this.children=[],this._reparent(t,null),this.childrenChange("remove",t,0),this}bbox(t){return eA(this.children,!0,this.currentTransform(t))}rawBBox(){return eA(this.children,!1)}_clippedBBox(t){return eL(this.children,this.currentTransform(t))}currentTransform(t){return e_.prototype.currentTransform.call(this,t)||null}containsPoint(t,e){if(this.visible()){let r=this.children,n=this.currentTransform(e);for(let e=0;e<r.length;e++)if(r[e].containsPoint(t,n))return!0}return!1}_reparent(t,e){for(let r=0;r<t.length;r++){let n=t[r],i=n.parent;i&&i!==this&&i.remove&&i.remove(n),n.parent=e}}}var eP=eO;let eB=[].splice,ez=[].slice;class eD extends C{constructor(t=[]){super(),this.length=0,this._splice(0,t.length,t)}elements(t){return t?(this._splice(0,this.length,t),this._change(),this):this.slice(0)}push(...t){let e=this.length,r=t.length;for(let n=0;n<r;n++)this[e+n]=t[n],t[n].addObserver(this);return this.length=e+r,this._change(),this.length}slice(){return ez.call(this)}pop(){if(this.length>0){let t=this[this.length-1];return this.length--,t.removeObserver(this),this._change(),t}}splice(t,e,...r){let n=this._splice(t,e,r);return this._change(),n}shift(){if(this.length>0){let t=this[0];for(let t=1;t<this.length;t++)this[t-1]=this[t];return this.length--,t.removeObserver(this),this._change(),t}}unshift(...t){let e=t.length;for(let t=this.length-1;t>=0;t--)this[t+e]=this[t];for(let r=0;r<e;r++)this[r]=t[r],t[r].addObserver(this);return this.length+=e,this._change(),this.length}indexOf(t){let e=this.length;for(let r=0;r<e;r++)if(this[r]===t)return r;return -1}_splice(t,e,r){let n=eB.apply(this,[t,e].concat(r));return this._clearObserver(n),this._setObserver(r),n}_add(t){this._setObserver(t),this._change()}_remove(t){this._clearObserver(t),this._change()}_setObserver(t){for(let e=0;e<t.length;e++)t[e].addObserver(this)}_clearObserver(t){for(let e=0;e<t.length;e++)t[e].removeObserver(this)}_change(){}}var eR=eD;class eN extends eR{_change(){this.geometryChange()}}function eI(t,e,r){let n=Math.atan2(e.y-t.y,e.x-t.x)/w;return r.transformCopy(D().rotate(-n,t)).x<t.x}function eE(t,e,r){let n=1-t;return Math.pow(n,3)*r[0][e]+3*Math.pow(n,2)*t*r[1][e]+3*Math.pow(t,2)*n*r[2][e]+Math.pow(t,3)*r[3][e]}function eF(t,e){return[-t[0][e]+3*t[1][e]-3*t[2][e]+t[3][e],3*(t[0][e]-2*t[1][e]+t[2][e]),3*(-t[0][e]+t[1][e]),t[0][e]]}class eG extends x{constructor(t=0,e=0){super(),this.real=t,this.img=e}add(t){return new eG(b(this.real+t.real,10),b(this.img+t.img,10))}addConstant(t){return new eG(this.real+t,this.img)}negate(){return new eG(-this.real,-this.img)}multiply(t){return new eG(this.real*t.real-this.img*t.img,this.real*t.img+this.img*t.real)}multiplyConstant(t){return new eG(this.real*t,this.img*t)}nthRoot(t){let e=Math.atan2(this.img,this.real),r=Math.pow(Math.sqrt(Math.pow(this.img,2)+Math.pow(this.real,2)),1/t);return new eG(r*Math.cos(e/t),r*Math.sin(e/t))}equals(t){return this.real===t.real&&this.img===t.img}isReal(){return 0===this.img}}function eq(t,e,r,n){let i,o,s,a,h,l,c;if(0===t)return function(t,e,r){let n=Math.sqrt(Math.pow(e,2)-4*t*r);return[(-e+n)/(2*t),(-e-n)/(2*t)]}(e,r,n);
1let u=(3*t*r-Math.pow(e,2))/(3*Math.pow(t,2)),f=(2*Math.pow(e,3)-9*t*e*r+27*Math.pow(t,2)*n)/(27*Math.pow(t,3)),d=Math.pow(u/3,3)+Math.pow(f/2,2),p=new eG(0,1),g=-e/(3*t);d<0?(i=new eG(-f/2,Math.sqrt(-d)).nthRoot(3),o=new eG(-f/2,-Math.sqrt(-d)).nthRoot(3)):(i=new eG(((i=-f/2+Math.sqrt(d))<0?-1:1)*Math.pow(Math.abs(i),1/3)),o=new eG(((o=-f/2-Math.sqrt(d))<0?-1:1)*Math.pow(Math.abs(o),1/3))),s=i.add(o),l=i.add(o).multiplyConstant(-.5),c=i.add(o.negate()).multiplyConstant(Math.sqrt(3)/2),a=l.add(p.multiply(c)),h=l.add(p.negate().multiply(c));let m=[];return s.isReal()&&m.push(b(s.real+g,10)),a.isReal()&&m.push(b(a.real+g,10)),h.isReal()&&m.push(b(h.real+g,10)),m}function ej(t,e,r,n,i){let o=eF(t,n),s=eq(o[0],o[1],o[2],o[3]-e[n]);for(let n=0;n<s.length;n++)if(0<=s[n]&&s[n]<=1&&Math.abs(eE(s[n],r,t)-e[r])<=i)return!0}function eH(t,e,r){let n;if(t.x!==e.x){let i=Math.min(t.x,e.x),o=Math.max(t.x,e.x),s=Math.min(t.y,e.y),a=Math.max(t.y,e.y),h=i<=r.x&&r.x<o;n=s===a?r.y<=s&&h:h&&(a-s)*((t.x-e.x)*(t.y-e.y)>0?r.x-i:o-r.x)/(o-i)+s-r.y>=0}return n?1:0}let eU=["anchor","controlIn","controlOut"];class eY extends eC(C,eU){constructor(t,e,r){super(),this.anchor(t||new k),this.controlIn(e),this.controlOut(r)}bboxTo(t,e){let r=this.anchor().transformCopy(e),n=t.anchor().transformCopy(e);return this.controlOut()&&t.controlIn()?this._curveBoundingBox(r,this.controlOut().transformCopy(e),t.controlIn().transformCopy(e),n):this._lineBoundingBox(r,n)}_lineBoundingBox(t,e){return L.fromPoints(t,e)}_curveBoundingBox(t,e,r,n){let i=[t,e,r,n],o=this._curveExtremesFor(i,"x"),s=this._curveExtremesFor(i,"y"),a=eV([o.min,o.max,t.x,n.x]),h=eV([s.min,s.max,t.y,n.y]);return L.fromPoints(new k(a.min,h.min),new k(a.max,h.max))}_curveExtremesFor(t,e){let r=this._curveExtremes(t[0][e],t[1][e],t[2][e],t[3][e]);return{min:eE(r.min,e,t),max:eE(r.max,e,t)}}_curveExtremes(t,e,r,n){let i=t-3*e+3*r-n,o=-2*(t-2*e+r),s=t-e,a=Math.sqrt(o*o-4*i*s),h=0,l=1;0===i?0!==o&&(h=l=-s/o):isNaN(a)||(h=(-o+a)/(2*i),l=(-o-a)/(2*i));let c=Math.max(Math.min(h,l),0);(c<0||c>1)&&(c=0);let u=Math.min(Math.max(h,l),1);return(u>1||u<0)&&(u=1),{min:c,max:u}}_intersectionsTo(t,e){return this.controlOut()&&t.controlIn()?function(t,e,r){let n;let i=eF(t,"x"),o=eq(i[0],i[1],i[2],i[3]-e.x),s=0;for(let i=0;i<o.length;i++)(O(n=eE(o[i],"y",t),e.y)||n>e.y)&&((0===o[i]||1===o[i])&&r.bottomRight().x>e.x||0<o[i]&&o[i]<1)&&s++;return s}([this.anchor(),this.controlOut(),t.controlIn(),t.anchor()],e,this.bboxTo(t)):eH(this.anchor(),t.anchor(),e)}_isOnCurveTo(t,e,r,n){if(this.bboxTo(t).expand(r,r).containsPoint(e)){let i=this.anchor(),o=this.controlOut(),s=t.controlIn(),a=t.anchor(
1);if("start"===n&&i.distanceTo(e)<=r)return!eI(i,o,e);if("end"===n&&a.distanceTo(e)<=r)return!eI(a,s,e);let h=[i,o,s,a];if(ej(h,e,"x","y",r)||ej(h,e,"y","x",r))return!0;let l=D().rotate(45,e),c=[i.transformCopy(l),o.transformCopy(l),s.transformCopy(l),a.transformCopy(l)];return ej(c,e,"x","y",r)||ej(c,e,"y","x",r)}}_isOnLineTo(t,e,r){let n=this.anchor(),i=t.anchor(),o=Math.atan2(i.y-n.y,i.x-n.x)/w;return new L([n.x,n.y-r/2],[n.distanceTo(i),r]).containsPoint(e.transformCopy(D().rotate(-o,n)))}_isOnPathTo(t,e,r,n){return this.controlOut()&&t.controlIn()?this._isOnCurveTo(t,e,r/2,n):this._isOnLineTo(t,e,r)}}function eV(t){let e=t.length,r=y,n=v;for(let i=0;i<e;i++)n=Math.max(n,t[i]),r=Math.min(r,t[i]);return{min:r,max:n}}function eX(t){if(t)return t[t.length-1]}function eK(t,e){for(;e[t+1]&&(e[t].equals(e[t+1])||e[t+1].equals(e[t+2]));)e.splice(t+1,1)}function eW(t,e){let r=(e.y-t.y)/(e.x-t.x);return[t.y-r*t.x,r]}function eZ(t,e,r){let n,i="x",o="y",s=!1,a=!1;if(function(t,e,r){let n=e4(eW(t,e),r.x);return t.x===e.x&&e.x===r.x||b(n,1)===b(r.y,1)}(t,e,r))n=eJ(t,e,"x","y");else{let h={x:eQ(t,e,r,"x"),y:eQ(t,e,r,"y")};h.x&&h.y?(n=eJ(t,r,"x","y"),s=!0):(function(t,e,r){let n=!1;if(t.x===e.x)n=!0;else if(e.x===r.x)(e.y<r.y&&t.y<=e.y||r.y<e.y&&e.y<=t.y)&&(n=!0);else{let i=e4(eW(t,e),r.x);t.y<=e.y&&r.y<=i||e.y<=t.y&&r.y>=i||(n=!0)}return n}(t,e,r)&&(i="y",o="x"),h[i])?n=0:(n=.01*(r[o]<t[o]&&t[o]<=e[o]||t[o]<r[o]&&e[o]<=t[o]?(r[o]-t[o])*(e[i]-t[i])<=0?-1:1:-((r[i]-t[i])*(e[o]-t[o])<=0?-1:1)),a=!0)}let h=e1(n,t,e,i,o);if(a){let t=i;i=o,o=t}let l=e0(n,e,r,i,o);return s&&(e$(t,e,h,n),e$(e,r,l,n)),[h,l]}function e$(t,e,r,n){t.y<e.y?e.y<r.y?(r.x=t.x+(e.y-t.y)/n,r.y=e.y):r.y<t.y&&(r.x=e.x-(e.y-t.y)/n,r.y=t.y):r.y<e.y?(r.x=t.x-(t.y-e.y)/n,r.y=e.y):t.y<r.y&&(r.x=e.x+(t.y-e.y)/n,r.y=t.y)}function eJ(t,e,r,n){let i=e[r]-t[r],o=e[n]-t[n];return 0===i?0:o/i}function eQ(t,e,r,n){return r[n]>e[n]&&e[n]>t[n]||r[n]<e[n]&&e[n]<t[n]}function e0(t,e,r,n,i){let o=e[n],s=(r[n]-o)*.333;return e2(o+s,e[i]+s*t,n,i)}function e1(t,e,r,n,i){let o=e[n],s=r[n],a=(s-o)*.333;return e2(s-a,r[i]-a*t,n,i)}function e2(t,e,r,n){let i=new k;return i[r]=t,i[n]=e,i}function e4(t,e){let r=t.length,n=0;for(let i=0;i<r;i++)n+=Math.pow(e,i)*t[i];return n}let e3=_.IDENTITY.toString();var e5=t=>class extends t{bbox(t){let e;let r=T(this.currentTransform(t)),n=r?r.toString():e3;this._bboxCache&&this._matrixHash===n?e=this._bboxCache.clone():(e=this._bbox(r),this._bboxCache=e?e.clone():null,this._matrixHash=n);let i=this.options.get("stroke.width");return i&&e&&e.expand(i/2),e}geometryChange(){delete this._bboxCache,this.trigger("geometryChange",{element:this})}};function e6(t,e,r){let n=e?0:1;for(let e=0;e<t.length;e+=2)t.splice(e+n,0,r)}function e9(t,e){if(t&&e)return e.scaleCopy(2).translate(-t.x,-t.y)}let e8=1/3;function e7(t,e,r){let n=e.clone().scale(2/3);return{controlOut:n.clone().translateWith(t.scaleCopy(e8)),controlIn:n.translateWith(r.scaleCopy(e8))}}var rt={l:function(t,e){let{parameters:r,position:n}=e;for(let i=0;i<r.length;i+=2){let o=new k(r[i],r[i+1]);e.isRelative&&o.translateWith(n),t.lineTo(o.x,o.y),n.x=o.x,n.y=o.y}},c:function(t,e){let{parameters:r,position:n}=e;for(let i=0;i<r.length;i+=6){let o=new k(r[i],r[i+1]),s=new k(r[i+2],r[i+3]),a=new k(r[i+4],r[i+5]);e.isRelative&&(s.translateWith(n),o.translateWith(n),a.translateWith(n)),t.curveTo(o,s,a),n.x=a.x,n.y=a.y}},v:function(t,e){let r=e.isRelative?0:e.position.x;e6(e.parameters,!0,r),this.l(t,e)},h:function(t,e){let r=e.isRelative?0:e.position.y;e6(e.parameters,!1,r),this.l(t,e)},a:function(t,e){let{parameters:r,position:n}=e;for(let i=0;i<r.length;i+=7){let o=r[i],s=r[i+1],a=r[i+2],h=r[i+3],l=r[i+4],c=new k(r[i+5],r[i+6]);e.isRelative&&c.translateWith(n),(n.x!==c.x||n.y!==c.y)&&(t.arcTo(c,o,s,h,l,a),n.x=c.x,n.y=c.y)}},s:function(t,e){let r;let{parameters:n,position:i,previousCommand:o}=e;("s"===o||"c"===o)&&(r=eX(eX(t.paths).segments).controlIn());for(let o=0;o<n.length;o+=4){let s,a=new k(n[o],n[o+1]),h=new k(n[o+2],n[o+3]);e.isRelative&&(a.translateWith(i),h.translateWith(i)),s=r?e9(r,i):i.clone(),r=a,t.curveTo(s,a,h),i.x=h.x,i.y=h.y}},q:function(t,e){let{parameters:r,position:n}=e;for(let i=0;i<r.length;i+=4){let o=new k(r[i],r[i+1]),s=new k(r[i+2],r[i+3]);e.isRelative&&(o.translateWith(n),s.translateWith(n));let a=e7(n,o,s);t.curveTo(a.controlOut,a.controlIn,s),n.x=s.x,n.y=s.y}},t:function(t,e){let r;let{parameters:n,position:i,previousCommand:o}=e;("q"===o||"t"===o)&&(r=eX(eX(t.paths).segments).controlIn().clone().translateWith(i.scaleCopy(-1/3)).scale(1.5));for(let o=0;o<n.length;o+=2){let s=new k(n[o],n[o+1]);e.isRelative&&s.translateWith(i),r=r?e9(r,i):i.clone();let a=e7(i,r,s);t.curveTo(a.controlOut,a.controlIn,s),i.x=s.x,i.y=s.y}}};let re=/([a-df-z]{1})([^a-df-z]*)(z)?/gi,rr=/[,\s]?([+\-]?(?:\d*\.\d+|\d+)(?:[eE][+\-]?\d+)?)/g;var rn=function(t,e){let r;let n=new k;return e.replace(re,(e,i,o,s)=>{let a=i.toLowerCase(),h=a===i,l=function(t){let e=[];return t.replace(rr,function(t,r){e.push(parseFloat(r))}),e}(o.trim());if("m"===a&&(h?(n.x+=l[0],n.y+=l[1]):(n.x=l[0],n.y=l[1]),t.moveTo(n.x,n.y),l.length>2&&(a="l",l.splice(0,2))),rt[a])rt[a](t,{parameters:l,position:n,isRelative:h,previousCommand:r}),s&&"z"===s.toLowerCase()&&t.close();else if("m"!==a)throw Error("Error while parsing SVG path. Unsupported command: "+a);r=a}),t};function ri(t,e,r){return Math.max(Math.min(t,r),e)}let ro=t=>(...e)=>e.map(e=>e.toString(t)).join(" "),rs=(t,e)=>t.controlOut()&&e.controlIn()?"C":"L";class ra extends eS(e5(e_)){get nodeType(){return"Path"}constructor(t){super(t),this.segments=new eN,this.segments.addObserver(this),void 0===this.options.stroke&&(this.stroke("#000"),void 0===this.options.stroke.lineJoin&&this.options.set("stroke.lineJoin","miter"))}moveTo(t,e){return this.suspend(),this.segments.elements([]),this.resume(),this.lineTo(t,e),this}lineTo(t,e){let r=new eY(void 0!==e?new k(t,e):t);return this.segments.push(r),this}curveTo(t,e,r){if(this.segments.length>0){let n=eX(this.segments),i=new eY(r,e);this.suspend(),n.controlOut(t),this.resume(),this.segments.push(i)}return this}arc(t,e,r,n,i){if(this.segments.length>0){let o=eX(this.segments).anchor(),s=t*w,a=new I(new k(o.x-r*Math.cos(s),o.y-n*Math.sin(s)),{startAngle:t,endAngle:e,radiusX:r,radiusY:n,anticlockwise:i});this._addArcSegments(a)}return this}arcTo(t,e,r,n,i,o){if(this.segments.length>0){let s=eX(this.segments).anchor(),a=I.fromPoints(s,k.create(t),e,r,n,i,o);this._addArcSegments(a)}return this}_addArcSegments(t){this.suspend();let e=t.curvePoints();for(let t=1;t<e.length;t+=3)this.curveTo(e[t],e[t+1],e[t+2]);this.resume(),this.geometryChange()}close(){return this.options.closed=!0,this.geometryChange(),this}rawBBox(){return this._bbox()}toString(t){let e="",r=this.segments,n=r.length;if(n>0){let i;let o=[],s=ro(t);for(let t=1;t<n;t++){let e=rs(r[t-1],r[t]);e!==i&&(i=e,o.push(e)),"L"===e?o.push(s(r[t].anchor())):o.push(s(r[t-1].controlOut(),r[t].controlIn(),r[t].anchor()))}e="M"+s(r[0].anchor())+" "+o.join(" "),this.options.closed&&(e+="Z")}return e}_containsPoint(t){let e,r;let n=this.segments,i=n.length,o=0;for(let s=1;s<i;s++)e=n[s-1],r=n[s],o+=e._intersectionsTo(r,t);return(this.options.closed||!n[0].anchor().equals(n[i-1].anchor()))&&(o+=eH(n[0].anchor(),n[i-1].anchor(),t)),o%2!=0}_isOnPath(t,e){let r=this.segments,n=r.length,i=e||this.options.stroke.width;if(n>
11){if(r[0]._isOnPathTo(r[1],t,i,"start"))return!0;for(let e=2;e<=n-2;e++)if(r[e-1]._isOnPathTo(r[e],t,i))return!0;if(r[n-2]._isOnPathTo(r[n-1],t,i,"end"))return!0}return!1}_bbox(t){let e;let r=this.segments,n=r.length;if(1===n)e=new L(r[0].anchor().transformCopy(t),A.ZERO);else if(n>0)for(let i=1;i<n;i++){let n=r[i-1].bboxTo(r[i],t);e=e?L.union(e,n):n}return e}static parse(t,e){return rh.parse(t,e)}static fromRect(t,e){let r=new ra(e),[n,i]=t.cornerRadius;if(0===n&&0===i)r.moveTo(t.topLeft()).lineTo(t.topRight()).lineTo(t.bottomRight()).lineTo(t.bottomLeft()).close();else{let{x:e,y:o}=t.origin,s=t.width(),a=t.height();n=ri(n,0,s/2),i=ri(i,0,a/2),r.moveTo(e+n,o).lineTo(e+s-n,o).arcTo([e+s,o+i],n,i,!1).lineTo(e+s,o+a-i).arcTo([e+s-n,o+a],n,i,!1).lineTo(e+n,o+a).arcTo([e,o+a-i],n,i,!1).lineTo(e,o+i).arcTo([e+n,o],n,i,!1)}return r}static fromPoints(t,e){if(t){let r=new ra(e);for(let e=0;e<t.length;e++){let n=k.create(t[e]);n&&(0===e?r.moveTo(n):r.lineTo(n))}return r}}static curveFromPoints(t,e){if(t){let r=function(t,e){let r,n;let i=t.slice(0),o=[],s=i.length;if(s>2&&(eK(0,i),s=i.length),s<2||2===s&&i[0].equals(i[1]))return o;let a=i[0],h=i[1],l=i[2];for(o.push(new eY(a));a.equals(i[s-1]);)e=!0,i.pop(),s--;if(2===s){let t=eJ(a,h,"x","y");return eX(o).controlOut(e0(t,a,h,"x","y")),o.push(new eY(h,e1(t,a,h,"x","y"))),o}if(e){let t=eZ(a=i[s-1],h=i[0],l=i[1]);r=t[1],n=t[0]}else r=e0(eJ(a,h,"x","y"),a,h,"x","y");let c=r;for(let t=0;t<=s-3;t++)if(eK(t,i),t+3<=(s=i.length)){let e=eZ(a=i[t],h=i[t+1],l=i[t+2]);eX(o).controlOut(c),c=e[1];let r=e[0];o.push(new eY(h,r))}if(e){let t=eZ(a=i[s-2],h=i[s-1],l=i[0]);eX(o).controlOut(c),o.push(new eY(h,t[0])),eX(o).controlOut(t[1]),o.push(new eY(l,n))}else{let t=eJ(h,l,"x","y");eX(o).controlOut(c),o.push(new eY(l,e1(t,h,l,"x","y")))}return o}(t),n=new ra(e);return n.segments.push.apply(n.segments,r),n}}static fromArc(t,e){let r=new ra(e),n=t.startAngle,i=t.pointAt(n);return r.moveTo(i.x,i.y),r.arc(n,t.endAngle,t.radiusX,t.radiusY,t.anticlockwise),r}}class rh extends eS(e5(e_)){static parse(t,e){return rn(new rh(e),t)}toString(t){let e=this.paths,r="";if(e.length>0){let n=[];for(let r=0;r<e.length;r++)n.push(e[r].toString(t));r=n.join(" ")}return r}get nodeType(){return"MultiPath"}constructor(t){super(t),this.paths=new eN,this.paths.addObserver(this),void 0===this.options.stroke&&this.stroke("#000")}moveTo(t,e){let r=new ra;return r.moveTo(t,e),this.paths.push(r),this}lineTo(t,e){return this.paths.length>0&&eX(this.paths).lineTo(t,e),this}curveTo(t,e,r){return this.paths.length>0&&eX(this.paths).curveTo(t,e,r),this}arc(t,e,r,n,i){return this.paths.length>0&&eX(this.paths).arc(t,e,r,n,i),this}arcTo(t,e,r,n,i,o){return this.paths.length>0&&eX(this.paths).arcTo(t,e,r,n,i,o),this}close(){return this.paths.length>0&&eX(this.paths).close(),this}_bbox(t){return eA(this.paths,!0,t)}rawBBox(){return eA(this.paths,!1)}_containsPoint(t){let e=this.paths;for(let r=0;r<e.length;r++)if(e[r]._containsPoint(t))return!0;return!1}_isOnPath(t){let e=this.paths,r=this.options.stroke.width;for(let n=0;n<e.length;n++)if(e[n]._isOnPath(t,r))return!0;return!1}_clippedBBox(t){return eL(this.paths,this.currentTransform(t))}}var rl=(t,e=["geometry"])=>{let r=class extends t{};return!function(t,e){for(let r=0;r<e.length;r++)t[e[r]]=function(t){let e="_"+t;return function(t){return void 0!==t?(this._observerField(e,t),this.geometryChange(),this):this[e]}}(e[r])}(r.prototype,e),r};class rc extends rl(e_,["rect"]){get nodeType(){return"Image"}constructor(t,e=new L,r={}){super(r),this.src(t),this.rect(e)}src(t){return void 0!==t?(this.options.set("src",t),this):this.options.get("src")}bbox(t){let e=T(this.currentTransform(t));return this._rect.bbox(e)}rawBBox(){return this._rect.bbox()}_containsPoint(t){return this._rect.containsPoint(t)}_hasFill(){return this.src()}}class ru extends eR{_change(){this.optionsChange({field:"stops"})}}var rf=(t,e)=>{let r=class extends t{};return!function(t,e){for(let r=0;r<e.length;r++)t[e[r]]=function(t){return function(e){return void 0!==e?(this.options.set(t,e),this):this.options.get(t)}}(e[r])}(r.prototype,e),r};let rd=["offset","color","opacity"];class rp extends rf(C,rd){constructor(t,e,r){super(),this.options=new em({offset:t,color:e,opacity:void 0!==r?r:1}),this.options.addObserver(this)}static create(t){if(void 0!==t)return t instanceof rp?t:t.length>1?new rp(t[0],t[1],t[2]):new rp(t.offset,t.color,t.opacity)}}class rg extends C{get nodeType(){return"Gradient"}constructor(t={}){super(),this.stops=new ru(this._createStops(t.stops)),this.stops.addObserver(this),this._userSpace=t.userSpace,this.id=ew()}userSpace(t){return void 0!==t?(this._userSpace=t,this.optionsChange(),this):this._userSpace}_createStops(t=[]){let e=[];for(let r=0;r<t.length;
1r++)e.push(rp.create(t[r]));return e}addStop(t,e,r){this.stops.push(new rp(t,e,r))}removeStop(t){let e=this.stops.indexOf(t);e>=0&&this.stops.splice(e,1)}optionsChange(t){this.trigger("optionsChange",{field:"gradient"+(t?"."+t.field:""),value:this})}geometryChange(){this.optionsChange()}}var rm=rg;let rx=["start","end"];class rw extends eC(rm,rx){constructor(t={}){super(t),this.start(t.start||new k),this.end(t.end||new k(1,0))}}class ry extends eS(e5(rl(e_))){get nodeType(){return"Rect"}constructor(t=new L,e={}){super(e),this.geometry(t),void 0===this.options.stroke&&this.stroke("#000")}_bbox(t){return this._geometry.bbox(t)}rawBBox(){return this._geometry.bbox()}_containsPoint(t){return this._geometry.containsPoint(t)}_isOnPath(t){return this.geometry()._isOnPath(t,this.options.stroke.width/2)}}class rv extends eS(e5(rl(e_))){get nodeType(){return"Circle"}constructor(t=new q,e={}){super(e),this.geometry(t),void 0===this.options.stroke&&this.stroke("#000")}rawBBox(){return this._geometry.bbox()}_bbox(t){return this._geometry.bbox(t)}_containsPoint(t){return this.geometry().containsPoint(t)}_isOnPath(t){return this.geometry()._isOnPath(t,this.options.stroke.width/2)}}var rb=function(){return"undefined"!=typeof window},r_={wp:/(Windows Phone(?: OS)?)\s(\d+)\.(\d+(\.\d+)?)/,fire:/(Silk)\/(\d+)\.(\d+(\.\d+)?)/,android:/(Android|Android.*(?:Opera|Firefox).*?\/)\s*(\d+)(\.(\d+(\.\d+)?))?/,iphone:/(iPhone|iPod).*OS\s+(\d+)[\._]([\d\._]+)/,ipad:/(iPad).*OS\s+(\d+)[\._]([\d_]+)/,meego:/(MeeGo).+NokiaBrowser\/(\d+)\.([\d\._]+)/,webos:/(webOS)\/(\d+)\.(\d+(\.\d+)?)/,blackberry:/(BlackBerry|BB10).*?Version\/(\d+)\.(\d+(\.\d+)?)/,playbook:/(PlayBook).*?Tablet\s*OS\s*(\d+)\.(\d+(\.\d+)?)/,windows:/(MSIE)\s+(\d+)\.(\d+(\.\d+)?)/,tizen:/(tizen).*?Version\/(\d+)\.(\d+(\.\d+)?)/i,sailfish:/(sailfish).*rv:(\d+)\.(\d+(\.\d+)?).*firefox/i,ffos:/(Mobile).*rv:(\d+)\.(\d+(\.\d+)?).*Firefox/},rS={ios:/^i(phone|pad|pod)$/i,android:/^android|fire$/i,blackberry:/^blackberry|playbook/i,windows:/windows/,wp:/wp/,flat:/sailfish|ffos|tizen/i,meego:/meego/},rC={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i},rM={omini:/Opera\sMini/i,omobile:/Opera\sMobi/i,firefox:/Firefox|Fennec/i,mobilesafari:/version\/.*safari/i,ie:/MSIE|Windows\sPhone/i,chrome:/chrome|crios/i,webkit:/webkit/i},rT=function(t,e,r){for(var n in e)if(e.hasOwnProperty(n)&&e[n].test(t))return n;return void 0!==r?r:t},rk=rb()&&window.navigator?window.navigator.userAgent:null,rA=rk?function(t){var e=null,r=[];for(var n in rC)if(rC.hasOwnProperty(n)&&(r=t.match(rC[n]))){(e={})[n]=!0,e[r[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,e.version=parseInt(document.documentMode||r[2],10);break}return e}(rk):null;rk&&function(t){var e,r=[];for(var n in r_)if(r_.hasOwnProperty(n)){if(!(r=t.match(r_[n])))continue;if("windows"===n&&"plugins"in window.navigator)return null;var i={};return i.device=n,i.browser=rT(t,rM,"default"),i.name=rT(n,rS),i[i.name]=!0,i.majorVersion=r[2],i.minorVersion=r[3]?r[3].replace("_","."):".0",e=i.minorVersion.replace(".","").substr(0,2),i.flatVersion=i.majorVersion+e+Array(3-(e.length<3?e.length:2)).join("0"),i.cordova=(window.PhoneGap,!0),i.appMode=window.navigator.standalone||/file|local|wmapp/.test(window.location.protocol)||i.cordova,i}}(rk),rb()&&window,rA&&!rA.chrome&&window.MSPointerEvent,rA&&!rA.chrome&&window.PointerEvent;var rL=/\/\*[\s\S]*?\*\//g,rO=/([^\s:;]+?)\s*:\s*((?:(?:url\(\s*(?:(?:[^"')\\]|\\.)*|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')\s*\)|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|[^;"'])*?)\s*)(?=;|$)/gi,rP=/&quot;|&#34;|&#x22;/gi,rB=/&apos;|&#39;|&#x27;/gi;let rz=(t,e)=>{let r=function(t){for(var e,r,n={},i=(t||"").replace(rL,"").replace(rP,'"').replace(rB,"'"),o=rO.exec(i);null!==o;)e=o[1].trim(),r=o[2].trim(),n[e]=r,o=rO.exec(i);return n}(e);Object.keys(r).forEach(e=>{t.style[e]=r[e]})},rD="data-style",rR=t=>(t||"").replace(/\sstyle=/g," "+rD+"="),rN=t=>
1{Array.from(t.querySelectorAll("["+rD+"]")).forEach(t=>{let e=t.getAttribute(rD);t.removeAttribute(rD),rz(t,e)})},rI=(t,e)=>{t.innerHTML=rR(e),rN(t)},rE=H.browser||{};function rF(t){return Array.prototype.slice.call(t)}var rG="KENDO-PSEUDO-ELEMENT";let rq="data-kendo-bullet-type";var rj={},rH={};rH._root=rH;let rU="undefined"!=typeof window&&(rE.msie||rE.edge);class rY extends eT{constructor(t,e,r){super(t,e.getOrigin(),r),this._pdfRect=e}rect(){return this._pdfRect}rawBBox(){return this._pdfRect}}function rV(t,e){t.classList?t.classList.add(e):t.className+=" "+e}function rX(t,e){t.classList?t.classList.remove(e):t.className=t.className.split(/\s+/).reduce(function(t,r){return r!=e&&t.push(r),t},[]).join(" ")}function rK(t,e){Object.keys(e).forEach(function(r){t.style[r]=e[r]})}var rW="undefined"!=typeof Element&&Element.prototype&&((a=Element.prototype).matches?function(t,e){return t.matches(e)}:a.webkitMatchesSelector?function(t,e){return t.webkitMatchesSelector(e)}:a.mozMatchesSelector?function(t,e){return t.mozMatchesSelector(e)}:a.msMatchesSelector?function(t,e){return t.msMatchesSelector(e)}:function(t){return -1!==[].indexOf.call(document.querySelectorAll(t),this)});function rZ(t,e){if(t.closest)return t.closest(e);for(;t&&!/^\[object (?:HTML)?Document\]$/.test(String(t));){if(1==t.nodeType&&rW(t,e))return t;t=t.parentNode}}var r$=(h="undefined"!=typeof window&&window.kendo&&window.kendo.jQuery)?function t(e){var r=e.cloneNode(!1);if(1==e.nodeType){var n,i=h(e),o=h(r),s=i.data();for(n in s)o.data(n,s[n]);for(/^canvas$/i.test(e.tagName)?r.getContext("2d").drawImage(e,0,0):/^(?:input|select|textarea|option)$/i.test(e.tagName)?(r.removeAttribute("id"),r.removeAttribute("name"),/^textarea$/i.test(e.tagName)||(r.value=e.value),r.checked=e.checked,r.selected=e.selected):/^img$/i.test(e.tagName)&&r.removeAttribute("loading"),e._kendoExportVisual&&(r._kendoExportVisual=e._kendoExportVisual),n=e.firstChild;n;n=n.nextSibling)r.appendChild(t(n))}return r}:function(t){let e=function t(e){let r=e.cloneNode(!1);e._kendoExportVisual&&(r._kendoExportVisual=e._kendoExportVisual);for(let n=e.firstChild;n;n=n.nextSibling)r.appendChild(t(n));return r}(t),r=t.querySelectorAll("canvas");r.length&&rF(e.querySelectorAll("canvas")).forEach((t,e)=>{t.getContext("2d").drawImage(r[e],0,0)});let n=t.querySelectorAll("input, select, textarea, option");return rF(e.querySelectorAll("input, select, textarea, option")).forEach((t,e)=>{t.removeAttribute("id"),t.removeAttribute("name"),/^textarea$/i.test(t.tagName)||(t.value=n[e].value),t.checked=n[e].checked,t.selected=n[e].selected}),rF(e.querySelectorAll("img")).forEach(t=>{t.removeAttribute("loading")}),e};function rJ(t,e){e||(e={});var r,n=t4();if(!t)return n.reject("No element to export");if("function"!=typeof window.getComputedStyle)throw Error("window.getComputedStyle is missing.  You are using an unsupported browser, or running in IE8 compatibility mode.  Drawing HTML is supported in Chrome, Firefox, Safari and IE9+.");!function t(e,r){if(1==arguments.length)for(var n in e)tA(e,n)&&t(n,e[n]);else switch(t1[e=e.toLowerCase()]=r,e){case"dejavu sans":t1["sans-serif"]=r;break;case"dejavu sans|bold":t1["sans-serif|bold"]=r;break;case"dejavu sans|italic":t1["sans-serif|italic"]=r;break;case"dejavu sans|bold|italic":t1["sans-serif|bold|italic"]=r;break;case"dejavu serif":t1.serif=r;break;case"dejavu serif|bold":t1["serif|bold"]=r;break;case"dejavu serif|italic":t1["serif|italic"]=r;break;case"dejavu serif|bold|italic":t1["serif|bold|italic"]=r;break;case"dejavu mono":t1.monospace=r;break;case"dejavu mono|bold":t1["monospace|bold"]=r;break;case"dejavu mono|italic":t1["monospace|italic"]=r;break;case"dejavu mono|bold|italic":t1["monospace|bold|italic"]=r}}(function(t){null==t&&(t=document);for(var e={},r=0;r<t.styleSheets.length;++r)!function t(r){if(r){var n=null;try{n=r.cssRules}catch(t){}n&&function(r,n){for(var i=0;i<n.length;++i){var o=n[i];switch(o.type){case 3:t(o.styleSheet);break;case 5:var s=o.style,a=r0(ni(s,"font-family")),h=/^([56789]00|bold)$/i.test(ni(s,"font-weight")),l="italic"==ni(s,"font-style"),c=function(t){var e=ni(t.style,"src");if(e)return r0(e).reduce(function(t,e){var r=r1(e);return r&&t.push(r),t},[]);var r=r1(t.cssText);return r?[r]:[]}(o);c.length>0&&function(t,r,n,i,o){/^data:/i.test(o)||/^[^\/:]+:\/\//.test(o)||/^\//.test(o)||(o=String(t.href).replace(/[^\/]*$/,"")+o),r.forEach(function(t){t=t.replace(/^(['"]?)(.*?)\1$/,"$2"),n&&(t+="|bold"),i&&(t+="|italic"),e[t]=o})}(r,a,h,l,c[0])}}}(r,n)}}(t.styleSheets[r]);return e}(t.ownerDocument));var i="number"==typeof(r=e.scale||1)?{x:r,y:r}:Array.isArray(r)?{x:r[0],y:r[1]}:{x:r.x,y:r.y};function o(t){var r=new eP,n=t.getBoundingClientRect();return nf(r,[i.x,0,0,i.y,-n.left*i.x,-n.top*i.y]),rH._clipbox=!1,rH._matrix=_.unit(),rH._stackingContext={element:t,group:r},!0===e.avoidLinks?rH._avoidLinks="a":rH._avoidLinks=e.avoidLinks,rV(t,"k-pdf-export"),nM(t,r),rX(t,"k-pdf-export"),r}return nt([t],function(){var r=e&&e.forcePageBreak,s=e&&e.paperSize&&"auto"!=e.paperSize,a=tv(function(t,r){return"paperSize"==t?s?e[t]:"A4":t in e?e[t]:r}),h=s&&a.paperSize[0],l=s&&a.paperSize[1],c=e.margin&&a.margin,u=!!c;if(r||l){c||(c={left:0,top:0,right:0,bottom:0}),h&&(h/=i.x),l&&(l/=i.y),c.left/=i.x,c.right/=i.x,c.top/=i.y,c.bottom/=i.y;var f=new eP({pdf:{multiPage:!0,paperSize:s?a.paperSize:"auto",_ignoreMargin:u}});(function(t,e,r,n,i,o,s){var a=function(t){if(null!=t)return("string"==typeof t&&(t=function(){throw Error("Template implementation missing.")}(t.replace(/^\s+|\s+$/g,""))),"function"==typeof t)?function(e){var r=t(e);
1if(r&&"string"==typeof r){var n=document.createElement("div");rI(n,r),r=n.firstElementChild}return r}:function(){return t.cloneNode(!0)}}(s.template),h=e.ownerDocument,l=[],c=s._destructive?e:r$(e),u=h.createElement("KENDO-PDF-DOCUMENT"),f=0;function d(){("-"!=r||i)&&function t(e){if("TABLE"==e.tagName&&rK(e,{tableLayout:"fixed"}),!p(e)){var n=nn(e),o=parseFloat(ni(n,"padding-bottom")),s=parseFloat(ni(n,"border-bottom-width")),a=f;f+=o+s;for(var l=!0,u=e.firstChild;u;u=u.nextSibling)if(1==u.nodeType){if(l=!1,rW(u,r)&&function(t){if(t.checkVisibility)return t.checkVisibility({visibilityProperty:!0});for(var e=t;e&&e!==c;){var r=nn(e);if("none"===ni(r,"display")||"hidden"===ni(r,"visibility"))return!1;e=e.parentNode}return!0}(u)){g(u);continue}if(!i){t(u);continue}if(!/^(?:static|relative)$/.test(ni(nn(u),"position")))continue;var d=w(u);1==d?g(u):d&&p(u)?g(u):t(u)}else 3==u.nodeType&&i&&(function t(e,r){if(/\S/.test(e.data)){var n=e.data.length,i=h.createRange();i.selectNodeContents(e);var o=w(i);if(o){var s=e;if(1==o)r?g(e.parentNode):g(e);else if(function t(r,n,o){return(i.setEnd(e,n),r==n||n==o)?n:w(i)?t(r,r+n>>1,n):t(n,n+o>>1,o)}(0,n>>1,n),!/\S/.test(i.toString())&&r)g(e.parentNode);else{s=e.splitText(i.endOffset);var a=x();i.setStartBefore(c),a.appendChild(i.extractContents()),c.parentNode.insertBefore(a,c),y(s.parentNode)}t(s)}}}(u,l),l=!1);f=a}}(c);{let t=x();c.parentNode.insertBefore(t,c),t.appendChild(c)}a&&l.forEach(function(t,e){let r=a({element:t,pageNum:e+1,totalPages:l.length});r&&t.appendChild(r)}),rX(c,"k-pdf-export"),nt(l,t.bind(null,{pages:l,container:u}))}function p(t){if(s.keepTogether&&rW(t,s.keepTogether)&&t.offsetHeight<=i-f)return!0;var e=t.tagName;return(!/^h[1-6]$/i.test(e)||!(t.offsetHeight>=i-f))&&(t.getAttribute("data-kendo-chart")||/^(?:img|tr|thead|th|tfoot|iframe|svg|object|canvas|input|textarea|select|video|h[1-6])/i.test(t.tagName))}function g(t){if(1==t.nodeType&&t!==c&&function(t){var e=t.parentNode,r=e.firstChild;if(t===r)return!0;if(t===e.children[0]){if(7==r.nodeType||8==r.nodeType)return!0;if(3==r.nodeType)return!/\S/.test(r.data)}return!1}(t))return g(t.parentNode);r=(e=rZ(t,"table"))&&e.querySelector("colgroup"),s.repeatHeaders&&(n=e&&e.querySelector("thead"),(i=rZ(t,".k-grid"))&&i.querySelector(".k-auto-scrollable")&&(o=i.querySelector(".k-grid-header")));var e,r,n,i,o,a=[];e&&"TR"===t.tagName&&(a=function(t,e){var r=[],n=t.querySelector("tbody"),i=n?rF(n.children).filter(m):rF(t.children).filter(m),o=i.indexOf(e);if(-1===o)return r;for(var s=0;s<o;s++)for(var a=i[s],h=rF(a.cells),l=0;l<h.length;l++){var c=h[l],u=parseInt(c.getAttribute("rowspan")||"1",10);if(s+u>o){var f=s+u-o,d=o-s,p=c.cloneNode(!0);let t=ni(nn(c),"width");f<=d?(p.style.width=t,p.innerHTML=""):(c.style.width=t,c.innerHTML=""),r.push({cell:p,columnIndex:function(t,e){for(var r=0,n=rF(t.cells),i=0;i<n.length&&n[i]!==e;i++)r+=parseInt(n[i].getAttribute("colspan")||"1",10);return r}(a,c),remainingRowspan:f})}}return r}(e,t));var l=x(),u=h.createRange();u.setStartBefore(c),u.setEndBefore(t),l.appendChild(u.extractContents()),c.parentNode.insertBefore(l,c),y(t.parentNode),e&&(e=rZ(t,"table"),s.repeatHeaders&&n&&e.insertBefore(n.cloneNode(!0),e.firstChild),r&&e.insertBefore(r.cloneNode(!0),e.firstChild),a.length>0&&function(t,e){if(e.length){var r=t.querySelector("tbody"),n=r?rF(r.children).filter(m):rF(t.children).filter(m);if(n.length){var i=n[0];e.sort(function(t,e){return t.columnIndex-e.columnIndex});for(var o=0;o<e.length;o++){var s=e[o],a=s.cell;a.setAttribute("rowspan",s.remainingRowspan),function(t,e,r){for(var n=rF(t.cells),i=0,o=0;o<n.length;o++){var s=n[o],a=parseInt(s.getAttribute("colspan")||"1",10);if(i===r){t.insertBefore(e,s);return}if(i+a>r){o+1<n.length?t.insertBefore(e,n[o+1]):t.appendChild(e);return}i+=a}t.appendChild(e)}(i,a,s.columnIndex)}}}}(e,a)),s.repeatHeaders&&o&&(i=rZ(t,".k-grid")).insertBefore(o.cloneNode(!0),i.firstChild)}function m(t){return"TR"===t.tagName}function x(){var t=h.createElement("KENDO-PDF-PAGE");return rK(t,{display:"block",boxSizing:"content-box",width:n?n+"px":"auto",padding:o.top+"px "+o.right+"px "+o.bottom+"px "+o.left+"px",position:"relative",height:i?i+"px":"auto",overflow:i||n?"hidden":"visible",clear:"both"}),s&&s.pageClassName&&(t.className=s.pageClassName),l.push(t),t}function w(t){var e=t.getBoundingClientRect();if(0===e.width||0===e.height)return 0;var r=c.getBoundingClientRect().top,n=i-f;return e.height>n?3:e.top-r>n?1:e.bottom-r>n?2:0}function y(t){var e=rZ(t,"li");e&&(e.setAttribute("kendo-no-bullet","1"),y(e.parentNode))}
1rF(c.querySelectorAll("tfoot")).forEach(function(t){t.parentNode.appendChild(t)}),rF(c.querySelectorAll("ol")).forEach(function(t){rF(t.children).forEach(function(t,e){t.setAttribute("kendo-split-index",e)})}),rK(u,{display:"block",position:"absolute",boxSizing:"content-box",left:"-10000px",top:"-10000px"}),n&&(rK(u,{width:n+"px",paddingLeft:o.left+"px",paddingRight:o.right+"px"}),rK(c,{overflow:"hidden"})),e.parentNode.insertBefore(u,e),u.appendChild(c),rV(c,"k-pdf-export"),s.beforePageBreak?r7([u],function(){s.beforePageBreak(u,d)}):r7([u],d)})(function(t){if(e.progress){var r=!1,i=0;!function s(){if(i<t.pages.length){var a=o(t.pages[i]);f.append(a),e.progress({page:a,pageNum:++i,totalPages:t.pages.length,cancel:function(){r=!0}}),r?t.container.parentNode.removeChild(t.container):setTimeout(s)}else t.container.parentNode.removeChild(t.container),n.resolve(f)}()}else t.pages.forEach(function(t){f.append(o(t))}),t.container.parentNode.removeChild(t.container),n.resolve(f)},t,r,h?h-c.left-c.right:null,l?l-c.top-c.bottom:null,c,e)}else n.resolve(o(t))}),n}var rQ=function(){var t=/^((-webkit-|-moz-|-o-|-ms-)?linear-gradient\s*)\(/,e=/^([-0-9.]+%)/,r=/^([-0-9.]+px)/,n=/^(left|right|top|bottom|to|center)\W/,i=/^([-0-9.]+(deg|grad|rad|turn)|0)/,o=/^(\s+)/,s=/^(\()/,a=/^(\))/,h=/^(,)/,l=/^(url)\(/,c=/^(.*?)\)/,u={},f={};function d(f){var d,p=f;if(r4(u,p))return u[p];function g(t){(e=o.exec(f))&&(f=f.substr(e[1].length));var e,r=t.exec(f);if(r)return f=f.substr(r[1].length),r[1]}return(d=g(t))?d=function(t){var o,l,c,u=[],d=!1;if(g(s)){if("0"==(o=g(i))&&(o="0deg"),o?(m=parseFloat(p=o),o=/grad$/.test(p)?Math.PI*m/200:/rad$/.test(p)?m:/turn$/.test(p)?Math.PI*m*2:/deg$/.test(p)?Math.PI*m/180:void 0):("to"==(l=g(n))?l=g(n):l&&/^-/.test(t)&&(d=!0),c=g(n)),g(h),/-moz-/.test(t)&&null==o&&null==l){var p,m,x=g(e),w=g(e);d=!0,"0%"==x?l="left":"100%"==x&&(l="right"),"0%"==w?c="top":"100%"==w&&(c="bottom"),g(h)}for(;f&&!g(a);){var y=function(){var t,n,i=ep(f,!0);if(i){let o=/^#[0-9a-f]+/i.exec(f)||/^rgba?\(.*?\)/i.exec(f)||/^..*?\b/.exec(f);return f=f.substr(o[0].length),i=i.toRGB(),(t=g(r))||(n=g(e)),{color:i,length:t,percent:n}}}();if(!y)break;u.push(y),g(h)}return{type:"linear",angle:o,to:l&&c?l+" "+c:l||c||null,stops:u,reverse:d}}}(d):(d=g(l))&&(d=function(){if(g(s)){var t=g(c);return t=t.replace(/^['"]+|["']+$/g,""),g(a),{type:"url",url:t}}}()),u[p]=d||{type:"none"}}return function(t){return r4(f,t)?f[t]:f[t]=r0(t).map(d)}}(),r0=(l={},function(t,e){e||(e=/^\s*,\s*/);var r,n=t+e;if(r4(l,n))return l[n];var i=[],o=0,s=0,a=0,h=!1;function c(e){return r=e.exec(t.substr(s))}function u(t){return t.replace(/^\s+|\s+$/g,"")}for(;s<t.length;)!h&&c(/^[\(\[\{]/)?(a++,s++):!h&&c(/^[\)\]\}]/)?(a--,s++):!h&&c(/^[\"\']/)?(h=r[0],s++):"'"==h&&c(/^\\\'/)?s+=2:'"'==h&&c(/^\\\"/)?s+=2:"'"==h&&c(/^\'/)?(h=!1,s++):'"'==h&&c(/^\"/)?(h=!1,s++):c(e)?(h||a||!(s>o)||(i.push(u(t.substring(o,s))),o=s+r[0].length),s+=r[0].length):s++;return o<s&&i.push(u(t.substring(o,s))),l[n]=i}),r1=(c=Object.create(null),function(t){var e,r=c[t];return!r&&((e=/url\((['"]?)([^'")]*?)\1\)\s+format\((['"]?)truetype\3\)/.exec(t))?r=c[t]=e[2]:(e=/url\((['"]?)([^'")]*?\.ttf)\1\)/.exec(t))&&(r=c[t]=e[2])),r}),r2=(u=Object.create(null),function(t){var e=u[t];return null==e&&(e=u[t]=t7("Mapq",{font:t}).height),e});function r4(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function r3(t,e){var r=rH;for(t="_counter_"+t;r&&!r4(r,t);)r=Object.getPrototypeOf(r);r||(r=rH._root),r[t]=(r[t]||0)+(null==e?1:e)}function r5(t,e){rH[t="_counter_"+t]=null==e?0:e}function r6(t,e,r){for(var n=0;n<t.length;){var i=t[n++],o=parseFloat(t[n]);isNaN(o)?e(i,r):(e(i,o),++n)}}function r9(t){var e=ni(t,"counter-reset");e&&r6(r0(e,/^\s+/),r5,0);var r=ni(t,"counter-increment");r&&r6(r0(r,/^\s+/),r3,1)}function r8(t,e){var r=ep(t,!0);return r&&(r=r.toRGB(),e?r=r.toCssRgba():0===r.a&&(r=null)),r}function r7(t,e){var r=0,n=!1;function i(){!n&&--r<=0&&(e(),n=!0)}t.forEach(function(t){for(var e=t.querySelectorAll("img"),n=0;n<e.length;++n){var o=e[n];o.complete||(r++,o.onload=o.onerror=i)}}),r||i()}function nt(t,e){var r=[];function n(t){rj[t]||(rj[t]=!0,r.push(t))}t.forEach(function t(e){/^img$/i.test(e.tagName)&&n(e.src),rQ(ni(nn(e),"background-image")).forEac
1h(function(t){"url"==t.type&&n(t.url)}),e.children&&rF(e.children).forEach(t)});var i=r.length;function o(){--i<=0&&r7(t,e)}0===i&&o(),r.forEach(function(t){var e=rj[t]=new window.Image;/^data:/i.test(t)||(e.crossOrigin="Anonymous"),e.src=t,e.complete?o():(e.onload=o,e.onerror=function(){rj[t]=null,o()},/^data:/i.test(t)&&setTimeout(function(){e.complete&&e.onload===o&&(e.onload=null,e.onerror=null,o())},10))})}function ne(t){var e="";do e=String.fromCharCode(97+t%26)+e,t=Math.floor(t/26);while(t>0);return e}function nr(t){if(null!=rH._clipbox){var e=t.bbox(rH._matrix);rH._clipbox?rH._clipbox=L.intersect(rH._clipbox,e):rH._clipbox=e}}function nn(t,e){return window.getComputedStyle(t,e||null)}function ni(t,e,r){var n=t.getPropertyValue(e);return((null==n||""===n)&&(rE.webkit?n=t.getPropertyValue("-webkit-"+e):rE.mozilla?n=t.getPropertyValue("-moz-"+e):rE.opera?n=t.getPropertyValue("-o-"+e):rU&&(n=t.getPropertyValue("-ms-"+e))),arguments.length>2&&(null==n||""===n))?r:n}function no(t,e,r,n){t.setProperty(e,r,n),rE.webkit?t.setProperty("-webkit-"+e,r,n):rE.mozilla?t.setProperty("-moz-"+e,r,n):rE.opera?t.setProperty("-o-"+e,r,n):rU&&(t.setProperty("-ms-"+e,r,n),t[e="ms"+e.replace(/(^|-)([a-z])/g,function(t,e,r){return e+r.toUpperCase()})]=r)}function ns(t,e){return{width:parseFloat(ni(t,(e="border-"+e)+"-width")),style:ni(t,e+"-style"),color:r8(ni(t,e+"-color"),!0)}}function na(t,e){var r=t.style.cssText,n=e();return rz(t,r),n}function nh(t,e){var r=ni(t,"border-"+e+"-radius").split(/\s+/g).map(parseFloat);return 1==r.length&&r.push(r[0]),ng({x:r[0],y:r[1]})}function nl(t){var e=t.getBoundingClientRect();return e=nc(e,"border-*-width",t),e=nc(e,"padding-*",t)}function nc(t,e,r){var n,i,o,s,a;return"string"==typeof e?(i=parseFloat(ni(n=nn(r),e.replace("*","top"))),o=parseFloat(ni(n,e.replace("*","right"))),s=parseFloat(ni(n,e.replace("*","bottom"))),a=parseFloat(ni(n,e.replace("*","left")))):"number"==typeof e&&(i=o=s=a=e),{top:t.top+i,right:t.right-o,bottom:t.bottom-s,left:t.left+a,width:t.right-t.left-o-a,height:t.bottom-t.top-s-i}}function nu(t){return 180*t/Math.PI%360}function nf(t,e){return e=new _(e[0],e[1],e[2],e[3],e[4],e[5]),t.transform(e),e}function nd(t,e){t.clip(e)}function np(t,e,r,n){for(var i=new I([e,r],n).curvePoints(),o=1;o<i.length;)t.curveTo(i[o++],i[o++],i[o++])}function ng(t){return(t.x<=0||t.y<=0)&&(t.x=t.y=0),t}function nm(t,e,r,n,i){var o=Math.max(0,e.x),s=Math.max(0,e.y),a=Math.max(0,r.x),h=Math.max(0,r.y),l=Math.max(0,n.x),c=Math.max(0,n.y),u=Math.max(0,i.x),f=Math.max(0,i.y),d=Math.min(t.width/(o+a),t.height/(h+c),t.width/(l+u),t.height/(f+s));return d<1&&(o*=d,s*=d,a*=d,h*=d,l*=d,c*=d,u*=d,f*=d),{tl:{x:o,y:s},tr:{x:a,y:h},br:{x:l,y:c},bl:{x:u,y:f}}}function nx(t,e,r){var n=nn(t),i=nh(n,"top-left"),o=nh(n,"top-right"),s=nh(n,"bottom-left"),a=nh(n,"bottom-right");if("padding"==r||"content"==r){var h=ns(n,"top"),l=ns(n,"right"),c=ns(n,"bottom"),u=ns(n,"left");if(i.x-=u.width,i.y-=h.width,o.x-=l.width,o.y-=h.width,a.x-=l.width,a.y-=c.width,s.x-=u.width,s.y-=c.width,"content"==r){var f=parseFloat(ni(n,"padding-top")),d=parseFloat(ni(n,"padding-right")),p=parseFloat(ni(n,"padding-bottom")),g=parseFloat(ni(n,"padding-left"));i.x-=g,i.y-=f,o.x-=d,o.y-=f,a.x-=d,a.y-=p,s.x-=g,s.y-=p}}return"number"==typeof r&&(i.x-=r,i.y-=r,o.x-=r,o.y-=r,a.x-=r,a.y-=r,s.x-=r,s.y-=r),nw(e,i,o,a,s)}function nw(t,e,r,n,i){var o=nm(t,e,r,n,i),s=o.tl,a=o.tr,h=o.br,l=o.bl,c=new ra({fill:null,stroke:null});return c.moveTo(t.left,t.top+s.y),s.x&&np(c,t.left+s.x,t.top+s.y,{startAngle:-180,endAngle:-90,radiusX:s.x,radiusY:s.y}),c.lineTo(t.right-a.x,t.top),a.x&&np(c,t.right-a.x,t.top+a.y,{startAngle:-90,endAngle:0,radiusX:a.x,radiusY:a.y}),c.lineTo(t.right,t.bottom-h.y),h.x&&np(c,t.right-h.x,t.bottom-h.y,{startAngle:0,endAngle:90,radiusX:h.x,radiusY:h.y}),c.lineTo(t.left+l.x,t.bottom),l.x&&np(c,t.left+l.x,t.bottom-l.y,{startAngle:90,endAngle:180,radiusX:l.x,radiusY:l.y}),c.close()}function ny(t,e){var r=String(parseFloat(t));switch(e){case"decimal-leading-zero":return r.length<2&&(r="0"+r),r;case"lower-roman":return ee(t).toLowerCase();case"upper-roman":return ee(t).toUpperCase();case"lower-latin":case"lower-alpha":return ne(t-1);case"upper-latin":case"upper-alpha":return ne(t-1).toUpperCase();default:return r}}function nv(t){if(t.cssText)return t.cssText;for(var e=[],r=0;r<t.length;++r)e.push(t[r]+": "+ni(t,t[r]));return e.join(";\n")}function nb(t,e){if(t.tagName==rG){n_(t,e);return}let r=[];function n(e,n){let i=nn(t,e),o=i.content;if(r9(i),o&&"normal"!=o&&"none"!=o&&"0px"!=i.width){let e=t.ownerDocument.createElement(rG);rz(e,nv(i)),e.textContent=function(t,e){function r(t,e,r){return r?(r=r.replace(/^\s*(["'])(.*)\1\s*$/,"$2"),(function(t){var e=[],r=rH;for(t="_counter_"+t;r;)r4(r,t)&&e.push(r[t]),r=Object.getPrototypeOf(r);return e.reverse()})(t).map(function(t){return ny(t,e)}).join(r)):ny(rH["_counter_"+t]||0,e)}var n,i=r0(e,/^\s+/),o=[];
1return i.forEach(function(e){var i;(n=/^\s*(["'])(.*)\1\s*$/.exec(e))?o.push(n[2].replace(/\\([0-9a-f]{4})/gi,function(t,e){return String.fromCharCode(parseInt(e,16))})):(n=/^\s*counter\((.*?)\)\s*$/.exec(e))?(i=r0(n[1]),o.push(r(i[0],i[1]))):(n=/^\s*counters\((.*?)\)\s*$/.exec(e))?(i=r0(n[1]),o.push(r(i[0],i[2],i[1]))):(n=/^\s*attr\((.*?)\)\s*$/.exec(e))?o.push(t.getAttribute(n[1])||""):o.push(e)}),o.join("")}(t,o),t.insertBefore(e,n),r.push(e)}}if(n(":before",t.firstChild),n(":after",null),r.length>0){let n=t.className;t.className+=" kendo-pdf-hide-pseudo-elements",n_(t,e),t.className=n,r.forEach(function(e){t.removeChild(e)})}else n_(t,e)}function n_(t,e){var r,n,i,o,s,a=nn(t),h=ns(a,"top"),l=ns(a,"right"),c=ns(a,"bottom"),u=ns(a,"left"),f=nh(a,"top-left"),d=nh(a,"top-right"),p=nh(a,"bottom-left"),g=nh(a,"bottom-right"),m=ni(a,"direction"),x=ni(a,"background-color");x=r8(x);var w=rQ(ni(a,"background-image")),y=r0(ni(a,"background-repeat")),v=r0(ni(a,"background-position")),b=r0(ni(a,"background-origin")),_=r0(ni(a,"background-size"));rU&&"ellipsis"==(r=a.textOverflow)&&(n=t.style.textOverflow,t.style.textOverflow="clip"),rE.msie&&rE.version<10&&(v=r0(t.currentStyle.backgroundPosition));var S=nc(t.getBoundingClientRect(),"border-*-width",t);!function(){var t=ni(a,"clip"),r=/^\s*rect\((.*)\)\s*$/.exec(t);if(r){var n=r[1].split(/[ ,]+/g),i="auto"==n[0]?S.top:parseFloat(n[0])+S.top,o="auto"==n[1]?S.right:parseFloat(n[1])+S.left,s="auto"==n[2]?S.bottom:parseFloat(n[2])+S.top,h="auto"==n[3]?S.left:parseFloat(n[3])+S.left,l=new eP,c=new ra().moveTo(h,i).lineTo(o,i).lineTo(o,s).lineTo(h,s).close();nd(l,c),e.append(l),e=l,nr(c)}}();var C=ni(a,"display");if("table-row"==C)for(o=0,i=[],s=t.children;o<s.length;++o)i.push(s[o].getBoundingClientRect());else 1==(i=t.getClientRects()).length&&(i=[t.getBoundingClientRect()]);for(o=0,i=function(e){if(/^td$/i.test(t.tagName)){var r=rH.table;if(r&&"collapse"==ni(r.style,"border-collapse")){var n=ns(r.style,"left").width,i=ns(r.style,"top").width;if(0===n&&0===i)return e;var o=r.element.getBoundingClientRect(),s=r.element.rows[0].cells[0].getBoundingClientRect();if(s.top==o.top||s.left==o.left)return rF(e).map(function(t){return{left:t.left+n,top:t.top+i,right:t.right+n,bottom:t.bottom+i,height:t.height,width:t.width}})}}return e}(i);o<i.length;++o)!function(r,n,i){if(0!==r.width&&0!==r.height){!function(r){var n=new eP;if(nd(n,nw(r,f,d,g,p)),e.append(n),x){var i=new ra({fill:{color:x.toCssRgba()},stroke:null});i.moveTo(r.left,r.top).lineTo(r.right,r.top).lineTo(r.right,r.bottom).lineTo(r.left,r.bottom).close(),n.append(i)}for(var o=w.length;--o>=0;)!function(e,r,n,i,o,s,a){if(n&&"none"!=n){if("url"==n.type){var h=rj[n.url];h&&h.width>0&&h.height>0&&l(e,r,h.width,h.height,function(t,e){t.append(new rc(n.url,e))})}else{if("linear"!=n.type)return;l(e,r,r.width,r.height,function(t){return function(e,r){var n=r.width(),i=r.height();switch(t.type){case"linear":var o=null!=t.angle?t.angle:Math.PI;switch(t.to){case"top":o=0;break;case"left":o=-Math.PI/2;break;case"bottom":o=Math.PI;break;case"right":o=Math.PI/2;break;case"top left":case"left top":o=-Math.atan2(i,n);break;case"top right":case"right top":o=Math.atan2(i,n);break;case"bottom left":case"left bottom":o=Math.PI+Math.atan2(i,n);break;case"bottom right":case"right bottom":o=Math.PI-Math.atan2(i,n)}t.reverse&&(o-=Math.PI),(o%=2*Math.PI)<0&&(o+=2*Math.PI);var s=Math.abs(n*Math.sin(o))+Math.abs(i*Math.cos(o)),a=Math.atan(n*Math.tan(o)/i),h=Math.sin(a),l=Math.cos(a),c=Math.abs(h)+Math.abs(l),u=c/2*h,f=c/2*l;o>Math.PI/2&&o<=3*Math.PI/2&&(u=-u,f=-f);var d=[],p=0,g=t.stops.map(function(e,r){var n=e.percent;n?n=parseFloat(n)/100:e.length?n=parseFloat(e.length)/s:0===r?n=0:r==t.stops.length-1&&(n=1);var i={color:e.color.toCssRgba(),offset:n};return null!=n?(p=n,d.forEach(function(t,e){t.stop.offset=t.left+(p-t.left)*(e+1)/(d.length+1)}),d=[]):d.push({left:p,stop:i}),i}),m=[.5-u,.5+f],x=[.5+u,.5-f];e.append(ra.fromRect(r).stroke(null).fill(new rw({start:m,end:x,stops:g,userSpace:!1})));break;case"radial":window.console&&window.console.log&&window.console.log("Radial gradients are not yet supported in HTML renderer")}}}(n))}}function l(e,r,n,h,l){var c,u=n/h,f=r;if("content-box"==s?(f=nc(f,"border-*-width",t),f=nc(f,"padding-
1*",t)):"padding-box"==s&&(f=nc(f,"border-*-width",t)),!/^\s*auto(\s+auto)?\s*$/.test(a)){if("contain"==a)c=Math.min(f.width/n,f.height/h),n*=c,h*=c;else if("cover"==a)c=Math.max(f.width/n,f.height/h),n*=c,h*=c;else{var d=a.split(/\s+/g);n=/%$/.test(d[0])?f.width*parseFloat(d[0])/100:parseFloat(d[0]),h=1==d.length||"auto"==d[1]?n/u:/%$/.test(d[1])?f.height*parseFloat(d[1])/100:parseFloat(d[1])}}var p=String(o);switch(p){case"bottom":p="50% 100%";break;case"top":p="50% 0";break;case"left":p="0 50%";break;case"right":p="100% 50%";break;case"center":p="50% 50%"}1==(p=p.split(/\s+/)).length&&(p[1]="50%"),/%$/.test(p[0])?p[0]=parseFloat(p[0])/100*(f.width-n):p[0]=parseFloat(p[0]),/%$/.test(p[1])?p[1]=parseFloat(p[1])/100*(f.height-h):p[1]=parseFloat(p[1]);var g=new L([f.left+p[0],f.top+p[1]],[n,h]);function m(){for(;g.origin.x>r.left;)g.origin.x-=n}function x(){for(;g.origin.y>r.top;)g.origin.y-=h}function w(){for(;g.origin.x<r.right;)l(e,g.clone()),g.origin.x+=n}if("no-repeat"==i)l(e,g);else if("repeat-x"==i)m(),w();else if("repeat-y"==i)for(x();g.origin.y<r.bottom;)l(e,g.clone()),g.origin.y+=h;else if("repeat"==i){m(),x();for(var y=g.origin.clone();g.origin.y<r.bottom;)g.origin.x=y.x,w(),g.origin.y+=h}}}(n,r,w[o],y[o%y.length],v[o%v.length],b[o%b.length],_[o%_.length])}(r);var o=u.width>0&&(n&&"ltr"==m||i&&"rtl"==m),s=l.width>0&&(i&&"ltr"==m||n&&"rtl"==m);if(0!==h.width||0!==u.width||0!==l.width||0!==c.width){if(h.color==l.color&&h.color==c.color&&h.color==u.color&&h.width==l.width&&h.width==c.width&&h.width==u.width&&o&&s){var a=nx(t,r=nc(r,h.width/2),h.width/2);a.options.stroke={color:h.color,width:h.width},e.append(a);return}if(0===f.x&&0===d.x&&0===g.x&&0===p.x&&h.width<2&&u.width<2&&l.width<2&&c.width<2){h.width>0&&e.append(new ra({stroke:{width:h.width,color:h.color}}).moveTo(r.left,r.top+h.width/2).lineTo(r.right,r.top+h.width/2)),c.width>0&&e.append(new ra({stroke:{width:c.width,color:c.color}}).moveTo(r.left,r.bottom-c.width/2).lineTo(r.right,r.bottom-c.width/2)),o&&e.append(new ra({stroke:{width:u.width,color:u.color}}).moveTo(r.left+u.width/2,r.top).lineTo(r.left+u.width/2,r.bottom)),s&&e.append(new ra({stroke:{width:l.width,color:l.color}}).moveTo(r.right-l.width/2,r.top).lineTo(r.right-l.width/2,r.bottom));return}var S=nm(r,f,d,g,p),C=S.tl,T=S.tr,k=S.br,A=S.bl;M(h.color,r.width,h.width,u.width,l.width,C,T,[1,0,0,1,r.left,r.top]),M(c.color,r.width,c.width,l.width,u.width,k,A,[-1,0,0,-1,r.right,r.bottom]),M(u.color,r.height,u.width,c.width,h.width,O(A),O(C),[0,-1,1,0,r.left,r.bottom]),M(l.color,r.height,l.width,h.width,c.width,O(T),O(k),[0,1,-1,0,r.right,r.top])}}function O(t){return{x:t.y,y:t.x}}}(i[o],0===o,o==i.length-1);if("A"==t.tagName&&t.href&&!/^#?$/.test(t.getAttribute("href"))&&(!rH._avoidLinks||!rW(t,rH._avoidLinks))){let r=document.createRange();r.selectNodeContents(t),rF(r.getClientRects()).forEach(function(r){let n=new eP;n._pdfLink={url:t.href,top:r.top,right:r.right,bottom:r.bottom,left:r.left},e.append(n)})}return i.length>0&&"list-item"==C&&!t.getAttribute("kendo-no-bullet")&&function(){var r=ni(a,"list-style-type");if("none"!=r){var n=ni(a,"list-style-position");switch(r){case"circle":case"disc":case"square":i(function(t){t.innerHTML="&nbsp;",t.setAttribute(rq,r)});break;case"decimal":case"decimal-leading-zero":i(function(t){o(function(e){++e,"decimal-leading-zero"==r&&e<10&&(e="0"+e),t.innerHTML=e+"."})});break;case"lower-roman":case"upper-roman":i(function(t){o(function(e){e=ee(e+1),"upper-roman"==r&&(e=e.toUpperCase()),t.innerHTML=e+"."})});break;case"lower-latin":case"lower-alpha":case"upper-latin":case"upper-alpha":i(function(t){o(function(e){e=ne(e),/^upper/i.test(r)&&(e=e.toUpperCase()),t.innerHTML=e+"."})})}}function i(r){na(t,function(){t.style.position="relative";var i=t.ownerDocument.createElement(rG);i.style.position="absolute",i.style.boxSizing="border-box","outside"==n?(i.style.width="6em",i.style.left="-6.8em",i.style.textAlign="right"):i.style.left="0px",r(i),t.insertBefore(i,t.firstChild),nM(i,e),t.removeChild(i)})}function o(e){var r=t.parentNode.children,n=t.getAttribute("kendo-split-index");if(null!=n)return e(0|n,r.length);for(var i=0;i<r.length;++i)if(r[i]===t)return e(i,r.length)}}(i[0]),!function(){function r(){var r=nx(t,S,"padding"),n=new eP;nd(n,r),e.append(n),e=n,nr(r)}
1/^(?:textarea|select|input)$/i.test(t.tagName)?r():/^(hidden|auto|scroll)/.test(ni(a,"overflow"))?r():/^(hidden|auto|scroll)/.test(ni(a,"overflow-x"))?r():/^(hidden|auto|scroll)/.test(ni(a,"overflow-y"))&&r()}(),!function(t,e){let r=null;if(window.kendo&&window.kendo.jQuery&&t.getAttribute(window.kendo.attr("role"))){let e=window.kendo.widgetInstance(window.kendo.jQuery(t));e&&(e.exportDOMVisual||e.exportVisual)&&(r=e.exportDOMVisual?e.exportDOMVisual():e.exportVisual())}if(null===r&&t._kendoExportVisual){let e=t.getBoundingClientRect(),n={width:e.width,height:e.height};r=t._kendoExportVisual(n)}if(!r)return!1;let n=new eP;n.children.push(r);let i=t.getBoundingClientRect();return n.transform(D().translate(i.left,i.top)),e.append(n),!0}(t,e)&&!function(t,e){let r=t.getAttribute(rq);if(!r)return!1;var n=t.getBoundingClientRect();let i=nn(t).color;if("square"===r){let t=n.height/5;e.append(new ry(new L([n.right-t,n.top+n.height/2.1],[t,t])).fill(i).stroke(i))}else{let t=n.height/7,o=new rv(new q([n.right-t,n.top+(n.height+t)/2],t));"circle"===r?o.stroke(i,.5):o.fill(i).stroke(null),e.append(o)}return!0}(t,e)&&function t(e,r){switch(rH._stackingContext.element===e&&(rH._stackingContext.group=r),e.tagName.toLowerCase()){case"img":nS(e,e.src,r);break;case"svg":{let t=function(t){let e=new window.XMLSerializer,r=e.serializeToString(t);if(rE.mozilla&&!(t.getAttribute("width")&&t.getAttribute("height"))){let n=new window.DOMParser().parseFromString(r,"image/svg+xml").documentElement,i=nl(t);n.setAttribute("width",i.width),n.setAttribute("height",i.height),r=e.serializeToString(n)}return r}(e);nS(e,`data:image/svg+xml;base64,${tp(t)}`,r);break}case"canvas":try{nS(e,e.toDataURL("image/png"),r)}catch(t){}break;case"textarea":case"input":case"select":!function(e,r){var n,i=e.tagName.toLowerCase();if("input"==i&&("checkbox"==e.type||"radio"==e.type))return h=ni(nn(e),"color"),l=e.getBoundingClientRect(),void("checkbox"==e.type?(r.append(ra.fromRect(new L([l.left+1,l.top+1],[l.width-2,l.height-2])).stroke(h,1)),e.checked&&r.append(new ra().stroke(h,1.2).moveTo(l.left+.22*l.width,l.top+.55*l.height).lineTo(l.left+.45*l.width,l.top+.75*l.height).lineTo(l.left+.78*l.width,l.top+.22*l.width))):(r.append(new rv(new q([(l.left+l.right)/2,(l.top+l.bottom)/2],Math.min(l.width-2,l.height-2)/2)).stroke(h,1)),e.checked&&r.append(new rv(new q([(l.left+l.right)/2,(l.top+l.bottom)/2],Math.min(l.width-8,l.height-8)/2)).fill(h).stroke(null))));var o=e.parentNode,s=e.ownerDocument,a=s.createElement(rG);if(rz(a,nv(nn(e))),"input"==i&&(a.style.whiteSpace="pre"),("select"==i||"textarea"==i)&&(a.style.overflow="auto"),"select"==i){if(e.multiple)for(var h,l,c=0;c<e.options.length;++c)rz(n=s.createElement(rG),nv(nn(e.options[c]))),n.style.display="block",n.textContent=e.options[c].textContent,a.appendChild(n);else(n=e.selectedOptions&&e.selectedOptions.length>0?e.selectedOptions[0]:e.options[e.selectedIndex])&&(a.textContent=n.textContent)}else a.textContent=e.value;o.insertBefore(a,e),a.scrollLeft=e.scrollLeft,a.scrollTop=e.scrollTop,e.style.display="none",t(a,r),e.style.display="",o.removeChild(a)}(e,r);break;default:for(var n=[],i=[],o=[],s=e.firstChild;s;s=s.nextSibling)switch(s.nodeType){case 3:/\S/.test(s.data)&&function(t,e,r){if(null!=(n=rH._clipbox)&&(!n||0!==n.width()&&0!==n.height())){var n,i=nn(t);if(!(-500>parseFloat(ni(i,"text-indent")))){var o=e.data,s=0,a=o.search(/\S\s*$/)+1;if(a){var h=ni(i,"font-size"),l=ni(i,"line-height"),c=[ni(i,"font-style"),ni(i,"font-variant"),ni(i,"font-weight"),h,ni(i,"font-family")].join(" ");if(h=parseFloat(h),l=parseFloat(l),!(0===h||isNaN(h))){var u=ni(i,"color"),f=t.ownerDocument.createRange(),d="justify"==ni(i,"text-align"),p=ni(i,"column-count",1),g=ni(i,"white-space"),m=ni(i,"text-transform"),x=t.getBoundingClientRect().width/h*5;0===x&&(x=500);var w=null,y=rH.underline,v=rH["line-through"],b=rH.overline,_=rH["underline-offset"];for(y&&S(function(t){let e=h/12,r=t.bottom;null!=_?r+=_:r+=e,M(e,t,y,r)});!function(){var t,n=s,i=o.substr(s).search(/\S/);if(s+=i,i<0||s>=a)return!0;f.setStart(e,s),f.setEnd(e,s+1),t=C(f);var h=!1;if((d||p>1)&&(i=o.substr(s).search(/\s/))>=0){f.setEnd(e,s+i);var y=C(f);y.bottom==t.bottom&&(t=y,h=!0,s+=i)}if(!h){if((i=function r(n,i,o){f.setEnd(e,i);var s=C(f);return s.bottom!=t.bottom&&n<i?r(n,n+i>>1,i):s.right==t.right?i:(t=s,i<o)?r(i,i+o>>1,o):i}(s,Math.min(a,s+x),a))==s)return!0;
1if(s=i,0===(i=f.toString().search(/\s+$/)))return!1;i>0&&(f.setEnd(e,f.startOffset+i),t=C(f))}rU&&(t=f.getClientRects()[0]);var v=f.toString();if(/^(?:pre|pre-wrap)$/i.test(g)){if(/\t/.test(v)){var b=0;for(i=n;i<f.startOffset;++i){var _=o.charCodeAt(i);9==_?b+=8-b%8:10==_||13==_?b=0:b++}for(;(i=v.search("	"))>=0;){var S="        ".substr(0,8-(b+i)%8);v=v.substr(0,i)+S+v.substr(i+1)}}}else v=v.replace(/\s+/g," ");h||(w=t.bottom),function(t,e){if(rU&&!isNaN(l)){var n=r2(c),i=(e.top+e.bottom-n)/2;e={top:i,right:e.right,bottom:i+n,left:e.left,height:n,width:e.right-e.left}}switch(m){case"uppercase":t=t.toUpperCase();break;case"lowercase":t=t.toLowerCase();break;case"capitalize":t=t.replace(/(?:^|\s)\S/g,t=>t.toUpperCase())}var o=new rY(t,new L([e.left,e.top],[e.width,e.height]),{font:c,fill:{color:u}});r.append(o)}(v,t)}(););(v||b)&&S(function(t){let e=h/12;M(e,t,v,t.bottom-t.height/2.7),M(e,t,b,t.top)})}}}}function S(t){f.selectNode(e);let r=rF(f.getClientRects());(S=t=>r.forEach(t))(t)}function C(t){if(rU||rE.chrome||rE.safari){for(var e=t.getClientRects(),r={top:1/0,right:-1/0,bottom:-1/0,left:1/0},n=!1,i=0;i<e.length;++i){var o=e[i];o.width<=1||o.bottom===w||(r.left=Math.min(o.left,r.left),r.top=Math.min(o.top,r.top),r.right=Math.max(o.right,r.right),r.bottom=Math.max(o.bottom,r.bottom),n=!0)}return n?(r.width=r.right-r.left,r.height=r.bottom-r.top,r):t.getBoundingClientRect()}return t.getBoundingClientRect()}function M(t,e,n,i){if(n){var o=new ra({stroke:{width:t,color:n}});i-=t,o.moveTo(e.left,i).lineTo(e.right,i),r.append(o)}}}(e,s,r);break;case 1:var a=nn(s),h=ni(a,"float");"static"!=ni(a,"position")?o.push(s):"none"!=h?i.push(s):n.push(s)}er(n,nC).forEach(function(t){nM(t,r)}),er(i,nC).forEach(function(t){nM(t,r)}),er(o,nC).forEach(function(t){nM(t,r)})}}(t,e),rU&&"ellipsis"==r&&(t.style.textOverflow=n),e;function M(t,r,n,i,o,s,a,h){if(!(n<=0)){var l,c=new eP;nf(c,h),e.append(c),ng(s),ng(a),l=new ra({fill:{color:t},stroke:null}),c.append(l),l.moveTo(s.x?Math.max(s.x,i):0,0).lineTo(r-(a.x?Math.max(a.x,o):0),0).lineTo(r-Math.max(a.x,o),n).lineTo(Math.max(s.x,i),n).close(),s.x&&u(i,s,[-1,0,0,1,s.x,0]),a.x&&u(o,a,[1,0,0,1,r-a.x,0])}function u(e,r,i){var o=Math.PI/2*e/(e+n),s={x:r.x-e,y:r.y-n},a=new ra({fill:{color:t},stroke:null}).moveTo(0,0);nf(a,i),np(a,0,r.y,{startAngle:-90,endAngle:-nu(o),radiusX:r.x,radiusY:r.y}),s.x>0&&s.y>0?(a.lineTo(s.x*Math.cos(o),r.y-s.y*Math.sin(o)),np(a,0,r.y,{startAngle:-nu(o),endAngle:-90,radiusX:s.x,radiusY:s.y,anticlockwise:!0})):s.x>0?a.lineTo(s.x,n).lineTo(0,n):a.lineTo(s.x,n).lineTo(s.x,0),c.append(a.close())}}}function nS(t,e,r){var n=nl(t),i=new rc(e,new L([n.left,n.top],[n.width,n.height]));nd(i,nx(t,n,"content")),r.append(i)}function nC(t,e){var r=nn(t),n=nn(e),i=parseFloat(ni(r,"z-index")),o=parseFloat(ni(n,"z-index")),s=ni(r,"position"),a=ni(n,"position");return isNaN(i)&&isNaN(o)?/static|absolute/.test(s)&&/static|absolute/.test(a)?0:"static"==s?-1:"static"==a?1:0:isNaN(i)?0===o?0:o>0?-1:1:isNaN(o)?0===i?0:i>0?1:-1:parseFloat(i)-parseFloat(o)}function nM(t,e){var r,n=nn(t);if(r9(n),!/^(style|script|link|meta|iframe|col|colgroup)$/i.test(t.tagName)&&null!=rH._clipbox){var i=parseFloat(ni(n,"opacity")),o=ni(n,"visibility"),s=ni(n,"display");if(0!==i&&"hidden"!=o&&"none"!=s){var a=function(t){var e=ni(t,"transform");if("none"==e)return null;var r=/^\s*matrix\(\s*(.*?)\s*\)\s*$/.exec(e);if(r){var n=ni(t,"transform-origin");return{matrix:r=r[1].split(/\s*,\s*/g).map(parseFloat),origin:n=n.split(/\s+/g).map(parseFloat)}}}(n),h=ni(n,"z-index");(a||i<1)&&"auto"==h&&(h=0),r=function(t,e,r){"auto"!=r?(n=rH._stackingContext.group,r=parseFloat(r)):(n=e,r=0);for(var n,i=n.children,o=0;o<i.length&&(null==i[o]._dom_zIndex||!(i[o]._dom_zIndex>r));++o);var s=new eP;if(n.insert(o,s),s._dom_zIndex=r,n!==e&&rH._clipbox){var a=rH._matrix.invert(),h=rH._clipbox.transformCopy(a);nd(s,ra.fromRect(h))}return s}(0,e,h),i<1&&r.opacity(i*r.opacity()),function(t,e,r){(rH=Object.create(rH))[t.tagName.toLowerCase()]={element:t,style:e};let n=ni(e,"text-decoration");if(n&&"none"!=n){let t=ni(e,"text-decoration-color");n.split(/\s+/g).forEach(function(r){if(!rH[r]&&(rH[r]=t,"underline"==r)){let t=ni(e,"text-underline-offset");"auto"!=t&&(rH["underline-offset"]=parseFloat(t))}})}(function(t){if("none"!=ni(t,"transform")||"static"!=ni(t,"position")||"auto"!=ni(t,"z-index")||
11>ni(t,"opacity"))return!0})(e)&&(rH._stackingContext={element:t,group:r})}(t,n,r),a?na(t,function(){no(t.style,"transform","none","important"),no(t.style,"transition","none","important"),"static"==ni(n,"position")&&no(t.style,"position","relative","important");var e=t.getBoundingClientRect(),i=e.left+a.origin[0],o=e.top+a.origin[1],s=[1,0,0,1,-i,-o];s=nT(s,a.matrix),s=nf(r,s=nT(s,[1,0,0,1,i,o])),rH._matrix=rH._matrix.multiplyCopy(s),nb(t,r)}):nb(t,r),rH=Object.getPrototypeOf(rH)}}}function nT(t,e){var r=t[0],n=t[1],i=t[2],o=t[3],s=t[4],a=t[5],h=e[0],l=e[1],c=e[2],u=e[3];return[r*h+n*c,r*l+n*u,i*h+o*c,i*l+o*u,s*h+a*c+e[4],s*l+a*u+e[5]]}class nk extends eP{get nodeType(){return ev}constructor(t){super();let{width:e,height:r}=t;this._size=A.create([e,r]),this.id=ew()}size(t){return t?(this._size=A.create(t),this):this._size}}class nA extends eC(rm,["center"]){constructor(t={}){super(t),this.center(t.center||new k),this._radius=void 0!==t.radius?t.radius:1,this._fallbackFill=t.fallbackFill}radius(t){return void 0!==t?(this._radius=t,this.geometryChange(),this):this._radius}fallbackFill(t){return void 0!==t?(this._fallbackFill=t,this.optionsChange(),this):this._fallbackFill}}let nL={fill:0,stroke:1,fillAndStroke:2},nO={dash:[4],dashDot:[4,2,1,2],dot:[1,2],longDash:[8,2],longDashDot:[8,2,1,2],longDashDotDot:[8,2,1,2,1,2],solid:[]},nP={butt:0,round:1,square:2},nB={miter:0,round:1,bevel:2};function nz(t,e){var r=t[e.nodeType];return r?r.call.apply(r,arguments):e}function nD(t,e,r){t.options._pdfDebug&&e.comment("BEGIN: "+t.options._pdfDebug);var n,i=t.transform(),o=t.opacity();if(e.save(),null!=o&&o<1&&e.setOpacity(o),function(t,e){var r=t.stroke&&t.stroke();if(r){var n=r.color;if(n){if(null==(n=nW(n)))return;e.setStrokeColor(n.r,n.g,n.b),1!=n.a&&e.setStrokeOpacity(n.a)}var i=r.width;if(null!=i){if(0===i)return;e.setLineWidth(i)}var o=r.dashType;o&&e.setDashPattern(nO[o],0);var s=r.lineCap;s&&e.setLineCap(nP[s]);var a=r.lineJoin;a&&e.setLineJoin(nB[a]);var h=r.opacity;null!=h&&e.setStrokeOpacity(h)}}(t,e,r),function(t,e){var r=t.fill&&t.fill();if(r&&!(r instanceof rm)&&!(r instanceof nk)){var n=r.color;if(n){if(null==(n=nW(n)))return;e.setFillColor(n.r,n.g,n.b),1!=n.a&&e.setFillOpacity(n.a)}var i=r.opacity;null!=i&&e.setFillOpacity(i)}}(t,e,r),i){var s=i.matrix();e.transform(s.a,s.b,s.c,s.d,s.e,s.f)}(n=t.clip())&&(nF(n,e,r),e.clip()),nz({Path:nG,MultiPath:nq,Circle:nj,Arc:nH,Text:nU,Image:nX,Group:nV,Rect:nK},t,e,r),e.restore(),t.options._pdfDebug&&e.comment("END: "+t.options._pdfDebug)}function nR(t){return t&&(t instanceof rm||t instanceof nk||t.color&&!/^(none|transparent)$/i.test(t.color)&&(null==t.width||t.width>0)&&(null==t.opacity||t.opacity>0))}function nN(t,e,r,n){var i=t.fill();if(i instanceof rm){n?e.clipStroke():e.clip();var o,s,a=i instanceof nA;a?(o={x:i.center().x,y:i.center().y,r:0},s={x:i.center().x,y:i.center().y,r:i.radius()}):(o={x:i.start().x,y:i.start().y},s={x:i.end().x,y:i.end().y});var h=i.stops.elements().map(function(t){var e=t.offset();e=/%$/.test(e)?parseFloat(e)/100:parseFloat(e);var r=nW(t.color());return r.a*=t.opacity(),{offset:e,color:r}});h.unshift(h[0]),h.push(h[h.length-1]);var l={userSpace:i.userSpace(),type:a?"radial":"linear",start:o,end:s,stops:h},c=t.rawBBox(),u=c.topLeft(),f=c.getSize();return c={left:u.x,top:u.y,width:f.width,height:f.height},e.gradient(l,c),!0}}function nI(t,e,r,n){let i=t.fill();if(i instanceof nk){n?e.clipStroke():e.clip();let r=t.rawBBox(),o=r.topLeft(),s=r.getSize(),a=t.stroke()?t.stroke().width:0;
1return e.pattern(i,{left:o.x+a/2,top:o.y+a/2,width:s.width-a,height:s.height-a},nY),!0}}function nE(t,e,r){nR(t.fill())&&nR(t.stroke())?nN(t,e,r,!0)||nI(t,e,r,!0)||e.fillStroke():nR(t.fill())?nN(t,e,r,!1)||nI(t,e,r,!1)||e.fill():nR(t.stroke())?e.stroke():e.nop()}function nF(t,e,r){var n=t.segments;if(0!==n.length&&!function(t,e){var r=t.segments;if(4==r.length&&t.options.closed){for(var n=[],i=0;i<r.length;++i){if(r[i].controlIn())return!1;n[i]=r[i].anchor()}if(n[0].y==n[1].y&&n[1].x==n[2].x&&n[2].y==n[3].y&&n[3].x==n[0].x||n[0].x==n[1].x&&n[1].y==n[2].y&&n[2].x==n[3].x&&n[3].y==n[0].y)return e.rect(n[0].x,n[0].y,n[2].x-n[0].x,n[2].y-n[0].y),!0}}(t,e,r)){for(var i,o=0;o<n.length;++o){var s=n[o],a=s.anchor();if(i){var h=i.controlOut(),l=s.controlIn();h&&l?e.bezier(h.x,h.y,l.x,l.y,a.x,a.y):e.lineTo(a.x,a.y)}else e.moveTo(a.x,a.y);i=s}t.options.closed&&e.close()}}function nG(t,e,r){nF(t,e,r),nE(t,e,r)}function nq(t,e,r){for(var n=t.paths,i=0;i<n.length;++i)nF(n[i],e,r);nE(t,e,r)}function nj(t,e,r){var n=t.geometry();e.circle(n.center.x,n.center.y,n.radius),nE(t,e,r)}function nH(t,e,r){var n=t.geometry().curvePoints();e.moveTo(n[0].x,n[0].y);for(var i=1;i<n.length;)e.bezier(n[i].x,n[i++].y,n[i].x,n[i++].y,n[i].x,n[i++].y);nE(t,e,r)}function nU(t,e){var r,n=tQ(t.options.font),i=t._position;e.transform(1,0,0,-1,i.x,i.y+n.fontSize);let o=r=>{e.beginText(),e.setFont(t0(n),n.fontSize),e.setTextRenderingMode(r),e.showText(t.content(),t._pdfRect?t._pdfRect.width():null)};t.fill()&&t.stroke()?(r=nL.fillAndStroke,"stroke"===t.options.paintOrder&&(o(nL.stroke),r=nL.fill)):t.fill()?r=nL.fill:t.stroke()&&(r=nL.stroke),o(r),e.endText()}function nY(t,e,r){for(var n=t.children,i=0;i<n.length;++i)nD(n[i],e,r)}function nV(t,e,r){t._pdfLink&&e.addLink(t._pdfLink.url,t._pdfLink);for(var n=t.children,i=0;i<n.length;++i)nD(n[i],e,r)}function nX(t,e){var r=t.src();if(r){var n=t.rect(),i=n.getOrigin(),o=n.getSize();e.transform(o.width,0,0,-o.height,i.x,i.y+o.height),e.drawImage(r)}}function nK(t,e,r){var n=t.geometry();let[i,o]=n.cornerRadius;0===i&&0===o?(e.rect(n.origin.x,n.origin.y,n.size.width,n.size.height),nE(t,e,r)):nG(ra.fromRect(n,t.options),e,r)}function nW(t){var e=ep(t,!0);return e?e.toRGB():null}function nZ(t,e){var r,n=t4();for(var i in e)"margin"==i&&t.options.pdf&&t.options.pdf._ignoreMargin||t.options.set("pdf."+i,e[i]);return r=n.resolve,function(t,e){var r=[],n={},i=t.options;function o(t,e,r){return(r||(r=i),r.pdf&&null!=r.pdf[t])?r.pdf[t]:e}var s=o("multiPage"),a=o("imgDPI",300);t_={};let h={Image:function(t){var e=t.src(),r=t.bbox().size;if(a){var i=n[e];r={width:Math.ceil(r.width*a/72),height:Math.ceil(r.height*a/72)},i&&(r.width=Math.max(i.width,r.width),r.height=Math.max(i.height,r.height))}n[e]=r},Text:function(t){var e=t0(tQ(t.options.font));0>r.indexOf(e)&&r.push(e)}};function l(){if(!(--c>0)){var r=new tM({producer:o("producer"),title:o("title"),author:o("author"),subject:o("subject"),keywords:o("keywords"),creator:o("creator"),date:o("date"),autoPrint:o("autoPrint")});s?t.children.forEach(n):n(t),e(r.render(),r)}function n(t){var e=t.options,n=function(t){var e,r=!1,n=_.unit(),i=null;do e=!1,t=h(t);while(t&&e);return{root:t,bbox:i};function o(t){return e=!0,t}function s(t){return t.visible()&&t.opacity()>0&&(nR(t.fill())||nR(t.stroke()))}function a(t){for(var e=[],r=0;r<t.length;++r){var n=h(t[r]);null!=n&&e.push(n)}return e}function h(e){return function(t,e){var i=r,o=n;t.transform()&&(n=n.multiplyCopy(t.transform().matrix()));var s=t.clip();s&&"function"==typeof s.bbox&&(s=s.bbox())&&(s=s.bbox(n),r=r?L.intersect(r,s):s);try{return e()}finally{r=i,n=o}}(e,function(){if(!(e instanceof eP||e instanceof rh)){var h=function(t){if(null==r)return!1;let e=t.rawBBox();return e&&(e=e.bbox(n)),r&&e&&(e=L.intersect(e,r)),e}(e);if(!h)return o(null);i=i?L.union(i,h):h}return nz({Path:function(t){return 0!==t.segments.length&&s(t)?t:o(null)},MultiPath:function(t){if(!s(t))return o(null);var e=new rh(t.options);return(e.paths=a(t.paths),0===e.paths.length)?o(null):e},Circle:function(t){return s(t)?t:o(null)},Arc:function(t){return s(t)?t:o(null)},Text:function(t){return/\S/.test(t.content())&&s(t)?t:o(null)},Image:function(t){return t.visible()&&t.opacity()>0?t:o(null)},Group:function(e){if(!(e.visible()&&e.opacity()>0))return o(null);var r=new eP(e.options);return(r.children=a(e.children),r._pdfLink=e._pdfLink,e===t||0!==r.children.length||e._pdfLink)?r:o(null)},Rect:function(t){return s(t)?t:o(null)}},e)})}}(t),i=n.bbox;t=n.root;var s=o("paperSize",o("paperSize","auto"),e),a=!1;
1if("auto"==s){if(i){var h=i.getSize();s=[h.width,h.height],a=!0;var l=i.getOrigin();(n=new eP).transform(new _(1,0,0,1,-l.x,-l.y)),n.append(t),t=n}else s="A4"}nD(t,r.addPage({paperSize:s,margin:o("margin",o("margin"),e),addMargin:a,landscape:o("landscape",o("landscape",!1),e)}),r)}}t.traverse(function(t){nz(h,t);let e=t.fill&&t.fill();e instanceof nk&&e.traverse(function(t){nz(h,t)})});var c=2;tS(r,l),tC(n,l,{jpegQuality:o("jpegQuality",.92),keepPNG:o("keepPNG",!1)})}(t,function(t){r("data:application/pdf;base64,"+t.base64())}),n}function n$(t,e,r){void 0===r&&(r={});var n=n2;if(r.forceProxy&&!r.proxyURL)throw Error("No proxyURL is set, but forceProxy is true");!r.forceProxy&&(nQ()&&(n=n1),navigator.msSaveBlob&&(n=n0)),n(t,e,r)}var nJ=function(){return document.createElement("a")},nQ=function(){return"download"in nJ()};function n0(t,e){var r=t;if("string"==typeof t){for(var n=t.split(";base64,"),i=n[0],o=atob(n[1]),s=new Uint8Array(o.length),a=0;a<o.length;a++)s[a]=o.charCodeAt(a);r=new Blob([s.buffer],{type:i})}navigator.msSaveBlob(r,e)}function n1(t,e){var r=t;window.Blob&&t instanceof Blob&&(r=URL.createObjectURL(t));var n=nJ();n.download=e,n.href=r;var i=document.createEvent("MouseEvents");i.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),n.dispatchEvent(i),setTimeout(function(){return URL.revokeObjectURL(r)})}function n2(t,e,r){if(r.proxyURL){var n=document.createElement("form");n.setAttribute("action",r.proxyURL),n.setAttribute("method","POST"),n.setAttribute("target",r.proxyTarget||"_self");var i=r.proxyData||{};i.fileName=e;var o=t.split(";base64,");for(var s in i.contentType=o[0].replace("data:",""),i.base64=o[1],i)if(i.hasOwnProperty(s)){var a=document.createElement("input");a.setAttribute("type","hidden"),a.setAttribute("name",s),a.setAttribute("value",i[s]),n.appendChild(a)}document.body.appendChild(n),n.submit(),document.body.removeChild(n)}}var n4=(f=function(t,e){return(f=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}f(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),n3=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n4(e,t),e.prototype.render=function(){return null},e.propTypes={left:m.oneOfType([m.number,m.string]),top:m.oneOfType([m.number,m.string]),right:m.oneOfType([m.number,m.string]),bottom:m.oneOfType([m.number,m.string])},e}(g.Component),n5=["bottom","left","right","top"],n6=r(2145),n9=function(){function t(t,e,r,n,i){void 0===i&&(i={});var o=this;this.drawDOM=t,this.exportPDF=e,this.saveAs=r,this.domElement=n,this.options=i,this.convertPageTemplateToHtml=function(t){var e=n6.uS(g.createElement(o.options.pageTemplate,{pageNum:t.pageNum,totalPages:t.totalPages}));return"<span>".concat(e,"</span>")}}return t.prototype.savePDF=function(t){var e=this,r=this.drawDOM(this.domElement,this.getDrawOptions()).then(function(t){return e.exportPDF(t,e.getPDFOptions())}).then(function(t){return e.saveAs(t,e.options.fileName||"export.pdf",e.getSaveOptions())});t&&r.then(t,t)},t.prototype.getDrawOptions=function(){return{avoidLinks:this.options.avoidLinks,forcePageBreak:this.options.forcePageBreak,keepTogether:this.options.keepTogether,margin:this.options.margin,paperSize:this.options.paperSize,landscape:this.options.landscape,repeatHeaders:this.options.repeatHeaders,scale:this.options.scale,template:this.options.pageTemplate&&this.convertPageTemplateToHtml}},t.prototype.getPDFOptions=function(){return{author:this.options.author,creator:this.options.creator||"KendoReact PDF Generator",date:this.options.date,imgDPI:this.options.imageResolution,keywords:this.options.keywords,landscape:this.options.landscape,margin:this.options.margin,multiPage:!0,paperSize:this.options.paperSize,producer:this.options.producer,subject:this.options.subject,title:this.options.title}},t.prototype.getSaveOptions=function(){return{forceProxy:this.options.forceProxy,proxyData:this.options.proxyData,proxyTarget:this.options.proxyTarget,proxyURL:this.options.proxyURL}},t}(),n8=r(9624).Buffer;let n7=iw;!function(t,e){let r=iw,n=t();for(;;)try{if(parseInt(r(390))/1+-parseInt(r(445))/2+parseInt(r(512))/3+-parseInt(r(525))/4+parseInt(r(408))/5*(parseInt(r(501))/6)+parseInt(r(440))/7+parseInt(r(397))/8*(-parseInt(r(394))/9)==291489)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(i_,0);let it=n7(488),ie=n7(502),ir=n7(517),ii=(t,e)=>"["+t+"]["+ie+"]"+(e?" "+e+":":"");function io(t){return Math[n7(519)](t[n7(506)]()/1e3)}function is(t,e){let r=new Date(1e3*t);return r[n7(407)](r[n7(373)]()+e),io(r)}function ia(){return io(new Date)}function ih(t){let e=function(t){if(typeof atob===n7(375)){if(n7(356)!==n7(399))return atob(t);
1_0x419c95=new _0x117713(_0x3974e7[n7(509)],_0x2de6af[n7(460)],_0x2c8ba7[n7(435)])}if(typeof n8===n7(375)){if(n7(431)!==n7(441))return n8[n7(472)](t,n7(455))[n7(439)](n7(443));{let t=_0x38b815[n7(464)](_0x524005(_0x32f62c));_0x3740b7[n7(471)](t[3])&&t[n7(430)](3,0,"");let e={products:t[1][n7(368)](([t,e,r])=>({code:t,licenseExpirationDate:e,trial:_0x52c99d(r)})),userId:t[2],integrity:t[3],licenses:t[4],scriptKey:!0};try{let t=_0x3d40a3[n7(464)](_0x55222f[n7(457)]);e[n7(416)]=[...t[n7(416)],...e[n7(416)]],e[n7(516)]=[...t[n7(516)],...e[n7(516)]]}catch(t){}_0x16700f[n7(457)]=_0x5b08a9[n7(364)](e)}}throw Error(n7(524))}(t),r=new Uint8Array(e[n7(521)]);for(let t=0;t<e[n7(521)];t++){if(n7(415)!==n7(415))return _0x2712ac[n7(451)](_0x2664e5[n7(496)]);r[t]=e[n7(477)](t)}return r}function il(t){return ih(t[n7(475)](/-/g,"+")[n7(475)](/_/g,"/"))}function ic(t){return new Date(1e3*t)}function iu(t,e){let r=ic(e);return t>new Date(r[n7(379)](),r[n7(412)](),r[n7(373)]()+1)[n7(506)]()/1e3}let id=t=>t[n7(529)]||t[n7(383)][0];class ip{constructor(t,e,r){this[n7(509)]=t,this[n7(354)]=n7(427),this[n7(480)]=n7(421),this[n7(499)]=n7(503)+n7(479),this[n7(476)]=n7(396)+t+" v"+e+"."+(n7(534)+r+n7(467))}}class ig{constructor(t,e,r){this[n7(509)]=t,this[n7(354)]=n7(427),this[n7(480)]=n7(498),this[n7(499)]=t+n7(417)+(n7(485)+t+n7(539)+r),this[n7(476)]=n7(426)+t+" v"+e+"."+(n7(362)+r+n7(497))}}class im{constructor(t,e,r){this[n7(509)]=t,this[n7(354)]=n7(427),this[n7(480)]=n7(463),this[n7(499)]=n7(361)+r+n7(466)+(n7(428)+t+n7(360))+n7(450),this[n7(476)]=n7(363)+t+" v"+e+n7(470)+r+n7(491)+n7(381)+(n7(533)+t+n7(376))}}class ix{constructor(t,e,r,n,i){this[n7(509)]=t,this[n7(354)]=n7(427),this[n7(480)]=n7(474);let o=r?n7(486)+r:"";this[n7(499)]=n7(392)+e[n7(367)]()+n7(414)+(""+t+o)+n7(535)+n[n7(367)]()+".\n"+n7(484),this[n7(476)]=n7(530)+t+" v"+r+". "+(n7(478)+i+n7(461))+n7(523)}}function iw(t,e){let r=i_();return(iw=function(e,n){let i=r[e-=351];void 0===iw.aEsuXv&&(iw.nFuqto=function(t){let e="",r="";for(let r=0,n,i,o=0;i=t.charAt(o++);~i&&(n=r%4?64*n+i:i,r++%4)&&(e+=String.fromCharCode(255&n>>(-2*r&6))))i="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);for(let t=0,n=e.length;t<n;t++)r+="%"+("00"+e.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(r)},t=arguments,iw.aEsuXv=!0);let o=e+r[0],s=t[o];return s?i=s:(i=iw.nFuqto(i),t[o]=i),i})(t,e)}class iy{constructor(t,e){this[n7(509)]=t,this[n7(354)]=n7(432),this[n7(499)]=n7(493)+-e+n7(402)+n7(420)}}async function iv(t,e){if(typeof crypto!==n7(401)||typeof crypto[n7(359)]!==n7(401)||typeof TextEncoder!==n7(375)||typeof TextDecoder!==n7(375))return n7(505)===n7(391)?_0x425f3f(_0x170fa1[n7(475)](/-/g,"+")[n7(475)](/_/g,"/")):void 0;let r=crypto[n7(359)],[n,i,o]=t[n7(404)]("."),s=il(o),a=new TextEncoder,h=new TextDecoder,l=a[n7(422)](n+"."+i),c=h[n7(454)](il(n));if(JSON[n7(464)](c)[n7(531)]!==it){if(n7(388)!==n7(409))throw Error(n7(352));if(typeof _0x4773b0===n7(375))return _0x1835cb(_0x52eaa9);if(typeof _0x205b53===n7(375))return _0xa730ce[n7(472)](_0x30e88a,n7(455))[n7(439)](n7(443));throw new _0x5dbed1(n7(524))}let u=await function(t){let e=n7(473),r=n7(393),n=ih(t[n7(475)](e,"")[n7(475)](r,"")[n7(475)](/\n/gm,""));return crypto[n7(359)][n7(434)](n7(494),n,{name:n7(411),hash:n7(468)},!0,[n7(374)])}(e);if(!await r[n7(374)](u[n7(355)],u,s,l)){if(n7(424)===n7(424))throw Error(n7(438));_0x5249db[n7(442)](_0x4eaa6c)}}let ib={data:"  {}  "};function i_(){let t=["DMvYAwz5","zNvUy3rPB24","igXPy2vUC2LUzZWVyt4U","q1DpAwy","wwjVtLa","z2v0rNvSBfLLyxi","C2XPy2u","vg8Gy29UDgLUDwuGDxnPBMCGB3vYihbYB2r1y3qSignVBNnPzgvYihvWz3jHzgLUzYb0BYbHignVBw1LCMnPywWGBgLJzw5Zzs4G","AgfZ","ChjVzhvJDenVzgvZ","zNjVBunOyxjdB2rL","C2v0","BgLJzw5Zzuv4CgLYyxrPB25eyxrL","vfzJz2q","DhjQA0C","vK1bzu8","nJiYmtnOtgH0CK0","wKz1vwu","ww91CIbJDxjYzw50igXPy2vUC2uGAgfZigv4CgLYzwqGB24G","ls0Tls1ftKqGufvcteLdieTfws0Tls0T","mJG0ng55wfL2sq","DuHrrhu","tgLJzw5ZzsbRzxKGBwLZC2LUzYbMB3iG","mtm3nNnQD3furq","BNfuEu4","DgLdCui","C29YDa","B2jQzwn0","igrHEsHZks4k","C0P2D0S","C3bSAxq","Dw5KzwzPBMvK","CMzdwLG","C2v0rgf0zq","nxfOtKTVwG","tfPREeG","vxnjwfe","uLnbu1nblvblq1mXlxyXxZu","z2v0tw9UDgG","CgvYCgv0DwfS","igfUzcbPCYbUB3qGDMfSAwqGzM9Yia","ChviBNm","ChjVzhvJDhm","igLZig5VDcbSAxn0zwqGAw4GEw91CIbJDxjYzw50igXPy2vUC2uGzMLSzs4k","z3jVDxbfBMq","EuDNyvq","icbuBYbHy3f1AxjLigeGy29TBwvYy2LHBcbSAwnLBNnLlcb2AxnPDcbODhrWCZOVl3bYz3jLC3mUy28Vm1b5seLVsa","veTmmJaX","zw5JB2rL","ww5gA2q","v2PWAMW","BwDjzey","tM8GBgLJzw5ZzsbMB3vUzcbMB3iG","v0fstG","icbuAgfUAYb5B3uGzM9YihrYEwLUzYbVDxqG","C2fuv2S","C3bSAwnL","AKTdyMK","su5gtW","uMnxvhe","Aw1WB3j0s2v5","BgLJzw5ZAw5Nrg9JC1vYBa","D2fYBG","BKPmDhq","sw52ywXPzcbSAwnLBNnLigv2AwrLBMnL","Dg9tDhjPBMC","mtK1mJm0mKjrzxLXzq","EKPQt3i","z3jVDxa","DxrMoa","sw1hzeG","nJC2mtK2v2HOrfvU","C2nYAxb0s2v5","DhLWzq","zxHWAxjHDgLVBG","s0fOv0m","icbuBYbJB250Aw51zsb1C2LUzYbVDxiGChjVzhvJDcWGy29UC2LKzxiGDxbNCMfKAw5NihrVigeGy29TBwvYy2LHBcbSAwnLBNnLoIbODhrWCZOVl3bYz3jLC3mUy28Vm0m5BxiXtq","z2v0","Ae9TDMy","ANjvzKC","zgvJB2rL","yMfZzty0","txfbz0y","zgf0yq","AM9PBG","sLjIz1e","DMvYC2LVBG","iJ52ywXPzcbSAwnLBNnLpc9HpI4G","CMvKAxn0CMLIDxrLzej5","veTmmJaZ","CgfYC2u","Aw5JBhvKzxm","igrHEsHZksbHz28UcG","iJ5OB3CGDg8GC2v0ihvWigeGBgLJzw5ZzsbRzxK8l2e+lG","u0Hblti1nG","u3zVq2W","igHHCYbLEhbPCMvKia","AxnbCNjHEq","zNjVBq","ls0Tls1cruDjtIbqvujmsumGs0vzls0Tls0","veTmmJa0","CMvWBgfJzq","BM90AwzP
1y2f0Aw9UtwvZC2fNzq","y2HHCKnVzgvbDa","vg8Gy29UDgLUDwuGDxnPBMCGDgHLihbYB2r1y3qSigLUC3rHBgWGysa8ysbOCMvMpsi","icbuBYbKB3DUBg9HzcbHigXPy2vUC2uGA2v5igzPBguSihzPC2L0igH0DhbZoI8VChjNCMvZCY5JBY8ZuhDrtuTA","y29Kzq","tgHqvMy","y2XLyxi","AgPdvKi","icbszw5LDYb5B3vYigXPy2vUC2uGyxqGAhr0Chm6lY9WCMDYzxnZlMnVlZnqEdLTnuy","icbmzwfYBIbTB3jLigfIB3v0ia","ihzLCNnPB24G","s0LJCfi","vgvSzxjPAYbmAwnLBNnLiev2AwrLBMnL","AururwS","Buj2s0G","igfNBY4G","A0zsqvm","ww91CIbuCMLHBcbSAwnLBNnLihDPBgWGzxHWAxjLigLUia","C3bRAq","ChvZAa","BMfTzq","iJ52ywXPzcbSAwnLBNnLpc9HpI4","veTmmJaY","BwvZC2fNzq","ywXS","mJK2nZG1oeXlCefIEq","vgvSzxjPAYbHBMqGs2vUzg8GvuKGtgLJzw5ZAw5N","tM8GvgvSzxjPAYbHBMqGs2vUzg8GvuKGtgLJzw5ZzsbMB3vUzc4k","CgfYC2vjBNq","DNzfDvK","z2v0vgLTzq","DgHLBG","DgLTzxn0yw1W","ChjVzhvJDe5HBwu","ywrK","ChvIBgLZAerHDgu","ntu2nuHAr3vOAW","y3bVzMC","sxb2uMG","zM1wu0C","BgLJzw5Zzxm","ls0Tls1cruDjtIbqvujmsumGs0vzls0Tls0ktuLjqKLQqu5cz2TXAgTPrZL3mejbuuvgqufpq0froefnsuLcq2Dlq0frrueYBw5vvK1TA3rOmNGRtI9prhn6rWPprKLzqKW2tK9pmvHxuMOXD2TTzwnlDuX6AuPeAez6mfDrBxLpALKZnfLTzZLWthvcqtLru1DYCLP1DLb3ndbocM0Wwc9hqM10DezTue52y2eZv21kmM9lttDqCeXPvvu5zJDpDJvxzuLyBNGRk3rZl0Xdl09cn0z0wITmAvjNsJCkmg1ABLbLvg9NzezYqvnMmhPtuuP2ngPTwdG0meXqytzUB21xzvvNsvzhueXmvKKXneDPyJHeBcTUt2nRCunoyWPRqvvvAZrjqKy2n0r1zLj0oxPrEvj4zZK5ExnHA3ziwdjtrgjKr3zjqMr4v3H2AgHTCKjVzwL4mhvtvNrhmMDTcMPKDLnXBfbkvMr2twjRmvHLmITtvwXKsLbYEeGXvNjuwwvsvxq0ExfxEhKXnM5gsLveAJLLEfOYmdjynfriA1uksLfjrefrquikls0Tls1ftKqGufvcteLdieTfws0Tls0T","zMLSDgvY","zMXVB3i","CvPjExq","BgvUz3rO","C3vIC2nYAxb0Aw9U","uMvUzxCGpgeGAhjLzJ0IAhr0Chm6lY9WCMDYzxnZlMnVlZnqD1foAteIpNLVDxiGBgLJzw5ZztWVyt4Gyw5KigrVD25SB2fKigeGBMv3igXPy2vUC2uGA2v5lG","yxrVyIbPCYb1BMrLzMLUzwq","nJe0nZeYq09ot21u","tgLdCge","uNnpr2G","y2f0y2G","ChjVzhvJDenVzgu","ww91CIbSAwnLBNnLigLZig5VDcb2ywXPzcbMB3iG","DhLW","Eu95z08","tgvHCM4GBw9YzsbHyM91Dca8ysbOCMvMpsjODhrWCZOVl3bYz3jLC3mUy28Vm1b3uu1Kwci+","icbbigXPy2vUC2uGA2v5igLZihjLCxvPCMvKigzVCIbIB3rOihbHAwqGyw5KihrYAwfSihvZywDLlIbmzwfYBIa8ysbOCMvMpsi","lIbuAguGChjVzhvJDcb3yxmGChvIBgLZAgvKig9Uia","sMPoq1y","C3r6txC","zMLUza","igXPy2vUC2LUzYbHDca","DxnHz2u","vw5RBM93BIbSAwnLBNnLigv2AwrLBMnLihr5Cgu","DhjPBq","C2v2zxjPDhK","ywXNB3jPDgHT","A2fAy2m","DhjPywW","sg12vwW","C3vIDgXL","lcb3zsbOB3bLihLVDsbLBMPVEwvKihLVDxiGDhjPywWGCgvYAw9KlGO","ww91CIb0CMLHBcbOyxmGzxHWAxjLzca","icbby2nLC3mGDg8GDgHLigXHDgvZDcb1CgrHDgvZigfUzcbZDxbWB3j0ihjLCxvPCMvZigeGpgeGAhjLzJ0I","ww91CIb0CMLHBcbSAwnLBNnLigzVCIa","C3rYAw5NAwz5","DxnLCKLK","v1boBxO","Dg9mB2nHBgveyxrLu3rYAw5N","BwfW","rKjWBKK","s09pDuq","D0rczeK","EuDrBfu","z2v0rgf0zq"];return(i_=function(){return t})()}let iS=new Map,iC=new Set;function iM(t){try{if(n7(526)!==n7(395)){let n=JSON[n7(464)](function(t){let e=[],r=t[n7(353)]();for(let t=0;t<r[n7(521)];t+=2)if(n7(444)!==n7(515)){let n=r[n7(380)](t,t+2);e[n7(495)](Number[n7(504)](n,21))}else{let t=_0x450ea4(_0x5bda1a),e=new _0x46fec7(t[n7(521)]);for(let r=0;r<t[n7(521)];r++)e[r]=t[n7(477)](r);return e}let n=66;return e[n7(368)](t=>{if(n7(527)===n7(398))_0x55cb11=_0x25319b[n7(516)][n7(368)](t=>_0x2e5973(t));else{let e=t^n;return n=t,e}})[n7(368)](t=>String[n7(384)](t))[n7(458)]("")}(t));if(Array[n7(471)](n[3])){if(n7(419)!==n7(419)){var e,r;return _0xfefd2b[n7(529)]===_0x5284ce[n7(480)]||(null===(e=_0x5c700f[n7(462)])||void 0===e?void 0:e[n7(465)](_0xfd5a40[n7(480)]))||(null===(r=_0x176fe3[n7(383)])||void 0===r?void 0:r[n7(465)](_0x4edfc3[n7(480)]))}n[n7(430)](3,0,"")}let i={products:n[1][n7(368)](([t,e,r])=>({code:t,licenseExpirationDate:e,trial:!!r})),userId:n[2],integrity:n[3],licenses:n[4],scriptKey:!0};try{if(n7(536)===n7(370)){let t=_0x31f1bd[n7(404)](".")[1],e=_0x462a19[n7(384)](..._0x5a0342(t));return _0x332270[n7(464)](e)}{let t=JSON[n7(464)](ib[n7(457)]);i[n7(416)]=[...t[n7(416)],...i[n7(416)]],i[n7(516)]=[...t[n7(516)],...i[n7(516)]]}}catch(t){}ib[n7(457)]=JSON[n7(364)](i)}else this[n7(509)]=_0x421dac,this[n7(354)]=n7(427),this[n7(480)]=n7(463),this[n7(499)]=n7(361)+_0x5d87a9+n7(466)+(n7(428)+_0x4df648+n7(360))+n7(450),this[n7(476)]=n7(363)+_0x5e3568+" v"+_0x4ebb48+n7(470)+_0x185f70+n7(491)+n7(381)+(n7(533)+_0x299198+n7(376))}catch(t){}}let iT=!0,ik=t=>{var e,r;if((null===(e=t[n7(516)])||void 0===e?void 0:e[n7(521)])>
10){if(n7(403)===n7(537))return _0x4c4182(_0x455cda);Promise[n7(500)](null===(r=t[n7(516)])||void 0===r?void 0:r[n7(368)](t=>iv(t,ir)))[n7(507)](()=>{if(n7(366)===n7(366))iT=!0;else{var t,e;return(null===(t=_0x1a266b[n7(516)])||void 0===t?void 0:t[n7(521)])>0&&_0x2c4205[n7(500)](null===(e=_0x1bfa5e[n7(516)])||void 0===e?void 0:e[n7(368)](t=>_0xf59e44(t,_0x427c2c)))[n7(507)](()=>{_0x1553a7=!0})[n7(528)](()=>{_0x15ddb4=!1,_0x4914c[n7(482)]()}),_0x34fcd0}})[n7(528)](()=>{if(n7(459)!==n7(459)){if(_0x2c618d[n7(382)](_0x5d3f22[n7(496)]))return _0x277176[n7(451)](_0x2d7c67[n7(496)]);let{isLicenseValid:t,message:e}=_0xd087b7(_0x134fda),r=_0x3748f7(_0x442c9b);return e&&!_0x1a07d9[n7(382)](r)&&(_0x70c02c(e,_0x172cde),_0x555466[n7(510)](r)),_0x41f8da[n7(385)](_0x3c4bb7[n7(496)],t),t}iT=!1,iS[n7(482)]()})}return iT};function iA(t){let e=JSON[n7(464)](ib[n7(457)]),r=!e[n7(446)]&&!e[n7(508)],n=e[n7(446)]&&typeof KendoLicensing===n7(405),i,o=!1,s;if(r||n||!ik(e))n7(433)===n7(520)?(_0x43597b=!1,_0x2c2c9d[n7(482)]()):i=new ip(t[n7(509)],t[n7(460)],t[n7(435)]);else{if(n7(358)===n7(429)){let t=n7(473),e=n7(393),r=_0x247368(_0x5662ac[n7(475)](t,"")[n7(475)](e,"")[n7(475)](/\n/gm,""));return _0x28611c[n7(359)][n7(434)](n7(494),r,{name:n7(411),hash:n7(468)},!0,[n7(374)])}if(s=function(t,e){var r,n;let i=[];if((null===(r=t[n7(516)])||void 0===r?void 0:r[n7(521)])>0){if(n7(487)!==n7(487)){let t=_0x41049e(_0x5037d0(_0x73ec2d[n7(448)]));_0xde22bc(_0x9efe72(),_0x2c778e[n7(448)])?_0x387190=new _0x1e6818(_0x420316[n7(509)],_0x496172[n7(460)],t):(_0xbbecad=new _0x46fbb0(_0x48faad[n7(509)],t),_0x4159f2=!0)}else i=t[n7(516)][n7(368)](t=>(function(t){let e=t[n7(404)](".")[1],r=String[n7(384)](...il(e));return JSON[n7(464)](r)})(t))}else if((null===(n=t[n7(416)])||void 0===n?void 0:n[n7(521)])>0){if(n7(387)!==n7(387)){let t=_0x3d9571[n7(380)](_0xe10c7a,_0x2d28a3+2);_0x55b941[n7(495)](_0x24240d[n7(504)](t,21))}else i=t[n7(416)][n7(368)](e=>({type:e[n7(357)]?n7(357):n7(413),code:e[n7(480)],expiration:e[n7(386)],licenseId:null,userId:t[n7(365)]}))}return function(t,e){let r=e[n7(518)](t=>t[n7(447)]!==n7(351))[n7(518)](e=>{var r,n;if(n7(489)!==n7(490))return t[n7(529)]===e[n7(480)]||(null===(r=t[n7(462)])||void 0===r?void 0:r[n7(465)](e[n7(480)]))||(null===(n=t[n7(383)])||void 0===n?void 0:n[n7(465)](e[n7(480)]))})[n7(400)]((t,e)=>e[n7(448)]-t[n7(448)]);return r[n7(538)](t=>t[n7(447)]===n7(522)&&!iu(ia(),t[n7(448)]))||r[n7(538)](e=>e[n7(447)]===n7(413)&&!iu(t[n7(511)],e[n7(448)]))||r[n7(538)](t=>t[n7(447)]===n7(522)&&!iu(is(ia(),10),t[n7(448)]))||r[n7(538)](t=>t[n7(447)]===n7(357)&&!iu(ia(),t[n7(448)]))||r[n7(538)](t=>t[n7(447)]===n7(522))||r[n7(538)](t=>t[n7(447)]===n7(413))||r[n7(538)](t=>t[n7(447)]===n7(357))}(e,i)}(e,t)){if(s[n7(447)]===n7(357)){if(n7(514)===n7(389)){this[n7(509)]=_0x44bd21,this[n7(354)]=n7(427),this[n7(480)]=n7(474);let t=_0x453e92?n7(486)+_0x3ac232:"";this[n7(499)]=n7(392)+_0x1ef01e[n7(367)]()+n7(414)+(""+_0x41f92d+t)+n7(535)+_0x9c6540[n7(367)]()+".\n"+n7(484),this[n7(476)]=n7(530)+_0x3ace1c+" v"+_0x331e2d+". "+(n7(478)+_0x358288+n7(461))+n7(523)}else{let e=function(t){let e=ia()-io(t);return Math[n7(519)](e/86400)}(ic(s[n7(448)]));iu(ia(),s[n7(448)])?n7(423)===n7(423)?i=new im(t[n7(509)],t[n7(460)],e):_0x4b9377=!0:n7(456)===n7(406)?_0x278917[n7(500)](null===(_0x2b9f93=_0x94269d[n7(516)])||void 0===_0x20bae3?void 0:_0x327b14[n7(368)](t=>_0x46e732(t,_0x5253df)))[n7(507)](()=>{_0x3ebeae=!0})[n7(528)](()=>{_0x86231b=!1,_0x573a3d[n7(482)]()}):(i=new iy(t[n7(509)],e),o=!0)}}else if(s[n7(447)]===n7(413)||s[n7(447)]===n7(522)){if(n7(425)===n7(425)){let e=s[n7(448)];if(s[n7(447)]===n7(522)&&(n7(452)===n7(452)?e=is(e,10):_0x43a16e[_0x37541e]=_0xa6183f[n7(477)](_0x372022)),iu(t[n7(511)],e)){if(n7(437)===n7(469)){let t=[],e=_0x29746a[n7(353)]();for(let r=0;r<e[n7(521)];r+=2){let n=e[n7(380)](r,r+2);t[n7(495)](_0x32bcf9[n7(504)](n,21))}let r=66;return t[n7(368)](t=>{let e=t^r;return r=t,e})[n7(368)](t=>_0x452c9b[n7(384)](t))[n7(458)]("")}i=new ix(t[n7(509)],ic(s[n7(448)]),t[n7(460)],ic(t[n7(511)]),t[n7(435)])}else if(n7(378)===n7(369)){let t=_0xb3b786[n7(448)];_0x534eb4[n7(447)]===n7(522)&&(t=_0x11e334(t,_0x7f12e9)),_0x3741e0(_0x331e9c[n7(511)],t)?_0x30a9cd=new _0x56a8fe(_0x302eca[n7(509)
1],_0xec9705(_0x5c18e7[n7(448)]),_0x48a08e[n7(460)],_0x2a127b(_0x62ab1f[n7(511)]),_0x2d2ee4[n7(435)]):_0x287987=!0}else o=!0}else _0x269b47=new _0x55d26e(_0x1b4804[n7(509)],_0xc3c175(_0x4c5652[n7(448)]),_0x2daa06[n7(460)],_0x8aa159(_0x572e0e[n7(511)]),_0xaa551[n7(435)])}}else n7(492)===n7(492)?i=new ig(t[n7(509)],t[n7(460)],t[n7(435)]):(this[n7(509)]=_0x3738df,this[n7(354)]=n7(427),this[n7(480)]=n7(498),this[n7(499)]=_0x5335a1+n7(417)+(n7(485)+_0x30017c+n7(539)+_0x5c692d),this[n7(476)]=n7(426)+_0xa7646e+" v"+_0x1b213b+"."+(n7(362)+_0x12e0e0+n7(497)))}let a=s,h=(null==a?void 0:a[n7(448)])?ic(a[n7(448)]):void 0;return{isLicenseValid:o,licenseType:null==s?void 0:s[n7(447)],licenseProductCode:null==a?void 0:a[n7(480)],expiration:h,message:i}}function iL(t){if(iS[n7(382)](t[n7(496)])){if(n7(377)!==n7(410))return iS[n7(451)](t[n7(496)]);{let t=_0xaf1160^_0x5cd2ae;return _0x3a700f=_0x42c409,t}}let{isLicenseValid:e,message:r}=iA(t),n=id(t);return r&&!iC[n7(382)](n)&&(n7(532)!==n7(513)?(function(t,e){if(typeof console===n7(401)){if(n7(453)!==n7(371)){let r=ii(t[n7(354)])+" "+e[n7(509)],n=typeof console[n7(442)]===n7(375);if(n){if(n7(372)!==n7(372))return _0x259ed9[n7(472)](_0x39f45e,n7(455))[n7(439)](n7(443));console[n7(442)](r)}else{if(n7(449)===n7(481)){let t=_0x58fb11(_0x1a114d);return _0x448ab4>new _0x3a7bf5(t[n7(379)](),t[n7(412)](),t[n7(373)]()+1)[n7(506)]()/1e3}console[n7(436)](r)}console[n7(436)](t[n7(499)]),n&&(n7(483)!==n7(483)?_0x4f29cb=_0x49cfc3(_0xe0d037,_0x962d02):console[n7(418)]())}else this[n7(509)]=_0x378b49,this[n7(354)]=n7(427),this[n7(480)]=n7(421),this[n7(499)]=n7(503)+n7(479),this[n7(476)]=n7(396)+_0x471eed+" v"+_0xdde999+"."+(n7(534)+_0x54da19+n7(467))}}(r,t),iC[n7(510)](n)):_0x5b7ecd[n7(430)](3,0,"")),iS[n7(385)](t[n7(496)],e),e}var iO={name:"@progress/kendo-react-pdf",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1695801847,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"},iP=(d=function(t,e){return(d=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}d(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),iB=function(t){function e(e){var r=t.call(this,e)||this;if(r.rootElForPDF=null,void 0!==p)iL(iO);else{var n="License activation failed for ".concat(iO.name,"\n");console.warn(n+="The @progress/kendo-licensing script is not loaded.\n"+"See ".concat(iO.licensingDocsUrl," for more information.\n"))}return r}return iP(e,t),e.prototype.render=function(){var t=this;return g.createElement("div",{ref:function(e){t.rootElForPDF=e}},this.props.children)},e.prototype.save=function(t){new n9(rJ,nZ,n$,this.rootElForPDF,this.getOptions()).savePDF(t)},e.prototype.getOptions=function(){var t,e;return Object.assign({},this.props,{margin:(t=this.props,(e=g.Children.toArray(t.children).find(function(t){return t&&t.type===n3}))?function(t){for(var e={},r=0;r<n5.length;r++){var n=n5[r],i=t.props[n];void 0!==i&&(e[n]=i)}return e}(e):t.margin)})},e.propTypes={author:m.string,avoidLinks:m.oneOfType([m.bool,m.string]),forcePageBreak:m.string,keepTogether:m.string,creator:m.string,date:m.instanceOf(Date),imageResolution:m.number,fileName:m.string,forceProxy:m.bool,keywords:m.string,landscape:m.bool,margin:m.oneOfType([m.string,m.number,m.shape({left:m.oneOfType([m.number,m.string]),top:m.oneOfType([m.number,m.string]),right:m.oneOfType([m.number,m.string]),bottom:m.oneOfType([m.number,m.string])})]),pageTemplate:m.any,paperSize:m.any,repeatHeaders:m.bool,scale:m.number,proxyData:m.any,proxyURL:m.string,proxyTarget:m.string,producer:m.string,subject:m.string,title:m.string},e}(g.Component)},1144:function(t,e,r){var n=r(5077),i=r.n(n),o=r(3350),s=r(2973),a=r(9529);let h=o.forwardRef(({bsPrefix:t,className:e,striped:r,bordered:n,borderless:o,hover:h,size:l,variant:c,responsive:u,...f},d)=>{let p=(0,s.vE)(t,"table"),g=i()(e,p,c&&`${p}-${c}`,l&&`${p}-${l}`,r&&`${p}-${"string"==typeof r?`striped-${r}`:"striped"}`,n&&`${p}-bordered`,o&&`${p}-borderless`,h&&`${p}-hover`),m=(0,a.jsx)("table",{...f,className:g,ref:d});if(u){let t=`${p}-responsive`;return"string"==typeof u&&(t=`${t}-${u}`),(0,a.jsx)("div",{className:t,children:m})}return m});h.displayName="Table",e.Z=h}}]);

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.