Files
sam-sales/plan/node_modules/pptxgenjs/dist/pptxgen.bundle.js

97 lines
450 KiB
JavaScript
Raw Normal View History

/* PptxGenJS 4.0.1 @ 2025-06-25T23:35:35.101Z */
!function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function a(n,o,i){function s(t,e){if(!o[t]){if(!n[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(A)return A(t,!0);e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}r=o[t]={exports:{}};n[t][0].call(r.exports,function(e){return s(n[t][1][e]||e)},r,r.exports,a,n,o,i)}return o[t].exports}for(var A="function"==typeof require&&require,e=0;e<i.length;e++)s(i[e]);return s}({1:[function(e,t,r){var p=e("./utils"),c=e("./support"),u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(e){for(var t,r,a,n,o,i,s=[],A=0,l=e.length,c="string"!==p.getTypeOf(e);A<e.length;)i=l-A,a=c?(t=e[A++],r=A<l?e[A++]:0,A<l?e[A++]:0):(t=e.charCodeAt(A++),r=A<l?e.charCodeAt(A++):0,A<l?e.charCodeAt(A++):0),n=(3&t)<<4|r>>4,o=1<i?(15&r)<<2|a>>6:64,i=2<i?63&a:64,s.push(u.charAt(t>>2)+u.charAt(n)+u.charAt(o)+u.charAt(i));return s.join("")},r.decode=function(e){var t,r,a,n,o,i=0,s=0,A="data:";if(e.substr(0,A.length)===A)throw new Error("Invalid base64 input, it looks like a data url.");var l,A=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===u.charAt(64)&&A--,e.charAt(e.length-2)===u.charAt(64)&&A--,A%1!=0)throw new Error("Invalid base64 input, bad content length.");for(l=new(c.uint8array?Uint8Array:Array)(0|A);i<e.length;)t=u.indexOf(e.charAt(i++))<<2|(n=u.indexOf(e.charAt(i++)))>>4,r=(15&n)<<4|(n=u.indexOf(e.charAt(i++)))>>2,a=(3&n)<<6|(o=u.indexOf(e.charAt(i++))),l[s++]=t,64!==n&&(l[s++]=r),64!==o&&(l[s++]=a);return l}},{"./support":30,"./utils":32}],2:[function(e,t,r){var a=e("./external"),n=e("./stream/DataWorker"),o=e("./stream/Crc32Probe"),i=e("./stream/DataLengthProbe");function s(e,t,r,a,n){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=a,this.compressedContent=n}s.prototype={getContentWorker:function(){var e=new n(a.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new n(a.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(e,t,r){return e.pipe(new o).pipe(new i("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new i("compressedSize")).withStreamInfo("compression",t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,r){var a=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new a("STORE compression")},uncompressWorker:function(){return new a("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,r){var a=e("./utils"),i=(()=>{for(var e=[],t=0;t<256;t++){for(var r=t,a=0;a<8;a++)r=1&r?3988292384^r>>>1:r>>>1;e[t]=r}return e})();t.exports=function(e,t){return void 0!==e&&e.length?("string"!==a.getTypeOf(e)?(e,t,r)=>{var a=i,n=0+r;e^=-1;for(var o=0;o<n;o++)e=e>>>8^a[255&(e^t[o])];return-1^e}:(e,t,r)=>{var a=i,n=0+r;e^=-1;for(var o=0;o<n;o++)e=e>>>8^a[255&(e^t.charCodeAt(o))];return-1^e})(0|t,e,e.length):0}},{"./utils":32}],5:[function(e,t,r){r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,t,r){e="undefined"!=typeof Promise?Promise:e("lie");t.exports={Promise:e}},{lie:37}],7:[function(e,t,r){var a="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,n=e("pako"
| SLIDE [${d.length}]: ROW [${e}]: START...`),0),s=0,A=!1;for(;!A;){var l=n[i];let e=o[i];n.forEach(e=>{e._lineHeight>=s&&(s=e._lineHeight)}),f+s>u&&(p.verbose&&(console.log("\n|-----------------------------------------------------------------------|"),console.log(`|-- NEW SLIDE CREATED (currTabH+currLineH > maxH) => ${(f/F).toFixed(2)} + ${(l._lineHeight/F).toFixed(2)} > `+u/F),console.log("|-----------------------------------------------------------------------|\n\n")),0<o.length&&0<o.map(e=>e.text.length).reduce((e,t)=>e+t)&&g.rows.push(o),d.push(g),c=[],g={rows:c},o=[],t.forEach(e=>o.push({_type:I.tablecell,text:[],options:e.options})),h(),f+=r+a,p.verbose&&console.log(`| SLIDE [${d.length}]: emuSlideTabH ...... = ${(u/F).toFixed(1)} `),f=0,(p.addHeaderToEach||p.autoPageRepeatHeader)&&p._arrObjTabHeadRows&&p._arrObjTabHeadRows.forEach(e=>{let t=[],r=0;e.forEach(e=>{t.push(e),e._lineHeight>r&&(r=e._lineHeight)}),g.rows.push(t),f+=r}),e=o[i]);var c=l._lines.shift(),l=(Array.isArray(e.text)&&(c?e.text=e.text.concat(c):0===e.text.length&&(e.text=e.text.concat({_type:I.tablecell,text:""}))),i===n.length-1&&(f+=s),i=i<n.length-1?i+1:0,n.map(e=>e._lines.length).reduce((e,t)=>e+t));0===l&&(A=!0)}0<o.length&&g.rows.push(o),p.verbose&&console.log(`- SLIDE [${d.length}]: ROW [${e}]: ...COMPLETE ...... emuTabCurrH = ${(f/F).toFixed(2)} ( emuSlideTabH = ${(u/F).toFixed(2)} )`)}),d.push(g),p.verbose&&(console.log("\n|================================================|"),console.log("| FINAL: tableRowSlides.length = "+d.length),d.forEach(e=>console.log(e)),console.log("|================================================|\n\n")),d}let le=0;function ce(e,t,r,a){function n(e){e&&"none"!==e.style&&(void 0!==e.size&&(isNaN(Number(e.size))||e.size<=0)&&(console.warn("Warning: chart.gridLine.size must be greater than 0."),delete e.size),e.style&&!["solid","dash","dot"].includes(e.style)&&(console.warn("Warning: chart.gridLine.style options: `solid`, `dash`, `dot`."),delete e.style),e.cap)&&!["flat","square","round"].includes(e.cap)&&(console.warn("Warning: chart.gridLine.cap options: `flat`, `square`, `round`."),delete e.cap)}var o=++le,i={_type:null,text:null,options:null,chartRid:null};let s=null,A=[],l=(s=Array.isArray(t)?(t.forEach(e=>{A=A.concat(e.data)}),r||a):(A=r,a),A.forEach((e,t)=>{e._dataIndex=t,void 0===e.labels||Array.isArray(e.labels[0])||(e.labels=[e.labels])}),s&&"object"==typeof s?s:{});l._type=t,l.x=void 0===l.x||null==l.x||isNaN(Number(l.x))?1:l.x,l.y=void 0===l.y||null==l.y||isNaN(Number(l.y))?1:l.y,l.w=l.w||"50%",l.h=l.h||"50%",l.objectName=l.objectName?O(l.objectName):"Chart "+e._slideObjects.filter(e=>e._type===I.chart).length,["bar","col"].includes(l.barDir||"")||(l.barDir="col"),l._type!==w.AREA||["stacked","standard","percentStacked"].includes(l.barGrouping||"")||(l.barGrouping="standard"),l._type!==w.BAR||["clustered","stacked","percentStacked"].includes(l.barGrouping||"")||(l.barGrouping="clustered"),l._type!==w.BAR3D||["clustered","stacked","standard","percentStacked"].includes(l.barGrouping||"")||(l.barGrouping="standard"),null!=(r=l.barGrouping)&&r.includes("tacked")&&!l.barGapWidthPct&&(l.barGapWidthPct=50),l.dataLabelPosition&&(l._type!==w.AREA&&l._type!==w.BAR3D&&l._type!==w.DOUGHNUT&&l._type!==w.RADAR||delete l.dataLabelPosition,l._type!==w.PIE||["bestFit","ctr","inEnd","outEnd"].includes(l.dataLabelPosition)||delete l.dataLabelPosition,l._type!==w.BUBBLE&&l._type!==w.BUBBLE3D&&l._type!==w.LINE&&l._type!==w.SCATTER||["b","ctr","l","r","t"].includes(l.dataLabelPosition)||delete l.dataLabelPosition,l._type===w.BAR)&&(["stacked","percentStacked"].includes(l.barGrouping||"")||["ctr","inBase","inEnd"].includes(l.dataLabelPosition)||delete l.dataLabelPosition,["clustered"].includes(l.barGrouping||"")||["ctr","inBase","inEnd","outEnd"].includes(l.dataLabelPosition)||delete l.dataLabelPosition),l.dataLabelBkgrdColors=!(!l.dataLabelBkgrdColors&&l.dataLabelBkgrdColors)&&l.dataLabelBkgrdColors,["b","l","r","t","tr"].includes(l.legendPos||"")||(l.legendPos="r"),["cone","coneToMax","box","cylinder","pyramid","pyramidToM
<c:tx>
<c:rich>
${t}
<a:lstStyle/>
<a:p>
${e}
<a:defRPr ${o} b="${i}" i="0" u="none" strike="noStrike">
<a:solidFill>${j(r.color||d)}</a:solidFill>
<a:latin typeface="${r.fontFace||"Arial"}"/>
</a:defRPr>
</a:pPr>
<a:r>
<a:rPr ${o} b="${i}" i="0" u="none" strike="noStrike">
<a:solidFill>${j(r.color||d)}</a:solidFill>
<a:latin typeface="${r.fontFace||"Arial"}"/>
</a:rPr>
<a:t>${O(r.title)||""}</a:t>
</a:r>
</a:p>
</c:rich>
</c:tx>
${s}
<c:overlay val="0"/>
</c:title>`}function E(e){let t="";e-=1;return t=e<=25?r[e]:""+r[Math.floor(e/r.length-1)]+r[e%r.length]}function T(e,t){var r,a,n,o,i,s;return e?"object"!=typeof e?(console.warn("`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`"),"<a:effectLst/>"):(r="<a:effectLst>",e=(t=Object.assign(Object.assign({},t),e)).type||"outer",a=z(t.blur),n=z(t.offset),o=Math.round(6e4*t.angle),i=t.color,s=Math.round(1e5*t.opacity),(r=(r+=`<a:${e}Shdw sx="100000" sy="100000" kx="0" ky="0" algn="bl" blurRad="${a}" rotWithShape="${t.rotateWithShape?1:0}" dist="${n}" dir="${o}">`)+`<a:srgbClr val="${i}">`+`<a:alpha val="${s}"/></a:srgbClr>`)+`</a:${e}Shdw>`+"</a:effectLst>"):"<a:effectLst/>"}function we(e){var t="<c:majorGridlines>";return(t+=" <c:spPr>")+` <a:ln w="${z(e.size||f.size)}" cap="${xe(e.cap||f.cap)}">`+(' <a:solidFill><a:srgbClr val="'+(e.color||f.color)+'"/></a:solidFill>')+(' <a:prstDash val="'+(e.style||f.style)+'"/><a:round/>')+" </a:ln>"+" </c:spPr>"+"</c:majorGridlines>"}function xe(e){if(e&&"flat"!==e){if("square"===e)return"sq";if("round"===e)return"rnd";throw new Error("Invalid chart line cap: "+e)}return"flat"}function Ce(e){let t,r,a="undefined"!=typeof process&&!(null==(t=process.versions)||!t.node)&&"node"===(null==(r=process.release)?void 0:r.name),o,i,s=a?()=>c(this,void 0,void 0,function*(){({default:o}=yield import("node:fs")),{default:i}=yield import("node:https")}):()=>c(this,void 0,void 0,function*(){}),A=(a&&s(),[]),l=e._relsMedia.filter(e=>!("online"===e.type||e.data||e.path&&(e.path,e.path.includes("preencoded")))),n=[];return l.forEach(e=>{n.includes(e.path)?e.isDuplicate=!0:(e.isDuplicate=!1,n.push(e.path))}),l.filter(e=>!e.isDuplicate).forEach(n=>{A.push(c(this,void 0,void 0,function*(){if(i||(yield s()),a&&o&&0!==n.path.indexOf("http"))try{var e=o.readFileSync(n.path);return n.data=Buffer.from(e).toString("base64"),l.filter(e=>e.isDuplicate&&e.path===n.path).forEach(e=>e.data=n.data),"done"}catch(e){throw n.data=P,l.filter(e=>e.isDuplicate&&e.path===n.path).forEach(e=>e.data=n.data),new Error(`ERROR: Unable to read media: "${n.path}"
`+String(e))}return a&&i&&n.path.startsWith("http")?yield new Promise((r,a)=>{i.get(n.path,e=>{let t="";e.setEncoding("binary"),e.on("data",e=>t+=e),e.on("end",()=>{n.data=Buffer.from(t,"binary").toString("base64"),l.filter(e=>e.isDuplicate&&e.path===n.path).forEach(e=>e.data=n.data),r("done")}),e.on("error",()=>{n.data=P,l.filter(e=>e.isDuplicate&&e.path===n.path).forEach(e=>e.data=n.data),a(new Error("ERROR! Unable to load image (https.get): "+n.path))})})}):yield new Promise((t,r)=>{let a=new XMLHttpRequest;a.onload=()=>{let e=new FileReader;e.onloadend=()=>{n.data=e.result,l.filter(e=>e.isDuplicate&&e.path===n.path).forEach(e=>e.data=n.data),n.isSvgPng?Pe(n).then(()=>t("done")).catch(r):t("done")},e.readAsDataURL(a.response)},a.onerror=()=>{n.data=P,l.filter(e=>e.isDuplicate&&e.path===n.path).forEach(e=>e.data=n.data),r(new Error("ERROR! Unable to load image (xhr.onerror): "+n.path))},a.open("GET",n.path),a.responseType="blob",a.send()})}))}),e._relsMedia.filter(e=>e.isSvgPng&&e.data).forEach(e=>{c(this,void 0,void 0,function*(){a&&!o&&(yield s()),a&&o?(e.data=P,A.push(Promise.resolve("done"))):A.push(Pe(e))})}),A}function Pe(n){return c(this,void 0,void 0,function*(){return yield new Promise((r,e)=>{let a=new Image;a.onload=()=>{a.width+a.height===0&&a.onerror("h/w=0");let e=document.createElement("CANVAS");var t=e.getContext("2d");e.width=a.width,e.height=a.height,t.drawImage(a,0,0);try{n.data=e.toDataURL(n.type),r("done")}catch(e){a.onerror(e.toString())}e=null},a.onerror=()=>{n.data=P,e(new Error("ERROR! Unable to load image (image.onerror): "+n.path))},a.src="string"==typeof n.data?n.data:P})})}let Se={cover:function(e,t){var e=e.h/e.w,r=e<t.h/t.w,a=r?t.h/e:t.w,r=r?t.h:t.w*e,e=Math.round(5e4*(1-t.w/a)),a=Math.round(5e4*(1-t.h/r));return`<a:srcRect l="${e}" r="${e}" t="${a}" b="${a}"/><a:stretch/>`},contain:function(e,t){var e=e.h/e.w,r=e<t.h/t.w,a=r?t.w:t.h/e,r=r?t.w*e:t.h,e=Math.round(5e4*(1-t.w/a)),a=Math.round(5e4*(1-t.h/r));return`<a:srcRect l="${e}" r="${e}" t="${a}" b="${a}"/><a:stretch/>`},crop:function(e,t){var r=t.x,a=e.w-(t.x+t.w),n=t.y,t=e.h-(t.y+t.h);return`<a:srcRect l="${Math.round(r/e.w*1e5)}" r="${Math.round(a/e.w*1e5)}" t="${Math.round(n/e.h*1e5)}" b="${Math.round(t/e.h*1e5)}"/><a:stretch/>`}};function Le(k){let e,_=k._name?'<p:cSld name="'+k._name+'">':"<p:cSld>",N=1;return k._bkgdImgRid?_+=`<p:bg><p:bgPr><a:blipFill dpi="0" rotWithShape="1"><a:blip r:embed="rId${k._bkgdImgRid}"><a:lum/></a:blip><a:srcRect/><a:stretch><a:fillRect/></a:stretch></a:blipFill><a:effectLst/></p:bgPr></p:bg>`:null!=(e=k.background)&&e.color?_+=`<p:bg><p:bgPr>${G(k.background)}</p:bgPr></p:bg>`:!k.bkgd&&k._name&&k._name===t&&(_+='<p:bg><p:bgRef idx="1001"><a:schemeClr val="bg1"/></p:bgRef></p:bg>'),_=(_=_+"<p:spTree>"+'<p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr>')+'<p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/>'+'<a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr>',k._slideObjects.forEach((a,e)=>{let t,r,n,o,i,s,A,l,c=0,p=0,u=R("75%","X",k._presLayout),f=0,d,h="",g=null,m,v=0,y=0,b,w=null;var x,C,P,S,L=null==(t=a.options)?void 0:t.sizing,E=null==(r=a.options)?void 0:r.rounding;void 0!==k._slideLayout&&void 0!==k._slideLayout._slideObjects&&a.options&&a.options.placeholder&&(d=k._slideLayout._slideObjects.filter(e=>e.options.placeholder===a.options.placeholder)[0]),a.options=a.options||{},void 0!==a.options.x&&(c=R(a.options.x,"X",k._presLayout)),void 0!==a.options.y&&(p=R(a.options.y,"Y",k._presLayout)),void 0!==a.options.w&&(u=R(a.options.w,"X",k._presLayout)),void 0!==a.options.h&&(f=R(a.options.h,"Y",k._presLayout));let T=u,B=f;switch(d&&(!d.options.x&&0!==d.options.x||(c=R(d.options.x,"X",k._presLayout)),!d.options.y&&0!==d.options.y||(p=R(d.options.y,"Y",k._presLayout)),!d.options.w&&0!==d.options.w||(u=R(d.options.w,"X",k._presLayout)),!d.options.h&&0!==d.options.h||(f=R(d.options.h,"Y",k._presLayout))),a.options.flipH&&(h+=' flipH="1"'),a.options.flipV&&(h+=' flipV="1"'),a.options.rotate&&(h+=` rot="${U(a.options.rotate)}"`),a._type){case I.table:
<a:pt x="${R(e.curve.x1,"X",k._presLayout)}" y="${R(e.curve.y1,"Y",k._presLayout)}" />
<a:pt x="${R(e.curve.x2,"X",k._presLayout)}" y="${R(e.curve.y2,"Y",k._presLayout)}" />
<a:pt x="${R(e.x,"X",k._presLayout)}" y="${R(e.y,"Y",k._presLayout)}" />
</a:cubicBezTo>`;break;case"quadratic":_+=`<a:quadBezTo>
<a:pt x="${R(e.curve.x1,"X",k._presLayout)}" y="${R(e.curve.y1,"Y",k._presLayout)}" />
<a:pt x="${R(e.x,"X",k._presLayout)}" y="${R(e.y,"Y",k._presLayout)}" />
</a:quadBezTo>`}else"close"in e?_+="<a:close />":e.moveTo||0===t?_+=`<a:moveTo><a:pt x="${R(e.x,"X",k._presLayout)}" y="${R(e.y,"Y",k._presLayout)}" /></a:moveTo>`:_+=`<a:lnTo><a:pt x="${R(e.x,"X",k._presLayout)}" y="${R(e.y,"Y",k._presLayout)}" /></a:lnTo>`}),_=(_+="</a:path>")+"</a:pathLst></a:custGeom>";else{if(_+='<a:prstGeom prst="'+a.shape+'"><a:avLst>',a.options.rectRadius)_+=`<a:gd name="adj" fmla="val ${Math.round(a.options.rectRadius*F*1e5/Math.min(u,f))}"/>`;else if(a.options.angleRange){for(let e=0;e<2;e++){var D=a.options.angleRange[e];_+=`<a:gd name="adj${e+1}" fmla="val ${U(D)}" />`}a.options.arcThicknessRatio&&(_+=`<a:gd name="adj3" fmla="val ${Math.round(5e4*a.options.arcThicknessRatio)}" />`)}_+="</a:avLst></a:prstGeom>"}_+=a.options.fill?G(a.options.fill):"<a:noFill/>",a.options.line&&(_+=a.options.line.width?`<a:ln w="${z(a.options.line.width)}">`:"<a:ln>",a.options.line.color&&(_+=G(a.options.line)),a.options.line.dashType&&(_+=`<a:prstDash val="${a.options.line.dashType}"/>`),a.options.line.beginArrowType&&(_+=`<a:headEnd type="${a.options.line.beginArrowType}"/>`),a.options.line.endArrowType&&(_+=`<a:tailEnd type="${a.options.line.endArrowType}"/>`),_+="</a:ln>"),a.options.shadow&&"none"!==a.options.shadow.type&&(a.options.shadow.type=a.options.shadow.type||"outer",a.options.shadow.blur=z(a.options.shadow.blur||8),a.options.shadow.offset=z(a.options.shadow.offset||4),a.options.shadow.angle=Math.round(6e4*(a.options.shadow.angle||270)),a.options.shadow.opacity=Math.round(1e5*(a.options.shadow.opacity||.75)),a.options.shadow.color=a.options.shadow.color||W.color,_=(_=(_=(_=(_+="<a:effectLst>")+` <a:${a.options.shadow.type}Shdw ${"outer"===a.options.shadow.type?'sx="100000" sy="100000" kx="0" ky="0" algn="bl" rotWithShape="0"':""} blurRad="${a.options.shadow.blur}" dist="${a.options.shadow.offset}" dir="${a.options.shadow.angle}">`)+` <a:srgbClr val="${a.options.shadow.color}">`)+` <a:alpha val="${a.options.shadow.opacity}"/></a:srgbClr>`)+" </a:outerShdw></a:effectLst>"),_=(_+="</p:spPr>")+De(a)+"</p:sp>";break;case I.image:_=(_=_+"<p:pic>"+" <p:nvPicPr>")+`<p:cNvPr id="${e+2}" name="${a.options.objectName}" descr="${O(a.options.altText||a.image)}">`,null!=(A=a.hyperlink)&&A.url&&(_+=`<a:hlinkClick r:id="rId${a.hyperlink._rId}" tooltip="${a.hyperlink.tooltip?O(a.hyperlink.tooltip):""}"/>`),null!=(l=a.hyperlink)&&l.slide&&(_+=`<a:hlinkClick r:id="rId${a.hyperlink._rId}" tooltip="${a.hyperlink.tooltip?O(a.hyperlink.tooltip):""}" action="ppaction://hlinksldjump"/>`),_=(_=(_=_+" </p:cNvPr>"+' <p:cNvPicPr><a:picLocks noChangeAspect="1"/></p:cNvPicPr>')+(" <p:nvPr>"+ke(d)+"</p:nvPr>"))+" </p:nvPicPr>"+"<p:blipFill>",_=(k._relsMedia||[]).filter(e=>e.rId===a.imageRid)[0]&&"svg"===(k._relsMedia||[]).filter(e=>e.rId===a.imageRid)[0].extn?(_=(_=(_=(_+=`<a:blip r:embed="rId${a.imageRid-1}">`)+(a.options.transparency?` <a:alphaModFix amt="${Math.round(1e3*(100-a.options.transparency))}"/>`:""))+' <a:extLst> <a:ext uri="{96DAC541-7B7A-43D3-8B79-37D633B846F1}">')+` <asvg:svgBlip xmlns:asvg="http://schemas.microsoft.com/office/drawing/2016/SVG/main" r:embed="rId${a.imageRid}"/>`+" </a:ext>")+" </a:extLst></a:blip>":(_+=`<a:blip r:embed="rId${a.imageRid}">`)+(a.options.transparency?`<a:alphaModFix amt="${Math.round(1e3*(100-a.options.transparency))}"/>`:"")+"</a:blip>",null!=L&&L.type?(x=L.w?R(L.w,"X",k._presLayout):u,C=L.h?R(L.h,"Y",k._presLayout):f,P=R(L.x||0,"X",k._presLayout),S=R(L.y||0,"Y",k._presLayout),_+=Se[L.type]({w:T,h:B},{w:x,h:C,x:P,y:S}),T=x,B=C):_+=" <a:stretch><a:fillRect/></a:stretch>",_=(_=(_=(_=(_=_+"</p:blipFill>"+"<p:spPr>")+(" <a:xfrm"+h+">"))+` <a:off x="${c}" y="${p}"/>`)+` <a:ext cx="${T}" cy="${B}"/>`)+" </a:xfrm>"+` <a:prstGeom prst="${E?"ellipse":"rect"}"><a:avLst/></a:prstGeom>`,a.options.shadow&&"none"!==a.options.shadow.type&&(a.options.shadow.type=a.options.shadow.type||"outer",a.options.shadow.blur=z(a.options.shadow.blur||8),a.options.shadow.offset=z(a.options.shadow.offset||4),a.options.shadow.angle=Math.round(6e4*(a.options.shadow.angle||270)),a.options.
${t?' idx="'+t.toString()+'"':""}
${r&&re[r]?` type="${r}"`:""}
${e.text&&0<e.text.length?' hasCustomPrompt="1"':""}
/>`):""}function _e(e){return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${A}<p:notes xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"><p:cSld><p:spTree><p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr><p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/><a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr><p:sp><p:nvSpPr><p:cNvPr id="2" name="Slide Image Placeholder 1"/><p:cNvSpPr><a:spLocks noGrp="1" noRot="1" noChangeAspect="1"/></p:cNvSpPr><p:nvPr><p:ph type="sldImg"/></p:nvPr></p:nvSpPr><p:spPr/></p:sp><p:sp><p:nvSpPr><p:cNvPr id="3" name="Notes Placeholder 2"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="body" idx="1"/></p:nvPr></p:nvSpPr><p:spPr/><p:txBody><a:bodyPr/><a:lstStyle/><a:p><a:r><a:rPr lang="en-US" dirty="0"/><a:t>${O((e=>{let t="";return e._slideObjects.forEach(e=>{e._type===I.notes&&(t+=null!=e&&e.text&&e.text[0]?e.text[0].text:"")}),t.replace(/\r*\n/g,A)})(e))}</a:t></a:r><a:endParaRPr lang="en-US" dirty="0"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="4" name="Slide Number Placeholder 3"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="sldNum" sz="quarter" idx="10"/></p:nvPr></p:nvSpPr><p:spPr/><p:txBody><a:bodyPr/><a:lstStyle/><a:p><a:fld id="${ae}" type="slidenum"><a:rPr lang="en-US"/><a:t>${e._slideNum}</a:t></a:fld><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp></p:spTree><p:extLst><p:ext uri="{BB962C8B-B14F-4D97-AF65-F5344CB8AC3E}"><p14:creationId xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" val="1024086991"/></p:ext></p:extLst></p:cSld><p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:notes>`}function Ne(e,t,r){return Ee(e[r-1],[{target:`../slideLayouts/slideLayout${((t,r,a)=>{for(let e=0;e<r.length;e++)if(r[e]._name===t[a-1]._slideLayout._name)return e+1;return 1})(e,t,r)}.xml`,type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"},{target:`../notesSlides/notesSlide${r}.xml`,type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide"}])}class Fe{set layout(e){var t=this.LAYOUTS[e];if(!t)throw new Error("UNKNOWN-LAYOUT");this._layout=e,this._presLayout=t}get layout(){return this._layout}get version(){return this._version}set author(e){this._author=e}get author(){return this._author}set company(e){this._company=e}get company(){return this._company}set revision(e){this._revision=e}get revision(){return this._revision}set subject(e){this._subject=e}get subject(){return this._subject}set theme(e){this._theme=e}get theme(){return this._theme}set title(e){this._title=e}get title(){return this._title}set rtlMode(e){this._rtlMode=e}get rtlMode(){return this._rtlMode}get masterSlide(){return this._masterSlide}get slides(){return this._slides}get sections(){return this._sections}get slideLayouts(){return this._slideLayouts}get AlignH(){return this._alignH}get AlignV(){return this._alignV}get ChartType(){return this._chartType}get OutputType(){return this._outputType}get presLayout(){return this._presLayout}get SchemeColor(){return this._schemeColor}get ShapeType(){return this._shapeType}get charts(){return this._charts}get colors(){return this._colors}get shapes(){return this._shapes}constructor(){this._version="4.0.1",this._alignH=$,this._alignV=ee,this._chartType=K,this._outputType=a,this._schemeColor=n,this._shapeType=Z,this._charts=w,this._colors=te,this._shapes=b,this.addNewSlide=e=>{var t=0<this.sections.length&&0<this.sections[this.sections.length-1]._slides.filter(e=>e._slideNum===this.slides[this.slides.length-1]._slideNum).length;return e.sectionTitle=t?this.sections[this.sections.length-1].title:null,this.addSlide(e)},this.getSlide=t=>this.slides.filter(e=>e._slideNum===t)[0],this.setSlideNumber=e=>{this.masterSlide._slideNumberProps=e,this.slideLayouts.filter(e=>e._name===t)[0]._slideNumberProps=e},this.createChartMediaRels=(e,r,t)=>{e.
<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/>
<Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/>
<Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="ppt/presentation.xml"/>
</Relationships>`),i.file("docProps/app.xml",(a=this.slides,n=this.company,`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${A}<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes">
<TotalTime>0</TotalTime>
<Words>0</Words>
<Application>Microsoft Office PowerPoint</Application>
<PresentationFormat>On-screen Show (16:9)</PresentationFormat>
<Paragraphs>0</Paragraphs>
<Slides>${a.length}</Slides>
<Notes>${a.length}</Notes>
<HiddenSlides>0</HiddenSlides>
<MMClips>0</MMClips>
<ScaleCrop>false</ScaleCrop>
<HeadingPairs>
<vt:vector size="6" baseType="variant">
<vt:variant><vt:lpstr>Fonts Used</vt:lpstr></vt:variant>
<vt:variant><vt:i4>2</vt:i4></vt:variant>
<vt:variant><vt:lpstr>Theme</vt:lpstr></vt:variant>
<vt:variant><vt:i4>1</vt:i4></vt:variant>
<vt:variant><vt:lpstr>Slide Titles</vt:lpstr></vt:variant>
<vt:variant><vt:i4>${a.length}</vt:i4></vt:variant>
</vt:vector>
</HeadingPairs>
<TitlesOfParts>
<vt:vector size="${a.length+1+2}" baseType="lpstr">
<vt:lpstr>Arial</vt:lpstr>
<vt:lpstr>Calibri</vt:lpstr>
<vt:lpstr>Office Theme</vt:lpstr>
${a.map((e,t)=>`<vt:lpstr>Slide ${t+1}</vt:lpstr>`).join("")}
</vt:vector>
</TitlesOfParts>
<Company>${n}</Company>
<LinksUpToDate>false</LinksUpToDate>
<SharedDoc>false</SharedDoc>
<HyperlinksChanged>false</HyperlinksChanged>
<AppVersion>16.0000</AppVersion>
</Properties>`)),i.file("docProps/core.xml",(a=this.title,n=this.subject,e=this.author,t=this.revision,`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<dc:title>${O(a)}</dc:title>
<dc:subject>${O(n)}</dc:subject>
<dc:creator>${O(e)}</dc:creator>
<cp:lastModifiedBy>${O(e)}</cp:lastModifiedBy>
<cp:revision>${t}</cp:revision>
<dcterms:created xsi:type="dcterms:W3CDTF">${(new Date).toISOString().replace(/\.\d\d\dZ/,"Z")}</dcterms:created>
<dcterms:modified xsi:type="dcterms:W3CDTF">${(new Date).toISOString().replace(/\.\d\d\dZ/,"Z")}</dcterms:modified>
</cp:coreProperties>`)),i.file("ppt/_rels/presentation.xml.rels",(t=>{let r=1,a='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+A;a+='<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster" Target="slideMasters/slideMaster1.xml"/>';for(let e=1;e<=t.length;e++)a+=`<Relationship Id="rId${++r}" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" Target="slides/slide${e}.xml"/>`;return r++,a+=`<Relationship Id="rId${r+0}" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesMaster" Target="notesMasters/notesMaster1.xml"/>`+`<Relationship Id="rId${r+1}" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/presProps" Target="presProps.xml"/>`+`<Relationship Id="rId${r+2}" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/viewProps" Target="viewProps.xml"/>`+`<Relationship Id="rId${r+3}" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/>`+`<Relationship Id="rId${r+4}" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/tableStyles" Target="tableStyles.xml"/>`+"</Relationships>"})(this.slides)),i.file("ppt/theme/theme1.xml",`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"><a:themeElements><a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="44546A"/></a:dk2><a:lt2><a:srgbClr val="E7E6E6"/></a:lt2><a:accent1><a:srgbClr val="4472C4"/></a:accent1><a:accent2><a:srgbClr val="ED7D31"/></a:accent2><a:accent3><a:srgbClr val="A5A5A5"/></a:accent3><a:accent4><a:srgbClr val="FFC000"/></a:accent4><a:accent5><a:srgbClr val="5B9BD5"/></a:accent5><a:accent6><a:srgbClr val="70AD47"/></a:accent6><a:hlink><a:srgbClr val="0563C1"/></a:hlink><a:folHlink><a:srgbClr val="954F72"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont>${null!=(n=(a=this).theme)&&n.headFontFace?`<a:latin typeface="${null==(n=a.theme)?void 0:n.headFontFace}"/>`:'<a:latin typeface="Calibri Light" panose="020F0302020204030204"/>'}<a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface=" Light"/><a:font script="Hang" typeface=" "/><a:font script="Hans" typeface="线 Light"/><a:font script="Hant" typeface=""/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Angsana New"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="E
<p:sldLayout xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" preserve="1">
${Le(e)}
<p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:sldLayout>`),i.file(`ppt/slideLayouts/_rels/slideLayout${t+1}.xml.rels`,(e=t+1,Ee(this.slideLayouts[e-1],[{target:"../slideMasters/slideMaster1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"}])))}),this.slides.forEach((e,t)=>{var r;i.file(`ppt/slides/slide${t+1}.xml`,(r=e,'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+A+'<p:sld xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"'+`${null!=r&&r.hidden?' show="0"':""}>`+Le(r)+"<p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:sld>")),i.file(`ppt/slides/_rels/slide${t+1}.xml.rels`,Ne(this.slides,this.slideLayouts,t+1)),i.file(`ppt/notesSlides/notesSlide${t+1}.xml`,_e(e)),i.file(`ppt/notesSlides/_rels/notesSlide${t+1}.xml.rels`,`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesMaster" Target="../notesMasters/notesMaster1.xml"/>
<Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" Target="../slides/slide${t+1}.xml"/>
</Relationships>`)}),i.file("ppt/slideMasters/slideMaster1.xml",(r=this.masterSlide,e=(e=this.slideLayouts).map((e,t)=>`<p:sldLayoutId id="${2147483649+t}" r:id="rId${r._rels.length+t+1}"/>`),t='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+A,(t+='<p:sldMaster xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main">')+Le(r)+'<p:clrMap bg1="lt1" tx1="dk1" bg2="lt2" tx2="dk2" accent1="accent1" accent2="accent2" accent3="accent3" accent4="accent4" accent5="accent5" accent6="accent6" hlink="hlink" folHlink="folHlink"/><p:sldLayoutIdLst>'+e.join("")+'</p:sldLayoutIdLst><p:hf sldNum="0" hdr="0" ftr="0" dt="0"/><p:txStyles> <p:titleStyle> <a:lvl1pPr algn="ctr" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="0"/></a:spcBef><a:buNone/><a:defRPr sz="4400" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mj-lt"/><a:ea typeface="+mj-ea"/><a:cs typeface="+mj-cs"/></a:defRPr></a:lvl1pPr> </p:titleStyle> <p:bodyStyle> <a:lvl1pPr marL="342900" indent="-342900" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char=""/><a:defRPr sz="3200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl1pPr> <a:lvl2pPr marL="742950" indent="-285750" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char=""/><a:defRPr sz="2800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl2pPr> <a:lvl3pPr marL="1143000" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char=""/><a:defRPr sz="2400" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl3pPr> <a:lvl4pPr marL="1600200" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char=""/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl4pPr> <a:lvl5pPr marL="2057400" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="»"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl5pPr> <a:lvl6pPr marL="2514600" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char=""/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl6pPr> <a:lvl7pPr marL="2971800" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char=""/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typefac
<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="../theme/theme1.xml"/>
</Relationships>`),this.slideLayouts.forEach(e=>{this.createChartMediaRels(e,i,o)}),this.slides.forEach(e=>{this.createChartMediaRels(e,i,o)}),this.createChartMediaRels(this.masterSlide,i,o),yield Promise.all(o).then(()=>c(this,void 0,void 0,function*(){return"STREAM"===s.outputType?yield i.generateAsync({type:"nodebuffer",compression:s.compression?"DEFLATE":"STORE"}):s.outputType?yield i.generateAsync({type:s.outputType}):yield i.generateAsync({type:"blob",compression:s.compression?"DEFLATE":"STORE"})}))}))});this.LAYOUTS={LAYOUT_4x3:{name:"screen4x3",width:9144e3,height:6858e3},LAYOUT_16x9:{name:"screen16x9",width:9144e3,height:5143500},LAYOUT_16x10:{name:"screen16x10",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:"custom",width:12192e3,height:6858e3}},this._author="PptxGenJS",this._company="PptxGenJS",this._revision="1",this._subject="PptxGenJS Presentation",this._title="PptxGenJS Presentation",this._presLayout={name:this.LAYOUTS[o].name,_sizeW:this.LAYOUTS[o].width,_sizeH:this.LAYOUTS[o].height,width:this.LAYOUTS[o].width,height:this.LAYOUTS[o].height},this._rtlMode=!1,this._slideLayouts=[{_margin:y,_name:t,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}stream(e){return c(this,void 0,void 0,function*(){return yield this.exportPresentation({compression:null==e?void 0:e.compression,outputType:"STREAM"})})}write(r){return c(this,void 0,void 0,function*(){var e="object"==typeof r&&null!=r&&r.outputType?r.outputType:r||null,t=!("object"!=typeof r||null==r||!r.compression)&&r.compression;return yield this.exportPresentation({compression:t,outputType:e})})}writeFile(a){return c(this,void 0,void 0,function*(){var e="undefined"!=typeof process&&!(null==(e=process.versions)||!e.node)&&"node"===(null==(e=process.release)?void 0:e.name),{fileName:t="Presentation.pptx",compression:r=!1}=("string"==typeof a&&(console.warn("[WARNING] writeFile(string) is deprecated - pass { fileName } instead."),a={fileName:a}),a),t=t.toLowerCase().endsWith(".pptx")?t:t+".pptx",r=yield this.exportPresentation({compression:r,outputType:e?"nodebuffer":null});return e?(e=(yield import("node:fs")).promises,e=e.writeFile,yield e(t,r)):yield this.writeFileToBrowser(t,r),t})}addSection(e){e?e.title||console.warn("addSection requires a title"):console.warn("addSection requires an argument");var t={_type:"user",_slides:[],title:e.title};e.order?this.sections.splice(e.order,0,t):this._sections.push(t)}addSlide(t){let r="string"==typeof t?t:null!=t&&t.masterName?t.masterName:"",e={_name:this.LAYOUTS[o].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1};r&&(n=this.slideLayouts.filter(e=>e._name===r)[0])&&(e=n);var a,n=new he({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:e});return this._slides.push(n),null!=t&&t.sectionTitle?(a=this.sections.filter(e=>e.title===t.sectionTitle)[0])?a._slides.push(n):console.warn(`addSlide: unable to find section with title: "${t.sectionTitle}"`):this.sections&&0<this.sections.length&&(null==t||!t.sectionTitle)&&("default"===(a=this._sections[this.sections.length-1])._type?a._slides.push(n):this._sections.push({title:"Default-"+(this.sections.filter(e=>"default"===e._type).length+1),_type:"default",_slides:[n]})),n}defineLayout(e){e?e.name?e.width?e.height?"number"!=typeof e.height?console.warn("defineLayout `height` should be a number (inches)"):"number"!=typeof e.width&&console.warn("defineLayout `width` should be a number (inches)"):console.warn("defineLayout requires `height`"):console.warn("defineLayo
//# sourceMappingURL=pptxgen.bundle.js.map