(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9035],{45702:function(e,t,n){"use strict";function o(e,t,n){void 0===n&&(n={});var o=c;if(n.forceProxy&&!n.proxyURL)throw Error("No proxyURL is set, but forceProxy is true");!n.forceProxy&&(r()&&(o=a),navigator.msSaveBlob&&(o=s)),o(e,t,n)}n.d(t,{p:function(){return o}});var i=function(){return document.createElement("a")},r=function(){return"download"in i()};function s(e,t){var n=e;if("string"==typeof e){for(var o=e.split(";base64,"),i=o[0],r=atob(o[1]),s=new Uint8Array(r.length),a=0;a".concat(t,"")}}return e.prototype.savePDF=function(e){var t=this,n=this.drawDOM(this.domElement,this.getDrawOptions()).then(function(e){return t.exportPDF(e,t.getPDFOptions())}).then(function(e){return t.saveAs(e,t.options.fileName||"export.pdf",t.getSaveOptions())});e&&n.then(e,e)},e.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}},e.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}},e.prototype.getSaveOptions=function(){return{forceProxy:this.options.forceProxy,proxyData:this.options.proxyData,proxyTarget:this.options.proxyTarget,proxyURL:this.options.proxyURL}},e}();t.Z=r},79035:function(e,t,n){"use strict";n.d(t,{w:function(){return W}});var o,i,r,s={};n.r(s),n.d(s,{getLicenseStatus:function(){return K},registerLicenseMessage:function(){return T},setScriptKey:function(){return S},validatePackage:function(){return B}});var a=n(67294),c=n(45697),l=n(41125),p=n(33671),u=n(45702),d=n(9901),f=n(45419),h=n(48764).lW;function m(e){return Math.floor(e.getTime()/1e3)}function g(e,t){let n=new Date(1e3*e);return n.setDate(n.getDate()+t),m(n)}function y(){return m(new Date)}function C(e){let t=function(e){if("function"==typeof atob)return atob(e);if("function"==typeof h)return h.from(e,"base64").toString("utf8");throw Error("atob is undefined")}(e),n=new Uint8Array(t.length);for(let e=0;enew Date(n.getFullYear(),n.getMonth(),n.getDate()+1).getTime()/1e3}(o=r||(r={})).BLAZOR="BLAZOR",o.DPL="DPL",o.JM="JM",o.KENDOUIANGULAR="KENDOUIANGULAR",o.KENDOUICOMPLETE="KENDOUICOMPLETE",o.KENDOUIMVC="KENDOUIMVC",o.KENDOUIREACT="KENDOUIREACT",o.KENDOUIVUE="KENDOUIVUE",o.MAUI="MAUI",o.RCAJAX="RCAJAX",o.RCWF="RCWF",o.RCWPF="RCWPF",o.REPORTING="REPORTING",o.REPORTSERVER="REPORTSERVER",o.UIASPCORE="UIASPCORE",o.UIXAM="UIXAM",o.WINUI="WINUI",Object.freeze({[r.BLAZOR]:"Telerik UI for Blazor",[r.DPL]:"Telerik Document Processing",[r.JM]:"Telerik JustMock",[r.KENDOUIANGULAR]:"Kendo UI for Angular",[r.KENDOUICOMPLETE]:"Kendo UI for jQuery",[r.KENDOUIMVC]:"Telerik UI for ASP.NET MVC",[r.KENDOUIREACT]:"KendoReact",[r.KENDOUIVUE]:"Kendo UI for Vue",[r.MAUI]:"Telerik UI for .NET MAUI",[r.RCAJAX]:"Telerik UI for ASP.NET AJAX",[r.RCWF]:"Telerik UI for WinForms",[r.RCWPF]:"Telerik UI for WPF",[r.REPORTING]:"Telerik Reporting",[r.REPORTSERVER]:"Telerik Report Server",[r.UIASPCORE]:"Telerik UI for ASP.NET Core",[r.UIXAM]:"Telerik UI for Xamarin",[r.WINUI]:"Telerik UI for WinUI"});let b=e=>e.productCode||e.productCodes[0];function T(e,t,n,o){let i="kendoLicensingMessage",r=()=>{},s=new CustomEvent(i,{detail:{message:e,productCode:t},cancelable:!0});if(document.documentElement.dispatchEvent(s)){let e=e=>{e.detail.productCode!==t&&n({message:e.detail.message,productCode:e.detail.productCode}),e.preventDefault()};document.documentElement.addEventListener(i,e),r=()=>{document.documentElement.removeEventListener(i,e)},o()}return r}let k=Object.freeze({name:"key",content:'\n \n \n \n \n \n \n '}),E=Object.freeze({name:"trial-tag",content:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n '}),O=Object.freeze({name:"recurring-payment",content:'\n \n \n \n \n \n \n \n \n '});class x{constructor(e,t,n,o){this.productName=e,this.severity="WARN",this.code="TKL201",this.notificationIcon=k,this.message="No Telerik and Kendo UI License found.\n To download a license key file, visit https://prgress.co/3PwQMKZ",this.notificationMessage=`License key missing for ${e} v${n}. A license key is required for both paid and trial usage. Learn how to set up a license key.`,this.notificationTitle=`License key missing for ${e} v${n}.`,this.notificationBody="A license key is required for both paid and trial usage.",this.callToAction={link:`https://www.telerik.com/download?utm_source=no_license_watermark&utm_campaign=${t.toLowerCase()}&utm_content=no_license_key_found`,message:"Start Free Trial"}}}class I{constructor(e,t,n,o){this.productName=e,this.severity="WARN",this.code="TKL202",this.notificationIcon=k,this.message=`${e} is not listed in your current license file. Learn more about ${e} licensing at ${o}`,this.notificationMessage=`No license found for ${e} v${n}. Access to the latest updates and support requires a valid license.`,this.notificationTitle=`No license found for ${e} v${n}`,this.notificationBody="To use this product and access updates and support you need to buy and install a valid license.",this.callToAction={link:`https://www.telerik.com/purchase.aspx?utm_source=no_license_watermark&utm_campaign=${t.toLowerCase()}&utm_content=no_license_key_current_product`,message:"Buy Now"}}}class P{constructor(e,t,n,o){this.productName=e,this.severity="WARN",this.code="TKL203",this.notificationIcon=E,this.message=`Your trial has expired ${o} day(s) ago. Thank you for trying out ${e}, we hope you enjoyed your trial period. To continue using our product, consider upgrading to a commercial license: https://prgress.co/3C9mr1M`,this.notificationMessage=`Your trial license for ${e} v${n} has expired ${o} ago. To continue using our product, consider upgrading to a commercial license. Learn more about ${e} licensing.`,this.notificationTitle=`Your trial license for ${e} has expired.`,this.notificationBody="To continue using the product you need to buy a subscription.",this.callToAction={link:`https://www.telerik.com/purchase.aspx?utm_source=no_license_watermark&utm_campaign=${t.toLowerCase()}&utm_content=trial_expired`,message:"Buy Now"}}}class U{constructor(e,t,n,o,i,r){this.productName=e,this.severity="WARN",this.code="TKL204",this.notificationIcon=k;let s=o?` version ${o}`:"";this.message=`Your current license has expired on ${n.toLocaleDateString()} and is not valid for ${e}${s}. The product was published on ${i.toLocaleDateString()}. Renew your license at https://prgress.co/3Px9m5F`,this.notificationMessage=`Your license is not valid for ${e} v${o}. To continue using the product, install a valid license. Renew your license and download a new license key.`,this.notificationTitle=`Your license doesn't cover ${e} v${o}`,this.notificationBody="To access the latest version and updates you need to renew your license.",this.callToAction={link:`https://www.telerik.com/account/your-licenses?utm_source=no_license_watermark&utm_campaign=${t.toLowerCase()}&utm_content=perpertual_newer_version`,message:"Renew Now"}}}class A{constructor(e,t,n){this.productName=e,this.severity="WARN",this.code="TKL204",this.notificationIcon=O,this.message=`Your ${e} subscription has expired on ${n.toLocaleDateString()}. To continue using the product, please renew your subscription at https://prgress.co/3Px9m5F and download a new license key.`,this.notificationMessage=`Your ${e} subscription has expired. To continue using the product, please renew your subscription and download a new license key.`,this.notificationTitle=`Your ${e} subscription has expired.`,this.notificationBody="To continue using the product you need to renew your subscription.",this.callToAction={link:`https://www.telerik.com/account/your-licenses?utm_source=no_license_watermark&utm_campaign=${t.toLowerCase()}&utm_content=subscription_expired`,message:"Renew Now"}}}class N{constructor(e,t,n,o){this.productName=e,this.severity="INFO",this.notificationIcon=E,this.message=`Your Trial license will expire in ${-o} day(s). To acquire a commercial license, visit https://prgress.co/3PyHIoH`,this.notificationTitle=`Active trial for ${e} v${n}`,this.notificationBody=`Your trial will expire in ${-o} day(s).`,this.callToAction={link:`https://www.telerik.com/purchase.aspx?utm_source=no_license_watermark&utm_campaign=${t.toLowerCase()}&utm_content=active_trial`,message:"Buy now"}}}async function R(e,t){if("object"!=typeof crypto||"object"!=typeof crypto.subtle||"function"!=typeof TextEncoder||"function"!=typeof TextDecoder)return;let n=crypto.subtle,[o,i,r]=e.split("."),s=L(r),a=new TextEncoder,c=new TextDecoder,l=a.encode(`${o}.${i}`);if("Telerik License Evidence"!==JSON.parse(c.decode(L(o))).typ)throw Error("Unknown license evidence type");let p=await function(e){let t=C(e.replace("-----BEGIN PUBLIC KEY-----","").replace("-----END PUBLIC KEY-----","").replace(/\n/gm,""));return crypto.subtle.importKey("spki",t,{name:"RSASSA-PKCS1-v1_5",hash:"SHA-256"},!0,["verify"])}(t);if(!await n.verify(p.algorithm,p,s,l))throw Error("Invalid license evidence")}let _={data:" {} "},D=new Map,M=new Set;function S(e){try{let t=JSON.parse(function(e){let t=[],n=e.trim();for(let e=0;e{let t=e^o;return o=e,t}).map(e=>String.fromCharCode(e)).join("")}(e));Array.isArray(t[3])&&t.splice(3,0,"");let n={products:t[1].map(([e,t,n])=>({code:e,licenseExpirationDate:t,trial:!!n})),userId:t[2],integrity:t[3],licenses:t[4],scriptKey:!0};try{let e=JSON.parse(_.data);n.products=[...e.products,...n.products],n.licenses=[...e.licenses,...n.licenses]}catch(e){}_.data=JSON.stringify(n)}catch(e){}}let $=!0;function K(e){var t;let n=JSON.parse(_.data),o=!n.scriptKey&&!n.timestamp,i=n.scriptKey&&"undefined"==typeof KendoLicensing,r=b(e),s,a,c=!1;if(o||i||(n.licenses?.length>0&&Promise.all(n.licenses?.map(e=>R(e,"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2mnUVMmkth2x+N/ODszG\nOFIYBL6NOO1XWRj1wkmecKuLziJDhFz0WQmyOjY34Ymg9pLuBA9QSWrrZuvPw40N\nm0X/GBmttFmPNvca3WmJ2oKM7PpLiUU9f7Ov5WeIXnx++ts/LC/OB7FtZ+LiRgJ7\n0mZnPeTogdFrASf0zSQJv4jmX840LPa6nomWeUgIVGPLLVI14Gib8Dl+nOckqCNc\nkAUUk4IBF67DufRt9zQyRxg99ysakvHX2SDbdGvIBdxWxvhhmrBoeix0uSVtG2gm\njdvSqlPJVdvMbk1Xe2+SUldJPrxH1VrTYeRUt4yqWxy16nFJUDj9exZ202X4THkU\nJQIDAQAB\n-----END PUBLIC KEY-----"))).then(()=>{$=!0}).catch(()=>{$=!1,D.clear()}),!$))s=new x(e.productName,r,e.version,e.licensingDocsUrl);else{let o;if(o=[],n.licenses?.length>0?o=n.licenses.map(e=>JSON.parse(String.fromCharCode(...L(e.split(".")[1])))):n.products?.length>0&&(o=n.products.map(e=>({type:e.trial?"trial":"perpetual",code:e.code,expiration:e.licenseExpirationDate,licenseId:null,userId:n.userId}))),a=function(e,t){let n=t.filter(e=>"usage"!==e.type).filter(t=>e.productCode===t.code||e.redistributedBy?.includes(t.code)||e.productCodes?.includes(t.code)).sort((e,t)=>t.expiration-e.expiration);return n.find(e=>"subscription"===e.type&&!v(y(),e.expiration))||n.find(t=>"perpetual"===t.type&&!v(e.publishDate,t.expiration))||n.find(e=>"subscription"===e.type&&!v(g(y(),10),e.expiration))||n.find(e=>"trial"===e.type&&!v(y(),e.expiration))||n.find(e=>"subscription"===e.type)||n.find(e=>"perpetual"===e.type)||n.find(e=>"trial"===e.type)}(e,o)){if("trial"===a.type){let n=(t=w(a.expiration),Math.floor((y()-m(t))/86400));v(y(),a.expiration)?s=new P(e.productName,r,e.version,n):(s=new N(e.productName,r,e.version,n),c=!0)}else if("perpetual"===a.type){let t=a.expiration;v(e.publishDate,t)?s=new U(e.productName,r,w(a.expiration),e.version,w(e.publishDate),e.licensingDocsUrl):c=!0}else if("subscription"===a.type){let t=a.expiration;"subscription"===a.type&&(t=g(t,10)),n.timestamp&&v(n.timestamp,t)?s=new A(e.productName,r,w(a.expiration)):c=!0}}else s=new I(e.productName,r,e.version,e.licensingDocsUrl)}let l=a,p=l?.expiration?w(l.expiration):void 0;return{isLicenseValid:c,licenseType:a?.type,licenseProductCode:l?.code,expiration:p,message:s}}function B(e){if(D.has(e.name))return D.get(e.name);let{isLicenseValid:t,message:n}=K(e),o=b(e);return n&&!M.has(o)&&(function(e,t){var n;if("object"==typeof console){let o=`[${e.severity}][Telerik and Kendo UI Licensing]`+(n?` ${n}:`:"")+` ${t.productName}`,i="function"==typeof console.group;i?console.group(o):console.warn(o),console.warn(e.message),i&&console.groupEnd()}}(n,e),M.add(o)),D.set(e.name,t),t}var F={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"},V=(i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),W=function(e){function t(t){var n=e.call(this,t)||this;if(n.rootElForPDF=null,void 0!==s)B(F);else{var o="License activation failed for ".concat(F.name,"\n");console.warn(o+="The @progress/kendo-licensing script is not loaded.\n"+"See ".concat(F.licensingDocsUrl," for more information.\n"))}return n}return V(t,e),t.prototype.render=function(){var e=this;return a.createElement("div",{ref:function(t){e.rootElForPDF=t}},this.props.children)},t.prototype.save=function(e){new f.Z(l.Vg,p.F_,u.p,this.rootElForPDF,this.getOptions()).savePDF(e)},t.prototype.getOptions=function(){return Object.assign({},this.props,{margin:(0,d.t)(this.props)})},t.propTypes={author:c.string,avoidLinks:c.oneOfType([c.bool,c.string]),forcePageBreak:c.string,keepTogether:c.string,creator:c.string,date:c.instanceOf(Date),imageResolution:c.number,fileName:c.string,forceProxy:c.bool,keywords:c.string,landscape:c.bool,margin:c.oneOfType([c.string,c.number,c.shape({left:c.oneOfType([c.number,c.string]),top:c.oneOfType([c.number,c.string]),right:c.oneOfType([c.number,c.string]),bottom:c.oneOfType([c.number,c.string])})]),pageTemplate:c.any,paperSize:c.any,repeatHeaders:c.bool,scale:c.number,proxyData:c.any,proxyURL:c.string,proxyTarget:c.string,producer:c.string,subject:c.string,title:c.string},t}(a.Component)},97273:function(e,t,n){"use strict";n.d(t,{W:function(){return a}});var o,i=n(67294),r=n(45697),s=(o=function(e,t){return(o=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){return null},t.propTypes={left:r.oneOfType([r.number,r.string]),top:r.oneOfType([r.number,r.string]),right:r.oneOfType([r.number,r.string]),bottom:r.oneOfType([r.number,r.string])},t}(i.Component)},9901:function(e,t,n){"use strict";n.d(t,{t:function(){return s}});var o=n(67294),i=n(97273),r=["bottom","left","right","top"];function s(e){var t=o.Children.toArray(e.children).find(function(e){return e&&e.type===i.W});return t?function(e){for(var t={},n=0;n