@office-kit/pptx-dev 0.14.0 → 0.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
var C4=Object.defineProperty;var L4=(e,t)=>{for(var n in t)C4(e,n,{get:t[n],enumerable:!0})};var o=(e,t,n)=>({prefix:e,localName:t,namespaceURI:n}),b=(e,t)=>({name:e,value:t}),h=(e,t={})=>({kind:"element",name:e,attrs:t.attrs??[],prefixDecls:t.prefixDecls??new Map,children:t.children??[]}),be=e=>({kind:"text",data:e}),d0=e=>({kind:"cdata",data:e}),c0=e=>({kind:"comment",data:e}),m0=(e,t)=>({kind:"pi",target:e,data:t}),or=(e,t)=>e.localName===t.localName&&e.namespaceURI===t.namespaceURI,$e=(e,t,n)=>{let r=n(t),a=e.children.length;for(let l=0;l<e.children.length;l++){let i=e.children[l];if(i?.kind==="element"&&n(i)>r){a=l;break}}e.children.splice(a,0,t)},he=e=>h(e.name,{attrs:e.attrs.map(t=>b(t.name,t.value)),prefixDecls:new Map(e.prefixDecls),children:e.children.map(P4)}),P4=e=>e.kind==="element"?he(e):{...e};var d={contentTypes:"http://schemas.openxmlformats.org/package/2006/content-types",relationships:"http://schemas.openxmlformats.org/package/2006/relationships",officeDocRels:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",pml:"http://schemas.openxmlformats.org/presentationml/2006/main",dml:"http://schemas.openxmlformats.org/drawingml/2006/main",diagram:"http://schemas.openxmlformats.org/drawingml/2006/diagram",chart:"http://schemas.openxmlformats.org/drawingml/2006/chart",chartDrawing:"http://schemas.openxmlformats.org/drawingml/2006/chartDrawing",sml:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",wml:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",a14:"http://schemas.microsoft.com/office/drawing/2010/main",a15:"http://schemas.microsoft.com/office/drawing/2012/main",a16:"http://schemas.microsoft.com/office/drawing/2014/main",p14:"http://schemas.microsoft.com/office/powerpoint/2010/main",p15:"http://schemas.microsoft.com/office/powerpoint/2012/main",p16:"http://schemas.microsoft.com/office/powerpoint/2015/main",p159:"http://schemas.microsoft.com/office/powerpoint/2015/09/main",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},R4={[d.contentTypes]:"",[d.relationships]:"",[d.officeDocRels]:"r",[d.pml]:"p",[d.dml]:"a",[d.diagram]:"dgm",[d.chart]:"c",[d.chartDrawing]:"cdr",[d.sml]:"",[d.wml]:"w",[d.mc]:"mc",[d.a14]:"a14",[d.a15]:"a15",[d.a16]:"a16",[d.p14]:"p14",[d.p15]:"p15",[d.p16]:"p16",[d.p159]:"p159",[d.xml]:"xml"};var Gd=class extends Error{constructor(n,r,a,l){super(`${n} at line ${a}:${l} (offset ${r})`);this.offset=r;this.line=a;this.column=l;this.name="XmlParseError"}offset;line;column},zS=e=>{let t=e.charCodeAt(0);return t>=65&&t<=90||t>=97&&t<=122||t===95||t===58},N4=e=>{if(zS(e))return!0;let t=e.charCodeAt(0);return t>=48&&t<=57||t===45||t===46},WS=e=>e===" "||e===" "||e===`
|
|
2
|
+
`||e==="\r",D4=(e,t)=>{let n=1,r=1;for(let a=0;a<t&&a<e.length;a++)e.charCodeAt(a)===10?(n++,r=1):r++;return{line:n,column:r}},je=(e,t)=>{let{line:n,column:r}=D4(e.src,e.pos);throw new Gd(t,e.pos,n,r)},ra=(e,t)=>{e.src.slice(e.pos,e.pos+t.length)!==t&&je(e,`expected "${t}"`),e.pos+=t.length},p0=(e,t)=>e.src.slice(e.pos,e.pos+t.length)!==t?!1:(e.pos+=t.length,!0),_r=e=>{for(;e.pos<e.src.length&&WS(e.src[e.pos]??"");)e.pos++},u0=e=>{let t=e.pos;for((e.pos>=e.src.length||!zS(e.src[e.pos]??""))&&je(e,"expected XML name"),e.pos++;e.pos<e.src.length&&N4(e.src[e.pos]??"");)e.pos++;return e.src.slice(t,e.pos)},_4=e=>{let t=e.indexOf(":");return t<0?{prefix:"",localName:e}:{prefix:e.slice(0,t),localName:e.slice(t+1)}},YS=(e,t)=>{let n="",r=0;for(;r<t.length;){if(t.charCodeAt(r)!==38){n+=t[r],r++;continue}let l=t.indexOf(";",r+1);l<0&&(e.pos-=t.length-r,je(e,"unterminated entity reference"));let i=t.slice(r+1,l);if(i==="amp")n+="&";else if(i==="lt")n+="<";else if(i==="gt")n+=">";else if(i==="quot")n+='"';else if(i==="apos")n+="'";else if(i.startsWith("#x")||i.startsWith("#X")){let s=Number.parseInt(i.slice(2),16);Number.isFinite(s)||je(e,`invalid hex numeric reference: &${i};`),n+=String.fromCodePoint(s)}else if(i.startsWith("#")){let s=Number.parseInt(i.slice(1),10);Number.isFinite(s)||je(e,`invalid decimal numeric reference: &${i};`),n+=String.fromCodePoint(s)}else je(e,`unknown entity reference: &${i};`);r=l+1}return n},k4=e=>{let t=e.src[e.pos];t!=='"'&&t!=="'"&&je(e,"expected attribute value"),e.pos++;let n=e.pos;for(;e.pos<e.src.length&&e.src[e.pos]!==t;)e.src.charCodeAt(e.pos)===60&&je(e,'"<" is not allowed inside an attribute value'),e.pos++;e.pos>=e.src.length&&je(e,"unterminated attribute value");let r=e.src.slice(n,e.pos);return e.pos++,YS(e,r)},M4={parent:null,bindings:new Map([["xml",d.xml]])},HS=(e,t)=>{let n=e;for(;n;){let r=n.bindings.get(t);if(r!==void 0)return r;n=n.parent}return null},VS=(e,t,n,r)=>{let{prefix:a,localName:l}=_4(n),i="";if(a!==""){let s=HS(t,a);if(s===null)return je(e,`unbound namespace prefix "${a}"`);i=s}else r||(i=HS(t,"")??"");return o(a,l,i)},F4=e=>{if(!p0(e,"<?xml"))return null;let t=e.src.indexOf("?>",e.pos);t<0&&je(e,"unterminated XML declaration");let n=e.src.slice(e.pos,t);e.pos=t+2;let r=c=>n.match(new RegExp(`\\b${c}\\s*=\\s*(['"])(.*?)\\1`))?.[2],a=r("version");if(a===void 0)return je(e,'XML declaration missing "version"');let l=r("encoding"),i=r("standalone"),s;if(i==="yes"||i==="no")s=i;else if(i!==void 0)return je(e,`invalid standalone value "${i}"`);return{version:a,...l!==void 0?{encoding:l}:{},...s!==void 0?{standalone:s}:{}}},f0=e=>{ra(e,"<!--");let t=e.src.indexOf("-->",e.pos);t<0&&je(e,"unterminated comment");let n=e.src.slice(e.pos,t);return n.includes("--")&&je(e,'"--" is not allowed inside an XML comment'),e.pos=t+3,c0(n)},h0=e=>{ra(e,"<?");let t=e.pos;for(;e.pos<e.src.length&&!WS(e.src[e.pos]??"")&&e.src.slice(e.pos,e.pos+2)!=="?>";)e.pos++;let n=e.src.slice(t,e.pos);n.toLowerCase()==="xml"&&je(e,'PI target may not be "xml"'),_r(e);let r=e.src.indexOf("?>",e.pos);r<0&&je(e,"unterminated processing instruction");let a=e.src.slice(e.pos,r);return e.pos=r+2,m0(n,a)},I4=e=>{ra(e,"<![CDATA[");let t=e.src.indexOf("]]>",e.pos);t<0&&je(e,"unterminated CDATA section");let n=e.src.slice(e.pos,t);return e.pos=t+3,d0(n)},B4=e=>{for(ra(e,"<!DOCTYPE");e.pos<e.src.length;){let t=e.src[e.pos];if(t==="["&&je(e,"DOCTYPE internal subset is not supported"),t===">"){e.pos++;return}e.pos++}je(e,"unterminated DOCTYPE")},O4=(e,t)=>{ra(e,"<");let n=u0(e),r=[],a=new Map,l=!1;for(;;){let m=e.pos;if(_r(e),e.pos===m&&e.src[e.pos]!=="/"&&e.src[e.pos]!==">"&&je(e,"expected whitespace before next attribute"),p0(e,"/>")){l=!0;break}if(p0(e,">"))break;let u=u0(e);_r(e),ra(e,"="),_r(e);let f=k4(e);if(u==="xmlns")a.set("",f);else if(u.startsWith("xmlns:")){let y=u.slice(6);y===""&&je(e,"empty namespace prefix in xmlns:"),y==="xmlns"&&je(e,'prefix "xmlns" cannot be redeclared'),a.set(y,f)}else r.push({raw:u,rawValue:f})}let i={parent:t,bindings:new Map(a)},s=VS(e,i,n,!1),c=r.map(({raw:m,rawValue:u})=>b(VS(e,i,m,!0),u));return{element:h(s,{attrs:c,prefixDecls:a,children:[]}),scope:i,empty:l}},X4=e=>{ra(e,"</");let t=u0(e);return _r(e),ra(e,">"),t},$4=e=>{let t=e.pos;for(;e.pos<e.src.length&&e.src.charCodeAt(e.pos)!==60;)e.pos++;return YS(e,e.src.slice(t,e.pos))},ZS=(e,t)=>{let{element:n,scope:r,empty:a}=O4(e,t);if(a)return n;for(;e.pos<e.src.length;)if(e.src.charCodeAt(e.pos)===60){if(e.src.startsWith("</",e.pos)){let l=X4(e),i=n.name.prefix===""?n.name.localName:`${n.name.prefix}:${n.name.localName}`;return l!==i&&je(e,`mismatched closing tag: expected </${i}>, got </${l}>`),n}e.src.startsWith("<![CDATA[",e.pos)?n.children.push(I4(e)):e.src.startsWith("<!--",e.pos)?n.children.push(f0(e)):e.src.startsWith("<?",e.pos)?n.children.push(h0(e)):n.children.push(ZS(e,r))}else{let l=$4(e);l.length>0&&n.children.push(be(l))}return je(e,`unterminated element <${n.name.localName}>`)},j=e=>{let n={src:(e.charCodeAt(0)===65279?e.slice(1):e).replace(/\r\n?/g,`
|
|
3
|
+
`),pos:0},r=F4(n);_r(n);let a=[];for(;n.pos<n.src.length;)if(_r(n),n.src.startsWith("<!--",n.pos))a.push(f0(n));else if(n.src.startsWith("<!DOCTYPE",n.pos))B4(n);else if(n.src.startsWith("<?",n.pos))a.push(h0(n));else break;_r(n),(n.pos>=n.src.length||n.src[n.pos]!=="<")&&je(n,"expected root element");let l=ZS(n,M4),i=[];for(;n.pos<n.src.length&&(_r(n),!(n.pos>=n.src.length));)n.src.startsWith("<!--",n.pos)?i.push(f0(n)):n.src.startsWith("<?",n.pos)?i.push(h0(n)):je(n,"unexpected content after root element");return{kind:"document",decl:r,prolog:a,root:l,epilog:i}},g0=e=>j(e).root;var kr=e=>e.kind==="element";var ji=e=>e.children.filter(kr),p=(e,t)=>{for(let n of e.children)if(kr(n)&&or(n.name,t))return n;return null},Q=(e,t)=>{let n=[];for(let r of e.children)kr(r)&&or(r.name,t)&&n.push(r);return n},KS=(e,t)=>{for(let n of e.attrs)if(or(n.name,t))return n;return null},x=(e,t)=>KS(e,t)?.value??null,mn=e=>{let t="";for(let n of e.children)n.kind==="text"||n.kind==="cdata"?t+=n.data:n.kind==="element"&&(t+=mn(n));return t},kt=(e,t)=>{let n=[e];for(;n.length>0;){let r=n.pop();if(!(!r||t(r)===!1))for(let l=r.children.length-1;l>=0;l--){let i=r.children[l];i&&kr(i)&&n.push(i)}}};var eb=e=>{let t=e<32&&e!==9&&e!==10&&e!==13;if(t||e>=55296&&e<=57343||e===65534||e===65535){let n=e.toString(16).toUpperCase().padStart(4,"0"),r=t?"control character":"character";throw new Error(`XML-illegal ${r} U+${n} in text; strip ${t?"control":"illegal"} characters before authoring`)}},qd=e=>{let t="";for(let n of e){let r=n.codePointAt(0);eb(r),r===38?t+="&":r===60?t+="<":r===62?t+=">":r===34?t+=""":r===9?t+="	":r===10?t+=" ":r===13?t+=" ":t+=n}return t},j4=e=>{let t="";for(let n of e){let r=n.codePointAt(0);eb(r),r===38?t+="&":r===60?t+="<":r===62?t+=">":r===13?t+=" ":t+=n}return t},x0=(e,t)=>e===""?t:`${e}:${t}`,U4=e=>` ${x0(e.name.prefix,e.name.localName)}="${qd(e.value)}"`,G4=new Map([["xml",d.xml]]),q4=(e,t)=>{let n=null;for(let r=-1;r<e.attrs.length;r++){let a=r<0?e.name:e.attrs[r].name;if(r>=0&&a.prefix==="")continue;let l=e.prefixDecls.get(a.prefix)??n?.get(a.prefix);if(l===void 0){if((t.get(a.prefix)??"")===a.namespaceURI)continue;n??=new Map,n.set(a.prefix,a.namespaceURI)}else if(l!==a.namespaceURI)throw new Error(`prefix "${a.prefix}" on <${x0(e.name.prefix,e.name.localName)}> is bound to both ${l} and ${a.namespaceURI}`)}return n},JS=(e,t)=>{for(let[n,r]of e){let a=n===""?"xmlns":`xmlns:${n}`;t.push(` ${a}="${qd(r)}"`)}},QS=(e,t)=>{if(t.size===0)return e;let n=new Map(e);for(let[r,a]of t)n.set(r,a);return n},S0=(e,t,n)=>{let r=x0(e.name.prefix,e.name.localName);t.push("<"),t.push(r),JS(e.prefixDecls,t);let a=n;if(n){let l=q4(e,n);a=QS(n,e.prefixDecls),l&&(JS(l,t),a=QS(a,l))}for(let l of e.attrs)t.push(U4(l));if(e.children.length===0){t.push("/>");return}t.push(">");for(let l of e.children)y0(l,t,a);t.push("</"),t.push(r),t.push(">")},y0=(e,t,n)=>{switch(e.kind){case"element":S0(e,t,n);return;case"text":t.push(j4(e.data));return;case"cdata":t.push("<![CDATA["),t.push(e.data.split("]]>").join("]]]]><![CDATA[>")),t.push("]]>");return;case"comment":t.push("<!--"),t.push(e.data),t.push("-->");return;case"pi":t.push("<?"),t.push(e.target),e.data.length>0&&(t.push(" "),t.push(e.data)),t.push("?>");return}},Hd='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>',H4=(e,t)=>{e.decl&&(t.push('<?xml version="'),t.push(qd(e.decl.version)),t.push('"'),e.decl.encoding!==void 0&&(t.push(' encoding="'),t.push(qd(e.decl.encoding)),t.push('"')),e.decl.standalone!==void 0&&(t.push(' standalone="'),t.push(e.decl.standalone),t.push('"')),t.push("?>"))},ae=(e,t={})=>{let n=[];e.decl?H4(e,n):(t.standaloneDeclaration??!0)&&n.push(Hd);for(let r of e.prolog)y0(r,n,null);S0(e.root,n,G4);for(let r of e.epilog)y0(r,n,null);return n.join("")},Ui=e=>{let t=[];return S0(e,t,null),t.join("")};var tb=o("a","p",d.dml),bQ=o("a","r",d.dml),V4=o("a","t",d.dml),aa=e=>{let t="";for(let n of e.children)if(n.kind==="element"&&n.name.namespaceURI===d.dml)switch(n.name.localName){case"r":case"fld":{let r=Q(n,V4)[0];r&&(t+=mn(r));break}case"br":t+=`
|
|
4
|
+
`;break;default:break}return t},Je=e=>{let t=[];for(let n of Q(e,tb))t.push(aa(n));return t.join(`
|
|
5
|
+
`)},Xa=e=>Q(e,tb);var z4={coordinate:[-27273042329600,27273042316900],positiveCoordinate:[0,27273042316900],coordinate32:[-2147483648,2147483647],positiveCoordinate32:[0,2147483647],slideSize:[914400,51206400],lineWidth:[0,20116800],angle:[-2147483648,2147483647],fontSize:[100,4e5],textNonNegativePoint:[0,4e5],textMargin:[0,51206400],textIndent:[-51206400,51206400],textPoint:[-4e5,4e5],textSpacingPoint:[0,158400],unsignedInt:[0,4294967295],columnCount:[1,16],overlap:[-100,100],gapAmount:[0,500],holeSize:[1,90],firstSliceAng:[0,360],rotX:[-90,90],rotY:[0,360],perspective:[0,240],depthPercent:[20,2e3],heightPercent:[5,500],secondPieSize:[5,200],bubbleScale:[0,300],percent100000:[0,1e5]},Ae=(e,t,n)=>{if(!Number.isFinite(e))throw new RangeError(`${n}: expected a finite number, got ${e}`);let r=Math.round(e),[a,l]=z4[t];if(r<a||r>l)throw new RangeError(`${n}: ${e} is out of range for ${t} (${a}..${l})`);return r},Ue=(e,t)=>Ae(e,"coordinate",t),xe=(e,t)=>Ae(e,"positiveCoordinate",t),Vd=(e,t)=>Ae(e,"coordinate32",t),nb=(e,t)=>Ae(e,"positiveCoordinate32",t),Mr=(e,t)=>Ae(e,"lineWidth",t),rb=(e,t)=>Ae(e,"angle",t),ab=(e,t)=>Ae(e,"fontSize",t),lb=(e,t)=>Ae(e,"textPoint",t);var la=(e,t)=>Ae(e,"unsignedInt",t),ob=(e,t)=>Ae(e,"columnCount",t),ib=(e,t)=>Ae(e,"overlap",t),Gi=(e,t)=>Ae(e,"gapAmount",t),sb=(e,t)=>Ae(e,"holeSize",t),db=(e,t)=>Ae(e,"firstSliceAng",t),W4=/^\{[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}\}$/,zd=(e,t)=>{if(!W4.test(e))throw new RangeError(`${t}: ${JSON.stringify(e)} is not a GUID of the form {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}`);return e.toUpperCase()},qi=()=>`{${globalThis.crypto.randomUUID().toUpperCase()}}`,Z=(e,t,n)=>{if(!t.includes(e))throw new RangeError(`${n}: ${JSON.stringify(e)} is not one of: ${t.join(", ")}`);return e};var cb=["line","lineInv","triangle","rtTriangle","rect","diamond","parallelogram","trapezoid","nonIsoscelesTrapezoid","pentagon","hexagon","heptagon","octagon","decagon","dodecagon","star4","star5","star6","star7","star8","star10","star12","star16","star24","star32","roundRect","round1Rect","round2SameRect","round2DiagRect","snipRoundRect","snip1Rect","snip2SameRect","snip2DiagRect","plaque","ellipse","teardrop","homePlate","chevron","pieWedge","pie","blockArc","donut","noSmoking","rightArrow","leftArrow","upArrow","downArrow","stripedRightArrow","notchedRightArrow","bentUpArrow","leftRightArrow","upDownArrow","leftUpArrow","leftRightUpArrow","quadArrow","leftArrowCallout","rightArrowCallout","upArrowCallout","downArrowCallout","leftRightArrowCallout","upDownArrowCallout","quadArrowCallout","bentArrow","uturnArrow","circularArrow","leftCircularArrow","leftRightCircularArrow","curvedRightArrow","curvedLeftArrow","curvedUpArrow","curvedDownArrow","swooshArrow","cube","can","lightningBolt","heart","sun","moon","smileyFace","irregularSeal1","irregularSeal2","foldedCorner","bevel","frame","halfFrame","corner","diagStripe","chord","arc","leftBracket","rightBracket","leftBrace","rightBrace","bracketPair","bracePair","straightConnector1","bentConnector2","bentConnector3","bentConnector4","bentConnector5","curvedConnector2","curvedConnector3","curvedConnector4","curvedConnector5","callout1","callout2","callout3","accentCallout1","accentCallout2","accentCallout3","borderCallout1","borderCallout2","borderCallout3","accentBorderCallout1","accentBorderCallout2","accentBorderCallout3","wedgeRectCallout","wedgeRoundRectCallout","wedgeEllipseCallout","cloudCallout","cloud","ribbon","ribbon2","ellipseRibbon","ellipseRibbon2","leftRightRibbon","verticalScroll","horizontalScroll","wave","doubleWave","plus","flowChartProcess","flowChartDecision","flowChartInputOutput","flowChartPredefinedProcess","flowChartInternalStorage","flowChartDocument","flowChartMultidocument","flowChartTerminator","flowChartPreparation","flowChartManualInput","flowChartManualOperation","flowChartConnector","flowChartPunchedCard","flowChartPunchedTape","flowChartSummingJunction","flowChartOr","flowChartCollate","flowChartSort","flowChartExtract","flowChartMerge","flowChartOfflineStorage","flowChartOnlineStorage","flowChartMagneticTape","flowChartMagneticDisk","flowChartMagneticDrum","flowChartDisplay","flowChartDelay","flowChartAlternateProcess","flowChartOffpageConnector","actionButtonBlank","actionButtonHome","actionButtonHelp","actionButtonInformation","actionButtonForwardNext","actionButtonBackPrevious","actionButtonEnd","actionButtonBeginning","actionButtonReturn","actionButtonDocument","actionButtonSound","actionButtonMovie","gear6","gear9","funnel","mathPlus","mathMinus","mathMultiply","mathDivide","mathEqual","mathNotEqual","cornerTabs","squareTabs","plaqueTabs","chartX","chartStar","chartPlus"],Zl=["solid","dot","dash","lgDash","dashDot","lgDashDot","lgDashDotDot","sysDash","sysDot","sysDashDot","sysDashDotDot"],Wd=["horz","vert","vert270","wordArtVert","eaVert","mongolianVert","wordArtVertRtl"],mb=["alphaLcParenBoth","alphaUcParenBoth","alphaLcParenR","alphaUcParenR","alphaLcPeriod","alphaUcPeriod","arabicParenBoth","arabicParenR","arabicPeriod","arabicPlain","romanLcParenBoth","romanUcParenBoth","romanLcParenR","romanUcParenR","romanLcPeriod","romanUcPeriod","circleNumDbPlain","circleNumWdBlackPlain","circleNumWdWhitePlain","arabicDbPeriod","arabicDbPlain","ea1ChsPeriod","ea1ChsPlain","ea1ChtPeriod","ea1ChtPlain","ea1JpnChsDbPeriod","ea1JpnKorPlain","ea1JpnKorPeriod","arabic1Minus","arabic2Minus","hebrew2Minus","thaiAlphaPeriod","thaiAlphaParenR","thaiAlphaParenBoth","thaiNumPeriod","thaiNumParenR","thaiNumParenBoth","hindiAlphaPeriod","hindiNumPeriod","hindiNumParenR","hindiAlpha1Period"],pb=["none","words","sng","dbl","heavy","dotted","dottedHeavy","dash","dashHeavy","dashLong","dashLongHeavy","dotDash","dotDashHeavy","dotDotDash","dotDotDashHeavy","wavy","wavyHeavy","wavyDbl"],ub=["noStrike","sngStrike","dblStrike"];var fb=["screen4x3","letter","A4","35mm","overhead","banner","custom","ledger","A3","B4ISO","B5ISO","B4JIS","B5JIS","hagakiCard","screen16x9","screen16x10"],Yd={top:"t",center:"ctr",bottom:"b"},b0=["legacyObliqueTopLeft","legacyObliqueTop","legacyObliqueTopRight","legacyObliqueLeft","legacyObliqueFront","legacyObliqueRight","legacyObliqueBottomLeft","legacyObliqueBottom","legacyObliqueBottomRight","legacyPerspectiveTopLeft","legacyPerspectiveTop","legacyPerspectiveTopRight","legacyPerspectiveLeft","legacyPerspectiveFront","legacyPerspectiveRight","legacyPerspectiveBottomLeft","legacyPerspectiveBottom","legacyPerspectiveBottomRight","orthographicFront","isometricTopUp","isometricTopDown","isometricBottomUp","isometricBottomDown","isometricLeftUp","isometricLeftDown","isometricRightUp","isometricRightDown","isometricOffAxis1Left","isometricOffAxis1Right","isometricOffAxis1Top","isometricOffAxis2Left","isometricOffAxis2Right","isometricOffAxis2Top","isometricOffAxis3Left","isometricOffAxis3Right","isometricOffAxis3Bottom","isometricOffAxis4Left","isometricOffAxis4Right","isometricOffAxis4Bottom","obliqueTopLeft","obliqueTop","obliqueTopRight","obliqueLeft","obliqueRight","obliqueBottomLeft","obliqueBottom","obliqueBottomRight","perspectiveFront","perspectiveLeft","perspectiveRight","perspectiveAbove","perspectiveBelow","perspectiveAboveLeftFacing","perspectiveAboveRightFacing","perspectiveContrastingLeftFacing","perspectiveContrastingRightFacing","perspectiveHeroicLeftFacing","perspectiveHeroicRightFacing","perspectiveHeroicExtremeLeftFacing","perspectiveHeroicExtremeRightFacing","perspectiveRelaxed","perspectiveRelaxedModerately"],E0=["legacyFlat1","legacyFlat2","legacyFlat3","legacyFlat4","legacyNormal1","legacyNormal2","legacyNormal3","legacyNormal4","legacyHarsh1","legacyHarsh2","legacyHarsh3","legacyHarsh4","threePt","balanced","soft","harsh","flood","contrasting","morning","sunrise","sunset","chilly","freezing","flat","twoPt","glow","brightRoom"],A0=["tl","t","tr","l","r","bl","b","br"],T0=["relaxedInset","circle","slope","cross","angle","softRound","convex","coolSlant","divot","riblet","hardEdge","artDeco"],w0=["legacyMatte","legacyPlastic","legacyMetal","legacyWireframe","matte","plastic","metal","warmMatte","translucentPowder","powder","dkEdge","softEdge","clear","flat","softmetal"];var Y4=o("a","srgbClr",d.dml),Z4=o("a","schemeClr",d.dml),v0=o("","val",""),K4=["bg1","tx1","bg2","tx2","accent1","accent2","accent3","accent4","accent5","accent6","hlink","folHlink","phClr","lt1","dk1","lt2","dk2"],J4=new Set(K4),hb=e=>{let t=e.startsWith("#")?e.slice(1):e;return/^[0-9A-Fa-f]{6}$/.test(t)?t.toUpperCase():/^[0-9A-Fa-f]{3}$/.test(t)?Array.from(t,n=>n+n).join("").toUpperCase():null},Fr=e=>{let t=e.startsWith("scheme:")?e.slice(7):e;if(J4.has(t))return{kind:"scheme",token:t};if(e!==t)return null;let n=hb(e);return n===null?null:{kind:"srgb",hex:n}},Hi=e=>hb(e),tt=e=>{let t=Fr(e);if(t===null)throw new Error(`unrecognized color: ${e}`);return t.kind==="srgb"?h(Y4,{attrs:[b(v0,t.hex)]}):h(Z4,{attrs:[b(v0,t.token)]})},dt=e=>Fr(e)===null?null:e,Vi=(e,t)=>{if(t.opacity!==void 0&&(!Number.isFinite(t.opacity)||t.opacity<0||t.opacity>1))throw new RangeError("opacity must be a finite number from 0 to 1");if(t.color===void 0&&!e)throw new Error("opacity editing requires a solid color");let n=a=>a.name.namespaceURI===d.dml&&["alpha","alphaMod","alphaOff"].includes(a.name.localName),r=t.color===void 0?{...e,children:[...e.children]}:tt(t.color);return t.color!==void 0&&e&&(r.children=e.children.filter(a=>a.kind==="element"&&n(a))),t.opacity!==void 0&&(r.children=r.children.filter(l=>l.kind!=="element"||!n(l)),r.children.push(h(o("a","alpha",d.dml),{attrs:[b(v0,String(Math.round(t.opacity*1e5)))]}))),r};var gb=new Set(["comp","inv","gray","gamma","invGamma"]),yb=new Set(["tint","shade","alpha","alphaOff","alphaMod","hue","hueOff","hueMod","sat","satOff","satMod","lum","lumOff","lumMod","red","redOff","redMod","green","greenOff","greenMod","blue","blueOff","blueMod"]),Zd=1e5,C0=6e4,Q4=360,eI=-(2**31),tI=2**31-1;function Ln(e){let t=[];for(let n of e.children){if(n.kind!=="element"||n.name.namespaceURI!==d.dml)continue;let r=n.name.localName;if(gb.has(r))t.push({kind:r});else if(yb.has(r)){let a=x(n,o("","val",""));if(a===null)continue;let l=Number.parseFloat(a)/(r==="hue"||r==="hueOff"?C0:a.endsWith("%")?100:Zd);Number.isFinite(l)&&t.push({kind:r,value:l})}}return t}function lt(e){return e.map(t=>{if(!("value"in t)){if(!gb.has(t.kind))throw new RangeError("unknown color transform");return h(o("a",t.kind,d.dml))}let{kind:n,value:r}=t,l=Math.round(r*(n==="hue"||n==="hueOff"?C0:Zd));if(!yb.has(n)||!Number.isFinite(r)||l<eI||l>tI||["tint","shade","alpha"].includes(n)&&(r<0||r>1)||n==="alphaOff"&&(r<-1||r>1)||["alphaMod","hueMod"].includes(n)&&r<0||n==="hue"&&(r<0||l>=Q4*C0))throw new RangeError(`invalid ${n} color transform: ${r}`);return h(o("a",n,d.dml),{attrs:[b(o("","val",""),String(l))]})})}function Kl(e){let t=e.find(a=>a.kind==="lumMod"),n=e.find(a=>a.kind==="lumOff");if(!t||!("value"in t))return;let r=n&&"value"in n?n.value:0;if(r>0&&Math.round((t.value+r)*Zd)===Zd)return r;if(r===0&&t.value>=0&&t.value<=1)return t.value-1}function Kd(e){let t=1;for(let n of e)"value"in n&&(n.kind==="alpha"?t=n.value:n.kind==="alphaMod"?t*=n.value:n.kind==="alphaOff"&&(t+=n.value));return Math.max(0,Math.min(1,t))}var nI=o("a","effectLst",d.dml),rI=o("a","outerShdw",d.dml),aI=o("a","innerShdw",d.dml),lI=o("a","glow",d.dml),oI=o("a","reflection",d.dml),iI=o("a","softEdge",d.dml),sI=o("a","alpha",d.dml),P0=o("","blurRad",""),R0=o("","dist",""),N0=o("","dir",""),bb=o("","algn",""),Eb=o("","rotWithShape",""),Ab=o("","rad",""),dI=o("","stA",""),cI=o("","stPos",""),mI=o("","endA",""),pI=o("","endPos",""),uI=o("","fadeDir",""),Tb=o("","sx",""),wb=o("","sy",""),vb=o("","kx",""),Cb=o("","ky",""),fI=o("","val",""),D0=1e5,hI=new Set(["alpha","alphaMod","alphaOff"]),Jl=6e4,ir=360,L0=ir*Jl,xb=90*Jl,gI=-2147483648,yI=2147483647,Jd=(e,t)=>{if(e===void 0)return;if(!Number.isFinite(e))throw new RangeError(`${t} must be finite`);let n=Math.round(e*D0);if(!Number.isSafeInteger(n)||n<gI||n>yI)throw new RangeError(`${t} must fit an OOXML percentage integer`);return String(n)},Qd=(e,t)=>{if(e===void 0)return;if(!Number.isFinite(e))throw new RangeError(`${t} must be finite`);let n=Math.round(e*Jl);if(n<=-xb||n>=xb)throw new RangeError(`${t} must be strictly between -90 and 90 degrees`);return String(n)},pn=(e,t)=>t===void 0?[]:[b(e,t)],xI=e=>{for(let t=0;t<e.children.length;t++){let n=e.children[t];if(!(n?.kind!=="element"||n.name.namespaceURI!==d.dml)&&(n.name.localName==="scene3d"||n.name.localName==="sp3d"||n.name.localName==="extLst"))return t}return e.children.length},Lb=e=>{e.children=e.children.filter(t=>!(t.kind==="element"&&t.name.namespaceURI===d.dml&&t.name.localName==="effectLst"))},Sb=["blur","fillOverlay","glow","innerShdw","outerShdw","prstShdw","reflection","softEdge"],Pb=e=>{for(let t of e.children)if(t.kind==="element"&&t.name.namespaceURI===d.dml&&t.name.localName==="effectLst")return t;return null},zi=(e,t,n=xI)=>{let r=Pb(e);r===null&&(r=h(nI,{children:[]}),e.children.splice(n(e),0,r));let a=c=>{let m=Sb.indexOf(c);return m===-1?Sb.length:m},l=a(t.name.localName),i=r.children.filter(c=>!(c.kind==="element"&&c.name.namespaceURI===d.dml&&c.name.localName===t.name.localName)),s=i.length;for(let c=0;c<i.length;c++){let m=i[c];if(!(m?.kind!=="element"||m.name.namespaceURI!==d.dml)&&a(m.name.localName)>l){s=c;break}}i.splice(s,0,t),r.children=i},_0=(e,t)=>{let{color:n,colorTransforms:r,opacity:a}=e;if(r!==void 0&&n===void 0)throw new Error(`${t}: colorTransforms requires color`);let l=tt(n??"#000000"),i=r??[];return l.children=lt(i),a!==void 0&&(r===void 0||a!==Kd(i))&&(l.children=l.children.filter(s=>!(s.kind==="element"&&hI.has(s.name.localName))),a>=0&&a<1&&l.children.push(h(sI,{attrs:[b(fI,String(Math.round(a*D0)))]}))),l},Wi=(e,t={},n)=>{let r=xe(t.blurEmu??50800,"setShapeShadow: blurEmu"),a=xe(t.offsetEmu??38100,"setShapeShadow: offsetEmu"),l=t.angleDeg??45,i=String(Math.round((l%360+360)%360*6e4)),s=h(rI,{attrs:[b(P0,String(r)),b(R0,String(a)),b(N0,i),...pn(Tb,Jd(t.scaleX,"setShapeShadow: scaleX")),...pn(wb,Jd(t.scaleY,"setShapeShadow: scaleY")),...pn(vb,Qd(t.skewX,"setShapeShadow: skewX")),...pn(Cb,Qd(t.skewY,"setShapeShadow: skewY")),b(bb,t.alignment??"tl"),b(Eb,t.rotateWithShape===!0?"1":"0")],children:[_0(t,"setShapeShadow")]});zi(e,s,n)},Yi=(e,t={},n)=>{let r=xe(t.blurEmu??50800,"setInnerShadow: blurEmu"),a=xe(t.offsetEmu??38100,"setInnerShadow: offsetEmu"),l=t.angleDeg??45;if(!Number.isFinite(l))throw new RangeError("setInnerShadow: angleDeg must be finite");let i=t.opacity;if(i!==void 0&&(!Number.isFinite(i)||i<0||i>1))throw new RangeError("setInnerShadow: opacity must be in [0, 1]");let s=String(Math.round((l%ir+ir)%ir*Jl)%L0),c=h(aI,{attrs:[b(P0,String(r)),b(R0,String(a)),b(N0,s)],children:[_0(t,"setInnerShadow")]});zi(e,c,n)},Zi=(e,t,n)=>{let r=String(xe(t.radiusEmu??63500,"setShapeGlow: radiusEmu")),a=h(lI,{attrs:[b(Ab,r)],children:[_0(t,"setShapeGlow")]});zi(e,a,n)},Ki=(e,t={},n)=>{let r=xe(t.blurEmu??0,"setReflection: blurEmu"),a=xe(t.offsetEmu??0,"setReflection: offsetEmu"),l=t.angleDeg??0;if(!Number.isFinite(l))throw new RangeError("setReflection: angleDeg must be finite");let i=(u,f)=>{if(u!==void 0){if(!Number.isFinite(u)||u<0||u>1)throw new RangeError(`${f} must be in [0, 1]`);return String(Math.round(u*D0))}},s=Math.round((l%ir+ir)%ir*Jl)%L0,c=(u,f)=>{if(u!==void 0){if(!Number.isFinite(u))throw new RangeError(`${f} must be finite`);return String(Math.round((u%ir+ir)%ir*Jl)%L0)}},m=[b(P0,String(r)),b(R0,String(a)),b(N0,String(s)),b(bb,t.alignment??"b"),b(Eb,t.rotateWithShape===!1?"0":"1"),...pn(dI,i(t.startOpacity,"setReflection: startOpacity")),...pn(cI,i(t.startPosition,"setReflection: startPosition")),...pn(mI,i(t.opacity,"setReflection: opacity")),...pn(pI,i(t.endPosition,"setReflection: endPosition")),...pn(uI,c(t.fadeDirection,"setReflection: fadeDirection")),...pn(Tb,Jd(t.scaleX,"setReflection: scaleX")),...pn(wb,Jd(t.scaleY,"setReflection: scaleY")),...pn(vb,Qd(t.skewX,"setReflection: skewX")),...pn(Cb,Qd(t.skewY,"setReflection: skewY"))];zi(e,h(oI,{attrs:m}),n)},k0=(e,t,n)=>{let r=String(xe(t,"setShapeSoftEdge: radiusEmu"));zi(e,h(iI,{attrs:[b(Ab,r)]}),n)},M0=e=>{Lb(e)},oa=(e,t)=>{let n=Pb(e);n!==null&&(n.children=n.children.filter(r=>!(r.kind==="element"&&r.name.namespaceURI===d.dml&&r.name.localName===t)),n.children.length===0&&Lb(e))};var Rb=o("a","solidFill",d.dml),SI=o("a","noFill",d.dml),bI=o("a","gradFill",d.dml),EI=o("a","gsLst",d.dml),AI=o("a","gs",d.dml),TI=o("a","lin",d.dml),wI=o("a","path",d.dml),vI=o("a","fillToRect",d.dml),CI=o("","path",""),LI=o("","pos",""),PI=o("","ang",""),RI=o("","scaled",""),NI=o("","flip",""),DI=o("","rotWithShape",""),_I=new Set(["noFill","solidFill","gradFill","blipFill","pattFill","grpFill"]),sr=e=>{e.children=e.children.filter(t=>!(t.kind==="element"&&t.name.namespaceURI===d.dml&&_I.has(t.name.localName)))},ec=e=>{for(let t=0;t<e.children.length;t++){let n=e.children[t];if(!(n?.kind!=="element"||n.name.namespaceURI!==d.dml)&&(n.name.localName==="ln"||n.name.localName==="effectLst"||n.name.localName==="effectDag"||n.name.localName==="scene3d"||n.name.localName==="sp3d"||n.name.localName==="extLst"))return t}return e.children.length},dr=(e,t)=>{let n=p(e,Rb)?.children.find(l=>l.kind==="element"),r=typeof t=="string"?tt(t):Vi(n,t);sr(e);let a=h(Rb,{children:[r]});e.children.splice(ec(e),0,a)},F0=e=>{sr(e),e.children.splice(ec(e),0,h(SI))},Ql=e=>{sr(e)},$a=["pct5","pct10","pct20","pct25","pct30","pct40","pct50","pct60","pct70","pct75","pct80","pct90","horz","vert","ltHorz","ltVert","dkHorz","dkVert","narHorz","narVert","dashHorz","dashVert","cross","dnDiag","upDiag","ltDnDiag","ltUpDiag","dkDnDiag","dkUpDiag","wdDnDiag","wdUpDiag","dashDnDiag","dashUpDiag","diagCross","smCheck","lgCheck","smGrid","lgGrid","dotGrid","smConfetti","lgConfetti","horzBrick","diagBrick","solidDmnd","openDmnd","dotDmnd","plaid","sphere","weave","divot","shingle","wave","trellis","zigZag"],Ji=(e,t)=>{if(e.path!==void 0&&Z(e.path,["linear","circle","rect","shape"],`${t}: path`),e.stops.length<2)throw new Error("gradient fill requires at least two stops");for(let r of e.stops){if(!Number.isFinite(r.offset)||r.offset<0||r.offset>1)throw new RangeError(`gradient stop offset must be in [0, 1], got ${r.offset}`);if(tt(r.color),lt(r.colorTransforms??[]),r.opacity!==void 0&&(!Number.isFinite(r.opacity)||r.opacity<0||r.opacity>1))throw new RangeError("gradient stop opacity must be in [0, 1]");if(r.brightness!==void 0&&(!Number.isFinite(r.brightness)||r.brightness<-1||r.brightness>1))throw new RangeError("gradient stop brightness must be in [-1, 1]")}if(e.angleDeg!==void 0&&!Number.isFinite(e.angleDeg))throw new RangeError("gradient angle must be finite");let n=(r,a)=>{if(r!==void 0)for(let l of Object.values(r)){let i=Math.round(l*1e5);if(!Number.isFinite(l)||!Number.isFinite(i)||i<-(2**31)||i>2**31-1)throw new RangeError(`${a} inset must fit an OOXML percentage`)}};n(e.focus,"gradient focus"),n(e.tileRect,"gradient tile")},kb=(e,t)=>{Z(e.preset,$a,`${t}: preset`),tt(e.foreground),tt(e.background),lt(e.foregroundTransforms??[]),lt(e.backgroundTransforms??[])},Nb=o("a","pattFill",d.dml),Db=o("a","fgClr",d.dml),kI=o("a","bgClr",d.dml),_b=o("","prst",""),ja=(e,t)=>{let n=p(e,Nb),r=n?he(n):h(Nb,{attrs:[b(_b,"pct5")]});if(t.preset!==void 0){let a=Z(t.preset,$a,"setShapePatternFill: preset");r.attrs=r.attrs.filter(l=>l.name.localName!=="prst"||l.name.namespaceURI!==""),r.attrs.push(b(_b,a))}for(let[a,l,i,s]of[[Db,t.foreground,"accent1",t.foregroundTransforms],[kI,t.background,"bg1",t.backgroundTransforms]]){let c=p(r,a);if(l===void 0&&s===void 0&&n)continue;let m=c?.children.find(y=>y.kind==="element"&&y.name.namespaceURI===d.dml),u=l===void 0&&m?.kind==="element"?he(m):tt(l??i);s!==void 0&&(u.children=lt(s));let f=h(a,{children:[u]});c?r.children.splice(r.children.indexOf(c),1,f):r.children.splice(a===Db?0:r.children.length,0,f)}sr(e),e.children.splice(ec(e),0,r)},Ua=(e,t)=>{let n=I0(t,"setShapeGradientFill");sr(e),e.children.splice(ec(e),0,n)},I0=(e,t)=>{if(Ji(e,t),e.stops.length<2)throw new Error("gradient fill requires at least two stops");let n=e.stops.map(i=>{if(!Number.isFinite(i.offset)||i.offset<0||i.offset>1)throw new RangeError(`gradient stop offset must be in [0, 1], got ${i.offset}`);let s=tt(i.color),c=i.colorTransforms??[];if(s.children=lt(c),i.opacity!==void 0){if(!Number.isFinite(i.opacity)||i.opacity<0||i.opacity>1)throw new RangeError("gradient stop opacity must be in [0, 1]");(!i.colorTransforms||i.opacity!==Kd(c))&&(s=Vi(s,{opacity:i.opacity}))}if(i.brightness!==void 0){if(!Number.isFinite(i.brightness)||i.brightness<-1||i.brightness>1)throw new RangeError("gradient stop brightness must be in [-1, 1]");i.brightness!==Kl(c)&&(s.children=s.children.filter(u=>!(u.kind==="element"&&u.name.namespaceURI===d.dml&&["lumMod","lumOff"].includes(u.name.localName))),s.children.push(h(o("a","lumMod",d.dml),{attrs:[b(o("","val",""),String(Math.round((1-Math.abs(i.brightness))*1e5)))]})),i.brightness>0&&s.children.push(h(o("a","lumOff",d.dml),{attrs:[b(o("","val",""),String(Math.round(i.brightness*1e5)))]})))}let m=String(Math.round(i.offset*1e5));return h(AI,{attrs:[b(LI,m)],children:[s]})}),r=i=>String(Math.round(i*1e5)),a=e.path===void 0||e.path==="linear"?(()=>{let i=e.angleDeg??90;if(!Number.isFinite(i))throw new RangeError("gradient angle must be finite");let s=(i%360+360)%360;return h(TI,{attrs:[b(PI,String(Math.round(s*6e4)%216e5)),b(RI,e.scaled?"1":"0")]})})():h(wI,{attrs:[b(CI,e.path)],children:e.focus===void 0?[]:[h(vI,{attrs:[b(o("","l",""),r(e.focus.left)),b(o("","t",""),r(e.focus.top)),b(o("","r",""),r(e.focus.right)),b(o("","b",""),r(e.focus.bottom))]})]}),l=e.tileRect===void 0?[]:[h(o("a","tileRect",d.dml),{attrs:["left","top","right","bottom"].map((i,s)=>{let c=Math.round(e.tileRect[i]*1e5),m=-(2**31),u=2**31-1;if(!Number.isFinite(c)||c<m||c>u)throw new RangeError("gradient tile inset must fit an OOXML percentage");return b(o("",["l","t","r","b"][s],""),String(c))})})];return h(bI,{attrs:[b(NI,"none"),b(DI,e.rotateWithShape===!1?"0":"1")],children:[h(EI,{children:n}),a,...l]})};var Qi=o("a","ln",d.dml),Mb=o("a","solidFill",d.dml),MI=o("a","noFill",d.dml),Ib=o("","w",""),Bb=new Set(["noFill","solidFill","gradFill","pattFill"]),FI={noFill:0,solidFill:0,gradFill:0,pattFill:0,prstDash:1,custDash:1,round:2,bevel:2,miter:2,headEnd:3,tailEnd:4,extLst:5},II=e=>e.name.namespaceURI===d.dml?FI[e.name.localName]??99:99,eo=(e,t)=>$e(e,t,II),X0=(e,t)=>{e.children=e.children.filter(n=>!(n.kind==="element"&&n.name.namespaceURI===d.dml&&t.has(n.name.localName)))},Ga=e=>p(e,Qi)??Ob(e,h(Qi)),Ob=(e,t)=>{let n=new Set(["effectLst","effectDag","scene3d","sp3d","extLst"]);for(let r=0;r<e.children.length;r++){let a=e.children[r];if(a?.kind==="element"&&a.name.namespaceURI===d.dml&&n.has(a.name.localName))return e.children.splice(r,0,t),t}return e.children.push(t),t},$0=(e,t)=>{let n=p(e,Qi),r=n??h(Qi);U0(r,t),n||Ob(e,r)},j0=(e,t)=>{if(e.fill!==void 0){if(e.color!==void 0||e.opacity!==void 0)throw new Error(`${t}: fill is exclusive with color and opacity; pass one`);Z(e.fill.kind,["gradient"],`${t}: fill.kind`),Ji(e.fill,`${t}: fill`)}},U0=(e,t,n="setShapeStroke")=>{j0(t,n);let r=p(e,Mb)?.children.find(l=>l.kind==="element"),a=t.fill!==void 0?I0(t.fill,`${n}: fill`):t.color!==void 0||t.opacity!==void 0?h(Mb,{children:[Vi(r,t)]}):void 0;if(t.widthEmu!==void 0){let l=Mr(t.widthEmu,`${n}: widthEmu`);e.attrs=e.attrs.filter(i=>i.name.localName!=="w"),e.attrs.push(b(Ib,String(l)))}a&&(X0(e,Bb),eo(e,a))},G0=e=>{let t=Ga(e);X0(t,Bb),eo(t,h(MI))},q0=e=>{e.children=e.children.filter(t=>!(t.kind==="element"&&t.name.namespaceURI===d.dml&&t.name.localName==="ln"))},BI=o("a","prstDash",d.dml),OI=o("","val",""),H0=(e,t)=>{Z(t,Zl,"setShapeStrokeDash: dash");let n=Ga(e);n.children=n.children.filter(r=>!(r.kind==="element"&&r.name.namespaceURI===d.dml&&r.name.localName==="prstDash")),eo(n,h(BI,{attrs:[b(OI,t)]}))},XI=o("","type",""),$I=o("","len",""),V0=(e,t,n)=>{Z(t,["head","tail"],"setShapeStrokeArrow: end"),Z(n.type,["none","triangle","stealth","diamond","oval","arrow"],"setShapeStrokeArrow: type"),n.width!==void 0&&Z(n.width,["sm","med","lg"],"setShapeStrokeArrow: width"),n.length!==void 0&&Z(n.length,["sm","med","lg"],"setShapeStrokeArrow: length");let r=Ga(e),a={head:"headEnd",tail:"tailEnd"}[t];r.children=r.children.filter(i=>!(i.kind==="element"&&i.name.namespaceURI===d.dml&&i.name.localName===a));let l=[b(XI,n.type)];n.width!==void 0&&l.push(b(Ib,n.width)),n.length!==void 0&&l.push(b($I,n.length)),eo(r,h(o("a",a,d.dml),{attrs:l}))},z0=(e,t)=>{t!==null&&Z(t,["rnd","sq","flat"],"setShapeStrokeCap: cap");let n=Ga(e);n.attrs=n.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName==="cap")),t!==null&&n.attrs.push(b(o("","cap",""),t))},jI=new Set(["round","bevel","miter"]),W0=(e,t)=>{t!==null&&Z(t,["round","bevel","miter"],"setShapeStrokeJoin: join");let n=Ga(e);X0(n,jI),t!==null&&eo(n,h(o("a",t,d.dml)))},Y0=(e,t)=>{t!==null&&Z(t,["sng","dbl","thickThin","thinThick","tri"],"setShapeStrokeCompound: cmpd");let n=Ga(e);n.attrs=n.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName==="cmpd")),t!==null&&n.attrs.push(b(o("","cmpd",""),t))},Xb=["curved","freehand","scribble"],es="http://schemas.microsoft.com/office/drawing/2018/sketchyshapes",$b="{C807C97D-BFC1-408E-A445-0C87EB9F89A2}",B0=o("a","extLst",d.dml),UI=o("a","ext",d.dml),GI=o("","uri",""),qI=o("","sd",""),jb=o("ask","lineSketchStyleProps",es),O0=o("ask","type",es),Ub={curved:"lineSketchCurved",freehand:"lineSketchFreehand",scribble:"lineSketchScribble"},HI=new Set(["prstGeom","custGeom"]),Fb=e=>e.kind==="element"&&e.name.namespaceURI===d.dml&&HI.has(e.name.localName),Gb=e=>p(e,B0)?.children.find(n=>n.kind==="element"&&n.name.namespaceURI===d.dml&&n.name.localName==="ext"&&n.attrs.some(r=>r.name.localName==="uri"&&r.value===$b))??null,qb=e=>{let t=Gb(e);return t&&p(t,jb)},Z0=e=>{let t=qb(e),r=(t&&p(t,O0))?.children.find(a=>a.kind==="element");return!r||r.name.namespaceURI!==es?null:Xb.find(a=>Ub[a]===r.name.localName)??null};var K0=(e,t,n)=>{t!==null&&Z(t,Xb,"setShapeStrokeSketch: sketch");let r=p(e,Qi);if(t===null&&!r)return;let a=r??Ga(e),l=p(a,B0),i=Gb(a),s=qb(a),c=s?.children.find(Fb);if(s&&c){let f=e.children.findIndex(Fb);f>=0&&e.children.splice(f,1,c),s.children=s.children.filter(y=>y!==c)}if(t===null){i&&l&&(l.children=l.children.filter(f=>f!==i),l.children.some(f=>f.kind==="element")||(a.children=a.children.filter(f=>f!==l)));return}let m=h(O0,{children:[h(o("ask",Ub[t],es))]});if(s){let f=p(s,O0);if(f)s.children.splice(s.children.indexOf(f),1,m);else{let y=s.children.findIndex(g=>g.kind==="element"&&(g.name.localName==="seed"||g.name.localName==="extLst"));s.children.splice(y<0?s.children.length:y,0,m)}return}let u=h(jb,{attrs:[b(qI,String(n>>>0))],prefixDecls:new Map([["ask",es]]),children:[m]});if(i)i.children.push(u);else{let f=h(UI,{attrs:[b(GI,$b)],children:[u]});l?l.children.push(f):eo(a,h(B0,{children:[f]}))}};var VI=o("a","r",d.dml),J0=o("a","rPr",d.dml),Hb=o("a","ln",d.dml),zI=o("a","latin",d.dml),WI=o("a","ea",d.dml),YI=o("a","cs",d.dml),Q0=o("a","solidFill",d.dml),ZI=o("a","uFillTx",d.dml),KI=o("a","uFill",d.dml),ef=o("a","srgbClr",d.dml),tf=o("a","schemeClr",d.dml),JI=o("","sz",""),QI=o("","b",""),e5=o("","i",""),t5=o("","u",""),n5=o("","strike",""),r5=o("","spc",""),a5=o("","kern",""),l5=o("","normalizeH",""),o5=o("","baseline",""),i5=o("","cap",""),nf=o("","typeface",""),to=o("","val",""),s5=o("a","highlight",d.dml),d5=o("a","noFill",d.dml),c5=o("a","blipFill",d.dml),Vb={ln:0,noFill:1,solidFill:1,gradFill:1,blipFill:1,pattFill:1,grpFill:1,effectLst:2,effectDag:2,highlight:3,uLnTx:4,uLn:4,uFillTx:5,uFill:5,latin:6,ea:7,cs:8,sym:9,hlinkClick:10,hlinkMouseOver:11,rtl:12,extLst:13},Ir=e=>e.name.namespaceURI===d.dml?Vb[e.name.localName]??99:99,rf=e=>{let{color:t,colorTransforms:n,textFill:r,underlineColor:a,highlight:l,outline:i,shadow:s,innerShadow:c,glow:m,reflection:u,...f}=e,y=t==null?null:dt(t),g=i?.color===void 0?null:dt(i.color),S=s?.color===void 0?null:dt(s.color),E=c?.color===void 0?null:dt(c.color),A=m==null?null:dt(m.color),w=r===void 0?void 0:m5(r),T=i?.fill===void 0?void 0:zb(i.fill);return{...f,...t==null?{}:{color:y},...y===null||n===void 0?{}:{colorTransforms:n},...w===void 0?{}:{textFill:w},...a===void 0?{}:{underlineColor:a===null?null:dt(a)},...l==null?{}:{highlight:dt(l)},...i==null?{}:{outline:{...i.widthEmu===void 0?{}:{widthEmu:i.widthEmu},...g===null?{}:{color:g},...g===null||i.colorTransforms===void 0?{}:{colorTransforms:i.colorTransforms},...T===void 0?{}:{fill:T}}},...s==null?{}:{shadow:{...s.alignment===void 0?{}:{alignment:s.alignment},...s.rotateWithShape===void 0?{}:{rotateWithShape:s.rotateWithShape},...s.blurEmu===void 0?{}:{blurEmu:s.blurEmu},...s.offsetEmu===void 0?{}:{offsetEmu:s.offsetEmu},...s.angleDeg===void 0?{}:{angleDeg:s.angleDeg},...s.opacity===void 0?{}:{opacity:s.opacity},...s.scaleX===void 0?{}:{scaleX:s.scaleX},...s.scaleY===void 0?{}:{scaleY:s.scaleY},...s.skewX===void 0?{}:{skewX:s.skewX},...s.skewY===void 0?{}:{skewY:s.skewY},...S===null?{}:{color:S},...S===null||s.colorTransforms===void 0?{}:{colorTransforms:s.colorTransforms}}},...c===void 0?{}:c===null?{innerShadow:null}:{innerShadow:{...c.blurEmu===void 0?{}:{blurEmu:c.blurEmu},...c.offsetEmu===void 0?{}:{offsetEmu:c.offsetEmu},...c.angleDeg===void 0?{}:{angleDeg:c.angleDeg},...c.opacity===void 0?{}:{opacity:c.opacity},...E===null?{}:{color:E},...E===null||c.colorTransforms===void 0?{}:{colorTransforms:c.colorTransforms}}},...m==null||A===null?{}:{glow:{color:A,...m.colorTransforms===void 0?{}:{colorTransforms:m.colorTransforms},...m.radiusEmu===void 0?{}:{radiusEmu:m.radiusEmu},...m.opacity===void 0?{}:{opacity:m.opacity}}},...u===void 0?{}:{reflection:u}}},m5=e=>{if(e.kind==="pattern"){let t=dt(e.foreground),n=dt(e.background);return t===null||n===null?void 0:{kind:"pattern",preset:e.preset,foreground:t,background:n,...e.foregroundTransforms===void 0?{}:{foregroundTransforms:e.foregroundTransforms},...e.backgroundTransforms===void 0?{}:{backgroundTransforms:e.backgroundTransforms}}}return e.kind==="none"?e:e.kind==="image"?e.bytes?{kind:"image",bytes:e.bytes}:void 0:zb(e)},zb=e=>{let t=[];for(let n of e.stops){let r=dt(n.color);if(r===null)return;t.push({offset:n.offset,color:r,...n.colorTransforms===void 0?{}:{colorTransforms:n.colorTransforms},...n.opacity===void 0?{}:{opacity:n.opacity},...n.brightness===void 0?{}:{brightness:n.brightness}})}return{kind:"gradient",stops:t,...e.angleDeg===void 0?{}:{angleDeg:e.angleDeg},...e.rotateWithShape===void 0?{}:{rotateWithShape:e.rotateWithShape},...e.scaled===void 0?{}:{scaled:e.scaled},...e.path===void 0?{}:{path:e.path},...e.focus===void 0?{}:{focus:e.focus},...e.tileRect===void 0?{}:{tileRect:e.tileRect}}},cr=(e,t,n)=>{let r=e.filter(a=>a.name.localName!==t.localName);return n!==null&&r.push(b(t,n)),r},p5=(e,t,n)=>{if(t===null){sr(e);return}let r=Fr(t);if(r===null)throw new Error(`unrecognized color: ${t}`);sr(e);let a=r.kind==="srgb"?h(ef,{attrs:[b(to,r.hex)]}):h(tf,{attrs:[b(to,r.token)]});n!==void 0&&(a.children=lt(n));let l=h(Q0,{children:[a]});$e(e,l,Ir)},u5=(e,t,n)=>{if(t.kind==="gradient")Ua(e,t);else if(t.kind==="pattern")ja(e,t);else if(t.kind==="none")sr(e),e.children.push(h(d5));else{let a=n.embed(t.bytes);sr(e),e.children.push(h(c5,{attrs:[b(o("","rotWithShape",""),"1")],children:[h(o("a","blip",d.dml),{attrs:[b(o("r","embed",d.officeDocRels),a)]}),h(o("a","stretch",d.dml),{children:[h(o("a","fillRect",d.dml))]})]}))}let r=e.children.find(a=>a.kind==="element"&&a.name.namespaceURI===d.dml&&["noFill","solidFill","gradFill","blipFill","pattFill","grpFill"].includes(a.name.localName));r?.kind==="element"&&(e.children=e.children.filter(a=>a!==r),$e(e,r,Ir))},f5=(e,t)=>{e.children=e.children.filter(r=>!(r.kind==="element"&&r.name.namespaceURI===d.dml&&(r.name.localName==="uFillTx"||r.name.localName==="uFill")));let n=t===null?h(ZI):(()=>{let r=Fr(t);if(r===null)throw new Error(`unrecognized underline color: ${t}`);let a=r.kind==="srgb"?h(ef,{attrs:[b(to,r.hex)]}):h(tf,{attrs:[b(to,r.token)]});return h(KI,{children:[h(Q0,{children:[a]})]})})();$e(e,n,Ir)},h5=(e,t)=>{e.children=e.children.filter(n=>!(n.kind==="element"&&n.name.namespaceURI===d.dml&&n.name.localName==="latin")),t!==null&&$e(e,h(zI,{attrs:[b(nf,t)]}),Ir)},g5=(e,t)=>{e.children=e.children.filter(n=>!(n.kind==="element"&&n.name.namespaceURI===d.dml&&n.name.localName==="ea")),t!==null&&$e(e,h(WI,{attrs:[b(nf,t)]}),Ir)},y5=(e,t)=>{e.children=e.children.filter(n=>!(n.kind==="element"&&n.name.namespaceURI===d.dml&&n.name.localName==="cs")),t!==null&&$e(e,h(YI,{attrs:[b(nf,t)]}),Ir)},x5=(e,t)=>{if(e.children=e.children.filter(a=>!(a.kind==="element"&&a.name.namespaceURI===d.dml&&a.name.localName==="highlight")),t===null)return;let n=Fr(t);if(n===null)throw new Error(`unrecognized highlight color: ${t}`);let r=n.kind==="srgb"?h(ef,{attrs:[b(to,n.hex)]}):h(tf,{attrs:[b(to,n.token)]});$e(e,h(s5,{children:[r]}),Ir)},ts=(e,t,n)=>{if(e.underline!=null&&typeof e.underline!="boolean"&&Z(e.underline,pb,`${t}: underline`),e.strike!=null&&typeof e.strike!="boolean"&&Z(e.strike,ub,`${t}: strike`),e.cap!=null&&Z(e.cap,["none","small","all"],`${t}: cap`),e.colorTransforms!==void 0){if(e.color==null)throw new Error(`${t}: colorTransforms requires color`);lt(e.colorTransforms)}let r=[["outline",e.outline],["shadow",e.shadow],["innerShadow",e.innerShadow],["glow",e.glow]];for(let[a,l]of r)if(l?.colorTransforms!==void 0){if(l.color===void 0)throw new Error(`${t}: ${a}.colorTransforms requires ${a}.color`);lt(l.colorTransforms)}if(e.textFill!==void 0){if(e.color!==void 0)throw new Error(`${t}: color and textFill are mutually exclusive; pass one`);S5(e.textFill,`${t}: textFill`,n)}e.outline&&j0(e.outline,`${t}: outline`)},S5=(e,t,n)=>{switch(e.kind){case"pattern":kb(e,t);return;case"gradient":Ji(e,t);return;case"none":return;case"image":if(!n)throw new Error(`${t}: a picture fill needs a slide or notes text body`);n.check(e.bytes);return;default:{let r=e;throw new Error(`${t}: unknown fill kind ${JSON.stringify(r)}`)}}},mr=(e,t,n="setShapeRunFormat",r)=>{ts(t,n,r),nc(e,t,r)},nc=(e,t,n)=>{let r=e.attrs;if(t.size!==void 0){let a=ab(t.size*100,"setShapeRunFormat: size");r=cr(r,JI,String(a))}if(t.bold!==void 0&&(r=cr(r,QI,t.bold===null?null:t.bold?"1":"0")),t.italic!==void 0&&(r=cr(r,e5,t.italic?"1":"0")),t.underline!==void 0){let a=t.underline===!1?"none":t.underline===!0?"sng":t.underline;r=cr(r,t5,a)}if(t.strike!==void 0){let a=t.strike===!1?"noStrike":t.strike===!0?"sngStrike":t.strike;r=cr(r,n5,a)}if(t.spc!==void 0&&(r=cr(r,r5,t.spc===null?null:String(lb(t.spc,"setShapeRunFormat: spc")))),t.kern!==void 0&&(r=cr(r,a5,String(Math.round(t.kern)))),t.normalizeHeight!==void 0&&(r=cr(r,l5,t.normalizeHeight?"1":"0")),t.baseline!==void 0){let a=Math.round(t.baseline*1e5);r=cr(r,o5,String(a))}t.cap!==void 0&&(r=cr(r,i5,t.cap)),e.attrs=r,t.font!==void 0&&h5(e,t.font),t.fontEastAsian!==void 0&&g5(e,t.fontEastAsian),t.fontComplexScript!==void 0&&y5(e,t.fontComplexScript),t.textFill!==void 0?u5(e,t.textFill,n):t.color!==void 0&&p5(e,t.color,t.colorTransforms),t.underlineColor!==void 0&&f5(e,t.underlineColor),t.highlight!==void 0&&x5(e,t.highlight),t.outline!==void 0&&b5(e,t.outline),t.shadow!==void 0&&(t.shadow===null?oa(e,"outerShdw"):Wi(e,t.shadow,tc)),t.innerShadow!==void 0&&(t.innerShadow===null?oa(e,"innerShdw"):Yi(e,t.innerShadow,tc)),t.glow!==void 0&&(t.glow===null?oa(e,"glow"):Zi(e,t.glow,tc)),t.reflection!==void 0&&(t.reflection===null?oa(e,"reflection"):Ki(e,t.reflection,tc))},tc=e=>{let t=Vb.effectLst;for(let n=0;n<e.children.length;n++){let r=e.children[n];if(r?.kind==="element"&&Ir(r)>t)return n}return e.children.length},b5=(e,t)=>{let n=p(e,Hb);if(t===null){n&&(e.children=e.children.filter(a=>a!==n));return}let r=n??h(Hb);if(U0(r,t,"setShapeRunFormat: outline"),t.colorTransforms!==void 0){let a=p(r,Q0)?.children.find(l=>l.kind==="element");a?.kind==="element"&&(a.children=lt(t.colorTransforms))}n||$e(e,r,Ir)},E5=new Set(["kumimoji","sz","b","i","u","strike","kern","cap","spc","normalizeH","baseline"]),A5=new Set(["ln","noFill","solidFill","gradFill","blipFill","pattFill","grpFill","effectLst","effectDag","highlight","uLnTx","uLn","uFillTx","uFill","latin","ea","cs","sym"]),rc=e=>{e.attrs=e.attrs.filter(t=>t.name.namespaceURI!==""||!E5.has(t.name.localName)),e.children=e.children.filter(t=>t.kind!=="element"||t.name.namespaceURI!==d.dml||!A5.has(t.name.localName))},af=e=>{if(e.name.namespaceURI===d.dml&&["rPr","defRPr","endParaRPr"].includes(e.name.localName)){rc(e);return}for(let t of e.children)t.kind==="element"&&t.name.namespaceURI===d.dml&&t.name.localName!=="extLst"&&af(t)},T5=new Set(["rot","spcFirstLastPara","vertOverflow","horzOverflow","vert","wrap","lIns","tIns","rIns","bIns","numCol","spcCol","rtlCol","fromWordArt","anchor","anchorCtr","forceAA","upright","compatLnSpc"]),w5=new Set(["prstTxWarp","noAutofit","normAutofit","spAutoFit","scene3d","sp3d","flatTx"]),v5=new Set(["marL","marR","indent","algn","defTabSz","rtl","eaLnBrk","fontAlgn","latinLnBrk","hangingPunct"]),C5=new Set(["lnSpc","spcBef","spcAft","buClrTx","buClr","buSzTx","buSzPct","buSzPts","buFontTx","buFont","buNone","buAutoNum","buChar","buBlip","tabLst"]),Wb=e=>{af(e);let t=n=>{let r=n.name.localName,a=r==="bodyPr";if(a||r==="pPr"||r==="defPPr"||/^lvl[1-9]pPr$/.test(r)){let l=a?T5:v5,i=a?w5:C5;n.attrs=n.attrs.filter(s=>s.name.namespaceURI!==""||!l.has(s.name.localName)),n.children=n.children.filter(s=>s.kind!=="element"||s.name.namespaceURI!==d.dml||!i.has(s.name.localName))}for(let l of n.children)l.kind==="element"&&l.name.namespaceURI===d.dml&&l.name.localName!=="extLst"&&t(l)};t(e)},lf=(e,t,n="setShapeTextFormat",r=!1,a)=>{ts(t,n,a),ac(e,t,r,a)},ac=(e,t,n=!1,r)=>{n&&(nc(h(J0),t,r),af(e));for(let a of e.children){if(a.kind!=="element"||a.name.namespaceURI!==d.dml||a.name.localName!=="p")continue;let l=p(a,o("a","endParaRPr",d.dml)),i=l??h(o("a","endParaRPr",d.dml));nc(i,t,r),!l&&(i.attrs.length||i.children.length)&&a.children.push(i);for(let s of a.children){if(s.kind!=="element"||s.name.namespaceURI!==d.dml||s.name.localName!=="r")continue;let c=p(s,J0);c===null&&(c=h(J0),s.children.unshift(c)),nc(c,t,r)}}};var L5=o("a","buChar",d.dml),P5=o("a","buAutoNum",d.dml),R5=o("a","buNone",d.dml),N5=o("a","buFont",d.dml),D5=o("","char",""),_5=o("","type",""),k5=o("","typeface",""),oc=o("a","p",d.dml),df=o("a","r",d.dml),cf=o("a","t",d.dml),Kb=o("a","rPr",d.dml),Jb=o("a","pPr",d.dml),M5=o("a","endParaRPr",d.dml),F5=o("a","br",d.dml),I5=/\r?\n/,B5=o("xml","space",d.xml),O5=e=>e.map(t=>b(t.name,t.value)),no=e=>h(e.name,{attrs:O5(e.attrs),prefixDecls:new Map(e.prefixDecls),children:e.children.map(X5)}),X5=e=>{switch(e.kind){case"element":return no(e);case"text":return{kind:"text",data:e.data};case"cdata":return{kind:"cdata",data:e.data};case"comment":return{kind:"comment",data:e.data};case"pi":return{kind:"pi",target:e.target,data:e.data}}},$5=e=>{let t=p(e,oc);if(t===null)return null;let n=p(t,df);return n===null?null:p(n,Kb)},j5=e=>{let t=p(e,oc);return t===null?null:p(t,Jb)},Qb=e=>{e.children=e.children.filter(t=>!(t.kind==="element"&&t.name.namespaceURI===d.dml&&t.name.localName==="p"))},U5=/\{\{([^{}]+)\}\}/g,ns=(e,t)=>{let n=0;return kt(e,r=>{if(r.name.namespaceURI!==cf.namespaceURI||r.name.localName!=="t")return;let a=r.children[0];if(!a||a.kind!=="text")return;let l=a.data,i=!1,s=l.replace(U5,(c,m)=>Object.hasOwn(t,m)?(i=!0,t[m]??""):c);i&&(a.data=s,n++)}),n},G5=(e,t,n)=>n.replace(/\$(\$|&|`|'|[0-9]{1,2}|<[^>]*>)/g,(r,a)=>{if(a==="$")return"$";if(a==="&")return t[0];if(a==="`")return e.slice(0,t.index);if(a==="'")return e.slice(t.index+t[0].length);if(a.startsWith("<"))return t.groups===void 0?r:t.groups[a.slice(1,-1)]??"";let l=Number(a);if(l>0&&l<t.length)return t[l]??"";let i=Number(a[0]);return a.length===2&&i>0&&i<t.length?(t[i]??"")+a[1]:r}),of=(e,t,n)=>{if(e.length===0)return 0;let r=e.map(u=>u.data).join(""),a=e.map(()=>""),l=0,i=0,s=0,c=(u,f)=>{for(;s<u;){let y=e[l],g=Math.min(u-s,y.data.length-i);f&&(a[l]+=y.data.slice(i,i+g)),s+=g,i+=g,i===y.data.length&&l<e.length-1&&(l++,i=0)}};t.lastIndex=0;for(let u of r.matchAll(t)){let f=G5(r,u,n);if(f!==u[0]){for(c(u.index,!0);i===e[l].data.length&&l<e.length-1;)l++,i=0;a[l]+=f,c(u.index+u[0].length,!1)}}c(r.length,!0);let m=0;return e.forEach((u,f)=>{u.data!==a[f]&&(u.data=a[f],m++)}),m},ic=(e,t,n)=>{let r=typeof t=="string"?new RegExp(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"):new RegExp(t.source,t.global?t.flags:`${t.flags}g`),a=0;return kt(e,l=>{if(l.name.namespaceURI===d.dml){if(l.name.localName==="p"){let i=[];for(let s of l.children)s.kind==="element"&&(s.name.namespaceURI===d.dml&&s.name.localName==="br"?(a+=of(i,r,n),i=[]):kt(s,c=>{if(c.name.namespaceURI!==d.dml||c.name.localName!=="t")return;let m=c.children[0];m?.kind==="text"&&i.push(m)}));return a+=of(i,r,n),!1}if(l.name.localName==="t"){let i=l.children[0];i?.kind==="text"&&(a+=of([i],r,n))}}}),a},mf=(e,t)=>(typeof e=="string"&&Z(e,["bullet","number","none"],`${t}: bullets`),e==="bullet"?{kind:"char",char:"\u2022"}:e==="number"?{kind:"autoNum",type:"arabicPeriod"}:e==="none"?{kind:"none"}:"char"in e?{kind:"char",char:e.char}:{kind:"autoNum",type:Z(e.autoNum,mb,`${t}: bullets.autoNum`)}),q5=e=>{switch(e.kind){case"char":return h(L5,{attrs:[b(D5,e.char)]});case"autoNum":return h(P5,{attrs:[b(_5,e.type)]});case"none":return h(R5)}},lc=o("a","pPr",d.dml),e2=o("a","p",d.dml),H5=["l","ctr","r","just","dist","justLow","thaiDist"],rs=e=>H5.find(t=>t===e)??null,ia=(e,t)=>{switch(Z(e,["left","center","right","justify","distribute","l","ctr","r","just","dist","justLow","thaiDist"],`${t}: align`),e){case"left":case"l":return"l";case"center":case"ctr":return"ctr";case"right":case"r":return"r";case"justify":case"just":return"just";case"distribute":case"dist":return"dist";default:return e}},t2=o("","algn","");var as=(e,t)=>{for(let n of e.children){if(n.kind!=="element"||n.name.namespaceURI!==e2.namespaceURI||n.name.localName!=="p")continue;let r=p(n,lc);r===null&&(r=h(lc),n.children.unshift(r)),r.attrs=r.attrs.filter(a=>a.name.localName!=="algn"),r.attrs.push(b(t2,t))}},Yb=[{marL:342900,indent:-342900},{marL:742950,indent:-285750},{marL:1143e3,indent:-228600},{marL:1600200,indent:-228600},{marL:2057400,indent:-228600}],sf=e=>Yb[Math.min(e,Yb.length-1)],V5=o("","marL",""),z5=o("","indent",""),pf=(e,t,n)=>{let r=sf(t),a=e.attrs.find(s=>s.name.namespaceURI===""&&s.name.localName==="marL"),l=e.attrs.find(s=>s.name.namespaceURI===""&&s.name.localName==="indent");if(a?.value!==String(r.marL)||l?.value!==String(r.indent))return;let i=sf(n);e.attrs=e.attrs.map(s=>s===a?b(s.name,String(i.marL)):s===l?b(s.name,String(i.indent)):s)},Zb=(e,t)=>e.attrs.some(n=>n.name.namespaceURI===""&&n.name.localName===t),uf=(e,t)=>{let n=p(e,lc);if(n===null&&(n=h(lc),e.children.unshift(n)),n.children=n.children.filter(r=>!(r.kind==="element"&&r.name.namespaceURI===d.dml&&(r.name.localName==="buChar"||r.name.localName==="buAutoNum"||r.name.localName==="buNone"||r.name.localName==="buFont"))),t.kind!=="none"){let r=Number.parseInt(n.attrs.find(i=>i.name.localName==="lvl")?.value??"0",10),{marL:a,indent:l}=sf(Number.isFinite(r)?r:0);Zb(n,"marL")||n.attrs.push(b(V5,String(a))),Zb(n,"indent")||n.attrs.push(b(z5,String(l)))}t.kind==="autoNum"&&n.children.push(h(N5,{attrs:[b(k5,"+mj-lt")]})),n.children.push(q5(t))},ff=(e,t)=>{uf(e,mf(t,"setParagraphBullet"))},ls=(e,t)=>{let n=mf(t,"setShapeBulletStyle");for(let r of e.children)r.kind!=="element"||r.name.namespaceURI!==e2.namespaceURI||r.name.localName!=="p"||uf(r,n)},Pn=(e,t,n,r="paragraph")=>{let a=n===void 0?void 0:mf(n,"setShapeText"),l=$5(e),i=j5(e);Qb(e);let s=r==="break"?[t]:t.split(`
|
|
6
|
+
`);for(let c of s){let m=c.split(`
|
|
7
|
+
`).flatMap((f,y)=>[...y?[h(o("a","br",d.dml),{children:l?[no(l)]:[]})]:[],...f||!c?[h(df,{children:[...l?[no(l)]:[],h(cf,{children:f?[be(f)]:[]})]})]:[]]),u=h(oc,{children:[...i?[no(i)]:[],...m]});a!==void 0&&uf(u,a),e.children.push(u)}},sc=(e,t="setShapeParagraphs",n)=>{if(e.length===0)throw new Error("setTextBodyParagraphs: at least one paragraph is required");let r=a=>{let l=[];for(let i of e){let s=[];i.align!==void 0&&s.push(h(Jb,{attrs:[b(t2,ia(i.align,t))]}));for(let c of i.runs){let m=h(Kb);c.format!==void 0&&mr(m,c.format,t,a);let u=c.text.split(I5);u.forEach((f,y)=>{if(y>0&&s.push(h(F5,{children:[no(m)]})),f.length>0||u.length===1){let g=h(cf,{children:f.length>0?[be(f)]:[]});s.push(h(df,{children:[no(m),g]}))}})}if(i.endFormat!==void 0){let c=h(M5);mr(c,i.endFormat,t,a),s.push(c)}l.push(h(oc,{children:s}))}return l};return n&&r({check:n.check,embed:()=>""}),r(n)},dc=(e,t)=>{Qb(e),e.children.push(...t)},hf=(e,t,n)=>{dc(e,sc(t,void 0,n))};var Br=e=>o("a",e,d.dml),xf=Br("scene3d"),Sf=Br("sp3d"),yf=Br("camera"),d2=Br("lightRig"),c2=Br("rot"),m2=Br("bevelT"),p2=Br("bevelB"),u2=Br("extrusionClr"),f2=Br("contourClr"),Rn=e=>o("",e,""),pc=6e4,W5=180,Y5=27273042316900,cc=360,Z5=cc*pc,K5={prstTxWarp:0,noAutofit:1,normAutofit:1,spAutoFit:1,scene3d:2,sp3d:3,flatTx:3,extLst:4},lo=e=>e.name.namespaceURI===d.dml?K5[e.name.localName]??99:99,J5={bevelT:0,bevelB:1,extrusionClr:2,contourClr:3,extLst:4},Q5=e=>e.name.namespaceURI===d.dml?J5[e.name.localName]??99:99,eB={xfrm:0,custGeom:1,prstGeom:1,noFill:2,solidFill:2,gradFill:2,blipFill:2,pattFill:2,grpFill:2,ln:3,effectLst:4,effectDag:4,scene3d:5,sp3d:6,extLst:7},n2=e=>e.name.namespaceURI===d.dml?eB[e.name.localName]??99:99,h2=(e,...t)=>e.name.namespaceURI===d.dml&&t.includes(e.name.localName),uc=(e,...t)=>{e.children=e.children.filter(n=>n.kind!=="element"||!h2(n,...t))},ro=(e,t,n)=>{e.attrs=e.attrs.filter(r=>r.name.namespaceURI!==""||r.name.localName!==t),n!==null&&e.attrs.push(b(Rn(t),n))},gf=(e,t)=>{if(!Number.isFinite(e))throw new RangeError(`${t} must be finite`);let n=(e%cc+cc)%cc;return String(Math.round(n*pc)%Z5)},tB=e=>e.bevelTop!==void 0||e.bevelBottom!==void 0||e.extrusionHeightEmu!==void 0||e.extrusionColor!==void 0||e.contourWidthEmu!==void 0||e.distanceFromGroundEmu!==void 0||e.material!==void 0||e.contourColor!==void 0,r2=(e,t)=>h(c2,{attrs:[b(Rn("lat"),gf(e.latitudeDeg,`${t}: latitudeDeg`)),b(Rn("lon"),gf(e.longitudeDeg,`${t}: longitudeDeg`)),b(Rn("rev"),gf(e.revolutionDeg,`${t}: revolutionDeg`))]}),nB=(e,t,n)=>{let r=Z(e.camera,b0,`${n}: scene.camera`),a=Z(e.lightRig.type,E0,`${n}: scene.lightRig.type`),l=Z(e.lightRig.direction,A0,`${n}: scene.lightRig.direction`),i=e.lightRig.rotation,s=h(d2,{attrs:[b(Rn("rig"),a),b(Rn("dir"),l)],children:i===void 0?[]:[r2(i,n)]}),c=e.fieldOfViewDeg;if(c!==void 0&&(!Number.isFinite(c)||c<0||c>W5))throw new RangeError(`${n}: scene.fieldOfViewDeg must be in [0, 180]`);let m=t?{...t,attrs:[...t.attrs],children:[...t.children]}:h(xf),u=p(m,yf),f=u?{...u,attrs:[...u.attrs]}:h(yf);return ro(f,"prst",r),ro(f,"fov",c===void 0?null:String(Math.round(c*pc))),f.children=e.cameraRotation===void 0?[]:[r2(e.cameraRotation,n)],uc(m,"camera","lightRig"),m.children.unshift(f,s),m},a2=(e,t,n)=>t===void 0?null:h(e,{attrs:[...t.widthEmu===void 0?[]:[b(Rn("w"),String(xe(t.widthEmu,`${n}.widthEmu`)))],...t.heightEmu===void 0?[]:[b(Rn("h"),String(xe(t.heightEmu,`${n}.heightEmu`)))],...t.preset===void 0?[]:[b(Rn("prst"),Z(t.preset,T0,`${n}.preset`))]]}),l2=(e,t,n)=>{if(t===void 0)return null;let r=tt(t);return r.children=lt(n??[]),h(e,{children:[r]})},rB=(e,t,n)=>{let r=e.contourWidthEmu===void 0?null:String(xe(e.contourWidthEmu,`${n}: contourWidthEmu`)),a=e.distanceFromGroundEmu;if(a!==void 0&&(!Number.isInteger(a)||Math.abs(a)>Y5))throw new RangeError(`${n}: distanceFromGroundEmu must be an integer EMU coordinate`);let l=e.extrusionHeightEmu===void 0?null:String(xe(e.extrusionHeightEmu,`${n}: extrusionHeightEmu`)),i=e.material===void 0?null:Z(e.material,w0,`${n}: material`),s=[a2(m2,e.bevelTop,`${n}: bevelTop`),a2(p2,e.bevelBottom,`${n}: bevelBottom`),l2(u2,e.extrusionColor,e.extrusionColorTransforms),l2(f2,e.contourColor,e.contourColorTransforms)].filter(m=>m!==null),c=t?{...t,attrs:[...t.attrs],children:[...t.children]}:h(Sf);ro(c,"z",a===void 0?null:String(a)),ro(c,"extrusionH",l),ro(c,"contourW",r),ro(c,"prstMaterial",i),uc(c,"bevelT","bevelB","extrusionClr","contourClr");for(let m of s)$e(c,m,Q5);return c},bf=(e,t,n)=>{let{scene:r,shape:a}=g2(e,t,n);uc(e,"scene3d","sp3d",...a?["flatTx"]:[]),r&&$e(e,r,lo),a&&$e(e,a,lo)},Ef=(e,t,n)=>{let{scene:r,shape:a}=g2(e,t,n);uc(e,"scene3d","sp3d"),r&&$e(e,r,n2),a&&$e(e,a,n2)},g2=(e,t,n)=>{if(t?.contourColorTransforms!==void 0&&t.contourColor===void 0)throw new Error(`${n}: contourColorTransforms requires contourColor`);if(t?.extrusionColorTransforms!==void 0&&t.extrusionColor===void 0)throw new Error(`${n}: extrusionColorTransforms requires extrusionColor`);let r=p(e,xf),a=p(e,Sf);return{scene:t?.scene===void 0?null:nB(t.scene,r,n),shape:t===null||!tB(t)?null:rB(t,a,n)}},os=(e,t,n)=>{let r=x(e,Rn(t));return r!==null&&n.includes(r)?r:void 0},ao=(e,t)=>{let n=x(e,Rn(t)),r=n===null?Number.NaN:Number.parseInt(n,10);return Number.isFinite(r)?r:void 0},mc=(e,t)=>{let n=ao(e,t);return n===void 0?void 0:n/pc},o2=e=>{let t=p(e,c2);if(t===null)return;let n=mc(t,"lat"),r=mc(t,"lon"),a=mc(t,"rev");return n===void 0||r===void 0||a===void 0?void 0:{latitudeDeg:n,longitudeDeg:r,revolutionDeg:a}},aB=e=>{let t=p(e,yf),n=p(e,d2);if(t===null||n===null)return;let r=os(t,"prst",b0),a=os(n,"rig",E0),l=os(n,"dir",A0);if(r===void 0||a===void 0||l===void 0)return;let i=o2(n),s=o2(t),c=mc(t,"fov");return{camera:r,...s?{cameraRotation:s}:{},...c===void 0?{}:{fieldOfViewDeg:c},lightRig:{type:a,direction:l,...i?{rotation:i}:{}}}},i2=e=>{let t=os(e,"prst",T0),n=ao(e,"w"),r=ao(e,"h");return{...t===void 0?{}:{preset:t},...n===void 0?{}:{widthEmu:n},...r===void 0?{}:{heightEmu:r}}},s2=(e,t)=>{let r=p(e,t)?.children.find(i=>i.kind==="element"&&h2(i,"srgbClr","schemeClr")),a=r&&x(r,Rn("val"));if(!r||a==null)return null;let l=Ln(r);return{color:r.name.localName==="srgbClr"?`#${a.toUpperCase()}`:a,...l.length?{transforms:l}:{}}},qa=e=>{let t=p(e,xf),n=p(e,Sf);if(t===null&&n===null)return null;let r=t===null?void 0:aB(t);if(n===null)return r?{scene:r}:{};let a=p(n,m2),l=p(n,p2),i=ao(n,"extrusionH"),s=ao(n,"contourW"),c=ao(n,"z"),m=os(n,"prstMaterial",w0),u=s2(n,u2),f=s2(n,f2);return{...r?{scene:r}:{},...a?{bevelTop:i2(a)}:{},...l?{bevelBottom:i2(l)}:{},...i===void 0?{}:{extrusionHeightEmu:i},...u?{extrusionColor:u.color}:{},...u?.transforms?{extrusionColorTransforms:u.transforms}:{},...s===void 0?{}:{contourWidthEmu:s},...c===void 0?{}:{distanceFromGroundEmu:c},...m===void 0?{}:{material:m},...f?{contourColor:f.color}:{},...f?.transforms?{contourColorTransforms:f.transforms}:{}}};var jn=class extends Error{},lB=o("","name",""),oB=o("","fmla",""),iB=o("","x",""),sB=o("","y",""),dB=o("","w",""),cB=o("","h",""),mB=o("","wR",""),pB=o("","hR",""),uB=o("","stAng",""),fB=o("","swAng",""),hB=o("","fill",""),gB=o("","stroke",""),yB=o("","l",""),xB=o("","t",""),SB=o("","r",""),bB=o("","b",""),EB=o("a","avLst",d.dml),AB=o("a","gdLst",d.dml),TB=o("a","pathLst",d.dml),wB=o("a","rect",d.dml),fc=216e5,Af=e=>e/6e4*(Math.PI/180),vB=/^-?\d+(?:\.\d+)?$/,Tf=(e,t)=>{let n=Math.min(e,t),r=fc/4,a=fc/8;return new Map([["w",e],["h",t],["ss",n],["ls",Math.max(e,t)],["hc",e/2],["vc",t/2],["t",0],["l",0],["b",t],["r",e],["wd2",e/2],["wd3",e/3],["wd4",e/4],["wd5",e/5],["wd6",e/6],["wd8",e/8],["wd10",e/10],["wd12",e/12],["wd32",e/32],["hd2",t/2],["hd3",t/3],["hd4",t/4],["hd5",t/5],["hd6",t/6],["hd8",t/8],["hd10",t/10],["ssd2",n/2],["ssd4",n/4],["ssd6",n/6],["ssd8",n/8],["ssd16",n/16],["ssd32",n/32],["cd2",fc/2],["cd4",r],["cd6",fc/6],["cd8",a],["3cd4",3*r],["3cd8",3*a],["5cd8",5*a],["7cd8",7*a]])},Mt=(e,t)=>{if(vB.test(e))return Number.parseFloat(e);let n=t.get(e);if(n===void 0)throw new jn(`unresolved guide reference: ${e}`);return n},gc=(e,t)=>{let n=e.trim().split(/\s+/),r=n[0],a=i=>Mt(n[i+1]??"",t),l=(i,s)=>s===0?0:i/s;switch(r){case"val":return a(0);case"*/":return l(a(0)*a(1),a(2));case"+-":return a(0)+a(1)-a(2);case"+/":return l(a(0)+a(1),a(2));case"?:":return a(0)>0?a(1):a(2);case"abs":return Math.abs(a(0));case"sqrt":return Math.sqrt(a(0));case"max":return Math.max(a(0),a(1));case"min":return Math.min(a(0),a(1));case"mod":return Math.sqrt(a(0)*a(0)+a(1)*a(1)+a(2)*a(2));case"pin":{let i=a(0),s=a(1),c=a(2);return s<i?i:s>c?c:s}case"sin":return a(0)*Math.sin(Af(a(1)));case"cos":return a(0)*Math.cos(Af(a(1)));case"tan":return a(0)*Math.tan(Af(a(1)));case"at2":return Math.atan2(a(1),a(0))*180/Math.PI*6e4;case"cat2":return a(0)*Math.cos(Math.atan2(a(2),a(1)));case"sat2":return a(0)*Math.sin(Math.atan2(a(2),a(1)));default:throw new jn(`unknown fmla operator: ${r}`)}},is=(e,t)=>{for(let n of e.children)if(kr(n)&&n.name.namespaceURI===t.namespaceURI&&n.name.localName===t.localName)return n;return null},hc=(e,t)=>{let n=[];for(let r of e.children)kr(r)&&r.name.namespaceURI===d.dml&&r.name.localName===t&&n.push(r);return n},y2=(e,t)=>{if(e!==null)for(let n of hc(e,"gd")){let r=x(n,lB),a=x(n,oB);r===null||a===null||t.set(r,gc(a,t))}},oo=(e,t)=>({x:Mt(x(e,iB)??"0",t),y:Mt(x(e,sB)??"0",t)}),x2=(e,t)=>{let n=is(e,o("a","pt",d.dml));if(n===null)throw new jn(`<a:${e.name.localName}> missing <a:pt>`);return oo(n,t)},S2=e=>{if(e===null)return null;let t=Number.parseInt(e,10);return Number.isFinite(t)?t:null},CB=new Set(["none","norm","lighten","lightenLess","darken","darkenLess"]),LB=e=>CB.has(e),PB=(e,t)=>{if(e===null)return null;let n=a=>Mt(x(e,a)??"0",t),r={l:n(yB),t:n(xB),r:n(SB),b:n(bB)};return r.r>r.l&&r.b>r.t?r:null},RB=(e,t)=>{let n=S2(x(e,dB)),r=S2(x(e,cB)),a=x(e,hB),l=a!==null&&LB(a)?a:"norm",i=x(e,gB),s=!(i==="0"||i==="false"),c=[];for(let m of e.children)if(!(!kr(m)||m.name.namespaceURI!==d.dml))switch(m.name.localName){case"moveTo":c.push({kind:"moveTo",pt:x2(m,t)});break;case"lnTo":c.push({kind:"lnTo",pt:x2(m,t)});break;case"close":c.push({kind:"close"});break;case"arcTo":c.push({kind:"arcTo",wR:Mt(x(m,mB)??"0",t),hR:Mt(x(m,pB)??"0",t),stAng:Mt(x(m,uB)??"0",t),swAng:Mt(x(m,fB)??"0",t)});break;case"quadBezTo":{let u=hc(m,"pt");if(u.length<2)throw new jn("<a:quadBezTo> needs 2 points");c.push({kind:"quadBezTo",pts:[oo(u[0],t),oo(u[1],t)]});break}case"cubicBezTo":{let u=hc(m,"pt");if(u.length<3)throw new jn("<a:cubicBezTo> needs 3 points");c.push({kind:"cubicBezTo",pts:[oo(u[0],t),oo(u[1],t),oo(u[2],t)]});break}}return{w:n,h:r,fill:l,stroke:s,commands:c}},wf=(e,t,n)=>{try{let r=Tf(t,n);y2(is(e,EB),r),y2(is(e,AB),r);let a=PB(is(e,wB),r),l=is(e,TB);if(l===null)return{paths:[],textRect:a};let i=[];for(let s of hc(l,"path"))i.push(RB(s,r));return{paths:i,textRect:a}}catch(r){if(r instanceof jn)return null;throw r}};var vf={accentBorderCallout1:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 112500"],["adj4","val -38333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]]},{commands:[["M","x1","t"],["Z"],["L","x1","b"]],fill:"none"},{commands:[["M","x1","y1"],["L","x2","y2"]],fill:"none"}],rect:["l","t","r","b"]},accentBorderCallout2:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 112500"],["adj6","val -46667"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]]},{commands:[["M","x1","t"],["Z"],["L","x1","b"]],fill:"none"},{commands:[["M","x1","y1"],["L","x2","y2"],["L","x3","y3"]],fill:"none"}],rect:["l","t","r","b"]},accentBorderCallout3:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 100000"],["adj6","val -16667"],["adj7","val 112963"],["adj8","val -8333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"],["y4","*/ h adj7 100000"],["x4","*/ w adj8 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]]},{commands:[["M","x1","t"],["Z"],["L","x1","b"]],fill:"none"},{commands:[["M","x1","y1"],["L","x2","y2"],["L","x3","y3"],["L","x4","y4"]],fill:"none"}],rect:["l","t","r","b"]},accentCallout1:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 112500"],["adj4","val -38333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],stroke:!1},{commands:[["M","x1","t"],["Z"],["L","x1","b"]],fill:"none"},{commands:[["M","x1","y1"],["L","x2","y2"]],fill:"none"}],rect:["l","t","r","b"]},accentCallout2:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 112500"],["adj6","val -46667"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],stroke:!1},{commands:[["M","x1","t"],["Z"],["L","x1","b"]],fill:"none"},{commands:[["M","x1","y1"],["L","x2","y2"],["L","x3","y3"]],fill:"none"}],rect:["l","t","r","b"]},accentCallout3:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 100000"],["adj6","val -16667"],["adj7","val 112963"],["adj8","val -8333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"],["y4","*/ h adj7 100000"],["x4","*/ w adj8 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],stroke:!1},{commands:[["M","x1","t"],["Z"],["L","x1","b"]],fill:"none"},{commands:[["M","x1","y1"],["L","x2","y2"],["L","x3","y3"],["L","x4","y4"]],fill:"none"}],rect:["l","t","r","b"]},actionButtonBackPrevious:{av:[],gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","g11","vc"],["L","g12","g9"],["L","g12","g10"],["Z"]],stroke:!1},{commands:[["M","g11","vc"],["L","g12","g9"],["L","g12","g10"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","g11","vc"],["L","g12","g9"],["L","g12","g10"],["Z"]],fill:"none"},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],fill:"none"}],rect:["l","t","r","b"]},actionButtonBeginning:{av:[],gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"],["g13","*/ ss 3 4"],["g14","*/ g13 1 8"],["g15","*/ g13 1 4"],["g16","+- g11 g14 0"],["g17","+- g11 g15 0"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","g17","vc"],["L","g12","g9"],["L","g12","g10"],["Z"],["M","g16","g9"],["L","g11","g9"],["L","g11","g10"],["L","g16","g10"],["Z"]],stroke:!1},{commands:[["M","g17","vc"],["L","g12","g9"],["L","g12","g10"],["Z"],["M","g16","g9"],["L","g11","g9"],["L","g11","g10"],["L","g16","g10"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","g17","vc"],["L","g12","g9"],["L","g12","g10"],["Z"],["M","g16","g9"],["L","g16","g10"],["L","g11","g10"],["L","g11","g9"],["Z"]],fill:"none"},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],fill:"none"}],rect:["l","t","r","b"]},actionButtonBlank:{av:[],gd:[],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]]}],rect:["l","t","r","b"]},actionButtonDocument:{av:[],gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["dx1","*/ ss 9 32"],["g11","+- hc 0 dx1"],["g12","+- hc dx1 0"],["g13","*/ ss 3 16"],["g14","+- g12 0 g13"],["g15","+- g9 g13 0"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","g11","g9"],["L","g14","g9"],["L","g12","g15"],["L","g12","g10"],["L","g11","g10"],["Z"]],stroke:!1},{commands:[["M","g11","g9"],["L","g14","g9"],["L","g14","g15"],["L","g12","g15"],["L","g12","g10"],["L","g11","g10"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","g14","g9"],["L","g14","g15"],["L","g12","g15"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","g11","g9"],["L","g14","g9"],["L","g12","g15"],["L","g12","g10"],["L","g11","g10"],["Z"],["M","g12","g15"],["L","g14","g15"],["L","g14","g9"]],fill:"none"},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],fill:"none"}],rect:["l","t","r","b"]},actionButtonEnd:{av:[],gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"],["g13","*/ ss 3 4"],["g14","*/ g13 3 4"],["g15","*/ g13 7 8"],["g16","+- g11 g14 0"],["g17","+- g11 g15 0"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","g16","vc"],["L","g11","g9"],["L","g11","g10"],["Z"],["M","g17","g9"],["L","g12","g9"],["L","g12","g10"],["L","g17","g10"],["Z"]],stroke:!1},{commands:[["M","g16","vc"],["L","g11","g9"],["L","g11","g10"],["Z"],["M","g17","g9"],["L","g12","g9"],["L","g12","g10"],["L","g17","g10"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","g16","vc"],["L","g11","g10"],["L","g11","g9"],["Z"],["M","g17","g9"],["L","g12","g9"],["L","g12","g10"],["L","g17","g10"],["Z"]],fill:"none"},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],fill:"none"}],rect:["l","t","r","b"]},actionButtonForwardNext:{av:[],gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","g12","vc"],["L","g11","g9"],["L","g11","g10"],["Z"]],stroke:!1},{commands:[["M","g12","vc"],["L","g11","g9"],["L","g11","g10"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","g12","vc"],["L","g11","g10"],["L","g11","g9"],["Z"]],fill:"none"},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],fill:"none"}],rect:["l","t","r","b"]},actionButtonHelp:{av:[],gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g11","+- hc 0 dx2"],["g13","*/ ss 3 4"],["g14","*/ g13 1 7"],["g15","*/ g13 3 14"],["g16","*/ g13 2 7"],["g19","*/ g13 3 7"],["g20","*/ g13 4 7"],["g21","*/ g13 17 28"],["g23","*/ g13 21 28"],["g24","*/ g13 11 14"],["g27","+- g9 g16 0"],["g29","+- g9 g21 0"],["g30","+- g9 g23 0"],["g31","+- g9 g24 0"],["g33","+- g11 g15 0"],["g36","+- g11 g19 0"],["g37","+- g11 g20 0"],["g41","*/ g13 1 14"],["g42","*/ g13 3 28"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","g33","g27"],["A","g16","g16","cd2","cd2"],["A","g14","g15","0","cd4"],["A","g41","g42","3cd4","-5400000"],["L","g37","g30"],["L","g36","g30"],["L","g36","g29"],["A","g14","g15","cd2","cd4"],["A","g41","g42","cd4","-5400000"],["A","g14","g14","0","-10800000"],["Z"],["M","hc","g31"],["A","g42","g42","3cd4","21600000"],["Z"]],stroke:!1},{commands:[["M","g33","g27"],["A","g16","g16","cd2","cd2"],["A","g14","g15","0","cd4"],["A","g41","g42","3cd4","-5400000"],["L","g37","g30"],["L","g36","g30"],["L","g36","g29"],["A","g14","g15","cd2","cd4"],["A","g41","g42","cd4","-5400000"],["A","g14","g14","0","-10800000"],["Z"],["M","hc","g31"],["A","g42","g42","3cd4","21600000"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","g33","g27"],["A","g16","g16","cd2","cd2"],["A","g14","g15","0","cd4"],["A","g41","g42","3cd4","-5400000"],["L","g37","g30"],["L","g36","g30"],["L","g36","g29"],["A","g14","g15","cd2","cd4"],["A","g41","g42","cd4","-5400000"],["A","g14","g14","0","-10800000"],["Z"],["M","hc","g31"],["A","g42","g42","3cd4","21600000"],["Z"]],fill:"none"},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],fill:"none"}],rect:["l","t","r","b"]},actionButtonHome:{av:[],gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"],["g13","*/ ss 3 4"],["g14","*/ g13 1 16"],["g15","*/ g13 1 8"],["g16","*/ g13 3 16"],["g17","*/ g13 5 16"],["g18","*/ g13 7 16"],["g19","*/ g13 9 16"],["g20","*/ g13 11 16"],["g21","*/ g13 3 4"],["g22","*/ g13 13 16"],["g23","*/ g13 7 8"],["g24","+- g9 g14 0"],["g25","+- g9 g16 0"],["g26","+- g9 g17 0"],["g27","+- g9 g21 0"],["g28","+- g11 g15 0"],["g29","+- g11 g18 0"],["g30","+- g11 g19 0"],["g31","+- g11 g20 0"],["g32","+- g11 g22 0"],["g33","+- g11 g23 0"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","hc","g9"],["L","g11","vc"],["L","g28","vc"],["L","g28","g10"],["L","g33","g10"],["L","g33","vc"],["L","g12","vc"],["L","g32","g26"],["L","g32","g24"],["L","g31","g24"],["L","g31","g25"],["Z"]],stroke:!1},{commands:[["M","g32","g26"],["L","g32","g24"],["L","g31","g24"],["L","g31","g25"],["Z"],["M","g28","vc"],["L","g28","g10"],["L","g29","g10"],["L","g29","g27"],["L","g30","g27"],["L","g30","g10"],["L","g33","g10"],["L","g33","vc"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","hc","g9"],["L","g11","vc"],["L","g12","vc"],["Z"],["M","g29","g27"],["L","g30","g27"],["L","g30","g10"],["L","g29","g10"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","hc","g9"],["L","g31","g25"],["L","g31","g24"],["L","g32","g24"],["L","g32","g26"],["L","g12","vc"],["L","g33","vc"],["L","g33","g10"],["L","g28","g10"],["L","g28","vc"],["L","g11","vc"],["Z"],["M","g31","g25"],["L","g32","g26"],["M","g33","vc"],["L","g28","vc"],["M","g29","g10"],["L","g29","g27"],["L","g30","g27"],["L","g30","g10"]],fill:"none"},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],fill:"none"}],rect:["l","t","r","b"]},actionButtonInformation:{av:[],gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g11","+- hc 0 dx2"],["g13","*/ ss 3 4"],["g14","*/ g13 1 32"],["g17","*/ g13 5 16"],["g18","*/ g13 3 8"],["g19","*/ g13 13 32"],["g20","*/ g13 19 32"],["g22","*/ g13 11 16"],["g23","*/ g13 13 16"],["g24","*/ g13 7 8"],["g25","+- g9 g14 0"],["g28","+- g9 g17 0"],["g29","+- g9 g18 0"],["g30","+- g9 g23 0"],["g31","+- g9 g24 0"],["g32","+- g11 g17 0"],["g34","+- g11 g19 0"],["g35","+- g11 g20 0"],["g37","+- g11 g22 0"],["g38","*/ g13 3 32"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","hc","g9"],["A","dx2","dx2","3cd4","21600000"],["Z"]],stroke:!1},{commands:[["M","hc","g9"],["A","dx2","dx2","3cd4","21600000"],["Z"],["M","hc","g25"],["A","g38","g38","3cd4","21600000"],["M","g32","g28"],["L","g32","g29"],["L","g34","g29"],["L","g34","g30"],["L","g32","g30"],["L","g32","g31"],["L","g37","g31"],["L","g37","g30"],["L","g35","g30"],["L","g35","g28"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","hc","g25"],["A","g38","g38","3cd4","21600000"],["M","g32","g28"],["L","g35","g28"],["L","g35","g30"],["L","g37","g30"],["L","g37","g31"],["L","g32","g31"],["L","g32","g30"],["L","g34","g30"],["L","g34","g29"],["L","g32","g29"],["Z"]],fill:"lighten",stroke:!1},{commands:[["M","hc","g9"],["A","dx2","dx2","3cd4","21600000"],["Z"],["M","hc","g25"],["A","g38","g38","3cd4","21600000"],["M","g32","g28"],["L","g35","g28"],["L","g35","g30"],["L","g37","g30"],["L","g37","g31"],["L","g32","g31"],["L","g32","g30"],["L","g34","g30"],["L","g34","g29"],["L","g32","g29"],["Z"]],fill:"none"},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],fill:"none"}],rect:["l","t","r","b"]},actionButtonMovie:{av:[],gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"],["g13","*/ ss 3 4"],["g14","*/ g13 1455 21600"],["g15","*/ g13 1905 21600"],["g16","*/ g13 2325 21600"],["g17","*/ g13 16155 21600"],["g18","*/ g13 17010 21600"],["g19","*/ g13 19335 21600"],["g20","*/ g13 19725 21600"],["g21","*/ g13 20595 21600"],["g22","*/ g13 5280 21600"],["g23","*/ g13 5730 21600"],["g24","*/ g13 6630 21600"],["g25","*/ g13 7492 21600"],["g26","*/ g13 9067 21600"],["g27","*/ g13 9555 21600"],["g28","*/ g13 13342 21600"],["g29","*/ g13 14580 21600"],["g30","*/ g13 15592 21600"],["g31","+- g11 g14 0"],["g32","+- g11 g15 0"],["g33","+- g11 g16 0"],["g34","+- g11 g17 0"],["g35","+- g11 g18 0"],["g36","+- g11 g19 0"],["g37","+- g11 g20 0"],["g38","+- g11 g21 0"],["g39","+- g9 g22 0"],["g40","+- g9 g23 0"],["g41","+- g9 g24 0"],["g42","+- g9 g25 0"],["g43","+- g9 g26 0"],["g44","+- g9 g27 0"],["g45","+- g9 g28 0"],["g46","+- g9 g29 0"],["g47","+- g9 g30 0"],["g48","+- g9 g31 0"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","g11","g39"],["L","g11","g44"],["L","g31","g44"],["L","g32","g43"],["L","g33","g43"],["L","g33","g47"],["L","g35","g47"],["L","g35","g45"],["L","g36","g45"],["L","g38","g46"],["L","g12","g46"],["L","g12","g41"],["L","g38","g41"],["L","g37","g42"],["L","g35","g42"],["L","g35","g41"],["L","g34","g40"],["L","g32","g40"],["L","g31","g39"],["Z"]],stroke:!1},{commands:[["M","g11","g39"],["L","g11","g44"],["L","g31","g44"],["L","g32","g43"],["L","g33","g43"],["L","g33","g47"],["L","g35","g47"],["L","g35","g45"],["L","g36","g45"],["L","g38","g46"],["L","g12","g46"],["L","g12","g41"],["L","g38","g41"],["L","g37","g42"],["L","g35","g42"],["L","g35","g41"],["L","g34","g40"],["L","g32","g40"],["L","g31","g39"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","g11","g39"],["L","g31","g39"],["L","g32","g40"],["L","g34","g40"],["L","g35","g41"],["L","g35","g42"],["L","g37","g42"],["L","g38","g41"],["L","g12","g41"],["L","g12","g46"],["L","g38","g46"],["L","g36","g45"],["L","g35","g45"],["L","g35","g47"],["L","g33","g47"],["L","g33","g43"],["L","g32","g43"],["L","g31","g44"],["L","g11","g44"],["Z"]],fill:"none"},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],fill:"none"}],rect:["l","t","r","b"]},actionButtonReturn:{av:[],gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"],["g13","*/ ss 3 4"],["g14","*/ g13 7 8"],["g15","*/ g13 3 4"],["g16","*/ g13 5 8"],["g17","*/ g13 3 8"],["g18","*/ g13 1 4"],["g19","+- g9 g15 0"],["g20","+- g9 g16 0"],["g21","+- g9 g18 0"],["g22","+- g11 g14 0"],["g23","+- g11 g15 0"],["g24","+- g11 g16 0"],["g25","+- g11 g17 0"],["g26","+- g11 g18 0"],["g27","*/ g13 1 8"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","g12","g21"],["L","g23","g9"],["L","hc","g21"],["L","g24","g21"],["L","g24","g20"],["A","g27","g27","0","cd4"],["L","g25","g19"],["A","g27","g27","cd4","cd4"],["L","g26","g21"],["L","g11","g21"],["L","g11","g20"],["A","g17","g17","cd2","-5400000"],["L","hc","g10"],["A","g17","g17","cd4","-5400000"],["L","g22","g21"],["Z"]],stroke:!1},{commands:[["M","g12","g21"],["L","g23","g9"],["L","hc","g21"],["L","g24","g21"],["L","g24","g20"],["A","g27","g27","0","cd4"],["L","g25","g19"],["A","g27","g27","cd4","cd4"],["L","g26","g21"],["L","g11","g21"],["L","g11","g20"],["A","g17","g17","cd2","-5400000"],["L","hc","g10"],["A","g17","g17","cd4","-5400000"],["L","g22","g21"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","g12","g21"],["L","g22","g21"],["L","g22","g20"],["A","g17","g17","0","cd4"],["L","g25","g10"],["A","g17","g17","cd4","cd4"],["L","g11","g21"],["L","g26","g21"],["L","g26","g20"],["A","g27","g27","cd2","-5400000"],["L","hc","g19"],["A","g27","g27","cd4","-5400000"],["L","g24","g21"],["L","hc","g21"],["L","g23","g9"],["Z"]],fill:"none"},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],fill:"none"}],rect:["l","t","r","b"]},actionButtonSound:{av:[],gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"],["g13","*/ ss 3 4"],["g14","*/ g13 1 8"],["g15","*/ g13 5 16"],["g16","*/ g13 5 8"],["g17","*/ g13 11 16"],["g18","*/ g13 3 4"],["g19","*/ g13 7 8"],["g20","+- g9 g14 0"],["g21","+- g9 g15 0"],["g22","+- g9 g17 0"],["g23","+- g9 g19 0"],["g24","+- g11 g15 0"],["g25","+- g11 g16 0"],["g26","+- g11 g18 0"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","g11","g21"],["L","g11","g22"],["L","g24","g22"],["L","g25","g10"],["L","g25","g9"],["L","g24","g21"],["Z"]],stroke:!1},{commands:[["M","g11","g21"],["L","g11","g22"],["L","g24","g22"],["L","g25","g10"],["L","g25","g9"],["L","g24","g21"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","g11","g21"],["L","g24","g21"],["L","g25","g9"],["L","g25","g10"],["L","g24","g22"],["L","g11","g22"],["Z"],["M","g26","g21"],["L","g12","g20"],["M","g26","vc"],["L","g12","vc"],["M","g26","g22"],["L","g12","g23"]],fill:"none"},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],fill:"none"}],rect:["l","t","r","b"]},arc:{av:[["adj1","val 16200000"],["adj2","val 0"]],gd:[["stAng","pin 0 adj1 21599999"],["enAng","pin 0 adj2 21599999"],["sw11","+- enAng 0 stAng"],["sw12","+- sw11 21600000 0"],["swAng","?: sw11 sw11 sw12"],["wt1","sin wd2 stAng"],["ht1","cos hd2 stAng"],["dx1","cat2 wd2 ht1 wt1"],["dy1","sat2 hd2 ht1 wt1"],["wt2","sin wd2 enAng"],["ht2","cos hd2 enAng"],["dx2","cat2 wd2 ht2 wt2"],["dy2","sat2 hd2 ht2 wt2"],["x1","+- hc dx1 0"],["y1","+- vc dy1 0"],["x2","+- hc dx2 0"],["y2","+- vc dy2 0"],["sw0","+- 21600000 0 stAng"],["da1","+- swAng 0 sw0"],["g1","max x1 x2"],["ir","?: da1 r g1"],["sw1","+- cd4 0 stAng"],["sw2","+- 27000000 0 stAng"],["sw3","?: sw1 sw1 sw2"],["da2","+- swAng 0 sw3"],["g5","max y1 y2"],["ib","?: da2 b g5"],["sw4","+- cd2 0 stAng"],["sw5","+- 32400000 0 stAng"],["sw6","?: sw4 sw4 sw5"],["da3","+- swAng 0 sw6"],["g9","min x1 x2"],["il","?: da3 l g9"],["sw7","+- 3cd4 0 stAng"],["sw8","+- 37800000 0 stAng"],["sw9","?: sw7 sw7 sw8"],["da4","+- swAng 0 sw9"],["g13","min y1 y2"],["it","?: da4 t g13"],["cang1","+- stAng 0 cd4"],["cang2","+- enAng cd4 0"],["cang3","+/ cang1 cang2 2"]],paths:[{commands:[["M","x1","y1"],["A","wd2","hd2","stAng","swAng"],["L","hc","vc"],["Z"]],stroke:!1},{commands:[["M","x1","y1"],["A","wd2","hd2","stAng","swAng"]],fill:"none"}],rect:["il","it","ir","ib"]},bentArrow:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 43750"]],gd:[["a2","pin 0 adj2 50000"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["a3","pin 0 adj3 50000"],["th","*/ ss a1 100000"],["aw2","*/ ss a2 100000"],["th2","*/ th 1 2"],["dh2","+- aw2 0 th2"],["ah","*/ ss a3 100000"],["bw","+- r 0 ah"],["bh","+- b 0 dh2"],["bs","min bw bh"],["maxAdj4","*/ 100000 bs ss"],["a4","pin 0 adj4 maxAdj4"],["bd","*/ ss a4 100000"],["bd3","+- bd 0 th"],["bd2","max bd3 0"],["x3","+- th bd2 0"],["x4","+- r 0 ah"],["y3","+- dh2 th 0"],["y4","+- y3 dh2 0"],["y5","+- dh2 bd 0"],["y6","+- y3 bd2 0"]],paths:[{commands:[["M","l","b"],["L","l","y5"],["A","bd","bd","cd2","cd4"],["L","x4","dh2"],["L","x4","t"],["L","r","aw2"],["L","x4","y4"],["L","x4","y3"],["L","x3","y3"],["A","bd2","bd2","3cd4","-5400000"],["L","th","b"],["Z"]]}],rect:["l","t","r","b"]},bentConnector2:{av:[],gd:[],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"]],fill:"none"}],rect:["l","t","r","b"]},bentConnector3:{av:[["adj1","val 50000"]],gd:[["x1","*/ w adj1 100000"]],paths:[{commands:[["M","l","t"],["L","x1","t"],["L","x1","b"],["L","r","b"]],fill:"none"}],rect:["l","t","r","b"]},bentConnector4:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["x1","*/ w adj1 100000"],["x2","+/ x1 r 2"],["y2","*/ h adj2 100000"],["y1","+/ t y2 2"]],paths:[{commands:[["M","l","t"],["L","x1","t"],["L","x1","y2"],["L","r","y2"],["L","r","b"]],fill:"none"}],rect:["l","t","r","b"]},bentConnector5:{av:[["adj1","val 50000"],["adj2","val 50000"],["adj3","val 50000"]],gd:[["x1","*/ w adj1 100000"],["x3","*/ w adj3 100000"],["x2","+/ x1 x3 2"],["y2","*/ h adj2 100000"],["y1","+/ t y2 2"],["y3","+/ b y2 2"]],paths:[{commands:[["M","l","t"],["L","x1","t"],["L","x1","y2"],["L","x3","y2"],["L","x3","b"],["L","r","b"]],fill:"none"}],rect:["l","t","r","b"]},bentUpArrow:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"]],gd:[["a1","pin 0 adj1 50000"],["a2","pin 0 adj2 50000"],["a3","pin 0 adj3 50000"],["y1","*/ ss a3 100000"],["dx1","*/ ss a2 50000"],["x1","+- r 0 dx1"],["dx3","*/ ss a2 100000"],["x3","+- r 0 dx3"],["dx2","*/ ss a1 200000"],["x2","+- x3 0 dx2"],["x4","+- x3 dx2 0"],["dy2","*/ ss a1 100000"],["y2","+- b 0 dy2"],["x0","*/ x4 1 2"],["y3","+/ y2 b 2"],["y15","+/ y1 b 2"]],paths:[{commands:[["M","l","y2"],["L","x2","y2"],["L","x2","y1"],["L","x1","y1"],["L","x3","t"],["L","r","y1"],["L","x4","y1"],["L","x4","b"],["L","l","b"],["Z"]]}],rect:["l","y2","x4","b"]},bevel:{av:[["adj","val 12500"]],gd:[["a","pin 0 adj 50000"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["y2","+- b 0 x1"]],paths:[{commands:[["M","x1","x1"],["L","x2","x1"],["L","x2","y2"],["L","x1","y2"],["Z"]],stroke:!1},{commands:[["M","l","t"],["L","r","t"],["L","x2","x1"],["L","x1","x1"],["Z"]],fill:"lightenLess",stroke:!1},{commands:[["M","l","b"],["L","x1","y2"],["L","x2","y2"],["L","r","b"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","l","t"],["L","x1","x1"],["L","x1","y2"],["L","l","b"],["Z"]],fill:"lighten",stroke:!1},{commands:[["M","r","t"],["L","r","b"],["L","x2","y2"],["L","x2","x1"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","x1","x1"],["L","x2","x1"],["L","x2","y2"],["L","x1","y2"],["Z"],["M","l","t"],["L","x1","x1"],["M","l","b"],["L","x1","y2"],["M","r","t"],["L","x2","x1"],["M","r","b"],["L","x2","y2"]],fill:"none"}],rect:["x1","x1","x2","y2"]},blockArc:{av:[["adj1","val 10800000"],["adj2","val 0"],["adj3","val 25000"]],gd:[["stAng","pin 0 adj1 21599999"],["istAng","pin 0 adj2 21599999"],["a3","pin 0 adj3 50000"],["sw11","+- istAng 0 stAng"],["sw12","+- sw11 21600000 0"],["swAng","?: sw11 sw11 sw12"],["iswAng","+- 0 0 swAng"],["wt1","sin wd2 stAng"],["ht1","cos hd2 stAng"],["wt3","sin wd2 istAng"],["ht3","cos hd2 istAng"],["dx1","cat2 wd2 ht1 wt1"],["dy1","sat2 hd2 ht1 wt1"],["dx3","cat2 wd2 ht3 wt3"],["dy3","sat2 hd2 ht3 wt3"],["x1","+- hc dx1 0"],["y1","+- vc dy1 0"],["x3","+- hc dx3 0"],["y3","+- vc dy3 0"],["dr","*/ ss a3 100000"],["iwd2","+- wd2 0 dr"],["ihd2","+- hd2 0 dr"],["wt2","sin iwd2 istAng"],["ht2","cos ihd2 istAng"],["wt4","sin iwd2 stAng"],["ht4","cos ihd2 stAng"],["dx2","cat2 iwd2 ht2 wt2"],["dy2","sat2 ihd2 ht2 wt2"],["dx4","cat2 iwd2 ht4 wt4"],["dy4","sat2 ihd2 ht4 wt4"],["x2","+- hc dx2 0"],["y2","+- vc dy2 0"],["x4","+- hc dx4 0"],["y4","+- vc dy4 0"],["sw0","+- 21600000 0 stAng"],["da1","+- swAng 0 sw0"],["g1","max x1 x2"],["g2","max x3 x4"],["g3","max g1 g2"],["ir","?: da1 r g3"],["sw1","+- cd4 0 stAng"],["sw2","+- 27000000 0 stAng"],["sw3","?: sw1 sw1 sw2"],["da2","+- swAng 0 sw3"],["g5","max y1 y2"],["g6","max y3 y4"],["g7","max g5 g6"],["ib","?: da2 b g7"],["sw4","+- cd2 0 stAng"],["sw5","+- 32400000 0 stAng"],["sw6","?: sw4 sw4 sw5"],["da3","+- swAng 0 sw6"],["g9","min x1 x2"],["g10","min x3 x4"],["g11","min g9 g10"],["il","?: da3 l g11"],["sw7","+- 3cd4 0 stAng"],["sw8","+- 37800000 0 stAng"],["sw9","?: sw7 sw7 sw8"],["da4","+- swAng 0 sw9"],["g13","min y1 y2"],["g14","min y3 y4"],["g15","min g13 g14"],["it","?: da4 t g15"],["x5","+/ x1 x4 2"],["y5","+/ y1 y4 2"],["x6","+/ x3 x2 2"],["y6","+/ y3 y2 2"],["cang1","+- stAng 0 cd4"],["cang2","+- istAng cd4 0"],["cang3","+/ cang1 cang2 2"]],paths:[{commands:[["M","x1","y1"],["A","wd2","hd2","stAng","swAng"],["L","x2","y2"],["A","iwd2","ihd2","istAng","iswAng"],["Z"]]}],rect:["il","it","ir","ib"]},borderCallout1:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 112500"],["adj4","val -38333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]]},{commands:[["M","x1","y1"],["L","x2","y2"]],fill:"none"}],rect:["l","t","r","b"]},borderCallout2:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 112500"],["adj6","val -46667"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]]},{commands:[["M","x1","y1"],["L","x2","y2"],["L","x3","y3"]],fill:"none"}],rect:["l","t","r","b"]},borderCallout3:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 100000"],["adj6","val -16667"],["adj7","val 112963"],["adj8","val -8333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"],["y4","*/ h adj7 100000"],["x4","*/ w adj8 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]]},{commands:[["M","x1","y1"],["L","x2","y2"],["L","x3","y3"],["L","x4","y4"]],fill:"none"}],rect:["l","t","r","b"]},bracePair:{av:[["adj","val 8333"]],gd:[["a","pin 0 adj 25000"],["x1","*/ ss a 100000"],["x2","*/ ss a 50000"],["x3","+- r 0 x2"],["x4","+- r 0 x1"],["y2","+- vc 0 x1"],["y3","+- vc x1 0"],["y4","+- b 0 x1"],["it","*/ x1 29289 100000"],["il","+- x1 it 0"],["ir","+- r 0 il"],["ib","+- b 0 it"]],paths:[{commands:[["M","x2","b"],["A","x1","x1","cd4","cd4"],["L","x1","y3"],["A","x1","x1","0","-5400000"],["A","x1","x1","cd4","-5400000"],["L","x1","x1"],["A","x1","x1","cd2","cd4"],["L","x3","t"],["A","x1","x1","3cd4","cd4"],["L","x4","y2"],["A","x1","x1","cd2","-5400000"],["A","x1","x1","3cd4","-5400000"],["L","x4","y4"],["A","x1","x1","0","cd4"],["Z"]],stroke:!1},{commands:[["M","x2","b"],["A","x1","x1","cd4","cd4"],["L","x1","y3"],["A","x1","x1","0","-5400000"],["A","x1","x1","cd4","-5400000"],["L","x1","x1"],["A","x1","x1","cd2","cd4"],["M","x3","t"],["A","x1","x1","3cd4","cd4"],["L","x4","y2"],["A","x1","x1","cd2","-5400000"],["A","x1","x1","3cd4","-5400000"],["L","x4","y4"],["A","x1","x1","0","cd4"]],fill:"none"}],rect:["il","il","ir","ib"]},bracketPair:{av:[["adj","val 16667"]],gd:[["a","pin 0 adj 50000"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["y2","+- b 0 x1"],["il","*/ x1 29289 100000"],["ir","+- r 0 il"],["ib","+- b 0 il"]],paths:[{commands:[["M","l","x1"],["A","x1","x1","cd2","cd4"],["L","x2","t"],["A","x1","x1","3cd4","cd4"],["L","r","y2"],["A","x1","x1","0","cd4"],["L","x1","b"],["A","x1","x1","cd4","cd4"],["Z"]],stroke:!1},{commands:[["M","x1","b"],["A","x1","x1","cd4","cd4"],["L","l","x1"],["A","x1","x1","cd2","cd4"],["M","x2","t"],["A","x1","x1","3cd4","cd4"],["L","r","y2"],["A","x1","x1","0","cd4"]],fill:"none"}],rect:["il","il","ir","ib"]},callout1:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 112500"],["adj4","val -38333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],stroke:!1},{commands:[["M","x1","y1"],["L","x2","y2"]],fill:"none"}],rect:["l","t","r","b"]},callout2:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 112500"],["adj6","val -46667"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],stroke:!1},{commands:[["M","x1","y1"],["L","x2","y2"],["L","x3","y3"]],fill:"none"}],rect:["l","t","r","b"]},callout3:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 100000"],["adj6","val -16667"],["adj7","val 112963"],["adj8","val -8333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"],["y4","*/ h adj7 100000"],["x4","*/ w adj8 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],stroke:!1},{commands:[["M","x1","y1"],["L","x2","y2"],["L","x3","y3"],["L","x4","y4"]],fill:"none"}],rect:["l","t","r","b"]},can:{av:[["adj","val 25000"]],gd:[["maxAdj","*/ 50000 h ss"],["a","pin 0 adj maxAdj"],["y1","*/ ss a 200000"],["y2","+- y1 y1 0"],["y3","+- b 0 y1"]],paths:[{commands:[["M","l","y1"],["A","wd2","y1","cd2","-10800000"],["L","r","y3"],["A","wd2","y1","0","cd2"],["Z"]],stroke:!1},{commands:[["M","l","y1"],["A","wd2","y1","cd2","cd2"],["A","wd2","y1","0","cd2"],["Z"]],fill:"lighten",stroke:!1},{commands:[["M","r","y1"],["A","wd2","y1","0","cd2"],["A","wd2","y1","cd2","cd2"],["L","r","y3"],["A","wd2","y1","0","cd2"],["L","l","y1"]],fill:"none"}],rect:["l","y2","r","y3"]},chartPlus:{av:[],gd:[],paths:[{commands:[["M","5","0"],["L","5","10"],["M","0","5"],["L","10","5"]],w:10,h:10,fill:"none"},{commands:[["M","0","0"],["L","0","10"],["L","10","10"],["L","10","0"],["Z"]],w:10,h:10,stroke:!1}]},chartStar:{av:[],gd:[],paths:[{commands:[["M","0","0"],["L","10","10"],["M","0","10"],["L","10","0"],["M","5","0"],["L","5","10"]],w:10,h:10,fill:"none"},{commands:[["M","0","0"],["L","0","10"],["L","10","10"],["L","10","0"],["Z"]],w:10,h:10,stroke:!1}]},chartX:{av:[],gd:[],paths:[{commands:[["M","0","0"],["L","10","10"],["M","0","10"],["L","10","0"]],w:10,h:10,fill:"none"},{commands:[["M","0","0"],["L","0","10"],["L","10","10"],["L","10","0"],["Z"]],w:10,h:10,stroke:!1}]},chevron:{av:[["adj","val 50000"]],gd:[["maxAdj","*/ 100000 w ss"],["a","pin 0 adj maxAdj"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["x3","*/ x2 1 2"],["dx","+- x2 0 x1"],["il","?: dx x1 l"],["ir","?: dx x2 r"]],paths:[{commands:[["M","l","t"],["L","x2","t"],["L","r","vc"],["L","x2","b"],["L","l","b"],["L","x1","vc"],["Z"]]}],rect:["il","t","ir","b"]},chord:{av:[["adj1","val 2700000"],["adj2","val 16200000"]],gd:[["stAng","pin 0 adj1 21599999"],["enAng","pin 0 adj2 21599999"],["sw1","+- enAng 0 stAng"],["sw2","+- sw1 21600000 0"],["swAng","?: sw1 sw1 sw2"],["wt1","sin wd2 stAng"],["ht1","cos hd2 stAng"],["dx1","cat2 wd2 ht1 wt1"],["dy1","sat2 hd2 ht1 wt1"],["wt2","sin wd2 enAng"],["ht2","cos hd2 enAng"],["dx2","cat2 wd2 ht2 wt2"],["dy2","sat2 hd2 ht2 wt2"],["x1","+- hc dx1 0"],["y1","+- vc dy1 0"],["x2","+- hc dx2 0"],["y2","+- vc dy2 0"],["x3","+/ x1 x2 2"],["y3","+/ y1 y2 2"],["midAng0","*/ swAng 1 2"],["midAng","+- stAng midAng0 cd2"],["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","x1","y1"],["A","wd2","hd2","stAng","swAng"],["Z"]]}],rect:["il","it","ir","ib"]},circularArrow:{av:[["adj1","val 12500"],["adj2","val 1142319"],["adj3","val 20457681"],["adj4","val 10800000"],["adj5","val 12500"]],gd:[["a5","pin 0 adj5 25000"],["maxAdj1","*/ a5 2 1"],["a1","pin 0 adj1 maxAdj1"],["enAng","pin 1 adj3 21599999"],["stAng","pin 0 adj4 21599999"],["th","*/ ss a1 100000"],["thh","*/ ss a5 100000"],["th2","*/ th 1 2"],["rw1","+- wd2 th2 thh"],["rh1","+- hd2 th2 thh"],["rw2","+- rw1 0 th"],["rh2","+- rh1 0 th"],["rw3","+- rw2 th2 0"],["rh3","+- rh2 th2 0"],["wtH","sin rw3 enAng"],["htH","cos rh3 enAng"],["dxH","cat2 rw3 htH wtH"],["dyH","sat2 rh3 htH wtH"],["xH","+- hc dxH 0"],["yH","+- vc dyH 0"],["rI","min rw2 rh2"],["u1","*/ dxH dxH 1"],["u2","*/ dyH dyH 1"],["u3","*/ rI rI 1"],["u4","+- u1 0 u3"],["u5","+- u2 0 u3"],["u6","*/ u4 u5 u1"],["u7","*/ u6 1 u2"],["u8","+- 1 0 u7"],["u9","sqrt u8"],["u10","*/ u4 1 dxH"],["u11","*/ u10 1 dyH"],["u12","+/ 1 u9 u11"],["u13","at2 1 u12"],["u14","+- u13 21600000 0"],["u15","?: u13 u13 u14"],["u16","+- u15 0 enAng"],["u17","+- u16 21600000 0"],["u18","?: u16 u16 u17"],["u19","+- u18 0 cd2"],["u20","+- u18 0 21600000"],["u21","?: u19 u20 u18"],["maxAng","abs u21"],["aAng","pin 0 adj2 maxAng"],["ptAng","+- enAng aAng 0"],["wtA","sin rw3 ptAng"],["htA","cos rh3 ptAng"],["dxA","cat2 rw3 htA wtA"],["dyA","sat2 rh3 htA wtA"],["xA","+- hc dxA 0"],["yA","+- vc dyA 0"],["wtE","sin rw1 stAng"],["htE","cos rh1 stAng"],["dxE","cat2 rw1 htE wtE"],["dyE","sat2 rh1 htE wtE"],["xE","+- hc dxE 0"],["yE","+- vc dyE 0"],["dxG","cos thh ptAng"],["dyG","sin thh ptAng"],["xG","+- xH dxG 0"],["yG","+- yH dyG 0"],["dxB","cos thh ptAng"],["dyB","sin thh ptAng"],["xB","+- xH 0 dxB 0"],["yB","+- yH 0 dyB 0"],["sx1","+- xB 0 hc"],["sy1","+- yB 0 vc"],["sx2","+- xG 0 hc"],["sy2","+- yG 0 vc"],["rO","min rw1 rh1"],["x1O","*/ sx1 rO rw1"],["y1O","*/ sy1 rO rh1"],["x2O","*/ sx2 rO rw1"],["y2O","*/ sy2 rO rh1"],["dxO","+- x2O 0 x1O"],["dyO","+- y2O 0 y1O"],["dO","mod dxO dyO 0"],["q1","*/ x1O y2O 1"],["q2","*/ x2O y1O 1"],["DO","+- q1 0 q2"],["q3","*/ rO rO 1"],["q4","*/ dO dO 1"],["q5","*/ q3 q4 1"],["q6","*/ DO DO 1"],["q7","+- q5 0 q6"],["q8","max q7 0"],["sdelO","sqrt q8"],["ndyO","*/ dyO -1 1"],["sdyO","?: ndyO -1 1"],["q9","*/ sdyO dxO 1"],["q10","*/ q9 sdelO 1"],["q11","*/ DO dyO 1"],["dxF1","+/ q11 q10 q4"],["q12","+- q11 0 q10"],["dxF2","*/ q12 1 q4"],["adyO","abs dyO"],["q13","*/ adyO sdelO 1"],["q14","*/ DO dxO -1"],["dyF1","+/ q14 q13 q4"],["q15","+- q14 0 q13"],["dyF2","*/ q15 1 q4"],["q16","+- x2O 0 dxF1"],["q17","+- x2O 0 dxF2"],["q18","+- y2O 0 dyF1"],["q19","+- y2O 0 dyF2"],["q20","mod q16 q18 0"],["q21","mod q17 q19 0"],["q22","+- q21 0 q20"],["dxF","?: q22 dxF1 dxF2"],["dyF","?: q22 dyF1 dyF2"],["sdxF","*/ dxF rw1 rO"],["sdyF","*/ dyF rh1 rO"],["xF","+- hc sdxF 0"],["yF","+- vc sdyF 0"],["x1I","*/ sx1 rI rw2"],["y1I","*/ sy1 rI rh2"],["x2I","*/ sx2 rI rw2"],["y2I","*/ sy2 rI rh2"],["dxI","+- x2I 0 x1I"],["dyI","+- y2I 0 y1I"],["dI","mod dxI dyI 0"],["v1","*/ x1I y2I 1"],["v2","*/ x2I y1I 1"],["DI","+- v1 0 v2"],["v3","*/ rI rI 1"],["v4","*/ dI dI 1"],["v5","*/ v3 v4 1"],["v6","*/ DI DI 1"],["v7","+- v5 0 v6"],["v8","max v7 0"],["sdelI","sqrt v8"],["v9","*/ sdyO dxI 1"],["v10","*/ v9 sdelI 1"],["v11","*/ DI dyI 1"],["dxC1","+/ v11 v10 v4"],["v12","+- v11 0 v10"],["dxC2","*/ v12 1 v4"],["adyI","abs dyI"],["v13","*/ adyI sdelI 1"],["v14","*/ DI dxI -1"],["dyC1","+/ v14 v13 v4"],["v15","+- v14 0 v13"],["dyC2","*/ v15 1 v4"],["v16","+- x1I 0 dxC1"],["v17","+- x1I 0 dxC2"],["v18","+- y1I 0 dyC1"],["v19","+- y1I 0 dyC2"],["v20","mod v16 v18 0"],["v21","mod v17 v19 0"],["v22","+- v21 0 v20"],["dxC","?: v22 dxC1 dxC2"],["dyC","?: v22 dyC1 dyC2"],["sdxC","*/ dxC rw2 rI"],["sdyC","*/ dyC rh2 rI"],["xC","+- hc sdxC 0"],["yC","+- vc sdyC 0"],["ist0","at2 sdxC sdyC"],["ist1","+- ist0 21600000 0"],["istAng","?: ist0 ist0 ist1"],["isw1","+- stAng 0 istAng"],["isw2","+- isw1 0 21600000"],["iswAng","?: isw1 isw2 isw1"],["p1","+- xF 0 xC"],["p2","+- yF 0 yC"],["p3","mod p1 p2 0"],["p4","*/ p3 1 2"],["p5","+- p4 0 thh"],["xGp","?: p5 xF xG"],["yGp","?: p5 yF yG"],["xBp","?: p5 xC xB"],["yBp","?: p5 yC yB"],["en0","at2 sdxF sdyF"],["en1","+- en0 21600000 0"],["en2","?: en0 en0 en1"],["sw0","+- en2 0 stAng"],["sw1","+- sw0 21600000 0"],["swAng","?: sw0 sw0 sw1"],["wtI","sin rw3 stAng"],["htI","cos rh3 stAng"],["dxI","cat2 rw3 htI wtI"],["dyI","sat2 rh3 htI wtI"],["xI","+- hc dxI 0"],["yI","+- vc dyI 0"],["aI","+- stAng 0 cd4"],["aA","+- ptAng cd4 0"],["aB","+- ptAng cd2 0"],["idx","cos rw1 2700000"],["idy","sin rh1 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","xE","yE"],["A","rw1","rh1","stAng","swAng"],["L","xGp","yGp"],["L","xA","yA"],["L","xBp","yBp"],["L","xC","yC"],["A","rw2","rh2","istAng","iswAng"],["Z"]]}],rect:["il","it","ir","ib"]},cloud:{av:[],gd:[["il","*/ w 2977 21600"],["it","*/ h 3262 21600"],["ir","*/ w 17087 21600"],["ib","*/ h 17337 21600"],["g27","*/ w 67 21600"],["g28","*/ h 21577 21600"],["g29","*/ w 21582 21600"],["g30","*/ h 1235 21600"]],paths:[{commands:[["M","3900","14370"],["A","6753","9190","-11429249","7426832"],["A","5333","7267","-8646143","5396714"],["A","4365","5945","-8748475","5983381"],["A","4857","6595","-7859164","7034504"],["A","5333","7273","-4722533","6541615"],["A","6775","9220","-2776035","7816140"],["A","5785","7867","37501","6842000"],["A","6752","9215","1347096","6910353"],["A","7720","10543","3974558","4542661"],["A","4360","5918","-16496525","8804134"],["A","4345","5945","-14809710","9151131"],["Z"]],w:43200,h:43200},{commands:[["M","4693","26177"],["A","4345","5945","5204520","1585770"],["M","6928","34899"],["A","4360","5918","4416628","686848"],["M","16478","39090"],["A","6752","9215","8257449","844866"],["M","28827","34751"],["A","6752","9215","387196","959901"],["M","34129","22954"],["A","5785","7867","-4217541","4255042"],["M","41798","15354"],["A","5333","7273","1819082","1665090"],["M","38324","5426"],["A","4857","6595","-824660","891534"],["M","29078","3952"],["A","4857","6595","-8950887","1091722"],["M","22141","4720"],["A","4365","5945","-9809656","1061181"],["M","14000","5192"],["A","6753","9190","-4002417","739161"],["M","4127","15789"],["A","6753","9190","9459261","711490"]],w:43200,h:43200,fill:"none"}],rect:["il","it","ir","ib"]},cloudCallout:{av:[["adj1","val -20833"],["adj2","val 62500"]],gd:[["dxPos","*/ w adj1 100000"],["dyPos","*/ h adj2 100000"],["xPos","+- hc dxPos 0"],["yPos","+- vc dyPos 0"],["ht","cat2 hd2 dxPos dyPos"],["wt","sat2 wd2 dxPos dyPos"],["g2","cat2 wd2 ht wt"],["g3","sat2 hd2 ht wt"],["g4","+- hc g2 0"],["g5","+- vc g3 0"],["g6","+- g4 0 xPos"],["g7","+- g5 0 yPos"],["g8","mod g6 g7 0"],["g9","*/ ss 6600 21600"],["g10","+- g8 0 g9"],["g11","*/ g10 1 3"],["g12","*/ ss 1800 21600"],["g13","+- g11 g12 0"],["g14","*/ g13 g6 g8"],["g15","*/ g13 g7 g8"],["g16","+- g14 xPos 0"],["g17","+- g15 yPos 0"],["g18","*/ ss 4800 21600"],["g19","*/ g11 2 1"],["g20","+- g18 g19 0"],["g21","*/ g20 g6 g8"],["g22","*/ g20 g7 g8"],["g23","+- g21 xPos 0"],["g24","+- g22 yPos 0"],["g25","*/ ss 1200 21600"],["g26","*/ ss 600 21600"],["x23","+- xPos g26 0"],["x24","+- g16 g25 0"],["x25","+- g23 g12 0"],["il","*/ w 2977 21600"],["it","*/ h 3262 21600"],["ir","*/ w 17087 21600"],["ib","*/ h 17337 21600"],["g27","*/ w 67 21600"],["g28","*/ h 21577 21600"],["g29","*/ w 21582 21600"],["g30","*/ h 1235 21600"],["pang","at2 dxPos dyPos"]],paths:[{commands:[["M","3900","14370"],["A","6753","9190","-11429249","7426832"],["A","5333","7267","-8646143","5396714"],["A","4365","5945","-8748475","5983381"],["A","4857","6595","-7859164","7034504"],["A","5333","7273","-4722533","6541615"],["A","6775","9220","-2776035","7816140"],["A","5785","7867","37501","6842000"],["A","6752","9215","1347096","6910353"],["A","7720","10543","3974558","4542661"],["A","4360","5918","-16496525","8804134"],["A","4345","5945","-14809710","9151131"],["Z"]],w:43200,h:43200},{commands:[["M","x23","yPos"],["A","g26","g26","0","21600000"],["Z"]]},{commands:[["M","x24","g17"],["A","g25","g25","0","21600000"],["Z"]]},{commands:[["M","x25","g24"],["A","g12","g12","0","21600000"],["Z"]]},{commands:[["M","4693","26177"],["A","4345","5945","5204520","1585770"],["M","6928","34899"],["A","4360","5918","4416628","686848"],["M","16478","39090"],["A","6752","9215","8257449","844866"],["M","28827","34751"],["A","6752","9215","387196","959901"],["M","34129","22954"],["A","5785","7867","-4217541","4255042"],["M","41798","15354"],["A","5333","7273","1819082","1665090"],["M","38324","5426"],["A","4857","6595","-824660","891534"],["M","29078","3952"],["A","4857","6595","-8950887","1091722"],["M","22141","4720"],["A","4365","5945","-9809656","1061181"],["M","14000","5192"],["A","6753","9190","-4002417","739161"],["M","4127","15789"],["A","6753","9190","9459261","711490"]],w:43200,h:43200,fill:"none"}],rect:["il","it","ir","ib"]},corner:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj1","*/ 100000 h ss"],["maxAdj2","*/ 100000 w ss"],["a1","pin 0 adj1 maxAdj1"],["a2","pin 0 adj2 maxAdj2"],["x1","*/ ss a2 100000"],["dy1","*/ ss a1 100000"],["y1","+- b 0 dy1"],["cx1","*/ x1 1 2"],["cy1","+/ y1 b 2"],["d","+- w 0 h"],["it","?: d y1 t"],["ir","?: d r x1"]],paths:[{commands:[["M","l","t"],["L","x1","t"],["L","x1","y1"],["L","r","y1"],["L","r","b"],["L","l","b"],["Z"]]}],rect:["l","it","ir","b"]},cornerTabs:{av:[],gd:[["md","mod w h 0"],["dx","*/ 1 md 20"],["y1","+- 0 b dx"],["x1","+- 0 r dx"]],paths:[{commands:[["M","l","t"],["L","dx","t"],["L","l","dx"],["Z"]]},{commands:[["M","l","y1"],["L","dx","b"],["L","l","b"],["Z"]]},{commands:[["M","x1","t"],["L","r","t"],["L","r","dx"],["Z"]]},{commands:[["M","r","y1"],["L","r","b"],["L","x1","b"],["Z"]]}],rect:["dx","dx","x1","y1"]},cube:{av:[["adj","val 25000"]],gd:[["a","pin 0 adj 100000"],["y1","*/ ss a 100000"],["y4","+- b 0 y1"],["y2","*/ y4 1 2"],["y3","+/ y1 b 2"],["x4","+- r 0 y1"],["x2","*/ x4 1 2"],["x3","+/ y1 r 2"]],paths:[{commands:[["M","l","y1"],["L","x4","y1"],["L","x4","b"],["L","l","b"],["Z"]],stroke:!1},{commands:[["M","x4","y1"],["L","r","t"],["L","r","y4"],["L","x4","b"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","l","y1"],["L","y1","t"],["L","r","t"],["L","x4","y1"],["Z"]],fill:"lightenLess",stroke:!1},{commands:[["M","l","y1"],["L","y1","t"],["L","r","t"],["L","r","y4"],["L","x4","b"],["L","l","b"],["Z"],["M","l","y1"],["L","x4","y1"],["L","r","t"],["M","x4","y1"],["L","x4","b"]],fill:"none"}],rect:["l","y1","x4","b"]},curvedConnector2:{av:[],gd:[],paths:[{commands:[["M","l","t"],["C","wd2","t","r","hd2","r","b"]],fill:"none"}],rect:["l","t","r","b"]},curvedConnector3:{av:[["adj1","val 50000"]],gd:[["x2","*/ w adj1 100000"],["x1","+/ l x2 2"],["x3","+/ r x2 2"],["y3","*/ h 3 4"]],paths:[{commands:[["M","l","t"],["C","x1","t","x2","hd4","x2","vc"],["C","x2","y3","x3","b","r","b"]],fill:"none"}],rect:["l","t","r","b"]},curvedConnector4:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["x2","*/ w adj1 100000"],["x1","+/ l x2 2"],["x3","+/ r x2 2"],["x4","+/ x2 x3 2"],["x5","+/ x3 r 2"],["y4","*/ h adj2 100000"],["y1","+/ t y4 2"],["y2","+/ t y1 2"],["y3","+/ y1 y4 2"],["y5","+/ b y4 2"]],paths:[{commands:[["M","l","t"],["C","x1","t","x2","y2","x2","y1"],["C","x2","y3","x4","y4","x3","y4"],["C","x5","y4","r","y5","r","b"]],fill:"none"}],rect:["l","t","r","b"]},curvedConnector5:{av:[["adj1","val 50000"],["adj2","val 50000"],["adj3","val 50000"]],gd:[["x3","*/ w adj1 100000"],["x6","*/ w adj3 100000"],["x1","+/ x3 x6 2"],["x2","+/ l x3 2"],["x4","+/ x3 x1 2"],["x5","+/ x6 x1 2"],["x7","+/ x6 r 2"],["y4","*/ h adj2 100000"],["y1","+/ t y4 2"],["y2","+/ t y1 2"],["y3","+/ y1 y4 2"],["y5","+/ b y4 2"],["y6","+/ y5 y4 2"],["y7","+/ y5 b 2"]],paths:[{commands:[["M","l","t"],["C","x2","t","x3","y2","x3","y1"],["C","x3","y3","x4","y4","x1","y4"],["C","x5","y4","x6","y6","x6","y5"],["C","x6","y7","x7","b","r","b"]],fill:"none"}],rect:["l","t","r","b"]},curvedDownArrow:{av:[["adj1","val 25000"],["adj2","val 50000"],["adj3","val 25000"]],gd:[["maxAdj2","*/ 50000 w ss"],["a2","pin 0 adj2 maxAdj2"],["a1","pin 0 adj1 100000"],["th","*/ ss a1 100000"],["aw","*/ ss a2 100000"],["q1","+/ th aw 4"],["wR","+- wd2 0 q1"],["q7","*/ wR 2 1"],["q8","*/ q7 q7 1"],["q9","*/ th th 1"],["q10","+- q8 0 q9"],["q11","sqrt q10"],["idy","*/ q11 h q7"],["maxAdj3","*/ 100000 idy ss"],["a3","pin 0 adj3 maxAdj3"],["ah","*/ ss adj3 100000"],["x3","+- wR th 0"],["q2","*/ h h 1"],["q3","*/ ah ah 1"],["q4","+- q2 0 q3"],["q5","sqrt q4"],["dx","*/ q5 wR h"],["x5","+- wR dx 0"],["x7","+- x3 dx 0"],["q6","+- aw 0 th"],["dh","*/ q6 1 2"],["x4","+- x5 0 dh"],["x8","+- x7 dh 0"],["aw2","*/ aw 1 2"],["x6","+- r 0 aw2"],["y1","+- b 0 ah"],["swAng","at2 ah dx"],["mswAng","+- 0 0 swAng"],["iy","+- b 0 idy"],["ix","+/ wR x3 2"],["q12","*/ th 1 2"],["dang2","at2 idy q12"],["stAng","+- 3cd4 swAng 0"],["stAng2","+- 3cd4 0 dang2"],["swAng2","+- dang2 0 cd4"],["swAng3","+- cd4 dang2 0"]],paths:[{commands:[["M","x6","b"],["L","x4","y1"],["L","x5","y1"],["A","wR","h","stAng","mswAng"],["L","x3","t"],["A","wR","h","3cd4","swAng"],["L","x8","y1"],["Z"]],stroke:!1},{commands:[["M","ix","iy"],["A","wR","h","stAng2","swAng2"],["L","l","b"],["A","wR","h","cd2","swAng3"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","ix","iy"],["A","wR","h","stAng2","swAng2"],["L","l","b"],["A","wR","h","cd2","cd4"],["L","x3","t"],["A","wR","h","3cd4","swAng"],["L","x8","y1"],["L","x6","b"],["L","x4","y1"],["L","x5","y1"],["A","wR","h","stAng","mswAng"]],fill:"none"}],rect:["l","t","r","b"]},curvedLeftArrow:{av:[["adj1","val 25000"],["adj2","val 50000"],["adj3","val 25000"]],gd:[["maxAdj2","*/ 50000 h ss"],["a2","pin 0 adj2 maxAdj2"],["a1","pin 0 adj1 a2"],["th","*/ ss a1 100000"],["aw","*/ ss a2 100000"],["q1","+/ th aw 4"],["hR","+- hd2 0 q1"],["q7","*/ hR 2 1"],["q8","*/ q7 q7 1"],["q9","*/ th th 1"],["q10","+- q8 0 q9"],["q11","sqrt q10"],["idx","*/ q11 w q7"],["maxAdj3","*/ 100000 idx ss"],["a3","pin 0 adj3 maxAdj3"],["ah","*/ ss a3 100000"],["y3","+- hR th 0"],["q2","*/ w w 1"],["q3","*/ ah ah 1"],["q4","+- q2 0 q3"],["q5","sqrt q4"],["dy","*/ q5 hR w"],["y5","+- hR dy 0"],["y7","+- y3 dy 0"],["q6","+- aw 0 th"],["dh","*/ q6 1 2"],["y4","+- y5 0 dh"],["y8","+- y7 dh 0"],["aw2","*/ aw 1 2"],["y6","+- b 0 aw2"],["x1","+- l ah 0"],["swAng","at2 ah dy"],["mswAng","+- 0 0 swAng"],["ix","+- l idx 0"],["iy","+/ hR y3 2"],["q12","*/ th 1 2"],["dang2","at2 idx q12"],["swAng2","+- dang2 0 swAng"],["swAng3","+- swAng dang2 0"],["stAng3","+- 0 0 dang2"]],paths:[{commands:[["M","l","y6"],["L","x1","y4"],["L","x1","y5"],["A","w","hR","swAng","swAng2"],["A","w","hR","stAng3","swAng3"],["L","x1","y8"],["Z"]],stroke:!1},{commands:[["M","r","y3"],["A","w","hR","0","-5400000"],["L","l","t"],["A","w","hR","3cd4","cd4"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","r","y3"],["A","w","hR","0","-5400000"],["L","l","t"],["A","w","hR","3cd4","cd4"],["L","r","y3"],["A","w","hR","0","swAng"],["L","x1","y8"],["L","l","y6"],["L","x1","y4"],["L","x1","y5"],["A","w","hR","swAng","swAng2"]],fill:"none"}],rect:["l","t","r","b"]},curvedRightArrow:{av:[["adj1","val 25000"],["adj2","val 50000"],["adj3","val 25000"]],gd:[["maxAdj2","*/ 50000 h ss"],["a2","pin 0 adj2 maxAdj2"],["a1","pin 0 adj1 a2"],["th","*/ ss a1 100000"],["aw","*/ ss a2 100000"],["q1","+/ th aw 4"],["hR","+- hd2 0 q1"],["q7","*/ hR 2 1"],["q8","*/ q7 q7 1"],["q9","*/ th th 1"],["q10","+- q8 0 q9"],["q11","sqrt q10"],["idx","*/ q11 w q7"],["maxAdj3","*/ 100000 idx ss"],["a3","pin 0 adj3 maxAdj3"],["ah","*/ ss a3 100000"],["y3","+- hR th 0"],["q2","*/ w w 1"],["q3","*/ ah ah 1"],["q4","+- q2 0 q3"],["q5","sqrt q4"],["dy","*/ q5 hR w"],["y5","+- hR dy 0"],["y7","+- y3 dy 0"],["q6","+- aw 0 th"],["dh","*/ q6 1 2"],["y4","+- y5 0 dh"],["y8","+- y7 dh 0"],["aw2","*/ aw 1 2"],["y6","+- b 0 aw2"],["x1","+- r 0 ah"],["swAng","at2 ah dy"],["stAng","+- cd2 0 swAng"],["mswAng","+- 0 0 swAng"],["ix","+- r 0 idx"],["iy","+/ hR y3 2"],["q12","*/ th 1 2"],["dang2","at2 idx q12"],["swAng2","+- dang2 0 cd4"],["swAng3","+- cd4 dang2 0"],["stAng3","+- cd2 0 dang2"]],paths:[{commands:[["M","l","hR"],["A","w","hR","cd2","mswAng"],["L","x1","y4"],["L","r","y6"],["L","x1","y8"],["L","x1","y7"],["A","w","hR","stAng","swAng"],["Z"]],stroke:!1},{commands:[["M","r","th"],["A","w","hR","3cd4","swAng2"],["A","w","hR","stAng3","swAng3"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","l","hR"],["A","w","hR","cd2","mswAng"],["L","x1","y4"],["L","r","y6"],["L","x1","y8"],["L","x1","y7"],["A","w","hR","stAng","swAng"],["L","l","hR"],["A","w","hR","cd2","cd4"],["L","r","th"],["A","w","hR","3cd4","swAng2"]],fill:"none"}],rect:["l","t","r","b"]},curvedUpArrow:{av:[["adj1","val 25000"],["adj2","val 50000"],["adj3","val 25000"]],gd:[["maxAdj2","*/ 50000 w ss"],["a2","pin 0 adj2 maxAdj2"],["a1","pin 0 adj1 100000"],["th","*/ ss a1 100000"],["aw","*/ ss a2 100000"],["q1","+/ th aw 4"],["wR","+- wd2 0 q1"],["q7","*/ wR 2 1"],["q8","*/ q7 q7 1"],["q9","*/ th th 1"],["q10","+- q8 0 q9"],["q11","sqrt q10"],["idy","*/ q11 h q7"],["maxAdj3","*/ 100000 idy ss"],["a3","pin 0 adj3 maxAdj3"],["ah","*/ ss adj3 100000"],["x3","+- wR th 0"],["q2","*/ h h 1"],["q3","*/ ah ah 1"],["q4","+- q2 0 q3"],["q5","sqrt q4"],["dx","*/ q5 wR h"],["x5","+- wR dx 0"],["x7","+- x3 dx 0"],["q6","+- aw 0 th"],["dh","*/ q6 1 2"],["x4","+- x5 0 dh"],["x8","+- x7 dh 0"],["aw2","*/ aw 1 2"],["x6","+- r 0 aw2"],["y1","+- t ah 0"],["swAng","at2 ah dx"],["mswAng","+- 0 0 swAng"],["iy","+- t idy 0"],["ix","+/ wR x3 2"],["q12","*/ th 1 2"],["dang2","at2 idy q12"],["swAng2","+- dang2 0 swAng"],["mswAng2","+- 0 0 swAng2"],["stAng3","+- cd4 0 swAng"],["swAng3","+- swAng dang2 0"],["stAng2","+- cd4 0 dang2"]],paths:[{commands:[["M","x6","t"],["L","x8","y1"],["L","x7","y1"],["A","wR","h","stAng3","swAng3"],["A","wR","h","stAng2","swAng2"],["L","x4","y1"],["Z"]],stroke:!1},{commands:[["M","wR","b"],["A","wR","h","cd4","cd4"],["L","th","t"],["A","wR","h","cd2","-5400000"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","ix","iy"],["A","wR","h","stAng2","swAng2"],["L","x4","y1"],["L","x6","t"],["L","x8","y1"],["L","x7","y1"],["A","wR","h","stAng3","swAng"],["L","wR","b"],["A","wR","h","cd4","cd4"],["L","th","t"],["A","wR","h","cd2","-5400000"]],fill:"none"}],rect:["l","t","r","b"]},decagon:{av:[["vf","val 105146"]],gd:[["shd2","*/ hd2 vf 100000"],["dx1","cos wd2 2160000"],["dx2","cos wd2 4320000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["dy1","sin shd2 4320000"],["dy2","sin shd2 2160000"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"],["y4","+- vc dy1 0"]],paths:[{commands:[["M","l","vc"],["L","x1","y2"],["L","x2","y1"],["L","x3","y1"],["L","x4","y2"],["L","r","vc"],["L","x4","y3"],["L","x3","y4"],["L","x2","y4"],["L","x1","y3"],["Z"]]}],rect:["x1","y2","x4","y3"]},diagStripe:{av:[["adj","val 50000"]],gd:[["a","pin 0 adj 100000"],["x2","*/ w a 100000"],["x1","*/ x2 1 2"],["x3","+/ x2 r 2"],["y2","*/ h a 100000"],["y1","*/ y2 1 2"],["y3","+/ y2 b 2"]],paths:[{commands:[["M","l","y2"],["L","x2","t"],["L","r","t"],["L","l","b"],["Z"]]}],rect:["l","t","x3","y3"]},diamond:{av:[],gd:[["ir","*/ w 3 4"],["ib","*/ h 3 4"]],paths:[{commands:[["M","l","vc"],["L","hc","t"],["L","r","vc"],["L","hc","b"],["Z"]]}],rect:["wd4","hd4","ir","ib"]},dodecagon:{av:[],gd:[["x1","*/ w 2894 21600"],["x2","*/ w 7906 21600"],["x3","*/ w 13694 21600"],["x4","*/ w 18706 21600"],["y1","*/ h 2894 21600"],["y2","*/ h 7906 21600"],["y3","*/ h 13694 21600"],["y4","*/ h 18706 21600"]],paths:[{commands:[["M","l","y2"],["L","x1","y1"],["L","x2","t"],["L","x3","t"],["L","x4","y1"],["L","r","y2"],["L","r","y3"],["L","x4","y4"],["L","x3","b"],["L","x2","b"],["L","x1","y4"],["L","l","y3"],["Z"]]}],rect:["x1","y1","x4","y4"]},donut:{av:[["adj","val 25000"]],gd:[["a","pin 0 adj 50000"],["dr","*/ ss a 100000"],["iwd2","+- wd2 0 dr"],["ihd2","+- hd2 0 dr"],["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","l","vc"],["A","wd2","hd2","cd2","cd4"],["A","wd2","hd2","3cd4","cd4"],["A","wd2","hd2","0","cd4"],["A","wd2","hd2","cd4","cd4"],["Z"],["M","dr","vc"],["A","iwd2","ihd2","cd2","-5400000"],["A","iwd2","ihd2","cd4","-5400000"],["A","iwd2","ihd2","0","-5400000"],["A","iwd2","ihd2","3cd4","-5400000"],["Z"]]}],rect:["il","it","ir","ib"]},doubleWave:{av:[["adj1","val 6250"],["adj2","val 0"]],gd:[["a1","pin 0 adj1 12500"],["a2","pin -10000 adj2 10000"],["y1","*/ h a1 100000"],["dy2","*/ y1 10 3"],["y2","+- y1 0 dy2"],["y3","+- y1 dy2 0"],["y4","+- b 0 y1"],["y5","+- y4 0 dy2"],["y6","+- y4 dy2 0"],["dx1","*/ w a2 100000"],["of2","*/ w a2 50000"],["x1","abs dx1"],["dx2","?: of2 0 of2"],["x2","+- l 0 dx2"],["dx8","?: of2 of2 0"],["x8","+- r 0 dx8"],["dx3","+/ dx2 x8 6"],["x3","+- x2 dx3 0"],["dx4","+/ dx2 x8 3"],["x4","+- x2 dx4 0"],["x5","+/ x2 x8 2"],["x6","+- x5 dx3 0"],["x7","+/ x6 x8 2"],["x9","+- l dx8 0"],["x15","+- r dx2 0"],["x10","+- x9 dx3 0"],["x11","+- x9 dx4 0"],["x12","+/ x9 x15 2"],["x13","+- x12 dx3 0"],["x14","+/ x13 x15 2"],["x16","+- r 0 x1"],["xAdj","+- hc dx1 0"],["il","max x2 x9"],["ir","min x8 x15"],["it","*/ h a1 50000"],["ib","+- b 0 it"]],paths:[{commands:[["M","x2","y1"],["C","x3","y2","x4","y3","x5","y1"],["C","x6","y2","x7","y3","x8","y1"],["L","x15","y4"],["C","x14","y6","x13","y5","x12","y4"],["C","x11","y6","x10","y5","x9","y4"],["Z"]]}],rect:["il","it","ir","ib"]},downArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 100000 h ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["dy1","*/ ss a2 100000"],["y1","+- b 0 dy1"],["dx1","*/ w a1 200000"],["x1","+- hc 0 dx1"],["x2","+- hc dx1 0"],["dy2","*/ x1 dy1 wd2"],["y2","+- y1 dy2 0"]],paths:[{commands:[["M","l","y1"],["L","x1","y1"],["L","x1","t"],["L","x2","t"],["L","x2","y1"],["L","r","y1"],["L","hc","b"],["Z"]]}],rect:["x1","t","x2","y2"]},downArrowCallout:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 64977"]],gd:[["maxAdj2","*/ 50000 w ss"],["a2","pin 0 adj2 maxAdj2"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","*/ 100000 h ss"],["a3","pin 0 adj3 maxAdj3"],["q2","*/ a3 ss h"],["maxAdj4","+- 100000 0 q2"],["a4","pin 0 adj4 maxAdj4"],["dx1","*/ ss a2 100000"],["dx2","*/ ss a1 200000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["dy3","*/ ss a3 100000"],["y3","+- b 0 dy3"],["y2","*/ h a4 100000"],["y1","*/ y2 1 2"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","y2"],["L","x3","y2"],["L","x3","y3"],["L","x4","y3"],["L","hc","b"],["L","x1","y3"],["L","x2","y3"],["L","x2","y2"],["L","l","y2"],["Z"]]}],rect:["l","t","r","y2"]},ellipse:{av:[],gd:[["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","l","vc"],["A","wd2","hd2","cd2","cd4"],["A","wd2","hd2","3cd4","cd4"],["A","wd2","hd2","0","cd4"],["A","wd2","hd2","cd4","cd4"],["Z"]]}],rect:["il","it","ir","ib"]},ellipseRibbon:{av:[["adj1","val 25000"],["adj2","val 50000"],["adj3","val 12500"]],gd:[["a1","pin 0 adj1 100000"],["a2","pin 25000 adj2 75000"],["q10","+- 100000 0 a1"],["q11","*/ q10 1 2"],["q12","+- a1 0 q11"],["minAdj3","max 0 q12"],["a3","pin minAdj3 adj3 a1"],["dx2","*/ w a2 200000"],["x2","+- hc 0 dx2"],["x3","+- x2 wd8 0"],["x4","+- r 0 x3"],["x5","+- r 0 x2"],["x6","+- r 0 wd8"],["dy1","*/ h a3 100000"],["f1","*/ 4 dy1 w"],["q1","*/ x3 x3 w"],["q2","+- x3 0 q1"],["y1","*/ f1 q2 1"],["cx1","*/ x3 1 2"],["cy1","*/ f1 cx1 1"],["cx2","+- r 0 cx1"],["q1","*/ h a1 100000"],["dy3","+- q1 0 dy1"],["q3","*/ x2 x2 w"],["q4","+- x2 0 q3"],["q5","*/ f1 q4 1"],["y3","+- q5 dy3 0"],["q6","+- dy1 dy3 y3"],["q7","+- q6 dy1 0"],["cy3","+- q7 dy3 0"],["rh","+- b 0 q1"],["q8","*/ dy1 14 16"],["y2","+/ q8 rh 2"],["y5","+- q5 rh 0"],["y6","+- y3 rh 0"],["cx4","*/ x2 1 2"],["q9","*/ f1 cx4 1"],["cy4","+- q9 rh 0"],["cx5","+- r 0 cx4"],["cy6","+- cy3 rh 0"],["y7","+- y1 dy3 0"],["cy7","+- q1 q1 y7"],["y8","+- b 0 dy1"]],paths:[{commands:[["M","l","t"],["Q","cx1","cy1","x3","y1"],["L","x2","y3"],["Q","hc","cy3","x5","y3"],["L","x4","y1"],["Q","cx2","cy1","r","t"],["L","x6","y2"],["L","r","rh"],["Q","cx5","cy4","x5","y5"],["L","x5","y6"],["Q","hc","cy6","x2","y6"],["L","x2","y5"],["Q","cx4","cy4","l","rh"],["L","wd8","y2"],["Z"]],stroke:!1},{commands:[["M","x3","y7"],["L","x3","y1"],["L","x2","y3"],["Q","hc","cy3","x5","y3"],["L","x4","y1"],["L","x4","y7"],["Q","hc","cy7","x3","y7"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","l","t"],["Q","cx1","cy1","x3","y1"],["L","x2","y3"],["Q","hc","cy3","x5","y3"],["L","x4","y1"],["Q","cx2","cy1","r","t"],["L","x6","y2"],["L","r","rh"],["Q","cx5","cy4","x5","y5"],["L","x5","y6"],["Q","hc","cy6","x2","y6"],["L","x2","y5"],["Q","cx4","cy4","l","rh"],["L","wd8","y2"],["Z"],["M","x2","y5"],["L","x2","y3"],["M","x5","y3"],["L","x5","y5"],["M","x3","y1"],["L","x3","y7"],["M","x4","y7"],["L","x4","y1"]],fill:"none"}],rect:["x2","q1","x5","y6"]},ellipseRibbon2:{av:[["adj1","val 25000"],["adj2","val 50000"],["adj3","val 12500"]],gd:[["a1","pin 0 adj1 100000"],["a2","pin 25000 adj2 75000"],["q10","+- 100000 0 a1"],["q11","*/ q10 1 2"],["q12","+- a1 0 q11"],["minAdj3","max 0 q12"],["a3","pin minAdj3 adj3 a1"],["dx2","*/ w a2 200000"],["x2","+- hc 0 dx2"],["x3","+- x2 wd8 0"],["x4","+- r 0 x3"],["x5","+- r 0 x2"],["x6","+- r 0 wd8"],["dy1","*/ h a3 100000"],["f1","*/ 4 dy1 w"],["q1","*/ x3 x3 w"],["q2","+- x3 0 q1"],["u1","*/ f1 q2 1"],["y1","+- b 0 u1"],["cx1","*/ x3 1 2"],["cu1","*/ f1 cx1 1"],["cy1","+- b 0 cu1"],["cx2","+- r 0 cx1"],["q1","*/ h a1 100000"],["dy3","+- q1 0 dy1"],["q3","*/ x2 x2 w"],["q4","+- x2 0 q3"],["q5","*/ f1 q4 1"],["u3","+- q5 dy3 0"],["y3","+- b 0 u3"],["q6","+- dy1 dy3 u3"],["q7","+- q6 dy1 0"],["cu3","+- q7 dy3 0"],["cy3","+- b 0 cu3"],["rh","+- b 0 q1"],["q8","*/ dy1 14 16"],["u2","+/ q8 rh 2"],["y2","+- b 0 u2"],["u5","+- q5 rh 0"],["y5","+- b 0 u5"],["u6","+- u3 rh 0"],["y6","+- b 0 u6"],["cx4","*/ x2 1 2"],["q9","*/ f1 cx4 1"],["cu4","+- q9 rh 0"],["cy4","+- b 0 cu4"],["cx5","+- r 0 cx4"],["cu6","+- cu3 rh 0"],["cy6","+- b 0 cu6"],["u7","+- u1 dy3 0"],["y7","+- b 0 u7"],["cu7","+- q1 q1 u7"],["cy7","+- b 0 cu7"]],paths:[{commands:[["M","l","b"],["Q","cx1","cy1","x3","y1"],["L","x2","y3"],["Q","hc","cy3","x5","y3"],["L","x4","y1"],["Q","cx2","cy1","r","b"],["L","x6","y2"],["L","r","q1"],["Q","cx5","cy4","x5","y5"],["L","x5","y6"],["Q","hc","cy6","x2","y6"],["L","x2","y5"],["Q","cx4","cy4","l","q1"],["L","wd8","y2"],["Z"]],stroke:!1},{commands:[["M","x3","y7"],["L","x3","y1"],["L","x2","y3"],["Q","hc","cy3","x5","y3"],["L","x4","y1"],["L","x4","y7"],["Q","hc","cy7","x3","y7"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","l","b"],["L","wd8","y2"],["L","l","q1"],["Q","cx4","cy4","x2","y5"],["L","x2","y6"],["Q","hc","cy6","x5","y6"],["L","x5","y5"],["Q","cx5","cy4","r","q1"],["L","x6","y2"],["L","r","b"],["Q","cx2","cy1","x4","y1"],["L","x5","y3"],["Q","hc","cy3","x2","y3"],["L","x3","y1"],["Q","cx1","cy1","l","b"],["Z"],["M","x2","y3"],["L","x2","y5"],["M","x5","y5"],["L","x5","y3"],["M","x3","y7"],["L","x3","y1"],["M","x4","y1"],["L","x4","y7"]],fill:"none"}],rect:["x2","y6","x5","rh"]},flowChartAlternateProcess:{av:[],gd:[["x2","+- r 0 ssd6"],["y2","+- b 0 ssd6"],["il","*/ ssd6 29289 100000"],["ir","+- r 0 il"],["ib","+- b 0 il"]],paths:[{commands:[["M","l","ssd6"],["A","ssd6","ssd6","cd2","cd4"],["L","x2","t"],["A","ssd6","ssd6","3cd4","cd4"],["L","r","y2"],["A","ssd6","ssd6","0","cd4"],["L","ssd6","b"],["A","ssd6","ssd6","cd4","cd4"],["Z"]]}],rect:["il","il","ir","ib"]},flowChartCollate:{av:[],gd:[["ir","*/ w 3 4"],["ib","*/ h 3 4"]],paths:[{commands:[["M","0","0"],["L","2","0"],["L","1","1"],["L","2","2"],["L","0","2"],["L","1","1"],["Z"]],w:2,h:2}],rect:["wd4","hd4","ir","ib"]},flowChartConnector:{av:[],gd:[["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","l","vc"],["A","wd2","hd2","cd2","cd4"],["A","wd2","hd2","3cd4","cd4"],["A","wd2","hd2","0","cd4"],["A","wd2","hd2","cd4","cd4"],["Z"]]}],rect:["il","it","ir","ib"]},flowChartDecision:{av:[],gd:[["ir","*/ w 3 4"],["ib","*/ h 3 4"]],paths:[{commands:[["M","0","1"],["L","1","0"],["L","2","1"],["L","1","2"],["Z"]],w:2,h:2}],rect:["wd4","hd4","ir","ib"]},flowChartDelay:{av:[],gd:[["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","l","t"],["L","hc","t"],["A","wd2","hd2","3cd4","cd2"],["L","l","b"],["Z"]]}],rect:["l","it","ir","ib"]},flowChartDisplay:{av:[],gd:[["x2","*/ w 5 6"]],paths:[{commands:[["M","0","3"],["L","1","0"],["L","5","0"],["A","1","3","3cd4","cd2"],["L","1","6"],["Z"]],w:6,h:6}],rect:["wd6","t","x2","b"]},flowChartDocument:{av:[],gd:[["y1","*/ h 17322 21600"],["y2","*/ h 20172 21600"]],paths:[{commands:[["M","0","0"],["L","21600","0"],["L","21600","17322"],["C","10800","17322","10800","23922","0","20172"],["Z"]],w:21600,h:21600}],rect:["l","t","r","y1"]},flowChartExtract:{av:[],gd:[["x2","*/ w 3 4"]],paths:[{commands:[["M","0","2"],["L","1","0"],["L","2","2"],["Z"]],w:2,h:2}],rect:["wd4","vc","x2","b"]},flowChartInputOutput:{av:[],gd:[["x3","*/ w 2 5"],["x4","*/ w 3 5"],["x5","*/ w 4 5"],["x6","*/ w 9 10"]],paths:[{commands:[["M","0","5"],["L","1","0"],["L","5","0"],["L","4","5"],["Z"]],w:5,h:5}],rect:["wd5","t","x5","b"]},flowChartInternalStorage:{av:[],gd:[],paths:[{commands:[["M","0","0"],["L","1","0"],["L","1","1"],["L","0","1"],["Z"]],w:1,h:1,stroke:!1},{commands:[["M","1","0"],["L","1","8"],["M","0","1"],["L","8","1"]],w:8,h:8,fill:"none"},{commands:[["M","0","0"],["L","1","0"],["L","1","1"],["L","0","1"],["Z"]],w:1,h:1,fill:"none"}],rect:["wd8","hd8","r","b"]},flowChartMagneticDisk:{av:[],gd:[["y3","*/ h 5 6"]],paths:[{commands:[["M","0","1"],["A","3","1","cd2","cd2"],["L","6","5"],["A","3","1","0","cd2"],["Z"]],w:6,h:6,stroke:!1},{commands:[["M","6","1"],["A","3","1","0","cd2"]],w:6,h:6,fill:"none"},{commands:[["M","0","1"],["A","3","1","cd2","cd2"],["L","6","5"],["A","3","1","0","cd2"],["Z"]],w:6,h:6,fill:"none"}],rect:["l","hd3","r","y3"]},flowChartMagneticDrum:{av:[],gd:[["x2","*/ w 2 3"]],paths:[{commands:[["M","1","0"],["L","5","0"],["A","1","3","3cd4","cd2"],["L","1","6"],["A","1","3","cd4","cd2"],["Z"]],w:6,h:6,stroke:!1},{commands:[["M","5","6"],["A","1","3","cd4","cd2"]],w:6,h:6,fill:"none"},{commands:[["M","1","0"],["L","5","0"],["A","1","3","3cd4","cd2"],["L","1","6"],["A","1","3","cd4","cd2"],["Z"]],w:6,h:6,fill:"none"}],rect:["wd6","t","x2","b"]},flowChartMagneticTape:{av:[],gd:[["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"],["ang1","at2 w h"]],paths:[{commands:[["M","hc","b"],["A","wd2","hd2","cd4","cd4"],["A","wd2","hd2","cd2","cd4"],["A","wd2","hd2","3cd4","cd4"],["A","wd2","hd2","0","ang1"],["L","r","ib"],["L","r","b"],["Z"]]}],rect:["il","it","ir","ib"]},flowChartManualInput:{av:[],gd:[],paths:[{commands:[["M","0","1"],["L","5","0"],["L","5","5"],["L","0","5"],["Z"]],w:5,h:5}],rect:["l","hd5","r","b"]},flowChartManualOperation:{av:[],gd:[["x3","*/ w 4 5"],["x4","*/ w 9 10"]],paths:[{commands:[["M","0","0"],["L","5","0"],["L","4","5"],["L","1","5"],["Z"]],w:5,h:5}],rect:["wd5","t","x3","b"]},flowChartMerge:{av:[],gd:[["x2","*/ w 3 4"]],paths:[{commands:[["M","0","0"],["L","2","0"],["L","1","2"],["Z"]],w:2,h:2}],rect:["wd4","t","x2","vc"]},flowChartMultidocument:{av:[],gd:[["y2","*/ h 3675 21600"],["y8","*/ h 20782 21600"],["x3","*/ w 9298 21600"],["x4","*/ w 12286 21600"],["x5","*/ w 18595 21600"]],paths:[{commands:[["M","0","20782"],["C","9298","23542","9298","18022","18595","18022"],["L","18595","3675"],["L","0","3675"],["Z"],["M","1532","3675"],["L","1532","1815"],["L","20000","1815"],["L","20000","16252"],["C","19298","16252","18595","16352","18595","16352"],["L","18595","3675"],["Z"],["M","2972","1815"],["L","2972","0"],["L","21600","0"],["L","21600","14392"],["C","20800","14392","20000","14467","20000","14467"],["L","20000","1815"],["Z"]],w:21600,h:21600,stroke:!1},{commands:[["M","0","3675"],["L","18595","3675"],["L","18595","18022"],["C","9298","18022","9298","23542","0","20782"],["Z"],["M","1532","3675"],["L","1532","1815"],["L","20000","1815"],["L","20000","16252"],["C","19298","16252","18595","16352","18595","16352"],["M","2972","1815"],["L","2972","0"],["L","21600","0"],["L","21600","14392"],["C","20800","14392","20000","14467","20000","14467"]],w:21600,h:21600,fill:"none"},{commands:[["M","0","20782"],["C","9298","23542","9298","18022","18595","18022"],["L","18595","16352"],["C","18595","16352","19298","16252","20000","16252"],["L","20000","14467"],["C","20000","14467","20800","14392","21600","14392"],["L","21600","0"],["L","2972","0"],["L","2972","1815"],["L","1532","1815"],["L","1532","3675"],["L","0","3675"],["Z"]],w:21600,h:21600,fill:"none",stroke:!1}],rect:["l","y2","x5","y8"]},flowChartOfflineStorage:{av:[],gd:[["x4","*/ w 3 4"]],paths:[{commands:[["M","0","0"],["L","2","0"],["L","1","2"],["Z"]],w:2,h:2,stroke:!1},{commands:[["M","2","4"],["L","3","4"]],w:5,h:5,fill:"none"},{commands:[["M","0","0"],["L","2","0"],["L","1","2"],["Z"]],w:2,h:2,fill:"none"}],rect:["wd4","t","x4","vc"]},flowChartOffpageConnector:{av:[],gd:[["y1","*/ h 4 5"]],paths:[{commands:[["M","0","0"],["L","10","0"],["L","10","8"],["L","5","10"],["L","0","8"],["Z"]],w:10,h:10}],rect:["l","t","r","y1"]},flowChartOnlineStorage:{av:[],gd:[["x2","*/ w 5 6"]],paths:[{commands:[["M","1","0"],["L","6","0"],["A","1","3","3cd4","-10800000"],["L","1","6"],["A","1","3","cd4","cd2"],["Z"]],w:6,h:6}],rect:["wd6","t","x2","b"]},flowChartOr:{av:[],gd:[["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","l","vc"],["A","wd2","hd2","cd2","cd4"],["A","wd2","hd2","3cd4","cd4"],["A","wd2","hd2","0","cd4"],["A","wd2","hd2","cd4","cd4"],["Z"]],stroke:!1},{commands:[["M","hc","t"],["L","hc","b"],["M","l","vc"],["L","r","vc"]],fill:"none"},{commands:[["M","l","vc"],["A","wd2","hd2","cd2","cd4"],["A","wd2","hd2","3cd4","cd4"],["A","wd2","hd2","0","cd4"],["A","wd2","hd2","cd4","cd4"],["Z"]],fill:"none"}],rect:["il","it","ir","ib"]},flowChartPredefinedProcess:{av:[],gd:[["x2","*/ w 7 8"]],paths:[{commands:[["M","0","0"],["L","1","0"],["L","1","1"],["L","0","1"],["Z"]],w:1,h:1,stroke:!1},{commands:[["M","1","0"],["L","1","8"],["M","7","0"],["L","7","8"]],w:8,h:8,fill:"none"},{commands:[["M","0","0"],["L","1","0"],["L","1","1"],["L","0","1"],["Z"]],w:1,h:1,fill:"none"}],rect:["wd8","t","x2","b"]},flowChartPreparation:{av:[],gd:[["x2","*/ w 4 5"]],paths:[{commands:[["M","0","5"],["L","2","0"],["L","8","0"],["L","10","5"],["L","8","10"],["L","2","10"],["Z"]],w:10,h:10}],rect:["wd5","t","x2","b"]},flowChartProcess:{av:[],gd:[],paths:[{commands:[["M","0","0"],["L","1","0"],["L","1","1"],["L","0","1"],["Z"]],w:1,h:1}],rect:["l","t","r","b"]},flowChartPunchedCard:{av:[],gd:[],paths:[{commands:[["M","0","1"],["L","1","0"],["L","5","0"],["L","5","5"],["L","0","5"],["Z"]],w:5,h:5}],rect:["l","hd5","r","b"]},flowChartPunchedTape:{av:[],gd:[["y2","*/ h 9 10"],["ib","*/ h 4 5"]],paths:[{commands:[["M","0","2"],["A","5","2","cd2","-10800000"],["A","5","2","cd2","cd2"],["L","20","18"],["A","5","2","0","-10800000"],["A","5","2","0","cd2"],["Z"]],w:20,h:20}],rect:["l","hd5","r","ib"]},flowChartSort:{av:[],gd:[["ir","*/ w 3 4"],["ib","*/ h 3 4"]],paths:[{commands:[["M","0","1"],["L","1","0"],["L","2","1"],["L","1","2"],["Z"]],w:2,h:2,stroke:!1},{commands:[["M","0","1"],["L","2","1"]],w:2,h:2,fill:"none"},{commands:[["M","0","1"],["L","1","0"],["L","2","1"],["L","1","2"],["Z"]],w:2,h:2,fill:"none"}],rect:["wd4","hd4","ir","ib"]},flowChartSummingJunction:{av:[],gd:[["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","l","vc"],["A","wd2","hd2","cd2","cd4"],["A","wd2","hd2","3cd4","cd4"],["A","wd2","hd2","0","cd4"],["A","wd2","hd2","cd4","cd4"],["Z"]],stroke:!1},{commands:[["M","il","it"],["L","ir","ib"],["M","ir","it"],["L","il","ib"]],fill:"none"},{commands:[["M","l","vc"],["A","wd2","hd2","cd2","cd4"],["A","wd2","hd2","3cd4","cd4"],["A","wd2","hd2","0","cd4"],["A","wd2","hd2","cd4","cd4"],["Z"]],fill:"none"}],rect:["il","it","ir","ib"]},flowChartTerminator:{av:[],gd:[["il","*/ w 1018 21600"],["ir","*/ w 20582 21600"],["it","*/ h 3163 21600"],["ib","*/ h 18437 21600"]],paths:[{commands:[["M","3475","0"],["L","18125","0"],["A","3475","10800","3cd4","cd2"],["L","3475","21600"],["A","3475","10800","cd4","cd2"],["Z"]],w:21600,h:21600}],rect:["il","it","ir","ib"]},foldedCorner:{av:[["adj","val 16667"]],gd:[["a","pin 0 adj 50000"],["dy2","*/ ss a 100000"],["dy1","*/ dy2 1 5"],["x1","+- r 0 dy2"],["x2","+- x1 dy1 0"],["y2","+- b 0 dy2"],["y1","+- y2 dy1 0"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","y2"],["L","x1","b"],["L","l","b"],["Z"]],stroke:!1},{commands:[["M","x1","b"],["L","x2","y1"],["L","r","y2"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","x1","b"],["L","x2","y1"],["L","r","y2"],["L","x1","b"],["L","l","b"],["L","l","t"],["L","r","t"],["L","r","y2"]],fill:"none"}],rect:["l","t","r","y2"]},frame:{av:[["adj1","val 12500"]],gd:[["a1","pin 0 adj1 50000"],["x1","*/ ss a1 100000"],["x4","+- r 0 x1"],["y4","+- b 0 x1"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","x1","x1"],["L","x1","y4"],["L","x4","y4"],["L","x4","x1"],["Z"]]}],rect:["x1","x1","x4","y4"]},funnel:{av:[],gd:[["d","*/ ss 1 20"],["rw2","+- wd2 0 d"],["rh2","+- hd4 0 d"],["t1","cos wd2 480000"],["t2","sin hd4 480000"],["da","at2 t1 t2"],["2da","*/ da 2 1"],["stAng1","+- cd2 0 da"],["swAng1","+- cd2 2da 0"],["swAng3","+- cd2 0 2da"],["rw3","*/ wd2 1 4"],["rh3","*/ hd4 1 4"],["ct1","cos hd4 stAng1"],["st1","sin wd2 stAng1"],["m1","mod ct1 st1 0"],["n1","*/ wd2 hd4 m1"],["dx1","cos n1 stAng1"],["dy1","sin n1 stAng1"],["x1","+- hc dx1 0"],["y1","+- hd4 dy1 0"],["ct3","cos rh3 da"],["st3","sin rw3 da"],["m3","mod ct3 st3 0"],["n3","*/ rw3 rh3 m3"],["dx3","cos n3 da"],["dy3","sin n3 da"],["x3","+- hc dx3 0"],["vc3","+- b 0 rh3"],["y2","+- vc3 dy3 0"],["x2","+- wd2 0 rw2"],["cd","*/ cd2 2 1"]],paths:[{commands:[["M","x1","y1"],["A","wd2","hd4","stAng1","swAng1"],["L","x3","y2"],["A","rw3","rh3","da","swAng3"],["Z"],["M","x2","hd4"],["A","rw2","rh2","cd2","-21600000"],["Z"]]}],rect:["l","t","r","b"]},gear6:{av:[["adj1","val 15000"],["adj2","val 3526"]],gd:[["a1","pin 0 adj1 20000"],["a2","pin 0 adj2 5358"],["th","*/ ss a1 100000"],["lFD","*/ ss a2 100000"],["th2","*/ th 1 2"],["l2","*/ lFD 1 2"],["l3","+- th2 l2 0"],["rh","+- hd2 0 th"],["rw","+- wd2 0 th"],["dr","+- rw 0 rh"],["maxr","?: dr rh rw"],["ha","at2 maxr l3"],["aA1","+- 19800000 0 ha"],["aD1","+- 19800000 ha 0"],["ta11","cos rw aA1"],["ta12","sin rh aA1"],["bA1","at2 ta11 ta12"],["cta1","cos rh bA1"],["sta1","sin rw bA1"],["ma1","mod cta1 sta1 0"],["na1","*/ rw rh ma1"],["dxa1","cos na1 bA1"],["dya1","sin na1 bA1"],["xA1","+- hc dxa1 0"],["yA1","+- vc dya1 0"],["td11","cos rw aD1"],["td12","sin rh aD1"],["bD1","at2 td11 td12"],["ctd1","cos rh bD1"],["std1","sin rw bD1"],["md1","mod ctd1 std1 0"],["nd1","*/ rw rh md1"],["dxd1","cos nd1 bD1"],["dyd1","sin nd1 bD1"],["xD1","+- hc dxd1 0"],["yD1","+- vc dyd1 0"],["xAD1","+- xA1 0 xD1"],["yAD1","+- yA1 0 yD1"],["lAD1","mod xAD1 yAD1 0"],["a1","at2 yAD1 xAD1"],["dxF1","sin lFD a1"],["dyF1","cos lFD a1"],["xF1","+- xD1 dxF1 0"],["yF1","+- yD1 dyF1 0"],["xE1","+- xA1 0 dxF1"],["yE1","+- yA1 0 dyF1"],["yC1t","sin th a1"],["xC1t","cos th a1"],["yC1","+- yF1 yC1t 0"],["xC1","+- xF1 0 xC1t"],["yB1","+- yE1 yC1t 0"],["xB1","+- xE1 0 xC1t"],["aD6","+- 3cd4 ha 0"],["td61","cos rw aD6"],["td62","sin rh aD6"],["bD6","at2 td61 td62"],["ctd6","cos rh bD6"],["std6","sin rw bD6"],["md6","mod ctd6 std6 0"],["nd6","*/ rw rh md6"],["dxd6","cos nd6 bD6"],["dyd6","sin nd6 bD6"],["xD6","+- hc dxd6 0"],["yD6","+- vc dyd6 0"],["xA6","+- hc 0 dxd6"],["xF6","+- xD6 0 lFD"],["xE6","+- xA6 lFD 0"],["yC6","+- yD6 0 th"],["swAng1","+- bA1 0 bD6"],["aA2","+- 1800000 0 ha"],["aD2","+- 1800000 ha 0"],["ta21","cos rw aA2"],["ta22","sin rh aA2"],["bA2","at2 ta21 ta22"],["yA2","+- h 0 yD1"],["td21","cos rw aD2"],["td22","sin rh aD2"],["bD2","at2 td21 td22"],["yD2","+- h 0 yA1"],["yC2","+- h 0 yB1"],["yB2","+- h 0 yC1"],["xB2","val xC1"],["swAng2","+- bA2 0 bD1"],["aD3","+- cd4 ha 0"],["td31","cos rw aD3"],["td32","sin rh aD3"],["bD3","at2 td31 td32"],["yD3","+- h 0 yD6"],["yB3","+- h 0 yC6"],["aD4","+- 9000000 ha 0"],["td41","cos rw aD4"],["td42","sin rh aD4"],["bD4","at2 td41 td42"],["xD4","+- w 0 xD1"],["xC4","+- w 0 xC1"],["xB4","+- w 0 xB1"],["aD5","+- 12600000 ha 0"],["td51","cos rw aD5"],["td52","sin rh aD5"],["bD5","at2 td51 td52"],["xD5","+- w 0 xA1"],["xC5","+- w 0 xB1"],["xB5","+- w 0 xC1"],["xCxn1","+/ xB1 xC1 2"],["yCxn1","+/ yB1 yC1 2"],["yCxn2","+- b 0 yCxn1"],["xCxn4","+/ r 0 xCxn1"]],paths:[{commands:[["M","xA1","yA1"],["L","xB1","yB1"],["L","xC1","yC1"],["L","xD1","yD1"],["A","rw","rh","bD1","swAng2"],["L","xC1","yB2"],["L","xB1","yC2"],["L","xA1","yD2"],["A","rw","rh","bD2","swAng1"],["L","xF6","yB3"],["L","xE6","yB3"],["L","xA6","yD3"],["A","rw","rh","bD3","swAng1"],["L","xB4","yC2"],["L","xC4","yB2"],["L","xD4","yA2"],["A","rw","rh","bD4","swAng2"],["L","xB5","yC1"],["L","xC5","yB1"],["L","xD5","yA1"],["A","rw","rh","bD5","swAng1"],["L","xE6","yC6"],["L","xF6","yC6"],["L","xD6","yD6"],["A","rw","rh","bD6","swAng1"],["Z"]]}],rect:["xD5","yA1","xA1","yD2"]},gear9:{av:[["adj1","val 10000"],["adj2","val 1763"]],gd:[["a1","pin 0 adj1 20000"],["a2","pin 0 adj2 2679"],["th","*/ ss a1 100000"],["lFD","*/ ss a2 100000"],["th2","*/ th 1 2"],["l2","*/ lFD 1 2"],["l3","+- th2 l2 0"],["rh","+- hd2 0 th"],["rw","+- wd2 0 th"],["dr","+- rw 0 rh"],["maxr","?: dr rh rw"],["ha","at2 maxr l3"],["aA1","+- 18600000 0 ha"],["aD1","+- 18600000 ha 0"],["ta11","cos rw aA1"],["ta12","sin rh aA1"],["bA1","at2 ta11 ta12"],["cta1","cos rh bA1"],["sta1","sin rw bA1"],["ma1","mod cta1 sta1 0"],["na1","*/ rw rh ma1"],["dxa1","cos na1 bA1"],["dya1","sin na1 bA1"],["xA1","+- hc dxa1 0"],["yA1","+- vc dya1 0"],["td11","cos rw aD1"],["td12","sin rh aD1"],["bD1","at2 td11 td12"],["ctd1","cos rh bD1"],["std1","sin rw bD1"],["md1","mod ctd1 std1 0"],["nd1","*/ rw rh md1"],["dxd1","cos nd1 bD1"],["dyd1","sin nd1 bD1"],["xD1","+- hc dxd1 0"],["yD1","+- vc dyd1 0"],["xAD1","+- xA1 0 xD1"],["yAD1","+- yA1 0 yD1"],["lAD1","mod xAD1 yAD1 0"],["a1","at2 yAD1 xAD1"],["dxF1","sin lFD a1"],["dyF1","cos lFD a1"],["xF1","+- xD1 dxF1 0"],["yF1","+- yD1 dyF1 0"],["xE1","+- xA1 0 dxF1"],["yE1","+- yA1 0 dyF1"],["yC1t","sin th a1"],["xC1t","cos th a1"],["yC1","+- yF1 yC1t 0"],["xC1","+- xF1 0 xC1t"],["yB1","+- yE1 yC1t 0"],["xB1","+- xE1 0 xC1t"],["aA2","+- 21000000 0 ha"],["aD2","+- 21000000 ha 0"],["ta21","cos rw aA2"],["ta22","sin rh aA2"],["bA2","at2 ta21 ta22"],["cta2","cos rh bA2"],["sta2","sin rw bA2"],["ma2","mod cta2 sta2 0"],["na2","*/ rw rh ma2"],["dxa2","cos na2 bA2"],["dya2","sin na2 bA2"],["xA2","+- hc dxa2 0"],["yA2","+- vc dya2 0"],["td21","cos rw aD2"],["td22","sin rh aD2"],["bD2","at2 td21 td22"],["ctd2","cos rh bD2"],["std2","sin rw bD2"],["md2","mod ctd2 std2 0"],["nd2","*/ rw rh md2"],["dxd2","cos nd2 bD2"],["dyd2","sin nd2 bD2"],["xD2","+- hc dxd2 0"],["yD2","+- vc dyd2 0"],["xAD2","+- xA2 0 xD2"],["yAD2","+- yA2 0 yD2"],["lAD2","mod xAD2 yAD2 0"],["a2","at2 yAD2 xAD2"],["dxF2","sin lFD a2"],["dyF2","cos lFD a2"],["xF2","+- xD2 dxF2 0"],["yF2","+- yD2 dyF2 0"],["xE2","+- xA2 0 dxF2"],["yE2","+- yA2 0 dyF2"],["yC2t","sin th a2"],["xC2t","cos th a2"],["yC2","+- yF2 yC2t 0"],["xC2","+- xF2 0 xC2t"],["yB2","+- yE2 yC2t 0"],["xB2","+- xE2 0 xC2t"],["swAng1","+- bA2 0 bD1"],["aA3","+- 1800000 0 ha"],["aD3","+- 1800000 ha 0"],["ta31","cos rw aA3"],["ta32","sin rh aA3"],["bA3","at2 ta31 ta32"],["cta3","cos rh bA3"],["sta3","sin rw bA3"],["ma3","mod cta3 sta3 0"],["na3","*/ rw rh ma3"],["dxa3","cos na3 bA3"],["dya3","sin na3 bA3"],["xA3","+- hc dxa3 0"],["yA3","+- vc dya3 0"],["td31","cos rw aD3"],["td32","sin rh aD3"],["bD3","at2 td31 td32"],["ctd3","cos rh bD3"],["std3","sin rw bD3"],["md3","mod ctd3 std3 0"],["nd3","*/ rw rh md3"],["dxd3","cos nd3 bD3"],["dyd3","sin nd3 bD3"],["xD3","+- hc dxd3 0"],["yD3","+- vc dyd3 0"],["xAD3","+- xA3 0 xD3"],["yAD3","+- yA3 0 yD3"],["lAD3","mod xAD3 yAD3 0"],["a3","at2 yAD3 xAD3"],["dxF3","sin lFD a3"],["dyF3","cos lFD a3"],["xF3","+- xD3 dxF3 0"],["yF3","+- yD3 dyF3 0"],["xE3","+- xA3 0 dxF3"],["yE3","+- yA3 0 dyF3"],["yC3t","sin th a3"],["xC3t","cos th a3"],["yC3","+- yF3 yC3t 0"],["xC3","+- xF3 0 xC3t"],["yB3","+- yE3 yC3t 0"],["xB3","+- xE3 0 xC3t"],["swAng2","+- bA3 0 bD2"],["aA4","+- 4200000 0 ha"],["aD4","+- 4200000 ha 0"],["ta41","cos rw aA4"],["ta42","sin rh aA4"],["bA4","at2 ta41 ta42"],["cta4","cos rh bA4"],["sta4","sin rw bA4"],["ma4","mod cta4 sta4 0"],["na4","*/ rw rh ma4"],["dxa4","cos na4 bA4"],["dya4","sin na4 bA4"],["xA4","+- hc dxa4 0"],["yA4","+- vc dya4 0"],["td41","cos rw aD4"],["td42","sin rh aD4"],["bD4","at2 td41 td42"],["ctd4","cos rh bD4"],["std4","sin rw bD4"],["md4","mod ctd4 std4 0"],["nd4","*/ rw rh md4"],["dxd4","cos nd4 bD4"],["dyd4","sin nd4 bD4"],["xD4","+- hc dxd4 0"],["yD4","+- vc dyd4 0"],["xAD4","+- xA4 0 xD4"],["yAD4","+- yA4 0 yD4"],["lAD4","mod xAD4 yAD4 0"],["a4","at2 yAD4 xAD4"],["dxF4","sin lFD a4"],["dyF4","cos lFD a4"],["xF4","+- xD4 dxF4 0"],["yF4","+- yD4 dyF4 0"],["xE4","+- xA4 0 dxF4"],["yE4","+- yA4 0 dyF4"],["yC4t","sin th a4"],["xC4t","cos th a4"],["yC4","+- yF4 yC4t 0"],["xC4","+- xF4 0 xC4t"],["yB4","+- yE4 yC4t 0"],["xB4","+- xE4 0 xC4t"],["swAng3","+- bA4 0 bD3"],["aA5","+- 6600000 0 ha"],["aD5","+- 6600000 ha 0"],["ta51","cos rw aA5"],["ta52","sin rh aA5"],["bA5","at2 ta51 ta52"],["td51","cos rw aD5"],["td52","sin rh aD5"],["bD5","at2 td51 td52"],["xD5","+- w 0 xA4"],["xC5","+- w 0 xB4"],["xB5","+- w 0 xC4"],["swAng4","+- bA5 0 bD4"],["aD6","+- 9000000 ha 0"],["td61","cos rw aD6"],["td62","sin rh aD6"],["bD6","at2 td61 td62"],["xD6","+- w 0 xA3"],["xC6","+- w 0 xB3"],["xB6","+- w 0 xC3"],["aD7","+- 11400000 ha 0"],["td71","cos rw aD7"],["td72","sin rh aD7"],["bD7","at2 td71 td72"],["xD7","+- w 0 xA2"],["xC7","+- w 0 xB2"],["xB7","+- w 0 xC2"],["aD8","+- 13800000 ha 0"],["td81","cos rw aD8"],["td82","sin rh aD8"],["bD8","at2 td81 td82"],["xA8","+- w 0 xD1"],["xD8","+- w 0 xA1"],["xC8","+- w 0 xB1"],["xB8","+- w 0 xC1"],["aA9","+- 3cd4 0 ha"],["aD9","+- 3cd4 ha 0"],["td91","cos rw aD9"],["td92","sin rh aD9"],["bD9","at2 td91 td92"],["ctd9","cos rh bD9"],["std9","sin rw bD9"],["md9","mod ctd9 std9 0"],["nd9","*/ rw rh md9"],["dxd9","cos nd9 bD9"],["dyd9","sin nd9 bD9"],["xD9","+- hc dxd9 0"],["yD9","+- vc dyd9 0"],["ta91","cos rw aA9"],["ta92","sin rh aA9"],["bA9","at2 ta91 ta92"],["xA9","+- hc 0 dxd9"],["xF9","+- xD9 0 lFD"],["xE9","+- xA9 lFD 0"],["yC9","+- yD9 0 th"],["swAng5","+- bA9 0 bD8"],["xCxn1","+/ xB1 xC1 2"],["yCxn1","+/ yB1 yC1 2"],["xCxn2","+/ xB2 xC2 2"],["yCxn2","+/ yB2 yC2 2"],["xCxn3","+/ xB3 xC3 2"],["yCxn3","+/ yB3 yC3 2"],["xCxn4","+/ xB4 xC4 2"],["yCxn4","+/ yB4 yC4 2"],["xCxn5","+/ r 0 xCxn4"],["xCxn6","+/ r 0 xCxn3"],["xCxn7","+/ r 0 xCxn2"],["xCxn8","+/ r 0 xCxn1"]],paths:[{commands:[["M","xA1","yA1"],["L","xB1","yB1"],["L","xC1","yC1"],["L","xD1","yD1"],["A","rw","rh","bD1","swAng1"],["L","xB2","yB2"],["L","xC2","yC2"],["L","xD2","yD2"],["A","rw","rh","bD2","swAng2"],["L","xB3","yB3"],["L","xC3","yC3"],["L","xD3","yD3"],["A","rw","rh","bD3","swAng3"],["L","xB4","yB4"],["L","xC4","yC4"],["L","xD4","yD4"],["A","rw","rh","bD4","swAng4"],["L","xB5","yC4"],["L","xC5","yB4"],["L","xD5","yA4"],["A","rw","rh","bD5","swAng3"],["L","xB6","yC3"],["L","xC6","yB3"],["L","xD6","yA3"],["A","rw","rh","bD6","swAng2"],["L","xB7","yC2"],["L","xC7","yB2"],["L","xD7","yA2"],["A","rw","rh","bD7","swAng1"],["L","xB8","yC1"],["L","xC8","yB1"],["L","xD8","yA1"],["A","rw","rh","bD8","swAng5"],["L","xE9","yC9"],["L","xF9","yC9"],["L","xD9","yD9"],["A","rw","rh","bD9","swAng5"],["Z"]]}],rect:["xA8","yD1","xD1","yD3"]},halfFrame:{av:[["adj1","val 33333"],["adj2","val 33333"]],gd:[["maxAdj2","*/ 100000 w ss"],["a2","pin 0 adj2 maxAdj2"],["x1","*/ ss a2 100000"],["g1","*/ h x1 w"],["g2","+- h 0 g1"],["maxAdj1","*/ 100000 g2 ss"],["a1","pin 0 adj1 maxAdj1"],["y1","*/ ss a1 100000"],["dx2","*/ y1 w h"],["x2","+- r 0 dx2"],["dy2","*/ x1 h w"],["y2","+- b 0 dy2"],["cx1","*/ x1 1 2"],["cy1","+/ y2 b 2"],["cx2","+/ x2 r 2"],["cy2","*/ y1 1 2"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","x2","y1"],["L","x1","y1"],["L","x1","y2"],["L","l","b"],["Z"]]}],rect:["l","t","r","b"]},heart:{av:[],gd:[["dx1","*/ w 49 48"],["dx2","*/ w 10 48"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["y1","+- t 0 hd3"],["il","*/ w 1 6"],["ir","*/ w 5 6"],["ib","*/ h 2 3"]],paths:[{commands:[["M","hc","hd4"],["C","x3","y1","x4","hd4","hc","b"],["C","x1","hd4","x2","y1","hc","hd4"],["Z"]]}],rect:["il","hd4","ir","ib"]},heptagon:{av:[["hf","val 102572"],["vf","val 105210"]],gd:[["swd2","*/ wd2 hf 100000"],["shd2","*/ hd2 vf 100000"],["svc","*/ vc vf 100000"],["dx1","*/ swd2 97493 100000"],["dx2","*/ swd2 78183 100000"],["dx3","*/ swd2 43388 100000"],["dy1","*/ shd2 62349 100000"],["dy2","*/ shd2 22252 100000"],["dy3","*/ shd2 90097 100000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc 0 dx3"],["x4","+- hc dx3 0"],["x5","+- hc dx2 0"],["x6","+- hc dx1 0"],["y1","+- svc 0 dy1"],["y2","+- svc dy2 0"],["y3","+- svc dy3 0"],["ib","+- b 0 y1"]],paths:[{commands:[["M","x1","y2"],["L","x2","y1"],["L","hc","t"],["L","x5","y1"],["L","x6","y2"],["L","x4","y3"],["L","x3","y3"],["Z"]]}],rect:["x2","y1","x5","ib"]},hexagon:{av:[["adj","val 25000"],["vf","val 115470"]],gd:[["maxAdj","*/ 50000 w ss"],["a","pin 0 adj maxAdj"],["shd2","*/ hd2 vf 100000"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["dy1","sin shd2 3600000"],["y1","+- vc 0 dy1"],["y2","+- vc dy1 0"],["q1","*/ maxAdj -1 2"],["q2","+- a q1 0"],["q3","?: q2 4 2"],["q4","?: q2 3 2"],["q5","?: q2 q1 0"],["q6","+/ a q5 q1"],["q7","*/ q6 q4 -1"],["q8","+- q3 q7 0"],["il","*/ w q8 24"],["it","*/ h q8 24"],["ir","+- r 0 il"],["ib","+- b 0 it"]],paths:[{commands:[["M","l","vc"],["L","x1","y1"],["L","x2","y1"],["L","r","vc"],["L","x2","y2"],["L","x1","y2"],["Z"]]}],rect:["il","it","ir","ib"]},homePlate:{av:[["adj","val 50000"]],gd:[["maxAdj","*/ 100000 w ss"],["a","pin 0 adj maxAdj"],["dx1","*/ ss a 100000"],["x1","+- r 0 dx1"],["ir","+/ x1 r 2"],["x2","*/ x1 1 2"]],paths:[{commands:[["M","l","t"],["L","x1","t"],["L","r","vc"],["L","x1","b"],["L","l","b"],["Z"]]}],rect:["l","t","ir","b"]},horizontalScroll:{av:[["adj","val 12500"]],gd:[["a","pin 0 adj 25000"],["ch","*/ ss a 100000"],["ch2","*/ ch 1 2"],["ch4","*/ ch 1 4"],["y3","+- ch ch2 0"],["y4","+- ch ch 0"],["y6","+- b 0 ch"],["y7","+- b 0 ch2"],["y5","+- y6 0 ch2"],["x3","+- r 0 ch"],["x4","+- r 0 ch2"]],paths:[{commands:[["M","r","ch2"],["A","ch2","ch2","0","cd4"],["L","x4","ch2"],["A","ch4","ch4","0","cd2"],["L","x3","ch"],["L","ch2","ch"],["A","ch2","ch2","3cd4","-5400000"],["L","l","y7"],["A","ch2","ch2","cd2","-10800000"],["L","ch","y6"],["L","x4","y6"],["A","ch2","ch2","cd4","-5400000"],["Z"],["M","ch2","y4"],["A","ch2","ch2","cd4","-5400000"],["A","ch4","ch4","0","-10800000"],["Z"]],stroke:!1},{commands:[["M","ch2","y4"],["A","ch2","ch2","cd4","-5400000"],["A","ch4","ch4","0","-10800000"],["Z"],["M","x4","ch"],["A","ch2","ch2","cd4","-16200000"],["A","ch4","ch4","cd2","-10800000"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","l","y3"],["A","ch2","ch2","cd2","cd4"],["L","x3","ch"],["L","x3","ch2"],["A","ch2","ch2","cd2","cd2"],["L","r","y5"],["A","ch2","ch2","0","cd4"],["L","ch","y6"],["L","ch","y7"],["A","ch2","ch2","0","cd2"],["Z"],["M","x3","ch"],["L","x4","ch"],["A","ch2","ch2","cd4","-5400000"],["M","x4","ch"],["L","x4","ch2"],["A","ch4","ch4","0","cd2"],["M","ch2","y4"],["L","ch2","y3"],["A","ch4","ch4","cd2","cd2"],["A","ch2","ch2","0","cd2"],["M","ch","y3"],["L","ch","y6"]],fill:"none"}],rect:["ch","ch","x4","y6"]},irregularSeal1:{av:[],gd:[["x5","*/ w 4627 21600"],["x12","*/ w 8485 21600"],["x21","*/ w 16702 21600"],["x24","*/ w 14522 21600"],["y3","*/ h 6320 21600"],["y6","*/ h 8615 21600"],["y9","*/ h 13937 21600"],["y18","*/ h 13290 21600"]],paths:[{commands:[["M","10800","5800"],["L","14522","0"],["L","14155","5325"],["L","18380","4457"],["L","16702","7315"],["L","21097","8137"],["L","17607","10475"],["L","21600","13290"],["L","16837","12942"],["L","18145","18095"],["L","14020","14457"],["L","13247","19737"],["L","10532","14935"],["L","8485","21600"],["L","7715","15627"],["L","4762","17617"],["L","5667","13937"],["L","135","14587"],["L","3722","11775"],["L","0","8615"],["L","4627","7617"],["L","370","2295"],["L","7312","6320"],["L","8352","2295"],["Z"]],w:21600,h:21600}],rect:["x5","y3","x21","y9"]},irregularSeal2:{av:[],gd:[["x2","*/ w 9722 21600"],["x5","*/ w 5372 21600"],["x16","*/ w 11612 21600"],["x19","*/ w 14640 21600"],["y2","*/ h 1887 21600"],["y3","*/ h 6382 21600"],["y8","*/ h 12877 21600"],["y14","*/ h 19712 21600"],["y16","*/ h 18842 21600"],["y17","*/ h 15935 21600"],["y24","*/ h 6645 21600"]],paths:[{commands:[["M","11462","4342"],["L","14790","0"],["L","14525","5777"],["L","18007","3172"],["L","16380","6532"],["L","21600","6645"],["L","16985","9402"],["L","18270","11290"],["L","16380","12310"],["L","18877","15632"],["L","14640","14350"],["L","14942","17370"],["L","12180","15935"],["L","11612","18842"],["L","9872","17370"],["L","8700","19712"],["L","7527","18125"],["L","4917","21600"],["L","4805","18240"],["L","1285","17825"],["L","3330","15370"],["L","0","12877"],["L","3935","11592"],["L","1172","8270"],["L","5372","7817"],["L","4502","3625"],["L","8550","6382"],["L","9722","1887"],["Z"]],w:21600,h:21600}],rect:["x5","y3","x19","y17"]},leftArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 100000 w ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["dx2","*/ ss a2 100000"],["x2","+- l dx2 0"],["dy1","*/ h a1 200000"],["y1","+- vc 0 dy1"],["y2","+- vc dy1 0"],["dx1","*/ y1 dx2 hd2"],["x1","+- x2 0 dx1"]],paths:[{commands:[["M","l","vc"],["L","x2","t"],["L","x2","y1"],["L","r","y1"],["L","r","y2"],["L","x2","y2"],["L","x2","b"],["Z"]]}],rect:["x1","y1","r","y2"]},leftArrowCallout:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 64977"]],gd:[["maxAdj2","*/ 50000 h ss"],["a2","pin 0 adj2 maxAdj2"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","*/ 100000 w ss"],["a3","pin 0 adj3 maxAdj3"],["q2","*/ a3 ss w"],["maxAdj4","+- 100000 0 q2"],["a4","pin 0 adj4 maxAdj4"],["dy1","*/ ss a2 100000"],["dy2","*/ ss a1 200000"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"],["y4","+- vc dy1 0"],["x1","*/ ss a3 100000"],["dx2","*/ w a4 100000"],["x2","+- r 0 dx2"],["x3","+/ x2 r 2"]],paths:[{commands:[["M","l","vc"],["L","x1","y1"],["L","x1","y2"],["L","x2","y2"],["L","x2","t"],["L","r","t"],["L","r","b"],["L","x2","b"],["L","x2","y3"],["L","x1","y3"],["L","x1","y4"],["Z"]]}],rect:["x2","t","r","b"]},leftBrace:{av:[["adj1","val 8333"],["adj2","val 50000"]],gd:[["a2","pin 0 adj2 100000"],["q1","+- 100000 0 a2"],["q2","min q1 a2"],["q3","*/ q2 1 2"],["maxAdj1","*/ q3 h ss"],["a1","pin 0 adj1 maxAdj1"],["y1","*/ ss a1 100000"],["y3","*/ h a2 100000"],["y4","+- y3 y1 0"],["dx1","cos wd2 2700000"],["dy1","sin y1 2700000"],["il","+- r 0 dx1"],["it","+- y1 0 dy1"],["ib","+- b dy1 y1"]],paths:[{commands:[["M","r","b"],["A","wd2","y1","cd4","cd4"],["L","hc","y4"],["A","wd2","y1","0","-5400000"],["A","wd2","y1","cd4","-5400000"],["L","hc","y1"],["A","wd2","y1","cd2","cd4"],["Z"]],stroke:!1},{commands:[["M","r","b"],["A","wd2","y1","cd4","cd4"],["L","hc","y4"],["A","wd2","y1","0","-5400000"],["A","wd2","y1","cd4","-5400000"],["L","hc","y1"],["A","wd2","y1","cd2","cd4"]],fill:"none"}],rect:["il","it","r","ib"]},leftBracket:{av:[["adj","val 8333"]],gd:[["maxAdj","*/ 50000 h ss"],["a","pin 0 adj maxAdj"],["y1","*/ ss a 100000"],["y2","+- b 0 y1"],["dx1","cos w 2700000"],["dy1","sin y1 2700000"],["il","+- r 0 dx1"],["it","+- y1 0 dy1"],["ib","+- b dy1 y1"]],paths:[{commands:[["M","r","b"],["A","w","y1","cd4","cd4"],["L","l","y1"],["A","w","y1","cd2","cd4"],["Z"]],stroke:!1},{commands:[["M","r","b"],["A","w","y1","cd4","cd4"],["L","l","y1"],["A","w","y1","cd2","cd4"]],fill:"none"}],rect:["il","it","r","ib"]},leftCircularArrow:{av:[["adj1","val 12500"],["adj2","val -1142319"],["adj3","val 1142319"],["adj4","val 10800000"],["adj5","val 12500"]],gd:[["a5","pin 0 adj5 25000"],["maxAdj1","*/ a5 2 1"],["a1","pin 0 adj1 maxAdj1"],["enAng","pin 1 adj3 21599999"],["stAng","pin 0 adj4 21599999"],["th","*/ ss a1 100000"],["thh","*/ ss a5 100000"],["th2","*/ th 1 2"],["rw1","+- wd2 th2 thh"],["rh1","+- hd2 th2 thh"],["rw2","+- rw1 0 th"],["rh2","+- rh1 0 th"],["rw3","+- rw2 th2 0"],["rh3","+- rh2 th2 0"],["wtH","sin rw3 enAng"],["htH","cos rh3 enAng"],["dxH","cat2 rw3 htH wtH"],["dyH","sat2 rh3 htH wtH"],["xH","+- hc dxH 0"],["yH","+- vc dyH 0"],["rI","min rw2 rh2"],["u1","*/ dxH dxH 1"],["u2","*/ dyH dyH 1"],["u3","*/ rI rI 1"],["u4","+- u1 0 u3"],["u5","+- u2 0 u3"],["u6","*/ u4 u5 u1"],["u7","*/ u6 1 u2"],["u8","+- 1 0 u7"],["u9","sqrt u8"],["u10","*/ u4 1 dxH"],["u11","*/ u10 1 dyH"],["u12","+/ 1 u9 u11"],["u13","at2 1 u12"],["u14","+- u13 21600000 0"],["u15","?: u13 u13 u14"],["u16","+- u15 0 enAng"],["u17","+- u16 21600000 0"],["u18","?: u16 u16 u17"],["u19","+- u18 0 cd2"],["u20","+- u18 0 21600000"],["u21","?: u19 u20 u18"],["u22","abs u21"],["minAng","*/ u22 -1 1"],["u23","abs adj2"],["a2","*/ u23 -1 1"],["aAng","pin minAng a2 0"],["ptAng","+- enAng aAng 0"],["wtA","sin rw3 ptAng"],["htA","cos rh3 ptAng"],["dxA","cat2 rw3 htA wtA"],["dyA","sat2 rh3 htA wtA"],["xA","+- hc dxA 0"],["yA","+- vc dyA 0"],["wtE","sin rw1 stAng"],["htE","cos rh1 stAng"],["dxE","cat2 rw1 htE wtE"],["dyE","sat2 rh1 htE wtE"],["xE","+- hc dxE 0"],["yE","+- vc dyE 0"],["wtD","sin rw2 stAng"],["htD","cos rh2 stAng"],["dxD","cat2 rw2 htD wtD"],["dyD","sat2 rh2 htD wtD"],["xD","+- hc dxD 0"],["yD","+- vc dyD 0"],["dxG","cos thh ptAng"],["dyG","sin thh ptAng"],["xG","+- xH dxG 0"],["yG","+- yH dyG 0"],["dxB","cos thh ptAng"],["dyB","sin thh ptAng"],["xB","+- xH 0 dxB 0"],["yB","+- yH 0 dyB 0"],["sx1","+- xB 0 hc"],["sy1","+- yB 0 vc"],["sx2","+- xG 0 hc"],["sy2","+- yG 0 vc"],["rO","min rw1 rh1"],["x1O","*/ sx1 rO rw1"],["y1O","*/ sy1 rO rh1"],["x2O","*/ sx2 rO rw1"],["y2O","*/ sy2 rO rh1"],["dxO","+- x2O 0 x1O"],["dyO","+- y2O 0 y1O"],["dO","mod dxO dyO 0"],["q1","*/ x1O y2O 1"],["q2","*/ x2O y1O 1"],["DO","+- q1 0 q2"],["q3","*/ rO rO 1"],["q4","*/ dO dO 1"],["q5","*/ q3 q4 1"],["q6","*/ DO DO 1"],["q7","+- q5 0 q6"],["q8","max q7 0"],["sdelO","sqrt q8"],["ndyO","*/ dyO -1 1"],["sdyO","?: ndyO -1 1"],["q9","*/ sdyO dxO 1"],["q10","*/ q9 sdelO 1"],["q11","*/ DO dyO 1"],["dxF1","+/ q11 q10 q4"],["q12","+- q11 0 q10"],["dxF2","*/ q12 1 q4"],["adyO","abs dyO"],["q13","*/ adyO sdelO 1"],["q14","*/ DO dxO -1"],["dyF1","+/ q14 q13 q4"],["q15","+- q14 0 q13"],["dyF2","*/ q15 1 q4"],["q16","+- x2O 0 dxF1"],["q17","+- x2O 0 dxF2"],["q18","+- y2O 0 dyF1"],["q19","+- y2O 0 dyF2"],["q20","mod q16 q18 0"],["q21","mod q17 q19 0"],["q22","+- q21 0 q20"],["dxF","?: q22 dxF1 dxF2"],["dyF","?: q22 dyF1 dyF2"],["sdxF","*/ dxF rw1 rO"],["sdyF","*/ dyF rh1 rO"],["xF","+- hc sdxF 0"],["yF","+- vc sdyF 0"],["x1I","*/ sx1 rI rw2"],["y1I","*/ sy1 rI rh2"],["x2I","*/ sx2 rI rw2"],["y2I","*/ sy2 rI rh2"],["dxI","+- x2I 0 x1I"],["dyI","+- y2I 0 y1I"],["dI","mod dxI dyI 0"],["v1","*/ x1I y2I 1"],["v2","*/ x2I y1I 1"],["DI","+- v1 0 v2"],["v3","*/ rI rI 1"],["v4","*/ dI dI 1"],["v5","*/ v3 v4 1"],["v6","*/ DI DI 1"],["v7","+- v5 0 v6"],["v8","max v7 0"],["sdelI","sqrt v8"],["v9","*/ sdyO dxI 1"],["v10","*/ v9 sdelI 1"],["v11","*/ DI dyI 1"],["dxC1","+/ v11 v10 v4"],["v12","+- v11 0 v10"],["dxC2","*/ v12 1 v4"],["adyI","abs dyI"],["v13","*/ adyI sdelI 1"],["v14","*/ DI dxI -1"],["dyC1","+/ v14 v13 v4"],["v15","+- v14 0 v13"],["dyC2","*/ v15 1 v4"],["v16","+- x1I 0 dxC1"],["v17","+- x1I 0 dxC2"],["v18","+- y1I 0 dyC1"],["v19","+- y1I 0 dyC2"],["v20","mod v16 v18 0"],["v21","mod v17 v19 0"],["v22","+- v21 0 v20"],["dxC","?: v22 dxC1 dxC2"],["dyC","?: v22 dyC1 dyC2"],["sdxC","*/ dxC rw2 rI"],["sdyC","*/ dyC rh2 rI"],["xC","+- hc sdxC 0"],["yC","+- vc sdyC 0"],["ist0","at2 sdxC sdyC"],["ist1","+- ist0 21600000 0"],["istAng0","?: ist0 ist0 ist1"],["isw1","+- stAng 0 istAng0"],["isw2","+- isw1 21600000 0"],["iswAng0","?: isw1 isw1 isw2"],["istAng","+- istAng0 iswAng0 0"],["iswAng","+- 0 0 iswAng0"],["p1","+- xF 0 xC"],["p2","+- yF 0 yC"],["p3","mod p1 p2 0"],["p4","*/ p3 1 2"],["p5","+- p4 0 thh"],["xGp","?: p5 xF xG"],["yGp","?: p5 yF yG"],["xBp","?: p5 xC xB"],["yBp","?: p5 yC yB"],["en0","at2 sdxF sdyF"],["en1","+- en0 21600000 0"],["en2","?: en0 en0 en1"],["sw0","+- en2 0 stAng"],["sw1","+- sw0 0 21600000"],["swAng","?: sw0 sw1 sw0"],["stAng0","+- stAng swAng 0"],["swAng0","+- 0 0 swAng"],["wtI","sin rw3 stAng"],["htI","cos rh3 stAng"],["dxI","cat2 rw3 htI wtI"],["dyI","sat2 rh3 htI wtI"],["xI","+- hc dxI 0"],["yI","+- vc dyI 0"],["aI","+- stAng cd4 0"],["aA","+- ptAng 0 cd4"],["aB","+- ptAng cd2 0"],["idx","cos rw1 2700000"],["idy","sin rh1 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","xE","yE"],["L","xD","yD"],["A","rw2","rh2","istAng","iswAng"],["L","xBp","yBp"],["L","xA","yA"],["L","xGp","yGp"],["L","xF","yF"],["A","rw1","rh1","stAng0","swAng0"],["Z"]]}],rect:["il","it","ir","ib"]},leftRightArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 50000 w ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["x2","*/ ss a2 100000"],["x3","+- r 0 x2"],["dy","*/ h a1 200000"],["y1","+- vc 0 dy"],["y2","+- vc dy 0"],["dx1","*/ y1 x2 hd2"],["x1","+- x2 0 dx1"],["x4","+- x3 dx1 0"]],paths:[{commands:[["M","l","vc"],["L","x2","t"],["L","x2","y1"],["L","x3","y1"],["L","x3","t"],["L","r","vc"],["L","x3","b"],["L","x3","y2"],["L","x2","y2"],["L","x2","b"],["Z"]]}],rect:["x1","y1","x4","y2"]},leftRightArrowCallout:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 48123"]],gd:[["maxAdj2","*/ 50000 h ss"],["a2","pin 0 adj2 maxAdj2"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","*/ 50000 w ss"],["a3","pin 0 adj3 maxAdj3"],["q2","*/ a3 ss wd2"],["maxAdj4","+- 100000 0 q2"],["a4","pin 0 adj4 maxAdj4"],["dy1","*/ ss a2 100000"],["dy2","*/ ss a1 200000"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"],["y4","+- vc dy1 0"],["x1","*/ ss a3 100000"],["x4","+- r 0 x1"],["dx2","*/ w a4 200000"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"]],paths:[{commands:[["M","l","vc"],["L","x1","y1"],["L","x1","y2"],["L","x2","y2"],["L","x2","t"],["L","x3","t"],["L","x3","y2"],["L","x4","y2"],["L","x4","y1"],["L","r","vc"],["L","x4","y4"],["L","x4","y3"],["L","x3","y3"],["L","x3","b"],["L","x2","b"],["L","x2","y3"],["L","x1","y3"],["L","x1","y4"],["Z"]]}],rect:["x2","t","x3","b"]},leftRightCircularArrow:{av:[["adj1","val 12500"],["adj2","val 1142319"],["adj3","val 20457681"],["adj4","val 11942319"],["adj5","val 12500"]],gd:[["a5","pin 0 adj5 25000"],["maxAdj1","*/ a5 2 1"],["a1","pin 0 adj1 maxAdj1"],["enAng","pin 1 adj3 21599999"],["stAng","pin 0 adj4 21599999"],["th","*/ ss a1 100000"],["thh","*/ ss a5 100000"],["th2","*/ th 1 2"],["rw1","+- wd2 th2 thh"],["rh1","+- hd2 th2 thh"],["rw2","+- rw1 0 th"],["rh2","+- rh1 0 th"],["rw3","+- rw2 th2 0"],["rh3","+- rh2 th2 0"],["wtH","sin rw3 enAng"],["htH","cos rh3 enAng"],["dxH","cat2 rw3 htH wtH"],["dyH","sat2 rh3 htH wtH"],["xH","+- hc dxH 0"],["yH","+- vc dyH 0"],["rI","min rw2 rh2"],["u1","*/ dxH dxH 1"],["u2","*/ dyH dyH 1"],["u3","*/ rI rI 1"],["u4","+- u1 0 u3"],["u5","+- u2 0 u3"],["u6","*/ u4 u5 u1"],["u7","*/ u6 1 u2"],["u8","+- 1 0 u7"],["u9","sqrt u8"],["u10","*/ u4 1 dxH"],["u11","*/ u10 1 dyH"],["u12","+/ 1 u9 u11"],["u13","at2 1 u12"],["u14","+- u13 21600000 0"],["u15","?: u13 u13 u14"],["u16","+- u15 0 enAng"],["u17","+- u16 21600000 0"],["u18","?: u16 u16 u17"],["u19","+- u18 0 cd2"],["u20","+- u18 0 21600000"],["u21","?: u19 u20 u18"],["maxAng","abs u21"],["aAng","pin 0 adj2 maxAng"],["ptAng","+- enAng aAng 0"],["wtA","sin rw3 ptAng"],["htA","cos rh3 ptAng"],["dxA","cat2 rw3 htA wtA"],["dyA","sat2 rh3 htA wtA"],["xA","+- hc dxA 0"],["yA","+- vc dyA 0"],["dxG","cos thh ptAng"],["dyG","sin thh ptAng"],["xG","+- xH dxG 0"],["yG","+- yH dyG 0"],["dxB","cos thh ptAng"],["dyB","sin thh ptAng"],["xB","+- xH 0 dxB 0"],["yB","+- yH 0 dyB 0"],["sx1","+- xB 0 hc"],["sy1","+- yB 0 vc"],["sx2","+- xG 0 hc"],["sy2","+- yG 0 vc"],["rO","min rw1 rh1"],["x1O","*/ sx1 rO rw1"],["y1O","*/ sy1 rO rh1"],["x2O","*/ sx2 rO rw1"],["y2O","*/ sy2 rO rh1"],["dxO","+- x2O 0 x1O"],["dyO","+- y2O 0 y1O"],["dO","mod dxO dyO 0"],["q1","*/ x1O y2O 1"],["q2","*/ x2O y1O 1"],["DO","+- q1 0 q2"],["q3","*/ rO rO 1"],["q4","*/ dO dO 1"],["q5","*/ q3 q4 1"],["q6","*/ DO DO 1"],["q7","+- q5 0 q6"],["q8","max q7 0"],["sdelO","sqrt q8"],["ndyO","*/ dyO -1 1"],["sdyO","?: ndyO -1 1"],["q9","*/ sdyO dxO 1"],["q10","*/ q9 sdelO 1"],["q11","*/ DO dyO 1"],["dxF1","+/ q11 q10 q4"],["q12","+- q11 0 q10"],["dxF2","*/ q12 1 q4"],["adyO","abs dyO"],["q13","*/ adyO sdelO 1"],["q14","*/ DO dxO -1"],["dyF1","+/ q14 q13 q4"],["q15","+- q14 0 q13"],["dyF2","*/ q15 1 q4"],["q16","+- x2O 0 dxF1"],["q17","+- x2O 0 dxF2"],["q18","+- y2O 0 dyF1"],["q19","+- y2O 0 dyF2"],["q20","mod q16 q18 0"],["q21","mod q17 q19 0"],["q22","+- q21 0 q20"],["dxF","?: q22 dxF1 dxF2"],["dyF","?: q22 dyF1 dyF2"],["sdxF","*/ dxF rw1 rO"],["sdyF","*/ dyF rh1 rO"],["xF","+- hc sdxF 0"],["yF","+- vc sdyF 0"],["x1I","*/ sx1 rI rw2"],["y1I","*/ sy1 rI rh2"],["x2I","*/ sx2 rI rw2"],["y2I","*/ sy2 rI rh2"],["dxI","+- x2I 0 x1I"],["dyI","+- y2I 0 y1I"],["dI","mod dxI dyI 0"],["v1","*/ x1I y2I 1"],["v2","*/ x2I y1I 1"],["DI","+- v1 0 v2"],["v3","*/ rI rI 1"],["v4","*/ dI dI 1"],["v5","*/ v3 v4 1"],["v6","*/ DI DI 1"],["v7","+- v5 0 v6"],["v8","max v7 0"],["sdelI","sqrt v8"],["v9","*/ sdyO dxI 1"],["v10","*/ v9 sdelI 1"],["v11","*/ DI dyI 1"],["dxC1","+/ v11 v10 v4"],["v12","+- v11 0 v10"],["dxC2","*/ v12 1 v4"],["adyI","abs dyI"],["v13","*/ adyI sdelI 1"],["v14","*/ DI dxI -1"],["dyC1","+/ v14 v13 v4"],["v15","+- v14 0 v13"],["dyC2","*/ v15 1 v4"],["v16","+- x1I 0 dxC1"],["v17","+- x1I 0 dxC2"],["v18","+- y1I 0 dyC1"],["v19","+- y1I 0 dyC2"],["v20","mod v16 v18 0"],["v21","mod v17 v19 0"],["v22","+- v21 0 v20"],["dxC","?: v22 dxC1 dxC2"],["dyC","?: v22 dyC1 dyC2"],["sdxC","*/ dxC rw2 rI"],["sdyC","*/ dyC rh2 rI"],["xC","+- hc sdxC 0"],["yC","+- vc sdyC 0"],["wtI","sin rw3 stAng"],["htI","cos rh3 stAng"],["dxI","cat2 rw3 htI wtI"],["dyI","sat2 rh3 htI wtI"],["xI","+- hc dxI 0"],["yI","+- vc dyI 0"],["lptAng","+- stAng 0 aAng"],["wtL","sin rw3 lptAng"],["htL","cos rh3 lptAng"],["dxL","cat2 rw3 htL wtL"],["dyL","sat2 rh3 htL wtL"],["xL","+- hc dxL 0"],["yL","+- vc dyL 0"],["dxK","cos thh lptAng"],["dyK","sin thh lptAng"],["xK","+- xI dxK 0"],["yK","+- yI dyK 0"],["dxJ","cos thh lptAng"],["dyJ","sin thh lptAng"],["xJ","+- xI 0 dxJ 0"],["yJ","+- yI 0 dyJ 0"],["p1","+- xF 0 xC"],["p2","+- yF 0 yC"],["p3","mod p1 p2 0"],["p4","*/ p3 1 2"],["p5","+- p4 0 thh"],["xGp","?: p5 xF xG"],["yGp","?: p5 yF yG"],["xBp","?: p5 xC xB"],["yBp","?: p5 yC yB"],["en0","at2 sdxF sdyF"],["en1","+- en0 21600000 0"],["en2","?: en0 en0 en1"],["od0","+- en2 0 enAng"],["od1","+- od0 21600000 0"],["od2","?: od0 od0 od1"],["st0","+- stAng 0 od2"],["st1","+- st0 21600000 0"],["st2","?: st0 st0 st1"],["sw0","+- en2 0 st2"],["sw1","+- sw0 21600000 0"],["swAng","?: sw0 sw0 sw1"],["ist0","at2 sdxC sdyC"],["ist1","+- ist0 21600000 0"],["istAng","?: ist0 ist0 ist1"],["id0","+- istAng 0 enAng"],["id1","+- id0 0 21600000"],["id2","?: id0 id1 id0"],["ien0","+- stAng 0 id2"],["ien1","+- ien0 0 21600000"],["ien2","?: ien1 ien1 ien0"],["isw1","+- ien2 0 istAng"],["isw2","+- isw1 0 21600000"],["iswAng","?: isw1 isw2 isw1"],["wtE","sin rw1 st2"],["htE","cos rh1 st2"],["dxE","cat2 rw1 htE wtE"],["dyE","sat2 rh1 htE wtE"],["xE","+- hc dxE 0"],["yE","+- vc dyE 0"],["wtD","sin rw2 ien2"],["htD","cos rh2 ien2"],["dxD","cat2 rw2 htD wtD"],["dyD","sat2 rh2 htD wtD"],["xD","+- hc dxD 0"],["yD","+- vc dyD 0"],["xKp","?: p5 xE xK"],["yKp","?: p5 yE yK"],["xJp","?: p5 xD xJ"],["yJp","?: p5 yD yJ"],["aL","+- lptAng 0 cd4"],["aA","+- ptAng cd4 0"],["aB","+- ptAng cd2 0"],["aJ","+- lptAng cd2 0"],["idx","cos rw1 2700000"],["idy","sin rh1 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","xL","yL"],["L","xKp","yKp"],["L","xE","yE"],["A","rw1","rh1","st2","swAng"],["L","xGp","yGp"],["L","xA","yA"],["L","xBp","yBp"],["L","xC","yC"],["A","rw2","rh2","istAng","iswAng"],["L","xJp","yJp"],["Z"]]}],rect:["il","it","ir","ib"]},leftRightRibbon:{av:[["adj1","val 50000"],["adj2","val 50000"],["adj3","val 16667"]],gd:[["a3","pin 0 adj3 33333"],["maxAdj1","+- 100000 0 a3"],["a1","pin 0 adj1 maxAdj1"],["w1","+- wd2 0 wd32"],["maxAdj2","*/ 100000 w1 ss"],["a2","pin 0 adj2 maxAdj2"],["x1","*/ ss a2 100000"],["x4","+- r 0 x1"],["dy1","*/ h a1 200000"],["dy2","*/ h a3 -200000"],["ly1","+- vc dy2 dy1"],["ry4","+- vc dy1 dy2"],["ly2","+- ly1 dy1 0"],["ry3","+- b 0 ly2"],["ly4","*/ ly2 2 1"],["ry1","+- b 0 ly4"],["ly3","+- ly4 0 ly1"],["ry2","+- b 0 ly3"],["hR","*/ a3 ss 400000"],["x2","+- hc 0 wd32"],["x3","+- hc wd32 0"],["y1","+- ly1 hR 0"],["y2","+- ry2 0 hR"]],paths:[{commands:[["M","l","ly2"],["L","x1","t"],["L","x1","ly1"],["L","hc","ly1"],["A","wd32","hR","3cd4","cd2"],["A","wd32","hR","3cd4","-10800000"],["L","x4","ry2"],["L","x4","ry1"],["L","r","ry3"],["L","x4","b"],["L","x4","ry4"],["L","hc","ry4"],["A","wd32","hR","cd4","cd4"],["L","x2","ly3"],["L","x1","ly3"],["L","x1","ly4"],["Z"]],stroke:!1},{commands:[["M","x3","y1"],["A","wd32","hR","0","cd4"],["A","wd32","hR","3cd4","-10800000"],["L","x3","ry2"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","l","ly2"],["L","x1","t"],["L","x1","ly1"],["L","hc","ly1"],["A","wd32","hR","3cd4","cd2"],["A","wd32","hR","3cd4","-10800000"],["L","x4","ry2"],["L","x4","ry1"],["L","r","ry3"],["L","x4","b"],["L","x4","ry4"],["L","hc","ry4"],["A","wd32","hR","cd4","cd4"],["L","x2","ly3"],["L","x1","ly3"],["L","x1","ly4"],["Z"],["M","x3","y1"],["L","x3","ry2"],["M","x2","y2"],["L","x2","ly3"]],fill:"none"}],rect:["x1","ly1","x4","ry4"]},leftRightUpArrow:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"]],gd:[["a2","pin 0 adj2 50000"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["q1","+- 100000 0 maxAdj1"],["maxAdj3","*/ q1 1 2"],["a3","pin 0 adj3 maxAdj3"],["x1","*/ ss a3 100000"],["dx2","*/ ss a2 100000"],["x2","+- hc 0 dx2"],["x5","+- hc dx2 0"],["dx3","*/ ss a1 200000"],["x3","+- hc 0 dx3"],["x4","+- hc dx3 0"],["x6","+- r 0 x1"],["dy2","*/ ss a2 50000"],["y2","+- b 0 dy2"],["y4","+- b 0 dx2"],["y3","+- y4 0 dx3"],["y5","+- y4 dx3 0"],["il","*/ dx3 x1 dx2"],["ir","+- r 0 il"]],paths:[{commands:[["M","l","y4"],["L","x1","y2"],["L","x1","y3"],["L","x3","y3"],["L","x3","x1"],["L","x2","x1"],["L","hc","t"],["L","x5","x1"],["L","x4","x1"],["L","x4","y3"],["L","x6","y3"],["L","x6","y2"],["L","r","y4"],["L","x6","b"],["L","x6","y5"],["L","x1","y5"],["L","x1","b"],["Z"]]}],rect:["il","y3","ir","y5"]},leftUpArrow:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"]],gd:[["a2","pin 0 adj2 50000"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","+- 100000 0 maxAdj1"],["a3","pin 0 adj3 maxAdj3"],["x1","*/ ss a3 100000"],["dx2","*/ ss a2 50000"],["x2","+- r 0 dx2"],["y2","+- b 0 dx2"],["dx4","*/ ss a2 100000"],["x4","+- r 0 dx4"],["y4","+- b 0 dx4"],["dx3","*/ ss a1 200000"],["x3","+- x4 0 dx3"],["x5","+- x4 dx3 0"],["y3","+- y4 0 dx3"],["y5","+- y4 dx3 0"],["il","*/ dx3 x1 dx4"],["cx1","+/ x1 x5 2"],["cy1","+/ x1 y5 2"]],paths:[{commands:[["M","l","y4"],["L","x1","y2"],["L","x1","y3"],["L","x3","y3"],["L","x3","x1"],["L","x2","x1"],["L","x4","t"],["L","r","x1"],["L","x5","x1"],["L","x5","y5"],["L","x1","y5"],["L","x1","b"],["Z"]]}],rect:["il","y3","x4","y5"]},lightningBolt:{av:[],gd:[["x1","*/ w 5022 21600"],["x3","*/ w 8472 21600"],["x4","*/ w 8757 21600"],["x5","*/ w 10012 21600"],["x8","*/ w 12860 21600"],["x9","*/ w 13917 21600"],["x11","*/ w 16577 21600"],["y1","*/ h 3890 21600"],["y2","*/ h 6080 21600"],["y4","*/ h 7437 21600"],["y6","*/ h 9705 21600"],["y7","*/ h 12007 21600"],["y10","*/ h 14277 21600"],["y11","*/ h 14915 21600"]],paths:[{commands:[["M","8472","0"],["L","12860","6080"],["L","11050","6797"],["L","16577","12007"],["L","14767","12877"],["L","21600","21600"],["L","10012","14915"],["L","12222","13987"],["L","5022","9705"],["L","7602","8382"],["L","0","3890"],["Z"]],w:21600,h:21600}],rect:["x4","y4","x9","y10"]},line:{av:[],gd:[],paths:[{commands:[["M","l","t"],["L","r","b"]]}]},lineInv:{av:[],gd:[],paths:[{commands:[["M","l","b"],["L","r","t"]]}]},mathDivide:{av:[["adj1","val 23520"],["adj2","val 5880"],["adj3","val 11760"]],gd:[["a1","pin 1000 adj1 36745"],["ma1","+- 0 0 a1"],["ma3h","+/ 73490 ma1 4"],["ma3w","*/ 36745 w h"],["maxAdj3","min ma3h ma3w"],["a3","pin 1000 adj3 maxAdj3"],["m4a3","*/ -4 a3 1"],["maxAdj2","+- 73490 m4a3 a1"],["a2","pin 0 adj2 maxAdj2"],["dy1","*/ h a1 200000"],["yg","*/ h a2 100000"],["rad","*/ h a3 100000"],["dx1","*/ w 73490 200000"],["y3","+- vc 0 dy1"],["y4","+- vc dy1 0"],["a","+- yg rad 0"],["y2","+- y3 0 a"],["y1","+- y2 0 rad"],["y5","+- b 0 y1"],["x1","+- hc 0 dx1"],["x3","+- hc dx1 0"],["x2","+- hc 0 rad"]],paths:[{commands:[["M","hc","y1"],["A","rad","rad","3cd4","21600000"],["Z"],["M","hc","y5"],["A","rad","rad","cd4","21600000"],["Z"],["M","x1","y3"],["L","x3","y3"],["L","x3","y4"],["L","x1","y4"],["Z"]]}],rect:["x1","y3","x3","y4"]},mathEqual:{av:[["adj1","val 23520"],["adj2","val 11760"]],gd:[["a1","pin 0 adj1 36745"],["2a1","*/ a1 2 1"],["mAdj2","+- 100000 0 2a1"],["a2","pin 0 adj2 mAdj2"],["dy1","*/ h a1 100000"],["dy2","*/ h a2 200000"],["dx1","*/ w 73490 200000"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"],["y1","+- y2 0 dy1"],["y4","+- y3 dy1 0"],["x1","+- hc 0 dx1"],["x2","+- hc dx1 0"],["yC1","+/ y1 y2 2"],["yC2","+/ y3 y4 2"]],paths:[{commands:[["M","x1","y1"],["L","x2","y1"],["L","x2","y2"],["L","x1","y2"],["Z"],["M","x1","y3"],["L","x2","y3"],["L","x2","y4"],["L","x1","y4"],["Z"]]}],rect:["x1","y1","x2","y4"]},mathMinus:{av:[["adj1","val 23520"]],gd:[["a1","pin 0 adj1 100000"],["dy1","*/ h a1 200000"],["dx1","*/ w 73490 200000"],["y1","+- vc 0 dy1"],["y2","+- vc dy1 0"],["x1","+- hc 0 dx1"],["x2","+- hc dx1 0"]],paths:[{commands:[["M","x1","y1"],["L","x2","y1"],["L","x2","y2"],["L","x1","y2"],["Z"]]}],rect:["x1","y1","x2","y2"]},mathMultiply:{av:[["adj1","val 23520"]],gd:[["a1","pin 0 adj1 51965"],["th","*/ ss a1 100000"],["a","at2 w h"],["sa","sin 1 a"],["ca","cos 1 a"],["ta","tan 1 a"],["dl","mod w h 0"],["rw","*/ dl 51965 100000"],["lM","+- dl 0 rw"],["xM","*/ ca lM 2"],["yM","*/ sa lM 2"],["dxAM","*/ sa th 2"],["dyAM","*/ ca th 2"],["xA","+- xM 0 dxAM"],["yA","+- yM dyAM 0"],["xB","+- xM dxAM 0"],["yB","+- yM 0 dyAM"],["xBC","+- hc 0 xB"],["yBC","*/ xBC ta 1"],["yC","+- yBC yB 0"],["xD","+- r 0 xB"],["xE","+- r 0 xA"],["yFE","+- vc 0 yA"],["xFE","*/ yFE 1 ta"],["xF","+- xE 0 xFE"],["xL","+- xA xFE 0"],["yG","+- b 0 yA"],["yH","+- b 0 yB"],["yI","+- b 0 yC"],["xC2","+- r 0 xM"],["yC3","+- b 0 yM"]],paths:[{commands:[["M","xA","yA"],["L","xB","yB"],["L","hc","yC"],["L","xD","yB"],["L","xE","yA"],["L","xF","vc"],["L","xE","yG"],["L","xD","yH"],["L","hc","yI"],["L","xB","yH"],["L","xA","yG"],["L","xL","vc"],["Z"]]}],rect:["xA","yB","xE","yH"]},mathNotEqual:{av:[["adj1","val 23520"],["adj2","val 6600000"],["adj3","val 11760"]],gd:[["a1","pin 0 adj1 50000"],["crAng","pin 4200000 adj2 6600000"],["2a1","*/ a1 2 1"],["maxAdj3","+- 100000 0 2a1"],["a3","pin 0 adj3 maxAdj3"],["dy1","*/ h a1 100000"],["dy2","*/ h a3 200000"],["dx1","*/ w 73490 200000"],["x1","+- hc 0 dx1"],["x8","+- hc dx1 0"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"],["y1","+- y2 0 dy1"],["y4","+- y3 dy1 0"],["cadj2","+- crAng 0 cd4"],["xadj2","tan hd2 cadj2"],["len","mod xadj2 hd2 0"],["bhw","*/ len dy1 hd2"],["bhw2","*/ bhw 1 2"],["x7","+- hc xadj2 bhw2"],["dx67","*/ xadj2 y1 hd2"],["x6","+- x7 0 dx67"],["dx57","*/ xadj2 y2 hd2"],["x5","+- x7 0 dx57"],["dx47","*/ xadj2 y3 hd2"],["x4","+- x7 0 dx47"],["dx37","*/ xadj2 y4 hd2"],["x3","+- x7 0 dx37"],["dx27","*/ xadj2 2 1"],["x2","+- x7 0 dx27"],["rx7","+- x7 bhw 0"],["rx6","+- x6 bhw 0"],["rx5","+- x5 bhw 0"],["rx4","+- x4 bhw 0"],["rx3","+- x3 bhw 0"],["rx2","+- x2 bhw 0"],["dx7","*/ dy1 hd2 len"],["rxt","+- x7 dx7 0"],["lxt","+- rx7 0 dx7"],["rx","?: cadj2 rxt rx7"],["lx","?: cadj2 x7 lxt"],["dy3","*/ dy1 xadj2 len"],["dy4","+- 0 0 dy3"],["ry","?: cadj2 dy3 t"],["ly","?: cadj2 t dy4"],["dlx","+- w 0 rx"],["drx","+- w 0 lx"],["dly","+- h 0 ry"],["dry","+- h 0 ly"],["xC1","+/ rx lx 2"],["xC2","+/ drx dlx 2"],["yC1","+/ ry ly 2"],["yC2","+/ y1 y2 2"],["yC3","+/ y3 y4 2"],["yC4","+/ dry dly 2"]],paths:[{commands:[["M","x1","y1"],["L","x6","y1"],["L","lx","ly"],["L","rx","ry"],["L","rx6","y1"],["L","x8","y1"],["L","x8","y2"],["L","rx5","y2"],["L","rx4","y3"],["L","x8","y3"],["L","x8","y4"],["L","rx3","y4"],["L","drx","dry"],["L","dlx","dly"],["L","x3","y4"],["L","x1","y4"],["L","x1","y3"],["L","x4","y3"],["L","x5","y2"],["L","x1","y2"],["Z"]]}],rect:["x1","y1","x8","y4"]},mathPlus:{av:[["adj1","val 23520"]],gd:[["a1","pin 0 adj1 73490"],["dx1","*/ w 73490 200000"],["dy1","*/ h 73490 200000"],["dx2","*/ ss a1 200000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dx2"],["y3","+- vc dx2 0"],["y4","+- vc dy1 0"]],paths:[{commands:[["M","x1","y2"],["L","x2","y2"],["L","x2","y1"],["L","x3","y1"],["L","x3","y2"],["L","x4","y2"],["L","x4","y3"],["L","x3","y3"],["L","x3","y4"],["L","x2","y4"],["L","x2","y3"],["L","x1","y3"],["Z"]]}],rect:["x1","y2","x4","y3"]},moon:{av:[["adj","val 50000"]],gd:[["a","pin 0 adj 87500"],["g0","*/ ss a 100000"],["g0w","*/ g0 w ss"],["g1","+- ss 0 g0"],["g2","*/ g0 g0 g1"],["g3","*/ ss ss g1"],["g4","*/ g3 2 1"],["g5","+- g4 0 g2"],["g6","+- g5 0 g0"],["g6w","*/ g6 w ss"],["g7","*/ g5 1 2"],["g8","+- g7 0 g0"],["dy1","*/ g8 hd2 ss"],["g10h","+- vc 0 dy1"],["g11h","+- vc dy1 0"],["g12","*/ g0 9598 32768"],["g12w","*/ g12 w ss"],["g13","+- ss 0 g12"],["q1","*/ ss ss 1"],["q2","*/ g13 g13 1"],["q3","+- q1 0 q2"],["q4","sqrt q3"],["dy4","*/ q4 hd2 ss"],["g15h","+- vc 0 dy4"],["g16h","+- vc dy4 0"],["g17w","+- g6w 0 g0w"],["g18w","*/ g17w 1 2"],["dx2p","+- g0w g18w w"],["dx2","*/ dx2p -1 1"],["dy2","*/ hd2 -1 1"],["stAng1","at2 dx2 dy2"],["enAngp1","at2 dx2 hd2"],["enAng1","+- enAngp1 0 21600000"],["swAng1","+- enAng1 0 stAng1"]],paths:[{commands:[["M","r","b"],["A","w","hd2","cd4","cd2"],["A","g18w","dy1","stAng1","swAng1"],["Z"]]}],rect:["g12w","g15h","g0w","g16h"]},nonIsoscelesTrapezoid:{av:[["adj1","val 25000"],["adj2","val 25000"]],gd:[["maxAdj","*/ 50000 w ss"],["a1","pin 0 adj1 maxAdj"],["a2","pin 0 adj2 maxAdj"],["x1","*/ ss a1 200000"],["x2","*/ ss a1 100000"],["dx3","*/ ss a2 100000"],["x3","+- r 0 dx3"],["x4","+/ r x3 2"],["il","*/ wd3 a1 maxAdj"],["adjm","max a1 a2"],["it","*/ hd3 adjm maxAdj"],["irt","*/ wd3 a2 maxAdj"],["ir","+- r 0 irt"]],paths:[{commands:[["M","l","b"],["L","x2","t"],["L","x3","t"],["L","r","b"],["Z"]]}],rect:["il","it","ir","b"]},noSmoking:{av:[["adj","val 18750"]],gd:[["a","pin 0 adj 50000"],["dr","*/ ss a 100000"],["iwd2","+- wd2 0 dr"],["ihd2","+- hd2 0 dr"],["ang","at2 w h"],["ct","cos ihd2 ang"],["st","sin iwd2 ang"],["m","mod ct st 0"],["n","*/ iwd2 ihd2 m"],["drd2","*/ dr 1 2"],["dang","at2 n drd2"],["2dang","*/ dang 2 1"],["swAng","+- -10800000 2dang 0"],["t3","at2 w h"],["stAng1","+- t3 0 dang"],["stAng2","+- stAng1 0 cd2"],["ct1","cos ihd2 stAng1"],["st1","sin iwd2 stAng1"],["m1","mod ct1 st1 0"],["n1","*/ iwd2 ihd2 m1"],["dx1","cos n1 stAng1"],["dy1","sin n1 stAng1"],["x1","+- hc dx1 0"],["y1","+- vc dy1 0"],["x2","+- hc 0 dx1"],["y2","+- vc 0 dy1"],["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","l","vc"],["A","wd2","hd2","cd2","cd4"],["A","wd2","hd2","3cd4","cd4"],["A","wd2","hd2","0","cd4"],["A","wd2","hd2","cd4","cd4"],["Z"],["M","x1","y1"],["A","iwd2","ihd2","stAng1","swAng"],["Z"],["M","x2","y2"],["A","iwd2","ihd2","stAng2","swAng"],["Z"]]}],rect:["il","it","ir","ib"]},notchedRightArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 100000 w ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["dx2","*/ ss a2 100000"],["x2","+- r 0 dx2"],["dy1","*/ h a1 200000"],["y1","+- vc 0 dy1"],["y2","+- vc dy1 0"],["x1","*/ dy1 dx2 hd2"],["x3","+- r 0 x1"]],paths:[{commands:[["M","l","y1"],["L","x2","y1"],["L","x2","t"],["L","r","vc"],["L","x2","b"],["L","x2","y2"],["L","l","y2"],["L","x1","vc"],["Z"]]}],rect:["x1","y1","x3","y2"]},octagon:{av:[["adj","val 29289"]],gd:[["a","pin 0 adj 50000"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["y2","+- b 0 x1"],["il","*/ x1 1 2"],["ir","+- r 0 il"],["ib","+- b 0 il"]],paths:[{commands:[["M","l","x1"],["L","x1","t"],["L","x2","t"],["L","r","x1"],["L","r","y2"],["L","x2","b"],["L","x1","b"],["L","l","y2"],["Z"]]}],rect:["il","il","ir","ib"]},parallelogram:{av:[["adj","val 25000"]],gd:[["maxAdj","*/ 100000 w ss"],["a","pin 0 adj maxAdj"],["x1","*/ ss a 200000"],["x2","*/ ss a 100000"],["x6","+- r 0 x1"],["x5","+- r 0 x2"],["x3","*/ x5 1 2"],["x4","+- r 0 x3"],["il","*/ wd2 a maxAdj"],["q1","*/ 5 a maxAdj"],["q2","+/ 1 q1 12"],["il","*/ q2 w 1"],["it","*/ q2 h 1"],["ir","+- r 0 il"],["ib","+- b 0 it"],["q3","*/ h hc x2"],["y1","pin 0 q3 h"],["y2","+- b 0 y1"]],paths:[{commands:[["M","l","b"],["L","x2","t"],["L","r","t"],["L","x5","b"],["Z"]]}],rect:["il","it","ir","ib"]},pentagon:{av:[["hf","val 105146"],["vf","val 110557"]],gd:[["swd2","*/ wd2 hf 100000"],["shd2","*/ hd2 vf 100000"],["svc","*/ vc vf 100000"],["dx1","cos swd2 1080000"],["dx2","cos swd2 18360000"],["dy1","sin shd2 1080000"],["dy2","sin shd2 18360000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["y1","+- svc 0 dy1"],["y2","+- svc 0 dy2"],["it","*/ y1 dx2 dx1"]],paths:[{commands:[["M","x1","y1"],["L","hc","t"],["L","x4","y1"],["L","x3","y2"],["L","x2","y2"],["Z"]]}],rect:["x2","it","x3","y2"]},pie:{av:[["adj1","val 0"],["adj2","val 16200000"]],gd:[["stAng","pin 0 adj1 21599999"],["enAng","pin 0 adj2 21599999"],["sw1","+- enAng 0 stAng"],["sw2","+- sw1 21600000 0"],["swAng","?: sw1 sw1 sw2"],["wt1","sin wd2 stAng"],["ht1","cos hd2 stAng"],["dx1","cat2 wd2 ht1 wt1"],["dy1","sat2 hd2 ht1 wt1"],["x1","+- hc dx1 0"],["y1","+- vc dy1 0"],["wt2","sin wd2 enAng"],["ht2","cos hd2 enAng"],["dx2","cat2 wd2 ht2 wt2"],["dy2","sat2 hd2 ht2 wt2"],["x2","+- hc dx2 0"],["y2","+- vc dy2 0"],["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","x1","y1"],["A","wd2","hd2","stAng","swAng"],["L","hc","vc"],["Z"]]}],rect:["il","ir","it","ib"]},pieWedge:{av:[],gd:[["g1","cos w 13500000"],["g2","sin h 13500000"],["x1","+- r g1 0"],["y1","+- b g2 0"]],paths:[{commands:[["M","l","b"],["A","w","h","cd2","cd4"],["L","r","b"],["Z"]]}],rect:["x1","y1","r","b"]},plaque:{av:[["adj","val 16667"]],gd:[["a","pin 0 adj 50000"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["y2","+- b 0 x1"],["il","*/ x1 70711 100000"],["ir","+- r 0 il"],["ib","+- b 0 il"]],paths:[{commands:[["M","l","x1"],["A","x1","x1","cd4","-5400000"],["L","x2","t"],["A","x1","x1","cd2","-5400000"],["L","r","y2"],["A","x1","x1","3cd4","-5400000"],["L","x1","b"],["A","x1","x1","0","-5400000"],["Z"]]}],rect:["il","il","ir","ib"]},plaqueTabs:{av:[],gd:[["md","mod w h 0"],["dx","*/ 1 md 20"],["y1","+- 0 b dx"],["x1","+- 0 r dx"]],paths:[{commands:[["M","l","t"],["L","dx","t"],["A","dx","dx","0","cd4"],["Z"]]},{commands:[["M","l","y1"],["A","dx","dx","3cd4","cd4"],["L","l","b"],["Z"]]},{commands:[["M","r","t"],["L","r","dx"],["A","dx","dx","cd4","cd4"],["Z"]]},{commands:[["M","x1","b"],["A","dx","dx","cd2","cd4"],["L","r","b"],["Z"]]}],rect:["dx","dx","x1","y1"]},plus:{av:[["adj","val 25000"]],gd:[["a","pin 0 adj 50000"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["y2","+- b 0 x1"],["d","+- w 0 h"],["il","?: d l x1"],["ir","?: d r x2"],["it","?: d x1 t"],["ib","?: d y2 b"]],paths:[{commands:[["M","l","x1"],["L","x1","x1"],["L","x1","t"],["L","x2","t"],["L","x2","x1"],["L","r","x1"],["L","r","y2"],["L","x2","y2"],["L","x2","b"],["L","x1","b"],["L","x1","y2"],["L","l","y2"],["Z"]]}],rect:["il","it","ir","ib"]},quadArrow:{av:[["adj1","val 22500"],["adj2","val 22500"],["adj3","val 22500"]],gd:[["a2","pin 0 adj2 50000"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["q1","+- 100000 0 maxAdj1"],["maxAdj3","*/ q1 1 2"],["a3","pin 0 adj3 maxAdj3"],["x1","*/ ss a3 100000"],["dx2","*/ ss a2 100000"],["x2","+- hc 0 dx2"],["x5","+- hc dx2 0"],["dx3","*/ ss a1 200000"],["x3","+- hc 0 dx3"],["x4","+- hc dx3 0"],["x6","+- r 0 x1"],["y2","+- vc 0 dx2"],["y5","+- vc dx2 0"],["y3","+- vc 0 dx3"],["y4","+- vc dx3 0"],["y6","+- b 0 x1"],["il","*/ dx3 x1 dx2"],["ir","+- r 0 il"]],paths:[{commands:[["M","l","vc"],["L","x1","y2"],["L","x1","y3"],["L","x3","y3"],["L","x3","x1"],["L","x2","x1"],["L","hc","t"],["L","x5","x1"],["L","x4","x1"],["L","x4","y3"],["L","x6","y3"],["L","x6","y2"],["L","r","vc"],["L","x6","y5"],["L","x6","y4"],["L","x4","y4"],["L","x4","y6"],["L","x5","y6"],["L","hc","b"],["L","x2","y6"],["L","x3","y6"],["L","x3","y4"],["L","x1","y4"],["L","x1","y5"],["Z"]]}],rect:["il","y3","ir","y4"]},quadArrowCallout:{av:[["adj1","val 18515"],["adj2","val 18515"],["adj3","val 18515"],["adj4","val 48123"]],gd:[["a2","pin 0 adj2 50000"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","+- 50000 0 a2"],["a3","pin 0 adj3 maxAdj3"],["q2","*/ a3 2 1"],["maxAdj4","+- 100000 0 q2"],["a4","pin a1 adj4 maxAdj4"],["dx2","*/ ss a2 100000"],["dx3","*/ ss a1 200000"],["ah","*/ ss a3 100000"],["dx1","*/ w a4 200000"],["dy1","*/ h a4 200000"],["x8","+- r 0 ah"],["x2","+- hc 0 dx1"],["x7","+- hc dx1 0"],["x3","+- hc 0 dx2"],["x6","+- hc dx2 0"],["x4","+- hc 0 dx3"],["x5","+- hc dx3 0"],["y8","+- b 0 ah"],["y2","+- vc 0 dy1"],["y7","+- vc dy1 0"],["y3","+- vc 0 dx2"],["y6","+- vc dx2 0"],["y4","+- vc 0 dx3"],["y5","+- vc dx3 0"]],paths:[{commands:[["M","l","vc"],["L","ah","y3"],["L","ah","y4"],["L","x2","y4"],["L","x2","y2"],["L","x4","y2"],["L","x4","ah"],["L","x3","ah"],["L","hc","t"],["L","x6","ah"],["L","x5","ah"],["L","x5","y2"],["L","x7","y2"],["L","x7","y4"],["L","x8","y4"],["L","x8","y3"],["L","r","vc"],["L","x8","y6"],["L","x8","y5"],["L","x7","y5"],["L","x7","y7"],["L","x5","y7"],["L","x5","y8"],["L","x6","y8"],["L","hc","b"],["L","x3","y8"],["L","x4","y8"],["L","x4","y7"],["L","x2","y7"],["L","x2","y5"],["L","ah","y5"],["L","ah","y6"],["Z"]]}],rect:["x2","y2","x7","y7"]},rect:{av:[],gd:[],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]]}],rect:["l","t","r","b"]},ribbon:{av:[["adj1","val 16667"],["adj2","val 50000"]],gd:[["a1","pin 0 adj1 33333"],["a2","pin 25000 adj2 75000"],["x10","+- r 0 wd8"],["dx2","*/ w a2 200000"],["x2","+- hc 0 dx2"],["x9","+- hc dx2 0"],["x3","+- x2 wd32 0"],["x8","+- x9 0 wd32"],["x5","+- x2 wd8 0"],["x6","+- x9 0 wd8"],["x4","+- x5 0 wd32"],["x7","+- x6 wd32 0"],["y1","*/ h a1 200000"],["y2","*/ h a1 100000"],["y4","+- b 0 y2"],["y3","*/ y4 1 2"],["hR","*/ h a1 400000"],["y5","+- b 0 hR"],["y6","+- y2 0 hR"]],paths:[{commands:[["M","l","t"],["L","x4","t"],["A","wd32","hR","3cd4","cd2"],["L","x3","y1"],["A","wd32","hR","3cd4","-10800000"],["L","x8","y2"],["A","wd32","hR","cd4","-10800000"],["L","x7","y1"],["A","wd32","hR","cd4","cd2"],["L","r","t"],["L","x10","y3"],["L","r","y4"],["L","x9","y4"],["L","x9","y5"],["A","wd32","hR","0","cd4"],["L","x3","b"],["A","wd32","hR","cd4","cd4"],["L","x2","y4"],["L","l","y4"],["L","wd8","y3"],["Z"]],stroke:!1},{commands:[["M","x5","hR"],["A","wd32","hR","0","cd4"],["L","x3","y1"],["A","wd32","hR","3cd4","-10800000"],["L","x5","y2"],["Z"],["M","x6","hR"],["A","wd32","hR","cd2","-5400000"],["L","x8","y1"],["A","wd32","hR","3cd4","cd2"],["L","x6","y2"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","l","t"],["L","x4","t"],["A","wd32","hR","3cd4","cd2"],["L","x3","y1"],["A","wd32","hR","3cd4","-10800000"],["L","x8","y2"],["A","wd32","hR","cd4","-10800000"],["L","x7","y1"],["A","wd32","hR","cd4","cd2"],["L","r","t"],["L","x10","y3"],["L","r","y4"],["L","x9","y4"],["L","x9","y5"],["A","wd32","hR","0","cd4"],["L","x3","b"],["A","wd32","hR","cd4","cd4"],["L","x2","y4"],["L","l","y4"],["L","wd8","y3"],["Z"],["M","x5","hR"],["L","x5","y2"],["M","x6","y2"],["L","x6","hR"],["M","x2","y4"],["L","x2","y6"],["M","x9","y6"],["L","x9","y4"]],fill:"none"}],rect:["x2","y2","x9","b"]},ribbon2:{av:[["adj1","val 16667"],["adj2","val 50000"]],gd:[["a1","pin 0 adj1 33333"],["a2","pin 25000 adj2 75000"],["x10","+- r 0 wd8"],["dx2","*/ w a2 200000"],["x2","+- hc 0 dx2"],["x9","+- hc dx2 0"],["x3","+- x2 wd32 0"],["x8","+- x9 0 wd32"],["x5","+- x2 wd8 0"],["x6","+- x9 0 wd8"],["x4","+- x5 0 wd32"],["x7","+- x6 wd32 0"],["dy1","*/ h a1 200000"],["y1","+- b 0 dy1"],["dy2","*/ h a1 100000"],["y2","+- b 0 dy2"],["y4","+- t dy2 0"],["y3","+/ y4 b 2"],["hR","*/ h a1 400000"],["y6","+- b 0 hR"],["y7","+- y1 0 hR"]],paths:[{commands:[["M","l","b"],["L","x4","b"],["A","wd32","hR","cd4","-10800000"],["L","x3","y1"],["A","wd32","hR","cd4","cd2"],["L","x8","y2"],["A","wd32","hR","3cd4","cd2"],["L","x7","y1"],["A","wd32","hR","3cd4","-10800000"],["L","r","b"],["L","x10","y3"],["L","r","y4"],["L","x9","y4"],["L","x9","hR"],["A","wd32","hR","0","-5400000"],["L","x3","t"],["A","wd32","hR","3cd4","-5400000"],["L","x2","y4"],["L","l","y4"],["L","wd8","y3"],["Z"]],stroke:!1},{commands:[["M","x5","y6"],["A","wd32","hR","0","-5400000"],["L","x3","y1"],["A","wd32","hR","cd4","cd2"],["L","x5","y2"],["Z"],["M","x6","y6"],["A","wd32","hR","cd2","cd4"],["L","x8","y1"],["A","wd32","hR","cd4","-10800000"],["L","x6","y2"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","l","b"],["L","wd8","y3"],["L","l","y4"],["L","x2","y4"],["L","x2","hR"],["A","wd32","hR","cd2","cd4"],["L","x8","t"],["A","wd32","hR","3cd4","cd4"],["L","x9","y4"],["L","x9","y4"],["L","r","y4"],["L","x10","y3"],["L","r","b"],["L","x7","b"],["A","wd32","hR","cd4","cd2"],["L","x8","y1"],["A","wd32","hR","cd4","-10800000"],["L","x3","y2"],["A","wd32","hR","3cd4","-10800000"],["L","x4","y1"],["A","wd32","hR","3cd4","cd2"],["Z"],["M","x5","y2"],["L","x5","y6"],["M","x6","y6"],["L","x6","y2"],["M","x2","y7"],["L","x2","y4"],["M","x9","y4"],["L","x9","y7"]],fill:"none"}],rect:["x2","t","x9","y2"]},rightArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 100000 w ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["dx1","*/ ss a2 100000"],["x1","+- r 0 dx1"],["dy1","*/ h a1 200000"],["y1","+- vc 0 dy1"],["y2","+- vc dy1 0"],["dx2","*/ y1 dx1 hd2"],["x2","+- x1 dx2 0"]],paths:[{commands:[["M","l","y1"],["L","x1","y1"],["L","x1","t"],["L","r","vc"],["L","x1","b"],["L","x1","y2"],["L","l","y2"],["Z"]]}],rect:["l","y1","x2","y2"]},rightArrowCallout:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 64977"]],gd:[["maxAdj2","*/ 50000 h ss"],["a2","pin 0 adj2 maxAdj2"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","*/ 100000 w ss"],["a3","pin 0 adj3 maxAdj3"],["q2","*/ a3 ss w"],["maxAdj4","+- 100000 0 q2"],["a4","pin 0 adj4 maxAdj4"],["dy1","*/ ss a2 100000"],["dy2","*/ ss a1 200000"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"],["y4","+- vc dy1 0"],["dx3","*/ ss a3 100000"],["x3","+- r 0 dx3"],["x2","*/ w a4 100000"],["x1","*/ x2 1 2"]],paths:[{commands:[["M","l","t"],["L","x2","t"],["L","x2","y2"],["L","x3","y2"],["L","x3","y1"],["L","r","vc"],["L","x3","y4"],["L","x3","y3"],["L","x2","y3"],["L","x2","b"],["L","l","b"],["Z"]]}],rect:["l","t","x2","b"]},rightBrace:{av:[["adj1","val 8333"],["adj2","val 50000"]],gd:[["a2","pin 0 adj2 100000"],["q1","+- 100000 0 a2"],["q2","min q1 a2"],["q3","*/ q2 1 2"],["maxAdj1","*/ q3 h ss"],["a1","pin 0 adj1 maxAdj1"],["y1","*/ ss a1 100000"],["y3","*/ h a2 100000"],["y2","+- y3 0 y1"],["y4","+- b 0 y1"],["dx1","cos wd2 2700000"],["dy1","sin y1 2700000"],["ir","+- l dx1 0"],["it","+- y1 0 dy1"],["ib","+- b dy1 y1"]],paths:[{commands:[["M","l","t"],["A","wd2","y1","3cd4","cd4"],["L","hc","y2"],["A","wd2","y1","cd2","-5400000"],["A","wd2","y1","3cd4","-5400000"],["L","hc","y4"],["A","wd2","y1","0","cd4"],["Z"]],stroke:!1},{commands:[["M","l","t"],["A","wd2","y1","3cd4","cd4"],["L","hc","y2"],["A","wd2","y1","cd2","-5400000"],["A","wd2","y1","3cd4","-5400000"],["L","hc","y4"],["A","wd2","y1","0","cd4"]],fill:"none"}],rect:["l","it","ir","ib"]},rightBracket:{av:[["adj","val 8333"]],gd:[["maxAdj","*/ 50000 h ss"],["a","pin 0 adj maxAdj"],["y1","*/ ss a 100000"],["y2","+- b 0 y1"],["dx1","cos w 2700000"],["dy1","sin y1 2700000"],["ir","+- l dx1 0"],["it","+- y1 0 dy1"],["ib","+- b dy1 y1"]],paths:[{commands:[["M","l","t"],["A","w","y1","3cd4","cd4"],["L","r","y2"],["A","w","y1","0","cd4"],["Z"]],stroke:!1},{commands:[["M","l","t"],["A","w","y1","3cd4","cd4"],["L","r","y2"],["A","w","y1","0","cd4"]],fill:"none"}],rect:["l","it","ir","ib"]},round1Rect:{av:[["adj","val 16667"]],gd:[["a","pin 0 adj 50000"],["dx1","*/ ss a 100000"],["x1","+- r 0 dx1"],["idx","*/ dx1 29289 100000"],["ir","+- r 0 idx"]],paths:[{commands:[["M","l","t"],["L","x1","t"],["A","dx1","dx1","3cd4","cd4"],["L","r","b"],["L","l","b"],["Z"]]}],rect:["l","t","ir","b"]},round2DiagRect:{av:[["adj1","val 16667"],["adj2","val 0"]],gd:[["a1","pin 0 adj1 50000"],["a2","pin 0 adj2 50000"],["x1","*/ ss a1 100000"],["y1","+- b 0 x1"],["a","*/ ss a2 100000"],["x2","+- r 0 a"],["y2","+- b 0 a"],["dx1","*/ x1 29289 100000"],["dx2","*/ a 29289 100000"],["d","+- dx1 0 dx2"],["dx","?: d dx1 dx2"],["ir","+- r 0 dx"],["ib","+- b 0 dx"]],paths:[{commands:[["M","x1","t"],["L","x2","t"],["A","a","a","3cd4","cd4"],["L","r","y1"],["A","x1","x1","0","cd4"],["L","a","b"],["A","a","a","cd4","cd4"],["L","l","x1"],["A","x1","x1","cd2","cd4"],["Z"]]}],rect:["dx","dx","ir","ib"]},round2SameRect:{av:[["adj1","val 16667"],["adj2","val 0"]],gd:[["a1","pin 0 adj1 50000"],["a2","pin 0 adj2 50000"],["tx1","*/ ss a1 100000"],["tx2","+- r 0 tx1"],["bx1","*/ ss a2 100000"],["bx2","+- r 0 bx1"],["by1","+- b 0 bx1"],["d","+- tx1 0 bx1"],["tdx","*/ tx1 29289 100000"],["bdx","*/ bx1 29289 100000"],["il","?: d tdx bdx"],["ir","+- r 0 il"],["ib","+- b 0 bdx"]],paths:[{commands:[["M","tx1","t"],["L","tx2","t"],["A","tx1","tx1","3cd4","cd4"],["L","r","by1"],["A","bx1","bx1","0","cd4"],["L","bx1","b"],["A","bx1","bx1","cd4","cd4"],["L","l","tx1"],["A","tx1","tx1","cd2","cd4"],["Z"]]}],rect:["il","tdx","ir","ib"]},roundRect:{av:[["adj","val 16667"]],gd:[["a","pin 0 adj 50000"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["y2","+- b 0 x1"],["il","*/ x1 29289 100000"],["ir","+- r 0 il"],["ib","+- b 0 il"]],paths:[{commands:[["M","l","x1"],["A","x1","x1","cd2","cd4"],["L","x2","t"],["A","x1","x1","3cd4","cd4"],["L","r","y2"],["A","x1","x1","0","cd4"],["L","x1","b"],["A","x1","x1","cd4","cd4"],["Z"]]}],rect:["il","il","ir","ib"]},rtTriangle:{av:[],gd:[["it","*/ h 7 12"],["ir","*/ w 7 12"],["ib","*/ h 11 12"]],paths:[{commands:[["M","l","b"],["L","l","t"],["L","r","b"],["Z"]]}],rect:["wd12","it","ir","ib"]},smileyFace:{av:[["adj","val 4653"]],gd:[["a","pin -4653 adj 4653"],["x1","*/ w 4969 21699"],["x2","*/ w 6215 21600"],["x3","*/ w 13135 21600"],["x4","*/ w 16640 21600"],["y1","*/ h 7570 21600"],["y3","*/ h 16515 21600"],["dy2","*/ h a 100000"],["y2","+- y3 0 dy2"],["y4","+- y3 dy2 0"],["dy3","*/ h a 50000"],["y5","+- y4 dy3 0"],["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"],["wR","*/ w 1125 21600"],["hR","*/ h 1125 21600"]],paths:[{commands:[["M","l","vc"],["A","wd2","hd2","cd2","21600000"],["Z"]],stroke:!1},{commands:[["M","x2","y1"],["A","wR","hR","cd2","21600000"],["M","x3","y1"],["A","wR","hR","cd2","21600000"]],fill:"darkenLess"},{commands:[["M","x1","y2"],["Q","hc","y5","x4","y2"]],fill:"none"},{commands:[["M","l","vc"],["A","wd2","hd2","cd2","21600000"],["Z"]],fill:"none"}],rect:["il","it","ir","ib"]},snip1Rect:{av:[["adj","val 16667"]],gd:[["a","pin 0 adj 50000"],["dx1","*/ ss a 100000"],["x1","+- r 0 dx1"],["it","*/ dx1 1 2"],["ir","+/ x1 r 2"]],paths:[{commands:[["M","l","t"],["L","x1","t"],["L","r","dx1"],["L","r","b"],["L","l","b"],["Z"]]}],rect:["l","it","ir","b"]},snip2DiagRect:{av:[["adj1","val 0"],["adj2","val 16667"]],gd:[["a1","pin 0 adj1 50000"],["a2","pin 0 adj2 50000"],["lx1","*/ ss a1 100000"],["lx2","+- r 0 lx1"],["ly1","+- b 0 lx1"],["rx1","*/ ss a2 100000"],["rx2","+- r 0 rx1"],["ry1","+- b 0 rx1"],["d","+- lx1 0 rx1"],["dx","?: d lx1 rx1"],["il","*/ dx 1 2"],["ir","+- r 0 il"],["ib","+- b 0 il"]],paths:[{commands:[["M","lx1","t"],["L","rx2","t"],["L","r","rx1"],["L","r","ly1"],["L","lx2","b"],["L","rx1","b"],["L","l","ry1"],["L","l","lx1"],["Z"]]}],rect:["il","il","ir","ib"]},snip2SameRect:{av:[["adj1","val 16667"],["adj2","val 0"]],gd:[["a1","pin 0 adj1 50000"],["a2","pin 0 adj2 50000"],["tx1","*/ ss a1 100000"],["tx2","+- r 0 tx1"],["bx1","*/ ss a2 100000"],["bx2","+- r 0 bx1"],["by1","+- b 0 bx1"],["d","+- tx1 0 bx1"],["dx","?: d tx1 bx1"],["il","*/ dx 1 2"],["ir","+- r 0 il"],["it","*/ tx1 1 2"],["ib","+/ by1 b 2"]],paths:[{commands:[["M","tx1","t"],["L","tx2","t"],["L","r","tx1"],["L","r","by1"],["L","bx2","b"],["L","bx1","b"],["L","l","by1"],["L","l","tx1"],["Z"]]}],rect:["il","it","ir","ib"]},snipRoundRect:{av:[["adj1","val 16667"],["adj2","val 16667"]],gd:[["a1","pin 0 adj1 50000"],["a2","pin 0 adj2 50000"],["x1","*/ ss a1 100000"],["dx2","*/ ss a2 100000"],["x2","+- r 0 dx2"],["il","*/ x1 29289 100000"],["ir","+/ x2 r 2"]],paths:[{commands:[["M","x1","t"],["L","x2","t"],["L","r","dx2"],["L","r","b"],["L","l","b"],["L","l","x1"],["A","x1","x1","cd2","cd4"],["Z"]]}],rect:["il","il","ir","b"]},squareTabs:{av:[],gd:[["md","mod w h 0"],["dx","*/ 1 md 20"],["y1","+- 0 b dx"],["x1","+- 0 r dx"]],paths:[{commands:[["M","l","t"],["L","dx","t"],["L","dx","dx"],["L","l","dx"],["Z"]]},{commands:[["M","l","y1"],["L","dx","y1"],["L","dx","b"],["L","l","b"],["Z"]]},{commands:[["M","x1","t"],["L","r","t"],["L","r","dx"],["L","x1","dx"],["Z"]]},{commands:[["M","x1","y1"],["L","r","y1"],["L","r","b"],["L","x1","b"],["Z"]]}],rect:["dx","dx","x1","y1"]},star10:{av:[["adj","val 42533"],["hf","val 105146"]],gd:[["a","pin 0 adj 50000"],["swd2","*/ wd2 hf 100000"],["dx1","*/ swd2 95106 100000"],["dx2","*/ swd2 58779 100000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["dy1","*/ hd2 80902 100000"],["dy2","*/ hd2 30902 100000"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"],["y4","+- vc dy1 0"],["iwd2","*/ swd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx1","*/ iwd2 80902 100000"],["sdx2","*/ iwd2 30902 100000"],["sdy1","*/ ihd2 95106 100000"],["sdy2","*/ ihd2 58779 100000"],["sx1","+- hc 0 iwd2"],["sx2","+- hc 0 sdx1"],["sx3","+- hc 0 sdx2"],["sx4","+- hc sdx2 0"],["sx5","+- hc sdx1 0"],["sx6","+- hc iwd2 0"],["sy1","+- vc 0 sdy1"],["sy2","+- vc 0 sdy2"],["sy3","+- vc sdy2 0"],["sy4","+- vc sdy1 0"],["yAdj","+- vc 0 ihd2"]],paths:[{commands:[["M","x1","y2"],["L","sx2","sy2"],["L","x2","y1"],["L","sx3","sy1"],["L","hc","t"],["L","sx4","sy1"],["L","x3","y1"],["L","sx5","sy2"],["L","x4","y2"],["L","sx6","vc"],["L","x4","y3"],["L","sx5","sy3"],["L","x3","y4"],["L","sx4","sy4"],["L","hc","b"],["L","sx3","sy4"],["L","x2","y4"],["L","sx2","sy3"],["L","x1","y3"],["L","sx1","vc"],["Z"]]}],rect:["sx2","sy2","sx5","sy3"]},star12:{av:[["adj","val 37500"]],gd:[["a","pin 0 adj 50000"],["dx1","cos wd2 1800000"],["dy1","sin hd2 3600000"],["x1","+- hc 0 dx1"],["x3","*/ w 3 4"],["x4","+- hc dx1 0"],["y1","+- vc 0 dy1"],["y3","*/ h 3 4"],["y4","+- vc dy1 0"],["iwd2","*/ wd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx1","cos iwd2 900000"],["sdx2","cos iwd2 2700000"],["sdx3","cos iwd2 4500000"],["sdy1","sin ihd2 4500000"],["sdy2","sin ihd2 2700000"],["sdy3","sin ihd2 900000"],["sx1","+- hc 0 sdx1"],["sx2","+- hc 0 sdx2"],["sx3","+- hc 0 sdx3"],["sx4","+- hc sdx3 0"],["sx5","+- hc sdx2 0"],["sx6","+- hc sdx1 0"],["sy1","+- vc 0 sdy1"],["sy2","+- vc 0 sdy2"],["sy3","+- vc 0 sdy3"],["sy4","+- vc sdy3 0"],["sy5","+- vc sdy2 0"],["sy6","+- vc sdy1 0"],["yAdj","+- vc 0 ihd2"]],paths:[{commands:[["M","l","vc"],["L","sx1","sy3"],["L","x1","hd4"],["L","sx2","sy2"],["L","wd4","y1"],["L","sx3","sy1"],["L","hc","t"],["L","sx4","sy1"],["L","x3","y1"],["L","sx5","sy2"],["L","x4","hd4"],["L","sx6","sy3"],["L","r","vc"],["L","sx6","sy4"],["L","x4","y3"],["L","sx5","sy5"],["L","x3","y4"],["L","sx4","sy6"],["L","hc","b"],["L","sx3","sy6"],["L","wd4","y4"],["L","sx2","sy5"],["L","x1","y3"],["L","sx1","sy4"],["Z"]]}],rect:["sx2","sy2","sx5","sy5"]},star16:{av:[["adj","val 37500"]],gd:[["a","pin 0 adj 50000"],["dx1","*/ wd2 92388 100000"],["dx2","*/ wd2 70711 100000"],["dx3","*/ wd2 38268 100000"],["dy1","*/ hd2 92388 100000"],["dy2","*/ hd2 70711 100000"],["dy3","*/ hd2 38268 100000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc 0 dx3"],["x4","+- hc dx3 0"],["x5","+- hc dx2 0"],["x6","+- hc dx1 0"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc 0 dy3"],["y4","+- vc dy3 0"],["y5","+- vc dy2 0"],["y6","+- vc dy1 0"],["iwd2","*/ wd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx1","*/ iwd2 98079 100000"],["sdx2","*/ iwd2 83147 100000"],["sdx3","*/ iwd2 55557 100000"],["sdx4","*/ iwd2 19509 100000"],["sdy1","*/ ihd2 98079 100000"],["sdy2","*/ ihd2 83147 100000"],["sdy3","*/ ihd2 55557 100000"],["sdy4","*/ ihd2 19509 100000"],["sx1","+- hc 0 sdx1"],["sx2","+- hc 0 sdx2"],["sx3","+- hc 0 sdx3"],["sx4","+- hc 0 sdx4"],["sx5","+- hc sdx4 0"],["sx6","+- hc sdx3 0"],["sx7","+- hc sdx2 0"],["sx8","+- hc sdx1 0"],["sy1","+- vc 0 sdy1"],["sy2","+- vc 0 sdy2"],["sy3","+- vc 0 sdy3"],["sy4","+- vc 0 sdy4"],["sy5","+- vc sdy4 0"],["sy6","+- vc sdy3 0"],["sy7","+- vc sdy2 0"],["sy8","+- vc sdy1 0"],["idx","cos iwd2 2700000"],["idy","sin ihd2 2700000"],["il","+- hc 0 idx"],["it","+- vc 0 idy"],["ir","+- hc idx 0"],["ib","+- vc idy 0"],["yAdj","+- vc 0 ihd2"]],paths:[{commands:[["M","l","vc"],["L","sx1","sy4"],["L","x1","y3"],["L","sx2","sy3"],["L","x2","y2"],["L","sx3","sy2"],["L","x3","y1"],["L","sx4","sy1"],["L","hc","t"],["L","sx5","sy1"],["L","x4","y1"],["L","sx6","sy2"],["L","x5","y2"],["L","sx7","sy3"],["L","x6","y3"],["L","sx8","sy4"],["L","r","vc"],["L","sx8","sy5"],["L","x6","y4"],["L","sx7","sy6"],["L","x5","y5"],["L","sx6","sy7"],["L","x4","y6"],["L","sx5","sy8"],["L","hc","b"],["L","sx4","sy8"],["L","x3","y6"],["L","sx3","sy7"],["L","x2","y5"],["L","sx2","sy6"],["L","x1","y4"],["L","sx1","sy5"],["Z"]]}],rect:["il","it","ir","ib"]},star24:{av:[["adj","val 37500"]],gd:[["a","pin 0 adj 50000"],["dx1","cos wd2 900000"],["dx2","cos wd2 1800000"],["dx3","cos wd2 2700000"],["dx4","val wd4"],["dx5","cos wd2 4500000"],["dy1","sin hd2 4500000"],["dy2","sin hd2 3600000"],["dy3","sin hd2 2700000"],["dy4","val hd4"],["dy5","sin hd2 900000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc 0 dx3"],["x4","+- hc 0 dx4"],["x5","+- hc 0 dx5"],["x6","+- hc dx5 0"],["x7","+- hc dx4 0"],["x8","+- hc dx3 0"],["x9","+- hc dx2 0"],["x10","+- hc dx1 0"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc 0 dy3"],["y4","+- vc 0 dy4"],["y5","+- vc 0 dy5"],["y6","+- vc dy5 0"],["y7","+- vc dy4 0"],["y8","+- vc dy3 0"],["y9","+- vc dy2 0"],["y10","+- vc dy1 0"],["iwd2","*/ wd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx1","*/ iwd2 99144 100000"],["sdx2","*/ iwd2 92388 100000"],["sdx3","*/ iwd2 79335 100000"],["sdx4","*/ iwd2 60876 100000"],["sdx5","*/ iwd2 38268 100000"],["sdx6","*/ iwd2 13053 100000"],["sdy1","*/ ihd2 99144 100000"],["sdy2","*/ ihd2 92388 100000"],["sdy3","*/ ihd2 79335 100000"],["sdy4","*/ ihd2 60876 100000"],["sdy5","*/ ihd2 38268 100000"],["sdy6","*/ ihd2 13053 100000"],["sx1","+- hc 0 sdx1"],["sx2","+- hc 0 sdx2"],["sx3","+- hc 0 sdx3"],["sx4","+- hc 0 sdx4"],["sx5","+- hc 0 sdx5"],["sx6","+- hc 0 sdx6"],["sx7","+- hc sdx6 0"],["sx8","+- hc sdx5 0"],["sx9","+- hc sdx4 0"],["sx10","+- hc sdx3 0"],["sx11","+- hc sdx2 0"],["sx12","+- hc sdx1 0"],["sy1","+- vc 0 sdy1"],["sy2","+- vc 0 sdy2"],["sy3","+- vc 0 sdy3"],["sy4","+- vc 0 sdy4"],["sy5","+- vc 0 sdy5"],["sy6","+- vc 0 sdy6"],["sy7","+- vc sdy6 0"],["sy8","+- vc sdy5 0"],["sy9","+- vc sdy4 0"],["sy10","+- vc sdy3 0"],["sy11","+- vc sdy2 0"],["sy12","+- vc sdy1 0"],["idx","cos iwd2 2700000"],["idy","sin ihd2 2700000"],["il","+- hc 0 idx"],["it","+- vc 0 idy"],["ir","+- hc idx 0"],["ib","+- vc idy 0"],["yAdj","+- vc 0 ihd2"]],paths:[{commands:[["M","l","vc"],["L","sx1","sy6"],["L","x1","y5"],["L","sx2","sy5"],["L","x2","y4"],["L","sx3","sy4"],["L","x3","y3"],["L","sx4","sy3"],["L","x4","y2"],["L","sx5","sy2"],["L","x5","y1"],["L","sx6","sy1"],["L","hc","t"],["L","sx7","sy1"],["L","x6","y1"],["L","sx8","sy2"],["L","x7","y2"],["L","sx9","sy3"],["L","x8","y3"],["L","sx10","sy4"],["L","x9","y4"],["L","sx11","sy5"],["L","x10","y5"],["L","sx12","sy6"],["L","r","vc"],["L","sx12","sy7"],["L","x10","y6"],["L","sx11","sy8"],["L","x9","y7"],["L","sx10","sy9"],["L","x8","y8"],["L","sx9","sy10"],["L","x7","y9"],["L","sx8","sy11"],["L","x6","y10"],["L","sx7","sy12"],["L","hc","b"],["L","sx6","sy12"],["L","x5","y10"],["L","sx5","sy11"],["L","x4","y9"],["L","sx4","sy10"],["L","x3","y8"],["L","sx3","sy9"],["L","x2","y7"],["L","sx2","sy8"],["L","x1","y6"],["L","sx1","sy7"],["Z"]]}],rect:["il","it","ir","ib"]},star32:{av:[["adj","val 37500"]],gd:[["a","pin 0 adj 50000"],["dx1","*/ wd2 98079 100000"],["dx2","*/ wd2 92388 100000"],["dx3","*/ wd2 83147 100000"],["dx4","cos wd2 2700000"],["dx5","*/ wd2 55557 100000"],["dx6","*/ wd2 38268 100000"],["dx7","*/ wd2 19509 100000"],["dy1","*/ hd2 98079 100000"],["dy2","*/ hd2 92388 100000"],["dy3","*/ hd2 83147 100000"],["dy4","sin hd2 2700000"],["dy5","*/ hd2 55557 100000"],["dy6","*/ hd2 38268 100000"],["dy7","*/ hd2 19509 100000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc 0 dx3"],["x4","+- hc 0 dx4"],["x5","+- hc 0 dx5"],["x6","+- hc 0 dx6"],["x7","+- hc 0 dx7"],["x8","+- hc dx7 0"],["x9","+- hc dx6 0"],["x10","+- hc dx5 0"],["x11","+- hc dx4 0"],["x12","+- hc dx3 0"],["x13","+- hc dx2 0"],["x14","+- hc dx1 0"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc 0 dy3"],["y4","+- vc 0 dy4"],["y5","+- vc 0 dy5"],["y6","+- vc 0 dy6"],["y7","+- vc 0 dy7"],["y8","+- vc dy7 0"],["y9","+- vc dy6 0"],["y10","+- vc dy5 0"],["y11","+- vc dy4 0"],["y12","+- vc dy3 0"],["y13","+- vc dy2 0"],["y14","+- vc dy1 0"],["iwd2","*/ wd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx1","*/ iwd2 99518 100000"],["sdx2","*/ iwd2 95694 100000"],["sdx3","*/ iwd2 88192 100000"],["sdx4","*/ iwd2 77301 100000"],["sdx5","*/ iwd2 63439 100000"],["sdx6","*/ iwd2 47140 100000"],["sdx7","*/ iwd2 29028 100000"],["sdx8","*/ iwd2 9802 100000"],["sdy1","*/ ihd2 99518 100000"],["sdy2","*/ ihd2 95694 100000"],["sdy3","*/ ihd2 88192 100000"],["sdy4","*/ ihd2 77301 100000"],["sdy5","*/ ihd2 63439 100000"],["sdy6","*/ ihd2 47140 100000"],["sdy7","*/ ihd2 29028 100000"],["sdy8","*/ ihd2 9802 100000"],["sx1","+- hc 0 sdx1"],["sx2","+- hc 0 sdx2"],["sx3","+- hc 0 sdx3"],["sx4","+- hc 0 sdx4"],["sx5","+- hc 0 sdx5"],["sx6","+- hc 0 sdx6"],["sx7","+- hc 0 sdx7"],["sx8","+- hc 0 sdx8"],["sx9","+- hc sdx8 0"],["sx10","+- hc sdx7 0"],["sx11","+- hc sdx6 0"],["sx12","+- hc sdx5 0"],["sx13","+- hc sdx4 0"],["sx14","+- hc sdx3 0"],["sx15","+- hc sdx2 0"],["sx16","+- hc sdx1 0"],["sy1","+- vc 0 sdy1"],["sy2","+- vc 0 sdy2"],["sy3","+- vc 0 sdy3"],["sy4","+- vc 0 sdy4"],["sy5","+- vc 0 sdy5"],["sy6","+- vc 0 sdy6"],["sy7","+- vc 0 sdy7"],["sy8","+- vc 0 sdy8"],["sy9","+- vc sdy8 0"],["sy10","+- vc sdy7 0"],["sy11","+- vc sdy6 0"],["sy12","+- vc sdy5 0"],["sy13","+- vc sdy4 0"],["sy14","+- vc sdy3 0"],["sy15","+- vc sdy2 0"],["sy16","+- vc sdy1 0"],["idx","cos iwd2 2700000"],["idy","sin ihd2 2700000"],["il","+- hc 0 idx"],["it","+- vc 0 idy"],["ir","+- hc idx 0"],["ib","+- vc idy 0"],["yAdj","+- vc 0 ihd2"]],paths:[{commands:[["M","l","vc"],["L","sx1","sy8"],["L","x1","y7"],["L","sx2","sy7"],["L","x2","y6"],["L","sx3","sy6"],["L","x3","y5"],["L","sx4","sy5"],["L","x4","y4"],["L","sx5","sy4"],["L","x5","y3"],["L","sx6","sy3"],["L","x6","y2"],["L","sx7","sy2"],["L","x7","y1"],["L","sx8","sy1"],["L","hc","t"],["L","sx9","sy1"],["L","x8","y1"],["L","sx10","sy2"],["L","x9","y2"],["L","sx11","sy3"],["L","x10","y3"],["L","sx12","sy4"],["L","x11","y4"],["L","sx13","sy5"],["L","x12","y5"],["L","sx14","sy6"],["L","x13","y6"],["L","sx15","sy7"],["L","x14","y7"],["L","sx16","sy8"],["L","r","vc"],["L","sx16","sy9"],["L","x14","y8"],["L","sx15","sy10"],["L","x13","y9"],["L","sx14","sy11"],["L","x12","y10"],["L","sx13","sy12"],["L","x11","y11"],["L","sx12","sy13"],["L","x10","y12"],["L","sx11","sy14"],["L","x9","y13"],["L","sx10","sy15"],["L","x8","y14"],["L","sx9","sy16"],["L","hc","b"],["L","sx8","sy16"],["L","x7","y14"],["L","sx7","sy15"],["L","x6","y13"],["L","sx6","sy14"],["L","x5","y12"],["L","sx5","sy13"],["L","x4","y11"],["L","sx4","sy12"],["L","x3","y10"],["L","sx3","sy11"],["L","x2","y9"],["L","sx2","sy10"],["L","x1","y8"],["L","sx1","sy9"],["Z"]]}],rect:["il","it","ir","ib"]},star4:{av:[["adj","val 12500"]],gd:[["a","pin 0 adj 50000"],["iwd2","*/ wd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx","cos iwd2 2700000"],["sdy","sin ihd2 2700000"],["sx1","+- hc 0 sdx"],["sx2","+- hc sdx 0"],["sy1","+- vc 0 sdy"],["sy2","+- vc sdy 0"],["yAdj","+- vc 0 ihd2"]],paths:[{commands:[["M","l","vc"],["L","sx1","sy1"],["L","hc","t"],["L","sx2","sy1"],["L","r","vc"],["L","sx2","sy2"],["L","hc","b"],["L","sx1","sy2"],["Z"]]}],rect:["sx1","sy1","sx2","sy2"]},star5:{av:[["adj","val 19098"],["hf","val 105146"],["vf","val 110557"]],gd:[["a","pin 0 adj 50000"],["swd2","*/ wd2 hf 100000"],["shd2","*/ hd2 vf 100000"],["svc","*/ vc vf 100000"],["dx1","cos swd2 1080000"],["dx2","cos swd2 18360000"],["dy1","sin shd2 1080000"],["dy2","sin shd2 18360000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["y1","+- svc 0 dy1"],["y2","+- svc 0 dy2"],["iwd2","*/ swd2 a 50000"],["ihd2","*/ shd2 a 50000"],["sdx1","cos iwd2 20520000"],["sdx2","cos iwd2 3240000"],["sdy1","sin ihd2 3240000"],["sdy2","sin ihd2 20520000"],["sx1","+- hc 0 sdx1"],["sx2","+- hc 0 sdx2"],["sx3","+- hc sdx2 0"],["sx4","+- hc sdx1 0"],["sy1","+- svc 0 sdy1"],["sy2","+- svc 0 sdy2"],["sy3","+- svc ihd2 0"],["yAdj","+- svc 0 ihd2"]],paths:[{commands:[["M","x1","y1"],["L","sx2","sy1"],["L","hc","t"],["L","sx3","sy1"],["L","x4","y1"],["L","sx4","sy2"],["L","x3","y2"],["L","hc","sy3"],["L","x2","y2"],["L","sx1","sy2"],["Z"]]}],rect:["sx1","sy1","sx4","sy3"]},star6:{av:[["adj","val 28868"],["hf","val 115470"]],gd:[["a","pin 0 adj 50000"],["swd2","*/ wd2 hf 100000"],["dx1","cos swd2 1800000"],["x1","+- hc 0 dx1"],["x2","+- hc dx1 0"],["y2","+- vc hd4 0"],["iwd2","*/ swd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx2","*/ iwd2 1 2"],["sx1","+- hc 0 iwd2"],["sx2","+- hc 0 sdx2"],["sx3","+- hc sdx2 0"],["sx4","+- hc iwd2 0"],["sdy1","sin ihd2 3600000"],["sy1","+- vc 0 sdy1"],["sy2","+- vc sdy1 0"],["yAdj","+- vc 0 ihd2"]],paths:[{commands:[["M","x1","hd4"],["L","sx2","sy1"],["L","hc","t"],["L","sx3","sy1"],["L","x2","hd4"],["L","sx4","vc"],["L","x2","y2"],["L","sx3","sy2"],["L","hc","b"],["L","sx2","sy2"],["L","x1","y2"],["L","sx1","vc"],["Z"]]}],rect:["sx1","sy1","sx4","sy2"]},star7:{av:[["adj","val 34601"],["hf","val 102572"],["vf","val 105210"]],gd:[["a","pin 0 adj 50000"],["swd2","*/ wd2 hf 100000"],["shd2","*/ hd2 vf 100000"],["svc","*/ vc vf 100000"],["dx1","*/ swd2 97493 100000"],["dx2","*/ swd2 78183 100000"],["dx3","*/ swd2 43388 100000"],["dy1","*/ shd2 62349 100000"],["dy2","*/ shd2 22252 100000"],["dy3","*/ shd2 90097 100000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc 0 dx3"],["x4","+- hc dx3 0"],["x5","+- hc dx2 0"],["x6","+- hc dx1 0"],["y1","+- svc 0 dy1"],["y2","+- svc dy2 0"],["y3","+- svc dy3 0"],["iwd2","*/ swd2 a 50000"],["ihd2","*/ shd2 a 50000"],["sdx1","*/ iwd2 97493 100000"],["sdx2","*/ iwd2 78183 100000"],["sdx3","*/ iwd2 43388 100000"],["sx1","+- hc 0 sdx1"],["sx2","+- hc 0 sdx2"],["sx3","+- hc 0 sdx3"],["sx4","+- hc sdx3 0"],["sx5","+- hc sdx2 0"],["sx6","+- hc sdx1 0"],["sdy1","*/ ihd2 90097 100000"],["sdy2","*/ ihd2 22252 100000"],["sdy3","*/ ihd2 62349 100000"],["sy1","+- svc 0 sdy1"],["sy2","+- svc 0 sdy2"],["sy3","+- svc sdy3 0"],["sy4","+- svc ihd2 0"],["yAdj","+- svc 0 ihd2"]],paths:[{commands:[["M","x1","y2"],["L","sx1","sy2"],["L","x2","y1"],["L","sx3","sy1"],["L","hc","t"],["L","sx4","sy1"],["L","x5","y1"],["L","sx6","sy2"],["L","x6","y2"],["L","sx5","sy3"],["L","x4","y3"],["L","hc","sy4"],["L","x3","y3"],["L","sx2","sy3"],["Z"]]}],rect:["sx2","sy1","sx5","sy3"]},star8:{av:[["adj","val 37500"]],gd:[["a","pin 0 adj 50000"],["dx1","cos wd2 2700000"],["x1","+- hc 0 dx1"],["x2","+- hc dx1 0"],["dy1","sin hd2 2700000"],["y1","+- vc 0 dy1"],["y2","+- vc dy1 0"],["iwd2","*/ wd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx1","*/ iwd2 92388 100000"],["sdx2","*/ iwd2 38268 100000"],["sdy1","*/ ihd2 92388 100000"],["sdy2","*/ ihd2 38268 100000"],["sx1","+- hc 0 sdx1"],["sx2","+- hc 0 sdx2"],["sx3","+- hc sdx2 0"],["sx4","+- hc sdx1 0"],["sy1","+- vc 0 sdy1"],["sy2","+- vc 0 sdy2"],["sy3","+- vc sdy2 0"],["sy4","+- vc sdy1 0"],["yAdj","+- vc 0 ihd2"]],paths:[{commands:[["M","l","vc"],["L","sx1","sy2"],["L","x1","y1"],["L","sx2","sy1"],["L","hc","t"],["L","sx3","sy1"],["L","x2","y1"],["L","sx4","sy2"],["L","r","vc"],["L","sx4","sy3"],["L","x2","y2"],["L","sx3","sy4"],["L","hc","b"],["L","sx2","sy4"],["L","x1","y2"],["L","sx1","sy3"],["Z"]]}],rect:["sx1","sy1","sx4","sy4"]},straightConnector1:{av:[],gd:[],paths:[{commands:[["M","l","t"],["L","r","b"]],fill:"none"}],rect:["l","t","r","b"]},stripedRightArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 84375 w ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["x4","*/ ss 5 32"],["dx5","*/ ss a2 100000"],["x5","+- r 0 dx5"],["dy1","*/ h a1 200000"],["y1","+- vc 0 dy1"],["y2","+- vc dy1 0"],["dx6","*/ dy1 dx5 hd2"],["x6","+- r 0 dx6"]],paths:[{commands:[["M","l","y1"],["L","ssd32","y1"],["L","ssd32","y2"],["L","l","y2"],["Z"],["M","ssd16","y1"],["L","ssd8","y1"],["L","ssd8","y2"],["L","ssd16","y2"],["Z"],["M","x4","y1"],["L","x5","y1"],["L","x5","t"],["L","r","vc"],["L","x5","b"],["L","x5","y2"],["L","x4","y2"],["Z"]]}],rect:["x4","y1","x6","y2"]},sun:{av:[["adj","val 25000"]],gd:[["a","pin 12500 adj 46875"],["g0","+- 50000 0 a"],["g1","*/ g0 30274 32768"],["g2","*/ g0 12540 32768"],["g3","+- g1 50000 0"],["g4","+- g2 50000 0"],["g5","+- 50000 0 g1"],["g6","+- 50000 0 g2"],["g7","*/ g0 23170 32768"],["g8","+- 50000 g7 0"],["g9","+- 50000 0 g7"],["g10","*/ g5 3 4"],["g11","*/ g6 3 4"],["g12","+- g10 3662 0"],["g13","+- g11 3662 0"],["g14","+- g11 12500 0"],["g15","+- 100000 0 g10"],["g16","+- 100000 0 g12"],["g17","+- 100000 0 g13"],["g18","+- 100000 0 g14"],["ox1","*/ w 18436 21600"],["oy1","*/ h 3163 21600"],["ox2","*/ w 3163 21600"],["oy2","*/ h 18436 21600"],["x8","*/ w g8 100000"],["x9","*/ w g9 100000"],["x10","*/ w g10 100000"],["x12","*/ w g12 100000"],["x13","*/ w g13 100000"],["x14","*/ w g14 100000"],["x15","*/ w g15 100000"],["x16","*/ w g16 100000"],["x17","*/ w g17 100000"],["x18","*/ w g18 100000"],["x19","*/ w a 100000"],["wR","*/ w g0 100000"],["hR","*/ h g0 100000"],["y8","*/ h g8 100000"],["y9","*/ h g9 100000"],["y10","*/ h g10 100000"],["y12","*/ h g12 100000"],["y13","*/ h g13 100000"],["y14","*/ h g14 100000"],["y15","*/ h g15 100000"],["y16","*/ h g16 100000"],["y17","*/ h g17 100000"],["y18","*/ h g18 100000"]],paths:[{commands:[["M","r","vc"],["L","x15","y18"],["L","x15","y14"],["Z"],["M","ox1","oy1"],["L","x16","y13"],["L","x17","y12"],["Z"],["M","hc","t"],["L","x18","y10"],["L","x14","y10"],["Z"],["M","ox2","oy1"],["L","x13","y12"],["L","x12","y13"],["Z"],["M","l","vc"],["L","x10","y14"],["L","x10","y18"],["Z"],["M","ox2","oy2"],["L","x12","y17"],["L","x13","y16"],["Z"],["M","hc","b"],["L","x14","y15"],["L","x18","y15"],["Z"],["M","ox1","oy2"],["L","x17","y16"],["L","x16","y17"],["Z"],["M","x19","vc"],["A","wR","hR","cd2","21600000"],["Z"]]}],rect:["x9","y9","x8","y8"]},swooshArrow:{av:[["adj1","val 25000"],["adj2","val 16667"]],gd:[["a1","pin 1 adj1 75000"],["maxAdj2","*/ 70000 w ss"],["a2","pin 0 adj2 maxAdj2"],["ad1","*/ h a1 100000"],["ad2","*/ ss a2 100000"],["xB","+- r 0 ad2"],["yB","+- t ssd8 0"],["alfa","*/ cd4 1 14"],["dx0","tan ssd8 alfa"],["xC","+- xB 0 dx0"],["dx1","tan ad1 alfa"],["yF","+- yB ad1 0"],["xF","+- xB dx1 0"],["xE","+- xF dx0 0"],["yE","+- yF ssd8 0"],["dy2","+- yE 0 t"],["dy22","*/ dy2 1 2"],["dy3","*/ h 1 20"],["yD","+- t dy22 dy3"],["dy4","*/ hd6 1 1"],["yP1","+- hd6 dy4 0"],["xP1","val wd6"],["dy5","*/ hd6 1 2"],["yP2","+- yF dy5 0"],["xP2","val wd4"]],paths:[{commands:[["M","l","b"],["Q","xP1","yP1","xB","yB"],["L","xC","t"],["L","r","yD"],["L","xE","yE"],["L","xF","yF"],["Q","xP2","yP2","l","b"],["Z"]]}],rect:["l","t","r","b"]},teardrop:{av:[["adj","val 100000"]],gd:[["a","pin 0 adj 200000"],["r2","sqrt 2"],["tw","*/ wd2 r2 1"],["th","*/ hd2 r2 1"],["sw","*/ tw a 100000"],["sh","*/ th a 100000"],["dx1","cos sw 2700000"],["dy1","sin sh 2700000"],["x1","+- hc dx1 0"],["y1","+- vc 0 dy1"],["x2","+/ hc x1 2"],["y2","+/ vc y1 2"],["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","l","vc"],["A","wd2","hd2","cd2","cd4"],["Q","x2","t","x1","y1"],["Q","r","y2","r","vc"],["A","wd2","hd2","0","cd4"],["A","wd2","hd2","cd4","cd4"],["Z"]]}],rect:["il","it","ir","ib"]},trapezoid:{av:[["adj","val 25000"]],gd:[["maxAdj","*/ 50000 w ss"],["a","pin 0 adj maxAdj"],["x1","*/ ss a 200000"],["x2","*/ ss a 100000"],["x3","+- r 0 x2"],["x4","+- r 0 x1"],["il","*/ wd3 a maxAdj"],["it","*/ hd3 a maxAdj"],["ir","+- r 0 il"]],paths:[{commands:[["M","l","b"],["L","x2","t"],["L","x3","t"],["L","r","b"],["Z"]]}],rect:["il","it","ir","b"]},triangle:{av:[["adj","val 50000"]],gd:[["a","pin 0 adj 100000"],["x1","*/ w a 200000"],["x2","*/ w a 100000"],["x3","+- x1 wd2 0"]],paths:[{commands:[["M","l","b"],["L","x2","t"],["L","r","b"],["Z"]]}],rect:["x1","vc","x3","b"]},upArrowCallout:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 64977"]],gd:[["maxAdj2","*/ 50000 w ss"],["a2","pin 0 adj2 maxAdj2"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","*/ 100000 h ss"],["a3","pin 0 adj3 maxAdj3"],["q2","*/ a3 ss h"],["maxAdj4","+- 100000 0 q2"],["a4","pin 0 adj4 maxAdj4"],["dx1","*/ ss a2 100000"],["dx2","*/ ss a1 200000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["y1","*/ ss a3 100000"],["dy2","*/ h a4 100000"],["y2","+- b 0 dy2"],["y3","+/ y2 b 2"]],paths:[{commands:[["M","l","y2"],["L","x2","y2"],["L","x2","y1"],["L","x1","y1"],["L","hc","t"],["L","x4","y1"],["L","x3","y1"],["L","x3","y2"],["L","r","y2"],["L","r","b"],["L","l","b"],["Z"]]}],rect:["l","y2","r","b"]},upDownArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 50000 h ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["y2","*/ ss a2 100000"],["y3","+- b 0 y2"],["dx1","*/ w a1 200000"],["x1","+- hc 0 dx1"],["x2","+- hc dx1 0"],["dy1","*/ x1 y2 wd2"],["y1","+- y2 0 dy1"],["y4","+- y3 dy1 0"]],paths:[{commands:[["M","l","y2"],["L","hc","t"],["L","r","y2"],["L","x2","y2"],["L","x2","y3"],["L","r","y3"],["L","hc","b"],["L","l","y3"],["L","x1","y3"],["L","x1","y2"],["Z"]]}],rect:["x1","y1","x2","y4"]},upDownArrowCallout:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 48123"]],gd:[["maxAdj2","*/ 50000 w ss"],["a2","pin 0 adj2 maxAdj2"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","*/ 50000 h ss"],["a3","pin 0 adj3 maxAdj3"],["q2","*/ a3 ss hd2"],["maxAdj4","+- 100000 0 q2"],["a4","pin 0 adj4 maxAdj4"],["dx1","*/ ss a2 100000"],["dx2","*/ ss a1 200000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["y1","*/ ss a3 100000"],["y4","+- b 0 y1"],["dy2","*/ h a4 200000"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"]],paths:[{commands:[["M","l","y2"],["L","x2","y2"],["L","x2","y1"],["L","x1","y1"],["L","hc","t"],["L","x4","y1"],["L","x3","y1"],["L","x3","y2"],["L","r","y2"],["L","r","y3"],["L","x3","y3"],["L","x3","y4"],["L","x4","y4"],["L","hc","b"],["L","x1","y4"],["L","x2","y4"],["L","x2","y3"],["L","l","y3"],["Z"]]}],rect:["l","y2","r","y3"]},uturnArrow:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 43750"],["adj5","val 75000"]],gd:[["a2","pin 0 adj2 25000"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["q2","*/ a1 ss h"],["q3","+- 100000 0 q2"],["maxAdj3","*/ q3 h ss"],["a3","pin 0 adj3 maxAdj3"],["q1","+- a3 a1 0"],["minAdj5","*/ q1 ss h"],["a5","pin minAdj5 adj5 100000"],["th","*/ ss a1 100000"],["aw2","*/ ss a2 100000"],["th2","*/ th 1 2"],["dh2","+- aw2 0 th2"],["y5","*/ h a5 100000"],["ah","*/ ss a3 100000"],["y4","+- y5 0 ah"],["x9","+- r 0 dh2"],["bw","*/ x9 1 2"],["bs","min bw y4"],["maxAdj4","*/ bs 100000 ss"],["a4","pin 0 adj4 maxAdj4"],["bd","*/ ss a4 100000"],["bd3","+- bd 0 th"],["bd2","max bd3 0"],["x3","+- th bd2 0"],["x8","+- r 0 aw2"],["x6","+- x8 0 aw2"],["x7","+- x6 dh2 0"],["x4","+- x9 0 bd"],["x5","+- x7 0 bd2"],["cx","+/ th x7 2"]],paths:[{commands:[["M","l","b"],["L","l","bd"],["A","bd","bd","cd2","cd4"],["L","x4","t"],["A","bd","bd","3cd4","cd4"],["L","x9","y4"],["L","r","y4"],["L","x8","y5"],["L","x6","y4"],["L","x7","y4"],["L","x7","x3"],["A","bd2","bd2","0","-5400000"],["L","x3","th"],["A","bd2","bd2","3cd4","-5400000"],["L","th","b"],["Z"]]}],rect:["l","t","r","b"]},verticalScroll:{av:[["adj","val 12500"]],gd:[["a","pin 0 adj 25000"],["ch","*/ ss a 100000"],["ch2","*/ ch 1 2"],["ch4","*/ ch 1 4"],["x3","+- ch ch2 0"],["x4","+- ch ch 0"],["x6","+- r 0 ch"],["x7","+- r 0 ch2"],["x5","+- x6 0 ch2"],["y3","+- b 0 ch"],["y4","+- b 0 ch2"]],paths:[{commands:[["M","ch2","b"],["A","ch2","ch2","cd4","-5400000"],["L","ch2","y4"],["A","ch4","ch4","cd4","-10800000"],["L","ch","y3"],["L","ch","ch2"],["A","ch2","ch2","cd2","cd4"],["L","x7","t"],["A","ch2","ch2","3cd4","cd2"],["L","x6","ch"],["L","x6","y4"],["A","ch2","ch2","0","cd4"],["Z"],["M","x4","ch2"],["A","ch2","ch2","0","cd4"],["A","ch4","ch4","cd4","cd2"],["Z"]],stroke:!1},{commands:[["M","x4","ch2"],["A","ch2","ch2","0","cd4"],["A","ch4","ch4","cd4","cd2"],["Z"],["M","ch","y4"],["A","ch2","ch2","0","3cd4"],["A","ch4","ch4","3cd4","cd2"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","ch","y3"],["L","ch","ch2"],["A","ch2","ch2","cd2","cd4"],["L","x7","t"],["A","ch2","ch2","3cd4","cd2"],["L","x6","ch"],["L","x6","y4"],["A","ch2","ch2","0","cd4"],["L","ch2","b"],["A","ch2","ch2","cd4","cd2"],["Z"],["M","x3","t"],["A","ch2","ch2","3cd4","cd2"],["A","ch4","ch4","cd4","cd2"],["L","x4","ch2"],["M","x6","ch"],["L","x3","ch"],["M","ch2","y3"],["A","ch4","ch4","3cd4","cd2"],["L","ch","y4"],["M","ch2","b"],["A","ch2","ch2","cd4","-5400000"],["L","ch","y3"]],fill:"none"}],rect:["ch","ch","x6","y4"]},wave:{av:[["adj1","val 12500"],["adj2","val 0"]],gd:[["a1","pin 0 adj1 20000"],["a2","pin -10000 adj2 10000"],["y1","*/ h a1 100000"],["dy2","*/ y1 10 3"],["y2","+- y1 0 dy2"],["y3","+- y1 dy2 0"],["y4","+- b 0 y1"],["y5","+- y4 0 dy2"],["y6","+- y4 dy2 0"],["dx1","*/ w a2 100000"],["of2","*/ w a2 50000"],["x1","abs dx1"],["dx2","?: of2 0 of2"],["x2","+- l 0 dx2"],["dx5","?: of2 of2 0"],["x5","+- r 0 dx5"],["dx3","+/ dx2 x5 3"],["x3","+- x2 dx3 0"],["x4","+/ x3 x5 2"],["x6","+- l dx5 0"],["x10","+- r dx2 0"],["x7","+- x6 dx3 0"],["x8","+/ x7 x10 2"],["x9","+- r 0 x1"],["xAdj","+- hc dx1 0"],["xAdj2","+- hc 0 dx1"],["il","max x2 x6"],["ir","min x5 x10"],["it","*/ h a1 50000"],["ib","+- b 0 it"]],paths:[{commands:[["M","x2","y1"],["C","x3","y2","x4","y3","x5","y1"],["L","x10","y4"],["C","x8","y6","x7","y5","x6","y4"],["Z"]]}],rect:["il","it","ir","ib"]},wedgeEllipseCallout:{av:[["adj1","val -20833"],["adj2","val 62500"]],gd:[["dxPos","*/ w adj1 100000"],["dyPos","*/ h adj2 100000"],["xPos","+- hc dxPos 0"],["yPos","+- vc dyPos 0"],["sdx","*/ dxPos h 1"],["sdy","*/ dyPos w 1"],["pang","at2 sdx sdy"],["stAng","+- pang 660000 0"],["enAng","+- pang 0 660000"],["dx1","cos wd2 stAng"],["dy1","sin hd2 stAng"],["x1","+- hc dx1 0"],["y1","+- vc dy1 0"],["dx2","cos wd2 enAng"],["dy2","sin hd2 enAng"],["x2","+- hc dx2 0"],["y2","+- vc dy2 0"],["stAng1","at2 dx1 dy1"],["enAng1","at2 dx2 dy2"],["swAng1","+- enAng1 0 stAng1"],["swAng2","+- swAng1 21600000 0"],["swAng","?: swAng1 swAng1 swAng2"],["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","xPos","yPos"],["L","x1","y1"],["A","wd2","hd2","stAng1","swAng"],["Z"]]}],rect:["il","it","ir","ib"]},wedgeRectCallout:{av:[["adj1","val -20833"],["adj2","val 62500"]],gd:[["dxPos","*/ w adj1 100000"],["dyPos","*/ h adj2 100000"],["xPos","+- hc dxPos 0"],["yPos","+- vc dyPos 0"],["dx","+- xPos 0 hc"],["dy","+- yPos 0 vc"],["dq","*/ dxPos h w"],["ady","abs dyPos"],["adq","abs dq"],["dz","+- ady 0 adq"],["xg1","?: dxPos 7 2"],["xg2","?: dxPos 10 5"],["x1","*/ w xg1 12"],["x2","*/ w xg2 12"],["yg1","?: dyPos 7 2"],["yg2","?: dyPos 10 5"],["y1","*/ h yg1 12"],["y2","*/ h yg2 12"],["t1","?: dxPos l xPos"],["xl","?: dz l t1"],["t2","?: dyPos x1 xPos"],["xt","?: dz t2 x1"],["t3","?: dxPos xPos r"],["xr","?: dz r t3"],["t4","?: dyPos xPos x1"],["xb","?: dz t4 x1"],["t5","?: dxPos y1 yPos"],["yl","?: dz y1 t5"],["t6","?: dyPos t yPos"],["yt","?: dz t6 t"],["t7","?: dxPos yPos y1"],["yr","?: dz y1 t7"],["t8","?: dyPos yPos b"],["yb","?: dz t8 b"]],paths:[{commands:[["M","l","t"],["L","x1","t"],["L","xt","yt"],["L","x2","t"],["L","r","t"],["L","r","y1"],["L","xr","yr"],["L","r","y2"],["L","r","b"],["L","x2","b"],["L","xb","yb"],["L","x1","b"],["L","l","b"],["L","l","y2"],["L","xl","yl"],["L","l","y1"],["Z"]]}],rect:["l","t","r","b"]},wedgeRoundRectCallout:{av:[["adj1","val -20833"],["adj2","val 62500"],["adj3","val 16667"]],gd:[["dxPos","*/ w adj1 100000"],["dyPos","*/ h adj2 100000"],["xPos","+- hc dxPos 0"],["yPos","+- vc dyPos 0"],["dq","*/ dxPos h w"],["ady","abs dyPos"],["adq","abs dq"],["dz","+- ady 0 adq"],["xg1","?: dxPos 7 2"],["xg2","?: dxPos 10 5"],["x1","*/ w xg1 12"],["x2","*/ w xg2 12"],["yg1","?: dyPos 7 2"],["yg2","?: dyPos 10 5"],["y1","*/ h yg1 12"],["y2","*/ h yg2 12"],["t1","?: dxPos l xPos"],["xl","?: dz l t1"],["t2","?: dyPos x1 xPos"],["xt","?: dz t2 x1"],["t3","?: dxPos xPos r"],["xr","?: dz r t3"],["t4","?: dyPos xPos x1"],["xb","?: dz t4 x1"],["t5","?: dxPos y1 yPos"],["yl","?: dz y1 t5"],["t6","?: dyPos t yPos"],["yt","?: dz t6 t"],["t7","?: dxPos yPos y1"],["yr","?: dz y1 t7"],["t8","?: dyPos yPos b"],["yb","?: dz t8 b"],["u1","*/ ss adj3 100000"],["u2","+- r 0 u1"],["v2","+- b 0 u1"],["il","*/ u1 29289 100000"],["ir","+- r 0 il"],["ib","+- b 0 il"]],paths:[{commands:[["M","l","u1"],["A","u1","u1","cd2","cd4"],["L","x1","t"],["L","xt","yt"],["L","x2","t"],["L","u2","t"],["A","u1","u1","3cd4","cd4"],["L","r","y1"],["L","xr","yr"],["L","r","y2"],["L","r","v2"],["A","u1","u1","0","cd4"],["L","x2","b"],["L","xb","yb"],["L","x1","b"],["L","u1","b"],["A","u1","u1","cd4","cd4"],["L","l","y2"],["L","xl","yl"],["L","l","y1"],["Z"]]}],rect:["il","il","ir","ib"]},upArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 100000 h ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["dy2","*/ ss a2 100000"],["y2","+- t dy2 0"],["dx1","*/ w a1 200000"],["x1","+- hc 0 dx1"],["x2","+- hc dx1 0"],["dy1","*/ x1 dy2 wd2"],["y1","+- y2 0 dy1"]],paths:[{commands:[["M","l","y2"],["L","hc","t"],["L","r","y2"],["L","x2","y2"],["L","x2","b"],["L","x1","b"],["L","x1","y2"],["Z"]]}],rect:["x1","y1","x2","b"]}};var Ha=(e,t,n)=>({x:Mt(e,n),y:Mt(t,n)}),NB=(e,t)=>{let[n,...r]=e,a=l=>{let i=r[l];if(i===void 0)throw new jn(`preset command ${n} is missing operands`);return i};switch(n){case"M":return{kind:"moveTo",pt:Ha(a(0),a(1),t)};case"L":return{kind:"lnTo",pt:Ha(a(0),a(1),t)};case"A":return{kind:"arcTo",wR:Mt(a(0),t),hR:Mt(a(1),t),stAng:Mt(a(2),t),swAng:Mt(a(3),t)};case"Q":return{kind:"quadBezTo",pts:[Ha(a(0),a(1),t),Ha(a(2),a(3),t)]};case"C":return{kind:"cubicBezTo",pts:[Ha(a(0),a(1),t),Ha(a(2),a(3),t),Ha(a(4),a(5),t)]};case"Z":return{kind:"close"};default:throw new jn(`unknown preset command: ${n}`)}},Cf=(e,t,n,r)=>{if(!Object.hasOwn(vf,e))return null;let a=vf[e],l=Tf(t,n);for(let[c,m]of a.av)l.set(c,Object.hasOwn(r,c)?r[c]:gc(m,l));for(let[c,m]of a.gd)l.set(c,gc(m,l));let i=null;if(a.rect){let[c,m,u,f]=a.rect.map(y=>Mt(y,l));i={l:c,t:m,r:u,b:f}}return{paths:a.paths.map(c=>({w:c.w??null,h:c.h??null,fill:c.fill??"norm",stroke:c.stroke??!0,commands:c.commands.map(m=>NB(m,l))})),textRect:i}};var DB=o("a","r",d.dml),b2=o("a","rPr",d.dml),_B=o("a","hlinkClick",d.dml),kB=o("r","id",d.officeDocRels),Lf=(e,t,n)=>{for(let r of e.children)if(!(r.kind!=="element"||r.name.namespaceURI!==d.dml||r.name.localName!=="p"))for(let a of r.children){if(a.kind!=="element"||a.name.namespaceURI!==d.dml||a.name.localName!=="r")continue;let l=p(a,b2);l===null&&(l=h(b2),a.children.unshift(l)),io(l,t,n)}},io=(e,t,n)=>{let r=t===null?null:[b(kB,t)];r&&n!==void 0&&r.push(b(o("","tooltip",""),n)),ss(e,r?h(_B,{attrs:r}):null)},ss=(e,t)=>{if(e.children=e.children.filter(r=>!(r.kind==="element"&&r.name.namespaceURI===d.dml&&r.name.localName==="hlinkClick")),!t)return;let n=e.children.findIndex(r=>r.kind==="element"&&r.name.namespaceURI===d.dml&&["hlinkMouseOver","hlinkHover","rtl","extLst"].includes(r.name.localName));e.children.splice(n<0?e.children.length:n,0,t)};var MB=o("p","blipFill",d.pml),FB=o("a","blip",d.dml),IB=o("r","embed",d.officeDocRels),Va=e=>{let t=p(e,MB);if(t===null)return null;let n=p(t,FB);return n===null?null:x(n,IB)};var so=["Simple Frame, White","Beveled Matte, White","Metal Frame","Drop Shadow Rectangle","Reflected Rounded Rectangle","Soft Edge Rectangle","Double Frame, Black","Thick Matte, Black","Simple Frame, Black","Beveled Oval, Black","Compound Frame, Black","Moderate Frame, Black","Center Shadow Rectangle","Rounded Diagonal Corner, White","Snip Diagonal Corner, White","Moderate Frame, White","Rotated, White","Perspective Shadow, White","Relaxed Perspective, White","Soft Edge Oval","Bevel Rectangle","Bevel Perspective","Reflected Perspective Right","Bevel Perspective Left, White","Reflected Bevel, Black","Reflected Bevel, White","Metal Rounded Rectangle","Metal Oval"],E2=['<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:solidFill><a:srgbClr val="FFFFFF"><a:shade val="85000"/></a:srgbClr></a:solidFill><a:ln w="88900" cap="sq"><a:solidFill><a:srgbClr val="FFFFFF"/></a:solidFill><a:miter lim="800000"/></a:ln><a:effectLst><a:outerShdw blurRad="55000" dist="18000" dir="5400000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="40000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"/><a:lightRig rig="twoPt" dir="t"><a:rot lat="0" lon="0" rev="7200000"/></a:lightRig></a:scene3d><a:sp3d><a:bevelT w="25400" h="19050"/><a:contourClr><a:srgbClr val="FFFFFF"/></a:contourClr></a:sp3d>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:solidFill><a:srgbClr val="FFFFFF"><a:shade val="85000"/></a:srgbClr></a:solidFill><a:ln w="190500" cap="rnd"><a:solidFill><a:srgbClr val="FFFFFF"/></a:solidFill></a:ln><a:effectLst><a:outerShdw blurRad="50000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="41000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"/><a:lightRig rig="twoPt" dir="t"><a:rot lat="0" lon="0" rev="7800000"/></a:lightRig></a:scene3d><a:sp3d contourW="6350"><a:bevelT w="50800" h="16510"/><a:contourClr><a:srgbClr val="C0C0C0"/></a:contourClr></a:sp3d>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:ln w="190500" cap="sq"><a:solidFill><a:srgbClr val="C8C6BD"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:effectLst><a:outerShdw blurRad="254000" algn="bl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="43000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="perspectiveFront" fov="5400000"/><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="2100000"/></a:lightRig></a:scene3d><a:sp3d extrusionH="25400"><a:bevelT w="304800" h="152400" prst="hardEdge"/><a:extrusionClr><a:srgbClr val="000000"/></a:extrusionClr></a:sp3d>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:ln><a:noFill/></a:ln><a:effectLst><a:outerShdw blurRad="292100" dist="139700" dir="2700000" algn="tl" rotWithShape="0"><a:srgbClr val="333333"><a:alpha val="65000"/></a:srgbClr></a:outerShdw></a:effectLst>','<a:prstGeom prst="roundRect"><a:avLst><a:gd name="adj" fmla="val 8594"/></a:avLst></a:prstGeom><a:solidFill><a:srgbClr val="FFFFFF"><a:shade val="85000"/></a:srgbClr></a:solidFill><a:ln><a:noFill/></a:ln><a:effectLst><a:reflection blurRad="12700" stA="38000" endPos="28000" dist="5000" dir="5400000" sy="-100000" algn="bl" rotWithShape="0"/></a:effectLst>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:ln><a:noFill/></a:ln><a:effectLst><a:softEdge rad="112500"/></a:effectLst>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:ln w="228600" cap="sq" cmpd="thickThin"><a:solidFill><a:srgbClr val="000000"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:effectLst><a:innerShdw blurRad="76200"><a:srgbClr val="000000"/></a:innerShdw></a:effectLst>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:solidFill><a:srgbClr val="000000"><a:shade val="95000"/></a:srgbClr></a:solidFill><a:ln w="444500" cap="sq"><a:solidFill><a:srgbClr val="000000"/></a:solidFill><a:miter lim="800000"/></a:ln><a:effectLst><a:outerShdw blurRad="254000" dist="190500" dir="2700000" sy="90000" algn="bl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="40000"/></a:srgbClr></a:outerShdw></a:effectLst>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:ln w="38100" cap="sq"><a:solidFill><a:srgbClr val="000000"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:effectLst><a:outerShdw blurRad="50800" dist="38100" dir="2700000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="43000"/></a:srgbClr></a:outerShdw></a:effectLst>','<a:prstGeom prst="ellipse"><a:avLst/></a:prstGeom><a:ln w="63500" cap="rnd"><a:solidFill><a:srgbClr val="333333"/></a:solidFill></a:ln><a:effectLst><a:outerShdw blurRad="381000" dist="292100" dir="5400000" sx="-80000" sy="-18000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="22000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"/><a:lightRig rig="contrasting" dir="t"><a:rot lat="0" lon="0" rev="3000000"/></a:lightRig></a:scene3d><a:sp3d contourW="7620"><a:bevelT w="95250" h="31750"/><a:contourClr><a:srgbClr val="333333"/></a:contourClr></a:sp3d>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:ln w="88900" cap="sq" cmpd="thickThin"><a:solidFill><a:srgbClr val="000000"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:effectLst><a:innerShdw blurRad="76200"><a:srgbClr val="000000"/></a:innerShdw></a:effectLst>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:ln w="127000" cap="sq"><a:solidFill><a:srgbClr val="000000"/></a:solidFill><a:miter lim="800000"/></a:ln><a:effectLst><a:outerShdw blurRad="57150" dist="50800" dir="2700000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="40000"/></a:srgbClr></a:outerShdw></a:effectLst>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:ln><a:noFill/></a:ln><a:effectLst><a:outerShdw blurRad="190500" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="70000"/></a:srgbClr></a:outerShdw></a:effectLst>','<a:prstGeom prst="round2DiagRect"><a:avLst><a:gd name="adj1" fmla="val 16667"/><a:gd name="adj2" fmla="val 0"/></a:avLst></a:prstGeom><a:ln w="88900" cap="sq"><a:solidFill><a:srgbClr val="FFFFFF"/></a:solidFill><a:miter lim="800000"/></a:ln><a:effectLst><a:outerShdw blurRad="254000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="43000"/></a:srgbClr></a:outerShdw></a:effectLst>','<a:prstGeom prst="snip2DiagRect"><a:avLst/></a:prstGeom><a:solidFill><a:srgbClr val="FFFFFF"><a:shade val="85000"/></a:srgbClr></a:solidFill><a:ln w="88900" cap="sq"><a:solidFill><a:srgbClr val="FFFFFF"/></a:solidFill><a:miter lim="800000"/></a:ln><a:effectLst><a:outerShdw blurRad="88900" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="45000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"/><a:lightRig rig="twoPt" dir="t"><a:rot lat="0" lon="0" rev="7200000"/></a:lightRig></a:scene3d><a:sp3d><a:bevelT w="25400" h="19050"/><a:contourClr><a:srgbClr val="FFFFFF"/></a:contourClr></a:sp3d>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:solidFill><a:srgbClr val="FFFFFF"><a:shade val="85000"/></a:srgbClr></a:solidFill><a:ln w="190500" cap="sq"><a:solidFill><a:srgbClr val="FFFFFF"/></a:solidFill><a:miter lim="800000"/></a:ln><a:effectLst><a:outerShdw blurRad="55000" dist="18000" dir="5400000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="40000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"/><a:lightRig rig="twoPt" dir="t"><a:rot lat="0" lon="0" rev="7200000"/></a:lightRig></a:scene3d><a:sp3d><a:bevelT w="25400" h="19050"/><a:contourClr><a:srgbClr val="FFFFFF"/></a:contourClr></a:sp3d>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:solidFill><a:srgbClr val="FFFFFF"><a:shade val="85000"/></a:srgbClr></a:solidFill><a:ln w="190500" cap="sq"><a:solidFill><a:srgbClr val="FFFFFF"/></a:solidFill><a:miter lim="800000"/></a:ln><a:effectLst><a:outerShdw blurRad="65000" dist="50800" dir="12900000" kx="195000" ky="145000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="30000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="360000"/></a:camera><a:lightRig rig="twoPt" dir="t"><a:rot lat="0" lon="0" rev="7200000"/></a:lightRig></a:scene3d><a:sp3d contourW="12700"><a:bevelT w="25400" h="19050"/><a:contourClr><a:srgbClr val="969696"/></a:contourClr></a:sp3d>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:ln w="127000" cap="rnd"><a:solidFill><a:srgbClr val="FFFFFF"/></a:solidFill></a:ln><a:effectLst><a:outerShdw blurRad="76200" dist="95250" dir="10500000" sx="97000" sy="23000" kx="900000" algn="br" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="20000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"/><a:lightRig rig="twoPt" dir="t"><a:rot lat="0" lon="0" rev="7800000"/></a:lightRig></a:scene3d><a:sp3d contourW="6350"><a:bevelT w="50800" h="16510"/><a:contourClr><a:srgbClr val="C0C0C0"/></a:contourClr></a:sp3d>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:solidFill><a:srgbClr val="FFFFFF"><a:shade val="85000"/></a:srgbClr></a:solidFill><a:ln w="101600" cap="sq"><a:solidFill><a:srgbClr val="FDFDFD"/></a:solidFill><a:miter lim="800000"/></a:ln><a:effectLst><a:outerShdw blurRad="57150" dist="37500" dir="7560000" sy="98000" kx="110000" ky="200000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="20000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="perspectiveRelaxed"><a:rot lat="18960000" lon="0" rev="0"/></a:camera><a:lightRig rig="twoPt" dir="t"><a:rot lat="0" lon="0" rev="7200000"/></a:lightRig></a:scene3d><a:sp3d prstMaterial="matte"><a:bevelT w="22860" h="12700"/><a:contourClr><a:srgbClr val="FFFFFF"/></a:contourClr></a:sp3d>','<a:prstGeom prst="ellipse"><a:avLst/></a:prstGeom><a:ln><a:noFill/></a:ln><a:effectLst><a:softEdge rad="112500"/></a:effectLst>','<a:prstGeom prst="roundRect"><a:avLst><a:gd name="adj" fmla="val 16667"/></a:avLst></a:prstGeom><a:ln><a:noFill/></a:ln><a:effectLst><a:outerShdw blurRad="76200" dist="38100" dir="7800000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="40000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"/><a:lightRig rig="contrasting" dir="t"><a:rot lat="0" lon="0" rev="4200000"/></a:lightRig></a:scene3d><a:sp3d prstMaterial="plastic"><a:bevelT w="381000" h="114300" prst="relaxedInset"/><a:contourClr><a:srgbClr val="969696"/></a:contourClr></a:sp3d>','<a:prstGeom prst="roundRect"><a:avLst><a:gd name="adj" fmla="val 16667"/></a:avLst></a:prstGeom><a:ln><a:noFill/></a:ln><a:effectLst><a:outerShdw blurRad="152400" dist="12000" dir="900000" sy="98000" kx="110000" ky="200000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="30000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="perspectiveRelaxed"><a:rot lat="19800000" lon="1200000" rev="20820000"/></a:camera><a:lightRig rig="threePt" dir="t"/></a:scene3d><a:sp3d contourW="6350" prstMaterial="matte"><a:bevelT w="101600" h="101600"/><a:contourClr><a:srgbClr val="969696"/></a:contourClr></a:sp3d>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:ln><a:noFill/></a:ln><a:effectLst><a:reflection blurRad="12700" stA="30000" endPos="30000" dist="5000" dir="5400000" sy="-100000" algn="bl" rotWithShape="0"/></a:effectLst><a:scene3d><a:camera prst="perspectiveContrastingLeftFacing"><a:rot lat="300000" lon="19800000" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="2700000"/></a:lightRig></a:scene3d><a:sp3d><a:bevelT w="63500" h="50800"/></a:sp3d>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:solidFill><a:srgbClr val="FFFFFF"><a:shade val="85000"/></a:srgbClr></a:solidFill><a:ln w="190500" cap="rnd"><a:solidFill><a:srgbClr val="FFFFFF"/></a:solidFill></a:ln><a:effectLst><a:outerShdw blurRad="36195" dist="12700" dir="11400000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="33000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="perspectiveContrastingLeftFacing"><a:rot lat="540000" lon="2100000" rev="0"/></a:camera><a:lightRig rig="soft" dir="t"/></a:scene3d><a:sp3d contourW="12700" prstMaterial="matte"><a:bevelT w="63500" h="50800"/><a:contourClr><a:srgbClr val="C0C0C0"/></a:contourClr></a:sp3d>','<a:prstGeom prst="roundRect"><a:avLst><a:gd name="adj" fmla="val 4167"/></a:avLst></a:prstGeom><a:solidFill><a:srgbClr val="FFFFFF"/></a:solidFill><a:ln w="76200" cap="sq"><a:solidFill><a:srgbClr val="292929"/></a:solidFill><a:miter lim="800000"/></a:ln><a:effectLst><a:reflection blurRad="12700" stA="28000" endPos="28000" dist="5000" dir="5400000" sy="-100000" algn="bl" rotWithShape="0"/></a:effectLst><a:scene3d><a:camera prst="orthographicFront"/><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="2700000"/></a:lightRig></a:scene3d><a:sp3d><a:bevelT h="38100"/><a:contourClr><a:srgbClr val="C0C0C0"/></a:contourClr></a:sp3d>','<a:prstGeom prst="roundRect"><a:avLst><a:gd name="adj" fmla="val 4167"/></a:avLst></a:prstGeom><a:solidFill><a:srgbClr val="FFFFFF"/></a:solidFill><a:ln w="76200" cap="sq"><a:solidFill><a:srgbClr val="EAEAEA"/></a:solidFill><a:miter lim="800000"/></a:ln><a:effectLst><a:reflection blurRad="12700" stA="33000" endPos="28000" dist="5000" dir="5400000" sy="-100000" algn="bl" rotWithShape="0"/></a:effectLst><a:scene3d><a:camera prst="orthographicFront"/><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="2700000"/></a:lightRig></a:scene3d><a:sp3d contourW="6350"><a:bevelT h="38100"/><a:contourClr><a:srgbClr val="C0C0C0"/></a:contourClr></a:sp3d>','<a:prstGeom prst="roundRect"><a:avLst><a:gd name="adj" fmla="val 11111"/></a:avLst></a:prstGeom><a:ln w="190500" cap="rnd"><a:solidFill><a:srgbClr val="C8C6BD"/></a:solidFill><a:prstDash val="solid"/></a:ln><a:effectLst><a:outerShdw blurRad="101600" dist="50800" dir="7200000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="45000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="perspectiveFront" fov="5400000"/><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="19200000"/></a:lightRig></a:scene3d><a:sp3d extrusionH="25400"><a:bevelT w="304800" h="152400" prst="hardEdge"/><a:extrusionClr><a:srgbClr val="FFFFFF"/></a:extrusionClr></a:sp3d>','<a:prstGeom prst="ellipse"><a:avLst/></a:prstGeom><a:ln w="190500" cap="rnd"><a:solidFill><a:srgbClr val="C8C6BD"/></a:solidFill><a:prstDash val="solid"/></a:ln><a:effectLst><a:outerShdw blurRad="127000" algn="bl" rotWithShape="0"><a:srgbClr val="000000"/></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="perspectiveFront" fov="5400000"/><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="19200000"/></a:lightRig></a:scene3d><a:sp3d extrusionH="25400"><a:bevelT w="304800" h="152400" prst="hardEdge"/><a:extrusionClr><a:srgbClr val="000000"/></a:extrusionClr></a:sp3d>'];var T2=new Map(so.map((e,t)=>[e,t])),Rf=e=>T2.has(e),w2=e=>{let t=E2[T2.get(e)];return j(`<a:r xmlns:a="${d.dml}">${t}</a:r>`).root.children.filter(r=>r.kind==="element")},yc=(e,t)=>e.kind==="element"&&e.name.namespaceURI===d.dml&&e.name.localName===t,Nf=(e,t)=>{let n=e.children.filter(a=>yc(a,"xfrm")),r=e.children.filter(a=>yc(a,"extLst"));e.children=[...n,...w2(t),...r]},Pf=e=>e.children.filter(t=>t.kind==="element"),v2=(e,t)=>{if(e.name.namespaceURI!==t.name.namespaceURI||e.name.localName!==t.name.localName||e.attrs.length!==t.attrs.length)return!1;let n=i=>`${i.name.namespaceURI} ${i.name.localName}=${i.value}`,r=new Set(e.attrs.map(n));if(!t.attrs.every(i=>r.has(n(i))))return!1;let a=Pf(e),l=Pf(t);return a.length===l.length&&a.every((i,s)=>v2(i,l[s]))},A2=new Map,BB=e=>{let t=A2.get(e);return t||A2.set(e,t=w2(e)),t},Df=e=>{let t=Pf(e).filter(n=>!yc(n,"xfrm")&&!yc(n,"extLst"));for(let n of so){let r=BB(n);if(r.length===t.length&&r.every((a,l)=>v2(a,t[l])))return n}return null};var OB=o("p","spPr",d.pml),XB=o("p","grpSpPr",d.pml),C2=o("a","xfrm",d.dml),$B=o("p","xfrm",d.pml),jB=o("a","off",d.dml),UB=o("a","ext",d.dml),GB=o("","x",""),qB=o("","y",""),HB=o("","cx",""),VB=o("","cy",""),ds=e=>e===null?null:Number.isFinite(Number.parseInt(e,10))?Number.parseInt(e,10):null,xc=(e,t)=>{switch(t){case"shape":case"picture":case"connector":{let n=p(e,OB);return n===null?null:p(n,C2)}case"group":{let n=p(e,XB);return n===null?null:p(n,C2)}case"graphicFrame":return p(e,$B)}},Rt=(e,t)=>{let n=xc(e,t);if(n===null)return null;let r=p(n,jB);if(r===null)return null;let a=ds(x(r,GB)),l=ds(x(r,qB));return a===null||l===null?null:{x:a,y:l}},At=(e,t)=>{let n=xc(e,t);if(n===null)return null;let r=p(n,UB);if(r===null)return null;let a=ds(x(r,HB)),l=ds(x(r,VB));return a===null||l===null?null:{w:a,h:l}},zB=o("","rot",""),WB=o("","flipH",""),YB=o("","flipV",""),pr=(e,t)=>{let n=xc(e,t);if(n===null)return 0;let r=ds(x(n,zB));return r===null?0:r/6e4},ur=(e,t)=>{let n=xc(e,t);if(n===null)return null;let r=x(n,WB)?.trim(),a=x(n,YB)?.trim();return{horizontal:r==="1"||r==="true",vertical:a==="1"||a==="true"}};var _2=o("p","spPr",d.pml),ZB=o("p","grpSpPr",d.pml),L2=o("a","xfrm",d.dml),P2=o("p","xfrm",d.pml),R2=o("a","off",d.dml),N2=o("a","ext",d.dml),KB=o("","x",""),JB=o("","y",""),QB=o("","cx",""),e6=o("","cy",""),Sc=(e,t)=>{if(t==="graphicFrame"){let l=p(e,P2);if(l===null){l=h(P2);let i=e.children.findIndex(s=>s.kind==="element"&&s.name.namespaceURI===d.pml&&s.name.localName==="nvGraphicFramePr");e.children.splice(i+1,0,l)}return l}let n=t==="group"?ZB:_2,r=p(e,n);r===null&&(r=h(n),e.children.push(r));let a=p(r,L2);return a===null&&(a=h(L2),r.children.unshift(a)),a},un=(e,t,n,r)=>{let a=Sc(e,t),l=p(a,R2);l===null&&(l=h(R2),a.children.unshift(l)),l.attrs=[b(KB,String(Ue(n,"setShapePosition: x"))),b(JB,String(Ue(r,"setShapePosition: y")))]},fn=(e,t,n,r)=>{let a=Sc(e,t),l=p(a,N2);if(l===null){l=h(N2);let i=a.children.findIndex(s=>s.kind==="element"&&s.name.localName==="off"&&s.name.namespaceURI===d.dml);i>=0?a.children.splice(i+1,0,l):a.children.push(l)}l.attrs=[b(QB,String(xe(n,"setShapeSize: w"))),b(e6,String(xe(r,"setShapeSize: h")))]},t6=o("","rot",""),n6=o("","flipH",""),r6=o("","flipV",""),za=(e,t,n)=>{let r=Sc(e,t),a=(n%360+360)%360,l=Math.round(a*6e4);r.attrs=r.attrs.filter(i=>i.name.localName!=="rot"),l!==0&&r.attrs.push(b(t6,String(l)))},Wa=(e,t,n)=>{let r=Sc(e,t);n.horizontal!==void 0&&(r.attrs=r.attrs.filter(a=>a.name.localName!=="flipH"),n.horizontal&&r.attrs.push(b(n6,"1"))),n.vertical!==void 0&&(r.attrs=r.attrs.filter(a=>a.name.localName!=="flipV"),n.vertical&&r.attrs.push(b(r6,"1")))},a6=o("a","prstGeom",d.dml),D2=o("a","avLst",d.dml),l6=o("a","gd",d.dml),o6=o("","name",""),i6=o("","fmla",""),_f=(e,t)=>{let n=p(e,_2);if(n===null)return!1;let r=p(n,a6);if(r===null)return!1;let a=p(r,D2);return a===null&&(a=h(D2),r.children.push(a)),a.children=Object.entries(t).map(([l,i])=>h(l6,{attrs:[b(o6,l),b(i6,`val ${String(Math.round(i))}`)]})),!0};var nt=Uint8Array,hn=Uint16Array,Uf=Int32Array,bc=new nt([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Ec=new nt([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),If=new nt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),X2=function(e,t){for(var n=new hn(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];for(var a=new Uf(n[30]),r=1;r<30;++r)for(var l=n[r];l<n[r+1];++l)a[l]=l-n[r]<<5|r;return{b:n,r:a}},$2=X2(bc,2),j2=$2.b,Bf=$2.r;j2[28]=258,Bf[258]=28;var U2=X2(Ec,0),s6=U2.b,k2=U2.r,Of=new hn(32768);for(ke=0;ke<32768;++ke)Or=(ke&43690)>>1|(ke&21845)<<1,Or=(Or&52428)>>2|(Or&13107)<<2,Or=(Or&61680)>>4|(Or&3855)<<4,Of[ke]=((Or&65280)>>8|(Or&255)<<8)>>1;var Or,ke,fr=(function(e,t,n){for(var r=e.length,a=0,l=new hn(t);a<r;++a)e[a]&&++l[e[a]-1];var i=new hn(t);for(a=1;a<t;++a)i[a]=i[a-1]+l[a-1]<<1;var s;if(n){s=new hn(1<<t);var c=15-t;for(a=0;a<r;++a)if(e[a])for(var m=a<<4|e[a],u=t-e[a],f=i[e[a]-1]++<<u,y=f|(1<<u)-1;f<=y;++f)s[Of[f]>>c]=m}else for(s=new hn(r),a=0;a<r;++a)e[a]&&(s[a]=Of[i[e[a]-1]++]>>15-e[a]);return s}),sa=new nt(288);for(ke=0;ke<144;++ke)sa[ke]=8;var ke;for(ke=144;ke<256;++ke)sa[ke]=9;var ke;for(ke=256;ke<280;++ke)sa[ke]=7;var ke;for(ke=280;ke<288;++ke)sa[ke]=8;var ke,ps=new nt(32);for(ke=0;ke<32;++ke)ps[ke]=5;var ke,d6=fr(sa,9,0),c6=fr(sa,9,1),m6=fr(ps,5,0),p6=fr(ps,5,1),kf=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},Un=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(t&7)&n},Mf=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},Gf=function(e){return(e+7)/8|0},Ya=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new nt(e.subarray(t,n))};var u6=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],$t=function(e,t,n){var r=new Error(t||u6[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,$t),!n)throw r;return r},G2=function(e,t,n,r){var a=e.length,l=r?r.length:0;if(!a||t.f&&!t.l)return n||new nt(0);var i=!n,s=i||t.i!=2,c=t.i;i&&(n=new nt(a*3));var m=function(Rr){var Nr=n.length;if(Rr>Nr){var lr=new nt(Math.max(Nr*2,Rr));lr.set(n),n=lr}},u=t.f||0,f=t.p||0,y=t.b||0,g=t.l,S=t.d,E=t.m,A=t.n,w=a*8;do{if(!g){u=Un(e,f,1);var T=Un(e,f+1,3);if(f+=3,T)if(T==1)g=c6,S=p6,E=9,A=5;else if(T==2){var N=Un(e,f,31)+257,_=Un(e,f+10,15)+4,k=N+Un(e,f+5,31)+1;f+=14;for(var M=new nt(k),I=new nt(19),K=0;K<_;++K)I[If[K]]=Un(e,f+K*3,7);f+=_*3;for(var re=kf(I),Se=(1<<re)-1,Ce=fr(I,re,1),K=0;K<k;){var me=Ce[Un(e,f,Se)];f+=me&15;var v=me>>4;if(v<16)M[K++]=v;else{var we=0,Ne=0;for(v==16?(Ne=3+Un(e,f,3),f+=2,we=M[K-1]):v==17?(Ne=3+Un(e,f,7),f+=3):v==18&&(Ne=11+Un(e,f,127),f+=7);Ne--;)M[K++]=we}}var Xe=M.subarray(0,N),ze=M.subarray(N);E=kf(Xe),A=kf(ze),g=fr(Xe,E,1),S=fr(ze,A,1)}else $t(1);else{var v=Gf(f)+4,C=e[v-4]|e[v-3]<<8,R=v+C;if(R>a){c&&$t(0);break}s&&m(y+C),n.set(e.subarray(v,R),y),t.b=y+=C,t.p=f=R*8,t.f=u;continue}if(f>w){c&&$t(0);break}}s&&m(y+131072);for(var vn=(1<<E)-1,Et=(1<<A)-1,xt=f;;xt=f){var we=g[Mf(e,f)&vn],it=we>>4;if(f+=we&15,f>w){c&&$t(0);break}if(we||$t(2),it<256)n[y++]=it;else if(it==256){xt=f,g=null;break}else{var rt=it-254;if(it>264){var K=it-257,ve=bc[K];rt=Un(e,f,(1<<ve)-1)+j2[K],f+=ve}var Pt=S[Mf(e,f)&Et],at=Pt>>4;Pt||$t(3),f+=Pt&15;var ze=s6[at];if(at>3){var ve=Ec[at];ze+=Mf(e,f)&(1<<ve)-1,f+=ve}if(f>w){c&&$t(0);break}s&&m(y+131072);var Cn=y+rt;if(y<ze){var Pr=l-ze,ta=Math.min(ze,Cn);for(Pr+y<0&&$t(3);y<ta;++y)n[y]=r[Pr+y]}for(;y<Cn;++y)n[y]=n[y-ze]}}t.l=g,t.p=xt,t.b=y,t.f=u,g&&(u=1,t.m=E,t.d=S,t.n=A)}while(!u);return y!=n.length&&i?Ya(n,0,y):n.subarray(0,y)},Xr=function(e,t,n){n<<=t&7;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8},cs=function(e,t,n){n<<=t&7;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8,e[r+2]|=n>>16},Ff=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var a=n.length,l=n.slice();if(!a)return{t:H2,l:0};if(a==1){var i=new nt(n[0].s+1);return i[n[0].s]=1,{t:i,l:1}}n.sort(function(R,N){return R.f-N.f}),n.push({s:-1,f:25001});var s=n[0],c=n[1],m=0,u=1,f=2;for(n[0]={s:-1,f:s.f+c.f,l:s,r:c};u!=a-1;)s=n[n[m].f<n[f].f?m++:f++],c=n[m!=u&&n[m].f<n[f].f?m++:f++],n[u++]={s:-1,f:s.f+c.f,l:s,r:c};for(var y=l[0].s,r=1;r<a;++r)l[r].s>y&&(y=l[r].s);var g=new hn(y+1),S=Xf(n[u-1],g,0);if(S>t){var r=0,E=0,A=S-t,w=1<<A;for(l.sort(function(N,_){return g[_.s]-g[N.s]||N.f-_.f});r<a;++r){var T=l[r].s;if(g[T]>t)E+=w-(1<<S-g[T]),g[T]=t;else break}for(E>>=A;E>0;){var v=l[r].s;g[v]<t?E-=1<<t-g[v]++-1:++r}for(;r>=0&&E;--r){var C=l[r].s;g[C]==t&&(--g[C],++E)}S=t}return{t:new nt(g),l:S}},Xf=function(e,t,n){return e.s==-1?Math.max(Xf(e.l,t,n+1),Xf(e.r,t,n+1)):t[e.s]=n},M2=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new hn(++t),r=0,a=e[0],l=1,i=function(c){n[r++]=c},s=1;s<=t;++s)if(e[s]==a&&s!=t)++l;else{if(!a&&l>2){for(;l>138;l-=138)i(32754);l>2&&(i(l>10?l-11<<5|28690:l-3<<5|12305),l=0)}else if(l>3){for(i(a),--l;l>6;l-=6)i(8304);l>2&&(i(l-3<<5|8208),l=0)}for(;l--;)i(a);l=1,a=e[s]}return{c:n.subarray(0,r),n:t}},ms=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},q2=function(e,t,n){var r=n.length,a=Gf(t+2);e[a]=r&255,e[a+1]=r>>8,e[a+2]=e[a]^255,e[a+3]=e[a+1]^255;for(var l=0;l<r;++l)e[a+l+4]=n[l];return(a+4+r)*8},F2=function(e,t,n,r,a,l,i,s,c,m,u){Xr(t,u++,n),++a[256];for(var f=Ff(a,15),y=f.t,g=f.l,S=Ff(l,15),E=S.t,A=S.l,w=M2(y),T=w.c,v=w.n,C=M2(E),R=C.c,N=C.n,_=new hn(19),k=0;k<T.length;++k)++_[T[k]&31];for(var k=0;k<R.length;++k)++_[R[k]&31];for(var M=Ff(_,7),I=M.t,K=M.l,re=19;re>4&&!I[If[re-1]];--re);var Se=m+5<<3,Ce=ms(a,sa)+ms(l,ps)+i,me=ms(a,y)+ms(l,E)+i+14+3*re+ms(_,I)+2*_[16]+3*_[17]+7*_[18];if(c>=0&&Se<=Ce&&Se<=me)return q2(t,u,e.subarray(c,c+m));var we,Ne,Xe,ze;if(Xr(t,u,1+(me<Ce)),u+=2,me<Ce){we=fr(y,g,0),Ne=y,Xe=fr(E,A,0),ze=E;var vn=fr(I,K,0);Xr(t,u,v-257),Xr(t,u+5,N-1),Xr(t,u+10,re-4),u+=14;for(var k=0;k<re;++k)Xr(t,u+3*k,I[If[k]]);u+=3*re;for(var Et=[T,R],xt=0;xt<2;++xt)for(var it=Et[xt],k=0;k<it.length;++k){var rt=it[k]&31;Xr(t,u,vn[rt]),u+=I[rt],rt>15&&(Xr(t,u,it[k]>>5&127),u+=it[k]>>12)}}else we=d6,Ne=sa,Xe=m6,ze=ps;for(var k=0;k<s;++k){var ve=r[k];if(ve>255){var rt=ve>>18&31;cs(t,u,we[rt+257]),u+=Ne[rt+257],rt>7&&(Xr(t,u,ve>>23&31),u+=bc[rt]);var Pt=ve&31;cs(t,u,Xe[Pt]),u+=ze[Pt],Pt>3&&(cs(t,u,ve>>5&8191),u+=Ec[Pt])}else cs(t,u,we[ve]),u+=Ne[ve]}return cs(t,u,we[256]),u+Ne[256]},f6=new Uf([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),H2=new nt(0),h6=function(e,t,n,r,a,l){var i=l.z||e.length,s=new nt(r+i+5*(1+Math.ceil(i/7e3))+a),c=s.subarray(r,s.length-a),m=l.l,u=(l.r||0)&7;if(t){u&&(c[0]=l.r>>3);for(var f=f6[t-1],y=f>>13,g=f&8191,S=(1<<n)-1,E=l.p||new hn(32768),A=l.h||new hn(S+1),w=Math.ceil(n/3),T=2*w,v=function(Oa){return(e[Oa]^e[Oa+1]<<w^e[Oa+2]<<T)&S},C=new Uf(25e3),R=new hn(288),N=new hn(32),_=0,k=0,M=l.i||0,I=0,K=l.w||0,re=0;M+2<i;++M){var Se=v(M),Ce=M&32767,me=A[Se];if(E[Ce]=me,A[Se]=Ce,K<=M){var we=i-M;if((_>7e3||I>24576)&&(we>423||!m)){u=F2(e,c,0,C,R,N,k,I,re,M-re,u),I=_=k=0,re=M;for(var Ne=0;Ne<286;++Ne)R[Ne]=0;for(var Ne=0;Ne<30;++Ne)N[Ne]=0}var Xe=2,ze=0,vn=g,Et=Ce-me&32767;if(we>2&&Se==v(M-Et))for(var xt=Math.min(y,we)-1,it=Math.min(32767,M),rt=Math.min(258,we);Et<=it&&--vn&&Ce!=me;){if(e[M+Xe]==e[M+Xe-Et]){for(var ve=0;ve<rt&&e[M+ve]==e[M+ve-Et];++ve);if(ve>Xe){if(Xe=ve,ze=Et,ve>xt)break;for(var Pt=Math.min(Et,ve-2),at=0,Ne=0;Ne<Pt;++Ne){var Cn=M-Et+Ne&32767,Pr=E[Cn],ta=Cn-Pr&32767;ta>at&&(at=ta,me=Cn)}}}Ce=me,me=E[Ce],Et+=Ce-me&32767}if(ze){C[I++]=268435456|Bf[Xe]<<18|k2[ze];var Rr=Bf[Xe]&31,Nr=k2[ze]&31;k+=bc[Rr]+Ec[Nr],++R[257+Rr],++N[Nr],K=M+Xe,++_}else C[I++]=e[M],++R[e[M]]}}for(M=Math.max(M,K);M<i;++M)C[I++]=e[M],++R[e[M]];u=F2(e,c,m,C,R,N,k,I,re,M-re,u),m||(l.r=u&7|c[u/8|0]<<3,u-=7,l.h=A,l.p=E,l.i=M,l.w=K)}else{for(var M=l.w||0;M<i+m;M+=65535){var lr=M+65535;lr>=i&&(c[u/8|0]=m,lr=i),u=q2(c,u+1,e.subarray(M,lr))}l.i=i}return Ya(s,0,r+Gf(u)+a)},g6=(function(){for(var e=new Int32Array(256),t=0;t<256;++t){for(var n=t,r=9;--r;)n=(n&1&&-306674912)^n>>>1;e[t]=n}return e})(),y6=function(){var e=-1;return{p:function(t){for(var n=e,r=0;r<t.length;++r)n=g6[n&255^t[r]]^n>>>8;e=n},d:function(){return~e}}};var x6=function(e,t,n,r,a){if(!a&&(a={l:1},t.dictionary)){var l=t.dictionary.subarray(-32768),i=new nt(l.length+e.length);i.set(l),i.set(e,l.length),e=i,a.w=l.length}return h6(e,t.level==null?6:t.level,t.mem==null?a.l?Math.ceil(Math.max(8,Math.min(13,Math.log(e.length)))*1.5):20:12+t.mem,n,r,a)},V2=function(e,t){var n={};for(var r in e)n[r]=e[r];for(var r in t)n[r]=t[r];return n};var Nt=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8};function S6(e,t){return x6(e,t||{},0,0)}var z2=(function(){function e(t,n){typeof t=="function"&&(n=t,t={}),this.ondata=n;var r=t&&t.dictionary&&t.dictionary.subarray(-32768);this.s={i:0,b:r?r.length:0},this.o=new nt(32768),this.p=new nt(0),r&&this.o.set(r)}return e.prototype.e=function(t){if(this.ondata||$t(5),this.d&&$t(4),!this.p.length)this.p=t;else if(t.length){var n=new nt(this.p.length+t.length);n.set(this.p),n.set(t,this.p.length),this.p=n}},e.prototype.c=function(t){this.s.i=+(this.d=t||!1);var n=this.s.b,r=G2(this.p,this.s,this.o);this.ondata(Ya(r,n,this.s.b),this.d),this.o=Ya(r,this.s.b-32768),this.s.b=this.o.length,this.p=Ya(this.p,this.s.p/8|0),this.s.p&=7},e.prototype.push=function(t,n){this.e(t),this.c(n)},e})();function W2(e,t){return G2(e,{i:2},t&&t.out,t&&t.dictionary)}var Y2=function(e,t,n,r){for(var a in e){var l=e[a],i=t+a,s=r;Array.isArray(l)&&(s=V2(r,l[1]),l=l[0]),ArrayBuffer.isView(l)?n[i]=[l,s]:(n[i+="/"]=[new nt(0),s],Y2(l,i,n,r))}},I2=typeof TextEncoder<"u"&&new TextEncoder,$f=typeof TextDecoder<"u"&&new TextDecoder,b6=0;try{$f.decode(H2,{stream:!0}),b6=1}catch{}var E6=function(e){for(var t="",n=0;;){var r=e[n++],a=(r>127)+(r>223)+(r>239);if(n+a>e.length)return{s:t,r:Ya(e,n-1)};a?a==3?(r=((r&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|r>>10,56320|r&1023)):a&1?t+=String.fromCharCode((r&31)<<6|e[n++]&63):t+=String.fromCharCode((r&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(r)}};function B2(e,t){if(t){for(var n=new nt(e.length),r=0;r<e.length;++r)n[r]=e.charCodeAt(r);return n}if(I2)return I2.encode(e);for(var a=e.length,l=new nt(e.length+(e.length>>1)),i=0,s=function(u){l[i++]=u},r=0;r<a;++r){if(i+5>l.length){var c=new nt(i+8+(a-r<<1));c.set(l),l=c}var m=e.charCodeAt(r);m<128||t?s(m):m<2048?(s(192|m>>6),s(128|m&63)):m>55295&&m<57344?(m=65536+(m&1047552)|e.charCodeAt(++r)&1023,s(240|m>>18),s(128|m>>12&63),s(128|m>>6&63),s(128|m&63)):(s(224|m>>12),s(128|m>>6&63),s(128|m&63))}return Ya(l,0,i)}function Z2(e,t){if(t){for(var n="",r=0;r<e.length;r+=16384)n+=String.fromCharCode.apply(null,e.subarray(r,r+16384));return n}else{if($f)return $f.decode(e);var a=E6(e),l=a.s,n=a.r;return n.length&&$t(8),l}}var jf=function(e){var t=0;if(e)for(var n in e){var r=e[n].length;r>65535&&$t(9),t+=r+4}return t},O2=function(e,t,n,r,a,l,i,s){var c=r.length,m=n.extra,u=s&&s.length,f=jf(m);Nt(e,t,i!=null?33639248:67324752),t+=4,i!=null&&(e[t++]=20,e[t++]=n.os),e[t]=20,t+=2,e[t++]=n.flag<<1|(l<0&&8),e[t++]=a&&8,e[t++]=n.compression&255,e[t++]=n.compression>>8;var y=new Date(n.mtime==null?Date.now():n.mtime),g=y.getFullYear()-1980;if((g<0||g>119)&&$t(10),Nt(e,t,g<<25|y.getMonth()+1<<21|y.getDate()<<16|y.getHours()<<11|y.getMinutes()<<5|y.getSeconds()>>1),t+=4,l!=-1&&(Nt(e,t,n.crc),Nt(e,t+4,l<0?-l-2:l),Nt(e,t+8,n.size)),Nt(e,t+12,c),Nt(e,t+14,f),t+=16,i!=null&&(Nt(e,t,u),Nt(e,t+6,n.attrs),Nt(e,t+10,i),t+=14),e.set(r,t),t+=c,f)for(var S in m){var E=m[S],A=E.length;Nt(e,t,+S),Nt(e,t+2,A),e.set(E,t+4),t+=4+A}return u&&(e.set(s,t),t+=u),t},A6=function(e,t,n,r,a){Nt(e,t,101010256),Nt(e,t+8,n),Nt(e,t+10,n),Nt(e,t+12,r),Nt(e,t+16,a)};function K2(e,t){t||(t={});var n={},r=[];Y2(e,"",n,t);var a=0,l=0;for(var i in n){var s=n[i],c=s[0],m=s[1],u=m.level==0?0:8,f=B2(i),y=f.length,g=m.comment,S=g&&B2(g),E=S&&S.length,A=jf(m.extra);y>65535&&$t(11);var w=u?S6(c,m):c,T=w.length,v=y6();v.p(c),r.push(V2(m,{size:c.length,crc:v.d(),c:w,f,m:S,u:y!=i.length||S&&g.length!=E,o:a,compression:u})),a+=30+y+A+T,l+=76+2*(y+A)+(E||0)+T}for(var C=new nt(l+22),R=a,N=l-a,_=0;_<r.length;++_){var f=r[_];O2(C,f.o,f,f.f,f.u,f.c.length);var k=30+f.f.length+jf(f.extra);C.set(f.c,f.o+k),O2(C,a,f,f.f,f.u,f.c.length,f.o,f.m),a+=16+k+(f.m?f.m.length:0)}return A6(C,a,r.length,N,R),C}var T6=new Set(["png","jpg","jpeg","gif","bmp","tif","tiff","webp","mp3","mp4","m4a","m4v","wav","wmv","mov","avi","webm","ogg","wma","pdf","zip","gz","7z","rar"]),tE=e=>{let t=e.lastIndexOf(".");return t<0?"":e.slice(t+1).toLowerCase()},w6=new Set(["xml","rels"]),nE=e=>T6.has(tE(e)),v6=67324752,C6=33639248,L6=101010256,P6=101075792,R6=117853008,J2=22,N6=65535,D6=20,_6=56,Q2=46,eE=30,k6=1,co=4294967295,M6=2048,F6=0,I6=8,qf=16*1024,B6=1032,O6=1024,Dt=e=>new Error(`invalid ZIP: ${e}`),Gn=(e,t)=>e[t]|e[t+1]<<8,gn=(e,t)=>(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0,Hf=(e,t)=>{let n=gn(e,t)+gn(e,t+4)*4294967296;if(!Number.isSafeInteger(n))throw Dt("ZIP64 value out of range");return n},Tc=(e,t,n,r)=>{if(t<0||n<0||t+n>e.length)throw Dt(`${r} is out of bounds`)},X6=e=>{let t=Math.max(0,e.length-J2-N6);for(let n=e.length-J2;n>=t;n--)if(gn(e,n)===L6)return n;throw Dt("end of central directory not found")},$6=(e,t)=>{let n=X6(e),r=n-D6;if(r>=0&&gn(e,r)===R6){if(t)throw Dt("ZIP64 end of central directory locator is not accepted under load limits");let a=gn(e,r+8)+gn(e,r+12)*2**32;if(a+_6<=e.length&&gn(e,a)===P6)return{count:Hf(e,a+32),offset:Hf(e,a+48)}}return{count:Gn(e,n+10),offset:gn(e,n+16)}},rE=e=>e.uncompressedSize===co||e.compressedSize===co||e.localHeaderOffset===co,j6=(e,t,n,r)=>{if(!rE(r))return r;let a=r.uncompressedSize===co,l=r.compressedSize===co,i=r.localHeaderOffset===co;for(let s=t;s+4<=n;s+=4+Gn(e,s+2)){if(Gn(e,s)!==k6)continue;let c=s+4+Gn(e,s+2);if(c>n)break;let m=s+4,u=()=>{if(m+8>c)throw Dt("ZIP64 extra field is truncated");let f=Hf(e,m);return m+=8,f};return{uncompressedSize:a?u():r.uncompressedSize,compressedSize:l?u():r.compressedSize,localHeaderOffset:i?u():r.localHeaderOffset}}throw Dt("ZIP64 sizes without a ZIP64 extra field")},Vf=(e,t)=>Dt(`entry "${e}" inflates beyond its declared size of ${t} bytes`),aE=(e,t)=>{let n=t instanceof Error?t.message:String(t);return Dt(`entry "${e}" is not valid DEFLATE data: ${n}`)},U6=(e,t,n)=>{if(e.length===0)return new Uint8Array(0);let r;try{r=W2(e,{out:new Uint8Array(t+1)})}catch(a){throw a instanceof RangeError?Vf(n,t):aE(n,a)}if(r.length>t)throw Vf(n,t);return r},G6=(e,t,n)=>{let r=new Uint8Array(t),a=!1,l=0,i=new z2(s=>{if(l+s.length>t)throw a=!0,Vf(n,t);r.set(s,l),l+=s.length});for(let s=0;s<e.length;s+=qf){let c=Math.min(s+qf,e.length);try{i.push(e.subarray(s,c),c===e.length)}catch(m){throw a?m:aE(n,m)}}return r.subarray(0,l)},q6=(e,t,n)=>{if(t>e.length*B6+O6)throw Dt(`entry "${n}" declares ${t} bytes, more than ${e.length} compressed bytes can hold`);let r=e.length<=qf?U6(e,t,n):G6(e,t,n);if(r.length!==t)throw Dt(`entry "${n}" inflates to ${r.length} bytes, not its declared ${t}`);return r},Ac=(e,t,n)=>Dt(`${e}, over the ${t} limit of ${n}`),H6=e=>{for(let[t,n]of Object.entries(e))if(!(n>=0))throw new RangeError(`load limit ${t} must be a non-negative number`)},V6=(e,t)=>{let{offset:n,count:r}=$6(e,t!==void 0);if(t!==void 0&&r>t.maxEntries)throw Ac(`archive lists ${r} entries`,"maxEntries",t.maxEntries);let a=[],l=new Set,i=0,s=0,c=n;for(let m=0;m<r;m++){if(Tc(e,c,Q2,"central directory"),gn(e,c)!==C6)throw Dt("bad central directory signature");let u=Gn(e,c+8),f=Gn(e,c+10),y=Gn(e,c+28),g=Gn(e,c+30),S=Gn(e,c+32),E=c+Q2,A=E+y,w=A+g+S;Tc(e,c,w-c,"central directory");let T=Z2(e.subarray(E,A),(u&M6)===0),v={compressedSize:gn(e,c+20),uncompressedSize:gn(e,c+24),localHeaderOffset:gn(e,c+42)};if(c=w,l.has(T))throw Dt(`duplicate entry "${T}"`);if(l.add(T),t===void 0){a.push({name:T,method:f,...j6(e,A,A+g,v)});continue}if(rE(v))throw Dt(`entry "${T}" uses ZIP64 sizes, which are not accepted under load limits`);let C=v.uncompressedSize;if(i+=C,i>t.maxTotalUncompressedBytes)throw Ac(`entries declare ${i} uncompressed bytes`,"maxTotalUncompressedBytes",t.maxTotalUncompressedBytes);if(w6.has(tE(T))){if(C>t.maxXmlPartBytes)throw Ac(`entry "${T}" declares ${C} bytes`,"maxXmlPartBytes",t.maxXmlPartBytes);if(s+=C,s>t.maxTotalXmlBytes)throw Ac(`XML parts declare ${s} bytes`,"maxTotalXmlBytes",t.maxTotalXmlBytes)}a.push({name:T,method:f,...v})}return a},zf=(e,t={})=>{t.limits!==void 0&&H6(t.limits);let n=[];for(let r of V6(e,t.limits)){let{name:a,method:l,compressedSize:i,uncompressedSize:s,localHeaderOffset:c}=r;if(Tc(e,c,eE,`local header of "${a}"`),gn(e,c)!==v6)throw Dt(`bad local header signature for "${a}"`);let m=c+eE+Gn(e,c+26)+Gn(e,c+28);Tc(e,m,i,`data of "${a}"`);let u=e.subarray(m,m+i);if(l===F6){if(i!==s)throw Dt(`stored entry "${a}" has mismatched sizes`);n.push({name:a,data:u.slice()})}else if(l===I6)n.push({name:a,data:q6(u,s,a)});else throw Dt(`entry "${a}" uses unsupported compression method ${l}`)}return{entries:n}},us=(e,t={})=>{let n=t.level??6,r={};for(let a of e){let l=nE(a.name)?0:n;r[a.name]=[a.data,{level:l}]}return K2(r)};var G=e=>{if(e==="")throw new Error("part name is empty");if(!e.startsWith("/"))throw new Error(`part name must start with "/": ${e}`);if(e.length>1&&e.endsWith("/"))throw new Error(`part name must not end with "/": ${e}`);let t=e.slice(1).split("/");for(let n of t){if(n==="")throw new Error(`part name contains empty segment: ${e}`);if(n==="."||n==="..")throw new Error(`part name contains "." or ".." segment: ${e}`)}return e},Wf=e=>e.slice(1),Yf=e=>G(`/${e}`),Nn=(e,t)=>e.toLowerCase()===t.toLowerCase(),fs=e=>{let t=e.lastIndexOf("/");return t<=0?"/":e.slice(0,t)},da=e=>{let t=e.lastIndexOf("/");return t<0?e:e.slice(t+1)},_t=e=>{let t=fs(e),n=da(e),r=t==="/"?"/_rels/":`${t}/_rels/`;return G(`${r}${n}.rels`)};var V=(e,t)=>{if(t==="")throw new Error("relationship target is empty");if(t.startsWith("/"))return G(t);let n=e==="/"?"/":fs(e),r=n==="/"?[]:n.slice(1).split("/");for(let a of t.split("/"))if(!(a===""||a===".")){if(a===".."){if(r.length===0)throw new Error(`relationship target "${t}" escapes the package root`);r.pop();continue}r.push(a)}return G(`/${r.join("/")}`)};var Za=d.contentTypes,z6=o("","Types",Za),W6=o("","Default",Za),Y6=o("","Override",Za),Z6=o("","Extension",""),lE=o("","ContentType",""),K6=o("","PartName",""),wc=(e,t)=>{for(let n of e.attrs)if(n.name.localName===t)return n.value;return null},Zf=e=>{let t=j(e);if(t.root.name.namespaceURI!==Za||t.root.name.localName!=="Types")throw new Error(`expected root <Types xmlns="${Za}">, got <${t.root.name.localName}>`);let n=[],r=[];for(let a of t.root.children)if(a.kind==="element"&&a.name.namespaceURI===Za){if(a.name.localName==="Default"){let l=wc(a,"Extension"),i=wc(a,"ContentType");if(l===null||i===null)throw new Error("Content_Types Default missing Extension or ContentType");n.push({extension:l.toLowerCase(),contentType:i})}else if(a.name.localName==="Override"){let l=wc(a,"PartName"),i=wc(a,"ContentType");if(l===null||i===null)throw new Error("Content_Types Override missing PartName or ContentType");r.push({partName:G(l),contentType:i})}}return{defaults:n,overrides:r}},Kf=e=>{let t=[...e.defaults.map(a=>h(W6,{attrs:[{name:Z6,value:a.extension},{name:lE,value:a.contentType}]})),...e.overrides.map(a=>h(Y6,{attrs:[{name:K6,value:a.partName},{name:lE,value:a.contentType}]}))],n=h(z6,{prefixDecls:new Map([["",Za]]),children:t});return ae({kind:"document",decl:{version:"1.0",encoding:"UTF-8",standalone:"yes"},prolog:[],root:n,epilog:[]})},oE=e=>{let t=da(e),n=t.lastIndexOf(".");return n<0?null:t.slice(n+1).toLowerCase()},Jf=e=>{let t=new Map;for(let r of e.overrides){let a=r.partName.toLowerCase();t.has(a)||t.set(a,r.contentType)}let n=new Map;for(let r of e.defaults){let a=r.extension.toLowerCase();n.has(a)||n.set(a,r.contentType)}return r=>{let a=t.get(r.toLowerCase());if(a!==void 0)return a;let l=oE(r);return l===null?null:n.get(l)??null}},Qf=(e,t)=>{for(let r of e.overrides)if(Nn(r.partName,t))return r.contentType;let n=oE(t);if(n===null)return null;for(let r of e.defaults)if(r.extension.toLowerCase()===n)return r.contentType;return null},eh=()=>({defaults:[{extension:"rels",contentType:"application/vnd.openxmlformats-package.relationships+xml"},{extension:"xml",contentType:"application/xml"}],overrides:[]});var mo=d.relationships,J6=o("","Relationships",mo),Q6=o("","Relationship",mo),eO=o("","Id",""),tO=o("","Type",""),nO=o("","Target",""),rO=o("","TargetMode",""),vc=(e,t)=>{for(let n of e.attrs)if(n.name.localName===t)return n.value;return null},Ka=e=>{let t=j(e);if(t.root.name.namespaceURI!==mo||t.root.name.localName!=="Relationships")throw new Error(`expected root <Relationships xmlns="${mo}">, got <${t.root.name.localName}>`);let n=[];for(let r of t.root.children){if(r.kind!=="element"||r.name.namespaceURI!==mo||r.name.localName!=="Relationship")continue;let a=vc(r,"Id"),l=vc(r,"Type"),i=vc(r,"Target");if(a===null||l===null||i===null)throw new Error("Relationship missing Id, Type, or Target");let s=vc(r,"TargetMode"),c="Internal";if(s!==null){if(s!=="Internal"&&s!=="External")throw new Error(`invalid TargetMode "${s}"`);c=s}n.push({id:a,type:l,target:i,targetMode:c})}return{items:n}},Cc=e=>{let t=e.items.map(a=>{let l=[{name:eO,value:a.id},{name:tO,value:a.type},{name:nO,value:a.target}];return a.targetMode==="External"&&l.push({name:rO,value:"External"}),h(Q6,{attrs:l})}),n=h(J6,{prefixDecls:new Map([["",mo]]),children:t});return ae({kind:"document",decl:{version:"1.0",encoding:"UTF-8",standalone:"yes"},prolog:[],root:n,epilog:[]})},pe=()=>({items:[]});function se(e,t){let n=0;for(let r of e){let a=r.match(/^rId(\d+)$/);if(a?.[1]!==void 0){let l=Number.parseInt(a[1],10);Number.isFinite(l)&&l>n&&(n=l)}}return t===void 0?`rId${n+1}`:Array.from({length:t},(r,a)=>`rId${n+a+1}`)}var Ja=(e,t)=>{if(e.length<t.length)return!1;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0},th=new TextDecoder("utf-8",{fatal:!1}),ut=e=>{if(Ja(e,[137,80,78,71,13,10,26,10]))return"png";if(Ja(e,[255,216,255]))return"jpeg";if(Ja(e,[71,73,70,56]))return"gif";if(Ja(e,[66,77]))return"bmp";if(Ja(e,[73,73,42,0])||Ja(e,[77,77,0,42]))return"tiff";if(e.length>=12&&Ja(e,[82,73,70,70])&&e[8]===87&&e[9]===69&&e[10]===66&&e[11]===80)return"webp";let t=th.decode(e.subarray(0,Math.min(e.length,1024)));return/<svg[\s>]/.test(t)?"svg":null},po=(e,t)=>e[t]<<8|e[t+1],hs=(e,t)=>(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0,aO=e=>{if(e.length<24)return null;let t=hs(e,16),n=hs(e,20);return t<=0||n<=0?null:{width:t,height:n}},lO=new Set([196,200,204]),oO=e=>{let t=2;for(;t+9<e.length;){if(e[t]!==255){t++;continue}let n=e[t+1];if(n===255||n>=208&&n<=217||n===1){t+=2;continue}let r=po(e,t+2);if(r<2)return null;if(n>=192&&n<=207&&!lO.has(n)){let a=po(e,t+5),l=po(e,t+7);return l<=0||a<=0?null:{width:l,height:a}}t+=2+r}return null},Qa=e=>{let t=ut(e);return t==="png"?aO(e):t==="jpeg"?oO(e):null},yn=e=>{switch(e){case"jpeg":return"jpg";case"png":return"png";case"gif":return"gif";case"bmp":return"bmp";case"tiff":return"tiff";case"webp":return"webp";case"svg":return"svg"}},xn=e=>{switch(e){case"png":return"image/png";case"jpeg":return"image/jpeg";case"gif":return"image/gif";case"bmp":return"image/bmp";case"tiff":return"image/tiff";case"webp":return"image/webp";case"svg":return"image/svg+xml"}},iE=e=>{let t=ut(e);if(t==="png"){let n=8;for(;n+12<=e.length;){let r=hs(e,n);if(r>e.length-n-12)return null;let a=th.decode(e.subarray(n+4,n+8));if(a==="pHYs"&&r===9&&e[n+16]===1){let l=hs(e,n+8)*.0254,i=hs(e,n+12)*.0254;return l>0&&i>0?{x:l,y:i}:null}if(a==="IDAT"||a==="IEND")break;n+=r+12}}else if(t==="jpeg"){let n=2;for(;n+4<=e.length&&e[n]===255;){let r=e[n+1];if(r===218||r===217)break;if(r===255||r===1||r>=208&&r<=216){n+=r===255?1:2;continue}let a=po(e,n+2);if(a<2||a>e.length-n-2)return null;if(r===224&&a>=16&&th.decode(e.subarray(n+4,n+9))==="JFIF\0"){let l=e[n+11],i=l===1?1:l===2?2.54:0,s=po(e,n+12)*i,c=po(e,n+14)*i;if(s>0&&c>0)return{x:s,y:c}}n+=a+2}}return null};var iO={mp4:"video/mp4",m4v:"video/mp4",mov:"video/quicktime",webm:"video/webm",avi:"video/x-msvideo",wmv:"video/x-ms-wmv"},sO={mp3:"audio/mpeg",wav:"audio/x-wav",m4a:"audio/mp4",ogg:"audio/ogg",wma:"audio/x-ms-wma"},nh=e=>iO[e],gs=e=>sO[e],Lc=(e,t,n)=>{if(e.length<t+n.length)return!1;for(let r=0;r<n.length;r++)if(e[t+r]!==n[r])return!1;return!0},uo=(e,t,n)=>Lc(e,t,Array.from(n,r=>r.charCodeAt(0))),sE=e=>uo(e,4,"ftyp")&&e.length>=12?String.fromCharCode(e[8],e[9],e[10],e[11]):null,dE=(e,t)=>uo(e,0,"RIFF")&&uo(e,8,t),cE=[48,38,178,117,142,102,207,17],dO=[26,69,223,163],cO=64,mO=e=>{if(!Lc(e,0,dO))return!1;let t=Math.min(e.length,cO)-4;for(let n=4;n<=t;n++)if(uo(e,n,"webm"))return!0;return!1},rh=e=>{let t=sE(e);return t!==null?t==="qt "?"mov":t==="M4V "?"m4v":"mp4":mO(e)?"webm":dE(e,"AVI ")?"avi":Lc(e,0,cE)?"wmv":null},ys=e=>sE(e)!==null?"m4a":dE(e,"WAVE")?"wav":uo(e,0,"OggS")?"ogg":Lc(e,0,cE)?"wma":uo(e,0,"ID3")||e.length>=2&&e[0]===255&&(e[1]&224)===224?"mp3":null;var Ie="http://schemas.openxmlformats.org/officeDocument/2006/relationships",mE="http://schemas.openxmlformats.org/package/2006/relationships",pO="http://schemas.microsoft.com/office/2007/relationships",pE="http://schemas.microsoft.com/office/2018/10/relationships",D={officeDocument:`${Ie}/officeDocument`,coreProperties:`${mE}/metadata/core-properties`,extendedProperties:`${Ie}/extended-properties`,customProperties:`${Ie}/custom-properties`,slideMaster:`${Ie}/slideMaster`,notesMaster:`${Ie}/notesMaster`,handoutMaster:`${Ie}/handoutMaster`,slide:`${Ie}/slide`,presProps:`${Ie}/presProps`,viewProps:`${Ie}/viewProps`,theme:`${Ie}/theme`,tableStyles:`${Ie}/tableStyles`,customXmlProps:`${Ie}/customXmlProps`,customXml:`${Ie}/customXml`,thumbnail:`${mE}/metadata/thumbnail`,slideLayout:`${Ie}/slideLayout`,notesSlide:`${Ie}/notesSlide`,hyperlink:`${Ie}/hyperlink`,image:`${Ie}/image`,chart:`${Ie}/chart`,oleObject:`${Ie}/oleObject`,package:`${Ie}/package`,diagramData:`${Ie}/diagramData`,diagramLayout:`${Ie}/diagramLayout`,diagramQuickStyle:`${Ie}/diagramQuickStyle`,diagramColors:`${Ie}/diagramColors`,media:`${pO}/media`,video:`${Ie}/video`,audio:`${Ie}/audio`,font:`${Ie}/font`,authors:`${pE}/authors`,modernComment:`${pE}/comments`,comments:`${Ie}/comments`,commentAuthors:`${Ie}/commentAuthors`};var uO=o("p","presentation",d.pml),fO=o("p","sldMasterIdLst",d.pml),hO=o("p","sldMasterId",d.pml),gO=o("p","sldIdLst",d.pml),yO=o("p","sldId",d.pml),xO=o("p","notesMasterIdLst",d.pml),SO=o("p","notesMasterId",d.pml),bO=o("p","sldSz",d.pml),EO=o("p","notesSz",d.pml),uE=o("","id",""),AO=o("r","id",d.officeDocRels),TO=o("","cx",""),wO=o("","cy",""),vO=o("","type",""),ah=(e,t)=>{let n=x(e,AO);if(n===null)throw new Error(`${t}: missing r:id attribute`);return n},fE=(e,t)=>{let n=p(e,t);if(n===null)return null;let r=x(n,TO),a=x(n,wO);if(r===null||a===null)throw new Error(`<${t.localName}>: missing cx/cy attribute`);let l=x(n,vO);return{cx:Number.parseInt(r,10),cy:Number.parseInt(a,10),...l!==null?{type:l}:{}}},Qt=e=>{if(e.name.namespaceURI!==uO.namespaceURI||e.name.localName!=="presentation")throw new Error(`expected <p:presentation>, got <${e.name.prefix}:${e.name.localName}>`);let t=[],n=p(e,fO);if(n!==null)for(let s of Q(n,hO)){let c=x(s,uE);if(c===null)throw new Error("<p:sldMasterId>: missing id attribute");t.push({id:Number.parseInt(c,10),rId:ah(s,"<p:sldMasterId>")})}let r=[],a=p(e,gO);if(a!==null)for(let s of Q(a,yO)){let c=x(s,uE);if(c===null)throw new Error("<p:sldId>: missing id attribute");r.push({id:Number.parseInt(c,10),rId:ah(s,"<p:sldId>")})}let l=null,i=p(e,xO);if(i!==null){let s=p(i,SO);s!==null&&(l={rId:ah(s,"<p:notesMasterId>")})}return{slideMasters:t,slides:r,notesMaster:l,slideSize:fE(e,bO),notesSize:fE(e,EO)}};var CO=o("p","cSld",d.pml),LO=o("p","spTree",d.pml),PO=o("p","nvSpPr",d.pml),RO=o("p","nvPicPr",d.pml),NO=o("p","nvGrpSpPr",d.pml),DO=o("p","nvGraphicFramePr",d.pml),_O=o("p","nvCxnSpPr",d.pml),kO=o("p","cNvPr",d.pml),MO=o("p","nvPr",d.pml),FO=o("p","ph",d.pml),IO=o("p","txBody",d.pml),BO=o("","id",""),OO=o("","name",""),XO=o("","type",""),$O=o("","idx",""),jO={shape:PO,picture:RO,group:NO,graphicFrame:DO,connector:_O},UO=e=>{if(e.name.namespaceURI!==d.pml)return null;switch(e.name.localName){case"sp":return"shape";case"pic":return"picture";case"grpSp":return"group";case"graphicFrame":return"graphicFrame";case"cxnSp":return"connector";default:return null}},GO=(e,t)=>{let n=p(e,jO[t]),r=0,a="",l=null,i=null;if(n!==null){let c=p(n,kO);if(c!==null){let u=x(c,BO);u!==null&&(r=Number.parseInt(u,10));let f=x(c,OO);f!==null&&(a=f)}let m=p(n,MO);if(m!==null){let u=p(m,FO);if(u!==null){l=x(u,XO);let f=x(u,$O);f!==null&&(i=Number.parseInt(f,10))}}}let s="";if(t==="shape"){let c=p(e,IO);c!==null&&(s=Je(c))}return{kind:t,id:r,name:a,placeholderType:l,placeholderIdx:i,text:s,element:e}},lh=(e,t,n)=>{for(let r of e.children){if(r.kind!=="element")continue;let a=UO(r);a!==null&&(t.push(GO(r,a)),a==="group"&&n&&lh(r,t,n))}},el=e=>{if(e.name.namespaceURI!==d.pml||e.name.localName!=="grpSp")throw new Error(`readGroupChildren: expected <p:grpSp>, got <${e.name.prefix}:${e.name.localName}>`);let t=[];return lh(e,t,!1),t},Ge=(e,t,n={})=>{if(e.name.namespaceURI!==d.pml||e.name.localName!==t)throw new Error(`expected <p:${t}>, got <${e.name.prefix}:${e.name.localName}>`);let r=p(e,CO);if(r===null)throw new Error(`<p:${t}>: missing <p:cSld>`);let a=p(r,LO);if(a===null)throw new Error("<p:cSld>: missing <p:spTree>");let l=[];return lh(a,l,n.recurseIntoGroups??!0),{shapes:l,cSld:r}},fo=(e,t={})=>{let{shapes:n}=Ge(e,"sld",t);return{shapes:n,root:e}},$r=(e,t=`
|
|
8
|
+
`)=>e.shapes.map(n=>n.text).filter(n=>n.length>0).join(t);var qO=o("p","cSld",d.pml),HO=o("","name",""),VO=o("","type",""),jr=(e,t={})=>{let{shapes:n}=Ge(e,"sldLayout",t),r=p(e,qO),a=r!==null?x(r,HO):null,l=x(e,VO);return{name:a??"",layoutType:l,shapes:n,root:e}};var zO=o("p","sld",d.pml),WO=o("p","cSld",d.pml),YO=o("p","spTree",d.pml),ZO=o("p","nvGrpSpPr",d.pml),hE=o("p","cNvPr",d.pml),KO=o("p","cNvGrpSpPr",d.pml),oh=o("p","nvPr",d.pml),JO=o("p","grpSpPr",d.pml),QO=o("p","sp",d.pml),gE=o("p","nvSpPr",d.pml),e8=o("p","cNvSpPr",d.pml),t8=o("p","spPr",d.pml),n8=o("p","txBody",d.pml),yE=o("p","ph",d.pml),r8=o("a","bodyPr",d.dml),a8=o("a","lstStyle",d.dml),l8=o("a","p",d.dml),o8=o("a","spLocks",d.dml),xE=o("","id",""),SE=o("","name",""),i8=o("","type",""),s8=new Set(["type","idx","orient","sz"]),d8=o("","noGrp",""),ih=e=>{let t=[];for(let s of e.children){if(s.kind!=="element"||s.name.namespaceURI!==d.pml||s.name.localName!=="sp")continue;let c=p(s,gE);if(c===null)continue;let m=p(c,oh);if(m===null)continue;let u=p(m,yE);u!==null&&t.push(u)}let n=2,r=[];for(let s of t)r.push(Ss(n,s)),n++;let a=h(YO,{children:[c8(1),m8(),...r]}),l=h(WO,{children:[a]}),i=h(zO,{prefixDecls:new Map([["a",d.dml],["r",d.officeDocRels],["p",d.pml]]),children:[l]});return{kind:"document",decl:{version:"1.0",encoding:"UTF-8",standalone:"yes"},prolog:[],root:i,epilog:[]}},c8=e=>h(ZO,{children:[h(hE,{attrs:[b(xE,String(e)),b(SE,"")]}),h(KO),h(oh)]}),m8=()=>h(JO),Ss=(e,t)=>{let n=x(t,i8),r=t.attrs.filter(y=>y.name.namespaceURI===""&&s8.has(y.name.localName)).map(y=>b(y.name,y.value)),a=h(yE,{attrs:r}),l=h(oh,{children:[a]}),i=h(e8,{children:[h(o8,{attrs:[b(d8,"1")]})]}),s=p8(e,n),c=h(hE,{attrs:[b(xE,String(e)),b(SE,s)]}),m=h(gE,{children:[c,i,l]}),u=h(t8),f=h(n8,{children:[h(r8),h(a8),h(l8,{children:[be("")]})]});return h(QO,{children:[m,u,f]})},p8=(e,t)=>{switch(t){case"title":return`Title ${e-1}`;case"ctrTitle":return`Centered Title ${e-1}`;case"subTitle":return`Subtitle ${e-1}`;case"body":return`Content Placeholder ${e-1}`;case"pic":return`Picture Placeholder ${e-1}`;case"chart":return`Chart Placeholder ${e-1}`;case"tbl":return`Table Placeholder ${e-1}`;case"dt":return`Date Placeholder ${e-1}`;case"sldNum":return`Slide Number Placeholder ${e-1}`;case"ftr":return`Footer Placeholder ${e-1}`;case"hdr":return`Header Placeholder ${e-1}`;default:return`Placeholder ${e-1}`}};var u8=o("p","sp",d.pml),f8=o("p","nvSpPr",d.pml),h8=o("p","cNvPr",d.pml),g8=o("p","cNvSpPr",d.pml),y8=o("p","nvPr",d.pml),x8=o("p","spPr",d.pml),S8=o("p","txBody",d.pml),b8=o("a","xfrm",d.dml),E8=o("a","off",d.dml),A8=o("a","ext",d.dml),T8=o("a","prstGeom",d.dml),w8=o("a","avLst",d.dml),v8=o("a","noFill",d.dml),C8=o("a","bodyPr",d.dml),L8=o("a","lstStyle",d.dml),P8=o("a","p",d.dml),R8=o("a","r",d.dml),N8=o("a","rPr",d.dml),D8=o("a","t",d.dml),_8=o("","id",""),k8=o("","name",""),M8=o("","txBox",""),F8=o("","x",""),I8=o("","y",""),B8=o("","cx",""),O8=o("","cy",""),X8=o("","prst",""),$8=o("","wrap",""),j8=o("","rtlCol",""),U8=o("","lang",""),G8=o("xml","space",d.xml),sh=e=>{let t=e.name??`TextBox ${e.id}`,n=h(h8,{attrs:[b(_8,String(e.id)),b(k8,t)]}),r=h(g8,{attrs:[b(M8,"1")]}),a=h(y8),l=h(f8,{children:[n,r,a]}),i=h(E8,{attrs:[b(F8,String(Ue(e.x,"addSlideTextBox: x"))),b(I8,String(Ue(e.y,"addSlideTextBox: y")))]}),s=h(A8,{attrs:[b(B8,String(xe(e.w,"addSlideTextBox: w"))),b(O8,String(xe(e.h,"addSlideTextBox: h")))]}),c=h(b8,{children:[i,s]}),m=h(T8,{attrs:[b(X8,"rect")],children:[h(w8)]}),u=h(x8,{children:[c,m,h(v8)]}),y=e.text.split(`
|
|
9
|
+
`).map(E=>{let A=h(D8,{children:E.length>0?[be(E)]:[]}),w=h(R8,{children:[h(N8,{attrs:[b(U8,"en-US")]}),A]});return h(P8,{children:[w]})}),g=h(C8,{attrs:[b($8,"square"),b(j8,"0")]}),S=h(S8,{children:[g,h(L8),...y]});return h(u8,{children:[l,u,S]})};var q8=o("p","sp",d.pml),H8=o("p","nvSpPr",d.pml),V8=o("p","cNvPr",d.pml),z8=o("p","cNvSpPr",d.pml),W8=o("p","nvPr",d.pml),Y8=o("p","spPr",d.pml),Z8=o("p","txBody",d.pml),K8=o("a","xfrm",d.dml),J8=o("a","off",d.dml),Q8=o("a","ext",d.dml),eX=o("a","prstGeom",d.dml),tX=o("a","avLst",d.dml),nX=o("a","bodyPr",d.dml),rX=o("a","lstStyle",d.dml),aX=o("a","p",d.dml),lX=o("a","r",d.dml),oX=o("a","rPr",d.dml),iX=o("a","t",d.dml),sX=o("","id",""),dX=o("","name",""),cX=o("","x",""),mX=o("","y",""),pX=o("","cx",""),uX=o("","cy",""),fX=o("","prst",""),hX=o("","wrap",""),gX=o("","rtlCol",""),yX=o("","lang",""),xX=o("","anchor",""),SX=o("","anchorCtr",""),bX=(e,t)=>{if(e===void 0)return null;let n=[b(hX,"square"),b(gX,"0")];(t==="ctr"||t==="t"||t==="b")&&n.push(b(xX,t)),(t==="ctr"||t===void 0)&&n.push(b(SX,"1"));let r=h(nX,{attrs:n}),a=e.split(`
|
|
10
|
+
`).map(l=>{let i=h(iX,{children:l.length>0?[be(l)]:[]}),s=h(lX,{children:[h(oX,{attrs:[b(yX,"en-US")]}),i]});return h(aX,{children:[s]})});return h(Z8,{children:[r,h(rX),...a]})},dh=e=>{Z(e.preset,cb,"addSlideShape: preset"),e.textAnchor!==void 0&&Z(e.textAnchor,["t","ctr","b"],"addSlideShape: textAnchor");let t=e.name??`${e.preset} ${e.id}`,n=e.textAnchor??"ctr",r=h(V8,{attrs:[b(sX,String(e.id)),b(dX,t)]}),a=h(z8),l=h(H8,{children:[r,a,h(W8)]}),i=h(J8,{attrs:[b(cX,String(Ue(e.x,"addSlideShape: x"))),b(mX,String(Ue(e.y,"addSlideShape: y")))]}),s=h(Q8,{attrs:[b(pX,String(xe(e.w,"addSlideShape: w"))),b(uX,String(xe(e.h,"addSlideShape: h")))]}),c=h(K8,{children:[i,s]}),m=h(eX,{attrs:[b(fX,e.preset)],children:[h(tX)]}),u=h(Y8,{children:[c,m]}),f=[l,u],y=bX(e.text,n);return y&&f.push(y),h(q8,{children:f})};var EX=o("p","cxnSp",d.pml),AX=o("p","nvCxnSpPr",d.pml),TX=o("p","cNvPr",d.pml),wX=o("p","cNvCxnSpPr",d.pml),vX=o("p","nvPr",d.pml),CX=o("p","spPr",d.pml),LX=o("a","xfrm",d.dml),PX=o("a","off",d.dml),RX=o("a","ext",d.dml),NX=o("a","prstGeom",d.dml),DX=o("a","avLst",d.dml),_X=o("a","ln",d.dml),kX=o("a","solidFill",d.dml),MX=o("p","style",d.pml),FX=o("a","lnRef",d.dml),IX=o("a","fillRef",d.dml),BX=o("a","effectRef",d.dml),OX=o("a","fontRef",d.dml),XX=o("a","schemeClr",d.dml),$X=o("","idx",""),jX=o("","val",""),UX=o("","id",""),GX=o("","name",""),qX=o("","x",""),HX=o("","y",""),VX=o("","cx",""),zX=o("","cy",""),WX=o("","prst",""),YX=o("","w",""),ZX=o("","flipH",""),KX=o("","flipV",""),ch=e=>{let t=e.name??`Straight Connector ${e.id}`,n=h(TX,{attrs:[b(UX,String(e.id)),b(GX,t)]}),r=h(wX),a=h(AX,{children:[n,r,h(vX)]}),l=Math.min(e.from.x,e.to.x),i=Math.min(e.from.y,e.to.y),s=Math.abs(e.to.x-e.from.x),c=Math.abs(e.to.y-e.from.y),m=e.from.x>e.to.x,u=e.from.y>e.to.y,f=[];m&&f.push(b(ZX,"1")),u&&f.push(b(KX,"1"));let y=h(LX,{attrs:f,children:[h(PX,{attrs:[b(qX,String(Ue(l,"addSlideLine: x"))),b(HX,String(Ue(i,"addSlideLine: y")))]}),h(RX,{attrs:[b(VX,String(xe(s,"addSlideLine: width"))),b(zX,String(xe(c,"addSlideLine: height")))]})]}),g=h(NX,{attrs:[b(WX,"line")],children:[h(DX)]}),S=e.color!==void 0||e.widthEmu!==void 0,E=[y,g];if(S){let T=h(_X,{attrs:e.widthEmu!==void 0?[b(YX,String(Mr(e.widthEmu,"addSlideLine: widthEmu")))]:[],children:e.color!==void 0?[h(kX,{children:[tt(e.color)]})]:[]});E.push(T)}let A=h(CX,{children:E}),w=[a,A];if(!S){let T=(v,C,R)=>h(v,{attrs:[b($X,C)],children:[h(XX,{attrs:[b(jX,R)]})]});w.push(h(MX,{children:[T(FX,"1","accent1"),T(IX,"0","accent1"),T(BX,"0","accent1"),T(OX,"minor","tx1")]}))}return h(EX,{children:w})};var JX=o("p","grpSp",d.pml),QX=o("p","nvGrpSpPr",d.pml),e7=o("p","cNvPr",d.pml),t7=o("p","cNvGrpSpPr",d.pml),n7=o("p","nvPr",d.pml),r7=o("p","grpSpPr",d.pml),a7=o("a","xfrm",d.dml),l7=o("a","off",d.dml),o7=o("a","ext",d.dml),i7=o("a","chOff",d.dml),s7=o("a","chExt",d.dml),d7=o("","id",""),c7=o("","name",""),bE=o("","x",""),EE=o("","y",""),AE=o("","cx",""),TE=o("","cy",""),mh=e=>{let t=e.name??`Group ${e.id}`,n=h(e7,{attrs:[b(d7,String(e.id)),b(c7,t)]}),r=h(QX,{children:[n,h(t7),h(n7)]}),a=Ue(e.x,"groupShapes: x"),l=Ue(e.y,"groupShapes: y"),i=xe(e.w,"groupShapes: w"),s=xe(e.h,"groupShapes: h"),c=h(a7,{children:[h(l7,{attrs:[b(bE,String(a)),b(EE,String(l))]}),h(o7,{attrs:[b(AE,String(i)),b(TE,String(s))]}),h(i7,{attrs:[b(bE,String(a)),b(EE,String(l))]}),h(s7,{attrs:[b(AE,String(i)),b(TE,String(s))]})]}),m=h(r7,{children:[c]});return h(JX,{children:[r,m,...e.children]})};var m7=o("p","pic",d.pml),p7=o("p","nvPicPr",d.pml),u7=o("p","cNvPr",d.pml),f7=o("p","cNvPicPr",d.pml),h7=o("p","nvPr",d.pml),g7=o("p","blipFill",d.pml),y7=o("a","blip",d.dml),x7=o("a","stretch",d.dml),S7=o("a","fillRect",d.dml),b7=o("p","spPr",d.pml),E7=o("a","xfrm",d.dml),A7=o("a","off",d.dml),T7=o("a","ext",d.dml),w7=o("a","prstGeom",d.dml),v7=o("a","avLst",d.dml),C7=o("a","picLocks",d.dml),L7=o("","id",""),P7=o("","name",""),R7=o("","x",""),N7=o("","y",""),D7=o("","cx",""),_7=o("","cy",""),k7=o("","prst",""),M7=o("r","embed",d.officeDocRels),F7=o("","noChangeAspect",""),bs=e=>{let t=e.name??`Picture ${e.id}`,n=e.lockAspect??!0,r=h(C7,{attrs:n?[b(F7,"1")]:[]}),a=h(f7,{children:[r]}),l=h(u7,{attrs:[b(L7,String(e.id)),b(P7,t)]}),i=h(h7),s=h(p7,{children:[l,a,i]}),c=h(y7,{attrs:[b(M7,e.rEmbed)]}),m=h(x7,{children:[h(S7)]}),u=h(g7,{children:[c,m]}),f=h(A7,{attrs:[b(R7,String(Ue(e.x,"addSlideImage: x"))),b(N7,String(Ue(e.y,"addSlideImage: y")))]}),y=h(T7,{attrs:[b(D7,String(xe(e.w,"addSlideImage: w"))),b(_7,String(xe(e.h,"addSlideImage: h")))]}),g=h(E7,{children:[f,y]}),S=h(w7,{attrs:[b(k7,"rect")],children:[h(v7)]}),E=h(b7,{children:[g,S]});return h(m7,{children:[s,u,E]})};var wE=o("p","nvPicPr",d.pml),I7=o("p","cNvPr",d.pml),vE=o("p","nvPr",d.pml),B7=o("a","hlinkClick",d.dml),O7=o("a","videoFile",d.dml),X7=o("a","audioFile",d.dml),CE=o("p","extLst",d.pml),$7=o("p","ext",d.pml),LE=o("p14","media",d.p14),j7=o("p","timing",d.pml),U7=o("p","tnLst",d.pml),G7=o("p","par",d.pml),PE=o("p","cTn",d.pml),q7=o("p","childTnLst",d.pml),H7=o("p","video",d.pml),V7=o("p","audio",d.pml),RE=o("p","cMediaNode",d.pml),z7=o("p","stCondLst",d.pml),W7=o("p","cond",d.pml),NE=o("p","tgtEl",d.pml),DE=o("p","spTgt",d.pml),Y7=o("r","id",d.officeDocRels),_E=o("r","link",d.officeDocRels),ph=o("r","embed",d.officeDocRels),Z7=o("","action",""),K7=o("","uri",""),kE=o("","id",""),J7=o("","dur",""),Q7=o("","restart",""),e9=o("","nodeType",""),t9=o("","vol",""),n9=o("","fill",""),r9=o("","display",""),a9=o("","delay",""),ME=o("","spid",""),l9="ppaction://media",o9="{DAA4B4D4-6D71-4841-9C94-3DE7FCFB9230}",i9="80000",uh=e=>{let t=bs(e),n=p(t,wE),r=p(n,I7),a=p(n,vE);if(r.children.push(h(B7,{attrs:[b(Y7,""),b(Z7,l9)]})),a.children.push(h(e.kind==="video"?O7:X7,{attrs:[b(_E,e.rLink)]})),e.rMedia!==void 0){let l=h(LE,{attrs:[b(ph,e.rMedia)],prefixDecls:new Map([["p14",d.p14]])}),i=h($7,{attrs:[b(K7,o9)],children:[l]});a.children.push(h(CE,{children:[i]}))}return t},Pc=(e,t,n)=>{let r=h(PE,{attrs:[b(kE,String(n)),b(n9,"hold"),b(r9,"0")],children:[h(z7,{children:[h(W7,{attrs:[b(a9,"indefinite")]})]})]}),a=h(NE,{children:[h(DE,{attrs:[b(ME,String(t))]})]}),l=h(RE,{attrs:[b(t9,i9)],children:[r,a]});return h(e==="video"?H7:V7,{children:[l]})},Rc=e=>{let t=h(PE,{attrs:[b(kE,"1"),b(J7,"indefinite"),b(Q7,"never"),b(e9,"tmRoot")],children:[h(q7,{children:[...e]})]});return h(j7,{children:[h(U7,{children:[h(G7,{children:[t]})]})]})},hr=e=>e.name.namespaceURI===d.pml&&(e.name.localName==="video"||e.name.localName==="audio"),ho=e=>{let t=p(e,RE),n=t?p(t,NE):null,r=n?p(n,DE):null,a=r?x(r,ME):null;if(a===null)return null;let l=Number.parseInt(a,10);return Number.isFinite(l)?l:null},s9={videoFile:"video",quickTimeFile:"video",audioFile:"audio",wavAudioFile:"audio"},Es=e=>{let t=p(e,wE),n=t?p(t,vE):null;if(!n)return null;for(let r of n.children){if(r.kind!=="element"||r.name.namespaceURI!==d.dml)continue;let a=s9[r.name.localName];if(a===void 0)continue;let l=r.name.localName==="wavAudioFile"?x(r,ph):x(r,_E);return{kind:a,fileRId:l,mediaRId:d9(n)}}return null},d9=e=>{let t=p(e,CE);if(!t)return null;for(let n of t.children){if(n.kind!=="element")continue;let r=p(n,LE);if(r)return x(r,ph)}return null};var c9="http://schemas.openxmlformats.org/drawingml/2006/table",go="{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}",m9=o("p","graphicFrame",d.pml),p9=o("p","nvGraphicFramePr",d.pml),u9=o("p","cNvPr",d.pml),f9=o("p","cNvGraphicFramePr",d.pml),h9=o("a","graphicFrameLocks",d.dml),g9=o("p","nvPr",d.pml),y9=o("p","xfrm",d.pml),x9=o("a","off",d.dml),S9=o("a","ext",d.dml),b9=o("a","graphic",d.dml),E9=o("a","graphicData",d.dml),A9=o("a","tbl",d.dml),T9=o("a","tblPr",d.dml),w9=o("a","tableStyleId",d.dml),v9=o("a","tblGrid",d.dml),C9=o("a","gridCol",d.dml),L9=o("a","tr",d.dml),P9=o("a","tc",d.dml),R9=o("a","tcPr",d.dml),N9=o("a","txBody",d.dml),D9=o("a","bodyPr",d.dml),_9=o("a","lstStyle",d.dml),k9=o("a","p",d.dml),M9=o("a","r",d.dml),FE=o("a","rPr",d.dml),F9=o("a","solidFill",d.dml),I9=o("a","srgbClr",d.dml),B9=o("a","t",d.dml),O9=o("a","pPr",d.dml),X9=o("a","buNone",d.dml),$9=o("","val",""),BE=o("","marL",""),j9=o("","marR",""),U9=o("","marT",""),G9=o("","marB",""),q9=o("","indent",""),H9=o("","id",""),V9=o("","name",""),z9=o("","noGrp",""),W9=o("","x",""),Y9=o("","y",""),Z9=o("","cx",""),K9=o("","cy",""),J9=o("","uri",""),Q9=o("","w",""),e$=o("","h",""),t$=o("","firstRow",""),n$=o("","bandRow",""),r$=o("","lang",""),a$=e=>{let t=b(r$,"en-US");if(e===void 0)return h(FE,{attrs:[t]});let n=e.startsWith("#")?e.slice(1):e,r=h(F9,{children:[h(I9,{attrs:[b($9,n.toUpperCase())]})]});return h(FE,{attrs:[t],children:[r]})},l$=(e,t)=>{let n=h(O9,{attrs:[b(BE,"0"),b(q9,"0")],children:[h(X9)]}),r=h(B9,{children:e.length>0?[be(e)]:[]}),a=h(M9,{children:[a$(t),r]});return h(k9,{children:[n,a]})},o$=(e,t)=>{let r=(e.length===0?[""]:e.split(`
|
|
11
|
+
`)).map(a=>l$(a,t));return h(N9,{children:[h(D9),h(_9),...r]})},i$=()=>h(R9,{attrs:[b(BE,"91440"),b(j9,"91440"),b(U9,"45720"),b(G9,"45720")]}),Nc=(e,t)=>h(P9,{children:[o$(e,t),i$()]}),Dc=(e,t,n)=>h(L9,{attrs:[b(e$,String(xe(t,"addSlideTable: row height")))],children:e.map(r=>Nc(r,n))}),IE=(e,t)=>{if(t<=0)return[];let n=Math.floor(e/t),r=Array.from({length:t},()=>n);return r[t-1]=n+(e-n*t),r},fh=e=>{let t=e.rows;if(t.length===0)throw new Error("addSlideTable: at least one row is required");let n=t[0]?.length??0;if(n===0)throw new Error("addSlideTable: at least one column is required");for(let C=0;C<t.length;C++){let R=t[C];if(!R)throw new Error(`addSlideTable: row ${C} is missing`);if(R.length!==n)throw new Error(`addSlideTable: row ${C} has ${R.length} cells; expected ${n} to match row 0`)}let r=e.colWidths??IE(e.w,n);if(r.length!==n)throw new Error(`addSlideTable: colWidths has ${r.length} entries; expected ${n}`);let a=e.rowHeights??IE(e.h,t.length);if(a.length!==t.length)throw new Error(`addSlideTable: rowHeights has ${a.length} entries; expected ${t.length}`);let l=e.name??`Table ${e.id}`,i=h(u9,{attrs:[b(H9,String(e.id)),b(V9,l)]}),s=h(f9,{children:[h(h9,{attrs:[b(z9,"1")]})]}),c=h(g9),m=h(p9,{children:[i,s,c]}),u=h(x9,{attrs:[b(W9,String(Ue(e.x,"addSlideTable: x"))),b(Y9,String(Ue(e.y,"addSlideTable: y")))]}),f=h(S9,{attrs:[b(Z9,String(xe(e.w,"addSlideTable: w"))),b(K9,String(xe(e.h,"addSlideTable: h")))]}),y=h(y9,{children:[u,f]}),g=h(w9,{children:[be(e.styleId===void 0?go:zd(e.styleId,"addSlideTable: styleId"))]}),S=h(T9,{attrs:[b(t$,e.firstRow??!0?"1":"0"),b(n$,e.bandRow??!0?"1":"0")],children:[g]}),E=h(v9,{children:r.map(C=>h(C9,{attrs:[b(Q9,String(xe(C,"addSlideTable: column width")))]}))}),A=t.map((C,R)=>Dc(C,a[R]??0,e.textColorHex)),w=h(A9,{children:[S,E,...A]}),T=h(E9,{attrs:[b(J9,c9)],children:[w]}),v=h(b9,{children:[T]});return h(m9,{children:[m,y,v]})};var yo=[{id:"{2D5ABB26-0587-4C30-8999-92F81FD0307C}",name:"No Style, No Grid",category:"bestMatch"},{id:"{3C2FFA5D-87B4-456A-9821-1D502468CF0F}",name:"Themed Style 1 - Accent 1",category:"bestMatch"},{id:"{284E427A-3D55-4303-BF80-6455036E1DE7}",name:"Themed Style 1 - Accent 2",category:"bestMatch"},{id:"{69C7853C-536D-4A76-A0AE-DD22124D55A5}",name:"Themed Style 1 - Accent 3",category:"bestMatch"},{id:"{775DCB02-9BB8-47FD-8907-85C794F793BA}",name:"Themed Style 1 - Accent 4",category:"bestMatch"},{id:"{35758FB7-9AC5-4552-8A53-C91805E547FA}",name:"Themed Style 1 - Accent 5",category:"bestMatch"},{id:"{08FB837D-C827-4EFA-A057-4D05807E0F7C}",name:"Themed Style 1 - Accent 6",category:"bestMatch"},{id:"{5940675A-B579-460E-94D1-54222C63F5DA}",name:"No Style, Table Grid",category:"bestMatch"},{id:"{D113A9D2-9D6B-4929-AA2D-F23B5EE8CBE7}",name:"Themed Style 2 - Accent 1",category:"bestMatch"},{id:"{18603FDC-E32A-4AB5-989C-0864C3EAD2B8}",name:"Themed Style 2 - Accent 2",category:"bestMatch"},{id:"{306799F8-075E-4A3A-A7F6-7FBC6576F1A4}",name:"Themed Style 2 - Accent 3",category:"bestMatch"},{id:"{E269D01E-BC32-4049-B463-5C60D7B0CCD2}",name:"Themed Style 2 - Accent 4",category:"bestMatch"},{id:"{327F97BB-C833-4FB7-BDE5-3F7075034690}",name:"Themed Style 2 - Accent 5",category:"bestMatch"},{id:"{638B1855-1B75-4FBE-930C-398BA8C253C6}",name:"Themed Style 2 - Accent 6",category:"bestMatch"},{id:"{9D7B26C5-4107-4FEC-AEDC-1716B250A1EF}",name:"Light Style 1",category:"light"},{id:"{3B4B98B0-60AC-42C2-AFA5-B58CD77FA1E5}",name:"Light Style 1 - Accent 1",category:"light"},{id:"{0E3FDE45-AF77-4B5C-9715-49D594BDF05E}",name:"Light Style 1 - Accent 2",category:"light"},{id:"{C083E6E3-FA7D-4D7B-A595-EF9225AFEA82}",name:"Light Style 1 - Accent 3",category:"light"},{id:"{D27102A9-8310-4765-A935-A1911B00CA55}",name:"Light Style 1 - Accent 4",category:"light"},{id:"{5FD0F851-EC5A-4D38-B0AD-8093EC10F338}",name:"Light Style 1 - Accent 5",category:"light"},{id:"{68D230F3-CF80-4859-8CE7-A43EE81993B5}",name:"Light Style 1 - Accent 6",category:"light"},{id:"{7E9639D4-E3E2-4D34-9284-5A2195B3D0D7}",name:"Light Style 2",category:"light"},{id:"{69012ECD-51FC-41F1-AA8D-1B2483CD663E}",name:"Light Style 2 - Accent 1",category:"light"},{id:"{72833802-FEF1-4C79-8D5D-14CF1EAF98D9}",name:"Light Style 2 - Accent 2",category:"light"},{id:"{F2DE63D5-997A-4646-A377-4702673A728D}",name:"Light Style 2 - Accent 3",category:"light"},{id:"{17292A2E-F333-43FB-9621-5CBBE7FDCDCB}",name:"Light Style 2 - Accent 4",category:"light"},{id:"{5A111915-BE36-4E01-A7E5-04B1672EAD32}",name:"Light Style 2 - Accent 5",category:"light"},{id:"{912C8C85-51F0-491E-9774-3900AFEF0FD7}",name:"Light Style 2 - Accent 6",category:"light"},{id:"{616DA210-FB5B-4158-B5E0-FEB733F419BA}",name:"Light Style 3",category:"light"},{id:"{BC89EF96-8CEA-46FF-86C4-4CE0E7609802}",name:"Light Style 3 - Accent 1",category:"light"},{id:"{5DA37D80-6434-44D0-A028-1B22A696006F}",name:"Light Style 3 - Accent 2",category:"light"},{id:"{8799B23B-EC83-4686-B30A-512413B5E67A}",name:"Light Style 3 - Accent 3",category:"light"},{id:"{ED083AE6-46FA-4A59-8FB0-9F97EB10719F}",name:"Light Style 3 - Accent 4",category:"light"},{id:"{BDBED569-4797-4DF1-A0F4-6AAB3CD982D8}",name:"Light Style 3 - Accent 5",category:"light"},{id:"{E8B1032C-EA38-4F05-BA0D-38AFFFC7BED3}",name:"Light Style 3 - Accent 6",category:"light"},{id:"{793D81CF-94F2-401A-BA57-92F5A7B2D0C5}",name:"Medium Style 1",category:"medium"},{id:"{B301B821-A1FF-4177-AEE7-76D212191A09}",name:"Medium Style 1 - Accent 1",category:"medium"},{id:"{9DCAF9ED-07DC-4A11-8D7F-57B35C25682E}",name:"Medium Style 1 - Accent 2",category:"medium"},{id:"{1FECB4D8-DB02-4DC6-A0A2-4F2EBAE1DC90}",name:"Medium Style 1 - Accent 3",category:"medium"},{id:"{1E171933-4619-4E11-9A3F-F7608DF75F80}",name:"Medium Style 1 - Accent 4",category:"medium"},{id:"{FABFCF23-3B69-468F-B69F-88F6DE6A72F2}",name:"Medium Style 1 - Accent 5",category:"medium"},{id:"{10A1B5D5-9B99-4C35-A422-299274C87663}",name:"Medium Style 1 - Accent 6",category:"medium"},{id:"{073A0DAA-6AF3-43AB-8588-CEC1D06C72B9}",name:"Medium Style 2",category:"medium"},{id:"{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}",name:"Medium Style 2 - Accent 1",category:"medium"},{id:"{21E4AEA4-8DFA-4A89-87EB-49C32662AFE0}",name:"Medium Style 2 - Accent 2",category:"medium"},{id:"{F5AB1C69-6EDB-4FF4-983F-18BD219EF322}",name:"Medium Style 2 - Accent 3",category:"medium"},{id:"{00A15C55-8517-42AA-B614-E9B94910E393}",name:"Medium Style 2 - Accent 4",category:"medium"},{id:"{7DF18680-E054-41AD-8BC1-D1AEF772440D}",name:"Medium Style 2 - Accent 5",category:"medium"},{id:"{93296810-A885-4BE3-A3E7-6D5BEEA58F35}",name:"Medium Style 2 - Accent 6",category:"medium"},{id:"{8EC20E35-A176-4012-BC5E-935CFFF8708E}",name:"Medium Style 3",category:"medium"},{id:"{6E25E649-3F16-4E02-A733-19D2CDBF48F0}",name:"Medium Style 3 - Accent 1",category:"medium"},{id:"{85BE263C-DBD7-4A20-BB59-AAB30ACAA65A}",name:"Medium Style 3 - Accent 2",category:"medium"},{id:"{EB344D84-9AFB-497E-A393-DC336BA19D2E}",name:"Medium Style 3 - Accent 3",category:"medium"},{id:"{EB9631B5-78F2-41C9-869B-9F39066F8104}",name:"Medium Style 3 - Accent 4",category:"medium"},{id:"{74C1A8A3-306A-4EB7-A6B1-4F7E0EB9C5D6}",name:"Medium Style 3 - Accent 5",category:"medium"},{id:"{2A488322-F2BA-4B5B-9748-0D474271808F}",name:"Medium Style 3 - Accent 6",category:"medium"},{id:"{D7AC3CCA-C797-4891-BE02-D94E43425B78}",name:"Medium Style 4",category:"medium"},{id:"{69CF1AB2-1976-4502-BF36-3FF5EA218861}",name:"Medium Style 4 - Accent 1",category:"medium"},{id:"{8A107856-5554-42FB-B03E-39F5DBC370BA}",name:"Medium Style 4 - Accent 2",category:"medium"},{id:"{0505E3EF-67EA-436B-97B2-0124C06EBD24}",name:"Medium Style 4 - Accent 3",category:"medium"},{id:"{C4B1156A-380E-4F78-BDF5-A606A8083BF9}",name:"Medium Style 4 - Accent 4",category:"medium"},{id:"{22838BEF-8BB2-4498-84A7-C5851F593DF1}",name:"Medium Style 4 - Accent 5",category:"medium"},{id:"{16D9F66E-5EB9-4882-86FB-DCBF35E3C3E4}",name:"Medium Style 4 - Accent 6",category:"medium"},{id:"{E8034E78-7F5D-4C2E-B375-FC64B27BC917}",name:"Dark Style 1",category:"dark"},{id:"{125E5076-3810-47DD-B79F-674D7AD40C01}",name:"Dark Style 1 - Accent 1",category:"dark"},{id:"{37CE84F3-28C3-443E-9E96-99CF82512B78}",name:"Dark Style 1 - Accent 2",category:"dark"},{id:"{D03447BB-5D67-496B-8E87-E561075AD55C}",name:"Dark Style 1 - Accent 3",category:"dark"},{id:"{E929F9F4-4A8F-4326-A1B4-22849713DDAB}",name:"Dark Style 1 - Accent 4",category:"dark"},{id:"{8FD4443E-F989-4FC4-A0C8-D5A2AF1F390B}",name:"Dark Style 1 - Accent 5",category:"dark"},{id:"{AF606853-7671-496A-8E4F-DF71F8EC918B}",name:"Dark Style 1 - Accent 6",category:"dark"},{id:"{5202B0CA-FC54-4496-8BCA-5EF66A818D29}",name:"Dark Style 2",category:"dark"},{id:"{0660B408-B3CF-4A94-85FC-2B1E0A45F4A2}",name:"Dark Style 2 - Accent 1/Accent 2",category:"dark"},{id:"{91EBBBCC-DAD2-459C-BE2E-F6DE35CF9A28}",name:"Dark Style 2 - Accent 3/Accent 4",category:"dark"},{id:"{46F890A9-2807-4EBB-B81D-B2AA78EC7F39}",name:"Dark Style 2 - Accent 5/Accent 6",category:"dark"}],OE=['<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="tx1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left><a:right><a:ln><a:noFill/></a:ln></a:right><a:top><a:ln><a:noFill/></a:ln></a:top><a:bottom><a:ln><a:noFill/></a:ln></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:wholeTbl>','<a:tblBg><a:fillRef idx="2"><a:schemeClr val="$A"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="$A"/></a:effectRef></a:tblBg><a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:left><a:right><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:right><a:top><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:top><a:bottom><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:bottom><a:insideH><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:insideH><a:insideV><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:insideV></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:alpha val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band2H><a:tcStyle><a:tcBdr/></a:tcStyle></a:band2H><a:band1V><a:tcStyle><a:tcBdr><a:top><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:top><a:bottom><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:bottom></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"><a:alpha val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:band2V><a:tcStyle><a:tcBdr/></a:tcStyle></a:band2V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="2"><a:schemeClr val="$A"/></a:lnRef></a:left><a:right><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:right><a:top><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:top><a:bottom><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:bottom><a:insideH><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:left><a:right><a:lnRef idx="2"><a:schemeClr val="$A"/></a:lnRef></a:right><a:top><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:top><a:bottom><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:bottom><a:insideH><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:left><a:right><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:right><a:top><a:lnRef idx="2"><a:schemeClr val="$A"/></a:lnRef></a:top><a:bottom><a:lnRef idx="2"><a:schemeClr val="$A"/></a:lnRef></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:left><a:right><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:right><a:top><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:top><a:bottom><a:lnRef idx="2"><a:schemeClr val="lt1"/></a:lnRef></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="tx1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:left><a:right><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:right><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:insideH><a:insideV><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:insideV></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:wholeTbl>','<a:tblBg><a:fillRef idx="3"><a:schemeClr val="$A"/></a:fillRef><a:effectRef idx="3"><a:schemeClr val="$A"/></a:effectRef></a:tblBg><a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="1"><a:schemeClr val="$A"><a:tint val="50000"/></a:schemeClr></a:lnRef></a:left><a:right><a:lnRef idx="1"><a:schemeClr val="$A"><a:tint val="50000"/></a:schemeClr></a:lnRef></a:right><a:top><a:lnRef idx="1"><a:schemeClr val="$A"><a:tint val="50000"/></a:schemeClr></a:lnRef></a:top><a:bottom><a:lnRef idx="1"><a:schemeClr val="$A"><a:tint val="50000"/></a:schemeClr></a:lnRef></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="lt1"><a:alpha val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="lt1"><a:alpha val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="2"><a:schemeClr val="lt1"/></a:lnRef></a:left></a:tcBdr></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:right><a:lnRef idx="2"><a:schemeClr val="lt1"/></a:lnRef></a:right></a:tcBdr></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:lnRef idx="2"><a:schemeClr val="lt1"/></a:lnRef></a:top></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:lastRow><a:seCell><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left><a:top><a:ln><a:noFill/></a:ln></a:top></a:tcBdr></a:tcStyle></a:seCell><a:swCell><a:tcStyle><a:tcBdr><a:right><a:ln><a:noFill/></a:ln></a:right><a:top><a:ln><a:noFill/></a:ln></a:top></a:tcBdr></a:tcStyle></a:swCell><a:firstRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:bottom><a:lnRef idx="3"><a:schemeClr val="lt1"/></a:lnRef></a:bottom></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:firstRow><a:neCell><a:tcStyle><a:tcBdr><a:bottom><a:ln><a:noFill/></a:ln></a:bottom></a:tcBdr></a:tcStyle></a:neCell>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="tx1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left><a:right><a:ln><a:noFill/></a:ln></a:right><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="tx1"><a:alpha val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band2H><a:tcStyle><a:tcBdr/></a:tcStyle></a:band2H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="tx1"><a:alpha val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:bottom></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="tx1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left><a:right><a:ln><a:noFill/></a:ln></a:right><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:alpha val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band2H><a:tcStyle><a:tcBdr/></a:tcStyle></a:band2H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:alpha val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:bottom></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="tx1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="1"><a:schemeClr val="tx1"/></a:lnRef></a:left><a:right><a:lnRef idx="1"><a:schemeClr val="tx1"/></a:lnRef></a:right><a:top><a:lnRef idx="1"><a:schemeClr val="tx1"/></a:lnRef></a:top><a:bottom><a:lnRef idx="1"><a:schemeClr val="tx1"/></a:lnRef></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr><a:top><a:lnRef idx="1"><a:schemeClr val="tx1"/></a:lnRef></a:top><a:bottom><a:lnRef idx="1"><a:schemeClr val="tx1"/></a:lnRef></a:bottom></a:tcBdr></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="1"><a:schemeClr val="tx1"/></a:lnRef></a:left><a:right><a:lnRef idx="1"><a:schemeClr val="tx1"/></a:lnRef></a:right></a:tcBdr></a:tcStyle></a:band1V><a:band2V><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="1"><a:schemeClr val="tx1"/></a:lnRef></a:left><a:right><a:lnRef idx="1"><a:schemeClr val="tx1"/></a:lnRef></a:right></a:tcBdr></a:tcStyle></a:band2V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="50800" cmpd="dbl"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:top></a:tcBdr></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="bg1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fillRef idx="1"><a:schemeClr val="tx1"/></a:fillRef></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="tx1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:left><a:right><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:right><a:top><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:top><a:bottom><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr><a:top><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:top><a:bottom><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:bottom></a:tcBdr></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:left><a:right><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:right></a:tcBdr></a:tcStyle></a:band1V><a:band2V><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:left><a:right><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:right></a:tcBdr></a:tcStyle></a:band2V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="50800" cmpd="dbl"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:top></a:tcBdr></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="bg1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fillRef idx="1"><a:schemeClr val="$A"/></a:fillRef></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="tx1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:left><a:right><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:right><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:insideH><a:insideV><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:insideV></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="tx1"><a:alpha val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="tx1"><a:alpha val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="50800" cmpd="dbl"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:bottom><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:bottom></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="tx1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:left><a:right><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:right><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:insideH><a:insideV><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:insideV></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:alpha val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:alpha val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="50800" cmpd="dbl"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:bottom><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:bottom></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:left><a:right><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:right><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="50800" cmpd="dbl"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:left><a:right><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:right><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="50800" cmpd="dbl"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:prstClr val="black"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:left><a:right><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:right><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:insideH><a:insideV><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band2H><a:tcStyle><a:tcBdr/></a:tcStyle></a:band2H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:band2V><a:tcStyle><a:tcBdr/></a:tcStyle></a:band2V><a:lastCol><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:prstClr val="black"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:fill></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:prstClr val="black"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:fill></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:prstClr val="black"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:top><a:ln w="38100" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:prstClr val="black"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:bottom><a:ln w="38100" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:bottom></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:prstClr val="black"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:left><a:right><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:right><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:insideH><a:insideV><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band2H><a:tcStyle><a:tcBdr/></a:tcStyle></a:band2H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:band2V><a:tcStyle><a:tcBdr/></a:tcStyle></a:band2V><a:lastCol><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:prstClr val="black"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:fill></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:prstClr val="black"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:fill></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:prstClr val="black"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:top><a:ln w="38100" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:prstClr val="black"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:bottom><a:ln w="38100" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:bottom></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"/><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left><a:right><a:ln><a:noFill/></a:ln></a:right><a:top><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:fill></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:fill></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="50800" cmpd="dbl"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:seCell><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/></a:tcStyle></a:seCell><a:swCell><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/></a:tcStyle></a:swCell><a:firstRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:bottom><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:bottom></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left><a:right><a:ln><a:noFill/></a:ln></a:right><a:top><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:fill></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:fill></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="50800" cmpd="dbl"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:seCell><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/></a:tcStyle></a:seCell><a:swCell><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/></a:tcStyle></a:swCell><a:firstRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:bottom><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:bottom></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:left><a:right><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:right><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:insideH><a:insideV><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:left><a:right><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:right><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:insideH><a:insideV><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left><a:right><a:ln><a:noFill/></a:ln></a:right><a:top><a:ln><a:noFill/></a:ln></a:top><a:bottom><a:ln><a:noFill/></a:ln></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:left><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:left></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="60000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:right><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:right></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="60000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="60000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:seCell><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left></a:tcBdr></a:tcStyle></a:seCell><a:swCell><a:tcStyle><a:tcBdr><a:right><a:ln><a:noFill/></a:ln></a:right></a:tcBdr></a:tcStyle></a:swCell><a:firstRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:bottom><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:bottom></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:fill></a:tcStyle></a:firstRow><a:neCell><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left></a:tcBdr></a:tcStyle></a:neCell><a:nwCell><a:tcStyle><a:tcBdr><a:right><a:ln><a:noFill/></a:ln></a:right></a:tcBdr></a:tcStyle></a:nwCell>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left><a:right><a:ln><a:noFill/></a:ln></a:right><a:top><a:ln><a:noFill/></a:ln></a:top><a:bottom><a:ln><a:noFill/></a:ln></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:shade val="60000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:shade val="60000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:left><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:left></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"><a:shade val="60000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:right><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:right></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"><a:shade val="60000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"><a:shade val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:seCell><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left></a:tcBdr></a:tcStyle></a:seCell><a:swCell><a:tcStyle><a:tcBdr><a:right><a:ln><a:noFill/></a:ln></a:right></a:tcBdr></a:tcStyle></a:swCell><a:firstRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:bottom><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:bottom></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:fill></a:tcStyle></a:firstRow><a:neCell><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left></a:tcBdr></a:tcStyle></a:neCell><a:nwCell><a:tcStyle><a:tcBdr><a:right><a:ln><a:noFill/></a:ln></a:right></a:tcBdr></a:tcStyle></a:nwCell>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left><a:right><a:ln><a:noFill/></a:ln></a:right><a:top><a:ln><a:noFill/></a:ln></a:top><a:bottom><a:ln><a:noFill/></a:ln></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="50800" cmpd="dbl"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left><a:right><a:ln><a:noFill/></a:ln></a:right><a:top><a:ln><a:noFill/></a:ln></a:top><a:bottom><a:ln><a:noFill/></a:ln></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="50800" cmpd="dbl"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$B"/></a:solidFill></a:fill></a:tcStyle></a:firstRow>'],XE={"{2D5ABB26-0587-4C30-8999-92F81FD0307C}":[0,0,0],"{3C2FFA5D-87B4-456A-9821-1D502468CF0F}":[1,1,0],"{284E427A-3D55-4303-BF80-6455036E1DE7}":[1,2,0],"{69C7853C-536D-4A76-A0AE-DD22124D55A5}":[1,3,0],"{775DCB02-9BB8-47FD-8907-85C794F793BA}":[1,4,0],"{35758FB7-9AC5-4552-8A53-C91805E547FA}":[1,5,0],"{08FB837D-C827-4EFA-A057-4D05807E0F7C}":[1,6,0],"{5940675A-B579-460E-94D1-54222C63F5DA}":[2,0,0],"{D113A9D2-9D6B-4929-AA2D-F23B5EE8CBE7}":[3,1,0],"{18603FDC-E32A-4AB5-989C-0864C3EAD2B8}":[3,2,0],"{306799F8-075E-4A3A-A7F6-7FBC6576F1A4}":[3,3,0],"{E269D01E-BC32-4049-B463-5C60D7B0CCD2}":[3,4,0],"{327F97BB-C833-4FB7-BDE5-3F7075034690}":[3,5,0],"{638B1855-1B75-4FBE-930C-398BA8C253C6}":[3,6,0],"{9D7B26C5-4107-4FEC-AEDC-1716B250A1EF}":[4,0,0],"{3B4B98B0-60AC-42C2-AFA5-B58CD77FA1E5}":[5,1,0],"{0E3FDE45-AF77-4B5C-9715-49D594BDF05E}":[5,2,0],"{C083E6E3-FA7D-4D7B-A595-EF9225AFEA82}":[5,3,0],"{D27102A9-8310-4765-A935-A1911B00CA55}":[5,4,0],"{5FD0F851-EC5A-4D38-B0AD-8093EC10F338}":[5,5,0],"{68D230F3-CF80-4859-8CE7-A43EE81993B5}":[5,6,0],"{7E9639D4-E3E2-4D34-9284-5A2195B3D0D7}":[6,0,0],"{69012ECD-51FC-41F1-AA8D-1B2483CD663E}":[7,1,0],"{72833802-FEF1-4C79-8D5D-14CF1EAF98D9}":[7,2,0],"{F2DE63D5-997A-4646-A377-4702673A728D}":[7,3,0],"{17292A2E-F333-43FB-9621-5CBBE7FDCDCB}":[7,4,0],"{5A111915-BE36-4E01-A7E5-04B1672EAD32}":[7,5,0],"{912C8C85-51F0-491E-9774-3900AFEF0FD7}":[7,6,0],"{616DA210-FB5B-4158-B5E0-FEB733F419BA}":[8,0,0],"{BC89EF96-8CEA-46FF-86C4-4CE0E7609802}":[9,1,0],"{5DA37D80-6434-44D0-A028-1B22A696006F}":[9,2,0],"{8799B23B-EC83-4686-B30A-512413B5E67A}":[9,3,0],"{ED083AE6-46FA-4A59-8FB0-9F97EB10719F}":[9,4,0],"{BDBED569-4797-4DF1-A0F4-6AAB3CD982D8}":[9,5,0],"{E8B1032C-EA38-4F05-BA0D-38AFFFC7BED3}":[9,6,0],"{793D81CF-94F2-401A-BA57-92F5A7B2D0C5}":[10,0,0],"{B301B821-A1FF-4177-AEE7-76D212191A09}":[11,1,0],"{9DCAF9ED-07DC-4A11-8D7F-57B35C25682E}":[11,2,0],"{1FECB4D8-DB02-4DC6-A0A2-4F2EBAE1DC90}":[11,3,0],"{1E171933-4619-4E11-9A3F-F7608DF75F80}":[11,4,0],"{FABFCF23-3B69-468F-B69F-88F6DE6A72F2}":[11,5,0],"{10A1B5D5-9B99-4C35-A422-299274C87663}":[11,6,0],"{073A0DAA-6AF3-43AB-8588-CEC1D06C72B9}":[12,0,0],"{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}":[13,1,0],"{21E4AEA4-8DFA-4A89-87EB-49C32662AFE0}":[13,2,0],"{F5AB1C69-6EDB-4FF4-983F-18BD219EF322}":[13,3,0],"{00A15C55-8517-42AA-B614-E9B94910E393}":[13,4,0],"{7DF18680-E054-41AD-8BC1-D1AEF772440D}":[13,5,0],"{93296810-A885-4BE3-A3E7-6D5BEEA58F35}":[13,6,0],"{8EC20E35-A176-4012-BC5E-935CFFF8708E}":[14,0,0],"{6E25E649-3F16-4E02-A733-19D2CDBF48F0}":[15,1,0],"{85BE263C-DBD7-4A20-BB59-AAB30ACAA65A}":[15,2,0],"{EB344D84-9AFB-497E-A393-DC336BA19D2E}":[15,3,0],"{EB9631B5-78F2-41C9-869B-9F39066F8104}":[15,4,0],"{74C1A8A3-306A-4EB7-A6B1-4F7E0EB9C5D6}":[15,5,0],"{2A488322-F2BA-4B5B-9748-0D474271808F}":[15,6,0],"{D7AC3CCA-C797-4891-BE02-D94E43425B78}":[16,0,0],"{69CF1AB2-1976-4502-BF36-3FF5EA218861}":[17,1,0],"{8A107856-5554-42FB-B03E-39F5DBC370BA}":[17,2,0],"{0505E3EF-67EA-436B-97B2-0124C06EBD24}":[17,3,0],"{C4B1156A-380E-4F78-BDF5-A606A8083BF9}":[17,4,0],"{22838BEF-8BB2-4498-84A7-C5851F593DF1}":[17,5,0],"{16D9F66E-5EB9-4882-86FB-DCBF35E3C3E4}":[17,6,0],"{E8034E78-7F5D-4C2E-B375-FC64B27BC917}":[18,0,0],"{125E5076-3810-47DD-B79F-674D7AD40C01}":[19,1,0],"{37CE84F3-28C3-443E-9E96-99CF82512B78}":[19,2,0],"{D03447BB-5D67-496B-8E87-E561075AD55C}":[19,3,0],"{E929F9F4-4A8F-4326-A1B4-22849713DDAB}":[19,4,0],"{8FD4443E-F989-4FC4-A0C8-D5A2AF1F390B}":[19,5,0],"{AF606853-7671-496A-8E4F-DF71F8EC918B}":[19,6,0],"{5202B0CA-FC54-4496-8BCA-5EF66A818D29}":[20,0,0],"{0660B408-B3CF-4A94-85FC-2B1E0A45F4A2}":[21,1,2],"{91EBBBCC-DAD2-459C-BE2E-F6DE35CF9A28}":[21,3,4],"{46F890A9-2807-4EBB-B81D-B2AA78EC7F39}":[21,5,6]};var s$=new Map(yo.map(e=>[e.name,e.id])),d$=new Map(yo.map(e=>[e.id,e.name])),hh=e=>s$.get(e)??null,_c=e=>{let t=e.trim().toUpperCase(),n=XE[t],r=d$.get(t);if(!n||r===void 0)return null;let[a,l,i]=n,s=OE[a].replaceAll('val="$A"',`val="accent${l}"`).replaceAll('val="$B"',`val="accent${i}"`);return`<a:tblStyle styleId="${t}" styleName="${r}">${s}</a:tblStyle>`},$E=new Map,gh=e=>{let t=e.trim().toUpperCase(),n=$E.get(t);if(n)return n;let r=_c(t);if(r===null)return null;let a=j(r.replace("<a:tblStyle ",`<a:tblStyle xmlns:a="${d.dml}" `)).root;return $E.set(t,a),a};var c$=o("p","notes",d.pml),m$=o("p","cSld",d.pml),p$=o("p","spTree",d.pml),u$=o("p","nvGrpSpPr",d.pml),yh=o("p","cNvPr",d.pml),f$=o("p","cNvGrpSpPr",d.pml),jE=o("p","cNvSpPr",d.pml),xh=o("p","nvPr",d.pml),h$=o("p","grpSpPr",d.pml),UE=o("p","sp",d.pml),GE=o("p","nvSpPr",d.pml),qE=o("p","spPr",d.pml),HE=o("p","ph",d.pml),g$=o("p","txBody",d.pml),y$=o("p","clrMapOvr",d.pml),x$=o("a","masterClrMapping",d.dml),S$=o("a","bodyPr",d.dml),b$=o("a","lstStyle",d.dml),E$=o("a","p",d.dml),A$=o("a","r",d.dml),T$=o("a","rPr",d.dml),w$=o("a","t",d.dml),VE=o("a","spLocks",d.dml),Sh=o("","id",""),bh=o("","name",""),zE=o("","noGrp",""),v$=o("","noRot",""),C$=o("","noChangeAspect",""),WE=o("","type",""),L$=o("","idx",""),P$=o("","lang",""),R$=()=>{let e=h(yh,{attrs:[b(Sh,"1"),b(bh,"")]});return h(u$,{children:[e,h(f$),h(xh)]})},N$=e=>{let t=h(yh,{attrs:[b(Sh,String(e)),b(bh,`Slide Image Placeholder ${e-1}`)]}),n=h(VE,{attrs:[b(zE,"1"),b(v$,"1"),b(C$,"1")]}),r=h(jE,{children:[n]}),a=h(HE,{attrs:[b(WE,"sldImg")]}),l=h(GE,{children:[t,r,h(xh,{children:[a]})]});return h(UE,{children:[l,h(qE)]})},D$=e=>e.split(`
|
|
12
|
+
`).map(n=>{let r=h(w$,{children:n.length>0?[be(n)]:[]}),a=h(A$,{children:[h(T$,{attrs:[b(P$,"en-US")]}),r]});return h(E$,{children:[a]})}),_$=(e,t)=>{let n=h(yh,{attrs:[b(Sh,String(e)),b(bh,`Notes Placeholder ${e-1}`)]}),r=h(jE,{children:[h(VE,{attrs:[b(zE,"1")]})]}),a=h(HE,{attrs:[b(WE,"body"),b(L$,"1")]}),l=h(GE,{children:[n,r,h(xh,{children:[a]})]}),i=h(g$,{children:[h(S$),h(b$),...D$(t)]});return h(UE,{children:[l,h(qE),i]})},Eh=e=>{let t=h(p$,{children:[R$(),h(h$),N$(2),_$(3,e)]}),n=h(m$,{children:[t]}),r=h(y$,{children:[h(x$)]}),a=h(c$,{prefixDecls:new Map([["a",d.dml],["r",d.officeDocRels],["p",d.pml]]),children:[n,r]});return{kind:"document",decl:{version:"1.0",encoding:"UTF-8",standalone:"yes"},prolog:[],root:a,epilog:[]}};var Fc=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
|
|
13
|
+
`,gr='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"';var k$="{0B8E6F38-1A47-4C55-9C2B-3D5A1F0E7A01}",M$="{0B8E6F38-1A47-4C55-9C2B-3D5A1F0E7A02}",wh='bg1="lt1" tx1="dk1" bg2="lt2" tx2="dk2" accent1="accent1" accent2="accent2" accent3="accent3" accent4="accent4" accent5="accent5" accent6="accent6" hlink="hlink" folHlink="folHlink"',QE=e=>e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),eA=e=>QE(e).replace(/"/g,"""),tA=(e,t,n)=>({x:Math.round(e.x*n.w/t.w),y:Math.round(e.y*n.h/t.h),w:Math.round(e.w*n.w/t.w),h:Math.round(e.h*n.h/t.h)}),F$=e=>e===null?"":`<a:xfrm><a:off x="${e.x}" y="${e.y}"/><a:ext cx="${e.w}" cy="${e.h}"/></a:xfrm>`,nA=e=>`<a:r><a:rPr lang="en-US"/><a:t>${QE(e)}</a:t></a:r>`,I$=["Click to edit Master text styles","Second level","Third level","Fourth level","Fifth level"],ws=()=>I$.map((e,t)=>`<a:p><a:pPr lvl="${t}"/>${nA(e)}</a:p>`).join(""),vh=()=>`<a:p><a:fld id="${k$}" type="datetimeFigureOut"><a:rPr lang="en-US"/></a:fld><a:endParaRPr lang="en-US"/></a:p>`,Ch=()=>`<a:p><a:fld id="${M$}" type="slidenum"><a:rPr lang="en-US"/><a:t>\u2039#\u203A</a:t></a:fld><a:endParaRPr lang="en-US"/></a:p>`,bo=()=>'<a:p><a:endParaRPr lang="en-US"/></a:p>',Eo=e=>`<a:p>${nA(e)}<a:endParaRPr lang="en-US"/></a:p>`,Ur='vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0"',nl=(e,t)=>{let n=t.full?'<a:prstGeom prst="rect"><a:avLst/></a:prstGeom>':"",r=`${F$(t.box)}${n}${t.spPrExtra??""}`,a=r===""?"<p:spPr/>":`<p:spPr>${r}</p:spPr>`,l=t.bodyPr??(t.full?`<a:bodyPr ${Ur}/>`:"<a:bodyPr/>"),i=t.lstStyle?`<a:lstStyle>${t.lstStyle}</a:lstStyle>`:"<a:lstStyle/>";return`<p:sp><p:nvSpPr><p:cNvPr id="${e}" name="${eA(`${t.name} ${e-1}`)}"/><p:cNvSpPr><a:spLocks ${t.locks??'noGrp="1"'}/></p:cNvSpPr><p:nvPr><p:ph ${t.ph}/></p:nvPr></p:nvSpPr>${a}<p:txBody>${l}${i}${t.paragraphs}</p:txBody></p:sp>`},B$='<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>',Ic=e=>`<p:spTree>${B$}${e.map((t,n)=>nl(n+2,t)).join("")}</p:spTree>`,So=e=>`<a:solidFill><a:schemeClr val="tx1">${e===void 0?"":`<a:tint val="${e}"/>`}</a:schemeClr></a:solidFill>`,As=(e,t)=>Array.from({length:e},(n,r)=>t(r)).join(""),rA={title:{x:838200,y:365125,w:10515600,h:1325563},body:{x:838200,y:1825625,w:10515600,h:4351338},dt:{x:838200,y:6356350,w:2743200,h:365125},ftr:{x:4038600,y:6356350,w:4114800,h:365125},sldNum:{x:8610600,y:6356350,w:2743200,h:365125}},Ah=e=>`<a:lvl1pPr algn="${e}"><a:defRPr sz="1200">${So(75e3)}</a:defRPr></a:lvl1pPr>`,aA={title:e=>({name:"Title Placeholder",ph:'type="title"',box:e,full:!0,bodyPr:`<a:bodyPr ${Ur} anchor="ctr"><a:normAutofit/></a:bodyPr>`,paragraphs:Eo("Click to edit Master title style")}),body:e=>({name:"Text Placeholder",ph:'type="body" idx="1"',box:e,full:!0,bodyPr:`<a:bodyPr ${Ur}><a:normAutofit/></a:bodyPr>`,paragraphs:ws()}),dt:e=>({name:"Date Placeholder",ph:'type="dt" sz="half" idx="2"',box:e,full:!0,bodyPr:`<a:bodyPr ${Ur} anchor="ctr"/>`,lstStyle:Ah("l"),paragraphs:vh()}),ftr:e=>({name:"Footer Placeholder",ph:'type="ftr" sz="quarter" idx="3"',box:e,full:!0,bodyPr:`<a:bodyPr ${Ur} anchor="ctr"/>`,lstStyle:Ah("ctr"),paragraphs:bo()}),sldNum:e=>({name:"Slide Number Placeholder",ph:'type="sldNum" sz="quarter" idx="4"',box:e,full:!0,bodyPr:`<a:bodyPr ${Ur} anchor="ctr"/>`,lstStyle:Ah("r"),paragraphs:Ch()})},Bc=["title","body","dt","ftr","sldNum"],Lh=e=>t=>tA(t,{w:12192e3,h:6858e3},e),Ph=(e,t,n)=>nl(t,aA[e](Lh(n)(rA[e]))).replace("<p:sp>",`<p:sp ${gr}>`),Ts=457200,O$=[2800,2400,2e3,1800,1800,1800,1800,1800,1800],X$=`<p:txStyles><p:titleStyle><a:lvl1pPr algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:lnSpc><a:spcPct val="90000"/></a:lnSpc><a:spcBef><a:spcPct val="0"/></a:spcBef><a:buNone/><a:defRPr sz="4400" kern="1200">${So()}<a:latin typeface="+mj-lt"/><a:ea typeface="+mj-ea"/><a:cs typeface="+mj-cs"/></a:defRPr></a:lvl1pPr></p:titleStyle><p:bodyStyle>${As(9,e=>`<a:lvl${e+1}pPr marL="${228600+e*Ts}" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:lnSpc><a:spcPct val="90000"/></a:lnSpc><a:spcBef><a:spcPts val="${e===0?1e3:500}"/></a:spcBef><a:buFont typeface="Arial" panose="020B0604020202020204" pitchFamily="34" charset="0"/><a:buChar char="\u2022"/><a:defRPr sz="${O$[e]}" kern="1200">${So()}<a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl${e+1}pPr>`)}</p:bodyStyle><p:otherStyle><a:defPPr><a:defRPr lang="en-US"/></a:defPPr>${As(9,e=>`<a:lvl${e+1}pPr marL="${e*Ts}" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200">${So()}<a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl${e+1}pPr>`)}</p:otherStyle></p:txStyles>`,Rh=(e,t)=>{let n=Lh(e),r=Bc.map(l=>aA[l](n(rA[l]))),a=t.map(l=>`<p:sldLayoutId id="${l.id}" r:id="${l.rId}"/>`).join("");return`${Fc}<p:sldMaster ${gr} preserve="1"><p:cSld><p:bg><p:bgRef idx="1001"><a:schemeClr val="bg1"/></p:bgRef></p:bg>${Ic(r)}</p:cSld><p:clrMap ${wh}/><p:sldLayoutIdLst>${a}</p:sldLayoutIdLst>${X$}</p:sldMaster>`},lA=[{name:"Date Placeholder",ph:'type="dt" sz="half" idx="10"',box:null,paragraphs:vh()},{name:"Footer Placeholder",ph:'type="ftr" sz="quarter" idx="11"',box:null,paragraphs:bo()},{name:"Slide Number Placeholder",ph:'type="sldNum" sz="quarter" idx="12"',box:null,paragraphs:Ch()}],Nh=(e,t)=>lA.map((n,r)=>nl(e+r,{...n,ph:n.ph.replace(/idx="\d+"/,`idx="${t[r]}"`)}).replace("<p:sp>",`<p:sp ${gr}>`)),tl={name:"Title",ph:'type="title"',box:null,paragraphs:Eo("Click to edit Master title style")},Dh=e=>nl(e,tl).replace("<p:sp>",`<p:sp ${gr}>`),$$=e=>As(9,t=>`<a:lvl${t+1}pPr marL="${t*Ts}" indent="0" algn="ctr"><a:buNone/><a:defRPr sz="${e[Math.min(t,e.length-1)]}"/></a:lvl${t+1}pPr>`),xo=(e,t={})=>As(9,n=>{let r=e[Math.min(n,e.length-1)],a=t.bullets?"":` marL="${n*Ts}" indent="0"`,l=t.tint===void 0?"":So(t.tint),i=t.bold?' b="1"':"";return`<a:lvl${n+1}pPr${a}>${t.bullets?"":"<a:buNone/>"}<a:defRPr sz="${r}"${i}${l===""?"/>":`>${l}</a:defRPr>`}</a:lvl${n+1}pPr>`}),kc=(e,t,n=!1,r="title")=>({name:"Title",ph:`type="${r}"`,box:e,bodyPr:n?'<a:bodyPr anchor="b"/>':void 0,lstStyle:t===void 0?void 0:`<a:lvl1pPr${r==="ctrTitle"?' algn="ctr"':""}><a:defRPr sz="${t}"/></a:lvl1pPr>`,paragraphs:Eo("Click to edit Master title style")}),Dn=(e,t,n,r,a)=>({name:e,ph:t,box:n,bodyPr:a,lstStyle:r,paragraphs:ws()}),YE={x:839788,y:457200,w:3932237,h:1600200},ZE={x:839788,y:2057400,w:3932237,h:3811588},KE={x:5183188,y:987425,w:6172200,h:4873625},JE=xo([1600,1400,1200,1e3]),j$=[{name:"Title Slide",type:"title",placeholders:[kc({x:1524e3,y:1122363,w:9144e3,h:2387600},6e3,!0,"ctrTitle"),{name:"Subtitle",ph:'type="subTitle" idx="1"',box:{x:1524e3,y:3602038,w:9144e3,h:1655762},lstStyle:$$([2400,2e3,1800,1600]),paragraphs:Eo("Click to edit Master subtitle style")}]},{name:"Title and Content",type:"obj",placeholders:[tl,Dn("Content Placeholder",'idx="1"',null)]},{name:"Section Header",type:"secHead",placeholders:[kc({x:831850,y:1709738,w:10515600,h:2852737},6e3,!0),{name:"Text Placeholder",ph:'type="body" idx="1"',box:{x:831850,y:4589463,w:10515600,h:1500187},lstStyle:xo([2400,2e3,1800,1600],{tint:82e3}),paragraphs:ws()}]},{name:"Two Content",type:"twoObj",placeholders:[tl,Dn("Content Placeholder",'sz="half" idx="1"',{x:838200,y:1825625,w:5181600,h:4351338}),Dn("Content Placeholder",'sz="half" idx="2"',{x:6172200,y:1825625,w:5181600,h:4351338})]},{name:"Comparison",type:"twoTxTwoObj",placeholders:[{...tl,box:{x:839788,y:365125,w:10515600,h:1325563}},Dn("Text Placeholder",'type="body" idx="1"',{x:839788,y:1681163,w:5157787,h:823912},xo([2400,2e3,1800,1600],{bold:!0}),'<a:bodyPr anchor="b"/>'),Dn("Content Placeholder",'sz="half" idx="2"',{x:839788,y:2505075,w:5157787,h:3684588}),Dn("Text Placeholder",'type="body" sz="quarter" idx="3"',{x:6172200,y:1681163,w:5183188,h:823912},xo([2400,2e3,1800,1600],{bold:!0}),'<a:bodyPr anchor="b"/>'),Dn("Content Placeholder",'sz="quarter" idx="4"',{x:6172200,y:2505075,w:5183188,h:3684588})]},{name:"Title Only",type:"titleOnly",placeholders:[tl]},{name:"Blank",type:"blank",placeholders:[]},{name:"Content with Caption",type:"objTx",placeholders:[kc(YE,3200,!0),Dn("Content Placeholder",'idx="1"',KE,xo([3200,2800,2400,2e3],{bullets:!0})),Dn("Text Placeholder",'type="body" sz="half" idx="2"',ZE,JE)]},{name:"Picture with Caption",type:"picTx",placeholders:[kc(YE,3200,!0),{name:"Picture Placeholder",ph:'type="pic" idx="1"',box:KE,bodyPr:'<a:bodyPr anchor="t"/>',lstStyle:xo([3200,2800,2400,2e3]),paragraphs:bo()},Dn("Text Placeholder",'type="body" sz="half" idx="2"',ZE,JE)]},{name:"Title and Vertical Text",type:"vertTx",placeholders:[tl,Dn("Vertical Text Placeholder",'type="body" orient="vert" idx="1"',null,void 0,'<a:bodyPr vert="eaVert"/>')]},{name:"Vertical Title and Text",type:"vertTitleAndTx",placeholders:[{name:"Vertical Title",ph:'type="title" orient="vert"',box:{x:8724900,y:365125,w:2628900,h:5811838},bodyPr:'<a:bodyPr vert="eaVert"/>',paragraphs:Eo("Click to edit Master title style")},Dn("Vertical Text Placeholder",'type="body" orient="vert" idx="1"',{x:838200,y:365125,w:7734300,h:5811838},void 0,'<a:bodyPr vert="eaVert"/>')]}],oA=(e,t,n)=>{let r=Lh(t),a=[...e.placeholders,...lA].map(l=>l.box===null?l:{...l,box:r(l.box)});return`${Fc}<p:sldLayout ${gr}${n}><p:cSld name="${eA(e.name)}">${Ic(a)}</p:cSld><p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:sldLayout>`},_h=e=>j$.map(t=>oA(t,e,` type="${t.type}" preserve="1"`)),kh=(e,t)=>oA({name:e,type:"cust",placeholders:[tl]},t,' preserve="1" userDrawn="1"'),U$={content:{name:"Content Placeholder",ph:"",prompt:null},verticalContent:{name:"Vertical Content Placeholder",ph:'orient="vert" ',prompt:null,vertical:!0},text:{name:"Text Placeholder",ph:'type="body" ',prompt:null},verticalText:{name:"Vertical Text Placeholder",ph:'type="body" orient="vert" ',prompt:null,vertical:!0},picture:{name:"Picture Placeholder",ph:'type="pic" ',prompt:"Picture"},chart:{name:"Chart Placeholder",ph:'type="chart" ',prompt:"Chart"},table:{name:"Table Placeholder",ph:'type="tbl" ',prompt:"Table"},smartArt:{name:"SmartArt Placeholder",ph:'type="dgm" ',prompt:"SmartArt"},media:{name:"Media Placeholder",ph:'type="media" ',prompt:"Media"},onlineImage:{name:"Online Image Placeholder",ph:'type="clipArt" ',prompt:"Online Image"}},Mh=(e,t,n,r)=>{let a=U$[e];return nl(t,{name:a.name,ph:`${a.ph}sz="quarter" idx="${n}"`,box:r,bodyPr:a.vertical?'<a:bodyPr vert="eaVert"/>':void 0,paragraphs:a.prompt===null?ws():Eo(a.prompt)}).replace("<p:sp>",`<p:sp ${gr}>`)},Fh={hdr:{x:0,y:0,w:2971800,h:458788},dt:{x:3884613,y:0,w:2971800,h:458788},ftr:{x:0,y:8685213,w:2971800,h:458788},sldNum:{x:3884613,y:8685213,w:2971800,h:458788}},G$={x:685800,y:4400550,w:5486400,h:3600450},Mc=e=>`<a:lvl1pPr algn="${e}"><a:defRPr sz="1200"/></a:lvl1pPr>`,Ih=(e,t,n)=>{let r=t===null?"":` idx="${t}"`;switch(e){case"hdr":return{name:"Header Placeholder",ph:`type="hdr" sz="quarter"${r}`,box:n,full:!0,lstStyle:Mc("l"),paragraphs:bo()};case"dt":return{name:"Date Placeholder",ph:`type="dt" sz="quarter"${r}`,box:n,full:!0,lstStyle:Mc("r"),paragraphs:vh()};case"ftr":return{name:"Footer Placeholder",ph:`type="ftr" sz="quarter"${r}`,box:n,full:!0,bodyPr:`<a:bodyPr ${Ur} anchor="b"/>`,lstStyle:Mc("l"),paragraphs:bo()};case"sldNum":return{name:"Slide Number Placeholder",ph:`type="sldNum" sz="quarter"${r}`,box:n,full:!0,bodyPr:`<a:bodyPr ${Ur} anchor="b"/>`,lstStyle:Mc("r"),paragraphs:Ch()}}},q$=e=>{let t=e.w/e.h;if(t>=1.5)return{x:685800,y:1143e3,w:5486400,h:Math.round(5486400/t)};let n=3429e3,r=Math.round(n*t);return{x:Math.round((6858e3-r)/2),y:685800,w:r,h:n}},Th={hdr:null,dt:1,sldImg:2,body:3,ftr:4,sldNum:5},iA={hdr:null,dt:1,ftr:2,sldNum:3},Oc=["hdr","dt","sldImg","body","ftr","sldNum"],Xc=["hdr","dt","ftr","sldNum"],Bh=e=>t=>tA(t,{w:6858e3,h:9144e3},e),sA=(e,t,n)=>{let r=Bh(t);return e==="sldImg"?{name:"Slide Image Placeholder",ph:`type="sldImg" idx="${Th.sldImg}"`,box:r(q$(n)),full:!0,locks:'noGrp="1" noRot="1" noChangeAspect="1"',spPrExtra:'<a:noFill/><a:ln w="12700"><a:solidFill><a:prstClr val="black"/></a:solidFill></a:ln>',bodyPr:`<a:bodyPr ${Ur} anchor="ctr"/>`,paragraphs:bo()}:e==="body"?{name:"Notes Placeholder",ph:`type="body" sz="quarter" idx="${Th.body}"`,box:r(G$),full:!0,paragraphs:ws()}:Ih(e,Th[e],r(Fh[e]))},Oh=(e,t,n,r)=>nl(t,sA(e,n,r)).replace("<p:sp>",`<p:sp ${gr}>`),Xh=(e,t,n)=>nl(t,Ih(e,iA[e],Bh(n)(Fh[e]))).replace("<p:sp>",`<p:sp ${gr}>`),H$=`<p:notesStyle>${As(9,e=>`<a:lvl${e+1}pPr marL="${e*Ts}" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200">${So()}<a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl${e+1}pPr>`)}</p:notesStyle>`,dA='<p:bg><p:bgRef idx="1001"><a:schemeClr val="bg1"/></p:bgRef></p:bg>',$h=(e,t)=>{let n=Oc.map(r=>sA(r,e,t));return`${Fc}<p:notesMaster ${gr}><p:cSld>${dA}${Ic(n)}</p:cSld><p:clrMap ${wh}/>${H$}</p:notesMaster>`},jh=e=>{let t=Bh(e),n=Xc.map(r=>Ih(r,iA[r],t(Fh[r])));return`${Fc}<p:handoutMaster ${gr}><p:cSld>${dA}${Ic(n)}</p:cSld><p:clrMap ${wh}/></p:handoutMaster>`};var V$=o("p","transition",d.pml),z$=o("p","fade",d.pml),W$=o("","spd",""),Y$=o("","advClick",""),Z$=o("","advTm",""),K$=o("","dir",""),J$=o("","orient",""),Q$=o("","thruBlk",""),ej=o("","spokes",""),tj=o("","pattern",""),nj=o("","isContent",""),rj=o("","isInverted",""),aj=o("","hasBounce",""),lj=o("","prst",""),oj=o("","invX",""),ij=o("","invY",""),sj=o("","option",""),dj=o("p14","dur",d.p14),cj=o("","Requires",""),mj=o("mc","AlternateContent",d.mc),pj=o("mc","Choice",d.mc),uj=o("mc","Fallback",d.mc),Uh={fast:500,med:750,slow:1e3},fj=e=>e<=Uh.fast?"fast":e<=Uh.med?"med":"slow",hj=["blinds","checker","circle","dissolve","comb","cover","cut","diamond","fade","newsflash","plus","pull","push","random","randomBar","split","strips","wedge","wheel","wipe","zoom"],mA=["conveyor","doors","ferris","flash","flip","flythrough","gallery","glitter","honeycomb","pan","prism","reveal","ripple","shred","switch","vortex","warp","wheelReverse","window"],pA=[...hj,...mA,"prstTrans","morph"],gj=["fallOver","drape","curtains","wind","prestige","fracture","crush","peelOff","pageCurlDouble","pageCurlSingle","airplane","origami"],Ao=new Set(["horz","vert"]),rl=new Set(["l","u","r","d"]),Gh=new Set(["lu","ru","ld","rd"]),cA=new Set([...rl,...Gh]),vs=new Set(["in","out"]),To=new Set(["l","r"]),yj=new Set(["center",...Gh]),xj={blinds:Ao,checker:Ao,comb:Ao,randomBar:Ao,push:rl,wipe:rl,cover:cA,pull:cA,strips:Gh,zoom:vs,split:vs,vortex:rl,pan:rl,glitter:rl,prism:rl,switch:To,flip:To,ferris:To,gallery:To,conveyor:To,reveal:To,ripple:yj,doors:Ao,window:Ao,warp:vs,flythrough:vs,shred:vs},Sj=new Set(["fade","cut","reveal"]),bj={glitter:["diamond","hexagon"],shred:["strip","rectangle"]},Ej=["byObject","byWord","byChar"],Aj=new Set(mA),$c={ns:d.p14,prefix:"p14"},Tj={ns:d.p15,prefix:"p15"},wj={ns:d.p159,prefix:"p159"},qh=e=>Aj.has(e)?$c:e==="prstTrans"?Tj:e==="morph"?wj:null,Hh=e=>pA.includes(e)?qh(e)?.ns??d.pml:null,wo=(e,t)=>t===!0?[b(e,"1")]:[],vj=e=>{if(e.effect==="none")return null;let t=Z(e.effect,pA,"setSlideTransition: effect"),n=qh(t),r=o(n?.prefix??"p",t,n?.ns??d.pml),a=[];if(e.direction!==void 0){let i=xj[t];if(i!==void 0){if(!i.has(e.direction))throw new Error(`setSlideTransition: direction "${e.direction}" is not valid for effect "${t}" (allowed: ${[...i].join(", ")})`);a.push(b(K$,e.direction))}}if(e.spokes!==void 0&&(t==="wheel"||t==="wheelReverse")){if(!Number.isInteger(e.spokes))throw new RangeError("setSlideTransition: spokes must be an integer");let i=Ae(e.spokes,"unsignedInt","setSlideTransition: spokes");a.push(b(ej,String(i)))}e.orientation!==void 0&&t==="split"&&(Z(e.orientation,["horz","vert"],"setSlideTransition: orientation"),a.push(b(J$,e.orientation))),Sj.has(t)&&a.push(...wo(Q$,e.thruBlack));let l=bj[t];if(e.pattern!==void 0&&l!==void 0&&a.push(b(tj,Z(e.pattern,l,"setSlideTransition: pattern"))),t==="prism"&&a.push(...wo(nj,e.isContent),...wo(rj,e.isInverted)),t==="flythrough"&&a.push(...wo(aj,e.hasBounce)),t==="prstTrans"){if(e.preset===void 0)throw new Error('setSlideTransition: effect "prstTrans" needs a preset');let i=Z(e.preset,gj,"setSlideTransition: preset");a.push(b(lj,i),...wo(oj,e.invertX),...wo(ij,e.invertY))}if(t==="morph"){let i=Z(e.morphOption??"byObject",Ej,"setSlideTransition: morphOption");a.push(b(sj,i))}return h(r,{attrs:a})},jc=(e,t=null)=>{e.speed!==void 0&&Z(e.speed,["slow","med","fast"],"setSlideTransition: speed");let n=e.durationMs===void 0?void 0:la(e.durationMs,"setSlideTransition: durationMs"),r=e.speed??(n===void 0?void 0:fj(n)),a=r!==void 0&&n!==Uh[r]?n:void 0,l=e.speed??(r==="fast"?void 0:r),i=[];if(l!==void 0&&i.push(b(W$,l)),e.advanceOnClick===!1&&i.push(b(Y$,"0")),e.advanceAfterMs!==void 0){let y=la(e.advanceAfterMs,"setSlideTransition: advanceAfterMs");i.push(b(Z$,String(y)))}let s=vj(e),c=(y,g)=>h(V$,{attrs:[...i,...y],children:[...g===null?[]:[he(g)],...t===null?[]:[he(t)]]}),m=e.effect==="none"?null:qh(e.effect);if(a===void 0&&m===null)return c([],s);let u=m??$c,f=new Map([[u.prefix,u.ns]]);return a!==void 0&&f.set($c.prefix,$c.ns),h(mj,{prefixDecls:new Map([["mc",d.mc]]),children:[h(pj,{attrs:[b(cj,u.prefix)],prefixDecls:f,children:[c(a===void 0?[]:[b(dj,String(a))],s)]}),h(uj,{children:[c([],m===null?s:h(z$))]})]})};var Ls=["spinDirection","spinDegrees","scaleDirection","scalePercent","transparencyPercent","color"],al={spinDirection:null,spinDegrees:null,scaleDirection:null,scalePercent:null,transparencyPercent:null,color:null},Wh=6e4,qc=1e3,zh=100*qc,Cj=2**31-1,Yh=100,fA=6,Lj={spinDirection:"clockwise",spinDegrees:360},Pj={scaleDirection:"both",scalePercent:150},Rj=50,Zh={fillColor:"scheme:accent2",fontColor:"scheme:accent2",lineColor:"scheme:accent2",brushColor:"scheme:accent2",objectColor:"scheme:accent2",growWithColor:"scheme:accent2",colorPulse:"scheme:bg1"},Nj={spinDirection:'"spin"',spinDegrees:'"spin"',scaleDirection:'"growShrink"',scalePercent:'"growShrink"',transparencyPercent:'"transparency"',color:Object.keys(Zh).map(e=>JSON.stringify(e)).join(", ")},Dj=["clockwise","counterclockwise"],_j=["both","horizontal","vertical"],Ps=e=>e==="spin"?["spinDirection","spinDegrees"]:e==="growShrink"?["scaleDirection","scalePercent"]:e==="transparency"?["transparencyPercent"]:Zh[e]!==void 0?["color"]:[],kj=e=>{if(e==="spin")return{...al,...Lj};if(e==="growShrink")return{...al,...Pj};if(e==="transparency")return{...al,transparencyPercent:Rj};let t=Zh[e];return t===void 0?al:{...al,color:t}},uA=(e,t,n)=>{if(typeof e!="number"||!Number.isFinite(e)||e<=0)throw new RangeError(`${n} must be a positive number, not ${JSON.stringify(e)}.`);if(Math.round(e*t)>Cj)throw new RangeError(`${n} ${e} is larger than the file can record.`);return e},Mj=(e,t)=>{let n=typeof e=="object"&&e!==null?e.color:e;if(typeof n!="string"||Fr(n)===null)throw new RangeError(`${t} must be a theme colour token or "#RRGGBB", not ${JSON.stringify(n)}.`);if(typeof e=="object"&&e!==null){let r=e.colorTransforms;r!==void 0&<(r)}return e},Rs=(e,t,n)=>{let r=new Set(Ps(e));for(let s of Ls)if(t[s]!==void 0&&!r.has(s))throw new RangeError(`${n}: ${s} does not apply to ${JSON.stringify(e)}; it is an Effect Option of ${Nj[s]}.`);let a=kj(e),l=(s,c)=>r.has(s)?t[s]===void 0?a[s]:c(t[s]):null,i=(s,c)=>m=>{let u=c.find(f=>f===m);if(u===void 0)throw new RangeError(`${n}: ${s} ${JSON.stringify(m)} is not one of ${c.join(", ")}.`);return u};return{spinDirection:l("spinDirection",i("spinDirection",Dj)),spinDegrees:l("spinDegrees",s=>uA(s,Wh,`${n}: spinDegrees`)),scaleDirection:l("scaleDirection",i("scaleDirection",_j)),scalePercent:l("scalePercent",s=>uA(s,qc,`${n}: scalePercent`)),transparencyPercent:l("transparencyPercent",s=>{if(typeof s!="number"||!Number.isFinite(s)||s<0||s>Yh)throw new RangeError(`${n}: transparencyPercent must be a number from 0 to 100, not ${JSON.stringify(s)}.`);return s}),color:l("color",s=>Mj(s,`${n}: color`))}},Gr=(e,t)=>e.name.namespaceURI===d.pml&&e.name.localName===t,Fj=o("p","childTnLst",d.pml),Ij=o("p","cBhvr",d.pml),Bj=o("p","attrNameLst",d.pml),Oj=o("p","attrName",d.pml),Gc=o("p","to",d.pml),hA=o("p","by",d.pml),Xj=o("p","from",d.pml),gA=o("p","strVal",d.pml),$j=o("p","clrVal",d.pml),jj=o("","by",""),Uj=o("","from",""),Gj=o("","to",""),qj=o("","x",""),Hj=o("","y",""),yA=o("","val",""),Vj=o("","prLst",""),Kh=e=>{let t=p(e,Fj);return t===null?[]:t.children.filter(n=>n.kind==="element"&&n.name.namespaceURI===d.pml)},xA=e=>{let t=p(e,Ij),n=t===null?null:p(t,Bj);return(n===null?null:p(n,Oj))?.children.find(a=>a.kind==="text")?.data??null},Cs=(e,t,n)=>{let r=e.attrs.some(a=>a.name.namespaceURI===""&&a.name.localName===t);e.attrs=r?e.attrs.map(a=>a.name.namespaceURI===""&&a.name.localName===t?{...a,value:n}:a):[...e.attrs,b(o("",t,""),n)]},SA=e=>{let t=[];for(let n of Kh(e)){let r=p(n,Gc);if(r!==null){if(Gr(n,"animClr"))t.push(r);else if(Gr(n,"set")){let a=p(r,$j);a!==null&&t.push(a)}}}return t},zj=e=>{let t=typeof e=="string"?e:e.color,n=tt(t);return typeof e!="string"&&e.colorTransforms!==void 0&&(n.children=lt(e.colorTransforms)),n},Wj=e=>String(Number((1-e/Yh).toFixed(fA))),Yj=e=>String(Math.round(e*qc)),bA=(e,t)=>{for(let n of Kh(e)){if(Gr(n,"animRot")&&t.spinDegrees!==null){let r=t.spinDirection==="counterclockwise"?-1:1;Cs(n,"by",String(r*Math.round(t.spinDegrees*Wh)))}if(Gr(n,"animScale")&&t.scalePercent!==null){let r=p(n,hA);if(r===null)continue;let a=Yj(t.scalePercent),l=String(zh);Cs(r,"x",t.scaleDirection==="vertical"?l:a),Cs(r,"y",t.scaleDirection==="horizontal"?l:a)}if(t.transparencyPercent!==null){let r=Wj(t.transparencyPercent);if(Gr(n,"set")&&xA(n)==="style.opacity"){let a=p(p(n,Gc),gA);a!==null&&Cs(a,"val",r)}Gr(n,"animEffect")&&x(n,Vj)!==null&&Cs(n,"prLst",`opacity: ${r}`)}}if(t.color!==null)for(let n of SA(e))n.children=[zj(t.color)]},Vh=e=>{if(e===null||!/^-?\d+$/.test(e))return null;let t=Number(e);return Number.isSafeInteger(t)?t:null},Zj=e=>{let t=e.children.filter(i=>i.kind==="element"),n=t[0];if(t.length!==1||n===void 0||n.name.namespaceURI!==d.dml)return null;let r=x(n,yA);if(r===null)return null;let a=n.name.localName==="srgbClr"?dt(`#${r.toUpperCase()}`):n.name.localName==="schemeClr"?dt(`scheme:${r}`):null;if(a===null)return null;let l=Ln(n);return l.length!==n.children.filter(i=>i.kind==="element").length?null:l.length===0?a:{color:a,colorTransforms:l}},Kj=(e,t)=>JSON.stringify(e)===JSON.stringify(t),Uc=e=>({...al,...e}),Jh=(e,t)=>{if(Ps(e).length===0)return al;let r=Kh(t);if(e==="spin"){let s=r[0];if(r.length!==1||s===void 0||!Gr(s,"animRot")||x(s,Uj)!==null||x(s,Gj)!==null)return null;let c=Vh(x(s,jj));return c===null||c===0?null:Uc({spinDirection:c<0?"counterclockwise":"clockwise",spinDegrees:Math.abs(c)/Wh})}if(e==="growShrink"){let s=r[0];if(r.length!==1||s===void 0||!Gr(s,"animScale")||p(s,Xj)!==null||p(s,Gc)!==null)return null;let c=p(s,hA),m=c===null?null:Vh(x(c,qj)),u=c===null?null:Vh(x(c,Hj));if(m===null||u===null||m<=0||u<=0)return null;let f=m===u?"both":u===zh?"horizontal":m===zh?"vertical":null;if(f===null)return null;let y=(f==="vertical"?u:m)/qc;return Uc({scaleDirection:f,scalePercent:y})}if(e==="transparency"){let s=r.find(y=>Gr(y,"set")&&xA(y)==="style.opacity"),c=s===void 0?null:p(s,Gc),m=c===null?null:p(c,gA),u=m===null?null:x(m,yA),f=u===null||!/^\d*\.?\d+$/.test(u.trim())?Number.NaN:Number(u);return f>=0&&f<=1?Uc({transparencyPercent:Number(((1-f)*Yh).toFixed(fA-2))}):null}let l=SA(t).map(Zj),i=l[0];return i==null||!l.every(s=>s!==null&&Kj(s,i))?null:Uc({color:i})};var Qh=['<anim calcmode="lin" valueType="num">',"</anim>","<cBhvr>","</cBhvr>","<tavLst>","</tavLst>",' fill="hold"',"<cTn ","</cTn>",'<animEffect transition="',"</animEffect>","<set>","</set>",'<animRot by="',"</animRot>",'<animClr clrSpc="',"</animClr>","<animScale>","</animScale>",' dur="','"/>'],EA={appear:["entr",1,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m</childTnLst>'],blindsIn:["entr",3,10,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="{F}">~c~hdur="500~u{T}~d~k</childTnLst>'],checkerboardIn:["entr",5,10,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="{F}">~c~hdur="500~u{T}~d~k</childTnLst>'],dissolveIn:["entr",9,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="dissolve">~c~hdur="500~u{T}~d~k</childTnLst>'],flyIn:["entr",2,4,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a<cBhvr additive="base">~hdur="500"~g/>{T}@ppt_x@~d~e[0|{X0}][100000|{X1}]~f~b~a<cBhvr additive="base">~hdur="500"~g/>{T}@ppt_y@~d~e[0|{Y0}][100000|{Y1}]~f~b</childTnLst>'],peekIn:["entr",12,4,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a<cBhvr additive="base">~hdur="500~u{T}@{A}@~d~e[0|{P0}][100000|{P1}]~f~b~jin" filter="{F}">~c~hdur="500~u{T}~d~k</childTnLst>'],randomBarsIn:["entr",14,10,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="{F}">~c~hdur="500~u{T}~d~k</childTnLst>'],shapeIn:["entr",6,16,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="{F}">~c~hdur="2000~u{T}~d~k</childTnLst>'],splitIn:["entr",16,21,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="{F}">~c~hdur="500~u{T}~d~k</childTnLst>'],stripsIn:["entr",18,12,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="{F}">~c~hdur="500~u{T}~d~k</childTnLst>'],wedgeIn:["entr",20,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="wedge">~c~hdur="2000~u{T}~d~k</childTnLst>'],wheelIn:["entr",21,1,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="{F}">~c~hdur="2000~u{T}~d~k</childTnLst>'],wipeIn:["entr",22,4,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="{F}">~c~hdur="500~u{T}~d~k</childTnLst>'],expandIn:["entr",55,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a~c~hdur="1000"~g/>{T}@ppt_w@~d~e[0|#ppt_w*0.70][100000|#ppt_w]~f~b~a~c~hdur="1000"~g/>{T}@ppt_h@~d~e[0|#ppt_h][100000|#ppt_h]~f~b~jin" filter="fade">~c~hdur="1000~u{T}~d~k</childTnLst>'],fadeIn:["entr",10,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="fade">~c~hdur="500~u{T}~d~k</childTnLst>'],swivelIn:["entr",45,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="fade">~c~hdur="2000~u{T}~d~k~a~c~hdur="2000"~g/>{T}@ppt_w@~d~e<tav tm="0" fmla="#ppt_w*sin(2.5*pi*$)"><val><fltVal val="0~u</val></tav>[100000!1]~f~b~a~c~hdur="2000"~g/>{T}@ppt_h@~d~e[0|#ppt_h][100000|#ppt_h]~f~b</childTnLst>'],zoomIn:["entr",53,16,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a~c~hdur="500"~g/>{T}@ppt_w@~d~e[0!0][100000|#ppt_w]~f~b~a~c~hdur="500"~g/>{T}@ppt_h@~d~e[0!0][100000|#ppt_h]~f~b~jin" filter="fade">~c~hdur="500~u{T}~d~k</childTnLst>'],centerRevolveIn:["entr",43,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="fade">~c~hdur="100~u{T}~d~k~a~c~hdur="400"~g/>{T}@ppt_x@~d~e[0|#ppt_x][100000|#ppt_x]~f~b~a~c~hdur="400"~g/>{T}@ppt_y@~d~e[0|#ppt_y+0.31][100000|#ppt_y+0.31]~f~b~a~c~hdur="600" decel="50000"~g>^400^~i{T}@ppt_x@~d~e[0|#ppt_x][5000|#ppt_x+0.0242][10000|#ppt_x+0.0479][15000|#ppt_x+0.0704][20000|#ppt_x+0.0911][25000|#ppt_x+0.1096][30000|#ppt_x+0.1254][35000|#ppt_x+0.1381][40000|#ppt_x+0.1474][45000|#ppt_x+0.1531][50000|#ppt_x+0.1550][55000|#ppt_x+0.1531][60000|#ppt_x+0.1474][65000|#ppt_x+0.1381][70000|#ppt_x+0.1254][75000|#ppt_x+0.1096][80000|#ppt_x+0.0911][85000|#ppt_x+0.0704][90000|#ppt_x+0.0479][95000|#ppt_x+0.0242][100000|#ppt_x]~f~b~a~c~hdur="600" decel="50000"~g>^400^~i{T}@ppt_y@~d~e[0|#ppt_y+0.31][5000|#ppt_y+0.308][10000|#ppt_y+0.3024][15000|#ppt_y+0.2931][20000|#ppt_y+0.2804][25000|#ppt_y+0.2646][30000|#ppt_y+0.2461][35000|#ppt_y+0.2253][40000|#ppt_y+0.2029][45000|#ppt_y+0.1792][50000|#ppt_y+0.155][55000|#ppt_y+0.1307][60000|#ppt_y+0.1071][65000|#ppt_y+0.0846][70000|#ppt_y+0.0639][75000|#ppt_y+0.0454][80000|#ppt_y+0.0296][85000|#ppt_y+0.0169][90000|#ppt_y+0.0076][95000|#ppt_y+0.0019][100000|#ppt_y]~f~b</childTnLst>'],floatIn:["entr",42,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="fade">~c~hdur="1000~u{T}~d~k~a~c~hdur="1000"~g/>{T}@ppt_x@~d~e[0|#ppt_x][100000|#ppt_x]~f~b~a~c~hdur="1000"~g/>{T}@ppt_y@~d~e[0|#ppt_y+.1][100000|#ppt_y]~f~b</childTnLst>'],growTurnIn:["entr",31,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a~c~hdur="1000"~g/>{T}@ppt_w@~d~e[0!0][100000|#ppt_w]~f~b~a~c~hdur="1000"~g/>{T}@ppt_h@~d~e[0!0][100000|#ppt_h]~f~b~a~c~hdur="1000"~g/>{T}@style.rotation@~d~e[0!90][100000!0]~f~b~jin" filter="fade">~c~hdur="1000~u{T}~d~k</childTnLst>'],riseUpIn:["entr",37,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="fade">~c~hdur="1000~u{T}~d~k~a~c~hdur="1000"~g/>{T}@ppt_x@~d~e[0|#ppt_x][100000|#ppt_x]~f~b~a~c~hdur="900" decel="100000"~g/>{T}@ppt_y@~d~e[0|#ppt_y+1][100000|#ppt_y-.03]~f~b~a~c~hdur="100" accel="100000"~g>^900^~i{T}@ppt_y@~d~e[0|#ppt_y-.03][100000|#ppt_y]~f~b</childTnLst>'],spinnerIn:["entr",49,0,'decel="100000" fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a~c~hdur="500"~g/>{T}@ppt_w@~d~e[0!0][100000|#ppt_w]~f~b~a~c~hdur="500"~g/>{T}@ppt_h@~d~e[0!0][100000|#ppt_h]~f~b~a~c~hdur="500"~g/>{T}@style.rotation@~d~e[0!360][100000!0]~f~b~jin" filter="fade">~c~hdur="500~u{T}~d~k</childTnLst>'],basicZoomIn:["entr",23,16,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a~c~hdur="500"~g/>{T}@ppt_w@~d~e[0!0][100000|#ppt_w]~f~b~a~c~hdur="500"~g/>{T}@ppt_h@~d~e[0!0][100000|#ppt_h]~f~b</childTnLst>'],stretchIn:["entr",17,10,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a~c~hdur="500"~g/>{T}@ppt_w@~d~e[0!0][100000|#ppt_w]~f~b~a~c~hdur="500"~g/>{T}@ppt_h@~d~e[0|#ppt_h][100000|#ppt_h]~f~b</childTnLst>'],boomerangIn:["entr",25,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a~c~hdur="500" decel="50000"~g>^0^~i{T}@style.rotation@~d~e[0!-90][100000!0]~f~b~a~c~hdur="500" decel="50000"~g>^0^~i{T}@ppt_w@~d~e[0|#ppt_w][100000|#ppt_w*.05]~f~b~a~c~hdur="500" accel="50000"~g>^500^~i{T}@ppt_w@~d~e[0|#ppt_w*.05][100000|#ppt_w]~f~b~a~c~hdur="1000"~g/>{T}@ppt_h@~d~e[0|#ppt_h][100000|#ppt_h]~f~b~a~c~hdur="500" decel="50000"~g>^0^~i{T}@ppt_x@~d~e[0|#ppt_x+.4][100000|#ppt_x]~f~b~a~c~hdur="500" decel="50000"~g>^0^~i{T}@ppt_y@~d~e[0|#ppt_y-.2][100000|#ppt_y+.1]~f~b~a~c~hdur="500" accel="50000"~g>^500^~i{T}@ppt_y@~d~e[0|#ppt_y+.1][100000|#ppt_y]~f~b~jin" filter="fade">~c~hdur="1000" decel="50000">^0^~i{T}~d~k</childTnLst>'],bounceIn:["entr",26,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="wipe(down)">~c~hdur="580">^0^~i{T}~d~k~a~c~hdur="1822" tmFilter="0,0; 0.14,0.36; 0.43,0.73; 0.71,0.91; 1.0,1.0">^0^~i{T}@ppt_x@~d~e[0|#ppt_x-0.25][100000|#ppt_x]~f~b~a~c~hdur="664" tmFilter="0.0,0.0; 0.25,0.07; 0.50,0.2; 0.75,0.467; 1.0,1.0">^0^~i{T}@ppt_y@~d~e<tav tm="0" fmla="#ppt_y-sin(pi*$)/3"><val><fltVal val="0.5~u</val></tav>[100000!1]~f~b~a~c~hdur="664" tmFilter="0, 0; 0.125,0.2665; 0.25,0.4; 0.375,0.465; 0.5,0.5; 0.625,0.535; 0.75,0.6; 0.875,0.7335; 1,1">^664^~i{T}@ppt_y@~d~e<tav tm="0" fmla="#ppt_y-sin(pi*$)/9"><val><fltVal val="0~u</val></tav>[100000!1]~f~b~a~c~hdur="332" tmFilter="0, 0; 0.125,0.2665; 0.25,0.4; 0.375,0.465; 0.5,0.5; 0.625,0.535; 0.75,0.6; 0.875,0.7335; 1,1">^1324^~i{T}@ppt_y@~d~e<tav tm="0" fmla="#ppt_y-sin(pi*$)/27"><val><fltVal val="0~u</val></tav>[100000!1]~f~b~a~c~hdur="164" tmFilter="0, 0; 0.125,0.2665; 0.25,0.4; 0.375,0.465; 0.5,0.5; 0.625,0.535; 0.75,0.6; 0.875,0.7335; 1,1">^1656^~i{T}@ppt_y@~d~e<tav tm="0" fmla="#ppt_y-sin(pi*$)/81"><val><fltVal val="0~u</val></tav>[100000!1]~f~b~r~c~hdur="26">^650^~i{T}~d<to x="100000" y="60000~u~s~r~c~hdur="166" decel="50000">^676^~i{T}~d<to x="100000" y="100000~u~s~r~c~hdur="26">^1312^~i{T}~d<to x="100000" y="80000~u~s~r~c~hdur="166" decel="50000">^1338^~i{T}~d<to x="100000" y="100000~u~s~r~c~hdur="26">^1642^~i{T}~d<to x="100000" y="90000~u~s~r~c~hdur="166" decel="50000">^1668^~i{T}~d<to x="100000" y="100000~u~s~r~c~hdur="26">^1808^~i{T}~d<to x="100000" y="95000~u~s~r~c~hdur="166" decel="50000">^1834^~i{T}~d<to x="100000" y="100000~u~s</childTnLst>'],creditsIn:["entr",28,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a~c~hdur="15000"~g/>{T}@ppt_x@~d~e[0|#ppt_x][100000|#ppt_x]~f~b~a~c~hdur="15000"~g/>{T}@ppt_y@~d~e[0|#ppt_y+1][100000|#ppt_y-1]~f~b</childTnLst>'],curveUpIn:["entr",52,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~r~c~hdur="1000" decel="50000"~g>^0^~i{T}~d<from x="250000" y="250000~u<to x="100000" y="100000~u~s<animMotion origin="layout" path="M -0.46736 0.92887 C -0.37517 0.88508 -0.02552 0.75279 0.0908 0.66613 C 0.20747 0.57948 0.21649 0.50394 0.23177 0.40825 C 0.24705 0.31256 0.22118 0.15964 0.18264 0.09152 C 0.1441 0.02341 0.03802 0.0 0.0 0.0 " pathEditMode="relative" ptsTypes="">~c~hdur="1000" decel="50000"~g>^0^~i{T}<attrNameLst><attrName>ppt_x</attrName><attrName>ppt_y</attrName></attrNameLst>~d</animMotion>~jin" filter="fade">~c~hdur="1000~u{T}~d~k</childTnLst>'],dropIn:["entr",38,0,'accel="50000" fill="hold"',"shape",'<iterate type="lt"><tmPct val="50000~u</iterate><childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~l~c~hdur="455"~g>^0^~i{T}@style.rotation@~d<to><strVal val="-45.0~u</to>~m~a~c~hdur="455"~g>^455^~i{T}@style.rotation@~d~e[0!-45][69900!45][100000!0]~f~b~a~c~hdur="455"~g>^0^~i{T}@ppt_y@~d~e[0|#ppt_y-1][100000|#ppt_y-(0.354*#ppt_w-0.172*#ppt_h)]~f~b~a~c~hdur="156" decel="50000" autoRev="1"~g>^455^~i{T}@ppt_y@~d~e[0|#ppt_y-(0.354*#ppt_w-0.172*#ppt_h)][100000|#ppt_y-(0.354*#ppt_w-0.172*#ppt_h)-#ppt_h/2]~f~b~a~c~hdur="136"~g>^864^~i{T}@ppt_y@~d~e[0|#ppt_y-(0.354*#ppt_w-0.172*#ppt_h)][100000|#ppt_y]~f~b</childTnLst>'],flipIn:["entr",56,0,'fill="hold"',"shape",'<iterate type="lt"><tmPct val="10000~u</iterate><childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m<anim by="(-#ppt_w*2)" calcmode="lin" valueType="num"><cBhvr rctx="PPT">~hdur="500" autoRev="1"~g>^0^~i{T}@ppt_w@~d~b<anim by="(#ppt_w*0.50)" calcmode="lin" valueType="num">~c~hdur="500" decel="50000" autoRev="1"~g>^0^~i{T}@ppt_x@~d~b<anim from="(-#ppt_h/2)" to="(#ppt_y)" calcmode="lin" valueType="num">~c~hdur="1000"~g>^0^~i{T}@ppt_y@~d~b~n21600000">~c~hdur="1000"~g>^0^~i{T}@r@~d~o</childTnLst>'],floatingIn:["entr",30,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="fade">~c~hdur="800" decel="100000~u{T}~d~k~a~c~hdur="800" decel="100000"~g/>{T}@style.rotation@~d~e[0!-90][100000!0]~f~b~a~c~hdur="800" decel="100000"~g/>{T}@ppt_x@~d~e[0|#ppt_x+0.4][100000|#ppt_x-0.05]~f~b~a~c~hdur="800" decel="100000"~g/>{T}@ppt_y@~d~e[0|#ppt_y-0.4][100000|#ppt_y+0.1]~f~b~a~c~hdur="200" accel="100000"~g>^800^~i{T}@ppt_x@~d~e[0|#ppt_x-0.05][100000|#ppt_x]~f~b~a~c~hdur="200" accel="100000"~g>^800^~i{T}@ppt_y@~d~e[0|#ppt_y+0.1][100000|#ppt_y]~f~b</childTnLst>'],pinwheelIn:["entr",35,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="fade">~c~hdur="2000~u{T}~d~k~a~c~hdur="2000"~g/>{T}@style.rotation@~d~e[0!720][100000!0]~f~b~a~c~hdur="2000"~g/>{T}@ppt_h@~d~e[0!0][100000|#ppt_h]~f~b~a~c~hdur="2000"~g/>{T}@ppt_w@~d~e[0!0][100000|#ppt_w]~f~b</childTnLst>'],spiralIn:["entr",15,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a~c~hdur="1000"~g/>{T}@ppt_w@~d~e[0!0][100000|#ppt_w]~f~b~a~c~hdur="1000"~g/>{T}@ppt_h@~d~e[0!0][100000|#ppt_h]~f~b~a~c~hdur="1000"~g/>{T}@ppt_x@~d~e<tav tm="0" fmla="#ppt_x+(cos(-2*pi*(1-$))*-#ppt_x-sin(-2*pi*(1-$))*(1-#ppt_y))*(1-$)"><val><fltVal val="0~u</val></tav>[100000!1]~f~b~a~c~hdur="1000"~g/>{T}@ppt_y@~d~e<tav tm="0" fmla="#ppt_y+(sin(-2*pi*(1-$))*-#ppt_x+cos(-2*pi*(1-$))*(1-#ppt_y))*(1-$)"><val><fltVal val="0~u</val></tav>[100000!1]~f~b</childTnLst>'],basicSwivelIn:["entr",19,10,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a~c~hdur="5000"~g/>{T}@ppt_w@~d~e<tav tm="0" fmla="#ppt_w*sin(2.5*pi*$)"><val><fltVal val="0~u</val></tav>[100000!1]~f~b~a~c~hdur="5000"~g/>{T}@ppt_h@~d~e[0|#ppt_h][100000|#ppt_h]~f~b</childTnLst>'],whipIn:["entr",41,0,'fill="hold"',"shape",'<iterate type="lt"><tmPct val="10000~u</iterate><childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a~c~hdur="500"~g/>{T}@ppt_x@~d~e[0|#ppt_x][50000|#ppt_x+.1][100000|#ppt_x]~f~b~a~c~hdur="500"~g/>{T}@ppt_y@~d~e[0|#ppt_y][100000|#ppt_y]~f~b~a~c~hdur="500"~g/>{T}@ppt_h@~d~e[0|#ppt_h/10][50000|#ppt_h+.01][100000|#ppt_h]~f~b~a~c~hdur="500"~g/>{T}@ppt_w@~d~e[0|#ppt_w/10][50000|#ppt_w+.01][100000|#ppt_w]~f~b~jin" filter="fade">~c~hdur="500" tmFilter="0,0; .5, 1; 1, 1~u{T}~d~k</childTnLst>'],blindsOut:["exit",3,10,'fill="hold"',"shape",'<childTnLst>~jout" filter="{F}">~c~hdur="500~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],checkerboardOut:["exit",5,10,'fill="hold"',"shape",'<childTnLst>~jout" filter="{F}">~c~hdur="500~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],disappear:["exit",1,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],dissolveOut:["exit",9,0,'fill="hold"',"shape",'<childTnLst>~jout" filter="dissolve">~c~hdur="500~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],flyOut:["exit",2,4,'fill="hold"',"shape",'<childTnLst>~a<cBhvr additive="base">~hdur="500~u{T}@ppt_x@~d~e[0|{X0}][100000|{X1}]~f~b~a<cBhvr additive="base">~hdur="500~u{T}@ppt_y@~d~e[0|{Y0}][100000|{Y1}]~f~b~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],peekOut:["exit",12,4,'fill="hold"',"shape",'<childTnLst>~a<cBhvr additive="base">~hdur="500~u{T}@{A}@~d~e[0|{P0}][100000|{P1}]~f~b~jout" filter="{F}">~c~hdur="500~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],randomBarsOut:["exit",14,10,'fill="hold"',"shape",'<childTnLst>~jout" filter="{F}">~c~hdur="500~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],shapeOut:["exit",6,32,'fill="hold"',"shape",'<childTnLst>~jout" filter="{F}">~c~hdur="2000~u{T}~d~k~l~c~hdur="1"~g>^1999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],splitOut:["exit",16,21,'fill="hold"',"shape",'<childTnLst>~jout" filter="{F}">~c~hdur="500~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],stripsOut:["exit",18,12,'fill="hold"',"shape",'<childTnLst>~jout" filter="{F}">~c~hdur="500~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],wedgeOut:["exit",20,0,'fill="hold"',"shape",'<childTnLst>~jout" filter="wedge">~c~hdur="2000~u{T}~d~k~l~c~hdur="1"~g>^1999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],wheelOut:["exit",21,1,'fill="hold"',"shape",'<childTnLst>~jout" filter="{F}">~c~hdur="2000~u{T}~d~k~l~c~hdur="1"~g>^1999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],wipeOut:["exit",22,4,'fill="hold"',"shape",'<childTnLst>~jout" filter="{F}">~c~hdur="500~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],contractOut:["exit",55,0,'fill="hold"',"shape",'<childTnLst>~a~c~hdur="1000~u{T}@ppt_w@~d~e[0|ppt_w][100000|ppt_w*0.70]~f~b~a~c~hdur="1000~u{T}@ppt_h@~d~e[0|ppt_h][100000|ppt_h]~f~b~jout" filter="fade">~c~hdur="1000~u{T}~d~k~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],fadeOut:["exit",10,0,'fill="hold"',"shape",'<childTnLst>~jout" filter="fade">~c~hdur="500~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],swivelOut:["exit",45,0,'fill="hold"',"shape",'<childTnLst>~jout" filter="fade">~c~hdur="2000~u{T}~d~k~a~c~hdur="2000~u{T}@ppt_w@~d~e[0|ppt_w][5000|0.92*ppt_w][10000|0.71*ppt_w][15000|0.38*ppt_w][20000!0][25000|-0.38*ppt_w][30000|-0.71*ppt_w][35000|-0.92*ppt_w][40000|-ppt_w][45000|-0.92*ppt_w][50000|-0.71*ppt_w][55000|-0.38*ppt_w][60000!0][65000|0.38*ppt_w][70000|0.71*ppt_w][75000|0.92*ppt_w][80000|ppt_w][85000|0.92*ppt_w][90000|0.71*ppt_w][95000|0.38*ppt_w][100000!0]~f~b~a~c~hdur="2000~u{T}@ppt_h@~d~e[0|ppt_h][100000|ppt_h]~f~b~l~c~hdur="1"~g>^1999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],zoomOut:["exit",53,32,'fill="hold"',"shape",'<childTnLst>~a~c~hdur="500~u{T}@ppt_w@~d~e[0|ppt_w][100000!0]~f~b~a~c~hdur="500~u{T}@ppt_h@~d~e[0|ppt_h][100000!0]~f~b~jout" filter="fade">~c~hdur="500~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],centerRevolveOut:["exit",43,0,'fill="hold"',"shape",'<childTnLst>~a~c~hdur="600" decel="50000">^0^~i{T}@ppt_x@~d~e[0|ppt_x][5000|ppt_x+0.0242][10000|ppt_x+0.0479][15000|ppt_x+0.0704][20000|ppt_x+0.0911][25000|ppt_x+0.1096][30000|ppt_x+0.1254][35000|ppt_x+0.1381][40000|ppt_x+0.1474][45000|ppt_x+0.1531][50000|ppt_x+0.155][55000|ppt_x+0.1531][60000|ppt_x+0.1474][65000|ppt_x+0.1381][70000|ppt_x+0.1254][75000|ppt_x+0.1096][80000|ppt_x+0.0911][85000|ppt_x+0.0704][90000|ppt_x+0.0479][95000|ppt_x+0.0242][100000|ppt_x]~f~b~a~c~hdur="400">^600^~i{T}@ppt_x@~d~e[0|ppt_x][100000|ppt_x]~f~b~a~c~hdur="600" decel="50000">^0^~i{T}@ppt_y@~d~e[0|ppt_y][5000|ppt_y+0.0019][10000|ppt_y+0.0076][15000|ppt_y+0.0169][20000|ppt_y+0.0296][25000|ppt_y+0.0454][30000|ppt_y+0.0639][35000|ppt_y+0.0846][40000|ppt_y+0.1071][45000|ppt_y+0.1307][50000|ppt_y+0.155][55000|ppt_y+0.1792][60000|ppt_y+0.2029][65000|ppt_y+0.2253][70000|ppt_y+0.2461][75000|ppt_y+0.2646][80000|ppt_y+0.2804][85000|ppt_y+0.2931][90000|ppt_y+0.3024][95000|ppt_y+0.308][100000|ppt_y+0.31]~f~b~a~c~hdur="400">^600^~i{T}@ppt_y@~d~e[0|ppt_y][100000|ppt_y]~f~b~jout" filter="fade">~c~hdur="100">^900^~i{T}~d~k~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],collapseOut:["exit",17,10,'fill="hold"',"shape",'<childTnLst>~a~c~hdur="500~u{T}@ppt_w@~d~e[0|ppt_w][100000!0]~f~b~a~c~hdur="500~u{T}@ppt_h@~d~e[0|ppt_h][100000|ppt_h]~f~b~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],floatOut:["exit",42,0,'fill="hold"',"shape",'<childTnLst>~jout" filter="fade">~c~hdur="1000~u{T}~d~k~a~c~hdur="1000~u{T}@ppt_x@~d~e[0|ppt_x][100000|ppt_x]~f~b~a~c~hdur="1000~u{T}@ppt_y@~d~e[0|ppt_y][100000|ppt_y+.1]~f~b~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],shrinkTurnOut:["exit",31,0,'fill="hold"',"shape",'<childTnLst>~a~c~hdur="1000~u{T}@ppt_w@~d~e[0|ppt_w][100000!0]~f~b~a~c~hdur="1000~u{T}@ppt_h@~d~e[0|ppt_h][100000!0]~f~b~a~c~hdur="1000~u{T}@style.rotation@~d~e[0!0][100000!90]~f~b~jout" filter="fade">~c~hdur="1000~u{T}~d~k~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],sinkDownOut:["exit",37,0,'fill="hold"',"shape",'<childTnLst>~jout" filter="fade">~c~hdur="1000~u{T}~d~k~a~c~hdur="1000~u{T}@ppt_x@~d~e[0|ppt_x][100000|ppt_x]~f~b~a~c~hdur="100" decel="100000~u{T}@ppt_y@~d~e[0|ppt_y][100000|ppt_y-.03]~f~b~a~c~hdur="900" accel="100000">^100^~i{T}@ppt_y@~d~e[0|ppt_y][100000|ppt_y+1]~f~b~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],spinnerOut:["exit",49,0,'accel="100000" fill="hold"',"shape",'<childTnLst>~a~c~hdur="500~u{T}@ppt_w@~d~e[0|ppt_w][100000!0]~f~b~a~c~hdur="500~u{T}@ppt_h@~d~e[0|ppt_h][100000!0]~f~b~a~c~hdur="500~u{T}@style.rotation@~d~e[0!0][100000!360]~f~b~jout" filter="fade">~c~hdur="500~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],basicZoomOut:["exit",23,32,'fill="hold"',"shape",'<childTnLst>~a~c~hdur="500~u{T}@ppt_w@~d~e[0|ppt_w][100000!0]~f~b~a~c~hdur="500~u{T}@ppt_h@~d~e[0|ppt_h][100000!0]~f~b~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],stretchyOut:["exit",50,0,'accel="100000" fill="hold"',"shape",'<childTnLst>~a~c~hdur="1000~u{T}@ppt_w@~d~e[0|ppt_w][100000|ppt_w+.3]~f~b~a~c~hdur="1000~u{T}@ppt_h@~d~e[0|ppt_h][100000|ppt_h]~f~b~jout" filter="fade">~c~hdur="1000~u{T}~d~k~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],boomerangOut:["exit",25,0,'fill="hold"',"shape",'<childTnLst>~jout" filter="fade">~c~hdur="1000" accel="50000">^0^~i{T}~d~k~a~c~hdur="500" accel="50000">^0^~i{T}@ppt_y@~d~e[0|ppt_y][100000|ppt_y+.1]~f~b~a~c~hdur="500" decel="50000">^500^~i{T}@ppt_y@~d~e[0|ppt_y][100000|ppt_y-.1]~f~b~a~c~hdur="500" accel="50000">^500^~i{T}@ppt_x@~d~e[0|ppt_x][100000|ppt_x+.4]~f~b~a~c~hdur="1000~u{T}@ppt_h@~d~e[0|ppt_h][100000|ppt_h]~f~b~a~c~hdur="500" accel="50000">^0^~i{T}@ppt_w@~d~e[0|ppt_w][100000|ppt_w*.05]~f~b~a~c~hdur="500" decel="50000">^500^~i{T}@ppt_w@~d~e[0|ppt_w][100000|ppt_w/.05]~f~b~a~c~hdur="500" accel="50000">^500^~i{T}@style.rotation@~d~e[0!0][100000!-90]~f~b~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],bounceOut:["exit",26,0,'fill="hold"',"shape",'<childTnLst>~jout" filter="wipe(down)">~c~hdur="180" accel="50000">^1820^~i{T}~d~k~a~c~hdur="1822" tmFilter="0,0; 0.14,0.31; 0.43,0.73; 0.71,0.91; 1.0,1.0">^0^~i{T}@ppt_x@~d~e[0|ppt_x][100000|#ppt_x+0.25]~f~b~a~c~hdur="178">^1822^~i{T}@ppt_x@~d~e[0|ppt_x][100000|ppt_x]~f~b~a~c~hdur="664" tmFilter="0.0,0.0;0.25,0.07;0.50,0.2;0.75,0.467;1.0,1.0">^0^~i{T}@ppt_y@~d~e[0|ppt_y][5000|ppt_y+0.026][10000|ppt_y+0.052][15000|ppt_y+0.078][20000|ppt_y+0.103][30000|ppt_y+0.151][40000|ppt_y+0.196][50000|ppt_y+0.236][60000|ppt_y+0.270][70000|ppt_y+0.297][80000|ppt_y+0.317][90000|ppt_y+0.329][100000|ppt_y+0.333]~f~b~a~c~hdur="664" tmFilter="0, 0; 0.125,0.2665; 0.25,0.4; 0.375,0.465; 0.5,0.5; 0.625,0.535; 0.75,0.6; 0.875,0.7335; 1,1">^664^~i{T}@ppt_y@~d~e[0|ppt_y][10000|ppt_y-0.034][20000|ppt_y-0.065][30000|ppt_y-0.090][40000|ppt_y-0.106][50000|ppt_y-0.111][60000|ppt_y-0.106][70000|ppt_y-0.090][80000|ppt_y-0.065][90000|ppt_y-0.034][100000|ppt_y]~f~b~a~c~hdur="332" tmFilter="0, 0; 0.125,0.2665; 0.25,0.4; 0.375,0.465; 0.5,0.5; 0.625,0.535; 0.75,0.6; 0.875,0.7335; 1,1">^1324^~i{T}@ppt_y@~d~e[0|ppt_y][10000|ppt_y-0.011][20000|ppt_y-0.022][30000|ppt_y-0.030][40000|ppt_y-0.035][50000|ppt_y-0.037][60000|ppt_y-0.035][70000|ppt_y-0.030][80000|ppt_y-0.022][90000|ppt_y-0.011][100000|ppt_y]~f~b~a~c~hdur="164" tmFilter="0, 0; 0.125,0.2665; 0.25,0.4; 0.375,0.465; 0.5,0.5; 0.625,0.535; 0.75,0.6; 0.875,0.7335; 1,1">^1656^~i{T}@ppt_y@~d~e[0|ppt_y][10000|ppt_y-0.004][20000|ppt_y-0.007][30000|ppt_y-0.010][40000|ppt_y-0.012][50000|ppt_y-0.0123][60000|ppt_y-0.012][70000|ppt_y-0.010][80000|ppt_y-0.007][90000|ppt_y-0.004][100000|ppt_y]~f~b~a~c~hdur="180" accel="50000">^1820^~i{T}@ppt_y@~d~e[0|ppt_y][100000|ppt_y+ppt_h]~f~b~r~c~hdur="26">^620^~i{T}~d<to x="100000" y="60000~u~s~r~c~hdur="166" decel="50000">^646^~i{T}~d<to x="100000" y="100000~u~s~r~c~hdur="26">^1312^~i{T}~d<to x="100000" y="80000~u~s~r~c~hdur="166" decel="50000">^1338^~i{T}~d<to x="100000" y="100000~u~s~r~c~hdur="26">^1642^~i{T}~d<to x="100000" y="90000~u~s~r~c~hdur="166" decel="50000">^1668^~i{T}~d<to x="100000" y="100000~u~s~r~c~hdur="26">^1808^~i{T}~d<to x="100000" y="95000~u~s~r~c~hdur="166" decel="50000">^1834^~i{T}~d<to x="100000" y="100000~u~s~l~c~hdur="1"~g>^1999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],creditsOut:["exit",28,0,'fill="hold"',"shape",'<childTnLst>~a~c~hdur="15000~u{T}@ppt_x@~d~e[0|ppt_x][100000|ppt_x]~f~b~a~c~hdur="15000~u{T}@ppt_y@~d~e[0|ppt_y-1][100000|ppt_y+1]~f~b~l~c~hdur="1"~g>^14999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],curveDownOut:["exit",52,0,'fill="hold"',"shape",'<childTnLst>~r~c~hdur="1000" accel="50000">^0^~i{T}~d<from x="100000" y="100000~u<to x="250000" y="250000~u~s<animMotion origin="layout" path="M 0.0000 0.0000 C 0.03802 0.0 0.1441 0.02341 0.1826 0.0915 C 0.22118 0.15964 0.24705 0.31256 0.2318 0.4083 C 0.21649 0.50394 0.20747 0.57948 0.0908 0.6661 C -0.02552 0.75279 -0.37517 0.88508 -0.4674 0.9289" pathEditMode="relative" ptsTypes="">~c~hdur="1000" accel="50000">^0^~i{T}<attrNameLst><attrName>ppt_x</attrName><attrName>ppt_y</attrName></attrNameLst>~d</animMotion>~jout" filter="fade">~c~hdur="1000~u{T}~d~k~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],dropOut:["exit",38,0,'accel="50000" fill="hold"',"shape",'<iterate type="lt"><tmPct val="50000~u</iterate><childTnLst>~a~c~hdur="1000">^0^~i{T}@style.rotation@~d~e[0!0][100000!45]~f~b~a~c~hdur="1000">^0^~i{T}@ppt_y@~d~e[0|ppt_y][100000|ppt_y+1]~f~b~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],flipOut:["exit",56,0,'fill="hold"',"shape",'<iterate type="lt"><tmPct val="10000~u</iterate><childTnLst><anim from="(ppt_w)" to="(-ppt_w*2)" calcmode="lin" valueType="num"><cBhvr rctx="PPT">~hdur="500" autoRev="1">^0^~i{T}@ppt_w@~d~b<anim by="(ppt_w*0.50)" calcmode="lin" valueType="num">~c~hdur="500" decel="50000" autoRev="1">^0^~i{T}@ppt_x@~d~b<anim from="(ppt_y)" to="(1+ppt_h/2)" calcmode="lin" valueType="num">~c~hdur="1000">^0^~i{T}@ppt_y@~d~b~n21600000">~c~hdur="1000">^0^~i{T}@r@~d~o~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],floatingOut:["exit",30,0,'fill="hold"',"shape",'<childTnLst>~jout" filter="fade">~c~hdur="800" accel="100000">^200^~i{T}~d~k~a~c~hdur="800" accel="100000">^200^~i{T}@style.rotation@~d~e[0!0][100000!-90]~f~b~a~c~hdur="200" decel="100000~u{T}@ppt_x@~d~e[0|ppt_x][100000|ppt_x-0.05]~f~b~a~c~hdur="200" decel="100000~u{T}@ppt_y@~d~e[0|ppt_y][100000|ppt_y+0.1]~f~b~a~c~hdur="800" accel="100000">^200^~i{T}@ppt_x@~d~e[0|ppt_x][100000|ppt_x+0.4+0.05]~f~b~a~c~hdur="800" accel="100000">^200^~i{T}@ppt_y@~d~e[0|ppt_y][100000|ppt_y-0.4-0.1]~f~b~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],pinwheelOut:["exit",35,0,'fill="hold"',"shape",'<childTnLst>~jout" filter="fade">~c~hdur="2000~u{T}~d~k~a~c~hdur="2000~u{T}@style.rotation@~d~e[0!0][100000!720]~f~b~a~c~hdur="2000~u{T}@ppt_h@~d~e[0|ppt_h][100000!0]~f~b~a~c~hdur="2000~u{T}@ppt_w@~d~e[0|ppt_w][100000!0]~f~b~l~c~hdur="1"~g>^1999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],spiralOut:["exit",15,0,'fill="hold"',"shape",'<childTnLst>~a~c~hdur="1000~u{T}@ppt_w@~d~e[0|ppt_w][100000!0]~f~b~a~c~hdur="1000~u{T}@ppt_h@~d~e[0|ppt_h][100000!0]~f~b~a~c~hdur="1000~u{T}@ppt_x@~d~e[0|ppt_x][5000|ppt_x+-0.0500*(ppt_x*0.9511+(1-ppt_y)*0.3090)][10000|ppt_x+-0.1000*(ppt_x*0.8090+(1-ppt_y)*0.5878)][15000|ppt_x+-0.1500*(ppt_x*0.5878+(1-ppt_y)*0.8090)][20000|ppt_x+-0.2000*(ppt_x*0.3090+(1-ppt_y)*0.9511)][25000|ppt_x+-0.2500*(ppt_x*-0.0000+(1-ppt_y)*1.0000)][30000|ppt_x+-0.3000*(ppt_x*-0.3090+(1-ppt_y)*0.9511)][35000|ppt_x+-0.3500*(ppt_x*-0.5878+(1-ppt_y)*0.8090)][40000|ppt_x+-0.4000*(ppt_x*-0.8090+(1-ppt_y)*0.5878)][45000|ppt_x+-0.4500*(ppt_x*-0.9511+(1-ppt_y)*0.3090)][50000|ppt_x+-0.5000*(ppt_x*-1.0000+(1-ppt_y)*-0.0000)][55000|ppt_x+-0.5500*(ppt_x*-0.9511+(1-ppt_y)*-0.3090)][60000|ppt_x+-0.6000*(ppt_x*-0.8090+(1-ppt_y)*-0.5878)][65000|ppt_x+-0.6500*(ppt_x*-0.5878+(1-ppt_y)*-0.8090)][70000|ppt_x+-0.7000*(ppt_x*-0.3090+(1-ppt_y)*-0.9511)][75000|ppt_x+-0.7500*(ppt_x*0.0000+(1-ppt_y)*-1.0000)][80000|ppt_x+-0.8000*(ppt_x*0.3090+(1-ppt_y)*-0.9511)][85000|ppt_x+-0.8500*(ppt_x*0.5878+(1-ppt_y)*-0.8090)][90000|ppt_x+-0.9000*(ppt_x*0.8090+(1-ppt_y)*-0.5878)][95000|ppt_x+-0.9500*(ppt_x*0.9511+(1-ppt_y)*-0.3090)][100000|ppt_x+-1.0000*(ppt_x*1.0000+(1-ppt_y)*0.0000)]~f~b~a~c~hdur="1000~u{T}@ppt_y@~d~e[0|ppt_y][5000|ppt_y+-0.0500*(ppt_x*0.3090-(1-ppt_y)*0.9511)][10000|ppt_y+-0.1000*(ppt_x*0.5878-(1-ppt_y)*0.8090)][15000|ppt_y+-0.1500*(ppt_x*0.8090-(1-ppt_y)*0.5878)][20000|ppt_y+-0.2000*(ppt_x*0.9511-(1-ppt_y)*0.3090)][25000|ppt_y+-0.2500*(ppt_x*1.0000-(1-ppt_y)*-0.0000)][30000|ppt_y+-0.3000*(ppt_x*0.9511-(1-ppt_y)*-0.3090)][35000|ppt_y+-0.3500*(ppt_x*0.8090-(1-ppt_y)*-0.5878)][40000|ppt_y+-0.4000*(ppt_x*0.5878-(1-ppt_y)*-0.8090)][45000|ppt_y+-0.4500*(ppt_x*0.3090-(1-ppt_y)*-0.9511)][50000|ppt_y+-0.5000*(ppt_x*-0.0000-(1-ppt_y)*-1.0000)][55000|ppt_y+-0.5500*(ppt_x*-0.3090-(1-ppt_y)*-0.9511)][60000|ppt_y+-0.6000*(ppt_x*-0.5878-(1-ppt_y)*-0.8090)][65000|ppt_y+-0.6500*(ppt_x*-0.8090-(1-ppt_y)*-0.5878)][70000|ppt_y+-0.7000*(ppt_x*-0.9511-(1-ppt_y)*-0.3090)][75000|ppt_y+-0.7500*(ppt_x*-1.0000-(1-ppt_y)*0.0000)][80000|ppt_y+-0.8000*(ppt_x*-0.9511-(1-ppt_y)*0.3090)][85000|ppt_y+-0.8500*(ppt_x*-0.8090-(1-ppt_y)*0.5878)][90000|ppt_y+-0.9000*(ppt_x*-0.5878-(1-ppt_y)*0.8090)][95000|ppt_y+-0.9500*(ppt_x*-0.3090-(1-ppt_y)*0.9511)][100000|ppt_y+-1.0000*(ppt_x*0.0000-(1-ppt_y)*1.0000)]~f~b~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],basicSwivelOut:["exit",19,10,'fill="hold"',"shape",'<childTnLst>~a~c~hdur="5000~u{T}@ppt_h@~d~e[0|ppt_h][100000|ppt_h]~f~b~a~c~hdur="5000~u{T}@ppt_w@~d~e[0|ppt_w][5000|0.92*ppt_w][10000|0.71*ppt_w][15000|0.38*ppt_w][20000!0][25000|-0.38*ppt_w][30000|-0.71*ppt_w][35000|-0.92*ppt_w][40000|-ppt_w][45000|-0.92*ppt_w][50000|-0.71*ppt_w][55000|-0.38*ppt_w][60000!0][65000|0.38*ppt_w][70000|0.71*ppt_w][75000|0.92*ppt_w][80000|ppt_w][85000|0.92*ppt_w][90000|0.71*ppt_w][95000|0.38*ppt_w][100000!0]~f~b~l~c~hdur="1"~g>^4999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],whipOut:["exit",41,0,'fill="hold"',"shape",'<iterate type="lt"><tmPct val="10000~u</iterate><childTnLst>~a~c~hdur="500~u{T}@ppt_x@~d~e[0|ppt_x][50000|ppt_x+.1][100000|ppt_x]~f~b~a~c~hdur="500~u{T}@ppt_y@~d~e[0|ppt_y][100000|ppt_y]~f~b~a~c~hdur="500~u{T}@ppt_h@~d~e[0|ppt_h][50000|ppt_h+.01][100000|ppt_h/10]~f~b~a~c~hdur="500~u{T}@ppt_w@~d~e[0|ppt_w][50000|ppt_w+.01][100000|ppt_w/10]~f~b~jout" filter="fade">~c~hdur="500" tmFilter="0,0; .5, 0; 1, 1~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],fillColor:["emph",1,2,'fill="hold"',"none",'<childTnLst>~prgb" dir="cw">~c~hdur="2000"~g/>{T}@fillcolor@~d<to><a:schemeClr val="accent2~u</to>~q~l~c~hdur="2000"~g/>{T}@fill.type@~d<to><strVal val="solid~u</to>~m~l~c~hdur="2000"~g/>{T}@fill.on@~d<to><strVal val="true~u</to>~m</childTnLst>'],fontColor:["emph",3,2,'fill="hold"',"text",'<childTnLst>~prgb" dir="cw"><cBhvr override="childStyle">~hdur="2000"~g/>{T}@style.color@~d<to><a:schemeClr val="accent2~u</to>~q</childTnLst>'],growShrink:["emph",6,0,'fill="hold"',"shape",'<childTnLst>~r~c~hdur="2000"~g/>{T}~d<by x="150000" y="150000~u~s</childTnLst>'],lineColor:["emph",7,2,'fill="hold"',"none",'<childTnLst>~prgb" dir="cw">~c~hdur="2000"~g/>{T}@stroke.color@~d<to><a:schemeClr val="accent2~u</to>~q~l~c~hdur="2000"~g/>{T}@stroke.on@~d<to><strVal val="true~u</to>~m</childTnLst>'],spin:["emph",8,0,'fill="hold"',"shape",'<childTnLst>~n21600000">~c~hdur="2000"~g/>{T}@r@~d~o</childTnLst>'],transparency:["emph",9,0,"","shape",'<childTnLst>~l~c~hdur="indefinite~u{T}@style.opacity@~d<to><strVal val="0.5~u</to>~m<animEffect filter="image" prLst="opacity: 0.5"><cBhvr rctx="IE">~hdur="indefinite~u{T}~d~k</childTnLst>'],boldFlash:["emph",10,0,'fill="hold"',"text",'<childTnLst><anim calcmode="discrete" valueType="str"><cBhvr override="childStyle">~hdur="2000"~g/>{T}@style.fontWeight@~d~e[0|normal][50000|bold][60000|normal][100000|normal]~f~b</childTnLst>'],brushColor:["emph",16,0,'fill="hold"',"shape",'<iterate type="lt"><tmPct val="4000~u</iterate><childTnLst>~l<cBhvr override="childStyle">~hdur="500"~g/>{T}@style.color@~d<to><clrVal><a:schemeClr val="accent2~u</clrVal></to>~m~l~c~hdur="500"~g/>{T}@fillcolor@~d<to><clrVal><a:schemeClr val="accent2~u</clrVal></to>~m~l~c~hdur="500"~g/>{T}@fill.type@~d<to><strVal val="solid~u</to>~m</childTnLst>'],complementaryColor:["emph",21,0,'fill="hold"',"shape",'<childTnLst>~phsl" dir="cw"><cBhvr override="childStyle">~hdur="500"~g/>{T}@style.color@~d<by><hsl h="7200000" s="0" l="0~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@fillcolor@~d<by><hsl h="7200000" s="0" l="0~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@stroke.color@~d<by><hsl h="7200000" s="0" l="0~u</by>~q~l~c~hdur="500"~g/>{T}@fill.type@~d<to><strVal val="solid~u</to>~m</childTnLst>'],complementaryColor2:["emph",22,0,'fill="hold"',"shape",'<childTnLst>~phsl" dir="cw"><cBhvr override="childStyle">~hdur="500"~g/>{T}@style.color@~d<by><hsl h="-7200000" s="0" l="0~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@fillcolor@~d<by><hsl h="-7200000" s="0" l="0~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@stroke.color@~d<by><hsl h="-7200000" s="0" l="0~u</by>~q~l~c~hdur="500"~g/>{T}@fill.type@~d<to><strVal val="solid~u</to>~m</childTnLst>'],contrastingColor:["emph",23,0,'fill="hold"',"shape",'<childTnLst>~phsl" dir="cw"><cBhvr override="childStyle">~hdur="500"~g/>{T}@style.color@~d<by><hsl h="10842353" s="0" l="0~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@fillcolor@~d<by><hsl h="10842353" s="0" l="0~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@stroke.color@~d<by><hsl h="10842353" s="0" l="0~u</by>~q~l~c~hdur="500"~g/>{T}@fill.type@~d<to><strVal val="solid~u</to>~m</childTnLst>'],darken:["emph",24,0,'fill="hold"',"shape",'<childTnLst>~phsl" dir="cw"><cBhvr override="childStyle">~hdur="500"~g/>{T}@style.color@~d<by><hsl h="0" s="-12549" l="-25098~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@fillcolor@~d<by><hsl h="0" s="-12549" l="-25098~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@stroke.color@~d<by><hsl h="0" s="-12549" l="-25098~u</by>~q~l~c~hdur="500"~g/>{T}@fill.type@~d<to><strVal val="solid~u</to>~m</childTnLst>'],desaturate:["emph",25,0,'fill="hold"',"shape",'<childTnLst>~phsl" dir="cw"><cBhvr override="childStyle">~hdur="500"~g/>{T}@style.color@~d<by><hsl h="0" s="-70588" l="0~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@fillcolor@~d<by><hsl h="0" s="-70588" l="0~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@stroke.color@~d<by><hsl h="0" s="-70588" l="0~u</by>~q~l~c~hdur="500"~g/>{T}@fill.type@~d<to><strVal val="solid~u</to>~m</childTnLst>'],lighten:["emph",30,0,'fill="hold"',"shape",'<childTnLst>~phsl" dir="cw"><cBhvr override="childStyle">~hdur="500"~g/>{T}@style.color@~d<by><hsl h="0" s="12549" l="25098~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@fillcolor@~d<by><hsl h="0" s="12549" l="25098~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@stroke.color@~d<by><hsl h="0" s="12549" l="25098~u</by>~q~l~c~hdur="500"~g/>{T}@fill.type@~d<to><strVal val="solid~u</to>~m</childTnLst>'],objectColor:["emph",19,0,'fill="hold"',"shape",'<childTnLst>~prgb" dir="cw"><cBhvr override="childStyle">~hdur="500"~g/>{T}@style.color@~d<to><a:schemeClr val="accent2~u</to>~q~prgb" dir="cw">~c~hdur="500"~g/>{T}@fillcolor@~d<to><a:schemeClr val="accent2~u</to>~q~l~c~hdur="500"~g/>{T}@fill.type@~d<to><strVal val="solid~u</to>~m~l~c~hdur="500"~g/>{T}@fill.on@~d<to><strVal val="true~u</to>~m</childTnLst>'],pulse:["emph",26,0,'fill="hold"',"shape",'<childTnLst>~jout" filter="fade">~c~hdur="500" tmFilter="0, 0; .2, .5; .8, .5; 1, 0~u{T}~d~k~r~c~hdur="250" autoRev="1"~g/>{T}~d<by x="105000" y="105000~u~s</childTnLst>'],underline:["emph",18,0,'fill="hold"',"text",'<iterate type="lt"><tmPct val="4000~u</iterate><childTnLst>~l<cBhvr override="childStyle">~hdur="500"~g/>{T}@style.textDecorationUnderline@~d<to><strVal val="true~u</to>~m</childTnLst>'],colorPulse:["emph",27,0,'fill="remove"',"shape",'<childTnLst>~prgb" dir="cw"><cBhvr override="childStyle">~hdur="250" autoRev="1" fill="remove~u{T}@style.color@~d<to><a:schemeClr val="bg1~u</to>~q~prgb" dir="cw">~c~hdur="250" autoRev="1" fill="remove~u{T}@fillcolor@~d<to><a:schemeClr val="bg1~u</to>~q~l~c~hdur="250" autoRev="1" fill="remove~u{T}@fill.type@~d<to><strVal val="solid~u</to>~m~l~c~hdur="250" autoRev="1" fill="remove~u{T}@fill.on@~d<to><strVal val="true~u</to>~m</childTnLst>'],growWithColor:["emph",28,0,'fill="hold"',"text",'<iterate type="lt"><tmPct val="10000~u</iterate><childTnLst>~prgb" dir="cw"><cBhvr override="childStyle">~hdur="500"~g/>{T}@style.color@~d<to><a:schemeClr val="accent2~u</to>~q~prgb" dir="cw">~c~hdur="500"~g/>{T}@fillcolor@~d<to><a:schemeClr val="accent2~u</to>~q~l~c~hdur="500"~g/>{T}@fill.type@~d<to><strVal val="solid~u</to>~m<anim to="1.5" calcmode="lin" valueType="num"><cBhvr override="childStyle">~hdur="500"~g/>{T}@style.fontSize@~d~b</childTnLst>'],shimmer:["emph",36,0,'fill="hold"',"shape",'<iterate type="lt"><tmPct val="10000~u</iterate><childTnLst>~r~c~hdur="250" autoRev="1"~g>^0^~i{T}~d<to x="80000" y="100000~u~s<anim by="(#ppt_w*0.10)" calcmode="lin" valueType="num">~c~hdur="250" autoRev="1"~g>^0^~i{T}@ppt_x@~d~b<anim by="(-#ppt_w*0.10)" calcmode="lin" valueType="num">~c~hdur="250" autoRev="1"~g>^0^~i{T}@ppt_y@~d~b~n-480000">~c~hdur="250" autoRev="1"~g>^0^~i{T}@r@~d~o</childTnLst>'],teeter:["emph",32,0,'fill="hold"',"shape",'<childTnLst>~n120000">~c~hdur="100"~g>^0^~i{T}@r@~d~o~n-240000">~c~hdur="200"~g>^200^~i{T}@r@~d~o~n240000">~c~hdur="200"~g>^400^~i{T}@r@~d~o~n-240000">~c~hdur="200"~g>^600^~i{T}@r@~d~o~n120000">~c~hdur="200"~g>^800^~i{T}@r@~d~o</childTnLst>'],blink:["emph",35,0,'fill="hold"',"shape",'<childTnLst><anim calcmode="discrete" valueType="str">~c~hdur="1000"~g/>{T}@style.visibility@~d~e[0|hidden][50000|visible]~f~b</childTnLst>'],boldReveal:["emph",15,0,"","text",'<iterate type="lt"><tmAbs val="25~u</iterate><childTnLst>~l<cBhvr override="childStyle">~hdur="indefinite~u{T}@style.fontWeight@~d<to><strVal val="bold~u</to>~m</childTnLst>'],wave:["emph",34,0,'fill="hold"',"shape",'<iterate type="lt"><tmPct val="10000~u</iterate><childTnLst><animMotion origin="layout" path="M 0.0 0.0 L 0.0 -0.07213" pathEditMode="relative" ptsTypes="">~c~hdur="250" accel="50000" decel="50000" autoRev="1"~g>^0^~i{T}<attrNameLst><attrName>ppt_x</attrName><attrName>ppt_y</attrName></attrNameLst>~d</animMotion>~n1500000">~c~hdur="125"~g>^0^~i{T}@r@~d~o~n-1500000">~c~hdur="125"~g>^125^~i{T}@r@~d~o~n-1500000">~c~hdur="125"~g>^250^~i{T}@r@~d~o~n1500000">~c~hdur="125"~g>^375^~i{T}@r@~d~o</childTnLst>']};var AA=o("p","timing",d.pml),Jj=o("p","tnLst",d.pml),Hc=o("p","par",d.pml),Ns=o("p","cTn",d.pml),Ds=o("p","childTnLst",d.pml),Qj=o("p","seq",d.pml),lg=o("p","stCondLst",d.pml),eU=o("p","prevCondLst",d.pml),tU=o("p","nextCondLst",d.pml),eg=o("p","cond",d.pml),nU=o("p","tgtEl",d.pml),rU=o("p","sldTgt",d.pml),aU=o("p","attrNameLst",d.pml),lU=o("p","attrName",d.pml),oU=o("p","cBhvr",d.pml),iU=o("p","to",d.pml),sU=o("p","strVal",d.pml),dU=o("p","bldLst",d.pml),cU=o("p","bldP",d.pml),mU=o("","id",""),Wc=o("","dur",""),pU=o("","restart",""),TA=o("","nodeType",""),wA=o("","fill",""),vo=o("","delay",""),uU=o("","concurrent",""),fU=o("","nextAc",""),hU=o("","spid",""),PA=o("","evt",""),gU=o("","val",""),yU=o("","grpId",""),xU=o("","build",""),SU=o("","animBg",""),bU=o("","autoRev",""),ll=EA,Zc=Object.keys(ll),RA=["top","right","bottom","left"],NA=["topLeft","topRight","bottomLeft","bottomRight"],EU=[...RA,...NA],tg=["horizontal","vertical"],vA=["circle","box","diamond","plus"],AU=[1,2,3,4,8],Vc={top:1,right:2,bottom:4,left:8,topLeft:9,topRight:3,bottomLeft:12,bottomRight:6},zc={horizontal:10,vertical:5},CA={in:16,out:32},LA={top:"up",right:"right",bottom:"down",left:"left"},TU={top:"bottom",right:"left",bottom:"top",left:"right"},wU={topLeft:"upLeft",topRight:"upRight",bottomLeft:"downLeft",bottomRight:"downRight"},vU={circle:6,box:4,diamond:8,plus:13},CU=e=>e[0].toUpperCase()+e.slice(1),DA=e=>e==="left"||e==="topLeft"||e==="bottomLeft"?"left":e==="right"||e==="topRight"||e==="bottomRight"?"right":null,LU=e=>e==="top"||e==="topLeft"||e==="topRight"?"top":e==="bottom"||e==="bottomLeft"||e==="bottomRight"?"bottom":null,PU=(e,t)=>{let n=l=>`${t?"#":""}ppt_${l}`,r={x:DA(e),y:LU(e)},a={};for(let l of["x","y"]){let i=n(l),s=`${n(l==="x"?"w":"h")}/2`,c=r[l]==="right"||r[l]==="bottom",m=r[l]===null?i:c?`1+${s}`:`0-${s}`,u=l.toUpperCase();a[`${u}0`]=t?m:i,a[`${u}1`]=t?i:m}return a},ca=e=>(t,n)=>({F:e(t,n)}),ng=["bottom",...RA.filter(e=>e!=="bottom")],RU={fly:{domains:{direction:[...ng,...NA]},presetSubtype:e=>Vc[e.direction],values:(e,t)=>PU(e.direction,t)},peek:{domains:{direction:ng},presetSubtype:e=>Vc[e.direction],values:(e,t)=>{let n=e.direction,r=DA(n)!==null,a=r?"x":"y",l=r?"w":"h",i=n==="right"||n==="bottom"?"+":"-",s=`#ppt_${a}`,c=`#ppt_${a}${i}#ppt_${l}*1.125000`;return{A:`ppt_${a}`,P0:t?c:s,P1:t?s:c,F:`wipe(${LA[t?TU[n]:n]})`}}},wipe:{domains:{direction:ng},presetSubtype:e=>Vc[e.direction],values:ca(e=>`wipe(${LA[e.direction]})`)},blinds:{domains:{orientation:tg},presetSubtype:e=>zc[e.orientation],values:ca(e=>`blinds(${e.orientation})`)},checkerboard:{domains:{orientation:tg},presetSubtype:e=>zc[e.orientation],values:ca(e=>`checkerboard(${e.orientation==="horizontal"?"across":"down"})`)},randomBars:{domains:{orientation:tg},presetSubtype:e=>zc[e.orientation],values:ca(e=>`randombar(${e.orientation})`)},shape:{domains:{shape:vA,inOut:["in","out"]},exitDomains:{shape:vA,inOut:["out","in"]},presetId:e=>vU[e.shape],presetSubtype:e=>CA[e.inOut],values:ca(e=>`${e.shape}(${e.inOut})`)},split:{domains:{orientation:["vertical","horizontal"],inOut:["in","out"]},presetSubtype:e=>CA[e.inOut]+(e.orientation==="vertical"?5:zc.horizontal),values:ca(e=>`barn(${e.inOut}${CU(e.orientation)})`)},strips:{domains:{direction:["bottomLeft","topLeft","topRight","bottomRight"]},presetSubtype:e=>Vc[e.direction],values:ca(e=>`strips(${wU[e.direction]})`)},wheel:{domains:{spokes:AU},presetSubtype:e=>e.spokes,values:ca(e=>`wheel(${e.spokes})`)}},_A={},Kc=e=>RU[e.replace(/(In|Out)$/,"")],kA=e=>ll[e][0],Co=e=>{let t=Kc(e);return t===void 0?_A:kA(e)==="exit"?t.exitDomains??t.domains:t.domains};var _s=(e,t,n)=>{let r=Co(e),a=(l,i)=>{let s=t[l];if(i===void 0){if(s===void 0)return null;throw new RangeError(`${n}: ${l} only applies to ${Zc.filter(m=>Co(m)[l]!==void 0).join(", ")}; ${JSON.stringify(e)} does not take it.`)}if(s===void 0)return i[0];let c=i.find(m=>m===s);if(c===void 0)throw new RangeError(`${n}: ${l} ${JSON.stringify(s)} is not one of ${i.join(", ")} for ${JSON.stringify(e)}.`);return c};return{direction:a("direction",r.direction),orientation:a("orientation",r.orientation),inOut:a("inOut",r.inOut),shape:a("shape",r.shape),spokes:a("spokes",r.spokes)}},MA=(e,t)=>Kc(e)?.presetId?.(t)??ll[e][1],FA=(e,t)=>Kc(e)?.presetSubtype(t)??ll[e][2],Lo=e=>ll[e][4],NU=e=>{let t=n=>n??[null];return t(e.direction).flatMap(n=>t(e.orientation).flatMap(r=>t(e.inOut).flatMap(a=>t(e.shape).flatMap(l=>t(e.spokes).map(i=>({direction:n,orientation:r,inOut:a,shape:l,spokes:i}))))))},sg=Zc.flatMap(e=>{let t=Co(e);return NU(t).map(n=>({presetClass:kA(e),presetId:MA(e,n),presetSubtype:FA(e,n),effect:e,options:n,optionless:t===_A}))}),og=e=>Math.max(0,e-1),dg=(e,t)=>e.name.namespaceURI===d.pml&&e.name.localName===t,IA=new Set(["set","anim","animClr","animEffect","animMotion","animRot","animScale","cmd"]),DU=e=>{let t=p(e,aU);return(t===null?null:p(t,lU))?.children.find(r=>r.kind==="text")?.data??null},cg=e=>{let t=p(e,Ds);if(t===null)return[];let n=[];for(let r of t.children){if(r.kind!=="element")continue;if(r.name.namespaceURI!==d.pml||!IA.has(r.name.localName))return null;let a=p(r,oU),l=a===null?null:p(a,Ns);n.push({element:r,cTn:l,kick:dg(r,"set")&&a!==null&&DU(a)==="style.visibility"})}return n},Yc=e=>{if(e===null||!/^\d+$/.test(e))return null;let t=Number(e);return Number.isSafeInteger(t)?t:null},ig=e=>{let t=p(e,lg);if(t===null)return;let n=t.children.filter(a=>a.kind==="element"&&dg(a,"cond"));if(n.length!==1)return null;let r=n[0];return x(r,PA)!==null||r.children.some(a=>a.kind==="element")?null:r},_U=new Set(["repeatCount","repeatDur","spd"]),kU=e=>{let t=x(e,bU);return t==="1"||t==="true"},MU=e=>{if(e.attrs.some(a=>a.name.namespaceURI===""&&_U.has(a.name.localName)))return null;let t=Yc(x(e,Wc)),n=ig(e),r=n===void 0?0:n===null?null:Yc(x(n,vo));return t===null||r===null?null:r+t*(kU(e)?2:1)},ks=e=>Jc(e,!1),Jc=(e,t)=>{let n=cg(e);if(n===null)return null;let r=null;for(let a of n){if(a.kick&&!t)continue;let l=a.cTn===null?null:MU(a.cTn);if(l===null)return null;r=Math.max(r??0,l)}return r},rg=(e,t,n)=>{let r=e.attrs.some(a=>a.name.namespaceURI===""&&a.name.localName===t);e.attrs=r?e.attrs.map(a=>a.name.namespaceURI===""&&a.name.localName===t?{...a,value:n}:a):[...e.attrs,b(o("",t,""),n)]},FU=e=>{let t=p(e.element,iU),n=t===null?null:p(t,sU);return n!==null&&x(n,gU)==="hidden"},Qc=(e,t)=>{let n=cg(e);if(n===null)return!1;let r=n.filter(s=>!s.kick);if(r.length===0)return!0;let a=ks(e);if(a===null)return!1;let l=s=>String(a===0?t:Math.round(s*t/a));for(let{cTn:s}of r){rg(s,"dur",l(Yc(x(s,Wc))));let c=ig(s);c&&rg(c,"delay",l(Yc(x(c,vo))))}let i=String(og(a));for(let s of n){if(!s.kick||s.cTn===null||!FU(s))continue;let c=ig(s.cTn);!c||x(c,vo)!==i||rg(c,"delay",String(og(t)))}return!0},BA=e=>{let t=e;for(let n=Qh.length-1;n>=0;n-=1)t=t.replaceAll(`~${String.fromCharCode(97+n)}`,Qh[n]);return t.replaceAll(/\^(\w+)\^/g,'<stCondLst><cond delay="$1"/></stCondLst>').replaceAll(/@([^@]*)@/g,"<attrNameLst><attrName>$1</attrName></attrNameLst>").replaceAll(/\[(\d+)!([^\]]*)\]/g,'<tav tm="$1"><val><fltVal val="$2"/></val></tav>').replaceAll(/\[(\d+)\|([^\]]*)\]/g,'<tav tm="$1"><val><strVal val="$2"/></val></tav>').replaceAll(/<(\/?)([A-Za-z]+)(?=[\s/>])/g,"<$1p:$2")},OA=(e,t)=>t===null?`<p:tgtEl><p:spTgt spid="${e}"/></p:tgtEl>`:`<p:tgtEl><p:spTgt spid="${e}"><p:txEl><p:pRg st="${t}" end="${t}"/></p:txEl></p:spTgt></p:tgtEl>`,IU={click:"clickEffect",withPrevious:"withEffect",afterPrevious:"afterEffect"},XA=(e,t,n,r,a)=>{let[l,,,i,s,c]=ll[e],m=Kc(e)?.values(t,l==="entr")??{},u=BA(c).replaceAll(/\{(\w+)\}/g,(S,E)=>E==="T"?n:m[E]),f=[`presetID="${MA(e,t)}"`,`presetClass="${l}"`,`presetSubtype="${FA(e,t)}"`,i,s==="none"?"":'grpId="0"',`nodeType="${IU[r]}"`].filter(S=>S!=="").join(" "),y=`<p:cTn xmlns:p="${d.pml}" xmlns:a="${d.dml}" ${f}><p:stCondLst><p:cond delay="${a}"/></p:stCondLst>${u}</p:cTn>`,g=j(y).root;return g.prefixDecls=new Map,g},ag=new Map,mg=e=>{if(!ag.has(e)){let t=_s(e,{},"defaultAnimationDurationMs"),n=XA(e,t,OA(1,null),"click",0);ag.set(e,ks(n))}return ag.get(e)},pg=e=>{let t=new Set;for(let n of BA(ll[e][5]).matchAll(/<p:(\w+)/g))IA.has(n[1])&&t.add(n[1]);return t},BU=(e,t)=>{let n=t,r=a=>{if(dg(a,"cTn")){let l=String(n++),i=a.attrs.some(s=>s.name.namespaceURI===""&&s.name.localName==="id");a.attrs=i?a.attrs.map(s=>s.name.namespaceURI===""&&s.name.localName==="id"?{...s,value:l}:s):[b(mU,l),...a.attrs]}for(let l of a.children)l.kind==="element"&&r(l)};return r(e),n},ol=(e,t,n={})=>{let r=n.paragraph??null,a=n.label??"setShapeAnimation",l=Z(t.effect,Zc,`${a}: effect`),i=_s(l,t,a),s=Z(n.start??t.start??"click",["click","withPrevious","afterPrevious"],`${a}: start`),c=t.delayMs===void 0?0:la(t.delayMs,`${a}: delayMs`),m=XA(l,i,OA(e,r),s,c);if(bA(m,Rs(l,t,a)),t.durationMs!==void 0&&!Qc(m,la(t.durationMs,`${a}: durationMs`)))throw new RangeError(`${a}: ${JSON.stringify(l)} holds until the end of the slide, so it takes no durationMs.`);let u=h(Hc,{children:[m]}),f=h(Ns,{attrs:[b(wA,"hold")],children:[h(lg,{children:[h(eg,{attrs:[b(vo,"0")]})]}),h(Ds,{children:[u]})]}),y=h(Hc,{children:[f]}),g=h(Ns,{attrs:[b(wA,"hold")],children:[h(lg,{children:[h(eg,{attrs:[b(vo,s==="click"?"indefinite":"0")]})]}),h(Ds,{children:[y]})]}),S=h(Hc,{children:[g]}),E=h(Ns,{attrs:[b(Wc,"indefinite"),b(TA,"mainSeq")],children:[h(Ds,{children:[S]})]}),A=(_,k)=>h(_,{children:[h(eg,{attrs:[b(PA,k),b(vo,"0")],children:[h(nU,{children:[h(rU)]})]})]}),w=h(Qj,{attrs:[b(uU,"1"),b(fU,"seek")],children:[E,A(eU,"onPrev"),A(tU,"onNext")]}),T=h(Ns,{attrs:[b(Wc,"indefinite"),b(pU,"never"),b(TA,"tmRoot")],children:[h(Ds,{children:[w]})]}),v=h(Jj,{children:[h(Hc,{children:[T]})]});BU(v,1);let C=Lo(l);if(C==="none")return h(AA,{children:[v]});let R=[b(hU,String(e)),b(yU,"0")];r!==null?R.push(b(xU,n.build==="allAtOnce"?"allAtOnce":"p")):C==="shape"&&n.background===!0&&R.push(b(SU,"1"));let N=h(dU,{children:[h(cU,{attrs:R})]});return h(AA,{children:[v,N]})};var OU=o("p","cmAuthorLst",d.pml),$A=o("p","cmAuthor",d.pml),XU=o("p","cmLst",d.pml),jA=o("p","cm",d.pml),UA=o("p","pos",d.pml),ug="http://schemas.microsoft.com/office/powerpoint/2012/main",GA="{C676402C-5697-4E1C-873F-D02D1690AC5C}",qA=o("p","extLst",d.pml),HA=o("p","ext",d.pml),VA=o("p15","threadingInfo",ug),zA=o("p15","parentCm",ug),WA=o("","uri",""),YA=o("p","text",d.pml),ZA=o("","id",""),KA=o("","name",""),JA=o("","initials",""),QA=o("","lastIdx",""),eT=o("","clrIdx",""),em=o("","authorId",""),tT=o("","dt",""),tm=o("","idx",""),nT=o("","x",""),rT=o("","y",""),fg=e=>{if(e.name.namespaceURI!==d.pml||e.name.localName!=="cmAuthorLst")throw new Error(`expected <p:cmAuthorLst> root, got <${e.name.prefix}:${e.name.localName}>`);let t=[];for(let n of Q(e,$A)){let r=x(n,ZA),a=x(n,KA),l=x(n,JA),i=x(n,QA),s=x(n,eT);if(r===null)continue;let c=Number.parseInt(r,10);Number.isFinite(c)&&t.push({id:c,name:a??"",initials:l??"",lastIdx:i!==null&&Number.parseInt(i,10)||0,clrIdx:s!==null&&Number.parseInt(s,10)||null})}return{authors:t}},hg=e=>{if(e.name.namespaceURI!==d.pml||e.name.localName!=="cmLst")throw new Error(`expected <p:cmLst> root, got <${e.name.prefix}:${e.name.localName}>`);let t=[];for(let n of Q(e,jA)){let r=x(n,em),a=x(n,tm),l=x(n,tT);if(r===null||a===null)continue;let i=Number.parseInt(r,10),s=Number.parseInt(a,10);if(!Number.isFinite(i)||!Number.isFinite(s))continue;let c=null,m=p(n,UA);if(m!==null){let S=x(m,nT),E=x(m,rT);if(S!==null&&E!==null){let A=Number.parseInt(S,10),w=Number.parseInt(E,10);Number.isFinite(A)&&Number.isFinite(w)&&(c={x:A,y:w})}}let u="",f=p(n,YA);if(f!==null)for(let S of f.children)(S.kind==="text"||S.kind==="cdata")&&(u+=S.data);let y,g=p(n,qA);if(g)for(let S of Q(g,HA)){if(x(S,WA)!==GA)continue;let E=p(S,VA),A=E&&p(E,zA);if(!A)continue;let w=x(A,em),T=x(A,tm);w!==null&&T!==null&&/^\d+$/.test(w)&&/^\d+$/.test(T)&&Number(w)<=4294967295&&Number(T)<=4294967295&&(y={authorId:Number(w),idx:Number(T)})}t.push({...y?{parent:y}:{},authorId:i,idx:s,dt:l,text:u,position:c})}return{comments:t}},$U=e=>{let t=[b(ZA,String(e.id)),b(KA,e.name),b(JA,e.initials),b(QA,String(e.lastIdx)),b(eT,String(e.clrIdx??0))];return h($A,{attrs:t})},gg=e=>{let t=h(OU,{prefixDecls:new Map([["p",d.pml]]),children:e.map($U)});return{kind:"document",decl:{version:"1.0",encoding:"UTF-8",standalone:"yes"},prolog:[],root:t,epilog:[]}},nm={x:0,y:0},jU=e=>{let t=[b(em,String(e.authorId)),b(tm,String(e.idx))];e.dt!==null&&t.push(b(tT,e.dt));let n=e.position??nm,r=[h(UA,{attrs:[b(nT,String(n.x)),b(rT,String(n.y))]})];return r.push(h(YA,{children:[be(e.text)]})),e.parent&&r.push(h(qA,{children:[h(HA,{attrs:[b(WA,GA)],children:[h(VA,{prefixDecls:new Map([["p15",ug]]),children:[h(zA,{attrs:[b(em,String(e.parent.authorId)),b(tm,String(e.parent.idx))]})]})]})]})),h(jA,{attrs:t,children:r})},yg=e=>{let t=h(XU,{prefixDecls:new Map([["p",d.pml]]),children:e.map(jU)});return{kind:"document",decl:{version:"1.0",encoding:"UTF-8",standalone:"yes"},prolog:[],root:t,epilog:[]}};var ft="http://schemas.microsoft.com/office/powerpoint/2018/8/main",Po="http://schemas.microsoft.com/office/powerpoint/2013/main/command",xg="http://schemas.microsoft.com/office/powerpoint/2010/main",Sg="{BB962C8B-B14F-4D97-AF65-F5344CB8AC3E}",bg="application/vnd.ms-powerpoint.comments+xml",Eg="application/vnd.ms-powerpoint.authors+xml",UU=o("p188","authorLst",ft),lT=o("p188","author",ft),GU=o("p188","cmLst",ft),Fs=o("p188","cm",ft),Ms=o("p188","replyLst",ft),rm=o("p188","reply",ft),Ag=o("p188","txBody",ft),oT=o("p188","pos",ft),qU=o("p188","unknownAnchor",ft),HU=o("pc","sldMkLst",Po),VU=o("pc","docMk",Po),zU=o("pc","sldMk",Po),WU=o("a","bodyPr",d.dml),qr=o("","id",""),iT=o("","name",""),sT=o("","initials",""),dT=o("","userId",""),cT=o("","providerId",""),Tg=o("","authorId",""),am=o("","status",""),wg=o("","created",""),mT=o("","x",""),pT=o("","y",""),YU=o("","cId",""),ZU=o("","sldId",""),lm=["active","resolved","closed"],KU=e=>{let t=x(e,am);return t===null?"active":lm.find(n=>n===t)??null},JU=e=>{let t=p(e,Ag);return t===null?"":Je(t)},aT=e=>{let t=x(e,qr),n=x(e,Tg);return t===null||n===null?null:{id:t,authorId:n,status:KU(e),created:x(e,wg),text:JU(e)}},vg=e=>{if(e.name.namespaceURI!==ft||e.name.localName!=="authorLst")throw new Error(`expected <p188:authorLst> root, got <${e.name.prefix}:${e.name.localName}>`);let t=[];for(let n of Q(e,lT)){let r=x(n,qr);r!==null&&t.push({id:r,name:x(n,iT)??"",initials:x(n,sT),userId:x(n,dT)??"",providerId:x(n,cT)??""})}return t},QU=e=>{let t=p(e,oT);if(t===null)return null;let n=Number.parseInt(x(t,mT)??"",10),r=Number.parseInt(x(t,pT)??"",10);return Number.isFinite(n)&&Number.isFinite(r)?{x:n,y:r}:null},Cg=e=>{if(e.name.namespaceURI!==ft||e.name.localName!=="cmLst")throw new Error(`expected <p188:cmLst> root, got <${e.name.prefix}:${e.name.localName}>`);let t=[];for(let n of Q(e,Fs)){let r=aT(n);if(r===null)continue;let a=p(n,Ms),l=[];if(a!==null)for(let i of Q(a,rm)){let s=aT(i);s!==null&&l.push(s)}t.push({...r,replies:l,position:QU(n)})}return t},om=(e,t)=>Q(e,Fs).find(n=>x(n,qr)===t)??null,Lg=(e,t)=>{let n=p(e,Ms);return n===null?null:Q(n,rm).find(r=>x(r,qr)===t)??null},Pg=e=>{let t=h(Ag,{prefixDecls:new Map([["a",d.dml]]),children:[h(WU)]});return Pn(t,e),t},Rg=(e,t)=>{let n=e.attrs.findIndex(r=>r.name.localName==="status"&&!r.name.namespaceURI);n<0?e.attrs.push(b(am,t)):e.attrs[n]={...e.attrs[n],value:t}},Ng=(e,t)=>{let n=p(e,Ag);if(n===null){n=Pg(t);let r=e.children.findIndex(a=>a.kind==="element"&&a.name.namespaceURI===ft&&a.name.localName==="extLst");e.children.splice(r<0?e.children.length:r,0,n);return}Pn(n,t)},im=e=>{let t=[b(qr,e.id),b(iT,e.name)];return e.initials!==null&&t.push(b(sT,e.initials)),t.push(b(dT,e.userId),b(cT,e.providerId)),h(lT,{attrs:t})},Dg=e=>({kind:"document",decl:{version:"1.0",encoding:"UTF-8",standalone:"yes"},prolog:[],root:h(UU,{prefixDecls:new Map([["p188",ft]]),children:e.map(im)}),epilog:[]}),_g=(e,t)=>h(HU,{prefixDecls:new Map([["pc",Po]]),children:[h(VU),h(zU,{attrs:[b(YU,String(e)),b(ZU,String(t))]})]}),kg=()=>h(qU),Mg=e=>{let t=[e.anchor];return e.position&&t.push(h(oT,{attrs:[b(mT,String(e.position.x)),b(pT,String(e.position.y))]})),t.push(Pg(e.text)),h(Fs,{prefixDecls:new Map([["p188",ft]]),attrs:[b(qr,e.id),b(Tg,e.authorId),b(wg,e.created),b(am,e.status??"active")],children:t})},Fg=e=>h(rm,{attrs:[b(qr,e.id),b(Tg,e.authorId),b(wg,e.created),b(am,"active")],children:[Pg(e.text)]}),Ig=(e,t)=>{let n=p(e,Ms);if(n!==null){n.children.push(t);return}let r=h(Ms,{children:[t]}),a=e.children.findIndex(l=>l.kind==="element"&&l.name.namespaceURI===ft&&(l.name.localName==="txBody"||l.name.localName==="extLst"));e.children.splice(a<0?e.children.length:a,0,r)},Bg=e=>({kind:"document",decl:{version:"1.0",encoding:"UTF-8",standalone:"yes"},prolog:[],root:h(GU,{prefixDecls:new Map([["p188",ft],["a",d.dml]]),children:[...e]}),epilog:[]}),Og=(e,t)=>{let n=e.children.length;if(e.children=e.children.filter(r=>!(r.kind==="element"&&r.name.namespaceURI===ft&&r.name.localName==="cm"&&x(r,qr)===t)),e.children.length!==n)return!0;for(let r of Q(e,Fs)){let a=p(r,Ms);if(a===null)continue;let l=a.children.length;if(a.children=a.children.filter(i=>!(i.kind==="element"&&i.name.namespaceURI===ft&&i.name.localName==="reply"&&x(i,qr)===t)),a.children.length!==l)return Q(a,rm).length===0&&(r.children=r.children.filter(i=>i!==a)),!0}return!1},sm=e=>Q(e,Fs),Xg=e=>{for(let t of e.children)if(t.kind==="element"&&(t.name.namespaceURI===Po&&t.name.localName==="sldMkLst"||t.name.namespaceURI===ft&&t.name.localName==="unknownAnchor"))return t;return null};var P=Symbol.for("@office-kit/pptx.package"),O=Symbol.for("@office-kit/pptx.slide.partName"),te=Symbol.for("@office-kit/pptx.slide.document"),en=Symbol.for("@office-kit/pptx.slide.part"),ne=Symbol.for("@office-kit/pptx.slide.shapes"),X=Symbol.for("@office-kit/pptx.shape.slide"),F=Symbol.for("@office-kit/pptx.shape.element"),U=Symbol.for("@office-kit/pptx.shape.snapshot"),de=Symbol.for("@office-kit/pptx.layout.partName"),ue=Symbol.for("@office-kit/pptx.layout.part"),ot=Symbol.for("@office-kit/pptx.layout.document"),Ro=Symbol.for("@office-kit/pptx.comment.parent"),_n=Symbol.for("@office-kit/pptx.comment.slide"),Tt=Symbol.for("@office-kit/pptx.comment.snapshot"),tn=Symbol.for("@office-kit/pptx.comment.modern"),Le=Symbol.for("@office-kit/pptx.cell.table"),qe=Symbol.for("@office-kit/pptx.cell.element"),No=Symbol.for("@office-kit/pptx.cell.row"),Do=Symbol.for("@office-kit/pptx.cell.col");var eG=new TextDecoder,tG=new TextEncoder,z=e=>eG.decode(e),le=e=>tG.encode(e),il="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml",sl="application/vnd.openxmlformats-officedocument.presentationml.slide+xml",Y=G("/ppt/presentation.xml"),uT=o("p","presentation",d.pml),jt=o("p","sldMasterIdLst",d.pml),_o=o("p","sldIdLst",d.pml),ko=o("p","sldId",d.pml),Pe=o("p","cSld",d.pml),kn=o("p","spTree",d.pml),qn=o("","id",""),ct=o("r","id",d.officeDocRels),$g=256,dm=2147482623,ce=e=>{let t=ae(e[te]),n=e[P].getPart(e[O]);if(!n)throw new Error(`slide part missing: ${e[O]}`);n.data=le(t)},ge=e=>{let t=fo(e[te].root);e[en]=t;let n=e[ne];for(let r=0;r<n.length;r++){let a=t.shapes[r],l=n[r];!a||!l||(l[F]=a.element,l[U]=a)}},Hn=e=>{let t=e[P].getPart(e[de]);if(!t)throw new Error(`slide layout part missing: ${e[de]}`);t.data=le(ae(e[ot])),e[ue]=jr(e[ot].root)},Vn=e=>{let t=fo(e[te].root);e[en]=t;let n=[];for(let r of t.shapes)n.push({[X]:e,[F]:r.element,[U]:r});e[ne]=n},jg=o("p","txBody",d.pml),Re=e=>{let t=e[U].kind;if(t!=="shape"&&t!=="picture"&&t!=="connector")throw new Error(`fill/stroke is not supported on ${t} shapes`);let n=o("p","spPr",d.pml),r=e[F],a=p(r,n);return a===null&&(a={kind:"element",name:n,attrs:[],prefixDecls:new Map,children:[]},r.children.push(a)),a},ht=e=>{if(e[U].kind!=="shape")throw new Error(`text operations require a shape kind; ${e[U].kind} is not text-bearing`);let t=p(e[F],jg);if(t===null)throw new Error(`shape "${e[U].name}" has no <p:txBody>`);return t},nG=o("a","bodyPr",d.dml),rG=o("a","lstStyle",d.dml),aG=o("a","p",d.dml),Ug=()=>h(jg,{children:[h(nG),h(rG),h(aG)]}),ma=e=>{if(e[U].kind!=="shape")throw new Error(`text operations require a shape kind; ${e[U].kind} is not text-bearing`);let t=p(e[F],jg);if(t!==null)return t;let n=Ug();return e[F].children.push(n),n},J=e=>{ce(e[X]),ge(e[X])},lG=new Set([D.hyperlink,D.slide]),Mo=e=>{let t=e[P],n=t.getRels(e[O]);if(n===null)return;let r=new Set;kt(e[te].root,l=>{for(let i of l.attrs)i.name.namespaceURI===d.officeDocRels&&r.add(i.value)});let a=n.items.filter(l=>!lG.has(l.type)||r.has(l.id));a.length!==n.items.length&&t.setRels(e[O],{items:a})},pa=e=>{let t=p(e[te].root,Pe);if(!t)throw new Error("slide has no <p:cSld>");let n=p(t,kn);if(!n)throw new Error("slide has no <p:spTree>");return n},ua=e=>{let t=0,n=r=>{if(r.name.namespaceURI===d.pml&&r.name.localName==="cNvPr"){let a=Number(x(r,o("","id","")));a>t&&(t=a)}for(let a of r.children)a.kind==="element"&&n(a)};return n(e),Math.max(t,1)+1},wt=e=>ua(pa(e)),fa=(e,t,n)=>{let r=0,a=t.toLowerCase();for(let l of e.parts){let i=l.name.toLowerCase();if(!i.startsWith(a)||!i.endsWith(".xml"))continue;let s=Number(i.slice(a.length,-4));Number.isInteger(s)&&s>r&&(r=s)}return Array.from({length:n},(l,i)=>G(`${t}${r+1+i}.xml`))},yr=(e,t)=>{let n=fs(e).split("/").filter(Boolean),r=t.split("/").filter(Boolean),a=0;for(;a<n.length&&n[a]===r[a];)a++;return[...n.slice(a).map(()=>".."),...r.slice(a)].join("/")},Mn=(e,t)=>{pa(e).children.push(t),ce(e);let r=e[ne].length;Vn(e);let a=e[ne][r];if(!a)throw new Error("appendShape: post-condition failed");return a},Sn=(e,t,n)=>{e.contentTypes.defaults.some(a=>a.extension.toLowerCase()===t)||e.contentTypes.defaults.push({extension:t,contentType:n})},ha=e=>{let t=[pa(e[X])],n=e[F];for(;t.length;){let r=t.pop();for(let a of r.children){if(a===n)return r;a.kind==="element"&&a.name.namespaceURI===d.pml&&a.name.localName==="grpSp"&&t.push(a)}}return null};var oG=o("p","timing",d.pml),fT=o("p","tnLst",d.pml),iG=o("p","par",d.pml),hT=o("p","cTn",d.pml),sG=o("p","childTnLst",d.pml),dG=o("p","extLst",d.pml),cG=o("","id",""),Gg=e=>p(e[te].root,oG),mG=(e,t)=>{let n=e[te].root,r=p(n,dG);r===null?n.children.push(t):n.children.splice(n.children.indexOf(r),0,t)},nn=e=>{let t=p(e,fT),n=t?p(t,iG):null,r=n?p(n,hT):null;return r?p(r,sG):null},Is=e=>{let t=0,n=r=>{if(r.name.namespaceURI===d.pml&&r.name.localName==="cTn"){let a=Number.parseInt(x(r,cG)??"",10);Number.isFinite(a)&&a>t&&(t=a)}for(let a of r.children)a.kind==="element"&&n(a)};return n(e),t},cm=(e,t,n)=>{let r=Gg(e);if(r===null){mG(e,Rc([Pc(t,n,2)]));return}let a=Pc(t,n,Is(r)+1),l=nn(r);if(l!==null){l.children.push(a);return}let i=Rc([a]),s=r.children.filter(c=>!(c.kind==="element"&&c.name.namespaceURI===d.pml&&c.name.localName==="tnLst"));r.children=[...i.children,...s]},qg=(e,t)=>{let n=Gg(e);if(n===null)return;let r=nn(n),a=!1,l=m=>{let u=!1;return m.children=m.children.filter(f=>{if(f.kind!=="element")return!0;if(hr(f)){let g=ho(f);if(g!==null&&t.has(g))return u=!0,!1}let y=l(f);return u||=y,y&&f.name.namespaceURI===d.pml&&["childTnLst","subTnLst","tnLst"].includes(f.name.localName)&&!f.children.some(g=>g.kind==="element")?(f===r&&(a=!0),!1):!0}),u};if(!l(n))return;let s=p(n,fT)?.children.filter(m=>m.kind==="element")??[],c=s.length===1?p(s[0],hT):null;if(a&&s.length===1&&s[0].name.localName==="par"&&c!==null&&!c.children.some(m=>m.kind==="element")){let m=e[te].root;m.children=m.children.filter(u=>u!==n)}};var gT=(e,t)=>{let n=Gg(e);if(n===null)return null;let r={first:null},a=0,l=(i,s,c)=>{let m=i.name.namespaceURI===d.pml&&i.name.localName==="cTn"?[...s,i]:s,u=c||i.name.namespaceURI===d.pml&&["seq","excl","subTnLst"].includes(i.name.localName);hr(i)&&ho(i)===t&&(a++,r.first===null&&(r.first={node:i,ancestors:m,hasDependentTimingAncestor:u,duplicateTarget:!1}));for(let f of i.children)f.kind==="element"&&l(f,m,u)};return l(n,[],!1),r.first===null?null:{...r.first,duplicateTarget:a>1}};var pG=o("p","timing",d.pml),uG=o("p","bldLst",d.pml),zg=o("p","stCondLst",d.pml),fG=o("p","cond",d.pml),Fo=o("p","cTn",d.pml),xT=o("p","childTnLst",d.pml),hG=o("p","attrNameLst",d.pml),gG=o("p","attrName",d.pml),yG=o("p","tgtEl",d.pml),xG=o("p","spTgt",d.pml),SG=o("p","txEl",d.pml),bG=o("p","pRg",d.pml),ST=o("","id",""),EG=o("","dur",""),bT=o("","delay",""),AG=o("","evt",""),Wg=o("","nodeType",""),ET=o("","presetID",""),AT=o("","presetClass",""),TG=o("","presetSubtype",""),TT=o("","grpId",""),wT=o("","spid",""),wG=o("","build",""),vG=o("","bldLvl",""),CG=o("","st",""),LG=o("","end",""),Hg=o("","fill",""),Vg=new Set(["hold","freeze"]),PG="style.visibility",RG=new Set(["set","anim","animClr","animEffect","animMotion","animRot","animScale","cmd"]),NG=new Set(["clickEffect","withEffect","afterEffect"]),dl=(e,t)=>e.name.namespaceURI===d.pml&&e.name.localName===t,vT=e=>{if(e===null||!/^[+-]?\d+$/.test(e))return null;let t=Number(e);return Number.isSafeInteger(t)?t:null},Hr=(e,t)=>vT(x(e,t)),cl=e=>p(e[te].root,pG),DG=e=>{let t=new Map,n=p(e,uG);if(n===null)return t;for(let r of n.children){if(r.kind!=="element")continue;let a=x(r,wT),l=x(r,TT);a!==null&&t.set(`${a}:${l??"0"}`,r)}return t},_G=e=>{let t=p(e,Fo),n=t===null?null:x(t,Wg);return n==="mainSeq"?"mainSeq":n==="interactiveSeq"?"interactiveSeq":"other"},kG=e=>{let t=p(e,xT);return t===null?!1:t.children.some(n=>n.kind==="element"&&n.name.namespaceURI===d.pml&&RG.has(n.name.localName))},MG=e=>x(e,ET)!==null||x(e,AT)!==null||NG.has(x(e,Wg)??"")||kG(e),CT=(e,t)=>{if(!dl(e,"cBhvr")){if(dl(e,"cTn")&&MG(e)){t.push(e);return}for(let n of e.children)n.kind==="element"&&CT(n,t)}},Yg=e=>{let t=[],n=r=>{for(let a of r.children)if(a.kind==="element"){if(dl(a,"cBhvr")){t.push({owner:r,cBhvr:a});continue}n(a)}};return n(e),t},FG=e=>{let t=Hr(e,wT);if(t===null)return{kind:"unsupported",shapeId:null};let n=e.children.filter(l=>l.kind==="element");if(n.length===0)return{kind:"shape",shapeId:t};let r=p(e,SG),a=r===null?null:p(r,bG);if(n.length===1&&a!==null){let l=Hr(a,CG),i=Hr(a,LG);if(l!==null&&i!==null&&l<=i)return{kind:"paragraphs",shapeId:t,firstParagraph:l,lastParagraph:i}}return{kind:"unsupported",shapeId:t}},yT=e=>e.kind==="paragraphs"?`p:${e.shapeId}:${e.firstParagraph}:${e.lastParagraph}`:`${e.kind}:${e.shapeId??""}`,IG=e=>{let t=Yg(e).flatMap(({cBhvr:l})=>{let i=p(l,yG);if(i===null)return[];let s=p(i,xG);return[s===null?{kind:"unsupported",shapeId:null}:FG(s)]}),n=[...new Set(t.flatMap(l=>l.shapeId===null?[]:[l.shapeId]))];if(t.length===0)return{target:{kind:"unsupported",shapeId:null},targetShapeIds:n};let r=t[0],a=yT(r);return t.some(l=>yT(l)!==a)?{target:{kind:"unsupported",shapeId:null},targetShapeIds:n}:{target:r,targetShapeIds:n}},BG=e=>{let t=p(e,zg),n=t===null?null:p(t,fG);return n===null?null:Hr(n,bT)},LT=({owner:e,cBhvr:t})=>{if(!dl(e,"set"))return!1;let n=p(t,hG);return((n===null?null:p(n,gG))?.children.find(a=>a.kind==="text")?.data??"")===PG},OG=e=>Hr(e,EG)??ks(e),XG=e=>{if(!Vg.has(x(e,Hg)??""))return!1;let t=Yg(e),n=t.filter(LT);for(let{cBhvr:r}of n.length>0?n:t){let a=p(r,Fo);if(a===null||!Vg.has(x(a,Hg)??""))return!1}return!0},$G=e=>{let t=!0;for(let n of Yg(e)){if(LT(n))continue;let r=p(n.cBhvr,Fo),a=r===null?null:x(r,Hg);if(a===null)t=!1;else if(!Vg.has(a))return"removed"}return t?"held":"unstated"},jG={whole:"asOneObject",allAtOnce:"allAtOnce",p:"byParagraph",cust:"custom"},UG=(()=>{let e=new Map;for(let t of sg){let n={effect:t.effect,options:t.options};e.set(`${t.presetClass}:${t.presetId}:${t.presetSubtype}`,n),t.optionless&&e.set(`${t.presetClass}:${t.presetId}:-`,n)}return e})(),GG=e=>{switch(x(e,Wg)){case"clickEffect":return"click";case"withEffect":return"withPrevious";case"afterEffect":return"afterPrevious";default:return"unknown"}},qG=e=>{let t=new Map,n=r=>{if(dl(r,"cTn")){let a=Hr(r,ST);a!==null&&t.set(a,(t.get(a)??0)+1)}for(let a of r.children)a.kind==="element"&&n(a)};return n(e),t},HG=(e,t,n,r)=>{let a=x(e,AT),l=Hr(e,ET),{target:i,targetShapeIds:s}=IG(e),c=GG(e),m=Hr(e,ST),u=m!==null&&r.get(m)===1?m:null,f=x(e,TT)??"0",y=i.kind==="unsupported"?void 0:t.get(`${i.shapeId}:${f}`),g=x(e,TG),S=g===null?"-":vT(g)??"unreadable",E=UG.get(`${a}:${l}:${S}`)??null,A=E===null?null:Jh(E.effect,e),w=A===null?null:E,T=w?.effect??null,v=n==="mainSeq"&&c!=="unknown"&&i.kind!=="unsupported"&&T!==null&&(a==="emph"||XG(e));return{id:u,target:i,targetShapeIds:s,effect:T,direction:w?.options.direction??null,orientation:w?.options.orientation??null,inOut:w?.options.inOut??null,shape:w?.options.shape??null,spokes:w?.options.spokes??null,spinDirection:A?.spinDirection??null,spinDegrees:A?.spinDegrees??null,scaleDirection:A?.scaleDirection??null,scalePercent:A?.scalePercent??null,transparencyPercent:A?.transparencyPercent??null,color:A?.color??null,presetId:l,presetClass:a,start:c,durationMs:OG(e),delayMs:BG(e),valueAfterEnd:$G(e),build:jG[(y===void 0?null:x(y,wG))??"whole"]??"asOneObject",buildLevel:y===void 0?null:Hr(y,vG),sequence:n,playable:v,editable:v&&u!==null}},Bs=e=>{let t=cl(e);return t===null?[]:ml(t)},ml=e=>{let t=nn(e);if(t===null)return[];let n=DG(e),r=qG(e),a=[];for(let l of t.children){if(l.kind!=="element"||hr(l))continue;let i=_G(l),s=[];CT(l,s);for(let c of s)a.push({step:HG(c,n,i,r),cTn:c,sequence:l})}return a},VG=e=>{if(e===null||!/^\d+$/.test(e))return null;let t=Number(e);return Number.isSafeInteger(t)?t:null},Zg=e=>{let t=p(e,zg);if(t===null)return null;let n=t.children.filter(a=>a.kind==="element"&&dl(a,"cond"));if(n.length!==1)return null;let r=n[0];return x(r,AG)!==null||r.children.some(a=>a.kind==="element")?null:r},PT=e=>{if(p(e,zg)===null)return 0;let t=Zg(e);return t===null?null:VG(x(t,bT))},zG=new Set(["repeatCount","repeatDur","spd","autoRev"]),RT=e=>e.attrs.some(t=>t.name.namespaceURI===""&&zG.has(t.name.localName)),WG=e=>{let t=p(e,Fo);if(t===null||RT(t)||p(t,o("p","iterate",d.pml))!==null)return null;let n=PT(t);if(n===null)return null;let r=Jc(t,!0);return r===null?null:n+r},Io=e=>{let t=p(e,Fo);if(t===null||RT(t))return null;let n=PT(t);if(n===null)return null;let r=p(t,xT);if(r===null)return null;let a=r.children.filter(i=>i.kind==="element");if(!a.every(i=>dl(i,"par")))return null;let l=null;for(let i of a){let s=WG(i);if(s===null)return null;l=Math.max(l??0,s)}return l===null?null:n+l},NT=(e,t)=>{let n=p(e,Fo),r=n===null?null:Zg(n);return r===null?!1:(r.attrs=r.attrs.map(a=>a.name.namespaceURI===""&&a.name.localName==="delay"?{...a,value:String(t)}:a),!0)},YG=(e,t,n)=>{let r=e.attrs.some(a=>a.name.namespaceURI===""&&a.name.localName===t);e.attrs=r?e.attrs.map(a=>a.name.namespaceURI===""&&a.name.localName===t?{...a,value:n}:a):[...e.attrs,{name:o("",t,""),value:n}]},DT=(e,t)=>{let n=Zg(e);return n===null?!1:(YG(n,"delay",String(t)),!0)};var Oe=e=>o("a",e,d.dml),bn=(e,t)=>e.name.namespaceURI===d.dml&&e.name.localName===t,zn=e=>structuredClone(e),MT=(e,t)=>h(Oe("r"),{children:[...t?[zn(t)]:[],h(Oe("t"),{children:[be(e)]})]}),mm=(e,t,n=!1)=>{let r=zn(e);n&&(r.name=Oe("r"),r.attrs=r.attrs.filter(l=>l.name.namespaceURI!==""||!["id","type"].includes(l.name.localName)),r.children=r.children.filter(l=>l.kind!=="element"||!bn(l,"pPr")));let a=p(r,Oe("t"));return a&&(a.children=[be(t)]),r},Os=e=>e.toLowerCase()!==e.toUpperCase(),ZG=(e,t)=>{let n=Array.from(e),r=n.map(()=>t);if(t==="sentence"){let a=!0;n.forEach((l,i)=>{Os(l)&&(r[i]=a?"upper":"lower",a=!1),(l==="."||l==="?"||l==="!"||l===`
|
|
14
|
+
`)&&(a=!0)})}else if(t==="title"){let a=new Intl.Segmenter(void 0,{granularity:"word"}),l=0;for(let{segment:i,isWordLike:s}of a.segment(e)){let c=Array.from(i);if(s){let m=c.findIndex(Os);c.forEach((u,f)=>{Os(u)&&(r[l+f]=f===m?"upper":"lower")})}l+=c.length}}return r},FT=(e,t)=>{let n=Array.from(e),r=e.toLowerCase(),a=n.map(m=>m.toLowerCase().length);if(a.reduce((m,u)=>m+u,0)!==r.length)throw new Error("Unicode case mapping cannot be partitioned safely");let i=ZG(e,t),s=[],c=0;return n.forEach((m,u)=>{let f=a[u];s.push(i[u]==="upper"?m.toUpperCase():r.slice(c,c+f)),c+=f}),s},IT=e=>{let t=Array.from(e),n=e.toLowerCase(),r=t.map(i=>i.toLowerCase().length);if(r.reduce((i,s)=>i+s,0)!==n.length)throw new Error("Unicode case mapping cannot be partitioned safely");let a=[],l=0;return t.forEach((i,s)=>{let c=r[s];a.push(Os(i)&&i===i.toUpperCase()?n.slice(l,l+c):Os(i)?i.toUpperCase():n.slice(l,l+c)),l+=c}),a},BT=(e,t)=>t==="lower"?e.toLowerCase():t==="upper"?e.toUpperCase():t==="toggle"?IT(e).join(""):FT(e,t).join(""),KG=(e,t,n)=>{let r=Array.from(e),a=n==="lower"||n==="sentence"||n==="title"?FT(e,n).map(i=>i.length):n==="toggle"?IT(e).map(i=>i.length):r.map(i=>BT(i,n).length);if(a.reduce((i,s)=>i+s,0)!==t.length)throw new Error("Unicode case mapping cannot be partitioned safely");let l=[0];for(let i of a)l.push(l.at(-1)+i);return l};function Bo(e,t,n){if(!["sentence","lower","upper","title","toggle"].includes(t))throw new RangeError("text case must be one of sentence, lower, upper, title, toggle");let r=Je(e),a=n??{start:0,end:r.length};rn(r,a,"setText");let l=r.slice(a.start,a.end),i=BT(l,t);if(l===i)return;let s=KG(l,i,t),c=Array.from({length:l.length+1}),m=0;for(let y=0;y<l.length;){c[y]=m;let g=l.codePointAt(y)>65535?2:1;g===2&&(c[y+1]=m),y+=g,m++}c[l.length]=m;let u=y=>s[c[y]]??i.length,f=0;for(let y of Xa(e)){for(let g of y.children){if(g.kind!=="element"||g.name.namespaceURI!==d.dml||!["r","fld"].includes(g.name.localName)){g.kind==="element"&&bn(g,"br")&&f++;continue}let S=p(g,Oe("t"));if(!S)continue;let E=mn(S),A=f,w=A+E.length,T=Math.max(a.start,A),v=Math.min(a.end,w);if(T<v){let C=u(T-a.start),R=u(v-a.start),N=E.slice(0,T-A),_=E.slice(v-A),k=i.slice(C,R);S.children=[be(N+k+_)]}f=w}f++}}function Kg(e,t,n){let r=[],a=0;for(let l of e.children){if(l.kind!=="element"||l.name.namespaceURI!==d.dml||!["r","fld","br"].includes(l.name.localName))continue;let i=bn(l,"br")?`
|
|
15
|
+
`:mn(p(l,Oe("t"))??h(Oe("t"))),s=a+i.length,c=Math.max(t,a),m=Math.min(n,s);c<m&&r.push(c===a&&m===s?zn(l):bn(l,"r")||bn(l,"fld")?mm(l,i.slice(c-a,m-a),bn(l,"fld")):MT(i.slice(c-a,m-a),p(l,Oe("rPr")))),a=s}return r}function Jg(e,t){return pm(e,[t])[0]}function pm(e,t){let n=Je(e);for(let l of t)rn(n,l,"setShapeParagraphs");let r=0,a=Xa(e).map(l=>{let i=r,s=i+aa(l).length;return r=s+1,{paragraph:l,start:i,end:s}});return t.map(l=>{let i=[],s=0,c=a.length;for(;s<c;){let m=Math.floor((s+c)/2);a[m].end<l.start?s=m+1:c=m}for(let m=s;m<a.length;m++){let{paragraph:u,start:f,end:y}=a[m];if(f>l.end)break;let g=Math.max(0,l.start-f),S=Math.min(y-f,l.end-f),E=zn(u);if(g!==0||S!==y-f){let A=Kg(u,g,S),w=!1;E.children=E.children.flatMap(T=>T.kind!=="element"||!["r","fld","br"].some(v=>bn(T,v))?[T]:w?[]:(w=!0,A))}i.push(E)}return i})}function JG(e,t,n){let r=0,a=null;for(let s of e.children){if(s.kind!=="element"||s.name.namespaceURI!==d.dml||!["r","fld","br"].includes(s.name.localName))continue;let c=bn(s,"br")?1:mn(p(s,Oe("t"))??h(Oe("t"))).length,m=p(s,Oe("rPr"));if(t<r+c||n&&t===r+c)return m;r+=c,a=m}let l=p(e,Oe("endParaRPr"));if(a||!l)return a;let i=zn(l);return i.name=Oe("rPr"),i}var _T=e=>{if(!bn(e,"r")||e.attrs.length>0)return null;let t="";for(let n of e.children)if(n.kind==="element"){if(bn(n,"rPr"))t=Ui(n);else if(!bn(n,"t"))return null}return t},kT=(e,t)=>{let n=e.at(-1),r=t[0];if(!n||!r)return[...e,...t];let a=_T(n);if(a===null||a!==_T(r))return[...e,...t];let l=mm(n,mn(p(n,Oe("t"))??h(Oe("t")))+mn(p(r,Oe("t"))??h(Oe("t"))));return[...e.slice(0,-1),l,...t.slice(1)]};function Oo(e,t,n,r="paragraph"){let a=Je(e);if(n&&rn(a,n,"setText"),n?a.slice(n.start,n.end)===t&&!t.includes(`
|
|
16
|
+
`):a===t)return;let l=Array.from(a),i=Array.from(t),s=0;for(;s<l.length&&s<i.length&&l[s]===i[s];)s++;let c=0;for(;c<l.length-s&&c<i.length-s&&l[l.length-1-c]===i[i.length-1-c];)c++;let m=n?.start??l.slice(0,s).join("").length,u=n?.end??a.length-l.slice(l.length-c).join("").length,f=n?t:i.slice(s,i.length-c).join(""),g=Xa(e).map(re=>({paragraph:re,length:aa(re).length})),S=0,E=0,A=0,w=0,T=0;for(let re=0;re<g.length;re++){let Se=g[re];m>S+Se.length&&(E=re+1,w=S+Se.length+1),u>S+Se.length&&(A=re+1,T=S+Se.length+1),S+=Se.length+1}let v=g[E]?.paragraph??h(Oe("p")),C=g[A]?.paragraph??v,R=Kg(v,0,m-w),N=Kg(C,u-T,aa(C).length),_=JG(v,m-w,m===u),k=r==="break"?[f]:f.split(`
|
|
17
|
+
`),M=k.map((re,Se)=>{let Ce=zn(v),me=p(Ce,Oe("pPr")),we=p(Se===k.length-1?C:v,Oe("endParaRPr")),Ne=re||(Se!==0||R.length===0)&&(Se!==k.length-1||N.length===0)?re.split(`
|
|
18
|
+
`).flatMap((Xe,ze)=>[...ze?[h(Oe("br"),{children:_?[zn(_)]:[]})]:[],...Xe||!re?[MT(Xe,_)]:[]]):[];return Ce.children=[...me?[me]:[],...kT(kT(Se===0?R:[],Ne),Se===k.length-1?N:[]),...we?[zn(we)]:[]],Ce}),I=e.children.indexOf(v),K=e.children.indexOf(C);I===-1?e.children.push(...M):e.children.splice(I,K-I+1,...M)}function Xo(e,t,n,r=!1,a){mr(h(Oe("rPr")),t,void 0,a&&{check:a.check,embed:()=>""}),pl(e,n,l=>{r&&rc(l),mr(l,t,void 0,a)})}function $o(e,t,n,r=!1,a){let l=Xa(e)[t];if(!l)throw new RangeError(`paragraph index out of range: ${t}`);let i=p(l,Oe("endParaRPr")),s=i?zn(i):h(Oe("endParaRPr"));r&&rc(s),mr(s,n,void 0,a),i?l.children[l.children.indexOf(i)]=s:l.children.push(s)}function pl(e,t,n){rn(Je(e),t,"text range");let{start:r,end:a}=t;if(r===a)return;let l=zn(e),i=0;for(let s of Xa(l)){let c=[];for(let m of s.children){if(m.kind!=="element"||m.name.namespaceURI!==d.dml||!["r","fld","br"].includes(m.name.localName)){c.push(m);continue}let u=bn(m,"br")?`
|
|
19
|
+
`:mn(p(m,Oe("t"))??h(Oe("t"))),f=Math.max(0,r-i),y=Math.min(u.length,a-i);if(i+=u.length,f>=y){c.push(m);continue}let g=(A,w)=>A===0&&w===u.length?zn(m):bn(m,"fld")?mm(m,u.slice(A,w),!0):mm(m,u.slice(A,w));f>0&&c.push(g(0,f));let S=g(f,y),E=p(S,Oe("rPr"));E||(E=h(Oe("rPr")),S.children.unshift(E)),n(E),c.push(S),y<u.length&&c.push(g(y,u.length))}s.children=c,i++}e.children=l.children}function rn(e,t,n){let{start:r,end:a}=t,l=i=>i>0&&i<e.length&&/[\uD800-\uDBFF]/.test(e[i-1])&&/[\uDC00-\uDFFF]/.test(e[i]);if(!Number.isInteger(r)||!Number.isInteger(a)||r<0||a<r||a>e.length||l(r)||l(a))throw new RangeError(`${n}: range must contain valid UTF-16 boundaries within the text`)}function St(e,t){let n=e?.trim();if(!n)return t;let r=n.endsWith("%"),a=Number(r?n.slice(0,-1):n);return Number.isFinite(a)?a/(r?100:1e5):t}var um=(e,t)=>{if(!e)return{};let n={},r=p(e,o("a","buClr",d.dml));if(p(e,o("a","buClrTx",d.dml)))n.color=null,n.colorFollowText=!0;else if(r){let u=r.children.find(f=>f.kind==="element"&&f.name.namespaceURI===d.dml);u&&(n.color=t(u),n.colorFollowText=!1)}let l=p(e,o("a","buSzTx",d.dml)),i=p(e,o("a","buSzPct",d.dml)),s=p(e,o("a","buSzPts",d.dml));if(l)n.sizePct=null,n.sizePts=null,n.sizeFollowText=!0;else if(i){let u=x(i,o("","val","")),f=u===null?Number.NaN:St(u,Number.NaN);Number.isFinite(f)&&(n.sizePct=f,n.sizePts=null,n.sizeFollowText=!1)}else if(s){let u=x(s,o("","val","")),f=u===null?Number.NaN:Number.parseInt(u,10)/100;Number.isFinite(f)&&(n.sizePct=null,n.sizePts=f,n.sizeFollowText=!1)}let c=p(e,o("a","buFontTx",d.dml)),m=p(e,o("a","buFont",d.dml));return c?(n.font=null,n.fontFollowText=!0):m&&(n.font=x(m,o("","typeface","")),n.fontFollowText=!1),n};var XT="application/vnd.openxmlformats-officedocument.theme+xml",fm=o("a","themeElements",d.dml),$T=o("a","clrScheme",d.dml),jT=o("a","srgbClr",d.dml),QG=o("a","sysClr",d.dml),eq=o("","val",""),tq=o("","name",""),nq=o("","typeface",""),rq=[["dark1","dk1"],["light1","lt1"],["dark2","dk2"],["light2","lt2"],["accent1","accent1"],["accent2","accent2"],["accent3","accent3"],["accent4","accent4"],["accent5","accent5"],["accent6","accent6"],["hyperlink","hlink"],["followedHyperlink","folHlink"]],Fn=(e,t)=>{let n=p(e,o("a",t,d.dml));if(!n)return"";let r=p(n,jT);if(r){let l=x(r,o("","val",""));if(l)return`#${l.toUpperCase()}`}let a=p(n,QG);if(a){let l=x(a,o("","lastClr",""));if(l)return`#${l.toUpperCase()}`}return""},Fe=e=>Vr(e[P]),OT=new WeakMap,ey=e=>{let t=OT.get(e);return t||(t=j(z(e)).root,OT.set(e,t)),t},UT=(e,t)=>t.startsWith("/")?G(t):V(e,t),Qg=(e,t)=>{let n=e.getRels(t)?.items.find(a=>a.type===D.theme&&a.targetMode==="Internal");if(!n)return null;let r=e.getPart(UT(t,n.target));return r!==null&&r.contentType===XT?r:null},aq=e=>{let t=e.getPart(Y),n=e.getRels(Y);if(t===null||n===null)return null;let a=p(ey(t.data),jt)?.children.find(s=>s.kind==="element"),l=a?.kind==="element"?x(a,ct):null,i=n.items.find(s=>s.type===D.slideMaster&&(l===null||s.id===l))??n.items.find(s=>s.type===D.slideMaster);return i?UT(Y,i.target):null},hm=e=>{let t=aq(e),n=t===null?null:Qg(e,t);if(n)return n;let r=Qg(e,Y);return r||e.parts.filter(a=>a.contentType===XT).sort((a,l)=>a.name.localeCompare(l.name))[0]},Wn=(e,t)=>{let n=(t?Qg(e,t):null)??hm(e);return n?ey(n.data):null},Vr=(e,t)=>{let n=Wn(e,t);if(!n)return null;let r=p(n,fm);if(!r)return null;let a=p(r,$T);return a?{name:x(a,o("","name",""))??"",dark1:Fn(a,"dk1"),light1:Fn(a,"lt1"),dark2:Fn(a,"dk2"),light2:Fn(a,"lt2"),accent1:Fn(a,"accent1"),accent2:Fn(a,"accent2"),accent3:Fn(a,"accent3"),accent4:Fn(a,"accent4"),accent5:Fn(a,"accent5"),accent6:Fn(a,"accent6"),hyperlink:Fn(a,"hlink"),followedHyperlink:Fn(a,"folHlink")}:null},ty=e=>{if(!e)return null;let t=p(e,fm);if(!t)return null;let n=p(t,o("a","fontScheme",d.dml));if(!n)return null;let r=p(n,o("a","majorFont",d.dml)),a=p(n,o("a","minorFont",d.dml));return{majorLatin:jo(r,"latin"),majorEastAsian:jo(r,"ea"),majorComplexScript:jo(r,"cs"),minorLatin:jo(a,"latin"),minorEastAsian:jo(a,"ea"),minorComplexScript:jo(a,"cs")}},jo=(e,t)=>{if(!e)return null;let n=p(e,o("a",t,d.dml));if(!n)return null;let r=x(n,o("","typeface",""));return r||null},Go=e=>{let t=e[P],n=hm(t);return n?ty(ey(n.data)):null},GT=(e,t)=>{let n=e[P],r=hm(n);if(!r)throw new Error("setPresentationTheme: presentation has no theme part");let a=j(z(r.data)),l=p(a.root,fm);if(!l)throw new Error("setPresentationTheme: theme part has no <a:themeElements>");let i=p(l,$T);if(!i)throw new Error("setPresentationTheme: theme part has no <a:clrScheme>");t.name!==void 0&&(i.attrs=i.attrs.filter(s=>s.name.localName!=="name"),i.attrs.push(b(tq,t.name)));for(let[s,c]of rq){let m=t[s];if(m===void 0)continue;let u=Hi(m);if(u===null)throw new Error(`setPresentationTheme: "${s}" must be a #RRGGBB or #RGB color, got ${JSON.stringify(m)}`);let f=o("a",c,d.dml),y=i.children.findIndex(g=>g.kind==="element"&&g.name.namespaceURI===d.dml&&g.name.localName===c);if(y<0)throw new Error(`setPresentationTheme: clrScheme is missing <a:${c}>`);i.children[y]=h(f,{children:[h(jT,{attrs:[b(eq,u)]})]})}r.data=le(ae(a))},Uo=(e,t,n)=>{let r=p(e,o("a",t,d.dml));if(!r)throw new Error(`setPresentationFonts: fontScheme is missing <a:${t}>`);r.attrs=r.attrs.filter(a=>a.name.localName!=="typeface"),r.attrs.push(b(nq,n))},qT=(e,t)=>{let n=e[P],r=hm(n);if(!r)throw new Error("setPresentationFonts: presentation has no theme part");let a=j(z(r.data)),l=p(a.root,fm);if(!l)throw new Error("setPresentationFonts: theme part has no <a:themeElements>");let i=p(l,o("a","fontScheme",d.dml));if(!i)throw new Error("setPresentationFonts: theme part has no <a:fontScheme>");let s=p(i,o("a","majorFont",d.dml));if(!s)throw new Error("setPresentationFonts: fontScheme has no <a:majorFont>");let c=p(i,o("a","minorFont",d.dml));if(!c)throw new Error("setPresentationFonts: fontScheme has no <a:minorFont>");t.majorLatin!==void 0&&Uo(s,"latin",t.majorLatin),t.majorEastAsian!==void 0&&Uo(s,"ea",t.majorEastAsian),t.majorComplexScript!==void 0&&Uo(s,"cs",t.majorComplexScript),t.minorLatin!==void 0&&Uo(c,"latin",t.minorLatin),t.minorEastAsian!==void 0&&Uo(c,"ea",t.minorEastAsian),t.minorComplexScript!==void 0&&Uo(c,"cs",t.minorComplexScript),r.data=le(ae(a))};var ny=(e,t,n)=>{if(t==="fill"||n===null)return e;let r=Math.min(e.w/n.width,e.h/n.height),a=Math.round(n.width*r),l=Math.round(n.height*r),i=e.x+Math.round((e.w-a)/2),s=e.y+Math.round((e.h-l)/2);return{x:i,y:s,w:a,h:l}},HT=(e,t,n={})=>{if(e[U].kind!=="picture")throw new Error(`setShapeImage only works on picture shapes; ${e[U].kind} is not one`);let r=n.format??ut(t);if(r===null)throw new Error("setShapeImage: could not detect image format. Pass options.format explicitly.");let a=Va(e[F]);if(a===null)throw new Error(`picture "${e[U].name}" has no r:embed`);let l=e[X],i=l[P],s=i.getRels(l[O]);if(s===null)throw new Error(`slide ${l[O]} has no rels`);let c=s.items.find(C=>C.id===a);if(!c)throw new Error(`slide rels missing entry for r:embed="${a}"`);if(c.targetMode==="External")throw new Error("setShapeImage: r:embed must reference internal media");let m=c.target.startsWith("/")?G(c.target):V(l[O],c.target),u=yn(r),f=xn(r),y=m.lastIndexOf("."),g=y>=0?m.slice(y+1).toLowerCase():"",S=0;kt(l[te].root,C=>{for(let R of C.attrs)R.name.namespaceURI===d.officeDocRels&&R.value===a&&S++});let E=S>1,A=new Map(i.parts.map(C=>[C.name.toLowerCase(),C])),w=m.toLowerCase(),T=new TextDecoder,v=E||i.parts.some(C=>{let R=A.get(_t(C.name).toLowerCase());return R?Ka(T.decode(R.data)).items.some(N=>N.targetMode!=="External"&&!(C.name.toLowerCase()===l[O].toLowerCase()&&N.id===a)&&V(C.name,N.target).toLowerCase()===w):!1});if(g===u&&!v){let C=i.getPart(m);if(!C)throw new Error(`media part missing: ${m}`);C.data=t,C.contentType=f}else{let C=1,R=/^\/ppt\/media\/image(\d+)\./i;for(let M of i.parts){let I=M.name.match(R);if(I?.[1]!==void 0){let K=Number.parseInt(I[1],10);Number.isFinite(K)&&K>=C&&(C=K+1)}}let N=G(`/ppt/media/image${C}.${u}`);i.contentTypes.defaults.some(M=>M.extension.toLowerCase()===u)||i.contentTypes.defaults.push({extension:u,contentType:f}),i.addPart(N,f,t);let k=`../media/image${C}.${u}`;if(E){let M=se(s.items.map(re=>re.id)),I=p(e[F],o("p","blipFill",d.pml)),K=p(I,o("a","blip",d.dml));K.attrs=K.attrs.map(re=>re.name.namespaceURI===d.officeDocRels&&re.name.localName==="embed"?{...re,value:M}:re),s.items.push({...c,id:M,target:k})}else c.target=k;i.setRels(l[O],s)}if(n.fit==="contain"){let C=Rt(e[F],"picture"),R=At(e[F],"picture"),N=Qa(t);if(C!==null&&R!==null&&N!==null){let _=ny({x:C.x,y:C.y,w:R.w,h:R.h},"contain",N);un(e[F],"picture",_.x,_.y),fn(e[F],"picture",_.w,_.h)}}ce(l),ge(l)};var Ut=e=>o("p",e,d.pml),ry=o("","id",""),VT=o("","name",""),ym=o("r","id",d.officeDocRels),gm=(e,t)=>e.name.namespaceURI===d.pml&&e.name.localName===t;function zT(e){return e[P].getRels(Y)?.items.filter(t=>t.type===D.slide&&t.targetMode==="Internal")??[]}function ul(e){let t=e[P].getPart(Y);if(!t)return[];let n=p(j(z(t.data)).root,Ut("custShowLst"));if(!n)return[];let r=new Map(H(e).map(l=>[l[O],l])),a=new Map(zT(e).map(l=>[l.id,r.get(V(Y,l.target))]));return Q(n,Ut("custShow")).map(l=>{let i=p(l,Ut("sldLst"));return{id:Number(x(l,ry)),name:x(l,VT)??"",slides:i?Q(i,Ut("sld")).flatMap(s=>{let c=a.get(x(s,ym)??"");return c?[c]:[]}):[]}})}function WT(e,t){let n=e[P],r=n.getPart(Y);if(!r)throw new Error("presentation.xml missing");let a=j(z(r.data)),l=p(a.root,Ut("custShowLst")),i=new Map(zT(e).map(g=>[V(Y,g.target),g.id])),s=new Set(H(e).map(g=>g[O])),c=new Set,m=t.map(g=>{if(!Number.isInteger(g.id)||g.id<0||g.id>4294967295||c.has(g.id))throw new Error("Custom show IDs must be unique unsigned integers");if(typeof g.name!="string")throw new Error("Custom show name must be a string");return c.add(g.id),{...g,relationships:g.slides.map(S=>{let E=i.get(S[O]);if(S[P]!==n||!s.has(S[O])||!E)throw new Error("Custom show slide must belong to this presentation");return E})}}),u=l?Q(l,Ut("custShow")):[],f=new Map(u.map(g=>[x(g,ry),g])),y=m.map(g=>{let S=f.get(String(g.id))??h(Ut("custShow"));S.attrs=S.attrs.filter(C=>!(C.name.namespaceURI===""&&["id","name"].includes(C.name.localName))),S.attrs.push(b(ry,String(g.id)),b(VT,g.name));let E=p(S,Ut("sldLst")),A=E??h(Ut("sldLst")),w=E?Q(E,Ut("sld")):[],T=new Map;for(let C of w){let R=x(C,ym);if(!R)continue;let N=T.get(R)??{slides:[],next:0};N.slides.push(C),T.set(R,N)}let v=g.relationships.map(C=>{let R=T.get(C),N=R&&R.next<R.slides.length?R.slides[R.next++]:h(Ut("sld"));return N.attrs=N.attrs.filter(_=>!(_.name.namespaceURI===d.officeDocRels&&_.name.localName==="id")),N.attrs.push(b(ym,C)),N});return S.children=[A,...S.children.filter(C=>C.kind!=="element"||!gm(C,"sldLst"))],A.children=[...v,...A.children.filter(C=>C.kind!=="element"||!gm(C,"sld"))],S});if(l)l.children=[...y,...l.children.filter(g=>g.kind!=="element"||!gm(g,"custShow"))];else if(y.length){let g=h(Ut("custShowLst"),{children:y}),S=new Set(["photoAlbum","custDataLst","kinsoku","defaultTextStyle","modifyVerifier","extLst"]),E=a.root.children.findIndex(A=>A.kind==="element"&&A.name.namespaceURI===d.pml&&S.has(A.name.localName));a.root.children.splice(E<0?a.root.children.length:E,0,g)}else return;r.data=le(ae(a))}function YT(e,t){let n=p(e,Ut("custShowLst"));if(n)for(let r of Q(n,Ut("custShow"))){let a=p(r,Ut("sldLst"));a&&(a.children=a.children.filter(l=>l.kind!=="element"||!gm(l,"sld")||x(l,ym)!==t))}}var xm=o("a","hlinkClick",d.dml),In=e=>{let t=e[F],n=e[U].kind,r=n==="shape"?"nvSpPr":n==="picture"?"nvPicPr":n==="connector"?"nvCxnSpPr":n==="graphicFrame"?"nvGraphicFramePr":n==="group"?"nvGrpSpPr":null;if(r===null)return null;let a=p(t,o("p",r,d.pml));return a?p(a,o("p","cNvPr",d.pml)):null},lq=(e,t)=>e===null?null:e.items.find(r=>r.type===D.hyperlink&&r.target===t&&r.targetMode==="External")?.id??null,ZT=e=>{let t=In(e);if(!t)return null;let n=p(t,xm);return n?Xs(e[X],n):null},Xs=(e,t)=>{let n=x(t,o("","action","")),r=x(t,o("r","id",d.officeDocRels));if(n==="ppaction://hlinkshowjump?jump=nextslide")return{kind:"nextSlide"};if(n==="ppaction://hlinkshowjump?jump=previousslide")return{kind:"prevSlide"};if(n==="ppaction://hlinkshowjump?jump=firstslide")return{kind:"firstSlide"};if(n==="ppaction://hlinkshowjump?jump=lastslide")return{kind:"lastSlide"};if(n==="ppaction://hlinkshowjump?jump=lastslideviewed")return{kind:"lastSlideViewed"};if(n==="ppaction://hlinkshowjump?jump=endshow")return{kind:"endShow"};let a=/^ppaction:\/\/customshow\?id=(\d+)(?:&return=(true|false))?$/.exec(n??"");if(a){let l=Number(a[1]);return Number.isSafeInteger(l)&&l>=0&&ul({[P]:e[P],_slidesCache:null}).some(i=>i.id===l)?{kind:"customShow",id:l,returnToShow:a[2]==="true"}:null}if(n?.startsWith("ppaction://customshow"))return null;if(r!==null&&r!==""){let l=e[P],i=l.getRels(e[O]);if(!i)return null;let s=i.items.find(c=>c.id===r);if(!s)return null;if(n==="ppaction://hlinksldjump"&&s.type===D.slide){let c=s.target.startsWith("/")?G(s.target):V(e[O],s.target),m={[P]:l,_slidesCache:null};for(let u of H(m))if(u[O]===c)return{kind:"slide",slide:u};return null}if(s.type===D.hyperlink&&s.targetMode==="External")return{kind:"url",url:s.target}}return null},KT=(e,t,n)=>{let r=n?.range,a=r?ht(e):null;if(r&&a&&(rn(Je(a),r,"setShapeClickAction"),r.start===r.end))return;let l=In(e);if(!l)throw new Error(`setShapeClickAction: ${e[U].kind} shape has no cNvPr to attach to`);let i=t?ay(e[X],t):null;i&&n?.tooltip!==void 0&&i.attrs.push(b(o("","tooltip",""),n.tooltip));let s=c=>{ss(c,i?structuredClone(i):null)};r&&a?pl(a,r,s):s(l),J(e),Mo(e[X])},ay=(e,t)=>{let n=e[P],r=null,a=null;switch(t.kind){case"url":{let i=n.getRels(e[O])??pe(),s=lq(i,t.url);if(s!==null)r=s;else{let c=se(i.items.map(m=>m.id));i.items.push({id:c,type:D.hyperlink,target:t.url,targetMode:"External"}),n.setRels(e[O],i),r=c}break}case"slide":{let i=t.slide[O];if(t.slide[P]!==n||!n.getPart(i))throw new Error("setShapeClickAction: target slide must belong to this presentation");let s=`../slides/${da(i)}`,c=n.getRels(e[O])??pe(),m=c.items.find(u=>u.type===D.slide&&V(e[O],u.target)===i&&u.targetMode==="Internal");if(m)r=m.id;else{let u=se(c.items.map(f=>f.id));c.items.push({id:u,type:D.slide,target:s,targetMode:"Internal"}),n.setRels(e[O],c),r=u}a="ppaction://hlinksldjump";break}case"nextSlide":a="ppaction://hlinkshowjump?jump=nextslide";break;case"prevSlide":a="ppaction://hlinkshowjump?jump=previousslide";break;case"firstSlide":a="ppaction://hlinkshowjump?jump=firstslide";break;case"lastSlide":a="ppaction://hlinkshowjump?jump=lastslide";break;case"lastSlideViewed":a="ppaction://hlinkshowjump?jump=lastslideviewed";break;case"endShow":a="ppaction://hlinkshowjump?jump=endshow";break;case"customShow":{if(!Number.isSafeInteger(t.id)||t.id<0||t.id>4294967295)throw new Error("setShapeClickAction: custom show ID must be an unsigned integer");let i={[P]:n,_slidesCache:null};if(!ul(i).some(s=>s.id===t.id))throw new Error(`setShapeClickAction: custom show ${t.id} does not exist`);a=`ppaction://customshow?id=${t.id}${t.returnToShow?"&return=true":""}`;break}}let l=[];return r!==null?l.push(b(o("r","id",d.officeDocRels),r)):l.push(b(o("r","id",d.officeDocRels),"")),a!==null&&l.push(b(o("","action",""),a)),h(xm,{attrs:l})};var ly=e=>({...e.min!==void 0?{min:e.min}:{},...e.max!==void 0?{max:e.max}:{},...e.majorUnit!==void 0?{majorUnit:e.majorUnit}:{},...e.minorUnit!==void 0?{minorUnit:e.minorUnit}:{},...e.numberFormat!==void 0?{numberFormat:e.numberFormat}:{},...e.logBase!==void 0?{logBase:e.logBase}:{},...e.displayUnits!==void 0?{displayUnits:e.displayUnits}:{},...e.displayUnitsLabel!==void 0?{displayUnitsLabel:e.displayUnitsLabel}:{}}),Sm=e=>{if(e===void 0)return;if(e.scaling!==void 0)return e.scaling;let t=ly(e);return Object.keys(t).length>0?t:void 0};var oq=["ctr","inEnd","outEnd","inBase","t","b","l","r","bestFit"],iq=["hundreds","thousands","tenThousands","hundredThousands","millions","tenMillions","hundredMillions","billions","trillions"],sq=["ctr","l","r"],dq=["gap","zero","span"],cq=["none","line","lineMarker","marker","smooth","smoothMarker"],mq=["standard","marker","filled"],pq=["box","cone","coneToMax","cylinder","pyramid","pyramidToMax"],uq=["pie","bar"],fq=["auto","cust","percent","pos","val"],JT=["inner","outer"],hq=["autoZero","min","max"],gq=["r","t","b","l","tr"],yq=["none","auto","circle","square","diamond","triangle","star","x","plus","dash","dot","picture"],xq=["linear","exp","log","poly","power","movingAvg"],Sq=["both","plus","minus"],bq=["fixedVal","percentage","stdDev","stdErr","cust"],Eq=["clustered","stacked","percentStacked","standard"],qo=["in","out","cross","none"],bm=["none","low","high","nextTo"],oy=["minMax","maxMin"],QT=["between","midCat"],iy=["days","months","years"],sy=(e,t)=>{e?.position!==void 0&&Z(e.position,oq,`${t}.position`)},dy=(e,t)=>{e?.displayUnits!==void 0&&Z(e.displayUnits,iq,`${t}.displayUnits`)},cy=(e,t)=>{Z(e.kind,["bar","column","line","pie","doughnut","area","scatter","radar","bubble","stock","surface"],`${t}: kind`),e.grouping!==void 0&&Z(e.grouping,Eq,`${t}: grouping`),e.valueAxisMajorTickMark!==void 0&&Z(e.valueAxisMajorTickMark,qo,`${t}: valueAxisMajorTickMark`),e.valueAxisMinorTickMark!==void 0&&Z(e.valueAxisMinorTickMark,qo,`${t}: valueAxisMinorTickMark`),e.categoryAxisMajorTickMark!==void 0&&Z(e.categoryAxisMajorTickMark,qo,`${t}: categoryAxisMajorTickMark`),e.categoryAxisMinorTickMark!==void 0&&Z(e.categoryAxisMinorTickMark,qo,`${t}: categoryAxisMinorTickMark`),e.valueAxisTickLabelPos!==void 0&&Z(e.valueAxisTickLabelPos,bm,`${t}: valueAxisTickLabelPos`),e.categoryAxisTickLabelPos!==void 0&&Z(e.categoryAxisTickLabelPos,bm,`${t}: categoryAxisTickLabelPos`),e.categoryAxisLabelAlign!==void 0&&Z(e.categoryAxisLabelAlign,sq,`${t}: categoryAxisLabelAlign`),e.categoryAxisOrientation!==void 0&&Z(e.categoryAxisOrientation,oy,`${t}: categoryAxisOrientation`),e.valueAxisOrientation!==void 0&&Z(e.valueAxisOrientation,oy,`${t}: valueAxisOrientation`),e.valueAxisCrossBetween!==void 0&&Z(e.valueAxisCrossBetween,QT,`${t}: valueAxisCrossBetween`),e.dispBlanksAs!==void 0&&Z(e.dispBlanksAs,dq,`${t}: dispBlanksAs`),e.scatterStyle!==void 0&&Z(e.scatterStyle,cq,`${t}: scatterStyle`),e.radarStyle!==void 0&&Z(e.radarStyle,mq,`${t}: radarStyle`),e.bubbleSizeRepresents!==void 0&&Z(e.bubbleSizeRepresents,["area","width"],`${t}: bubbleSizeRepresents`),e.bar3DShape!==void 0&&Z(e.bar3DShape,pq,`${t}: bar3DShape`),e.secondaryValueAxis?.majorTickMark!==void 0&&Z(e.secondaryValueAxis.majorTickMark,qo,`${t}: secondaryValueAxis.majorTickMark`),e.secondaryValueAxis?.minorTickMark!==void 0&&Z(e.secondaryValueAxis.minorTickMark,qo,`${t}: secondaryValueAxis.minorTickMark`),e.secondaryValueAxis?.tickLabelPos!==void 0&&Z(e.secondaryValueAxis.tickLabelPos,bm,`${t}: secondaryValueAxis.tickLabelPos`),e.secondaryValueAxis?.crossBetween!==void 0&&Z(e.secondaryValueAxis.crossBetween,QT,`${t}: secondaryValueAxis.crossBetween`),e.seriesAxis?.orientation!==void 0&&Z(e.seriesAxis.orientation,oy,`${t}: seriesAxis.orientation`),e.seriesAxis?.tickLabelPos!==void 0&&Z(e.seriesAxis.tickLabelPos,bm,`${t}: seriesAxis.tickLabelPos`),e.categoryAxisDate?.baseTimeUnit!==void 0&&Z(e.categoryAxisDate.baseTimeUnit,iy,`${t}: categoryAxisDate.baseTimeUnit`),e.categoryAxisDate?.majorTimeUnit!==void 0&&Z(e.categoryAxisDate.majorTimeUnit,iy,`${t}: categoryAxisDate.majorTimeUnit`),e.categoryAxisDate?.minorTimeUnit!==void 0&&Z(e.categoryAxisDate.minorTimeUnit,iy,`${t}: categoryAxisDate.minorTimeUnit`),e.ofPie?.type!==void 0&&Z(e.ofPie.type,uq,`${t}: ofPie.type`),e.ofPie?.splitType!==void 0&&Z(e.ofPie.splitType,fq,`${t}: ofPie.splitType`),e.plotAreaLayout?.target!==void 0&&Z(e.plotAreaLayout.target,JT,`${t}: plotAreaLayout.target`),e.legend?.layout?.target!==void 0&&Z(e.legend.layout.target,JT,`${t}: legend.layout.target`),e.valueAxisCrosses!==void 0&&typeof e.valueAxisCrosses!="object"&&Z(e.valueAxisCrosses,hq,`${t}: valueAxisCrosses`),e.legend?.position!=null&&Z(e.legend.position,gq,`${t}: legend.position`),sy(e.dataLabels,`${t}: dataLabels`),dy(e.valueAxis,`${t}: valueAxis`),dy(e.categoryAxisScaling,`${t}: categoryAxisScaling`);let n=e.secondaryValueAxis;if(n?.scaling!==void 0){let r=Object.keys(ly(n));if(r.length>0)throw new Error(`${t}: secondaryValueAxis.scaling cannot be combined with secondaryValueAxis.${r[0]}; write the scaling fields directly on secondaryValueAxis (scaling is deprecated)`)}dy(Sm(n),`${t}: secondaryValueAxis${n?.scaling!==void 0?".scaling":""}`);for(let[r,a]of e.series.entries()){let l=`${t}: series[${r}]`;a.chartKind!==void 0&&Z(a.chartKind,["bar","column","line","area"],`${l}.chartKind`),a.lineDash!==void 0&&Z(a.lineDash,Zl,`${l}.lineDash`),a.markerSymbol!==void 0&&Z(a.markerSymbol,yq,`${l}.markerSymbol`),a.trendline!==void 0&&Z(a.trendline.type,xq,`${l}.trendline.type`),sy(a.dataLabels,`${l}.dataLabels`);for(let[i,s]of(a.pointDataLabels??[]).entries())sy(s,`${l}.pointDataLabels[${i}]`);for(let i of["errorBars","xErrorBars"]){let s=a[i];s!==void 0&&(Z(s.barType,Sq,`${l}.${i}.barType`),Z(s.amount.type,bq,`${l}.${i}.amount.type`))}}};var $s=["categories","title","titleStyle","titleOverlay","titleLayout","dataLabels","legend","plotAreaLayout","plotAreaFill","plotAreaStrokeColor","chartAreaFill","chartAreaStrokeColor","plotVisibleCellsOnly","dispBlanksAs","date1904","language","roundedCorners","chartStyle","varyColors"],Aq=["valueAxis","valueAxisTitle","valueAxisTitleStyle","valueAxisTitleRotationDeg","valueAxisLabelStyle","valueAxisLabelRotationDeg","valueAxisHidden","valueAxisMajorGridlines","valueAxisMinorGridlines","valueAxisMajorGridlineColor","valueAxisMinorGridlineColor","valueAxisMajorGridlineWidthEmu","valueAxisMinorGridlineWidthEmu","valueAxisMajorTickMark","valueAxisMinorTickMark","valueAxisTickLabelPos","valueAxisLineColor","valueAxisLineWidthEmu","valueAxisLineHidden","valueAxisOrientation","valueAxisCrosses","valueAxisCrossBetween"],Tq=["categoryAxisTitle","categoryAxisTitleStyle","categoryAxisTitleRotationDeg","categoryAxisLabelStyle","categoryAxisLabelRotationDeg","categoryAxisHidden","categoryAxisMajorGridlines","categoryAxisMinorGridlines","categoryAxisMajorGridlineColor","categoryAxisMinorGridlineColor","categoryAxisMajorGridlineWidthEmu","categoryAxisMinorGridlineWidthEmu","categoryAxisMajorTickMark","categoryAxisMinorTickMark","categoryAxisTickLabelPos","categoryAxisLineColor","categoryAxisLineWidthEmu","categoryAxisLineHidden","categoryAxisOrientation","categoryAxisNumberFormat"],wq=["categoryAxisTickLabelSkip","categoryAxisTickMarkSkip","categoryAxisLabelOffset","categoryAxisLabelAlign","categoryAxisNoMultiLevelLabel"],vq=["categoryAxisDate","categoryAxisScaling","categoryGroupLevels"],my=[...$s,...Aq,...Tq],fl=[...my,...wq,...vq,"dataTable"],an={combo:[...fl,"grouping","gapWidthPct","overlapPct","dropLines","hiLowLines","lineMarkers","upDownBars","secondaryValueAxis"],bar3D:[...fl,"grouping","gapWidthPct","gapDepthPct","bar3DShape","seriesAxis","view3D"],lineArea3D:[...fl,"grouping","dropLines","gapDepthPct","seriesAxis","view3D"],pie:[...$s,"firstSliceAngleDeg"],ofPie:[...$s,"ofPie"],pie3D:[...$s,"view3D"],doughnut:[...$s,"firstSliceAngleDeg","holeSizePct"],scatter:[...my,"categoryAxisScaling","scatterStyle"],bubble:[...my,"categoryAxisScaling","bubbleScale","bubbleSizeRepresents","bubble3D","showNegativeBubbles"],radar:[...fl,"radarStyle"],stock:[...fl,"dropLines","hiLowLines"],candlestick:[...fl,"dropLines","hiLowLines","upDownBars"],surface:[...fl,"surfaceContour","surfaceWireframe","view3D","seriesAxis"]},py=3,Ho=4,En=e=>new Set(e),Cq={combo:En(an.combo),bar3D:En(an.bar3D),lineArea3D:En(an.lineArea3D),pie:En(an.pie),ofPie:En(an.ofPie),pie3D:En(an.pie3D),doughnut:En(an.doughnut),scatter:En(an.scatter),bubble:En(an.bubble),radar:En(an.radar),stock:En(an.stock),candlestick:En(an.candlestick),surface:En(an.surface)},Lq=e=>{switch(e.kind){case"bar":case"column":return e.view3D!==void 0?"bar3D":"combo";case"line":case"area":return e.view3D!==void 0?"lineArea3D":"combo";case"pie":return e.view3D!==void 0?"pie3D":e.ofPie!==void 0?"ofPie":"pie";case"stock":return e.series.length===Ho?"candlestick":"stock";default:return e.kind}},Pq=new Set(["pie","ofPie","pie3D","doughnut"]),Rq=(e,t)=>{if(Pq.has(t)&&e.series.length!==1||t==="stock"&&e.series.length!==py||t==="candlestick"&&e.series.length!==Ho)return!1;let n=t==="scatter"||t==="bubble";return e.series.every(r=>r.xValues!==void 0===n&&r.bubbleSizes!==void 0==(t==="bubble")&&(t==="combo"||r.chartKind===void 0&&r.secondaryAxis===void 0))},uy=e=>{let t=Lq(e),n=Cq[t];for(let[r,a]of Object.entries(e))if(!(r==="kind"||r==="series"||a===void 0)&&!n.has(r))return!1;if(e.categoryAxisDate===void 0){if(e.categoryAxisScaling!==void 0&&e.kind!=="scatter"&&e.kind!=="bubble")return!1}else if(e.categoryGroupLevels!==void 0)return!1;return Rq(e,t)},Nq=new Set(Object.values(an).flat());var Dq=new TextEncoder,js=e=>Dq.encode(e),_q=e=>e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""),Em=e=>{let t=e,n="";for(;;){if(n=String.fromCharCode(65+t%26)+n,t<26)return n;t=Math.floor(t/26)-1}},ew=(e,t)=>`${Em(t)}${e+1}`,Us=e=>{let t=[];t.push(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
20
|
+
`,'<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">',"<sheetData>"),e.forEach((s,c)=>{t.push(`<row r="${c+1}">`),s.forEach((m,u)=>{m!==null&&t.push(typeof m=="number"?`<c r="${ew(c,u)}"><v>${m}</v></c>`:`<c r="${ew(c,u)}" t="inlineStr"><is><t>${_q(m)}</t></is></c>`)}),t.push("</row>")}),t.push("</sheetData></worksheet>");let n=t.join("");return us([{name:"[Content_Types].xml",data:js(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
21
|
+
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="xml" ContentType="application/xml"/><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/></Types>`)},{name:"_rels/.rels",data:js(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
22
|
+
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>`)},{name:"xl/workbook.xml",data:js(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
23
|
+
<workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"><sheets><sheet name="Sheet1" sheetId="1" r:id="rId1"/></sheets></workbook>`)},{name:"xl/_rels/workbook.xml.rels",data:js(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
24
|
+
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/></Relationships>`)},{name:"xl/worksheets/sheet1.xml",data:js(n)}])},hl=(e,t,n,r,a=n)=>`${e}!$${Em(n)}$${t+1}:$${Em(a)}$${t+r}`,Am=(e,t,n)=>`${e}!$${Em(n)}$${t+1}`;var gl="Sheet1",kq=e=>e.kind==="scatter"||e.kind==="bubble",fy=e=>Number(e),Mq=e=>{let t=[...e.categoryGroupLevels??[]].reverse(),n=t.length+1,r=e.categories.length,a=e.categoryAxisDate!==void 0,i=[[...Array.from({length:n},()=>""),...e.series.map(s=>s.name)]];for(let s=0;s<r;s++){let c=e.categories[s]??"",m=t.map(u=>{let f=u[s]??"";return f===""?null:f});m.push(a?fy(c):c);for(let u of e.series)m.push(u.values[s]??null);i.push(m)}return{grid:i,categories:hl(gl,1,0,r,n-1),series:e.series.map((s,c)=>({name:Am(gl,0,n+c),values:hl(gl,1,n+c,r)}))}},Fq=e=>{let t=e.kind==="bubble",n=t?3:2,r=Math.max(0,...e.series.map(i=>Math.max(i.values.length,i.xValues?.length??0,i.bubbleSizes?.length??0))),a=[];for(let i of e.series)a.push("X",i.name),t&&a.push("Size");let l=[a];for(let i=0;i<r;i++){let s=[];for(let c of e.series)s.push(c.xValues?.[i]??null,c.values[i]??null),t&&s.push(c.bubbleSizes?.[i]??null);l.push(s)}return{grid:l,series:e.series.map((i,s)=>{let c=s*n,m=i.values.length;return{name:Am(gl,0,c+1),xValues:hl(gl,1,c,m),values:hl(gl,1,c+1,m),...t?{bubbleSizes:hl(gl,1,c+2,m)}:{}}})}},yl=e=>kq(e)?Fq(e):Mq(e);var sw=d.chart,dw=d.dml,cw=d.officeDocRels,L=e=>o("c",e,sw),fe=e=>o("a",e,dw),Iq=e=>o("r",e,cw),mw=o("","val",""),Bq=o("","idx",""),B=(e,t)=>h(e,{attrs:[b(mw,String(t))]}),xy=(e,t)=>h(L("pt"),{attrs:[b(Bq,String(e))],children:[h(L("v"),{children:[be(t)]})]}),pw=(e,t)=>{let n=h(L("strCache"),{children:[B(L("ptCount"),t.length),...t.map((r,a)=>xy(a,r))]});return h(L("strRef"),{children:[h(L("f"),{children:[be(e)]}),n]})},uw=(e,t)=>[h(L("formatCode"),{children:[be(t)]}),B(L("ptCount"),e.length),...e.map((n,r)=>n===null?null:xy(r,String(n))).filter(n=>n!==null)],Gs=(e,t,n="General")=>h(L("numRef"),{children:[h(L("f"),{children:[be(e)]}),h(L("numCache"),{children:uw(t,n)})]}),Oq=(e,t,n)=>h(L("multiLvlStrRef"),{children:[h(L("f"),{children:[be(e)]}),h(L("multiLvlStrCache"),{children:[B(L("ptCount"),n),...t.map((r,a)=>h(L("lvl"),{children:r.map((l,i)=>a>0&&l===""?null:xy(i,l)).filter(l=>l!==null)}))]})]}),qs=e=>e.replace(/^#/,"").toUpperCase(),hy=(e,t)=>h(fe("solidFill"),{children:[h(fe("srgbClr"),{attrs:[b(mw,qs(e))],children:t!==void 0?[B(fe("alpha"),Ae(t*1e5,"percent100000","chart series: fillOpacity"))]:[]})]}),Cm=(e,t)=>h(L("spPr"),{children:[hy(e,t)]}),Vs=(e,t,n,r=!1)=>{if(r)return h(L("spPr"),{children:[h(fe("ln"),{children:[h(fe("noFill"))]})]});if(e===void 0&&t===void 0)return null;let a=h(fe("ln"),{attrs:t!==void 0?[b(o("","w",""),String(Mr(t,n)))]:[],children:e!==void 0?[h(fe("solidFill"),{children:[h(fe("srgbClr"),{attrs:[b(o("","val",""),e.replace(/^#/,"").toUpperCase())]})]})]:[]});return h(L("spPr"),{children:[a]})},wm=(e,t,n,r)=>{let a=Vs(t,n,r);return a===null?h(L(e)):h(L(e),{children:[a]})},tw=(e,t)=>{let n=[];return e!==void 0&&n.push(h(fe("solidFill"),{children:[h(fe("srgbClr"),{attrs:[b(o("","val",""),e.replace(/^#/,"").toUpperCase())]})]})),t!==void 0&&n.push(h(fe("ln"),{children:[h(fe("solidFill"),{children:[h(fe("srgbClr"),{attrs:[b(o("","val",""),t.replace(/^#/,"").toUpperCase())]})]})]})),h(L("spPr"),{children:n})},nw=["4472C4","ED7D31","A5A5A5","FFC000","5B9BD5","70AD47"],Xq=(e,t,n,r,a)=>{let l=[t===null?h(fe("noFill")):hy(t)];t!==null&&r!==void 0&&l.push(h(fe("prstDash"),{attrs:[b(o("","val",""),r)]}));let i=n!==void 0?h(fe("ln"),{attrs:[b(o("","w",""),String(Mr(n,"chart series: lineWidthEmu")))],children:l}):h(fe("ln"),{children:l});return h(L("spPr"),{children:[hy(e,a),i]})},$q=(e,t,n,r)=>{let a=[];if(e!==void 0&&a.push(B(L("symbol"),e)),t!==void 0&&a.push(B(L("size"),Math.round(t))),e!=="none"){let l=i=>h(fe("solidFill"),{children:[h(fe("srgbClr"),{attrs:[b(o("","val",""),i)]})]});a.push(h(L("spPr"),{children:[l(n),h(fe("ln"),{children:[l(r)]})]}))}return h(L("marker"),{children:a})},jq=(e,t,n,r)=>{let a=[],l=e?.length??0,i=t?.length??0,s=Math.max(l,i);for(let c=0;c<s;c++){let m=e?.[c]??null,u=t?.[c]??null;if(m===null&&(u===null||!Number.isFinite(u)))continue;let f=[B(L("idx"),c),B(L("bubble3D"),r?"1":"0")];u!==null&&f.push(B(L("explosion"),Math.round(u))),m!==null&&f.push(Cm(m,n)),a.push(h(L("dPt"),{children:f}))}return a},Uq=e=>{let t=[];if(e.name!==void 0&&t.push(h(L("name"),{children:[be(e.name)]})),e.color!==void 0){let n=e.color.replace(/^#/,"").toUpperCase(),r=h(fe("ln"),{children:[h(fe("solidFill"),{children:[h(fe("srgbClr"),{attrs:[b(o("","val",""),n)]})]})]});t.push(h(L("spPr"),{children:[r]}))}return t.push(B(L("trendlineType"),e.type)),e.type==="movingAvg"&&e.period!==void 0&&t.push(B(L("period"),e.period)),e.type==="poly"&&e.order!==void 0&&t.push(B(L("order"),e.order)),e.forward!==void 0&&t.push(B(L("forward"),e.forward)),e.backward!==void 0&&t.push(B(L("backward"),e.backward)),e.displayRSquared&&t.push(B(L("dispRSqr"),"1")),e.displayEquation&&t.push(B(L("dispEq"),"1")),h(L("trendline"),{children:t})},rw=(e,t)=>{let n=[];if(t!==null&&n.push(B(L("errDir"),t)),n.push(B(L("errBarType"),e.barType),B(L("errValType"),e.amount.type)),e.noEndCap!==void 0&&n.push(B(L("noEndCap"),e.noEndCap?"1":"0")),e.amount.type==="cust"){let a=(l,i)=>h(L(l),{children:[h(L("numLit"),{children:uw(i,"General")})]});e.amount.plus!==void 0&&n.push(a("plus",e.amount.plus)),e.amount.minus!==void 0&&n.push(a("minus",e.amount.minus))}else e.amount.type!=="stdErr"&&n.push(B(L("val"),e.amount.value));let r=Vs(e.color,e.lineWidthEmu,"chart series: errorBars.lineWidthEmu");return r!==null&&n.push(r),h(L("errBars"),{children:n})},Gq={bar:"bar",column:"bar",line:"line",stock:"line",area:"area",pie:"pie",doughnut:"pie",scatter:"scatter",bubble:"bubble",radar:"radar",surface:"surface"},qq=new Set(["line","scatter","radar"]),fw=new Set(["bar","line","area","scatter","bubble"]),Hq=fw,Vq=new Set(["bar","bubble"]),zq=new Set(["line","lineMarker","smooth","smoothMarker"]),Wq=new Set(["marker","lineMarker","smoothMarker"]),Yq=(e,t)=>e.categoryAxisDate!==void 0?h(L("cat"),{children:[Gs(t,e.categories.map(fy),e.categoryAxisNumberFormat??"General")]}):e.categoryGroupLevels!==void 0&&e.categoryGroupLevels.length>0?h(L("cat"),{children:[Oq(t,[e.categories,...e.categoryGroupLevels],e.categories.length)]}):h(L("cat"),{children:[pw(t,e.categories)]}),Tm=(e,t)=>Array.from({length:t},(n,r)=>e?.[r]??null),Zq=(e,t,n)=>{let r=e.series[t],a=n.series[t];if(!r||!a)throw new Error("seriesElement: out of range");let l=r.color!==void 0?qs(r.color):nw[t%nw.length]??"4472C4",i=r.chartKind??e.kind,s=Gq[i],c=[B(L("idx"),t),B(L("order"),t),h(L("tx"),{children:[pw(a.name,[r.name])]})],m=s==="scatter"||s==="bubble",u=m?r.values.length:e.categories.length,f=[];if(m){if(a.xValues===void 0)throw new Error("seriesElement: xy series without an x range");if(f.push(h(L("xVal"),{children:[Gs(a.xValues,Tm(r.xValues,u))]}),h(L("yVal"),{children:[Gs(a.values,Tm(r.values,u))]})),s==="bubble"){if(a.bubbleSizes===void 0)throw new Error("seriesElement: bubble series without a size range");f.push(h(L("bubbleSize"),{children:[Gs(a.bubbleSizes,Tm(r.bubbleSizes,u))]}),B(L("bubble3D"),e.bubble3D===!0?"1":"0"))}}else{if(n.categories===void 0)throw new Error("seriesElement: category series without a category range");f.push(Yq(e,n.categories),h(L("val"),{children:[Gs(a.values,Tm(r.values,u))]}))}if(s==="surface")return h(L("ser"),{children:[...c,...f]});let y=e.scatterStyle??"marker",g=e.kind==="stock"||s==="scatter"&&!zq.has(y);if(g||s==="line"||s==="scatter"||s==="radar"||r.lineWidthEmu!==void 0||r.lineColor!==void 0||r.lineDash!==void 0){let E=g?null:r.lineColor!==void 0?qs(r.lineColor):l;c.push(Xq(l,E,r.lineWidthEmu,r.lineDash,r.fillOpacity))}else c.push(Cm(l,r.fillOpacity));if(r.invertIfNegative===!0&&Vq.has(s)&&c.push(B(L("invertIfNegative"),"1")),qq.has(s)){let E=r.markerColor!==void 0?qs(r.markerColor):l,A=r.markerLineColor!==void 0?qs(r.markerLineColor):E,w=e.kind==="stock"||s==="scatter"&&!Wq.has(y)||s==="radar"&&e.radarStyle!=="marker";c.push($q(r.markerSymbol??(w?"none":void 0),r.markerSizePt,E,A))}for(let E of jq(r.pointColors,r.pointExplosions,r.fillOpacity,e.bubble3D===!0))c.push(E);let S=gw(r.dataLabels??(r.pointDataLabels!==void 0?e.dataLabels??lH:void 0),r.pointDataLabels);if(S!==null&&c.push(S),r.trendline&&fw.has(s)&&e.kind!=="stock"&&c.push(Uq(r.trendline)),r.errorBars!==void 0||r.xErrorBars!==void 0){if(!Hq.has(s))throw new Error(`chart: series '${r.name}' sets error bars, which a ${i} series cannot carry (bar / column / line / area / scatter / bubble only)`);if(r.xErrorBars!==void 0&&!m)throw new Error(`chart: series '${r.name}' sets xErrorBars, which only scatter / bubble series have an x channel for`);r.xErrorBars!==void 0&&c.push(rw(r.xErrorBars,"x")),r.errorBars!==void 0&&c.push(rw(r.errorBars,m?"y":null))}if(c.push(...f),s==="line")c.push(B(L("smooth"),r.smooth===!0?"1":"0"));else if(s==="scatter"){let E=r.smooth??(y==="smooth"||y==="smoothMarker");c.push(B(L("smooth"),E?"1":"0"))}return h(L("ser"),{children:c})},Lm=111111111,zs=222222222,Sy=333333333,by=444444444,aw={cat:Lm,val:zs},Kq={cat:Sy,val:by},Jq=new Set(["bar","column","line","area"]),Qq=(e,t)=>e.series[t]?.chartKind??e.kind,eH=e=>{let t=new Map;for(let r=0;r<e.series.length;r++){let a=Qq(e,r),l=e.series[r]?.secondaryAxis===!0,i=`${a}|${l?"1":"0"}`,s=t.get(i);s?s.indices.push(r):t.set(i,{kind:a,secondary:l,indices:[r]})}let n=r=>(r.secondary?2:0)+(r.kind==="line"||r.kind==="area"?1:0);return[...t.values()].sort((r,a)=>n(r)-n(a))},zo=(e,t)=>{if(e===void 0&&t===void 0)return null;let n=[];t!==void 0&&n.push(b(o("","rot",""),String(Math.round(t*6e4)))),n.push(b(o("","vert",""),"horz"));let r=h(fe("bodyPr"),{attrs:n}),{attrs:a,children:l}=vm(e),i=h(fe("defRPr"),{attrs:a,children:l}),s=h(fe("pPr"),{children:[i]});return h(L("txPr"),{children:[r,h(fe("lstStyle")),h(fe("p"),{children:[s]})]})},tH=e=>{let t=e.categoryAxisOrientation??"minMax",n=e.categoryAxisDate,r=[B(L("orientation"),t)];e.categoryAxisScaling?.max!==void 0&&r.push(B(L("max"),e.categoryAxisScaling.max)),e.categoryAxisScaling?.min!==void 0&&r.push(B(L("min"),e.categoryAxisScaling.min));let a=[B(L("axId"),Lm),h(L("scaling"),{children:r}),B(L("delete"),e.categoryAxisHidden?"1":"0"),B(L("axPos"),Ay(e)?"l":"b")];e.categoryAxisMajorGridlines&&a.push(wm("majorGridlines",e.categoryAxisMajorGridlineColor,e.categoryAxisMajorGridlineWidthEmu,"chart: categoryAxisMajorGridlineWidthEmu")),e.categoryAxisMinorGridlines&&a.push(wm("minorGridlines",e.categoryAxisMinorGridlineColor,e.categoryAxisMinorGridlineWidthEmu,"chart: categoryAxisMinorGridlineWidthEmu")),e.categoryAxisTitle!==void 0&&a.push(Pm(e.categoryAxisTitle,e.categoryAxisTitleStyle,e.categoryAxisTitleRotationDeg)),e.categoryAxisNumberFormat!==void 0&&a.push(h(L("numFmt"),{attrs:[b(o("","formatCode",""),e.categoryAxisNumberFormat),b(o("","sourceLinked",""),"0")]})),a.push(B(L("majorTickMark"),e.categoryAxisMajorTickMark??(e.kind==="bar"||e.kind==="column"?"none":"out")),B(L("minorTickMark"),e.categoryAxisMinorTickMark??"none")),e.categoryAxisTickLabelPos!==void 0&&a.push(B(L("tickLblPos"),e.categoryAxisTickLabelPos));let l=Vs(e.categoryAxisLineColor,e.categoryAxisLineWidthEmu,"chart: categoryAxisLineWidthEmu",e.categoryAxisLineHidden===!0);l!==null&&a.push(l);let i=zo(e.categoryAxisLabelStyle,e.categoryAxisLabelRotationDeg);return i&&a.push(i),a.push(B(L("crossAx"),zs)),n!==void 0?(a.push(B(L("auto"),"0")),e.categoryAxisLabelOffset!==void 0&&a.push(B(L("lblOffset"),e.categoryAxisLabelOffset)),n.baseTimeUnit!==void 0&&a.push(B(L("baseTimeUnit"),n.baseTimeUnit)),n.majorUnit!==void 0&&a.push(B(L("majorUnit"),n.majorUnit)),n.majorTimeUnit!==void 0&&a.push(B(L("majorTimeUnit"),n.majorTimeUnit)),n.minorUnit!==void 0&&a.push(B(L("minorUnit"),n.minorUnit)),n.minorTimeUnit!==void 0&&a.push(B(L("minorTimeUnit"),n.minorTimeUnit)),h(L("dateAx"),{children:a})):(e.categoryAxisLabelAlign!==void 0&&a.push(B(L("lblAlgn"),e.categoryAxisLabelAlign)),e.categoryAxisLabelOffset!==void 0&&a.push(B(L("lblOffset"),e.categoryAxisLabelOffset)),e.categoryAxisTickLabelSkip!==void 0&&a.push(B(L("tickLblSkip"),e.categoryAxisTickLabelSkip)),e.categoryAxisTickMarkSkip!==void 0&&a.push(B(L("tickMarkSkip"),e.categoryAxisTickMarkSkip)),e.categoryAxisNoMultiLevelLabel&&a.push(B(L("noMultiLvlLbl"),"1")),h(L("catAx"),{children:a}))},Ey=(e,t)=>{let n=[];e.scaling?.logBase!==void 0&&n.push(B(L("logBase"),e.scaling.logBase)),n.push(B(L("orientation"),e.orientation??"minMax")),e.scaling?.max!==void 0&&n.push(B(L("max"),e.scaling.max)),e.scaling?.min!==void 0&&n.push(B(L("min"),e.scaling.min));let r=[B(L("axId"),t.axId),h(L("scaling"),{children:n}),B(L("delete"),e.hidden?"1":"0"),B(L("axPos"),t.axPos)];e.majorGridlines&&r.push(wm("majorGridlines",e.majorGridlineColor,e.majorGridlineWidthEmu,`chart: ${e.widthFields.majorGridline}`)),e.minorGridlines&&r.push(wm("minorGridlines",e.minorGridlineColor,e.minorGridlineWidthEmu,`chart: ${e.widthFields.minorGridline}`)),e.title!==void 0&&r.push(Pm(e.title,e.titleStyle,e.titleRotationDeg)),e.scaling?.numberFormat!==void 0&&r.push(h(L("numFmt"),{attrs:[b(o("","formatCode",""),e.scaling.numberFormat),b(o("","sourceLinked",""),"0")]})),r.push(B(L("majorTickMark"),e.majorTickMark??"out"),B(L("minorTickMark"),e.minorTickMark??"none")),e.tickLabelPos!==void 0&&r.push(B(L("tickLblPos"),e.tickLabelPos));let a=Vs(e.lineColor,e.lineWidthEmu,`chart: ${e.widthFields.line}`,e.lineHidden===!0);a!==null&&r.push(a);let l=zo(e.labelStyle,e.labelRotationDeg);l&&r.push(l),r.push(B(L("crossAx"),t.crossAxId));let i=e.crosses;return i!==void 0&&(typeof i=="string"?r.push(B(L("crosses"),i)):r.push(B(L("crossesAt"),String(i.at)))),e.crossBetween!==void 0&&r.push(B(L("crossBetween"),e.crossBetween)),e.scaling?.majorUnit!==void 0&&r.push(B(L("majorUnit"),e.scaling.majorUnit)),e.scaling?.minorUnit!==void 0&&r.push(B(L("minorUnit"),e.scaling.minorUnit)),e.scaling?.displayUnits!==void 0&&r.push(h(L("dispUnits"),{children:[B(L("builtInUnit"),e.scaling.displayUnits),...e.scaling.displayUnitsLabel===!0?[h(L("dispUnitsLbl"))]:[]]})),h(L("valAx"),{children:r})},Ay=e=>e.kind==="bar",nH=e=>Ey({scaling:e.valueAxis,orientation:e.valueAxisOrientation,hidden:e.valueAxisHidden,majorGridlines:e.valueAxisMajorGridlines,majorGridlineColor:e.valueAxisMajorGridlineColor,majorGridlineWidthEmu:e.valueAxisMajorGridlineWidthEmu,minorGridlines:e.valueAxisMinorGridlines,minorGridlineColor:e.valueAxisMinorGridlineColor,minorGridlineWidthEmu:e.valueAxisMinorGridlineWidthEmu,title:e.valueAxisTitle,titleStyle:e.valueAxisTitleStyle,titleRotationDeg:e.valueAxisTitleRotationDeg,majorTickMark:e.valueAxisMajorTickMark,minorTickMark:e.valueAxisMinorTickMark,tickLabelPos:e.valueAxisTickLabelPos,lineColor:e.valueAxisLineColor,lineWidthEmu:e.valueAxisLineWidthEmu,lineHidden:e.valueAxisLineHidden,widthFields:{majorGridline:"valueAxisMajorGridlineWidthEmu",minorGridline:"valueAxisMinorGridlineWidthEmu",line:"valueAxisLineWidthEmu"},labelStyle:e.valueAxisLabelStyle,labelRotationDeg:e.valueAxisLabelRotationDeg,crosses:e.valueAxisCrosses,crossBetween:e.valueAxisCrossBetween},{axId:zs,crossAxId:Lm,axPos:Ay(e)?"b":"l"}),rH=e=>Ey({scaling:{...e.categoryAxisScaling,...e.categoryAxisNumberFormat!==void 0?{numberFormat:e.categoryAxisNumberFormat}:{}},orientation:e.categoryAxisOrientation,hidden:e.categoryAxisHidden,majorGridlines:e.categoryAxisMajorGridlines,majorGridlineColor:e.categoryAxisMajorGridlineColor,majorGridlineWidthEmu:e.categoryAxisMajorGridlineWidthEmu,minorGridlines:e.categoryAxisMinorGridlines,minorGridlineColor:e.categoryAxisMinorGridlineColor,minorGridlineWidthEmu:e.categoryAxisMinorGridlineWidthEmu,title:e.categoryAxisTitle,titleStyle:e.categoryAxisTitleStyle,titleRotationDeg:e.categoryAxisTitleRotationDeg,majorTickMark:e.categoryAxisMajorTickMark,minorTickMark:e.categoryAxisMinorTickMark,tickLabelPos:e.categoryAxisTickLabelPos,lineColor:e.categoryAxisLineColor,lineWidthEmu:e.categoryAxisLineWidthEmu,lineHidden:e.categoryAxisLineHidden,widthFields:{majorGridline:"categoryAxisMajorGridlineWidthEmu",minorGridline:"categoryAxisMinorGridlineWidthEmu",line:"categoryAxisLineWidthEmu"},labelStyle:e.categoryAxisLabelStyle,labelRotationDeg:e.categoryAxisLabelRotationDeg,crosses:void 0,crossBetween:"midCat"},{axId:Lm,crossAxId:zs,axPos:"b"}),hw=555555555,aH=e=>{let t=e.seriesAxis??{},n=[B(L("axId"),hw),h(L("scaling"),{children:[B(L("orientation"),t.orientation??"minMax")]}),B(L("delete"),t.hidden?"1":"0"),B(L("axPos"),"b")];t.majorGridlines&&n.push(h(L("majorGridlines"))),t.title!==void 0&&n.push(Pm(t.title,t.titleStyle)),n.push(B(L("majorTickMark"),"out"),B(L("minorTickMark"),"none")),t.tickLabelPos!==void 0&&n.push(B(L("tickLblPos"),t.tickLabelPos));let r=Vs(t.lineColor,void 0,"chart: seriesAxis");r!==null&&n.push(r);let a=zo(t.labelStyle,void 0);return a!==null&&n.push(a),n.push(B(L("crossAx"),zs)),t.tickLabelSkip!==void 0&&n.push(B(L("tickLblSkip"),t.tickLabelSkip)),h(L("serAx"),{children:n})},lH={showValue:!1,showCategory:!1,showSeriesName:!1,showPercent:!1},gw=(e,t=void 0)=>{let n=[];return t?.forEach((r,a)=>{r!==null&&n.push(h(L("dLbl"),{children:[B(L("idx"),a),...r.text!==void 0?[h(L("tx"),{children:[SH(r.text,r.textStyle)]})]:[],...lw(r)]}))}),e&&(n.push(...lw(e)),e.showLeaderLines!==void 0&&n.push(B(L("showLeaderLines"),e.showLeaderLines?"1":"0"))),n.length===0?null:h(L("dLbls"),{children:n})},lw=e=>{let t=[];if(e.numberFormat!==void 0&&t.push(h(L("numFmt"),{attrs:[b(o("","formatCode",""),e.numberFormat),b(o("","sourceLinked",""),"0")]})),e.fillColor!==void 0&&t.push(Cm(e.fillColor)),e.textStyle!==void 0){let n=zo(e.textStyle,void 0);n!==null&&t.push(n)}return e.position!==void 0&&t.push(B(L("dLblPos"),e.position)),t.push(B(L("showLegendKey"),e.showLegendKey?"1":"0"),B(L("showVal"),e.showValue?"1":"0"),B(L("showCatName"),e.showCategory?"1":"0"),B(L("showSerName"),e.showSeriesName?"1":"0"),B(L("showPercent"),e.showPercent?"1":"0"),B(L("showBubbleSize"),e.showBubbleSize?"1":"0")),e.separator!==void 0&&t.push(h(L("separator"),{children:[be(e.separator)]})),t},oH=e=>gw(e.dataLabels),Zn=e=>e.seriesIndices.map(t=>Zq(e.spec,t,e.layout)),xr=e=>{let t=oH(e.spec);return t?[t]:[]},Vo=e=>e.view3D!==void 0,yw=e=>e.kind==="surface"?!0:Vo(e)?e.kind==="line"?!0:(e.kind==="bar"||e.kind==="column"||e.kind==="area")&&e.grouping==="standard":!1,Yn=e=>[B(L("axId"),e.axes.cat),B(L("axId"),e.axes.val),...yw(e.spec)?[B(L("axId"),hw)]:[]],Ty=e=>e.gapDepthPct!==void 0?[B(L("gapDepth"),Gi(e.gapDepthPct,"chart: gapDepthPct"))]:[],ow=(e,t)=>{let{spec:n}=e,r=n.grouping??"clustered",a=[B(L("barDir"),t),B(L("grouping"),r),B(L("varyColors"),n.varyColors?"1":"0"),...Zn(e),...xr(e)];if(n.gapWidthPct!==void 0&&a.push(B(L("gapWidth"),Gi(n.gapWidthPct,"chart: gapWidthPct"))),Vo(n))return a.push(...Ty(n)),n.bar3DShape!==void 0&&a.push(B(L("shape"),n.bar3DShape)),a.push(...Yn(e)),h(L("bar3DChart"),{children:a});let l=n.overlapPct??(r==="stacked"||r==="percentStacked"?100:void 0);return l!==void 0&&a.push(B(L("overlap"),ib(l,"chart: overlapPct"))),a.push(...Yn(e)),h(L("barChart"),{children:a})},xw=e=>e.grouping==="stacked"||e.grouping==="percentStacked"?e.grouping:"standard",Sw=e=>{let t=(n,r)=>h(L(n),{children:r!==void 0?[Cm(r)]:[]});return h(L("upDownBars"),{children:[...e.gapWidthPct!==void 0?[B(L("gapWidth"),Gi(e.gapWidthPct,"chart: upDownBars.gapWidthPct"))]:[],t("upBars",e.upColor),t("downBars",e.downColor)]})},iH=e=>{let{spec:t}=e,n=[B(L("grouping"),xw(t)),B(L("varyColors"),t.varyColors?"1":"0"),...Zn(e),...xr(e)];if(t.dropLines&&n.push(h(L("dropLines"))),Vo(t)){if(t.hiLowLines||t.upDownBars!==void 0)throw new Error("chart: hiLowLines / upDownBars are not available on a 3-D line chart");return n.push(...Ty(t),...Yn(e)),h(L("line3DChart"),{children:n})}return t.hiLowLines&&n.push(h(L("hiLowLines"))),t.upDownBars!==void 0&&n.push(Sw(t.upDownBars)),n.push(B(L("marker"),t.lineMarkers===!1?"0":"1"),...Yn(e)),h(L("lineChart"),{children:n})},sH=e=>{let{spec:t}=e,n=[B(L("grouping"),xw(t)),B(L("varyColors"),t.varyColors?"1":"0"),...Zn(e),...xr(e)];return t.dropLines&&t.kind==="area"&&n.push(h(L("dropLines"))),Vo(t)?(n.push(...Ty(t),...Yn(e)),h(L("area3DChart"),{children:n})):(n.push(...Yn(e)),h(L("areaChart"),{children:n}))},bw=e=>{if(e.series.length!==1)throw new Error(`${e.kind} chart requires exactly one series`)},Ew=e=>e.firstSliceAngleDeg!==void 0?[B(L("firstSliceAng"),db(e.firstSliceAngleDeg,"chart: firstSliceAngleDeg"))]:[],dH=(e,t)=>{let n=[B(L("ofPieType"),t.type),B(L("varyColors"),"1"),...Zn(e),...xr(e)];if(t.gapWidthPct!==void 0&&n.push(B(L("gapWidth"),Gi(t.gapWidthPct,"chart: ofPie.gapWidthPct"))),t.customSplit!==void 0&&t.splitType!=="cust")throw new Error("chart: ofPie.customSplit requires ofPie.splitType 'cust'");return t.splitType!==void 0&&n.push(B(L("splitType"),t.splitType)),t.splitPos!==void 0&&n.push(B(L("splitPos"),t.splitPos)),t.customSplit!==void 0&&n.push(h(L("custSplit"),{children:t.customSplit.map(r=>B(L("secondPiePt"),r))})),t.secondPieSizePct!==void 0&&n.push(B(L("secondPieSize"),Ae(t.secondPieSizePct,"secondPieSize","chart: ofPie.secondPieSizePct"))),t.seriesLines&&n.push(h(L("serLines"))),h(L("ofPieChart"),{children:n})},cH=e=>{let{spec:t}=e;if(bw(t),t.ofPie!==void 0){if(Vo(t))throw new Error("chart: ofPie and view3D cannot be combined");return dH(e,t.ofPie)}let n=[B(L("varyColors"),"1"),...Zn(e),...xr(e)];if(Vo(t)){if(t.firstSliceAngleDeg!==void 0)throw new Error("chart: a 3-D pie has no firstSliceAngleDeg; rotate it with view3D.rotY");return h(L("pie3DChart"),{children:n})}return n.push(...Ew(t)),h(L("pieChart"),{children:n})},mH=e=>{let{spec:t}=e;return bw(t),h(L("doughnutChart"),{children:[B(L("varyColors"),"1"),...Zn(e),...xr(e),...Ew(t),B(L("holeSize"),sb(t.holeSizePct??50,"chart: holeSizePct"))]})},pH=e=>h(L("scatterChart"),{children:[B(L("scatterStyle"),e.spec.scatterStyle??"marker"),B(L("varyColors"),e.spec.varyColors?"1":"0"),...Zn(e),...xr(e),...Yn(e)]}),uH=e=>{let{spec:t}=e,n=[B(L("varyColors"),t.varyColors?"1":"0"),...Zn(e),...xr(e)];return t.bubbleScale!==void 0&&n.push(B(L("bubbleScale"),Ae(t.bubbleScale,"bubbleScale","chart: bubbleScale"))),t.showNegativeBubbles!==void 0&&n.push(B(L("showNegBubbles"),t.showNegativeBubbles?"1":"0")),t.bubbleSizeRepresents!==void 0&&n.push(B(L("sizeRepresents"),t.bubbleSizeRepresents==="width"?"w":"area")),n.push(...Yn(e)),h(L("bubbleChart"),{children:n})},fH=e=>h(L("radarChart"),{children:[B(L("radarStyle"),e.spec.radarStyle??"standard"),B(L("varyColors"),e.spec.varyColors?"1":"0"),...Zn(e),...xr(e),...Yn(e)]}),hH=e=>{let{spec:t}=e,n=t.series.length;if(n!==py&&n!==Ho)throw new Error(`stock chart requires 3 series (high, low, close) or 4 (open, high, low, close); got ${n}`);let r=[...Zn(e),...xr(e)];if(t.dropLines&&r.push(h(L("dropLines"))),t.hiLowLines!==!1&&r.push(h(L("hiLowLines"))),t.upDownBars!==void 0&&n!==Ho)throw new Error("stock chart: upDownBars require the 4-series form (open, high, low, close)");return n===Ho&&r.push(Sw(t.upDownBars??{})),r.push(...Yn(e)),h(L("stockChart"),{children:r})},gH=e=>{let{spec:t}=e,n=[];return t.surfaceWireframe!==void 0&&n.push(B(L("wireframe"),t.surfaceWireframe?"1":"0")),n.push(...Zn(e),...Yn(e)),h(L(t.surfaceContour===!0?"surfaceChart":"surface3DChart"),{children:n})},iw=(e,t)=>{switch(t){case"column":return ow(e,"col");case"bar":return ow(e,"bar");case"line":return iH(e);case"area":return sH(e);case"pie":return cH(e);case"doughnut":return mH(e);case"scatter":return pH(e);case"bubble":return uH(e);case"radar":return fH(e);case"stock":return hH(e);case"surface":return gH(e);default:{let n=t;throw new Error(`unsupported chart kind: ${String(n)}`)}}},yH=e=>{let t=e.secondaryValueAxis??{};return Ey({scaling:Sm(e.secondaryValueAxis),orientation:void 0,hidden:void 0,majorGridlines:t.majorGridlines,majorGridlineColor:t.majorGridlineColor,majorGridlineWidthEmu:t.majorGridlineWidthEmu,minorGridlines:void 0,minorGridlineColor:void 0,minorGridlineWidthEmu:void 0,title:t.title,titleStyle:t.titleStyle,titleRotationDeg:void 0,majorTickMark:t.majorTickMark,minorTickMark:t.minorTickMark,tickLabelPos:t.tickLabelPos,lineColor:t.lineColor,lineWidthEmu:t.lineWidthEmu,lineHidden:void 0,widthFields:{majorGridline:"secondaryValueAxis.majorGridlineWidthEmu",minorGridline:"secondaryValueAxis.minorGridlineWidthEmu",line:"secondaryValueAxis.lineWidthEmu"},labelStyle:t.labelStyle,labelRotationDeg:void 0,crosses:"max",crossBetween:t.crossBetween},{axId:by,crossAxId:Sy,axPos:"r"})},xH=e=>h(L("catAx"),{children:[B(L("axId"),Sy),h(L("scaling"),{children:[B(L("orientation"),"minMax")]}),B(L("delete"),"1"),B(L("axPos"),Ay(e)?"l":"b"),B(L("crossAx"),by)]}),vm=e=>{let t=[],n=[];if(e?.sizePt!==void 0&&t.push(b(o("","sz",""),String(Math.round(e.sizePt*100)))),e?.bold===!0&&t.push(b(o("","b",""),"1")),e?.bold===!1&&t.push(b(o("","b",""),"0")),e?.italic===!0&&t.push(b(o("","i",""),"1")),e?.italic===!1&&t.push(b(o("","i",""),"0")),e?.color!==void 0){let r=e.color.startsWith("#")?e.color.slice(1):e.color;n.push(h(fe("solidFill"),{children:[h(fe("srgbClr"),{attrs:[b(o("","val",""),r.toUpperCase())]})]}))}if(e?.font!==void 0){let r=b(o("","typeface",""),e.font);n.push(h(fe("latin"),{attrs:[r]})),n.push(h(fe("ea"),{attrs:[r]}))}return e?.fontComplexScript!==void 0&&n.push(h(fe("cs"),{attrs:[b(o("","typeface",""),e.fontComplexScript)]})),{attrs:t,children:n}},gy=(e,t,n)=>h(L("layout"),{children:[h(L("manualLayout"),{children:[...n!==void 0?[B(L("layoutTarget"),n)]:[],B(L("xMode"),"edge"),B(L("yMode"),"edge"),B(L("x"),e.x),B(L("y"),e.y),...t!==void 0?[B(L("w"),t.w),B(L("h"),t.h)]:[]]})]}),SH=(e,t)=>{let n=h(fe("r"),{children:[...t!==void 0?[h(fe("rPr"),vm(t))]:[],h(fe("t"),{children:[be(e)]})]}),r=t!==void 0?[h(fe("pPr"),{children:[h(fe("defRPr"),vm(t))]})]:[];return h(L("rich"),{children:[h(fe("bodyPr")),h(fe("lstStyle")),h(fe("p"),{children:[...r,n]})]})},Pm=(e,t,n,r)=>{let a=h(fe("pPr"),{children:[h(fe("defRPr"))]}),{attrs:l,children:i}=vm(t),s=h(fe("rPr"),{attrs:l,children:i}),c=h(fe("r"),{children:[s,h(fe("t"),{children:[be(e)]})]}),m=h(fe("p"),{children:[a,c]}),u=h(L("rich"),{children:[h(fe("bodyPr"),{attrs:[...n!==void 0?[b(o("","rot",""),String(Math.round(n*6e4)))]:[],b(o("","spcFirstLastPara",""),"1"),b(o("","vertOverflow",""),"ellipsis"),...n!==void 0?[b(o("","vert",""),"horz")]:[],b(o("","wrap",""),"square"),b(o("","anchor",""),"ctr"),b(o("","anchorCtr",""),"1")]}),h(fe("lstStyle")),m]});return h(L("title"),{children:[h(L("tx"),{children:[u]}),...r?.layout!==void 0?[gy(r.layout)]:[],B(L("overlay"),r?.overlay===!0?"1":"0")]})},bH=e=>e.kind==="surface"&&e.surfaceContour===!0?{rotX:90,rotY:0,rightAngleAxes:!1,perspective:0}:e.kind==="pie"?{rotX:30,rotY:0,rightAngleAxes:!1}:e.kind==="surface"?{rotX:15,rotY:20,rightAngleAxes:!1,perspective:30}:{rotX:15,rotY:20,rightAngleAxes:!0},EH=e=>{let t={...bH(e),...e.view3D},n=[];return t.rotX!==void 0&&n.push(B(L("rotX"),Ae(t.rotX,"rotX","chart: view3D.rotX"))),t.heightPercent!==void 0&&n.push(B(L("hPercent"),Ae(t.heightPercent,"heightPercent","chart: view3D.heightPercent"))),t.rotY!==void 0&&n.push(B(L("rotY"),Ae(t.rotY,"rotY","chart: view3D.rotY"))),t.depthPercent!==void 0&&n.push(B(L("depthPercent"),Ae(t.depthPercent,"depthPercent","chart: view3D.depthPercent"))),t.rightAngleAxes!==void 0&&n.push(B(L("rAngAx"),t.rightAngleAxes?"1":"0")),t.perspective!==void 0&&n.push(B(L("perspective"),Ae(t.perspective,"perspective","chart: view3D.perspective"))),h(L("view3D"),{children:n})},AH=new Set(["bar","column","line","area","pie","surface"]),yy=new Set(["pie","doughnut"]),Hs=new Set(["scatter","bubble"]),TH=(e,t)=>{if(t&&!Jq.has(e.kind))throw new Error(`chart kind '${e.kind}' does not support per-series chartKind / secondaryAxis (combo charts require a bar / column / line / area base kind)`);if(e.view3D!==void 0){if(!AH.has(e.kind))throw new Error(`chart kind '${e.kind}' has no 3-D variant; view3D applies to bar / column / line / area / pie / surface`);if(t)throw new Error("chart: view3D cannot be combined with a combo chart")}if((e.bar3DShape!==void 0||e.gapDepthPct!==void 0)&&e.view3D===void 0)throw new Error("chart: bar3DShape / gapDepthPct require view3D");if(e.ofPie!==void 0&&e.kind!=="pie")throw new Error(`chart: ofPie applies to kind 'pie', not '${e.kind}'`);if(e.dataTable!==void 0&&(yy.has(e.kind)||Hs.has(e.kind)))throw new Error(`chart kind '${e.kind}' cannot show a data table`);if(e.categoryAxisDate!==void 0){if(yy.has(e.kind)||Hs.has(e.kind))throw new Error(`chart kind '${e.kind}' has no category axis to make a date axis of`);if(e.categoryGroupLevels!==void 0)throw new Error("chart: a date axis cannot have categoryGroupLevels");e.categories.forEach((n,r)=>{if(n.trim()===""||!Number.isFinite(Number(n)))throw new Error(`chart: categories[${r}] is ${JSON.stringify(n)}; a date axis needs date serial numbers (e.g. "45292" for 2024-01-01)`)})}if(e.categoryAxisScaling!==void 0&&e.categoryAxisDate===void 0&&!Hs.has(e.kind))throw new Error("chart: categoryAxisScaling needs a numeric horizontal axis \u2014 a scatter / bubble chart or a date axis");e.categoryGroupLevels?.forEach((n,r)=>{if(n.length!==e.categories.length)throw new Error(`chart: categoryGroupLevels[${r}] has ${n.length} entries for ${e.categories.length} categories`)}),Hs.has(e.kind)&&e.series.forEach(n=>{if(n.xValues===void 0)throw new Error(`chart: ${e.kind} series '${n.name}' needs xValues`);if(e.kind==="bubble"&&n.bubbleSizes===void 0)throw new Error(`chart: bubble series '${n.name}' needs bubbleSizes`)})},wH=e=>{let t=[B(L("showHorzBorder"),e.showHorizontalBorder===!1?"0":"1"),B(L("showVertBorder"),e.showVerticalBorder===!1?"0":"1"),B(L("showOutline"),e.showOutline===!1?"0":"1"),B(L("showKeys"),e.showKeys===!1?"0":"1")],n=zo(e.textStyle,void 0);return n!==null&&t.push(n),h(L("dTable"),{children:t})},Rm=e=>{let t=e.series.some(g=>g.chartKind!==void 0||g.secondaryAxis===!0);TH(e,t);let n=yl(e),r,a=!1;if(t){let g=eH(e);a=g.some(S=>S.secondary),r=g.map(S=>iw({spec:e,layout:n,seriesIndices:S.indices,axes:S.secondary?Kq:aw},S.kind))}else r=[iw({spec:e,layout:n,seriesIndices:e.series.map((g,S)=>S),axes:aw},e.kind)];let l=e.plotAreaLayout,i=[l!==void 0?gy(l,l,l.target):h(L("layout")),...r];yy.has(e.kind)||(i.push(Hs.has(e.kind)?rH(e):tH(e),nH(e)),yw(e)&&i.push(aH(e)),a&&i.push(yH(e),xH(e))),e.dataTable!==void 0&&i.push(wH(e.dataTable)),(e.plotAreaFill!==void 0||e.plotAreaStrokeColor!==void 0)&&i.push(tw(e.plotAreaFill,e.plotAreaStrokeColor));let s=h(L("plotArea"),{children:i}),c=[];if(e.title!==void 0&&c.push(Pm(e.title,e.titleStyle,void 0,{...e.titleOverlay!==void 0?{overlay:e.titleOverlay}:{},...e.titleLayout!==void 0?{layout:e.titleLayout}:{}})),c.push(B(L("autoTitleDeleted"),e.title!==void 0?"0":"1")),(e.view3D!==void 0||e.kind==="surface")&&c.push(EH(e)),c.push(s),e.legend!==void 0&&e.legend.position!==null){let g=[B(L("legendPos"),e.legend.position)];for(let S of e.legend.hiddenIndices??[])g.push(h(L("legendEntry"),{children:[B(L("idx"),S),B(L("delete"),"1")]}));if(e.legend.layout!==void 0&&g.push(gy(e.legend.layout,e.legend.layout)),g.push(B(L("overlay"),e.legend.overlay?"1":"0")),e.legend.textStyle!==void 0){let S=zo(e.legend.textStyle,void 0);S!==null&&g.push(S)}c.push(h(L("legend"),{children:g}))}c.push(B(L("plotVisOnly"),e.plotVisibleCellsOnly===!1?"0":"1"),B(L("dispBlanksAs"),e.dispBlanksAs??"gap"));let m=h(L("chart"),{children:c}),u=h(L("externalData"),{attrs:[b(Iq("id"),"rId1")],children:[B(L("autoUpdate"),"0")]}),f=[];e.date1904&&f.push(B(L("date1904"),"1")),e.language!==void 0&&f.push(B(L("lang"),e.language)),e.roundedCorners&&f.push(B(L("roundedCorners"),"1")),e.chartStyle!==void 0&&f.push(B(L("style"),Math.round(e.chartStyle))),f.push(m),(e.chartAreaFill!==void 0||e.chartAreaStrokeColor!==void 0)&&f.push(tw(e.chartAreaFill,e.chartAreaStrokeColor)),f.push(u);let y=h(L("chartSpace"),{prefixDecls:new Map([["c",sw],["a",dw],["r",cw]]),children:f});return{kind:"document",decl:{version:"1.0",encoding:"UTF-8",standalone:"yes"},prolog:[],root:y,epilog:[]}};var $=d.chart,He=d.dml,vH=o("c","chartSpace",$),CH=o("c","chart",$),LH=o("c","plotArea",$),Aw=o("c","ser",$),Zs=o("c","tx",$),PH=o("c","cat",$),RH=o("c","val",$),NH=o("c","strRef",$),DH=o("c","numRef",$),_H=o("c","strCache",$),kH=o("c","numCache",$),MH=o("c","strLit",$),FH=o("c","numLit",$),Dw=o("c","multiLvlStrRef",$),_w=o("c","multiLvlStrCache",$),kw=o("c","lvl",$),IH=o("c","pt",$),BH=o("c","ptCount",$),Dm=1048576,OH=o("c","v",$),Tw=o("c","dLbls",$),XH=o("c","dLbl",$),wy=o("c","valAx",$),ga=o("c","title",$),_m=o("c","rich",$),Mw=o("a","t",He),Ly=o("a","p",He),Py=o("a","r",He),Ft=o("c","spPr",$),Kn=o("a","solidFill",He),Sr=o("a","srgbClr",He),oe=o("","val",""),$H=o("","idx",""),jH=e=>e==="bar"||e==="column"||e==="line"||e==="area",UH=[{localName:"barChart",kind:"column"},{localName:"bar3DChart",kind:"column"},{localName:"lineChart",kind:"line"},{localName:"line3DChart",kind:"line"},{localName:"pieChart",kind:"pie"},{localName:"pie3DChart",kind:"pie"},{localName:"ofPieChart",kind:"pie"},{localName:"doughnutChart",kind:"doughnut"},{localName:"areaChart",kind:"area"},{localName:"area3DChart",kind:"area"},{localName:"scatterChart",kind:"scatter"},{localName:"bubbleChart",kind:"bubble"},{localName:"radarChart",kind:"radar"},{localName:"stockChart",kind:"stock"},{localName:"surfaceChart",kind:"surface"},{localName:"surface3DChart",kind:"surface"}],GH=(e,t)=>{for(let n of e.children)if(!(n.kind!=="element"||n.name.namespaceURI!==$)&&t.includes(n.name.localName))return n;return null},qH=e=>{let t=p(e,BH),n=t!==null?x(t,oe):null;return n!==null?Number.parseInt(n,10):Number.NaN},Yo=e=>{let t=x(e,oe);return t===null||t==="1"||t==="true"},Ry=(e,t)=>{if(e===null||!/^\d+$/.test(e))return null;let n=Number.parseInt(e,10);return n<t?n:null},Fw=(e,t)=>{let n=p(e,o("c","idx",$));return Ry(n!==null?x(n,oe):null,t)},Wo=(e,t=e)=>{let n=[],r=qH(t),a=Number.isFinite(r)?Math.min(r,Dm):Dm;for(let l of Q(e,IH)){let i=Ry(x(l,$H),a);if(i===null)continue;let s=p(l,OH);if(s===null)continue;let c="";for(let m of s.children)(m.kind==="text"||m.kind==="cdata")&&(c+=m.data);n[i]=c}if(Number.isFinite(r)&&r<=Dm)for(let l=0;l<r;l++)n[l]===void 0&&(n[l]="");return n},HH=e=>{let t=p(e,NH);if(t){let a=p(t,_H);if(a)return Wo(a)}let n=p(e,MH);if(n)return Wo(n);let r=p(e,Dw);if(r){let a=p(r,_w),l=a?p(a,kw):null;if(l&&a)return Wo(l,a)}return null},Ny=e=>HH(e),Iw=e=>{let t=p(e,DH),n=null;if(t){let r=p(t,kH);r&&(n=Wo(r))}if(!n){let r=p(e,FH);r&&(n=Wo(r))}return n?n.map(r=>{if(r===void 0||r==="")return null;let a=Number.parseFloat(r);return Number.isFinite(a)?a:null}):null},Nm=e=>Iw(e),VH=e=>{let t=p(e,Zs);return t?Ny(t)?.[0]??"":""},zH=(e,t)=>{let n=[],r=[],a=!1,l=!1;for(let i of e.children){if(i.kind!=="element"||i.name.namespaceURI!==$||i.name.localName!=="dPt")continue;let s=Fw(i,t);if(s===null)continue;let c=p(i,Ft);if(c){let u=p(c,Kn);if(u){let f=p(u,Sr);if(f){let y=x(f,oe);y!==null&&(n[s]=`#${y.toUpperCase()}`,a=!0)}}}let m=p(i,o("c","explosion",$));if(m){let u=x(m,oe);if(u!==null){let f=Number.parseInt(u,10);Number.isFinite(f)&&f>0&&(r[s]=f,l=!0)}}}return{colors:a?n:void 0,explosions:l?r:void 0}},WH=e=>{let t=p(e,o("c","trendline",$));if(!t)return;let n,r=p(t,o("c","name",$));if(r){let w="";for(let T of r.children)(T.kind==="text"||T.kind==="cdata")&&(w+=T.data);w.length>0&&(n=w)}let a=p(t,o("c","trendlineType",$)),l=a?x(a,oe):null,i;switch(l){case"exp":case"log":case"poly":case"power":case"movingAvg":case"linear":i=l;break;default:i="linear"}let s;if(i==="movingAvg"){let w=p(t,o("c","period",$));if(w){let T=x(w,oe);if(T!==null){let v=Number.parseInt(T,10);Number.isFinite(v)&&v>0&&(s=v)}}}let c;if(i==="poly"){let w=p(t,o("c","order",$));if(w){let T=x(w,oe);if(T!==null){let v=Number.parseInt(T,10);Number.isFinite(v)&&v>=2&&(c=v)}}}let m,u=p(t,Ft);if(u){let w=p(u,o("a","ln",He));if(w){let T=p(w,Kn);if(T){let v=p(T,Sr);if(v){let C=x(v,oe);C!==null&&(m=`#${C.toUpperCase()}`)}}}}let f=w=>{let T=p(t,o("c",w,$));if(!T)return;let v=x(T,oe);if(v===null)return;let C=Number.parseFloat(v);return Number.isFinite(C)&&C>0?C:void 0},y=f("forward"),g=f("backward"),S=w=>{let T=p(t,o("c",w,$));if(!T)return;let v=x(T,oe);return v===null||v==="1"||v==="true"?!0:void 0},E=S("dispEq"),A=S("dispRSqr");return{...n!==void 0?{name:n}:{},type:i,...s!==void 0?{period:s}:{},...c!==void 0?{order:c}:{},...m!==void 0?{color:m}:{},...y!==void 0?{forward:y}:{},...g!==void 0?{backward:g}:{},...E===!0?{displayEquation:!0}:{},...A===!0?{displayRSquared:!0}:{}}},YH=e=>{let t=p(e,Ft);if(!t)return;let n=p(t,Kn);if(!n)return;let r=p(n,Sr);if(!r)return;let a=x(r,oe);return a!==null?`#${a.toUpperCase()}`:void 0},Zo=e=>{let t=e!==null?p(e,Kn):null,n=t!==null?p(t,Sr):null,r=n!==null?x(n,oe):null;return r!==null?`#${r.toUpperCase()}`:void 0},ZH=e=>{let t=p(e,o("c","marker",$));if(!t)return{};let n={},r=p(t,Ft),a=Zo(r);a!==void 0&&(n.markerColor=a);let l=Zo(r!==null?p(r,o("a","ln",He)):null);l!==void 0&&(n.markerLineColor=l);let i=p(t,o("c","symbol",$));if(i){let c=x(i,oe);(c==="none"||c==="auto"||c==="circle"||c==="square"||c==="diamond"||c==="triangle"||c==="star"||c==="x"||c==="plus"||c==="dash"||c==="dot"||c==="picture")&&(n.markerSymbol=c)}let s=p(t,o("c","size",$));if(s){let c=x(s,oe);if(c!==null){let m=Number.parseInt(c,10);Number.isFinite(m)&&m>0&&(n.markerSizePt=m)}}return n},KH=e=>{let t=p(e,Ft);if(!t)return{};let n=p(t,o("a","ln",He));if(!n)return{};let r={},a=p(n,Kn),l=a!==null?p(a,Sr):null,i=l!==null?x(l,oe):null;i!==null&&(r.lineColor=`#${i.toUpperCase()}`);let s=x(n,o("","w",""));if(s!==null){let m=Number.parseInt(s,10);Number.isFinite(m)&&m>=0&&(r.lineWidthEmu=m)}let c=p(n,o("a","prstDash",He));if(c){let m=x(c,oe);m!==null&&(r.lineDash=m)}return r},Ws=e=>{let t=p(e,ga);if(!t)return;let n=p(t,Zs);if(!n)return;let r=p(n,_m);if(r){let l="";for(let i of Q(r,Ly))for(let s of Q(i,Py)){let c=p(s,Mw);if(c)for(let m of c.children)(m.kind==="text"||m.kind==="cdata")&&(l+=m.data)}if(l.length>0)return l}let a=Ny(n);if(a&&a.length>0){let l=a.filter(i=>i.length>0).join(" ");if(l.length>0)return l}},JH=o("a","rPr",He),QH=o("a","defRPr",He),eV=o("a","pPr",He),tV=o("a","srgbClr",He),nV=o("a","latin",He),rV=o("a","cs",He),ww=o("","typeface",""),vw=e=>{let t,n,r,a,l,i,s=x(e,o("","sz",""));if(s!==null){let g=Number.parseInt(s,10);Number.isFinite(g)&&g>0&&(r=g/100)}let c=x(e,o("","b",""));c!==null&&(a=c==="1"||c==="true");let m=x(e,o("","i",""));m!==null&&(l=m==="1"||m==="true");let u=p(e,Kn);if(u){let g=p(u,tV);if(g){let S=x(g,oe);S!==null&&(i=`#${S.toUpperCase()}`)}}let f=p(e,nV);if(f){let g=x(f,ww);g!==null&&g!==""&&(t=g)}let y=p(e,rV);if(y){let g=x(y,ww);g!==null&&g!==""&&(n=g)}if(!(t===void 0&&n===void 0&&r===void 0&&a===void 0&&l===void 0&&i===void 0))return{...t!==void 0?{font:t}:{},...n!==void 0?{fontComplexScript:n}:{},...r!==void 0?{sizePt:r}:{},...a!==void 0?{bold:a}:{},...l!==void 0?{italic:l}:{},...i!==void 0?{color:i}:{}}},ya=e=>{for(let t of Q(e,Ly)){let n;for(let i of Q(t,Py)){let s=p(i,JH);if(n=s!==null?vw(s):void 0,n!==void 0)break}let r=p(t,eV),a=r!==null?p(r,QH):null,l=a!==null?vw(a):void 0;if(!(n===void 0&&l===void 0))return{...l,...n}}},Ys=e=>{let t=p(e,Zs);if(!t)return;let n=p(t,_m);if(n)return ya(n)},aV=e=>{let t=p(e,ga);if(t)return Ys(t)},Cw=e=>{let t=p(e,Zs);if(!t)return;let n=p(t,_m);if(!n)return;let r=p(n,o("a","bodyPr",He));if(!r)return;let a=x(r,o("","rot",""));if(a===null)return;let l=Number.parseInt(a,10);return Number.isFinite(l)?l/6e4:void 0},lV=e=>{let t=p(e,o("c","dLblPos",$));if(!t)return;let n=x(t,oe);switch(n){case"ctr":case"inEnd":case"outEnd":case"inBase":case"t":case"b":case"l":case"r":case"bestFit":return n;default:return}},oV=e=>{let t=p(e,o("c","separator",$));if(!t)return;let n="";for(let r of t.children)(r.kind==="text"||r.kind==="cdata")&&(n+=r.data);return n.length>0?n:void 0},Bw=(e,t)=>{let n=(g,S)=>{let E=p(e,o("c",g,$));return E!==null?Yo(E):S},r=p(e,o("c","numFmt",$)),a;if(r){let g=x(r,o("","formatCode",""));g!==null&&g.length>0&&g!=="General"&&(a=g)}let l=lV(e),i=oV(e),s=p(e,o("c","txPr",$)),c=s?ya(s):void 0,m=n("showBubbleSize",t?.showBubbleSize??!1),u=n("showLegendKey",t?.showLegendKey??!1),f=p(e,Ft),y=f!==null?Zo(f):void 0;return{showValue:n("showVal",t?.showValue??!1),showCategory:n("showCatName",t?.showCategory??!1),showSeriesName:n("showSerName",t?.showSeriesName??!1),showPercent:n("showPercent",t?.showPercent??!1),...a!==void 0?{numberFormat:a}:{},...l!==void 0?{position:l}:{},...i!==void 0?{separator:i}:{},...c!==void 0?{textStyle:c}:{},...m?{showBubbleSize:m}:{},...u?{showLegendKey:u}:{},...y!==void 0?{fillColor:y}:{}}},iV=e=>{let t=p(e,Zs),n=t!==null?p(t,_m):null;if(n===null)return;let r=[];for(let a of Q(n,Ly)){let l="";for(let i of Q(a,Py)){let s=p(i,Mw);if(s!==null)for(let c of s.children)(c.kind==="text"||c.kind==="cdata")&&(l+=c.data)}r.push(l)}return r.join(`
|
|
25
|
+
`)},Lw=e=>{let t=Bw(e,void 0),n=p(e,o("c","showLeaderLines",$));return n!==null?{...t,showLeaderLines:Yo(n)}:t},sV=e=>e.children.some(t=>t.kind==="element"&&t.name.namespaceURI===$&&t.name.localName!=="dLbl"&&t.name.localName!=="extLst"),dV={showValue:!1,showCategory:!1,showSeriesName:!1,showPercent:!1},cV=(e,t,n)=>{let r=[],a=!1;for(let l of Q(e,XH)){let i=Fw(l,t);if(i===null)continue;let s=p(l,o("c","delete",$));if(s!==null&&Yo(s))r[i]=dV;else{let c=Bw(l,n),m=iV(l);r[i]=m!==void 0?{...c,text:m}:c}a=!0}if(a){for(let l=0;l<r.length;l++)r[l]??=null;return r}},vy=e=>{let t,n,r,a,l,i,s=!1,c=p(e,o("c","scaling",$)),m=(g,S)=>{let E=p(g,o("c",S,$));if(!E)return;let A=x(E,oe);if(A===null)return;let w=Number.parseFloat(A);return Number.isFinite(w)?w:void 0};if(c){t=m(c,"min"),n=m(c,"max");let g=m(c,"logBase");g!==void 0&&g>=2&&g<=1e3&&(l=g)}r=m(e,"majorUnit"),a=m(e,"minorUnit");let u=p(e,o("c","dispUnits",$));if(u){let g=p(u,o("c","builtInUnit",$));if(g){let S=x(g,oe);switch(S){case"hundreds":case"thousands":case"tenThousands":case"hundredThousands":case"millions":case"tenMillions":case"hundredMillions":case"billions":case"trillions":i=S;break}}s=p(u,o("c","dispUnitsLbl",$))!==null}let f,y=p(e,o("c","numFmt",$));if(y){let g=x(y,o("","formatCode",""));g!==null&&g.length>0&&g!=="General"&&(f=g)}if(t!==void 0||n!==void 0||r!==void 0||a!==void 0||f!==void 0||l!==void 0||i!==void 0)return{...t!==void 0?{min:t}:{},...n!==void 0?{max:n}:{},...r!==void 0?{majorUnit:r}:{},...a!==void 0?{minorUnit:a}:{},...f!==void 0?{numberFormat:f}:{},...l!==void 0?{logBase:l}:{},...i!==void 0?{displayUnits:i}:{},...i!==void 0&&s?{displayUnitsLabel:s}:{}}},xl=(e,t)=>{let n=p(e,o("c",t,$));return n!==null?x(n,oe):null},vt=(e,t)=>{let n=xl(e,t);if(n===null)return;let r=Number.parseFloat(n);return Number.isFinite(r)?r:void 0},br=(e,t)=>{let n=p(e,o("c",t,$));return n!==null?Yo(n):void 0},Jn=(e,t,n)=>{let r=xl(e,t);return n.find(a=>a===r)},Pw=1e5,mV=e=>{let t=p(e,Ft),n=t!==null?p(t,Kn):null,r=n!==null?p(n,Sr):null,a=r!==null?p(r,o("a","alpha",He)):null,l=a!==null?x(a,oe):null;if(l===null||!/^\d+$/.test(l))return;let i=Number.parseInt(l,10);return i<=Pw?i/Pw:void 0},pV=e=>{let t=Jn(e,"errValType",["cust","fixedVal","percentage","stdDev","stdErr"]);if(t===void 0)return;if(t==="stdErr")return{type:t};if(t==="cust"){let r=i=>{let s=p(e,o("c",i,$));return s!==null?Iw(s)??void 0:void 0},a=r("plus"),l=r("minus");return{type:t,...a!==void 0?{plus:a}:{},...l!==void 0?{minus:l}:{}}}let n=vt(e,"val");return n!==void 0?{type:t,value:n}:void 0},uV=e=>{let t={};for(let n of Q(e,o("c","errBars",$))){let r=Jn(n,"errBarType",["both","minus","plus"]),a=pV(n);if(r===void 0||a===void 0)continue;let l=br(n,"noEndCap"),i=p(n,Ft),s=i!==null?p(i,o("a","ln",He)):null,c=Zo(s),m=s!==null?x(s,o("","w","")):null,u={barType:r,amount:a,...l!==void 0?{noEndCap:l}:{},...c!==void 0?{color:c}:{},...m!==null&&/^\d+$/.test(m)?{lineWidthEmu:Number.parseInt(m,10)}:{}};xl(n,"errDir")==="x"?t.xErrorBars??=u:t.errorBars??=u}return t},fV=e=>{let t=p(e,o("c","view3D",$));if(t===null)return;let n=vt(t,"rotX"),r=vt(t,"rotY"),a=br(t,"rAngAx"),l=vt(t,"perspective"),i=vt(t,"depthPercent"),s=vt(t,"hPercent");return{...n!==void 0?{rotX:n}:{},...r!==void 0?{rotY:r}:{},...a!==void 0?{rightAngleAxes:a}:{},...l!==void 0?{perspective:l}:{},...i!==void 0?{depthPercent:i}:{},...s!==void 0?{heightPercent:s}:{}}},hV=e=>{let t=Jn(e,"ofPieType",["pie","bar"]);if(t===void 0)return;let n=Jn(e,"splitType",["auto","cust","percent","pos","val"]),r=vt(e,"splitPos"),a=vt(e,"secondPieSize"),l=vt(e,"gapWidth"),i=p(e,o("c","custSplit",$)),s=[];if(i!==null)for(let m of Q(i,o("c","secondPiePt",$))){let u=Ry(x(m,oe),Dm);u!==null&&s.push(u)}let c=p(e,o("c","serLines",$))!==null;return{type:t,...n!==void 0?{splitType:n}:{},...r!==void 0?{splitPos:r}:{},...i!==null?{customSplit:s}:{},...a!==void 0?{secondPieSizePct:a}:{},...l!==void 0?{gapWidthPct:l}:{},...c?{seriesLines:c}:{}}},gV=e=>{let t=p(e,o("c","upDownBars",$));if(t===null)return;let n=i=>{let s=p(t,o("c",i,$));return Zo(s!==null?p(s,Ft):null)},r=vt(t,"gapWidth"),a=n("upBars"),l=n("downBars");return{...r!==void 0?{gapWidthPct:r}:{},...a!==void 0?{upColor:a}:{},...l!==void 0?{downColor:l}:{}}},yV=e=>{let t=p(e,o("c","dTable",$));if(t===null)return;let n=br(t,"showHorzBorder"),r=br(t,"showVertBorder"),a=br(t,"showOutline"),l=br(t,"showKeys"),i=p(t,o("c","txPr",$)),s=i!==null?ya(i):void 0;return{...n!==void 0?{showHorizontalBorder:n}:{},...r!==void 0?{showVerticalBorder:r}:{},...a!==void 0?{showOutline:a}:{},...l!==void 0?{showKeys:l}:{},...s!==void 0?{textStyle:s}:{}}},Cy=["days","months","years"],xV=e=>{let t=Jn(e,"baseTimeUnit",Cy),n=vt(e,"majorUnit"),r=Jn(e,"majorTimeUnit",Cy),a=vt(e,"minorUnit"),l=Jn(e,"minorTimeUnit",Cy);return{...t!==void 0?{baseTimeUnit:t}:{},...n!==void 0?{majorUnit:n}:{},...r!==void 0?{majorTimeUnit:r}:{},...a!==void 0?{minorUnit:a}:{},...l!==void 0?{minorTimeUnit:l}:{}}},SV=e=>{if(e===void 0)return;let{numberFormat:t,...n}=e;return Object.keys(n).length>0?n:void 0},bV=e=>{if(!(e?.min===void 0&&e?.max===void 0))return{...e.min!==void 0?{min:e.min}:{},...e.max!==void 0?{max:e.max}:{}}},Rw=e=>{let t=p(e,Ft),n=t!==null?p(t,o("a","ln",He)):null;return n!==null&&p(n,o("a","noFill",He))!==null},EV=e=>{let t=p(e,o("c","serAx",$));if(t===null)return;let n=br(t,"delete"),r=Ws(t),a=p(t,ga),l=a!==null?Ys(a):void 0,i=p(t,o("c","txPr",$)),s=i!==null?ya(i):void 0,c=p(t,o("c","majorGridlines",$))!==null,m=p(t,o("c","scaling",$)),u=m!==null?Jn(m,"orientation",["minMax","maxMin"]):void 0,f=Jn(t,"tickLblPos",["none","low","high","nextTo"]),y=vt(t,"tickLblSkip"),g=p(t,Ft),S=Zo(g!==null?p(g,o("a","ln",He)):null),E={...n===!0?{hidden:n}:{},...r!==void 0?{title:r}:{},...l!==void 0?{titleStyle:l}:{},...s!==void 0?{labelStyle:s}:{},...c?{majorGridlines:c}:{},...u==="maxMin"?{orientation:u}:{},...f!==void 0?{tickLabelPos:f}:{},...y!==void 0?{tickLabelSkip:y}:{},...S!==void 0?{lineColor:S}:{}};return Object.keys(E).length>0?E:void 0},Ow=e=>{let t=p(e,o("c","layout",$)),n=t!==null?p(t,o("c","manualLayout",$)):null;if(n===null||xl(n,"xMode")!=="edge"||xl(n,"yMode")!=="edge")return;let r=m=>(xl(n,m)??"factor")==="factor";if(!r("wMode")||!r("hMode"))return;let a=vt(n,"x"),l=vt(n,"y");if(a===void 0||l===void 0)return;let i=vt(n,"w"),s=vt(n,"h"),c=Jn(n,"layoutTarget",["inner","outer"]);return{x:a,y:l,...i!==void 0?{w:i}:{},...s!==void 0?{h:s}:{},...c!==void 0?{target:c}:{}}},Nw=e=>{let t=Ow(e);if(!(t===void 0||t.w===void 0||t.h===void 0))return{x:t.x,y:t.y,w:t.w,h:t.h,...t.target!==void 0?{target:t.target}:{}}},AV=e=>{let t=p(e,Dw),n=t!==null?p(t,_w):null;if(n===null)return;let r=Q(n,kw).slice(1).map(a=>Wo(a,n));return r.length>0?r:void 0},Ks=e=>{if(e.name.namespaceURI!==$||e.name.localName!=="chartSpace")throw new Error(`expected <c:chartSpace> root, got <${e.name.prefix}:${e.name.localName}>`);let t=p(e,CH);if(!t)throw new Error("<c:chartSpace> has no <c:chart>");let n=p(t,LH);if(!n)throw new Error("<c:chart> has no <c:plotArea>");let r=new Map(UH.map(q=>[q.localName,q])),a=[];for(let q of n.children){if(q.kind!=="element"||q.name.namespaceURI!==$)continue;let W=r.get(q.name.localName);if(!W)continue;let ee=W.kind;if(W.localName==="barChart"||W.localName==="bar3DChart"){let ie=p(q,o("c","barDir",$));ee=(ie!==null?x(ie,oe):null)==="bar"?"bar":"column"}a.push({element:q,kind:ee})}let l=a[0];if(!l)return null;let i=l.element,s=l.kind,c=q=>{let W=[];for(let ee of Q(q,o("c","axId",$))){let ie=x(ee,oe);ie!==null&&W.push(ie)}return W},m=new Set;for(let q of Q(n,wy)){let W=p(q,o("c","axId",$)),ee=W!==null?x(W,oe):null;ee!==null&&m.add(ee)}let u=new Set(c(i)),f=new Set;for(let q of a.slice(1))for(let W of c(q.element))m.has(W)&&!u.has(W)&&f.add(W);let y=q=>c(q).some(W=>f.has(W)),g=[],S=null,E,A=[];for(let q of a){let W=y(q.element);for(let ee of Q(q.element,Aw))A.push({ser:ee,groupKind:q.kind,secondary:W})}for(let{ser:q,groupKind:W,secondary:ee}of A){let ie=VH(q),De=p(q,PH);if(De!==null&&S===null&&(S=Ny(De)??null,E=AV(De),S===null)){let qS=Nm(De);qS!==null&&(S=qS.map(s0=>s0===null||!Number.isFinite(s0)?"":String(s0)))}let Be=p(q,RH);Be||(Be=p(q,o("c","yVal",$)));let et=Be!==null?Nm(Be):null,Xt=p(q,o("c","xVal",$)),Me=Xt!==null?Nm(Xt):null,Ke=p(q,o("c","bubbleSize",$)),Kt=Ke!==null?Nm(Ke):null,$n=YH(q),{lineWidthEmu:Ee,lineColor:st,lineDash:Jt}=KH(q),{markerSymbol:Dr,markerSizePt:Bi,markerColor:Yl,markerLineColor:Oi}=ZH(q),Xi=p(q,o("c","invertIfNegative",$)),FS=Xi!==null&&Yo(Xi)?!0:void 0,IS=et!==null?et.length:0,{colors:BS,explosions:OS}=zH(q,IS),o0=p(q,o("c","smooth",$)),v4=o0!==null&&Yo(o0),XS=WH(q),$S=mV(q),{errorBars:jS,xErrorBars:US}=uV(q),$i=p(q,Tw),i0=$i!==null&&sV($i)?Lw($i):void 0,GS=$i!==null?cV($i,IS,i0):void 0;g.push({name:ie,values:et??[],...W!==s&&jH(W)?{chartKind:W}:{},...ee?{secondaryAxis:!0}:{},...Me!==null?{xValues:Me}:{},...Kt!==null?{bubbleSizes:Kt}:{},...$n!==void 0?{color:$n}:{},...Ee!==void 0?{lineWidthEmu:Ee}:{},...st!==void 0?{lineColor:st}:{},...Jt!==void 0?{lineDash:Jt}:{},...Dr!==void 0?{markerSymbol:Dr}:{},...Bi!==void 0?{markerSizePt:Bi}:{},...Yl!==void 0?{markerColor:Yl}:{},...Oi!==void 0?{markerLineColor:Oi}:{},...FS!==void 0?{invertIfNegative:FS}:{},...BS!==void 0?{pointColors:BS}:{},...OS!==void 0?{pointExplosions:OS}:{},...GS!==void 0?{pointDataLabels:GS}:{},...o0!==null?{smooth:v4}:{},...XS!==void 0?{trendline:XS}:{},...i0!==void 0?{dataLabels:i0}:{},...$S!==void 0?{fillOpacity:$S}:{},...jS!==void 0?{errorBars:jS}:{},...US!==void 0?{xErrorBars:US}:{}})}let w=S??[],T=Ws(t),v=aV(t),C=p(i,Tw),R=C!==null?Lw(C):void 0,N=null,_=null;for(let q of Q(n,wy)){let W=p(q,o("c","axId",$)),ee=W!==null?x(W,oe):null;ee!==null&&f.has(ee)?_??=q:N??=q}N===null&&(N=_,_=null);let k=s==="scatter"||s==="bubble",M=null;if(k){let[q,W]=c(i),ee=new Map;for(let Be of Q(n,wy)){let et=xl(Be,"axId");et!==null&&ee.set(et,Be)}let ie=q!==void 0?ee.get(q):void 0,De=W!==void 0?ee.get(W):void 0;ie!==void 0&&De!==void 0&&(M=ie,N=De)}let I=N!==null?vy(N):void 0,K;if(s==="column"||s==="bar"||s==="area"||s==="line"){let q=p(i,o("c","grouping",$));if(q){let W=x(q,oe);(W==="clustered"||W==="stacked"||W==="percentStacked"||W==="standard")&&(K=W)}}let re=p(i,o("c","dropLines",$)),Se=p(i,o("c","hiLowLines",$)),Ce=re!==null?!0:void 0,me=Se!==null?!0:void 0,we;if(i.name.localName==="lineChart"){let q=p(i,o("c","marker",$));if(q===null)we=!1;else{let W=x(q,oe);we=W===null?!0:W==="1"||W==="true"}}let Ne,Xe;if(s==="column"||s==="bar"){let q=p(i,o("c","gapWidth",$));if(q){let ee=x(q,oe);if(ee!==null){let ie=Number.parseInt(ee,10);Number.isFinite(ie)&&(Ne=ie)}}let W=p(i,o("c","overlap",$));if(W){let ee=x(W,oe);if(ee!==null){let ie=Number.parseInt(ee,10);Number.isFinite(ie)&&(Xe=ie)}}}let ze,vn,Et,xt,it,rt,ve,Pt,at,Cn,Pr=(q,W)=>{let ee=p(q,o("c",W,$));if(!ee)return;let ie=x(ee,oe);if(ie==="in"||ie==="out"||ie==="cross"||ie==="none")return ie},ta=q=>Pr(q,"majorTickMark"),Rr,Nr,lr,Oa,xu,Su,bu,Eu,Au,Tu,wu,vu,Z1,Cu,Lu,K1,J1,Pu,Ru,Nu,Du,_u,ku,Mu,Fu,Iu,Ii=q=>{let W=p(q,Ft);if(!W)return;let ee=p(W,o("a","ln",He));if(!ee)return;let ie=p(ee,Kn);if(!ie)return;let De=p(ie,Sr);if(!De)return;let Be=x(De,oe);return Be!==null?`#${Be.toUpperCase()}`:void 0},na=q=>{let W=p(q,Ft),ee=W!==null?p(W,o("a","ln",He)):null,ie=ee!==null?x(ee,o("","w","")):null;if(!(ie===null||!/^\d+$/.test(ie)))return Number.parseInt(ie,10)},Bu=q=>{let W=p(q,Ft);if(!W)return;let ee=p(W,o("a","ln",He));if(!ee)return;let ie=p(ee,Kn);if(!ie)return;let De=p(ie,Sr);if(!De)return;let Be=x(De,oe);return Be!==null?`#${Be.toUpperCase()}`:void 0},We=M??GH(n,["catAx","dateAx"]),Q1=q=>{let W=p(q,o("c","delete",$));if(!W)return;let ee=x(W,oe);return ee===null||ee==="1"||ee==="true"},Ou,Xu,$d,$u,ju,eS=q=>{let W=p(q,o("c","scaling",$));if(!W)return;let ee=p(W,o("c","orientation",$));if(!ee)return;let ie=x(ee,oe);if(ie==="minMax"||ie==="maxMin")return ie};if(We){let q=Ws(We);q!==void 0&&(ze=q);let W=p(We,ga);W&&(vn=Ys(W),Et=Cw(W));let ee=p(We,o("c","txPr",$));if(ee){xt=ya(ee);let Ee=p(ee,o("a","bodyPr",He));if(Ee){let st=x(Ee,o("","rot",""));if(st!==null){let Jt=Number.parseInt(st,10);Number.isFinite(Jt)&&(it=Jt/6e4)}}}xu=Q1(We),Cu=Bu(We),Du=na(We);let ie=p(We,o("c","majorGridlines",$));K1=ie!==null,ie&&(Pu=Ii(ie),ku=na(ie));let De=p(We,o("c","minorGridlines",$));J1=De!==null,De&&(Ru=Ii(De),Mu=na(De)),Ou=eS(We),Pt=ta(We),Cn=Pr(We,"minorTickMark");let Be=p(We,o("c","tickLblSkip",$));if(Be){let Ee=x(Be,oe);if(Ee!==null){let st=Number.parseInt(Ee,10);Number.isFinite(st)&&st>1&&(bu=st)}}let et=p(We,o("c","tickMarkSkip",$));if(et){let Ee=x(et,oe);if(Ee!==null){let st=Number.parseInt(Ee,10);Number.isFinite(st)&&st>1&&(Eu=st)}}let Xt=p(We,o("c","tickLblPos",$));if(Xt){let Ee=x(Xt,oe);(Ee==="none"||Ee==="low"||Ee==="high"||Ee==="nextTo")&&(Au=Ee)}let Me=p(We,o("c","lblOffset",$));if(Me){let Ee=x(Me,oe);if(Ee!==null){let st=Number.parseInt(Ee,10);Number.isFinite(st)&&st!==100&&(Tu=st)}}let Ke=p(We,o("c","lblAlgn",$));if(Ke){let Ee=x(Ke,oe);(Ee==="ctr"||Ee==="l"||Ee==="r")&&(wu=Ee)}let Kt=p(We,o("c","numFmt",$));if(Kt){let Ee=x(Kt,o("","formatCode",""));Ee!==null&&Ee.length>0&&Ee!=="General"&&(vu=Ee)}let $n=p(We,o("c","noMultiLvlLbl",$));if($n){let Ee=x($n,oe);(Ee==="1"||Ee==="true")&&(Z1=!0)}}let Uu,Gu,qu;if(N){let q=Ws(N);q!==void 0&&(Rr=q);let W=p(N,ga);W&&(Nr=Ys(W),lr=Cw(W));let ee=p(N,o("c","txPr",$));if(ee){Oa=ya(ee);let Me=p(ee,o("a","bodyPr",He));if(Me){let Ke=x(Me,o("","rot",""));if(Ke!==null){let Kt=Number.parseInt(Ke,10);Number.isFinite(Kt)&&(rt=Kt/6e4)}}}Su=Q1(N),Lu=Bu(N),_u=na(N),Xu=eS(N),ve=ta(N),at=Pr(N,"minorTickMark");let ie=p(N,o("c","tickLblPos",$));if(ie){let Me=x(ie,oe);(Me==="none"||Me==="low"||Me==="high"||Me==="nextTo")&&(ju=Me)}let De=p(N,o("c","crossesAt",$));if(De){let Me=x(De,oe);if(Me!==null){let Ke=Number.parseFloat(Me);Number.isFinite(Ke)&&($d={at:Ke})}}else{let Me=p(N,o("c","crosses",$));if(Me){let Ke=x(Me,oe);(Ke==="autoZero"||Ke==="min"||Ke==="max")&&($d=Ke)}}let Be=p(N,o("c","crossBetween",$));if(Be){let Me=x(Be,oe);(Me==="between"||Me==="midCat")&&($u=Me)}let et=p(N,o("c","majorGridlines",$));Uu=et!==null,et&&(qu=Ii(et),Fu=na(et));let Xt=p(N,o("c","minorGridlines",$));Gu=Xt!==null,Xt&&(Nu=Ii(Xt),Iu=na(Xt))}let Hu;if(_!==null){let q=vy(_),W=Ws(_),ee=p(_,ga),ie=ee!==null?Ys(ee):void 0,De=p(_,o("c","txPr",$)),Be=De!==null?ya(De):void 0,et=p(_,o("c","majorGridlines",$)),Xt=et!==null?Ii(et):void 0,Me=et!==null?na(et):void 0,Ke=Bu(_),Kt=na(_),$n=ta(_),Ee=Pr(_,"minorTickMark"),st=p(_,o("c","tickLblPos",$)),Jt=st!==null?x(st,oe):null,Dr=Jt==="none"||Jt==="low"||Jt==="high"||Jt==="nextTo"?Jt:void 0,Bi=p(_,o("c","crossBetween",$)),Yl=Bi!==null?x(Bi,oe):null,Oi=Yl==="between"||Yl==="midCat"?Yl:void 0,Xi={...q,...W!==void 0?{title:W}:{},...ie!==void 0?{titleStyle:ie}:{},...Be!==void 0?{labelStyle:Be}:{},...et!==null?{majorGridlines:!0}:{},...Xt!==void 0?{majorGridlineColor:Xt}:{},...Me!==void 0?{majorGridlineWidthEmu:Me}:{},...Ke!==void 0?{lineColor:Ke}:{},...Kt!==void 0?{lineWidthEmu:Kt}:{},...$n!==void 0?{majorTickMark:$n}:{},...Ee!==void 0?{minorTickMark:Ee}:{},...Dr!==void 0?{tickLabelPos:Dr}:{},...Oi!==void 0?{crossBetween:Oi}:{}};Object.keys(Xi).length>0&&(Hu=Xi)}let tS=q=>{let W=p(q,Ft);if(!W)return;let ee=p(W,Kn);if(!ee)return;let ie=p(ee,Sr);if(!ie)return;let De=x(ie,oe);return De!==null?`#${De.toUpperCase()}`:void 0},nS=q=>{let W=p(q,Ft);if(!W)return;let ee=p(W,o("a","ln",He));if(!ee)return;let ie=p(ee,Kn);if(!ie)return;let De=p(ie,Sr);if(!De)return;let Be=x(De,oe);return Be!==null?`#${Be.toUpperCase()}`:void 0},rS=tS(n),aS=nS(n),lS=tS(e),oS=nS(e),Vu,iS=p(t,o("c","dispBlanksAs",$));if(iS){let q=x(iS,oe);(q==="gap"||q==="zero"||q==="span")&&(Vu=q)}let sS,dS=p(t,o("c","plotVisOnly",$));if(dS){let q=x(dS,oe);(q==="0"||q==="false")&&(sS=!1)}let cS,mS=p(e,o("c","roundedCorners",$));if(mS){let q=x(mS,oe);(q==="1"||q==="true")&&(cS=!0)}let zu,pS=p(e,o("c","style",$));if(pS){let q=x(pS,oe);if(q!==null){let W=Number.parseInt(q,10);Number.isFinite(W)&&W>=1&&W<=48&&(zu=W)}}let Wu,uS=p(e,o("c","lang",$));if(uS){let q=x(uS,oe);q!==null&&q.length>0&&(Wu=q)}let fS,hS=p(e,o("c","date1904",$));if(hS){let q=x(hS,oe);(q==="1"||q==="true")&&(fS=!0)}let Yu,Wl=p(t,o("c","legend",$));if(Wl){let q=p(Wl,o("c","legendPos",$)),W=q?x(q,oe):null,ee=p(Wl,o("c","overlay",$)),ie=ee?x(ee,oe)!=="0":!1,De=p(Wl,o("c","txPr",$)),Be=De?ya(De):void 0,et=[];for(let Ke of Wl.children){if(Ke.kind!=="element"||Ke.name.namespaceURI!==$||Ke.name.localName!=="legendEntry")continue;let Kt=p(Ke,o("c","idx",$)),$n=p(Ke,o("c","delete",$));if(!Kt||!$n)continue;let Ee=x($n,oe);if(!(Ee===null||Ee==="1"||Ee==="true"))continue;let Jt=x(Kt,oe);if(Jt===null)continue;let Dr=Number.parseInt(Jt,10);Number.isFinite(Dr)&&Dr>=0&&et.push(Dr)}let Xt=W==="r"||W==="t"||W==="b"||W==="l"||W==="tr"?W:"r",Me=Nw(Wl);Yu={position:Xt,...ie?{overlay:ie}:{},...Me!==void 0?{layout:Me}:{},...Be!==void 0?{textStyle:Be}:{},...et.length>0?{hiddenIndices:et}:{}}}let Zu,gS=p(i,o("c","varyColors",$));if(gS){let q=x(gS,oe);Zu=q===null||q==="1"||q==="true"}let Ku,yS=p(t,ga);if(yS){let q=p(yS,o("c","overlay",$));q&&(Ku=x(q,oe)!=="0")}let Ju,Qu;if(s==="pie"||s==="doughnut"){let q=p(i,o("c","firstSliceAng",$));if(q){let W=x(q,oe);if(W!==null){let ee=Number.parseInt(W,10);Number.isFinite(ee)&&(Ju=(ee%360+360)%360)}}if(s==="doughnut"){let W=p(i,o("c","holeSize",$));if(W){let ee=x(W,oe);if(ee!==null){let ie=Number.parseInt(ee,10);Number.isFinite(ie)&&(Qu=Math.max(10,Math.min(90,ie)))}}}}let e0,t0,n0,jd;if(s==="scatter"){let q=p(i,o("c","scatterStyle",$));if(q){let W=x(q,oe);(W==="none"||W==="line"||W==="lineMarker"||W==="marker"||W==="smooth"||W==="smoothMarker")&&(e0=W)}}else if(s==="radar"){let q=p(i,o("c","radarStyle",$));if(q){let W=x(q,oe);(W==="standard"||W==="marker"||W==="filled")&&(t0=W)}}else if(s==="bubble"){let q=p(i,o("c","bubbleScale",$));if(q){let ee=x(q,oe);if(ee!==null){let ie=Number.parseInt(ee,10);Number.isFinite(ie)&&ie>=0&&(n0=Math.min(300,ie))}}let W=p(i,o("c","sizeRepresents",$));if(W){let ee=x(W,oe);ee==="area"?jd="area":ee==="w"&&(jd="width")}}let Ud=i.name.localName,w4=fV(t),r0=Ud.endsWith("3DChart")||s==="surface"?w4:void 0,xS=Ud==="bar3DChart"?Jn(i,"shape",["box","cone","coneToMax","cylinder","pyramid","pyramidToMax"]):void 0,SS=r0!==void 0?vt(i,"gapDepth"):void 0,bS=s==="bubble"&&Q(i,Aw).some(q=>br(q,"bubble3D")===!0),ES=s==="bubble"?br(i,"showNegBubbles"):void 0,AS=Ud==="ofPieChart"?hV(i):void 0,TS=Ud==="surfaceChart",wS=s==="surface"?br(i,"wireframe"):void 0,vS=gV(i),CS=yV(n),LS=EV(n),PS=Nw(n),RS=p(t,ga),a0=RS!==null?Ow(RS):void 0,NS=a0!==void 0?{x:a0.x,y:a0.y}:void 0,l0=We!==null&&We.name.localName==="dateAx"?xV(We):void 0,DS=We!==null?vy(We):void 0,_S=k?SV(DS):l0!==void 0?bV(DS):void 0,kS=N!==null&&Rw(N),MS=We!==null&&Rw(We);return{kind:s,categories:w,series:g,...T!==void 0?{title:T}:{},...v!==void 0?{titleStyle:v}:{},...R!==void 0?{dataLabels:R}:{},...I!==void 0?{valueAxis:I}:{},...Hu!==void 0?{secondaryValueAxis:Hu}:{},...K!==void 0?{grouping:K}:{},...Ce!==void 0?{dropLines:Ce}:{},...me!==void 0?{hiLowLines:me}:{},...we!==void 0?{lineMarkers:we}:{},...Ne!==void 0?{gapWidthPct:Ne}:{},...Xe!==void 0?{overlapPct:Xe}:{},...Yu!==void 0?{legend:Yu}:{},...Ku!==void 0?{titleOverlay:Ku}:{},...Zu!==void 0?{varyColors:Zu}:{},...Vu!==void 0?{dispBlanksAs:Vu}:{},...sS===!1?{plotVisibleCellsOnly:!1}:{},...cS===!0?{roundedCorners:!0}:{},...zu!==void 0?{chartStyle:zu}:{},...Wu!==void 0?{language:Wu}:{},...fS===!0?{date1904:!0}:{},...rS!==void 0?{plotAreaFill:rS}:{},...aS!==void 0?{plotAreaStrokeColor:aS}:{},...lS!==void 0?{chartAreaFill:lS}:{},...oS!==void 0?{chartAreaStrokeColor:oS}:{},...ze!==void 0?{categoryAxisTitle:ze}:{},...vn!==void 0?{categoryAxisTitleStyle:vn}:{},...Et!==void 0?{categoryAxisTitleRotationDeg:Et}:{},...xt!==void 0?{categoryAxisLabelStyle:xt}:{},...it!==void 0?{categoryAxisLabelRotationDeg:it}:{},...Rr!==void 0?{valueAxisTitle:Rr}:{},...Nr!==void 0?{valueAxisTitleStyle:Nr}:{},...lr!==void 0?{valueAxisTitleRotationDeg:lr}:{},...Oa!==void 0?{valueAxisLabelStyle:Oa}:{},...xu!==void 0?{categoryAxisHidden:xu}:{},...Su!==void 0?{valueAxisHidden:Su}:{},...Uu!==void 0?{valueAxisMajorGridlines:Uu}:{},...qu!==void 0?{valueAxisMajorGridlineColor:qu}:{},...Fu!==void 0?{valueAxisMajorGridlineWidthEmu:Fu}:{},...ve!==void 0?{valueAxisMajorTickMark:ve}:{},...at!==void 0?{valueAxisMinorTickMark:at}:{},...ju!==void 0?{valueAxisTickLabelPos:ju}:{},...rt!==void 0?{valueAxisLabelRotationDeg:rt}:{},...Pt!==void 0?{categoryAxisMajorTickMark:Pt}:{},...Cn!==void 0?{categoryAxisMinorTickMark:Cn}:{},...Gu!==void 0?{valueAxisMinorGridlines:Gu}:{},...bu!==void 0?{categoryAxisTickLabelSkip:bu}:{},...Eu!==void 0?{categoryAxisTickMarkSkip:Eu}:{},...Au!==void 0?{categoryAxisTickLabelPos:Au}:{},...Tu!==void 0?{categoryAxisLabelOffset:Tu}:{},...wu!==void 0?{categoryAxisLabelAlign:wu}:{},...vu!==void 0?{categoryAxisNumberFormat:vu}:{},...Z1===!0?{categoryAxisNoMultiLevelLabel:!0}:{},...Cu!==void 0?{categoryAxisLineColor:Cu}:{},...Lu!==void 0?{valueAxisLineColor:Lu}:{},...K1===!0?{categoryAxisMajorGridlines:!0}:{},...J1===!0?{categoryAxisMinorGridlines:!0}:{},...Pu!==void 0?{categoryAxisMajorGridlineColor:Pu}:{},...Ru!==void 0?{categoryAxisMinorGridlineColor:Ru}:{},...Nu!==void 0?{valueAxisMinorGridlineColor:Nu}:{},...Du!==void 0?{categoryAxisLineWidthEmu:Du}:{},..._u!==void 0?{valueAxisLineWidthEmu:_u}:{},...ku!==void 0?{categoryAxisMajorGridlineWidthEmu:ku}:{},...Mu!==void 0?{categoryAxisMinorGridlineWidthEmu:Mu}:{},...Iu!==void 0?{valueAxisMinorGridlineWidthEmu:Iu}:{},...Ou!==void 0?{categoryAxisOrientation:Ou}:{},...Xu!==void 0?{valueAxisOrientation:Xu}:{},...$d!==void 0?{valueAxisCrosses:$d}:{},...$u!==void 0?{valueAxisCrossBetween:$u}:{},...Ju!==void 0?{firstSliceAngleDeg:Ju}:{},...Qu!==void 0?{holeSizePct:Qu}:{},...e0!==void 0?{scatterStyle:e0}:{},...t0!==void 0?{radarStyle:t0}:{},...n0!==void 0?{bubbleScale:n0}:{},...jd!==void 0?{bubbleSizeRepresents:jd}:{},...bS===!0?{bubble3D:bS}:{},...ES!==void 0?{showNegativeBubbles:ES}:{},...r0!==void 0?{view3D:r0}:{},...xS!==void 0?{bar3DShape:xS}:{},...SS!==void 0?{gapDepthPct:SS}:{},...LS!==void 0?{seriesAxis:LS}:{},...AS!==void 0?{ofPie:AS}:{},...TS?{surfaceContour:TS}:{},...wS!==void 0?{surfaceWireframe:wS}:{},...vS!==void 0?{upDownBars:vS}:{},...CS!==void 0?{dataTable:CS}:{},...l0!==void 0?{categoryAxisDate:l0}:{},..._S!==void 0?{categoryAxisScaling:_S}:{},...E!==void 0?{categoryGroupLevels:E}:{},...PS!==void 0?{plotAreaLayout:PS}:{},...NS!==void 0?{titleLayout:NS}:{},...kS?{valueAxisLineHidden:kS}:{},...MS?{categoryAxisLineHidden:MS}:{}}};function Xw(e,t,n,r){Sl(e,e,new Map([[t,n]]),r)}function Sl(e,t,n,r=new Set,a=new Map){let l=new Map(e.parts.map(E=>[E.name.toLowerCase(),E])),i=new Set(t.parts.map(E=>E.name.toLowerCase())),s=new Map([...a].map(([E,A])=>[E.toLowerCase(),A])),c=[],m=[],u=new TextEncoder,f=new TextDecoder,y=new Map,g=E=>{let A=E.lastIndexOf("."),w=A>E.lastIndexOf("/")?A:E.length,T=E.slice(0,w),v=E.slice(w),C=y.get(E.toLowerCase())??1,R;do R=G(`${T}-copy${C++}${v}`);while(i.has(R.toLowerCase()));return y.set(E.toLowerCase(),C),i.add(R.toLowerCase()),R};for(let[E,A]of n)s.has(E.toLowerCase())||(s.set(E.toLowerCase(),A??g(E)),A&&i.add(A.toLowerCase()),c.push(E));for(let E=0;E<c.length;E++){let A=c[E],w=l.get(A.toLowerCase());if(!w)throw new Error(`Cannot duplicate missing dependency ${A}`);let T=s.get(A.toLowerCase());m.push({name:T,contentType:w.contentType,data:new Uint8Array(w.data)});let v=l.get(_t(A).toLowerCase());if(!v)continue;let C=j(f.decode(v.data));for(let R of C.root.children){if(R.kind!=="element"||R.name.localName!=="Relationship"||R.name.namespaceURI!==d.relationships)continue;let N=R.attrs.find(K=>K.name.namespaceURI===""&&K.name.localName==="Target"),_=R.attrs.find(K=>K.name.namespaceURI===""&&K.name.localName==="Type")?.value,k=R.attrs.find(K=>K.name.namespaceURI===""&&K.name.localName==="TargetMode")?.value;if(!N||!_)throw new Error(`Invalid relationship in ${v.name}`);if(k==="External")continue;let M=V(A,N.value);if(!l.has(M.toLowerCase()))throw new Error(`Cannot duplicate missing dependency ${M}`);let I=s.get(M.toLowerCase());!I&&!r.has(_)&&(I=g(M),s.set(M.toLowerCase(),I),c.push(M)),R.attrs=R.attrs.map(K=>K===N?{...K,value:I??M}:K)}m.push({name:_t(T),contentType:v.contentType,data:u.encode(ae(C))})}let S=new Set(t.parts.map(E=>E.name.toLowerCase()));for(let E of m){let A=E.name.toLowerCase();if(S.has(A))throw new Error(`Cannot duplicate into existing part ${E.name}`);S.add(A)}for(let E of m)t.addPart(E.name,E.contentType,E.data);return s}function km(e){let t=p(e,o("a","srcRect",d.dml));if(!t)return null;let n=r=>{let a=x(t,o("",r,""));return St(a,0)};return{left:n("l"),top:n("t"),right:n("r"),bottom:n("b")}}var TV=o("a","alphaModFix",d.dml),wV=o("","amt",""),Mm=(e,t)=>{let n=e.children.findIndex(r=>r.kind==="element"&&r.name.namespaceURI===d.dml&&r.name.localName==="extLst");n===-1?e.children.push(t):e.children.splice(n,0,t)},Fm=e=>{let t=p(e,o("a","alphaModFix",d.dml));if(!t)return null;let n=x(t,o("","amt",""));if(n===null)return 1;let r=St(n,Number.NaN);return Number.isFinite(r)?r:null},Im=(e,t)=>{if(t!==null&&(!Number.isFinite(t)||t<0||t>1))throw new RangeError(`opacity must be in [0, 1], got ${t}`);e.children=e.children.filter(n=>!(n.kind==="element"&&n.name.namespaceURI===d.dml&&n.name.localName==="alphaModFix")),t!==null&&Mm(e,h(TV,{attrs:[b(wV,String(Math.round(t*1e5)))]}))};var Js=e=>Math.round(e*914400),$w=e=>Math.round(e*36e4),jw=e=>Math.round(e*36e4/10),Uw=e=>Math.round(e*12700),Qn=e=>Math.round(e);var Qs=(e,t)=>x(e,o("",t,"")),Ko=(e,t,n)=>St(Qs(e,t),n),Gw=(e,t)=>{let n=Qs(e,t)?.trim()??"0",r={mm:36e3,cm:36e4,in:914400,pt:12700,pc:152400,pi:152400},a=/^([+-]?(?:\d+(?:\.\d*)?|\.\d+))(mm|cm|in|pt|pc|pi)?$/.exec(n);return Qn(a?Number(a[1])*(a[2]?r[a[2]]:1):0)},Vw=e=>{switch(e?.trim()){case"t":return"t";case"tr":return"tr";case"l":return"l";case"ctr":return"ctr";case"r":return"r";case"bl":return"bl";case"b":return"b";case"br":return"br";default:return"tl"}},zw=e=>{switch(e?.trim()){case"x":return"x";case"y":return"y";case"xy":return"xy";default:return"none"}},Bm=e=>{let t=Qs(e,"rotWithShape")?.trim(),n=t!=="0"&&t!=="false",r=p(e,o("a","tile",d.dml));if(r)return{mode:"tile",rotateWithShape:n,offsetX:Gw(r,"tx"),offsetY:Gw(r,"ty"),scaleX:Ko(r,"sx",1),scaleY:Ko(r,"sy",1),alignment:Vw(Qs(r,"algn")),flip:zw(Qs(r,"flip"))};let a=p(e,o("a","stretch",d.dml)),l=a&&p(a,o("a","fillRect",d.dml));return{mode:"stretch",rotateWithShape:n,left:l?Ko(l,"l",0):0,top:l?Ko(l,"t",0):0,right:l?Ko(l,"r",0):0,bottom:l?Ko(l,"b",0):0}},vV=-2147483648,CV=2147483647,qw=-27273042329600,Hw=27273042316900,Dy=(e,t,n,r,a)=>{let l=Math.round(t*n);if(!Number.isFinite(t)||l<r||l>a)throw new RangeError(`Image fill ${e} is outside the supported range`);return b(o("",e,""),String(l))},Jo=(e,t)=>Dy(e,t,1e5,vV,CV),Om=(e,t)=>{let n;if(t.mode==="tile"){let r=t.alignment??"tl",a=t.flip??"none";if(Vw(r)!==r||zw(a)!==a)throw new RangeError("Invalid image tile alignment or flip");n=h(o("a","tile",d.dml),{attrs:[Dy("tx",t.offsetX??0,1,qw,Hw),Dy("ty",t.offsetY??0,1,qw,Hw),Jo("sx",t.scaleX??1),Jo("sy",t.scaleY??1),b(o("","flip",""),a),b(o("","algn",""),r)]})}else if(t.mode==="stretch")n=h(o("a","stretch",d.dml),{children:[h(o("a","fillRect",d.dml),{attrs:[Jo("l",t.left??0),Jo("t",t.top??0),Jo("r",t.right??0),Jo("b",t.bottom??0)]})]});else throw new RangeError("Invalid image fill mode");if(t.rotateWithShape!==void 0&&typeof t.rotateWithShape!="boolean")throw new TypeError("rotateWithShape must be a boolean");e.children=e.children.filter(r=>!(r.kind==="element"&&r.name.namespaceURI===d.dml&&(r.name.localName==="tile"||r.name.localName==="stretch"))),e.children.push(n),t.rotateWithShape!==void 0&&(e.attrs=e.attrs.filter(r=>!(r.name.localName==="rotWithShape"&&r.name.namespaceURI==="")),e.attrs.push(b(o("","rotWithShape",""),t.rotateWithShape?"1":"0")))},Xm=(e,t)=>{let n=Qa(t);if(!n)return null;let r=Number(x(e,o("","dpi",""))),a=iE(t),l=r>0?r:a?.x??96,i=r>0?r:a?.y??96;return{width:Js(n.width/l),height:Js(n.height/i)}};var er=(e,t,n=d.pml)=>e?p(e,o("",t,n)):null;function zr(e,t,n){let r=er(er(n,"cSld"),"bg"),a=er(r,"bgPr"),l=er(r,"bgRef");if(!a&&!l)return{properties:null,theme:null,colorMap:{}};let i=[n],s=t;for(let f of[D.slideLayout,D.slideMaster]){let y=e.getRels(s)?.items.find(S=>S.type===f&&S.targetMode!=="External");if(!y)continue;s=V(s,y.target);let g=e.getPart(s);g&&i.push(j(z(g.data)).root)}let c={},m={};for(let f of[...i].reverse()){let y=er(f,"clrMap"),g=er(f,"clrMapOvr");er(g,"masterClrMapping",d.dml)&&(c={...m});let S=y??er(g,"overrideClrMapping",d.dml);for(let E of S?.attrs??[])E.name.namespaceURI===""&&(c[E.name.localName]=E.value);y&&(m={...c})}let u=Vr(e,s);if(!a&&l){let f=Number(x(l,o("","idx",""))),y=Wn(e,s),g=er(er(y,"themeElements",d.dml),"fmtScheme",d.dml),S=1001,w=(er(g,f>=S?"bgFillStyleLst":"fillStyleLst",d.dml)?.children.filter(T=>T.kind==="element")??[])[f>=S?f-S:f-1];if(w?.kind==="element"){let T=he(w),v=l.children.find(C=>C.kind==="element"&&C.name.namespaceURI===d.dml);if(v?.kind==="element"){let C=R=>{R.children=R.children.map(N=>{if(N.kind!=="element")return N;if(N.name.namespaceURI===d.dml&&N.name.localName==="schemeClr"&&x(N,o("","val",""))==="phClr"){let _=he(v);return _.children.push(...N.children.map(k=>k.kind==="element"?he(k):{...k})),_}return C(N),N})};C(T)}a=h(o("p","bgPr",d.pml),{children:[T]})}}return{properties:a,theme:u,colorMap:c}}var ed=e=>e.filter(t=>t.placeholderType!==null||t.placeholderIdx!==null),Qo=e=>ed(e).map(t=>{let n=Rt(t.element,t.kind),r=At(t.element,t.kind),a=n===null||r===null?null:{x:n.x,y:n.y,w:r.w,h:r.h};return{type:t.placeholderType,idx:t.placeholderIdx,name:t.name,bounds:a}}),mt=(e,t)=>{let n=e.getPart(t);if(n===null)throw new Error(`part ${t} is missing`);return{part:n,doc:j(z(n.data))}},An=({part:e,doc:t})=>{e.data=le(ae(t))},ei=e=>{let t=p(e,Pe),n=t&&p(t,kn);if(!n)throw new Error(`<p:${e.name.localName}> has no <p:spTree>`);return n},LV=o("p","nvSpPr",d.pml),PV=o("p","nvPr",d.pml),RV=o("p","ph",d.pml),NV=o("","type",""),DV=o("","idx",""),Ww=e=>{if(e.name.namespaceURI!==d.pml||e.name.localName!=="sp")return null;let t=p(e,LV),n=t&&p(t,PV);return n&&p(n,RV)},td=e=>{let t=Ww(e);return t===null?null:x(t,NV)??"obj"},_y=e=>{let t=[];for(let n of e.children){if(n.kind!=="element")continue;let r=Ww(n),a=r&&x(r,DV);a&&t.push(Number(a))}return t},ti=(e,t)=>{e.children=e.children.filter(n=>{if(n.kind!=="element")return!0;let r=td(n);return r===null||!t.has(r)})},bl=(e,t)=>e.children.some(n=>{if(n.kind!=="element")return!1;let r=td(n);return r!==null&&t.has(r)}),El=e=>{let t=g0(e);return t.prefixDecls=new Map,t},$m=(e,t,n,r)=>{let a=r.indexOf(n),l=e.children.findIndex(i=>{if(i.kind!=="element")return!1;let s=td(i);return s!==null&&r.indexOf(s)>a});l<0?e.children.push(t):e.children.splice(l,0,t)};var xa=e=>e[ue].name,jm=e=>e[de],Yw=(e,t)=>{for(let n of Ct(e))if(n[de]===t)return n;return null},nd=e=>Qo(e[ue].shapes),Zw=(e,t)=>{for(let n of Ct(e)){let r=n[ue].name;if(typeof t=="string"?r===t:t.test(r))return n}return null},Kw=(e,t)=>{let n=[];for(let r of Ct(e))nd(r).some(i=>i.type===t||t==="body"&&i.type===null&&i.idx!==null)&&n.push(r);return n},Wr=(e,t)=>{for(let n of Ct(e))if(n[ue].layoutType===t)return n;return null},ni=e=>e[ue].layoutType,Ct=e=>{let t=e[P],n=[];for(let r of t.parts){if(r.contentType!==il)continue;let a=j(z(r.data));n.push({[P]:t,[de]:r.name,[ot]:a,[ue]:jr(a.root)})}return n},Jw=e=>{let t=new Set;for(let n of H(e)){let r=Te(n);r!==null&&t.add(xa(r))}return Ct(e).filter(n=>!t.has(xa(n)))},Qw=e=>{let t={};for(let n of H(e)){let r=Te(n);if(r===null)continue;let a=r[ue].layoutType;a!==null&&(t[a]=(t[a]??0)+1)}return t},ev=e=>{let t={};for(let n of Ct(e))t[xa(n)]=0;for(let n of H(e)){let r=Te(n);if(r===null)continue;let a=xa(r);t[a]=(t[a]??0)+1}return t};var _V=o("","name",""),ky=(e,t)=>{let n=p(e[ot].root,Pe);if(n===null)throw new Error(`${t}: the layout has no <p:cSld>`);return n},tv=(e,t)=>{let n=ky(e,"setSlideLayoutName");n.attrs=n.attrs.filter(r=>r.name.localName!=="name"),n.attrs.push(b(_V,t)),Hn(e)},nv=(e,t)=>{let n=ky(e,"setSlideLayoutBackground");Gm(n,r=>dr(r,t)),Hn(e)},Um=e=>{let t=ky(e,"clearSlideLayoutBackground");t.children=t.children.filter(n=>!(n.kind==="element"&&n.name.namespaceURI===d.pml&&n.name.localName==="bg")),Hn(e)},kV=e=>ed(e[ue].shapes),rv=(e,t,n)=>{let r=kV(e),a=r[t];if(a===void 0)throw new Error(`setSlideLayoutPlaceholderBounds: the layout has ${r.length} placeholder(s); no index ${t}`);un(a.element,a.kind,n.x,n.y),fn(a.element,a.kind,n.w,n.h),Hn(e)};var av={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:"#90EE90",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:"#9370DB",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:"#DB7093",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"},MV={dkBlue:"darkBlue",dkCyan:"darkCyan",dkGoldenrod:"darkGoldenrod",dkGray:"darkGray",dkGrey:"darkGrey",dkGreen:"darkGreen",dkKhaki:"darkKhaki",dkMagenta:"darkMagenta",dkOliveGreen:"darkOliveGreen",dkOrange:"darkOrange",dkOrchid:"darkOrchid",dkRed:"darkRed",dkSalmon:"darkSalmon",dkSeaGreen:"darkSeaGreen",dkSlateBlue:"darkSlateBlue",dkSlateGray:"darkSlateGray",dkSlateGrey:"darkSlateGrey",dkTurquoise:"darkTurquoise",dkViolet:"darkViolet",ltBlue:"lightBlue",ltCoral:"lightCoral",ltCyan:"lightCyan",ltGoldenrodYellow:"lightGoldenrodYellow",ltGray:"lightGray",ltGrey:"lightGrey",ltGreen:"lightGreen",ltPink:"lightPink",ltSalmon:"lightSalmon",ltSeaGreen:"lightSeaGreen",ltSkyBlue:"lightSkyBlue",ltSlateGray:"lightSlateGray",ltSlateGrey:"lightSlateGrey",ltSteelBlue:"lightSteelBlue",ltYellow:"lightYellow",medAquamarine:"mediumAquamarine",medBlue:"mediumBlue",medOrchid:"mediumOrchid",medPurple:"mediumPurple",medSeaGreen:"mediumSeaGreen",medSlateBlue:"mediumSlateBlue",medSpringGreen:"mediumSpringGreen",medTurquoise:"mediumTurquoise",medVioletRed:"mediumVioletRed"},lv=Object.freeze({...av,...Object.fromEntries(Object.entries(MV).map(([e,t])=>[e,av[t]])),dkSeaGreen:"#8FBC8B",ltGoldenrodYellow:"#FAFA78"}),qm=e=>Object.prototype.hasOwnProperty.call(lv,e)?lv[e]:null;var FV=o("p","style",d.pml),IV=o("a","fillRef",d.dml),BV=o("a","lnRef",d.dml),OV=o("a","effectRef",d.dml),XV=o("a","fmtScheme",d.dml),It=(e,t)=>{let n=e[P],r=Te(t[X]);if(r){let a=r[de],l=n.getRels(a)?.items.find(i=>i.type===D.slideMaster&&i.targetMode!=="External");if(l){let i=V(a,l.target);return{root:Wn(n,i),theme:Vr(n,i)}}}return{root:Wn(n),theme:Fe(e)}},$V=(e,t)=>{let n=t.children.find(a=>a.kind==="element"&&a.name.namespaceURI===d.dml);if(!n)return;let r=a=>{a.children=a.children.map(l=>{if(l.kind!=="element")return l;if(l.name.localName==="schemeClr"&&x(l,o("","val",""))==="phClr"){let i=he(n);return i.children.push(...l.children.map(s=>s.kind==="element"?he(s):{...s})),i}return r(l),l})};r(e)},My=(e,t,n,r,a=t[F])=>{let l=p(a,FV),i=l?p(l,n):null;if(!i)return null;let s=Number.parseInt(x(i,o("","idx",""))??"",10);if(!Number.isInteger(s))return null;if(s===0&&r==="effectStyleLst")return h(o("a","effectLst",d.dml));if(s===0||s===1e3&&r==="fillStyleLst")return h(o("a","noFill",d.dml));if(s<1)return null;let c=It(e,t).root,m=c?p(c,o("a","themeElements",d.dml)):null,u=m?p(m,XV):null,y=(u?p(u,o("a",s>=1001&&r==="fillStyleLst"?"bgFillStyleLst":r,d.dml)):null)?.children.filter(w=>w.kind==="element"&&w.name.namespaceURI===d.dml),g=r==="fillStyleLst"&&s>=1001,S=y?.[g?s-1001:s-1];if(!S)return null;let E=r==="effectStyleLst"?p(S,o("a","effectLst",d.dml)):S;if(!E)return null;let A=he(E);return $V(A,i),A},Fy=(e,t)=>My(e,t,IV,"fillStyleLst"),ov=(e,t)=>My(e,t,BV,"lnStyleLst"),Iy=(e,t,n=t[F])=>My(e,t,OV,"effectStyleLst",n),Hm=(e,t)=>{let n=Fy(e,t);if(!n)return null;switch(n.name.localName){case"solidFill":{let r=n.children.find(i=>i.kind==="element"&&i.name.namespaceURI===d.dml);if(!r)return{kind:"solid",color:"",colorElement:n};let a=It(e,t).theme;return{kind:"solid",color:ye(r,a,Ye(t[X]))??"",colorElement:r}}case"gradFill":return{kind:"gradient"};case"pattFill":return{kind:"pattern"};case"blipFill":return{kind:"image"};case"noFill":return{kind:"none"};default:return null}};var iv=new WeakMap,jV=e=>{let n=e[X][ne],r=iv.get(n);if(!r){r=new WeakMap;let a=l=>{for(let i of el(l))r.set(i.element,l),i.kind==="group"&&a(i.element)};for(let l of n)l[U].kind==="group"&&a(l[F]);iv.set(n,r)}return r},ri=e=>{let t=jV(e),n=t.get(e[F]);for(;n;){let a=p(n,o("p","grpSpPr",d.pml))?.children.find(l=>l.kind==="element"&&l.name.namespaceURI===d.dml&&["noFill","solidFill","gradFill","pattFill","blipFill","grpFill"].includes(l.name.localName));if(a&&a.name.localName!=="grpFill")return a;n=t.get(n)}return null};function sv(e){if(!e)return;let t=n=>{let r=x(e,o("",n,""));if(r===null)return 0;let a=Number.parseFloat(r);return Number.isFinite(a)?a/(r.endsWith("%")?100:1e5):0};return{left:t("l"),top:t("t"),right:t("r"),bottom:t("b")}}var rd=o("a","gradFill",d.dml),UV=o("a","gsLst",d.dml),GV=o("a","lin",d.dml),ai=e=>{for(let t of e.children)if(!(t.kind!=="element"||t.name.namespaceURI!==d.dml)){if(t.name.localName==="srgbClr"){let n=x(t,o("","val",""));if(n!==null)return`#${n.toUpperCase()}`}if(t.name.localName==="schemeClr"){let n=x(t,o("","val",""));if(n!==null)return`scheme:${n}`}if(t.name.localName==="prstClr"){let n=x(t,o("","val",""));if(n!==null)return qm(n)}if(t.name.localName==="sysClr"){let n=x(t,o("","lastClr",""));if(n!==null)return`#${n.toUpperCase()}`}if(t.name.localName==="scrgbClr"||t.name.localName==="hslClr")return ye({...t,children:[]},null)}return null},ln=(e,t)=>{let n=p(e,UV);if(!n)return null;let r=[];for(let f of n.children){if(f.kind!=="element"||f.name.namespaceURI!==d.dml||f.name.localName!=="gs")continue;let y=x(f,o("","pos",""));if(y===null)continue;let g=Number.parseInt(y,10);if(!Number.isFinite(g))continue;let S=ai(f);if(S===null)continue;let E=f.children.find(R=>R.kind==="element"&&R.name.namespaceURI===d.dml),A=E?.kind==="element"?gt(E):null,w=t&&E?.kind==="element"?ye(E,t.theme,t.colorMap):null,T=E?.kind==="element"?Ln(E):[],v=Kl(T),C=T.some(R=>!["alpha","alphaMod","alphaOff",...v!==void 0?["lumMod","lumOff"]:[]].includes(R.kind));r.push({offset:g/1e5,color:S,...C?{colorTransforms:T}:{},...A!==null?{opacity:A}:{},...v!==void 0?{brightness:v}:{},...w!==null?{resolvedColor:w}:{}})}if(r.length===0)return null;let a=0,l=p(e,GV);if(l){let f=x(l,o("","ang",""));if(f!==null){let y=Number.parseInt(f,10);Number.isFinite(y)&&(a=y/6e4)}}let i=x(e,o("","rotWithShape","")),s=l?x(l,o("","scaled","")):null,c=sv(p(e,o("a","tileRect",d.dml))),m={...c?{tileRect:c}:{},...i!==null?{rotateWithShape:i!=="0"&&i!=="false"}:{},...s!==null?{scaled:s!=="0"&&s!=="false"}:{}},u=p(e,o("a","path",d.dml));if(u){let f=x(u,o("","path","")),y=f==="circle"||f==="rect"||f==="shape"?f:null;if(y){let g=sv(p(u,o("a","fillToRect",d.dml)));return{stops:r,angleDeg:a,...m,path:y,...g?{focus:g}:{}}}}return{stops:r,angleDeg:a,...m}},qV=(e,t)=>{let n=Fy(e,t);if(!n)return;if(n.name.localName!=="gradFill")return null;let{theme:r}=It(e,t);return ln(n,{theme:r,colorMap:Ye(t[X])})},HV=(e,t)=>{let n=ri(t);if(!n||n.name.localName!=="gradFill")return null;let{theme:r}=It(e,t);return ln(n,{theme:r,colorMap:Ye(t[X])})},dv=e=>{let t=p(e[F],o("p","spPr",d.pml));if(!t)return null;let n=p(t,rd);return n?ln(n):null},cv=(e,t)=>{let n=T=>{let v=x(T,o("","useBgFill",""))?.trim();if(v==="1"||v==="true")return null;let C=p(T,o("p","spPr",d.pml));if(!C)return;let R=C.children.find(_=>_.kind==="element"&&_.name.namespaceURI===d.dml&&["noFill","solidFill","gradFill","pattFill","blipFill","grpFill"].includes(_.name.localName));return!R||R.kind!=="element"?void 0:R.name.localName==="grpFill"?T===t[F]?HV(e,t):null:R.name.localName!=="gradFill"?null:ln(R,{theme:Fe(e),colorMap:Ye(t[X])})},r=n(t[F]);if(r!==void 0)return r;let a=qV(e,t);if(a!==void 0)return a;let l=qt(t),i=Gt(t);if(l===null&&i===null)return null;let s=Te(t[X]);if(!s)return null;let c=T=>{let v=l!==null?T.find(C=>C.placeholderIdx===l):void 0;return!v&&i!==null&&(v=T.find(C=>C.placeholderType===i)),v?.element??null},m=c(s[ue].shapes);if(m){let T=n(m);if(T!==void 0)return T}let u=e[P],f=G(s[de]),y=u.getRels(f);if(!y)return null;let g=y.items.find(T=>T.type===D.slideMaster);if(!g)return null;let S=u.getPart(V(f,g.target));if(!S)return null;let E=j(z(S.data)).root,{shapes:A}=Ge(E,"sldMaster"),w=c(A);if(w){let T=n(w);if(T!==void 0)return T}return null};var Gm=(e,t)=>{let n=o("p","bg",d.pml),a={kind:"element",name:o("p","bgPr",d.pml),attrs:[],prefixDecls:new Map,children:[]};t(a);let l=p(e,n);l===null&&(l={kind:"element",name:n,attrs:[],prefixDecls:new Map,children:[]},e.children.unshift(l)),l.children=[a]},Vm=(e,t)=>{let n=p(e[te].root,Pe);if(!n)throw new Error("slide has no <p:cSld>");Gm(n,t),ce(e),ge(e)},mv=(e,t,n)=>{if(e.name.namespaceURI!==d.dml)return null;if(e.name.localName==="schemeClr"){let r=x(e,o("","val",""));return r===null?null:e.children.some(l=>l.kind==="element"&&l.name.namespaceURI===d.dml&&!["alpha","alphaMod","alphaOff"].includes(l.name.localName))?ye(e,t,n)??`scheme:${r}`:`scheme:${r}`}return["srgbClr","scrgbClr","hslClr","sysClr","prstClr"].includes(e.name.localName)?ye(e,null):null},zm=e=>{let t=e[te].root,n=null;for(let l of t.children)if(l.kind==="element"&&l.name.namespaceURI===d.pml&&l.name.localName==="clrMapOvr"){n=l;break}if(!n)return null;let r=p(n,o("a","overrideClrMapping",d.dml));if(!r)return null;let a={};for(let l of r.attrs)l.name.namespaceURI===""&&(a[l.name.localName]=l.value);return Object.keys(a).length>0?a:null},ad=(e,t,n=null,r)=>{if(e===null)return{kind:"inherit"};let a=p(e,o("p","bg",d.pml));if(!a)return{kind:"inherit"};let l=p(a,o("p","bgRef",d.pml));if(l&&!t){for(let s of l.children){if(s.kind!=="element"||s.name.namespaceURI!==d.dml)continue;let c=gt(s),m=mv(s,n,r);if(m!==null)return{kind:"solid",color:m,...c===null?{}:{opacity:c}}}return{kind:"inherit"}}let i=t??p(a,o("p","bgPr",d.pml));if(!i)return{kind:"inherit"};for(let s of i.children)if(!(s.kind!=="element"||s.name.namespaceURI!==d.dml))switch(s.name.localName){case"solidFill":{for(let c of s.children){if(c.kind!=="element"||c.name.namespaceURI!==d.dml)continue;let m=gt(c),u=mv(c,n,r);if(u!==null)return{kind:"solid",color:u,...m===null?{}:{opacity:m}}}return{kind:"solid",color:""}}case"gradFill":return{kind:"gradient"};case"pattFill":return{kind:"pattern"};case"blipFill":return{kind:"image"}}return{kind:"inherit"}},pv=e=>{let t=zr(e[P],e[O],e[te].root);return ad(p(e[te].root,Pe),t.properties,t.theme,t.colorMap)},uv=(e,t)=>{let n=Fe(e),r=[];for(let a of t[ue].shapes){if(a.placeholderType!==null||a.placeholderIdx!==null||a.kind!=="shape"&&a.kind!=="connector")continue;let l=a.element,i=Rt(l,a.kind),s=At(l,a.kind),c=i!==null&&s!==null?{x:i.x,y:i.y,w:s.w,h:s.h}:null,m=p(l,o("p","spPr",d.pml)),u=null,f=null,y=null,g=null;if(m){let A=p(m,o("a","prstGeom",d.dml));A&&(u=x(A,o("","prst","")));let w=p(m,o("a","solidFill",d.dml));if(w){for(let v of w.children)if(!(v.kind!=="element"||v.name.namespaceURI!==d.dml)){f=ye(v,n);break}}let T=p(m,o("a","ln",d.dml));if(T){let v=x(T,o("","w",""));if(v!==null){let R=Number.parseInt(v,10);Number.isFinite(R)&&(g=R)}let C=p(T,o("a","solidFill",d.dml));if(C){for(let R of C.children)if(!(R.kind!=="element"||R.name.namespaceURI!==d.dml)){y=ye(R,n);break}}}}let S=pr(l,a.kind),E=ur(l,a.kind)??{horizontal:!1,vertical:!1};r.push({kind:a.kind,bounds:c,preset:u,fillHex:f,strokeHex:y,strokeWidthEmu:g,rotation:S,flip:E})}return r},fv=(e,t,n)=>{let r=e.getPart(t);if(r===null)return[];let a=j(z(r.data)),{shapes:l}=Ge(a.root,n),i={[P]:e,[O]:t,[te]:a,[en]:{shapes:l,root:a.root},[ne]:[]};return i[ne]=l.filter(s=>s.placeholderType===null&&s.placeholderIdx===null).map(s=>({[X]:i,[F]:s.element,[U]:s})),i[ne]},hv=(e,t)=>fv(e[P],t[de],"sldLayout"),gv=(e,t)=>{let n=e[P],r=t[de],l=n.getRels(r)?.items.find(s=>s.type===D.slideMaster);if(!l)return[];let i=l.target.startsWith("/")?G(l.target):V(r,l.target);return fv(n,i,"sldMaster")},yv=(e,t,n={})=>{let r=p(t[ue].root,Pe);if(!r)return null;let a=p(r,o("p","bg",d.pml));if(!a)return null;let l=p(a,o("p","bgPr",d.pml));if(!l)return null;let i=p(l,o("a","pattFill",d.dml));if(!i)return null;let s=x(i,o("","prst",""))??"pct50",c=Fe(e),m=(u,f)=>{let y=p(i,o("a",u,d.dml));if(!y)return f;for(let g of y.children){if(g.kind!=="element"||g.name.namespaceURI!==d.dml)continue;if(n.preserveTheme&&g.name.localName==="schemeClr"&&!g.children.some(E=>E.kind==="element")){let E=x(g,o("","val",""));if(E)return E}let S=ye(g,c);if(S)return S}return f};return{preset:s,foreground:m("fgClr","#000000"),background:m("bgClr","#FFFFFF")}},xv=(e,t,n={})=>{let r=e[P],a=G(t[de]),l=r.getRels(a);if(!l)return null;let i=l.items.find(A=>A.type===D.slideMaster);if(!i)return null;let s=r.getPart(V(a,i.target));if(!s)return null;let c=j(z(s.data)).root,m=p(c,Pe);if(!m)return null;let u=p(m,o("p","bg",d.pml));if(!u)return null;let f=p(u,o("p","bgPr",d.pml));if(!f)return null;let y=p(f,o("a","pattFill",d.dml));if(!y)return null;let g=x(y,o("","prst",""))??"pct50",S=Fe(e),E=(A,w)=>{let T=p(y,o("a",A,d.dml));if(!T)return w;for(let v of T.children){if(v.kind!=="element"||v.name.namespaceURI!==d.dml)continue;if(n.preserveTheme&&v.name.localName==="schemeClr"&&!v.children.some(R=>R.kind==="element")){let R=x(v,o("","val",""));if(R)return R}let C=ye(v,S);if(C)return C}return w};return{preset:g,foreground:E("fgClr","#000000"),background:E("bgClr","#FFFFFF")}},Sv=e=>{let t=zr(e[P],e[de],e[ot].root),n=t.properties?p(t.properties,rd):null;return n?ln(n,t):null},bv=(e,t)=>{let n=e[P],r=G(t[de]),a=n.getRels(r);if(!a)return null;let l=a.items.find(u=>u.type===D.slideMaster);if(!l)return null;let i=n.getPart(V(r,l.target));if(!i)return null;let s=j(z(i.data)).root,c=zr(n,i.name,s),m=c.properties?p(c.properties,rd):null;return m?ln(m,c):null},Ev=(e,t)=>{let n=e[P],r=G(t[de]),a=n.getRels(r);if(!a)return{kind:"inherit"};let l=a.items.find(m=>m.type===D.slideMaster);if(!l)return{kind:"inherit"};let i=n.getPart(V(r,l.target));if(!i)return{kind:"inherit"};let s=j(z(i.data)).root,c=zr(n,i.name,s);return ad(p(s,Pe),c.properties,c.theme,c.colorMap)},Av=e=>{let t=zr(e[P],e[de],e[ot].root);return ad(p(e[ot].root,Pe),t.properties,t.theme,t.colorMap)},Tv=e=>{let t=zr(e[P],e[O],e[te].root),n=t.properties?p(t.properties,rd):null;return n?ln(n,t):null},wv=(e,t,n={})=>{let r=p(t[te].root,Pe);if(!r)return null;let a=p(r,o("p","bg",d.pml));if(!a)return null;let l=p(a,o("p","bgPr",d.pml));if(!l)return null;let i=p(l,o("a","pattFill",d.dml));if(!i)return null;let s=x(i,o("","prst",""))??"pct50",c=Fe(e),m=(u,f)=>{let y=p(i,o("a",u,d.dml));if(!y)return f;for(let g of y.children){if(g.kind!=="element"||g.name.namespaceURI!==d.dml)continue;if(n.preserveTheme&&g.name.localName==="schemeClr"&&!g.children.some(E=>E.kind==="element")){let E=x(g,o("","val",""));if(E)return E}let S=ye(g,c);if(S)return S}return f};return{preset:s,foreground:m("fgClr","#000000"),background:m("bgClr","#FFFFFF")}},vv=e=>{let t=p(e[te].root,Pe);if(!t)return null;let n=p(t,o("p","bg",d.pml));if(!n)return null;let r=p(n,o("p","bgPr",d.pml));if(!r)return null;let a=p(r,o("a","blipFill",d.dml));if(!a)return null;let l=p(a,o("a","blip",d.dml));if(!l)return null;let i=x(l,o("r","embed",d.officeDocRels));if(i===null)return null;let s=e[P],c=s.getRels(e[O]);if(!c)return null;let m=c.items.find(y=>y.id===i);if(!m||m.targetMode==="External")return null;let u=m.target.startsWith("/")?G(m.target):V(e[O],m.target);return s.getPart(u)?.data??null},Cv=(e,t)=>{let n=p(t[ue].root,Pe);if(!n)return null;let r=p(n,o("p","bg",d.pml));if(!r)return null;let a=p(r,o("p","bgPr",d.pml));if(!a)return null;let l=p(a,o("a","blipFill",d.dml));if(!l)return null;let i=p(l,o("a","blip",d.dml));if(!i)return null;let s=x(i,o("r","embed",d.officeDocRels));if(s===null)return null;let c=e[P],m=G(t[de]),u=c.getRels(m);if(!u)return null;let f=u.items.find(S=>S.id===s);if(!f||f.targetMode==="External")return null;let y=f.target.startsWith("/")?G(f.target):V(m,f.target);return c.getPart(y)?.data??null},Lv=(e,t)=>{let n=e[P],r=G(t[de]),a=n.getRels(r);if(!a)return null;let l=a.items.find(v=>v.type===D.slideMaster);if(!l)return null;let i=V(r,l.target),s=n.getPart(i);if(!s)return null;let c=j(z(s.data)).root,m=p(c,Pe);if(!m)return null;let u=p(m,o("p","bg",d.pml));if(!u)return null;let f=p(u,o("p","bgPr",d.pml));if(!f)return null;let y=p(f,o("a","blipFill",d.dml));if(!y)return null;let g=p(y,o("a","blip",d.dml));if(!g)return null;let S=x(g,o("r","embed",d.officeDocRels));if(S===null)return null;let E=n.getRels(i);if(!E)return null;let A=E.items.find(v=>v.id===S);if(!A||A.targetMode==="External")return null;let w=A.target.startsWith("/")?G(A.target):V(i,A.target);return n.getPart(w)?.data??null},By=(e,t,n)=>{Vm(e,r=>dr(r,{color:t,...n===void 0?{}:{opacity:n}}))},Pv=(e,t)=>{Vm(e,n=>Ua(n,t))},Wm=e=>{let t=u=>{let f=p(u,Pe);return f?p(f,o("p","bg",d.pml)):null},n=t(e[te].root);if(n)return{element:n,part:e[O]};let r=Te(e);if(!r)return null;let a=t(r[ot].root);if(a)return{element:a,part:G(r[de])};let l=e[P],i=G(r[de]),s=l.getRels(i)?.items.find(u=>u.type===D.slideMaster);if(!s)return null;let c=l.getPart(V(i,s.target)),m=c&&t(j(z(c.data)).root);return m&&c?{element:m,part:c.name}:null},ld=e=>{let t=Wm(e),n=t&&p(t.element,o("p","bgPr",d.pml)),r=n&&p(n,o("a","blipFill",d.dml));return r&&t?{fill:r,part:t.part}:null},Rv=e=>{let t=ld(e);if(!t)return null;let n=p(t.fill,o("a","blip",d.dml)),r=n&&x(n,o("r","embed",d.officeDocRels)),a=e[P],l=a.getRels(t.part)?.items.find(s=>s.id===r);if(!l||l.targetMode==="External")return null;let i=a.getPart(V(t.part,l.target))?.data;return i?Xm(t.fill,i):null},Nv=e=>{let t=ld(e);return t?km(t.fill):null},Dv=e=>{let t=ld(e);return t?Bm(t.fill):null},_v=(e,t)=>{Fv(e,n=>Om(n,t))},kv=e=>{let t=ld(e),n=t&&p(t.fill,o("a","blip",d.dml));return n?Fm(n):null},Mv=(e,t)=>{Fv(e,n=>{let r=p(n,o("a","blip",d.dml));if(!r)throw new Error("Image background has no blip");Im(r,t)})},Fv=(e,t)=>{let n=ld(e);if(!n)throw new Error("This operation requires an image background");let r=he(n.fill);t(r);let a=e[P],l=e[O],i={items:[...a.getRels(l)?.items??[]]};if(n.part!==l){let c=new Map(a.getRels(n.part)?.items.map(y=>[y.id,y])),m=new Map,u=se(i.items.map(y=>y.id)),f=y=>{y.attrs=y.attrs.map(g=>{if(g.name.namespaceURI!==d.officeDocRels||!g.value)return g;let S=m.get(g.value);if(!S){let E=c.get(g.value);if(!E)throw new Error(`Image background has a missing relationship: ${g.value}`);S=u,u=se([S]),i.items.push({...E,id:S,target:E.targetMode==="External"?E.target:V(n.part,E.target)}),m.set(g.value,S)}return{...g,value:S}});for(let g of y.children)g.kind==="element"&&f(g)};f(r)}let s=p(e[te].root,Pe);if(!s)throw new Error("slide has no <p:cSld>");Gm(s,c=>{c.children.push(r)}),a.setRels(l,i),ce(e),ge(e)},Iv=(e,t)=>{let n=Wm(e),r=n&&p(n.element,o("p","bgPr",d.pml)),a=r&&p(r,o("a","pattFill",d.dml));Vm(e,l=>{a&&l.children.push(he(a)),ja(l,t)})},Bv=(e,t)=>{let n=Wm(t);if(!n){By(e,"#FFFFFF");return}let r=p(e[te].root,Pe);if(!r)throw new Error("copySlideBackground: target slide has no cSld");let a=t[P],l=e[P],i=e[O],s=he(n.element),c=[],m=new Set,u=v=>{c.push(v);for(let C of v.attrs)C.name.namespaceURI===d.officeDocRels&&C.value&&m.add(C.value);for(let C of v.children)C.kind==="element"&&u(C)};u(s);let f=new Map(a.getRels(n.part)?.items.map(v=>[v.id,v])),y=new Map;for(let v of m){let C=f.get(v);if(!C)throw new Error(`copySlideBackground: missing relationship ${v}`);if(C.targetMode!=="External"){let R=V(n.part,C.target);if(!a.getPart(R))throw new Error(`copySlideBackground: missing dependency ${R}`);y.set(R,null)}}let g=a===l?null:Sl(a,l,y),S={items:[...l.getRels(i)?.items??[]]},E=(v,C,R)=>JSON.stringify([v,C,R??"Internal"]),A=new Map(S.items.map(v=>[E(v.type,v.targetMode==="External"?v.target:V(i,v.target),v.targetMode),v.id])),w=new Map,T=se(S.items.map(v=>v.id));for(let v of m){let C=f.get(v),R=C.targetMode==="External"?C.target:V(n.part,C.target),N=g?.get(R.toLowerCase())??R,_=E(C.type,N,C.targetMode),k=A.get(_);k||(k=T,T=se([k]),S.items.push({...C,id:k,target:N}),A.set(_,k)),w.set(v,k)}for(let v of c)v.attrs=v.attrs.map(C=>C.name.namespaceURI===d.officeDocRels&&C.value?{...C,value:w.get(C.value)}:C);r.children=r.children.filter(v=>!(v.kind==="element"&&v.name.namespaceURI===d.pml&&v.name.localName==="bg")),r.children.unshift(s),l.setRels(i,S),ce(e),ge(e)},Ov=(e,t)=>{let n=e[P];if(t[P]!==n||!H(e).includes(t))throw new Error("applySlideBackgroundToAll: source must belong to the presentation");let r=Wm(t),a=new Map(r?n.getRels(r.part)?.items.map(m=>[m.id,m]):[]),l=n.getRels(Y)?.items.filter(m=>m.type===D.slideMaster)??[];if(l.length===0)throw new Error("applySlideBackgroundToAll: presentation has no slide master");let i=l.map(m=>{let u=V(Y,m.target),f=n.getPart(u);if(!f)throw new Error(`applySlideBackgroundToAll: missing master ${u}`);let y=j(z(f.data)),g=p(y.root,Pe);if(!g)throw new Error(`applySlideBackgroundToAll: master ${u} has no cSld`);let S=r?he(r.element):h(o("p","bg",d.pml));if(!r){let C=h(o("p","bgPr",d.pml));dr(C,"#FFFFFF"),S.children.push(C)}let E={items:[...n.getRels(u)?.items??[]]},A=se(E.items.map(C=>C.id)),w=new Map,T=new Map(E.items.map(C=>[JSON.stringify([C.type,C.targetMode==="External"?C.target:V(u,C.target),C.targetMode??"Internal"]),C.id])),v=C=>{C.attrs=C.attrs.map(R=>{if(R.name.namespaceURI!==d.officeDocRels||R.value==="")return R;let N=w.get(R.value);if(!N){let _=a.get(R.value);if(!_)throw new Error(`applySlideBackgroundToAll: missing relationship ${R.value}`);let k=_.targetMode==="External"?_.target:V(r.part,_.target),M=JSON.stringify([_.type,k,_.targetMode??"Internal"]);N=T.get(M),N||(N=A,A=se([N]),E.items.push({..._,id:N,target:k}),T.set(M,N)),w.set(R.value,N)}return{...R,value:N}});for(let R of C.children)R.kind==="element"&&v(R)};return v(S),g.children=g.children.filter(C=>!(C.kind==="element"&&C.name.namespaceURI===d.pml&&C.name.localName==="bg")),g.children.unshift(S),{part:f,rels:E,data:le(ae(y))}}),s=Ct(e);for(let m of s)if(!p(m[ot].root,Pe))throw new Error("applySlideBackgroundToAll: layout has no cSld");for(let m of i)m.part.data=m.data,n.setRels(m.part.name,m.rels);let c=Ym(t);for(let m of s){let u=m[ot].root;u.attrs=u.attrs.filter(f=>!(f.name.namespaceURI===""&&f.name.localName==="showMasterSp")),c&&u.attrs.push(b(o("","showMasterSp",""),"0")),Um(m)}for(let m of H(e))Zm(m,c),Oy(m)},Xv=(e,t,n={})=>{let r=n.format??ut(t);if(r===null)throw new Error("setSlideBackgroundImage: could not detect image format. Pass options.format explicitly.");let a=xn(r),l=yn(r),i=e[P],s=1,c=/^\/ppt\/media\/image(\d+)\./;for(let y of i.parts){let g=y.name.match(c);if(g?.[1]!==void 0){let S=Number.parseInt(g[1],10);Number.isFinite(S)&&S>=s&&(s=S+1)}}let m=G(`/ppt/media/image${s}.${l}`);Sn(i,l,a),i.addPart(m,a,t);let u=i.getRels(e[O])??pe(),f=se(u.items.map(y=>y.id));u.items.push({id:f,type:D.image,target:`../media/image${s}.${l}`,targetMode:"Internal"}),i.setRels(e[O],u),Vm(e,y=>{let g=h(o("a","blip",d.dml),{attrs:[b(o("r","embed",d.officeDocRels),f)]}),S=h(o("a","stretch",d.dml),{children:[h(o("a","fillRect",d.dml))]});y.children.push(h(o("a","blipFill",d.dml),{children:[g,S]}))})},Oy=e=>{let t=p(e[te].root,Pe);t&&(t.children=t.children.filter(n=>!(n.kind==="element"&&n.name.namespaceURI===d.pml&&n.name.localName==="bg")),ce(e),ge(e))};var $v={bg1:"lt1",tx1:"dk1",bg2:"lt2",tx2:"dk2",accent1:"accent1",accent2:"accent2",accent3:"accent3",accent4:"accent4",accent5:"accent5",accent6:"accent6",hlink:"hlink",folHlink:"folHlink"},VV=o("p","clrMap",d.pml),zV=o("p","txStyles",d.pml),WV=o("p","bodyStyle",d.pml),YV=o("a","lvl1pPr",d.dml),ZV=o("a","defRPr",d.dml),KV=o("a","solidFill",d.dml),jv=e=>{if(de in e)return e[de];let t=e,r=t[P].getRels(t[O]);if(r===null)return null;let a=r.items.find(l=>l.type===D.slideLayout&&l.targetMode!=="External");return a?a.target.startsWith("/")?G(a.target):V(t[O],a.target):null},Uv=e=>{let t=e[P],n=jv(e);if(!n)return null;let r=t.getRels(n);if(r===null)return null;let a=r.items.find(s=>s.type===D.slideMaster&&s.targetMode!=="External");if(!a)return null;let l=a.target.startsWith("/")?G(a.target):V(n,a.target),i=t.getPart(l);return i===null?null:j(z(i.data)).root},JV=e=>{let t=p(e,VV);if(!t)return null;let n={};for(let r of t.attrs)r.name.namespaceURI===""&&(n[r.name.localName]=r.value);return Object.keys(n).length>0?n:null},Ye=e=>{let t=!(de in e),n=t?zm(e):null;if(n)return{...$v,...n};let r=Uv(e),a=r?JV(r):null,l={...$v,...a},i=t?p(e[te].root,o("p","clrMapOvr",d.pml)):null;if(i&&p(i,o("a","masterClrMapping",d.dml)))return l;let s=jv(e),c=s?e[P].getPart(s):null,m=c?p(j(z(c.data)).root,o("p","clrMapOvr",d.pml)):null,u=m?p(m,o("a","overrideClrMapping",d.dml)):null;for(let f of u?.attrs??[])f.name.namespaceURI===""&&(l[f.name.localName]=f.value);return l},QV=e=>{for(let t of e.children)if(t.kind==="element"&&t.name.namespaceURI===d.dml)return t;return null},Al=e=>{let t=Vr(e[P]);if(!t)return null;let n=Ye(e),r=Uv(e);if(r){let a=p(r,zV),l=a?p(a,WV):null,i=l?p(l,YV):null,s=i?p(i,ZV):null,c=s?p(s,KV):null,m=c?QV(c):null;if(m){let u=ye(m,t,n);if(u)return u}}return Xy("tx1",t,n)};var ez="application/vnd.openxmlformats-officedocument.drawingml.chart+xml",tz="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",nz=e=>{let t=1,n=/^\/ppt\/charts\/chart(\d+)\.xml$/;for(let r of e.parts){let a=r.name.match(n);if(a?.[1]!==void 0){let l=Number.parseInt(a[1],10);Number.isFinite(l)&&l>=t&&(t=l+1)}}return t},rz=o("p","graphicFrame",d.pml),az=o("p","nvGraphicFramePr",d.pml),lz=o("p","cNvPr",d.pml),oz=o("p","cNvGraphicFramePr",d.pml),iz=o("p","nvPr",d.pml),sz=o("p","xfrm",d.pml),dz=o("a","off",d.dml),cz=o("a","ext",d.dml),mz=o("a","graphic",d.dml),pz=o("a","graphicData",d.dml),zv=o("c","chart",d.chart),uz=e=>{let t=h(lz,{attrs:[b(o("","id",""),String(e.id)),b(o("","name",""),e.name)]}),n=h(az,{children:[t,h(oz),h(iz)]}),r=h(dz,{attrs:[b(o("","x",""),String(Ue(e.x,"addSlideChart: x"))),b(o("","y",""),String(Ue(e.y,"addSlideChart: y")))]}),a=h(cz,{attrs:[b(o("","cx",""),String(xe(e.w,"addSlideChart: w"))),b(o("","cy",""),String(xe(e.h,"addSlideChart: h")))]}),l=h(sz,{children:[r,a]}),i=h(zv,{prefixDecls:new Map([["c",d.chart],["r",d.officeDocRels]]),attrs:[b(o("r","id",d.officeDocRels),e.rEmbed)]}),s=h(pz,{attrs:[b(o("","uri",""),d.chart)],children:[i]}),c=h(mz,{children:[s]});return h(rz,{children:[n,l,c]})},Ze=(e,t)=>{if(e!=null&&Hi(e)===null)throw new Error(`${t}: invalid chart color ${JSON.stringify(e)} \u2014 expected an sRGB hex like "#4472C4" or "4472C4"`)},Wv=e=>{Ze(e.plotAreaFill,"addSlideChart: plotAreaFill"),Ze(e.plotAreaStrokeColor,"addSlideChart: plotAreaStrokeColor"),Ze(e.chartAreaFill,"addSlideChart: chartAreaFill"),Ze(e.chartAreaStrokeColor,"addSlideChart: chartAreaStrokeColor"),Ze(e.valueAxisMajorGridlineColor,"addSlideChart: valueAxisMajorGridlineColor"),Ze(e.valueAxisMinorGridlineColor,"addSlideChart: valueAxisMinorGridlineColor"),Ze(e.categoryAxisMajorGridlineColor,"addSlideChart: categoryAxisMajorGridlineColor"),Ze(e.categoryAxisMinorGridlineColor,"addSlideChart: categoryAxisMinorGridlineColor"),Ze(e.valueAxisLineColor,"addSlideChart: valueAxisLineColor"),Ze(e.categoryAxisLineColor,"addSlideChart: categoryAxisLineColor"),Ze(e.secondaryValueAxis?.majorGridlineColor,"addSlideChart: secondaryValueAxis.majorGridlineColor"),Ze(e.secondaryValueAxis?.lineColor,"addSlideChart: secondaryValueAxis.lineColor"),Ze(e.dataLabels?.fillColor,"addSlideChart: dataLabels.fillColor"),Ze(e.upDownBars?.upColor,"addSlideChart: upDownBars.upColor"),Ze(e.upDownBars?.downColor,"addSlideChart: upDownBars.downColor"),Ze(e.seriesAxis?.lineColor,"addSlideChart: seriesAxis.lineColor"),e.series.forEach((t,n)=>{Ze(t.color,`addSlideChart: series[${n}].color`),Ze(t.lineColor,`addSlideChart: series[${n}].lineColor`),Ze(t.markerColor,`addSlideChart: series[${n}].markerColor`),Ze(t.markerLineColor,`addSlideChart: series[${n}].markerLineColor`),Ze(t.trendline?.color,`addSlideChart: series[${n}].trendline.color`),Ze(t.errorBars?.color,`addSlideChart: series[${n}].errorBars.color`),Ze(t.xErrorBars?.color,`addSlideChart: series[${n}].xErrorBars.color`),Ze(t.dataLabels?.fillColor,`addSlideChart: series[${n}].dataLabels.fillColor`),t.pointDataLabels?.forEach((r,a)=>{Ze(r?.fillColor,`addSlideChart: series[${n}].pointDataLabels[${a}].fillColor`)}),t.pointColors?.forEach((r,a)=>{Ze(r,`addSlideChart: series[${n}].pointColors[${a}]`)})})},Yv=e=>{if(e.series.length>0&&e.series.every(t=>t.secondaryAxis===!0))throw new Error("chart: at least one series must plot on the primary axis")},Zv=(e,t)=>{if(t===null)return e;let n=c=>c===void 0?{color:t}:c.color===void 0?{...c,color:t}:c,r={...e.title!==void 0?{titleStyle:n(e.titleStyle)}:{},...e.legend!==void 0?{legend:{...e.legend,textStyle:n(e.legend.textStyle)}}:{},...e.dataLabels!==void 0?{dataLabels:{...e.dataLabels,textStyle:n(e.dataLabels.textStyle)}}:{}};if(e.kind==="pie"||e.kind==="doughnut")return{...e,...r};let a={categoryAxisLabelStyle:n(e.categoryAxisLabelStyle),valueAxisLabelStyle:n(e.valueAxisLabelStyle)};if(!(e.view3D===void 0&&(e.kind==="bar"||e.kind==="column"||e.kind==="line"||e.kind==="area")))return{...e,...r,...a};let i=e.series.some(c=>c.secondaryAxis===!0),s=e.secondaryValueAxis??{};return{...e,...r,...a,...i?{secondaryValueAxis:{...s,labelStyle:n(s.labelStyle),...s.title!==void 0?{titleStyle:n(s.titleStyle)}:{}}}:{}}},Kv=(e,t)=>{cy(t.spec,"addSlideChart"),Wv(t.spec),Yv(t.spec);let n=Zv(t.spec,Al(e)),r=e[P],a=nz(r),l=G(`/ppt/charts/chart${a}.xml`),i=G(`/ppt/embeddings/Microsoft_Excel_Worksheet${a}.xlsx`),s=Us(yl(n).grid),c=Rm(n),m=le(ae(c));r.addPart(l,ez,m),r.addPart(i,tz,s),Sn(r,"rels","application/vnd.openxmlformats-package.relationships+xml");let u=pe();u.items.push({id:"rId1",type:D.package,target:`../embeddings/Microsoft_Excel_Worksheet${a}.xlsx`,targetMode:"Internal"}),r.setRels(l,u);let f=r.getRels(e[O])??pe(),y=se(f.items.map(S=>S.id));f.items.push({id:y,type:D.chart,target:`../charts/chart${a}.xml`,targetMode:"Internal"}),r.setRels(e[O],f);let g=uz({id:wt(e),name:t.name??`Chart ${a}`,x:t.x,y:t.y,w:t.w,h:t.h,rEmbed:y});return Mn(e,g)},fz=o("a","graphic",d.dml),hz=o("a","graphicData",d.dml),gz=o("c","chart",d.chart),li=(e,t)=>{if(t[U].kind!=="graphicFrame")return null;let n=p(t[F],fz);if(!n)return null;let r=p(n,hz);if(!r)return null;let a=p(r,gz);if(!a)return null;let l=x(a,o("r","id",d.officeDocRels));if(l===null)return null;let i=e[P].getRels(e[O]);if(!i)return null;let s=i.items.find(m=>m.id===l);return s?{partName:s.target.startsWith("/")?G(s.target):V(e[O],s.target),rId:l}:null},Uy=(e,t)=>{cy(t,"setChartSpec"),Wv(t),Yv(t);let n=e.shape[X],r=n[P],a=li(n,e.shape);if(!a)throw new Error("setChartSpec: shape is not a chart graphic frame");let l=Rm(Zv(t,Al(n))),i=le(ae(l)),s=r.getPart(a.partName);if(!s)throw new Error(`setChartSpec: chart part ${a.partName} not found`);s.data=i;let c=Jv(r,a.partName);c&&(c.data=Us(yl(t).grid))},Jv=(e,t)=>{let n=e.getRels(t)?.items.find(a=>a.type===D.package);if(!n||n.targetMode==="External")return null;let r=n.target.startsWith("/")?G(n.target):V(t,n.target);return e.getPart(r)??null},yz=new Set(["bar","column","line","area","pie","doughnut"]),xz=e=>yz.has(e),Sz=o("c","plotArea",d.chart),bz=o("c","ser",d.chart),Ez=o("c","tx",d.chart),Gv=o("c","cat",d.chart),Az=o("c","val",d.chart),Tz=o("c","f",d.chart),wz=o("c","strRef",d.chart),vz=o("c","strLit",d.chart),Cz=o("c","strCache",d.chart),Qv=o("c","numRef",d.chart),eC=o("c","numLit",d.chart),Lz=o("c","numCache",d.chart),Pz=o("c","multiLvlStrRef",d.chart),Rz=o("c","multiLvlStrCache",d.chart),Nz=o("c","lvl",d.chart),Dz=o("c","formatCode",d.chart),tC=o("c","ptCount",d.chart),jy=o("c","extLst",d.chart),nC=o("","val",""),_z=o("","idx",""),Bn=(e,t,n={})=>h(o(e.name.prefix,t,d.chart),n),qv=(e,t)=>{let n=p(e,Tz);n&&(n.children=[be(t)])},Hv=(e,t)=>{let n=Q(e,Dz),r=Q(e,jy),a=p(e,tC)??Bn(e,"ptCount");a.attrs=[b(nC,String(t.length))],e.children=[...n,a,...rC(e,t),...r]},rC=(e,t)=>t.flatMap((n,r)=>n===null?[]:[Bn(e,"pt",{attrs:[b(_z,String(r))],children:[Bn(e,"v",{children:[be(n)]})]})]),$y=(e,t,n)=>{for(let[l,i]of[[wz,Cz],[Qv,Lz]]){let s=p(e,l);if(s){if(t!==null&&qv(s,t),n!==null){let c=p(s,i);c||(c=Bn(s,i.localName),s.children.push(c)),Hv(c,n)}return}}let r=p(e,vz)??p(e,eC);r&&n!==null&&Hv(r,n);let a=p(e,Pz);a&&(t!==null&&qv(a,t),n!==null&&kz(a,n))},kz=(e,t)=>{let n=p(e,Rz)??Bn(e,"multiLvlStrCache");e.children.includes(n)||e.children.push(n);let r=p(n,Nz)??Bn(n,"lvl"),a=p(n,tC)??Bn(n,"ptCount");a.attrs=[b(nC,String(t.length))],r.children=[...rC(n,t),...Q(r,jy)],n.children=[a,r,...Q(n,jy)]},Vv=e=>p(e,Qv)!==null||p(e,eC)!==null,aC=(e,t)=>{let n=e.shape[X],r=n[P],a=li(n,e.shape);if(!a)throw new Error("setChartData: shape is not a chart graphic frame");let l=r.getPart(a.partName);if(!l)throw new Error(`setChartData: chart part ${a.partName} not found`);let i=j(z(l.data)),s=Ks(i.root);if(s===null||!xz(s.kind))throw new Error(`setChartData: the data of ${s===null?"this chart":`a ${s.kind} chart`} cannot be replaced; build the chart again instead`);if(t.categories?.length===0||t.series?.length===0)throw new Error("setChartData: categories and series must not be empty");let c=t.kind??s.kind,m=t.categories??s.categories,u=t.series??s.series;for(let T of u){if(T.values.length!==m.length)throw new Error(`setChartData: series "${T.name}" has ${T.values.length} values for ${m.length} categories`);if(T.values.some(v=>v!==null&&!Number.isFinite(v)))throw new Error(`setChartData: series "${T.name}" has a value that is not a finite number`)}let f=new Map(u.map(T=>[T.name,T]));if(t.series!==void 0&&f.size!==u.length)throw new Error("setChartData: series names must be distinct");let y=t.series===void 0||new Set(s.series.map(T=>T.name)).size===u.length&&s.series.every(T=>f.has(T.name));if(c!==s.kind||!y){Uy(e,Mz(s,c,m,u));return}if(t.categories!==void 0&&s.categoryGroupLevels!==void 0)throw new Error("setChartData: the categories of a chart with several category levels cannot be replaced");let g=ji(p(p(i.root,zv),Sz)).flatMap(T=>Q(T,bz)),S=s.series.map(T=>t.series===void 0?T.values:f.get(T.name).values),E=g.some(T=>{let v=p(T,Gv);return v!==null&&Vv(v)});if(t.categories!==void 0&&E&&m.some(T=>!Number.isFinite(Number(T))||T.trim()===""))throw new Error("setChartData: this chart has numeric (date) categories; pass numbers");let A=Jv(r,a.partName),w=A?yl({...s,categories:m,series:s.series.map((T,v)=>({...T,values:S[v]}))}):null;g.forEach((T,v)=>{let C=w?.series[v],R=p(T,Ez);R&&C&&$y(R,C.name,null);let N=p(T,Gv),_=p(T,Az);if(!_)throw new Error("setChartData: a series of this chart has no values");!N&&t.categories!==void 0&&(N=Bn(T,"cat",{children:[w?Bn(T,"strRef",{children:[Bn(T,"f"),Bn(T,"strCache")]}):Bn(T,"strLit")]}),T.children.splice(T.children.indexOf(_),0,N)),N&&$y(N,w?.categories??null,t.categories===void 0?null:Vv(N)?m.map(k=>String(Number(k))):m),$y(_,C?.values??null,t.series===void 0?null:S[v].map(k=>k===null?null:String(k)))}),l.data=le(ae(i)),A&&w&&(A.data=Us(w.grid))},Mz=(e,t,n,r)=>{let a=new Map(e.series.map(c=>[c.name,c.color])),l=r.map(({name:c,values:m})=>{let u=a.get(c);return{name:c,values:m,...u!==void 0?{color:u}:{}}}),i=e.legend&&{position:e.legend.position,...e.legend.overlay!==void 0?{overlay:e.legend.overlay}:{},...e.legend.textStyle!==void 0?{textStyle:e.legend.textStyle}:{}},s={categories:n,...e.title!==void 0?{title:e.title}:{},...i!==void 0?{legend:i}:{}};if(t==="pie"||t==="doughnut"){let[c,...m]=l;if(c===void 0||m.length>0)throw new Error(`setChartData: a ${t} chart takes exactly one series`);return t==="pie"?{kind:t,...s,series:[c]}:{kind:t,...s,series:[c]}}return{kind:t,...s,series:l,...e.categoryAxisTitle!==void 0?{categoryAxisTitle:e.categoryAxisTitle}:{},...e.valueAxisTitle!==void 0?{valueAxisTitle:e.valueAxisTitle}:{}}},lC=e=>{let t=Sa(e);return t===null?null:t.kind},oC=e=>{let t=Sa(e);return t===null?null:t.categories},iC=e=>{let t=Sa(e);return t===null?null:t.series.map(n=>n.name)},sC=(e,t)=>{let n=Sa(e);if(n===null)return null;let r=n.series.find(a=>a.name===t);return r?r.values:null},Sa=e=>{let t=e[X],n=li(t,e);if(!n)return null;let r=t[P].getPart(n.partName);if(!r)return null;try{let a=j(z(r.data)).root;return Ks(a)}catch{return null}},dC=(e,t)=>{let n=[];for(let r of On(e))r.spec!==null&&r.spec.series.some(a=>a.name===t)&&n.push(r);return n},cC=e=>{let t=[];for(let n of On(e))n.spec!==null&&n.spec.series.some(r=>r.trendline!==void 0)&&t.push(n);return t},mC=e=>{let t=[],n=r=>r!==void 0&&!!(r.showValue||r.showCategory||r.showSeriesName||r.showPercent);for(let r of On(e))if(r.spec!==null){if(n(r.spec.dataLabels)){t.push(r);continue}r.spec.series.some(a=>n(a.dataLabels))&&t.push(r)}return t},pC=(e,t)=>{for(let n of On(e))if(n.spec!==null&&n.spec.kind===t)return n;return null},uC=e=>{let t={bar:0,column:0,line:0,pie:0,doughnut:0,area:0,scatter:0,radar:0,bubble:0,stock:0,surface:0};for(let n of H(e))for(let r of On(n))r.spec!==null&&t[r.spec.kind]++;return t},fC=e=>H(e).map(t=>On(t).length),On=e=>{let t=e[P],n=[];for(let r of e[ne]){let a=li(e,r);if(!a)continue;let l=t.getPart(a.partName);if(!l)continue;let i;try{let s=j(z(l.data)).root;i=Ks(s)}catch{i=null}n.push({shape:r,spec:i})}return n};var Fz="application/vnd.openxmlformats-officedocument.presentationml.tableStyles+xml",Iz=o("a","tblStyle",d.dml),Km=(e,t)=>{let n=_c(t);if(n===null)return;let r=t.trim().toUpperCase(),a=e.getRels(Y)??pe(),l=a.items.find(f=>f.type===D.tableStyles&&f.targetMode==="Internal"),i=l?V(Y,l.target):G("/ppt/tableStyles.xml"),s=e.getPart(i);if(s===null){let f=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
26
|
+
<a:tblStyleLst xmlns:a="${d.dml}" def="${go}">${n}</a:tblStyleLst>`;e.addPart(i,Fz,le(f)),l||(a.items.push({id:se(a.items.map(y=>y.id)),type:D.tableStyles,target:i,targetMode:"Internal"}),e.setRels(Y,a));return}let c=j(z(s.data));if(Q(c.root,Iz).some(f=>x(f,o("","styleId",""))?.trim().toUpperCase()===r))return;let u=j(`<a:tblStyleLst xmlns:a="${d.dml}">${n}</a:tblStyleLst>`).root.children[0];if(u?.kind!=="element")throw new Error("builtin table style markup is not an element");c.root.prefixDecls.get("a")!==d.dml&&u.prefixDecls.set("a",d.dml),c.root.children.push(u),s.data=le(ae(c))};var Bz=/^\/ppt\/media\/image(\d+)\./,Gy=(e,t,n,r)=>{let a=1;for(let m of e.parts){let u=m.name.match(Bz);u?.[1]!==void 0&&(a=Math.max(a,Number.parseInt(u[1],10)+1))}let l=yn(r),i=xn(r);Sn(e,l,i),e.addPart(G(`/ppt/media/image${a}.${l}`),i,n);let s=e.getRels(t)??pe(),c=se(s.items.map(m=>m.id));return s.items.push({id:c,type:D.image,target:`../media/image${a}.${l}`,targetMode:"Internal"}),e.setRels(t,s),c},oi=(e,t)=>n=>{let r=e.getRels(t)?.items.find(l=>l.id===n);if(!r||r.targetMode==="External")return null;let a=r.target.startsWith("/")?G(r.target):V(t,r.target);return e.getPart(a)?.data??null},Yr=(e,t,n)=>{let r=new Map,a=l=>{let i=ut(l);if(i===null||i==="svg")throw new Error(`${n}: picture fill bytes must be PNG, JPEG, GIF, BMP, TIFF or WebP`);return i};return{check:l=>{a(l)},embed:l=>{let i=r.get(l);return i===void 0&&(i=Gy(e,t,l,a(l)),r.set(l,i)),i}}};var Oz=o("p","style",d.pml),Xz=o("a","fontRef",d.dml),hC=(e,t)=>{let n=p(t[F],Oz),r=n?p(n,Xz):null;if(!r)return{};let a={},l=x(r,o("","idx",""));if(l==="major"||l==="minor"){let s=l==="major"?"+mj":"+mn";a.font=`${s}-lt`,a.fontEastAsian=`${s}-ea`,a.fontComplexScript=`${s}-cs`}let i=r.children.find(s=>s.kind==="element"&&s.name.namespaceURI===d.dml);if(i){let{theme:s}=It(e,t),c=ye(i,s,Ye(t[X]));c!==null&&(a.color=c)}return a};var qy=o("a","defRPr",d.dml),$z=o("a","endParaRPr",d.dml),rp=o("a","lstStyle",d.dml),gC=o("p","txBody",d.pml),jz=o("p","txStyles",d.pml),Uz=o("p","titleStyle",d.pml),Gz=o("p","bodyStyle",d.pml),qz=o("p","otherStyle",d.pml),ba=(e,t)=>{e.font===void 0&&t.font!==void 0&&(e.font=t.font),e.fontEastAsian===void 0&&t.fontEastAsian!==void 0&&(e.fontEastAsian=t.fontEastAsian),e.fontComplexScript===void 0&&t.fontComplexScript!==void 0&&(e.fontComplexScript=t.fontComplexScript),e.size===void 0&&t.size!==void 0&&(e.size=t.size),e.color===void 0&&e.textFill===void 0&&t.color!==void 0&&(e.color=t.color),e.color===void 0&&e.textFill===void 0&&t.textFill!==void 0&&(e.textFill=t.textFill),e.bold===void 0&&t.bold!==void 0&&(e.bold=t.bold),e.italic===void 0&&t.italic!==void 0&&(e.italic=t.italic),e.underline===void 0&&t.underline!==void 0&&(e.underline=t.underline),e.underlineColor===void 0&&t.underlineColor!==void 0&&(e.underlineColor=t.underlineColor),e.strike===void 0&&t.strike!==void 0&&(e.strike=t.strike),e.spc===void 0&&t.spc!==void 0&&(e.spc=t.spc),e.kern===void 0&&t.kern!==void 0&&(e.kern=t.kern),e.normalizeHeight===void 0&&t.normalizeHeight!==void 0&&(e.normalizeHeight=t.normalizeHeight),e.baseline===void 0&&t.baseline!==void 0&&(e.baseline=t.baseline),e.cap===void 0&&t.cap!==void 0&&(e.cap=t.cap),e.highlight===void 0&&t.highlight!==void 0&&(e.highlight=t.highlight),e.outline===void 0&&t.outline!==void 0&&(e.outline=t.outline),e.shadow===void 0&&t.shadow!==void 0&&(e.shadow=t.shadow),e.innerShadow===void 0&&t.innerShadow!==void 0&&(e.innerShadow=t.innerShadow),e.glow===void 0&&t.glow!==void 0&&(e.glow=t.glow),e.reflection===void 0&&t.reflection!==void 0&&(e.reflection=t.reflection)},Qm=(e,t)=>{if(!e)return null;let n=`lvl${Math.max(0,Math.min(8,t))+1}pPr`,r=p(e,o("a",n,d.dml));if(!r){if(t!==0)return null;let a=p(e,o("a","defPPr",d.dml));return a?p(a,qy):null}return p(r,qy)},Hy=(e,t,n,r)=>{let a=t.children.filter(T=>T.kind==="element"&&T.name.namespaceURI===d.dml&&T.name.localName==="p"),l=a[n];if(!l)throw new RangeError(`paragraph index ${n} out of range (have ${a.length})`);let i=typeof r=="object"&&r!==null,s=i&&"breakIndex"in r?"br":"fld",c=i?l.children.filter(T=>T.kind==="element"&&T.name.namespaceURI===d.dml&&T.name.localName===s):ap(l),m=i?"fieldIndex"in r?r.fieldIndex:r.breakIndex:r,u=m===null?null:c[m];if(r!==null&&!u)throw new RangeError(`run index ${m} out of range in paragraph ${n} (have ${c.length})`);let f={},y=e,g=p(l,Vt),S=0;if(g){let T=x(g,si);if(T!==null){let v=Number.parseInt(T,10);Number.isFinite(v)&&(S=v)}}let E=u?p(u,Tl):null;if(E&&ba(f,Ht(E,y,e.images)),r===null){let T=p(l,$z);T&&ba(f,Ht(T,y,e.images))}if(g){let T=p(g,qy);T&&ba(f,Ht(T,y,e.images))}let A=p(t,rp),w=Qm(A,S);return w&&ba(f,Ht(w,y,e.images)),f},Jm=(e,t)=>{if(!e)return null;let n=`lvl${Math.max(0,Math.min(8,t))+1}pPr`,r=p(e,o("a",n,d.dml));return r||(t!==0?null:p(e,o("a","defPPr",d.dml)))},Hz=e=>{let t=p(e[F],gC);return t?p(t,rp):null},ep=(e,t,n)=>id(e,t,n),tp=e=>{let t=p(e,gC);return t?p(t,rp):null},Vz=o("p","nvSpPr",d.pml),zz=o("p","nvPr",d.pml),Wz=o("p","ph",d.pml),yC=e=>{let t=p(e[F],Vz);if(!t)return!1;let n=p(t,zz);return n!==null&&p(n,Wz)!==null},xC=(e,t)=>{let n=p(e,jz);return n?t==="title"||t==="ctrTitle"?p(n,Uz):t==="body"||t==="subTitle"||t===null?p(n,Gz):p(n,qz):null},SC=o("p","txBody",d.pml),od=(e,t,n,r,a={})=>{let l=Qe(t,n),i=p(t[F],SC);if(!i)throw new Error("shape has no <p:txBody>");let s=a.inheritanceSource??t,c=Fe(e),m=Ye(s[X]),u={...Hy({theme:c,colorMap:m,images:oi(s[X][P],s[X][O])},i,n,r)};ba(u,hC(e,t));let f={theme:c,colorMap:m},y=p(l,Vt),g=0;if(y){let C=x(y,si);if(C!==null){let R=Number.parseInt(C,10);Number.isFinite(R)&&(g=R)}}let S=qt(s),E=Gt(s),A=yC(s),w=s[X],T=Te(w);if(T&&A){let C=ep(T[ue].shapes,S,E);if(C){let k=tp(C.element),M=Qm(k,g);M&&ba(u,Ht(M,f))}let R=e[P],N=G(T[de]),_=R.getRels(N);if(_){let k=_.items.find(M=>M.type===D.slideMaster);if(k){let M=R.getPart(V(N,k.target));if(M){let I=j(z(M.data)).root,{shapes:K}=Ge(I,"sldMaster"),re=ep(K,S,E);if(re){let me=tp(re.element),we=Qm(me,g);we&&ba(u,Ht(we,f))}let Se=xC(I,E),Ce=Qm(Se,g);Ce&&ba(u,Ht(Ce,f))}}}}let v=ty(It(e,t).root)??Go(e);if(v){let C=R=>{switch(R){case"+mj-lt":return v.majorLatin??void 0;case"+mn-lt":return v.minorLatin??void 0;case"+mj-ea":return v.majorEastAsian??void 0;case"+mn-ea":return v.minorEastAsian??void 0;case"+mj-cs":return v.majorComplexScript??void 0;case"+mn-cs":return v.minorComplexScript??void 0;default:return}};if(typeof u.font=="string"&&u.font.startsWith("+")){let R=C(u.font);R&&(u.font=R)}if(u.font===void 0){let N=E==="title"||E==="ctrTitle"?v.majorLatin:v.minorLatin;N&&(u.font=N)}if(typeof u.fontEastAsian=="string"&&u.fontEastAsian.startsWith("+")){let R=C(u.fontEastAsian);R&&(u.fontEastAsian=R)}if(u.fontEastAsian===void 0){let N=E==="title"||E==="ctrTitle"?v.majorEastAsian:v.minorEastAsian;N&&(u.fontEastAsian=N)}if(typeof u.fontComplexScript=="string"&&u.fontComplexScript.startsWith("+")){let R=C(u.fontComplexScript);R&&(u.fontComplexScript=R)}if(u.fontComplexScript===void 0){let N=E==="title"||E==="ctrTitle"?v.majorComplexScript:v.minorComplexScript;N&&(u.fontComplexScript=N)}}return u},np={l:"left",ctr:"center",r:"right",just:"justify",justLow:"justify",dist:"distribute",thaiDist:"distribute"},Yz=e=>{let t={},n=x(e,o("","defTabSz",""));n!==null&&Number.isFinite(Number(n))&&(t.defaultTabSizeEmu=Number(n));let r=p(e,o("a","tabLst",d.dml));if(r){t.tabStops=[];for(let S of r.children){if(S.kind!=="element"||S.name.namespaceURI!==d.dml||S.name.localName!=="tab")continue;let E=x(S,o("","pos",""));if(E===null||!Number.isFinite(Number(E)))continue;let A=x(S,o("","algn",""));t.tabStops.push({positionEmu:Number(E),alignment:A==="ctr"?"center":A==="r"?"right":A==="dec"?"decimal":"left"})}}let a=x(e,o("","algn",""));a!==null&&np[a]!==void 0&&(t.align=np[a]);let l=x(e,o("","marL",""));if(l!==null){let S=Number.parseInt(l,10);Number.isFinite(S)&&(t.marL=S)}let i=x(e,o("","marR",""));if(i!==null){let S=Number.parseInt(i,10);Number.isFinite(S)&&(t.marR=S)}let s=x(e,o("","indent",""));if(s!==null){let S=Number.parseInt(s,10);Number.isFinite(S)&&(t.indent=S)}for(let[S,E]of[["asianLineBreak","eaLnBrk"],["latinLineBreak","latinLnBrk"],["hangingPunctuation","hangingPunct"]]){let A=x(e,o("",E,""));(A==="1"||A==="true")&&(t[S]=!0),(A==="0"||A==="false")&&(t[S]=!1)}let c=x(e,o("","fontAlgn",""));c==="auto"&&(t.fontAlignment="auto"),c==="t"&&(t.fontAlignment="top"),c==="ctr"&&(t.fontAlignment="center"),c==="base"&&(t.fontAlignment="baseline"),c==="b"&&(t.fontAlignment="bottom");let m=x(e,o("","rtl",""));m!==null&&(t.rtl=m==="1"||m==="true");let u=p(e,o("a","lnSpc",d.dml));if(u){let S=p(u,o("a","spcPct",d.dml));if(S){let E=x(S,o("","val",""));if(E!==null){let A=St(E,Number.NaN);Number.isFinite(A)&&(t.lineSpacing={kind:"pct",value:A})}}else{let E=p(u,o("a","spcPts",d.dml));if(E){let A=x(E,o("","val",""));if(A!==null){let w=Number.parseInt(A,10);Number.isFinite(w)&&(t.lineSpacing={kind:"pts",value:w/100})}}}}let f=S=>{let E=p(e,o("a",S,d.dml));if(!E)return null;let A=p(E,o("a","spcPts",d.dml));if(!A)return null;let w=x(A,o("","val",""));if(w===null)return null;let T=Number.parseInt(w,10);return Number.isFinite(T)?T/100:null},y=f("spcBef");y!==null&&(t.spcBefPts=y);let g=f("spcAft");g!==null&&(t.spcAftPts=g);for(let S of e.children)if(!(S.kind!=="element"||S.name.namespaceURI!==d.dml)){if(S.name.localName==="buNone")t.bullet="none";else if(S.name.localName==="buChar"){let E=x(S,o("","char",""));E==="\u2022"?t.bullet="bullet":E!==null&&(t.bullet={char:E})}else if(S.name.localName==="buAutoNum"){let E=x(S,o("","type",""));E==="arabicPeriod"?t.bullet="number":E!==null&&(t.bullet={autoNum:E})}}return t},Zz=(e,t)=>{e.tabStops===void 0&&t.tabStops!==void 0&&(e.tabStops=t.tabStops),e.defaultTabSizeEmu===void 0&&t.defaultTabSizeEmu!==void 0&&(e.defaultTabSizeEmu=t.defaultTabSizeEmu);for(let n of["asianLineBreak","latinLineBreak","hangingPunctuation"])e[n]===void 0&&t[n]!==void 0&&(e[n]=t[n]);e.fontAlignment===void 0&&t.fontAlignment!==void 0&&(e.fontAlignment=t.fontAlignment),e.align===void 0&&t.align!==void 0&&(e.align=t.align),e.marL===void 0&&t.marL!==void 0&&(e.marL=t.marL),e.marR===void 0&&t.marR!==void 0&&(e.marR=t.marR),e.indent===void 0&&t.indent!==void 0&&(e.indent=t.indent),e.rtl===void 0&&t.rtl!==void 0&&(e.rtl=t.rtl),e.lineSpacing===void 0&&t.lineSpacing!==void 0&&(e.lineSpacing=t.lineSpacing),e.spcBefPts===void 0&&t.spcBefPts!==void 0&&(e.spcBefPts=t.spcBefPts),e.spcAftPts===void 0&&t.spcAftPts!==void 0&&(e.spcAftPts=t.spcAftPts),e.bullet===void 0&&t.bullet!==void 0&&(e.bullet=t.bullet)},Kz=(e,t)=>{e.color===void 0&&t.color!==void 0&&(e.color=t.color),e.colorFollowText===void 0&&t.colorFollowText!==void 0&&(e.colorFollowText=t.colorFollowText),e.sizePct===void 0&&t.sizePct!==void 0&&(e.sizePct=t.sizePct),e.sizePts===void 0&&t.sizePts!==void 0&&(e.sizePts=t.sizePts),e.sizeFollowText===void 0&&t.sizeFollowText!==void 0&&(e.sizeFollowText=t.sizeFollowText),e.font===void 0&&t.font!==void 0&&(e.font=t.font),e.fontFollowText===void 0&&t.fontFollowText!==void 0&&(e.fontFollowText=t.fontFollowText)},bC=(e,t,n,r={})=>{let a=Qe(t,n),l=p(a,Vt),i=0;if(l){let A=x(l,si);if(A!==null){let w=Number.parseInt(A,10);Number.isFinite(w)&&(i=w)}}let s={},c={},m=qe in t?t[Le]:t,u=r.inheritanceSource??m,f=Fe(e),y=Ye(u[X]),g=A=>{A&&(Zz(s,Yz(A)),Kz(c,um(A,w=>ye(w,f,y))))};g(l);let S=qe in t?p(lp(t),rp):Hz(t),E=Jm(S,i);if(g(E),!(qe in t)){let A=r.inheritanceSource??t,w=qt(A),T=Gt(A),v=yC(A),C=A[X],R=Te(C);if(R&&v){let N=ep(R[ue].shapes,w,T);if(N){let I=tp(N.element),K=Jm(I,i);g(K)}let _=e[P],k=G(R[de]),M=_.getRels(k);if(M){let I=M.items.find(K=>K.type===D.slideMaster);if(I){let K=_.getPart(V(k,I.target));if(K){let re=j(z(K.data)).root,{shapes:Se}=Ge(re,"sldMaster"),Ce=ep(Se,w,T);if(Ce){let Ne=tp(Ce.element),Xe=Jm(Ne,i);g(Xe)}let me=xC(re,T),we=Jm(me,i);g(we)}}}}}return{align:s.align??null,level:i,marL:s.marL??null,marR:s.marR??null,indent:s.indent??null,lineSpacing:s.lineSpacing??null,spcBefPts:s.spcBefPts??null,spcAftPts:s.spcAftPts??null,rtl:s.rtl??null,bullet:s.bullet??null,bulletDetail:{color:c.color??null,colorFollowText:c.colorFollowText??!1,sizePct:c.sizePct??null,sizePts:c.sizePts??null,sizeFollowText:c.sizeFollowText??!1,font:c.font??null,fontFollowText:c.fontFollowText??!1},...s.tabStops===void 0?{}:{tabStops:s.tabStops},...s.defaultTabSizeEmu===void 0?{}:{defaultTabSizeEmu:s.defaultTabSizeEmu},...s.asianLineBreak===void 0?{}:{asianLineBreak:s.asianLineBreak},...s.latinLineBreak===void 0?{}:{latinLineBreak:s.latinLineBreak},...s.hangingPunctuation===void 0?{}:{hangingPunctuation:s.hangingPunctuation},...s.fontAlignment===void 0?{}:{fontAlignment:s.fontAlignment}}},EC=(e,t,n,r)=>{let a=Er(e,t,n),l=AC(a),i=e[X];mr(l,r,"setShapeRunFormat",Yr(i[P],i[O],"setShapeRunFormat")),J(e)},on=e=>{if(e[U].kind!=="shape")return null;let t=p(e[F],SC);if(!t)return null;for(let n of t.children)if(!(n.kind!=="element"||n.name.namespaceURI!==d.dml||n.name.localName!=="p"))for(let r of n.children){if(r.kind!=="element"||r.name.namespaceURI!==d.dml||r.name.localName!=="r")continue;let a=p(r,o("a","rPr",d.dml));if(!a)continue;let l=p(a,o("a","hlinkClick",d.dml));if(!l)continue;let i=x(l,o("r","id",d.officeDocRels));if(!i)continue;let s=e[X],c=s[P].getRels(s[O]);if(!c)continue;let m=c.items.find(u=>u.id===i);if(m?.type===D.hyperlink&&m.targetMode==="External")return m.target}return null},ii=(e,t,n,r)=>{let a=e[X],l=ht(e),i=r?.range;if(i&&(rn(Je(l),i,"setShapeHyperlink"),i.start===i.end))return;let s=c=>{i?pl(l,i,m=>io(m,c,n)):Lf(l,c,n)};if(t===null)s(null);else{let c=a[P],m=c.getRels(a[O])??pe(),f=m.items.find(y=>y.type===D.hyperlink&&y.target===t&&y.targetMode==="External")?.id??(()=>{let y=se(m.items.map(g=>g.id));return m.items.push({id:y,type:D.hyperlink,target:t,targetMode:"External"}),c.setRels(a[O],m),y})();s(f)}J(e),Mo(a)};var Jz=new TextDecoder,Qz=new TextEncoder,CC=e=>Jz.decode(e),Vy=e=>Qz.encode(e),TC=new WeakMap,wC=e=>{let t=TC.get(e);return t||(t=Ka(CC(e)),TC.set(e,t)),{items:t.items.map(n=>({...n}))}},vC="[Content_Types].xml",wl=class e{get parts(){return this.partList}partList;contentTypes;partsByName=new Map;constructor(t,n){this.partList=t,this.contentTypes=n,this.indexParts()}indexParts(){this.partsByName.clear();for(let t of this.parts){let n=t.name.toLowerCase();this.partsByName.has(n)||this.partsByName.set(n,t)}}static empty(){return new e([],eh())}static load(t,n={}){let r=zf(t,n),a=null,l=[];for(let s of r.entries){if(s.name===vC){a=Zf(CC(s.data));continue}if(s.name.endsWith("/"))continue;let c=Yf(s.name);l.push({name:c,contentType:"",data:s.data})}if(a===null)throw new Error("package is missing [Content_Types].xml");let i=Jf(a);for(let s of l){let c=i(s.name);if(c===null)throw new Error(`part "${s.name}" has no content type registered in [Content_Types].xml`);s.contentType=c}return new e(l,a)}save(){let t=[];t.push({name:vC,data:Vy(Kf(this.contentTypes))});for(let n of this.parts)t.push({name:Wf(n.name),data:n.data});return us(t)}getPart(t){return this.partsByName.get(t.toLowerCase())??null}addPart(t,n,r){if(this.getPart(t)!==null)throw new Error(`part "${t}" already exists`);let a={name:t,contentType:n,data:r};return this.partList.push(a),this.partsByName.set(t.toLowerCase(),a),Qf(this.contentTypes,t)!==n&&this.contentTypes.overrides.push({partName:t,contentType:n}),a}removePart(t){let n=!1;for(let r=this.partList.length-1;r>=0;r--){let a=this.partList[r];a&&Nn(a.name,t)&&(this.partList.splice(r,1),n=!0)}return n&&(this.partsByName.delete(t.toLowerCase()),this.contentTypes.overrides=this.contentTypes.overrides.filter(r=>!Nn(r.partName,t))),n}retainParts(t){let n=[],r=0;for(let a of this.partList)t(a)?this.partList[r++]=a:n.push(a.name);if(this.partList.length=r,n.length>0){this.indexParts();let a=new Set(n.map(l=>l.toLowerCase()));this.contentTypes.overrides=this.contentTypes.overrides.filter(l=>!a.has(l.partName.toLowerCase()))}return n}getRels(t){let n=_t(t),r=this.getPart(n);return r===null?null:wC(r.data)}setRels(t,n){let r=_t(t),a=Vy(Cc(n)),l=this.getPart(r);if(l!==null){l.data=a;return}this.addPart(r,"application/vnd.openxmlformats-package.relationships+xml",a)}rootRels(){let t=this.getPart(G("/_rels/.rels"));return t===null?null:wC(t.data)}setRootRels(t){let n=G("/_rels/.rels"),r=Vy(Cc(t)),a=this.getPart(n);if(a!==null){a.data=r;return}this.addPart(n,"application/vnd.openxmlformats-package.relationships+xml",r)}};var eW={"16:9":{cx:12192e3,cy:6858e3,type:"screen16x9"},"4:3":{cx:9144e3,cy:6858e3,type:"screen4x3"}},tW="application/vnd.openxmlformats-package.relationships+xml",nW="application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml",rW="application/vnd.openxmlformats-officedocument.presentationml.presProps+xml",aW="application/vnd.openxmlformats-officedocument.presentationml.viewProps+xml",lW="application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml",zy="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml",oW="application/vnd.openxmlformats-officedocument.theme+xml",iW="application/vnd.openxmlformats-officedocument.presentationml.tableStyles+xml",sW="application/vnd.openxmlformats-package.core-properties+xml",dW="application/vnd.openxmlformats-officedocument.extended-properties+xml",zt=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
|
|
27
|
+
`,Xn="http://schemas.openxmlformats.org/officeDocument/2006/relationships",sd="http://schemas.openxmlformats.org/package/2006/relationships",op=`${zt}<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Default Theme"><a:themeElements><a:clrScheme name="Default"><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="1F497D"/></a:dk2><a:lt2><a:srgbClr val="EEECE1"/></a:lt2><a:accent1><a:srgbClr val="4F81BD"/></a:accent1><a:accent2><a:srgbClr val="C0504D"/></a:accent2><a:accent3><a:srgbClr val="9BBB59"/></a:accent3><a:accent4><a:srgbClr val="8064A2"/></a:accent4><a:accent5><a:srgbClr val="4BACC6"/></a:accent5><a:accent6><a:srgbClr val="F79646"/></a:accent6><a:hlink><a:srgbClr val="0000FF"/></a:hlink><a:folHlink><a:srgbClr val="800080"/></a:folHlink></a:clrScheme><a:fontScheme name="Default"><a:majorFont><a:latin typeface="Calibri"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="\u6E38\u30B4\u30B7\u30C3\u30AF Light"/><a:font script="Hang" typeface="\uB9D1\uC740 \uACE0\uB515"/><a:font script="Hans" typeface="\u7B49\u7EBF Light"/><a:font script="Hant" typeface="\u65B0\u7D30\u660E\u9AD4"/><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="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:majorFont><a:minorFont><a:latin typeface="Calibri"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="\u6E38\u30B4\u30B7\u30C3\u30AF"/><a:font script="Hang" typeface="\uB9D1\uC740 \uACE0\uB515"/><a:font script="Hans" typeface="\u7B49\u7EBF"/><a:font script="Hant" typeface="\u65B0\u7D30\u660E\u9AD4"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Cordia New"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><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="Arial"/><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="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:minorFont></a:fontScheme><a:fmtScheme name="Default"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs><a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="16200000" scaled="1"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="16200000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln><a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln><a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d><a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs><a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs></a:gsLst><a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs></a:gsLst><a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults/><a:extraClrSchemeLst/></a:theme>`,cW=`${zt}<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"><p:cSld><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><p:sp><p:nvSpPr><p:cNvPr id="2" name="Title Placeholder 1"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="title"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="457200" y="274638"/><a:ext cx="8229600" cy="1143000"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0" anchor="ctr"><a:normAutofit/></a:bodyPr><a:lstStyle/><a:p><a:r><a:rPr lang="en-US" smtClean="0"/><a:t>Click to edit Master title style</a:t></a:r><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="3" name="Text Placeholder 2"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="body" idx="1"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="457200" y="1600200"/><a:ext cx="8229600" cy="4525963"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0"><a:normAutofit/></a:bodyPr><a:lstStyle/><a:p><a:pPr lvl="0"/><a:r><a:rPr lang="en-US" smtClean="0"/><a:t>Click to edit Master text styles</a:t></a:r></a:p></p:txBody></p:sp></p:spTree></p:cSld><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><p:sldLayoutId id="2147483649" r:id="rId1"/><p:sldLayoutId id="2147483650" r:id="rId2"/><p:sldLayoutId id="2147483651" r:id="rId3"/></p:sldLayoutIdLst><p:txStyles><p:titleStyle><a:lvl1pPr algn="ctr" defTabSz="457200" 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="457200" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial"/><a:buChar char="\u2022"/><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="457200" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial"/><a:buChar char="\u2013"/><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="457200" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial"/><a:buChar char="\u2022"/><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="457200" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial"/><a:buChar char="\u2013"/><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="457200" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial"/><a:buChar char="\xBB"/><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></p:bodyStyle><p:otherStyle><a:defPPr><a:defRPr lang="en-US"/></a:defPPr><a:lvl1pPr marL="0" algn="l" defTabSz="457200" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" 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></p:otherStyle></p:txStyles></p:sldMaster>`,mW=`${zt}<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" type="blank" preserve="1"><p:cSld name="Blank"><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:spTree></p:cSld><p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:sldLayout>`,pW=`${zt}<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" type="title" preserve="1"><p:cSld name="Title Slide"><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="Title 1"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="ctrTitle"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="685800" y="2130425"/><a:ext cx="7772400" cy="1470025"/></a:xfrm></p:spPr><p:txBody><a:bodyPr/><a:lstStyle/><a:p><a:r><a:rPr lang="en-US" smtClean="0"/><a:t>Click to edit Master title style</a:t></a:r><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="3" name="Subtitle 2"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="subTitle" idx="1"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="1371600" y="3886200"/><a:ext cx="6400800" cy="1752600"/></a:xfrm></p:spPr><p:txBody><a:bodyPr/><a:lstStyle/><a:p><a:r><a:rPr lang="en-US" smtClean="0"/><a:t>Click to edit Master subtitle style</a:t></a:r><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp></p:spTree></p:cSld><p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:sldLayout>`,uW=`${zt}<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" type="obj" preserve="1"><p:cSld name="Title and Content"><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="Title 1"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="title"/></p:nvPr></p:nvSpPr><p:spPr/><p:txBody><a:bodyPr/><a:lstStyle/><a:p><a:r><a:rPr lang="en-US" smtClean="0"/><a:t>Click to edit Master title style</a:t></a:r><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="3" name="Content Placeholder 2"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph idx="1"/></p:nvPr></p:nvSpPr><p:spPr/><p:txBody><a:bodyPr/><a:lstStyle/><a:p><a:pPr lvl="0"/><a:r><a:rPr lang="en-US" smtClean="0"/><a:t>Click to edit Master text styles</a:t></a:r></a:p></p:txBody></p:sp></p:spTree></p:cSld><p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:sldLayout>`,fW=e=>`${zt}<p:presentation 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" saveSubsetFonts="1"><p:sldMasterIdLst><p:sldMasterId id="2147483648" r:id="rId1"/></p:sldMasterIdLst><p:sldSz cx="${e.cx}" cy="${e.cy}" type="${e.type}"/><p:notesSz cx="6858000" cy="9144000"/></p:presentation>`,hW=`${zt}<p:presentationPr 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"/>`,gW=`${zt}<p:viewPr 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"/>`,yW=`${zt}<a:tblStyleLst xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" def="{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}"/>`,xW=`${zt}<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></dc:title><dc:creator>@office-kit/pptx</dc:creator><cp:lastModifiedBy>@office-kit/pptx</cp:lastModifiedBy></cp:coreProperties>`,SW=`${zt}<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"><Application>@office-kit/pptx</Application></Properties>`,bW=`${zt}<Relationships xmlns="${sd}"><Relationship Id="rId1" Type="${Xn}/officeDocument" Target="ppt/presentation.xml"/><Relationship Id="rId2" Type="${sd}/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId3" Type="${Xn}/extended-properties" Target="docProps/app.xml"/></Relationships>`,EW=`${zt}<Relationships xmlns="${sd}"><Relationship Id="rId1" Type="${Xn}/slideMaster" Target="slideMasters/slideMaster1.xml"/><Relationship Id="rId2" Type="${Xn}/theme" Target="theme/theme1.xml"/><Relationship Id="rId3" Type="${Xn}/presProps" Target="presProps.xml"/><Relationship Id="rId4" Type="${Xn}/viewProps" Target="viewProps.xml"/><Relationship Id="rId5" Type="${Xn}/tableStyles" Target="tableStyles.xml"/></Relationships>`,AW=`${zt}<Relationships xmlns="${sd}"><Relationship Id="rId1" Type="${Xn}/slideLayout" Target="../slideLayouts/slideLayout1.xml"/><Relationship Id="rId2" Type="${Xn}/slideLayout" Target="../slideLayouts/slideLayout2.xml"/><Relationship Id="rId3" Type="${Xn}/slideLayout" Target="../slideLayouts/slideLayout3.xml"/><Relationship Id="rId4" Type="${Xn}/theme" Target="../theme/theme1.xml"/></Relationships>`,Wy=`${zt}<Relationships xmlns="${sd}"><Relationship Id="rId1" Type="${Xn}/slideMaster" Target="../slideMasters/slideMaster1.xml"/></Relationships>`,TW=new TextEncoder,LC=e=>TW.encode(e),Yy=e=>{let t=wl.empty(),n=eW[e],r=(l,i,s)=>{t.addPart(G(l),i,LC(s))},a=(l,i)=>{t.addPart(G(l),tW,LC(i))};return r("/ppt/presentation.xml",nW,fW(n)),r("/ppt/presProps.xml",rW,hW),r("/ppt/viewProps.xml",aW,gW),r("/ppt/theme/theme1.xml",oW,op),r("/ppt/tableStyles.xml",iW,yW),r("/ppt/slideMasters/slideMaster1.xml",lW,cW),r("/ppt/slideLayouts/slideLayout1.xml",zy,mW),r("/ppt/slideLayouts/slideLayout2.xml",zy,pW),r("/ppt/slideLayouts/slideLayout3.xml",zy,uW),r("/docProps/core.xml",sW,xW),r("/docProps/app.xml",dW,SW),a("/_rels/.rels",bW),a("/ppt/_rels/presentation.xml.rels",EW),a("/ppt/slideMasters/_rels/slideMaster1.xml.rels",AW),a("/ppt/slideLayouts/_rels/slideLayout1.xml.rels",Wy),a("/ppt/slideLayouts/_rels/slideLayout2.xml.rels",Wy),a("/ppt/slideLayouts/_rels/slideLayout3.xml.rels",Wy),t};var wW=async e=>{if(e instanceof Uint8Array)return e;if(e instanceof ArrayBuffer)return new Uint8Array(e);if(typeof Blob<"u"&&e instanceof Blob)return new Uint8Array(await e.arrayBuffer());throw new TypeError("loadPresentation: expected Uint8Array | ArrayBuffer | Blob")},PC=async(e,t={})=>{let n=await wW(e),r=wl.load(n,t);return{[P]:r,_slidesCache:null}},RC=(e={})=>{let t=e.size??"16:9",n=Yy(t);return{[P]:n,_slidesCache:null}},NC=e=>Promise.resolve(e[P].save());var dd="http://schemas.microsoft.com/office/powerpoint/2010/main",sp="{521415D9-36F7-43E2-AB2F-B90AF26B5E84}",dp=o("p","extLst",d.pml),Zy=o("p","ext",d.pml),ip=o("p14","sectionLst",dd),DC=o("p14","section",dd),_C=o("p14","sldIdLst",dd),kC=o("p14","sldId",dd),cp=o("","uri",""),MC=o("","name",""),vW=o("","id",""),FC=o("","id",""),CW=e=>{let t=p(e,dp);if(!t)return null;for(let n of Q(t,Zy))if(x(n,cp)===sp)return p(n,ip);return null},LW=e=>{let t=p(e,dp);t||(t=h(dp),e.children.push(t));for(let a of Q(t,Zy))if(x(a,cp)===sp){let l=p(a,ip);return l||(l=h(ip),a.children.push(l)),l}let n=h(ip,{prefixDecls:new Map([["p14",dd]])}),r=h(Zy,{attrs:[b(cp,sp)],children:[n]});return t.children.push(r),n},mp=e=>{let t=e[P],n=t.getPart(Y);if(!n)return[];let r=j(z(n.data)),a=CW(r.root);if(!a)return[];let l=new Map;if(t.getRels(Y)){let c=Qt(r.root),m=H(e);for(let u=0;u<c.slides.length&&u<m.length;u++)l.set(String(c.slides[u].id),m[u])}let s=[];for(let c of Q(a,DC)){let m=x(c,MC)??"",u=p(c,_C),f=[];if(u)for(let y of Q(u,kC)){let g=x(y,FC);if(g!==null){let S=l.get(g);S&&f.push(S)}}s.push({name:m,slides:f})}return s},IC=(e,t)=>{let n=e[P],r=n.getPart(Y);if(!r)throw new Error("presentation.xml is missing");let a=j(z(r.data)),l=new Map,i=Qt(a.root),s=H(e);for(let f=0;f<i.slides.length&&f<s.length;f++)l.set(s[f],String(i.slides[f].id));let c=new Map;if(i.slides.length>0){let f=n.getRels(Y);if(f)for(let y of i.slides){let g=f.items.find(E=>E.id===y.rId);if(!g)continue;let S=g.target.startsWith("/")?g.target:`/ppt/${g.target}`;c.set(S,String(y.id))}}let m=f=>{let y=l.get(f);return y||(c.get(f[O])??null)};if(t.length===0){let f=p(a.root,dp);f&&(f.children=f.children.filter(y=>!(y.kind==="element"&&y.name.namespaceURI===d.pml&&y.name.localName==="ext"&&x(y,cp)===sp)),f.children.length===0&&(a.root.children=a.root.children.filter(y=>y!==f))),r.data=le(ae(a));return}let u=LW(a.root);u.children=t.map((f,y)=>{let S=`{${Date.now().toString(16).padStart(8,"0").slice(-8).toUpperCase().slice(0,8)}-${String(y).padStart(4,"0")}-4000-8000-000000000000}`,E=[];for(let A of f.slides){let w=m(A);w!==null&&E.push(h(kC,{attrs:[b(FC,w)]}))}return h(DC,{attrs:[b(MC,f.name),b(vW,S)],children:[h(_C,{children:E})]})}),r.data=le(ae(a))};var up=(e,t)=>{for(let n of e.rootRels()?.items??[]){if(n.type!==t||n.targetMode!=="Internal")continue;let r=e.getPart(V("/",n.target));if(r)return r}return null},Ar="http://schemas.openxmlformats.org/package/2006/metadata/core-properties",Zr="http://purl.org/dc/elements/1.1/",cd="http://purl.org/dc/terms/",pp=G("/docProps/core.xml"),OC=e=>{let t=md(e),n=t?.revision===null||t?.revision===void 0?0:Number.parseInt(t.revision,10),r=(Number.isFinite(n)?n:0)+1;return fp(e,{revision:String(r)}),r},XC=(e,t=new Date)=>{fp(e,{modified:t.toISOString()})},$C=e=>{let t=md(e);if(!t||t.created===null)return null;let n=new Date(t.created);return Number.isFinite(n.getTime())?n:null},jC=e=>{let t=md(e);if(!t||t.modified===null)return null;let n=new Date(t.modified);return Number.isFinite(n.getTime())?n:null},md=e=>{let t=up(e[P],D.coreProperties);if(!t)return null;let n=j(z(t.data)).root,r=(a,l)=>{let i=p(n,o("",l,a));if(!i)return null;let s="";for(let c of i.children)c.kind==="text"&&(s+=c.data);return s.length===0?null:s};return{title:r(Zr,"title"),subject:r(Zr,"subject"),creator:r(Zr,"creator"),keywords:r(Ar,"keywords"),description:r(Zr,"description"),lastModifiedBy:r(Ar,"lastModifiedBy"),revision:r(Ar,"revision"),created:r(cd,"created"),modified:r(cd,"modified"),category:r(Ar,"category")}},BC="application/vnd.openxmlformats-package.core-properties+xml",PW=[{key:"title",uri:Zr,prefix:"dc",local:"title"},{key:"subject",uri:Zr,prefix:"dc",local:"subject"},{key:"creator",uri:Zr,prefix:"dc",local:"creator"},{key:"keywords",uri:Ar,prefix:"cp",local:"keywords"},{key:"description",uri:Zr,prefix:"dc",local:"description"},{key:"lastModifiedBy",uri:Ar,prefix:"cp",local:"lastModifiedBy"},{key:"revision",uri:Ar,prefix:"cp",local:"revision"},{key:"created",uri:cd,prefix:"dcterms",local:"created"},{key:"modified",uri:cd,prefix:"dcterms",local:"modified"},{key:"category",uri:Ar,prefix:"cp",local:"category"}],RW=()=>{let e=new Map([["cp",Ar],["dc",Zr],["dcterms",cd]]);return{kind:"element",name:o("cp","coreProperties",Ar),attrs:[],prefixDecls:e,children:[]}},fp=(e,t)=>{let n=e[P],r=up(n,D.coreProperties),a,l;r?(l=j(z(r.data)),a=l.root):(a=RW(),l={kind:"document",decl:null,prolog:[],root:a,epilog:[]});for(let m of PW){if(!(m.key in t))continue;let u=t[m.key]??null,f=o(m.prefix,m.local,m.uri),y=p(a,f);if(u===null){y&&(y.children=[]);continue}y?y.children=[be(u)]:a.children.push(h(f,{children:[be(u)]}))}let i=le(ae(l));if(r){r.data=i;return}n.removePart(pp),n.contentTypes.overrides=n.contentTypes.overrides.filter(m=>!Nn(m.partName,pp)),n.contentTypes.overrides.push({partName:pp,contentType:BC}),n.addPart(pp,BC,i);let s=n.rootRels()??pe();s.items=s.items.filter(m=>m.type!==D.coreProperties);let c=se(s.items.map(m=>m.id));s.items.push({id:c,type:D.coreProperties,target:"docProps/core.xml",targetMode:"Internal"}),n.setRootRels(s)},UC="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",GC=e=>{let t=up(e[P],D.extendedProperties);if(!t)return null;let n=j(z(t.data)).root,r=a=>{let l=p(n,o("",a,UC));if(!l)return null;let i="";for(let s of l.children)s.kind==="text"&&(i+=s.data);return i.length===0?null:i};return{application:r("Application"),appVersion:r("AppVersion"),company:r("Company"),manager:r("Manager"),presentationFormat:r("PresentationFormat"),hyperlinkBase:r("HyperlinkBase")}},NW=[{key:"application",local:"Application"},{key:"appVersion",local:"AppVersion"},{key:"company",local:"Company"},{key:"manager",local:"Manager"},{key:"presentationFormat",local:"PresentationFormat"},{key:"hyperlinkBase",local:"HyperlinkBase"}],qC=(e,t)=>{let n=up(e[P],D.extendedProperties);if(!n)throw new Error("setExtendedProperties: the package has no extended-properties part; cannot bootstrap");let r=j(z(n.data));for(let a of NW){if(!(a.key in t))continue;let l=t[a.key]??null,i=o("",a.local,UC),s=p(r.root,i);if(l===null){s&&(s.children=[]);continue}s?s.children=[be(l)]:r.root.children.push(h(i,{children:[be(l)]}))}n.data=le(ae(r))};var Ky=e=>{let t=e.rootRels();if(!t)return null;let n=t.items.find(l=>l.type===D.thumbnail);if(!n)return null;let r=n.target;return{partName:r.startsWith("/")?G(r):G(`/${r}`),rId:n.id}},HC=e=>{let t=e[P],n=Ky(t);if(!n)return null;let r=t.getPart(n.partName);if(!r)return null;let a=ut(r.data);return a===null?null:{format:a,bytes:r.data}},VC=(e,t,n={})=>{let r=n.format??ut(t);if(r===null)throw new Error("setThumbnail: could not detect image format. Pass options.format explicitly.");let a=e[P],l=xn(r),i=yn(r),s=G(`/docProps/thumbnail.${i}`),c=Ky(a);if(c){if(c.partName===s){let g=a.getPart(c.partName);if(!g)throw new Error(`thumbnail rel points at missing part ${c.partName}`);g.data=t,g.contentType=l,Sn(a,i,l);return}a.removePart(c.partName),a.addPart(s,l,t),Sn(a,i,l);let f=a.rootRels()??pe(),y=f.items.find(g=>g.id===c.rId);y&&(y.target=`docProps/thumbnail.${i}`),a.setRootRels(f);return}Sn(a,i,l),a.addPart(s,l,t);let m=a.rootRels()??pe(),u=se(m.items.map(f=>f.id));m.items.push({id:u,type:D.thumbnail,target:`docProps/thumbnail.${i}`,targetMode:"Internal"}),a.setRootRels(m)},zC=e=>{let t=e[P],n=Ky(t);if(!n)return;t.removePart(n.partName);let r=t.rootRels();r&&(r.items=r.items.filter(a=>a.id!==n.rId),t.setRootRels(r))};var DW=o("a","graphic",d.dml),_W=o("a","graphicData",d.dml),kW=o("a","tbl",d.dml),Ea=o("a","tcPr",d.dml),Kr=o("a","txBody",d.dml),MW=o("a","bodyPr",d.dml),FW=o("a","tblStyle",d.dml),IW=o("a","tcTxStyle",d.dml),BW=o("a","tcStyle",d.dml),OW=o("a","tcBdr",d.dml),XW=o("a","font",d.dml),$W=o("a","fontRef",d.dml),jW=o("a","latin",d.dml),UW=o("a","ea",d.dml),GW=o("a","cs",d.dml),WC=G("/ppt/presentation.xml"),YC=new WeakMap,qW=e=>{let t=e[P],n=t.getRels(WC)?.items.find(u=>u.type===D.tableStyles&&u.targetMode==="Internal");if(!n)return null;let r=n.target.startsWith("/")?G(n.target):V(WC,n.target),a=t.getPart(r);if(!a)return null;let l=YC.get(t);if(l?.data===a.data)return l;let i=j(z(a.data)).root;if(i.name.namespaceURI!==d.dml||i.name.localName!=="tblStyleLst")return null;let s=new Map;for(let u of Q(i,FW)){let f=x(u,o("","styleId",""))?.trim().toUpperCase();f&&s.set(f,u)}let c=x(i,o("","def",""))?.trim().toUpperCase()??null,m={data:a.data,styles:s,defaultId:c};return YC.set(t,m),m},Tn=e=>{if(e[U].kind!=="graphicFrame")return null;let t=p(e[F],DW);if(!t)return null;let n=p(t,_W);return n?p(n,kW):null},Aa=e=>Tn(e)!==null,Jy=e=>{let t=[];for(let n of e[ne])Aa(n)&&t.push(n);return t},eL=e=>H(e).map(t=>Jy(t).length),mi=e=>li(e[X],e)!==null,Cl=o("a","gridCol",d.dml),gp=o("","w",""),Qy=o("","h",""),Tr=e=>e.children.filter(t=>t.kind==="element"&&t.name.namespaceURI===d.dml&&t.name.localName==="tr"),pd=e=>e.children.filter(t=>t.kind==="element"&&t.name.namespaceURI===d.dml&&t.name.localName==="tc"),di=new WeakMap,tL=e=>{let t=di.get(e);if(t)return t;let n=Tr(e),r=p(e,o("a","tblGrid",d.dml)),a=r?Q(r,Cl).length:0,l={rows:n.length,cols:a||(n[0]?pd(n[0]).length:0)};return di.set(e,l),l},HW=(e,t,n,r)=>({[Le]:e,[qe]:t,[No]:n,[Do]:r}),Ll=e=>{let t=Tn(e);if(!t)throw new Error("getTableCells: shape is not a table graphic frame");return Tr(t).map((r,a)=>pd(r).map((l,i)=>HW(e,l,a,i)))},ex=e=>{let t=Tn(e);if(!t)return null;let n=p(t,o("a","tblPr",d.dml));if(!n)return null;let r=p(n,o("a","tableStyleId",d.dml));if(!r)return null;let a="";for(let l of r.children)(l.kind==="text"||l.kind==="cdata")&&(a+=l.data);return a.trim()||null},nL=(e,t)=>{let n=Tn(e);if(!n)throw new Error("setTableStyleId: shape is not a table graphic frame");let r=t===null?null:hh(t)??zd(t,"setTableStyleId: styleId"),a=rL(n);a.children=a.children.filter(l=>!(l.kind==="element"&&l.name.namespaceURI===d.dml&&l.name.localName==="tableStyleId")),r!==null&&(a.children.push(h(o("a","tableStyleId",d.dml),{children:[be(r)]})),Km(e[X][P],r)),ce(e[X]),ge(e[X])},tx=e=>{let t={firstRow:!1,lastRow:!1,firstCol:!1,lastCol:!1,bandRow:!1,bandCol:!1},n=Tn(e);if(!n)return t;let r=p(n,o("a","tblPr",d.dml));if(!r)return t;let a=l=>{let i=x(r,o("",l,""));return i==="1"||i==="true"};return{firstRow:a("firstRow"),lastRow:a("lastRow"),firstCol:a("firstCol"),lastCol:a("lastCol"),bandRow:a("bandRow"),bandCol:a("bandCol")}},rL=e=>{let t=p(e,o("a","tblPr",d.dml));return t===null&&(t=h(o("a","tblPr",d.dml)),e.children.unshift(t)),t},VW=["firstRow","lastRow","firstCol","lastCol","bandRow","bandCol"],aL=(e,t)=>p(e,o("a",t,d.dml)),ZC=(e,t,n)=>{let r=e.children.find(a=>a.kind==="element"&&a.name.namespaceURI===d.dml&&["srgbClr","schemeClr","sysClr","prstClr"].includes(a.name.localName));return r?ye(r,t,n):null},zW=(e,t,n)=>{let r={},a=m=>{let u=x(e,o("",m,""));return u==="on"?!0:u==="off"?!1:void 0},l=a("b"),i=a("i");l!==void 0&&(r.bold=l),i!==void 0&&(r.italic=i);let s=p(e,XW);if(s){let m=p(s,jW),u=p(s,UW),f=p(s,GW),y=A=>A?x(A,o("","typeface",""))??void 0:void 0,g=y(m),S=y(u),E=y(f);g!==void 0&&(r.font=g),S!==void 0&&(r.fontEastAsian=S),E!==void 0&&(r.fontComplexScript=E)}else{let m=p(e,$W);if(m){let u=x(m,o("","idx",""));(u==="major"||u==="minor")&&(r.font=u==="major"?"+mj-lt":"+mn-lt",r.fontEastAsian=u==="major"?"+mj-ea":"+mn-ea",r.fontComplexScript=u==="major"?"+mj-cs":"+mn-cs");let f=ZC(m,t,n);f!==null&&(r.color=f)}}let c=ZC(e,t,n);return c!==null&&(r.color=c),r},lL=(e,t)=>{let n=qW(e),r=(ex(t)??n?.defaultId)?.trim().toUpperCase();return r?n?.styles.get(r)??gh(r):null},oL=(e,t)=>{let n=t[Le],r=lL(e,n),a=Tn(n);if(!r||!a)return[];let{rows:l,cols:i}=tL(a);if(l===0||i===0)return[];let s=tx(n),c=t[No],m=t[Do],u=vl(t),f=c+u.rowSpan-1,y=m+u.gridSpan-1,g=[],S=(v,C=!0)=>{if(!C)return;let R=aL(r,v);R&&g.push(R)};S("wholeTbl");let E=c-(s.firstRow?1:0),A=m-(s.firstCol?1:0),w=l-(s.firstRow?1:0)-(s.lastRow?1:0),T=i-(s.firstCol?1:0)-(s.lastCol?1:0);return S("band1H",s.bandRow&&w>0&&E>=0&&E<w&&E%2===0),S("band2H",s.bandRow&&w>0&&E>=0&&E<w&&E%2===1),S("band1V",s.bandCol&&T>0&&A>=0&&A<T&&A%2===0),S("band2V",s.bandCol&&T>0&&A>=0&&A<T&&A%2===1),S("lastCol",s.lastCol&&y===i-1),S("firstCol",s.firstCol&&m===0),S("lastRow",s.lastRow&&f===l-1),S("seCell",s.lastRow&&s.lastCol&&f===l-1&&y===i-1),S("swCell",s.lastRow&&s.firstCol&&f===l-1&&m===0),S("firstRow",s.firstRow&&c===0),S("neCell",s.firstRow&&s.lastCol&&c===0&&y===i-1),S("nwCell",s.firstRow&&s.firstCol&&c===0&&m===0),g},WW=(e,t)=>{let n=Fe(e),r=Ye(t[Le][X]);return oL(e,t).reduce((a,l)=>{let i=p(l,IW);return i?{...a,...zW(i,n,r)}:a},{})},iL=(e,t)=>{let n=Tn(e);if(!n)throw new Error("setTableStyleFlags: shape is not a table graphic frame");let r=rL(n);for(let a of VW){let l=t[a];l!==void 0&&(r.attrs=r.attrs.filter(i=>!(i.name.namespaceURI===""&&i.name.localName===a)),l&&r.attrs.push(b(o("",a,""),"1")))}ce(e[X]),ge(e[X])},sL=e=>{let t=Tn(e);if(!t)throw new Error("getTableDimensions: shape is not a table graphic frame");let n=Tr(t),r=n[0]!==void 0?pd(n[0]).length:0;return{rows:n.length,cols:r}},nx=e=>{let t=Tn(e);if(!t)throw new Error("getTableColumnWidths: shape is not a table graphic frame");let n=p(t,o("a","tblGrid",d.dml));if(!n)return[];let r=[];for(let a of Q(n,Cl)){let l=x(a,gp),i=l!==null?Number.parseInt(l,10):0;r.push(Number.isFinite(i)?i:0)}return r},dL=e=>{let t=nx(e),n=rx(e),r=t.reduce((l,i)=>l+i,0),a=n.reduce((l,i)=>l+i,0);return{width:r,height:a}},rx=e=>{let t=Tn(e);if(!t)throw new Error("getTableRowHeights: shape is not a table graphic frame");let n=[];for(let r of Tr(t)){let a=x(r,Qy),l=a!==null?Number.parseInt(a,10):0;n.push(Number.isFinite(l)?l:0)}return n},cL=(e,t,n)=>{let r=fi(e),a=p(r,o("a","tblGrid",d.dml));if(!a)throw new Error("table has no <a:tblGrid>");let l=Q(a,Cl),i=l[t];if(!i)throw new RangeError(`table column ${t} out of range (have ${l.length})`);i.attrs=i.attrs.filter(s=>!(s.name.namespaceURI===""&&s.name.localName==="w")),i.attrs.push(b(gp,String(xe(n,"setTableColumnWidth: width")))),ce(e[X]),ge(e[X])},mL=(e,t,n)=>{let r=fi(e),a=Tr(r),l=a[t];if(!l)throw new RangeError(`table row ${t} out of range (have ${a.length})`);l.attrs=l.attrs.filter(i=>!(i.name.namespaceURI===""&&i.name.localName==="h")),l.attrs.push(b(Qy,String(xe(n,"setTableRowHeight: height")))),ce(e[X]),ge(e[X])},pL=(e,t,n)=>{let r=Ll(e),a=r[t];if(!a)throw new RangeError(`table row ${t} out of range (have ${r.length})`);let l=a[n];if(!l)throw new RangeError(`table column ${n} out of range in row ${t} (have ${a.length})`);return l},tr=e=>{let t=e[Le];ce(t[X]),ge(t[X])},uL=(e,t)=>{let n=e[Le][X];return Yr(n[P],n[O],t)},pi=e=>{let t=e[qe],n=p(t,Kr);return n===null&&(n=h(Kr),n.children.push(h(o("a","bodyPr",d.dml))),n.children.push(h(o("a","lstStyle",d.dml))),n.children.push(h(o("a","p",d.dml))),t.children.unshift(n)),n},ui=e=>{let t=e[qe],n=p(t,Ea);return n===null&&(n=h(Ea),t.children.push(n)),n},fL=(e,t,n)=>{let r=pi(e);typeof t=="object"?Bo(r,t.case,n?.range):n?.preserveFormatting||n?.range?Oo(r,t,n.range,n.newlines):Pn(r,t,void 0,n?.newlines),tr(e)},hL=(e,t)=>{let n=sc(t,"setTableCellParagraphs",uL(e,"setTableCellParagraphs"));dc(pi(e),n),tr(e)},vl=e=>{let t=e[qe],n=x(t,o("","gridSpan","")),r=x(t,o("","rowSpan","")),a=x(t,o("","hMerge","")),l=x(t,o("","vMerge","")),i=s=>{if(s===null)return 1;let c=Number.parseInt(s,10);return Number.isFinite(c)&&c>0?c:1};return{gridSpan:i(n),rowSpan:i(r),hMerge:a==="1"||a==="true",vMerge:l==="1"||l==="true"}},gL=o("","gridSpan",""),yL=o("","rowSpan",""),xL=o("","hMerge",""),SL=o("","vMerge",""),hp=(e,t,n)=>{e.attrs=e.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName===t.localName)),e.attrs.push(b(t,n))},YW=e=>{let t=x(e,gL),n=x(e,yL),r=x(e,xL),a=x(e,SL);return t!==null&&Number.parseInt(t,10)>1||n!==null&&Number.parseInt(n,10)>1||r==="1"||r==="true"||a==="1"||a==="true"},bL=(e,t,n)=>{let{row:r,col:a,rowSpan:l,colSpan:i}=t,s=n?.coveredText??"keep";if(s!=="keep"&&s!=="drop"&&s!=="append")throw new TypeError(`mergeTableCells: coveredText must be 'keep', 'drop' or 'append' (got ${String(s)})`);if(!Number.isInteger(l)||!Number.isInteger(i)||l<1||i<1)throw new RangeError(`mergeTableCells: rowSpan / colSpan must be integers \u2265 1 (got ${l} \xD7 ${i})`);if(l===1&&i===1)throw new RangeError("mergeTableCells: a 1\xD71 block is not a merge");if(!Number.isInteger(r)||!Number.isInteger(a)||r<0||a<0)throw new RangeError(`mergeTableCells: row / col must be non-negative integers (got ${r}, ${a})`);let c=Ll(e),m=r+l-1,u=a+i-1;if(m>=c.length)throw new RangeError(`mergeTableCells: block rows ${r}..${m} exceed table height ${c.length}`);for(let f=r;f<=m;f++){let y=c[f];if(u>=y.length)throw new RangeError(`mergeTableCells: block cols ${a}..${u} exceed row ${f} width ${y.length}`)}for(let f=r;f<=m;f++)for(let y=a;y<=u;y++)if(YW(c[f][y][qe]))throw new Error(`mergeTableCells: cell (${f}, ${y}) is already part of a merge; split it before re-merging`);if(s==="append"){let f=pi(c[r][a]),y=!Je(f);for(let g=r;g<=m;g++)for(let S=a;S<=u;S++){if(g===r&&S===a)continue;let E=c[g][S],A=p(E[qe],Kr);!A||!Je(A)||(y&&(f.children=f.children.filter(w=>!(w.kind==="element"&&or(w.name,o("a","p",d.dml)))),y=!1),f.children.push(...structuredClone(Q(A,o("a","p",d.dml)))),Pn(A,""))}}for(let f=r;f<=m;f++)for(let y=a;y<=u;y++){let g=c[f][y][qe];if(f===r&&y===a){i>1&&hp(g,gL,String(i)),l>1&&hp(g,yL,String(l));continue}y>a&&hp(g,xL,"1"),f>r&&hp(g,SL,"1"),s==="drop"&&(g.children=g.children.filter(S=>!(S.kind==="element"&&or(S.name,Kr))))}ce(e[X]),ge(e[X])},EL=e=>{let t=e[Le],n=Ll(t),r=e[No],a=e[Do],l;for(let s=0;s<=r;s++)for(let c=0;c<=a;c++){let m=n[s]?.[c];if(!m)continue;let u=vl(m);if(!(u.hMerge||u.vMerge||u.rowSpan===1&&u.gridSpan===1)&&s+u.rowSpan>r&&c+u.gridSpan>a){if(l)throw new Error("splitTableCell: overlapping merged regions");l={row:s,col:c,rows:u.rowSpan,cols:u.gridSpan}}}if(!l){let s=vl(e);if(s.hMerge||s.vMerge)throw new Error("splitTableCell: covered cell has no anchor");return}let i=[];for(let s=l.row;s<l.row+l.rows;s++)for(let c=l.col;c<l.col+l.cols;c++){let m=n[s]?.[c];if(!m)throw new Error("splitTableCell: merged region exceeds the table");let u=vl(m);if(u.hMerge!==c>l.col||u.vMerge!==s>l.row)throw new Error("splitTableCell: inconsistent merged region");i.push(m[qe])}for(let s of i)s.attrs=s.attrs.filter(c=>c.name.namespaceURI!==""||!["gridSpan","rowSpan","hMerge","vMerge"].includes(c.name.localName));ce(t[X]),ge(t[X])},AL=(e,t)=>{let n=p(t[qe],Ea),r=Fe(e),a={left:null,right:null,top:null,bottom:null,tlToBr:null,blToTr:null};if(!n)return a;let l=i=>{let s=p(n,o("a",i,d.dml));if(!s)return null;let c=x(s,o("","w","")),m=c!==null?Number.parseInt(c,10):null,u=null,f=p(s,o("a","solidFill",d.dml));if(f){for(let S of f.children)if(!(S.kind!=="element"||S.name.namespaceURI!==d.dml)){u=ye(S,r);break}}let y=p(s,o("a","prstDash",d.dml)),g=y?x(y,o("","val","")):null;return{color:u,widthEmu:m,dash:g}};return{left:l("lnL"),right:l("lnR"),top:l("lnT"),bottom:l("lnB"),tlToBr:l("lnTlToBr"),blToTr:l("lnBlToTr")}},KC={left:"lnL",right:"lnR",top:"lnT",bottom:"lnB",tlToBr:"lnTlToBr",blToTr:"lnBlToTr"},ZW={lnL:0,lnR:1,lnT:2,lnB:3,lnTlToBr:4,lnBlToTr:5,cell3D:6,noFill:7,solidFill:7,gradFill:7,blipFill:7,pattFill:7,grpFill:7,headers:8,extLst:9},KW=e=>e.name.namespaceURI===d.dml?ZW[e.name.localName]??99:99,JC=(e,t,n)=>{if(e.children=e.children.filter(l=>!(l.kind==="element"&&l.name.namespaceURI===d.dml&&l.name.localName===t)),n===null)return;let r=[];if(n.widthEmu!==null&&n.widthEmu!==void 0){let l=Mr(n.widthEmu,"setTableCellBorders: widthEmu");r.push(b(o("","w",""),String(l)))}let a=[];n.color!==null&&n.color!==void 0&&a.push(h(o("a","solidFill",d.dml),{children:[tt(n.color)]})),n.dash!==null&&n.dash!==void 0&&a.push(h(o("a","prstDash",d.dml),{attrs:[b(o("","val",""),n.dash)]})),$e(e,h(o("a",t,d.dml),{attrs:r,children:a}),KW)},TL=(e,t)=>{if(t!==null)for(let[r,a]of Object.entries(t))a?.dash!=null&&Z(a.dash,Zl,`setTableCellBorders: ${r}.dash`);let n=ui(e);if(t===null)for(let r of Object.values(KC))JC(n,r,null);else for(let[r,a]of Object.entries(KC)){let l=t[r];l!==void 0&&JC(n,a,l)}tr(e)},wL=e=>{let t=p(e[qe],Ea);if(!t)return null;let n=x(t,o("","vert",""));return n==="vert"||n==="vert270"||n==="wordArtVert"||n==="eaVert"||n==="mongolianVert"||n==="wordArtVertRtl"?n:null},vL=e=>{let t=p(e[qe],Kr),n=t&&p(t,MW);return n?qa(n):null},CL=(e,t)=>{t!==null&&Z(t,Wd,"setTableCellTextDirection: direction");let n=ui(e);n.attrs=n.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName==="vert")),t!==null&&t!=="horz"&&n.attrs.push(b(o("","vert",""),t)),tr(e)},LL=e=>{let t=p(e[qe],Ea);if(!t)return null;let n=x(t,o("","anchor",""));return n==="t"?"top":n==="ctr"?"center":n==="b"?"bottom":null},PL=(e,t)=>{t!==null&&Z(t,["top","center","bottom"],"setTableCellAnchor: anchor");let n=ui(e);if(n.attrs=n.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName==="anchor")),t!==null){let r=Yd[t];n.attrs.push(b(o("","anchor",""),r))}tr(e)},RL=e=>{let t=p(e[qe],Ea),n={left:null,right:null,top:null,bottom:null};if(!t)return n;let r=a=>{let l=x(t,o("",a,""));if(l===null)return null;let i=Number.parseInt(l,10);return Number.isFinite(i)?i:null};return{left:r("marL"),right:r("marR"),top:r("marT"),bottom:r("marB")}},NL=(e,t)=>{let n=ui(e),r=new Set(["marL","marR","marT","marB"]);if(n.attrs=n.attrs.filter(a=>!(a.name.namespaceURI===""&&r.has(a.name.localName))),t!==null){let a=[["marL",t.left],["marR",t.right],["marT",t.top],["marB",t.bottom]];for(let[l,i]of a)if(i!=null){let s=Vd(i,`setTableCellMargins: ${l}`);n.attrs.push(b(o("",l,""),String(s)))}}tr(e)},ud=e=>{let t=p(e[qe],Kr);return t?Je(t):""},DL=e=>{let t=p(e[qe],Kr);if(!t)return[];let n=[];for(let r of t.children){if(r.kind!=="element"||r.name.namespaceURI!==d.dml||r.name.localName!=="p")continue;let a=p(r,o("a","pPr",d.dml)),l=a?x(a,o("","algn","")):null,i=l!==null?np[l]??null:null,s=r.children.filter(m=>m.kind==="element"&&m.name.namespaceURI===d.dml&&["r","fld","br"].includes(m.name.localName)),c=yp(r).map((m,u)=>{let f=p(s[u],o("a","rPr",d.dml)),y=f?p(f,o("a","hlinkClick",d.dml)):null;if(!y)return m;let g=Xs(e[Le][X],y),S=x(y,o("","tooltip",""));return{...m,...g?{clickAction:g}:{},...S!==null?{tooltip:S}:{}}});n.push({align:i,elements:c,endFormat:ax(r)})}return n},_L=(e,t,n,r)=>{let a=p(t[qe],Kr);if(!a)throw new Error("table cell has no <a:txBody>");let l=Hy({theme:Fe(e),colorMap:Ye(t[Le][X]),images:oi(t[Le][X][P],t[Le][X][O])},a,n,r),i={...WW(e,t),...l},s=Go(e);if(s){let c=(g,S)=>{if(g===void 0)return S??void 0;switch(g){case"+mn-lt":return s.minorLatin??S??void 0;case"+mj-lt":return s.majorLatin??S??void 0;case"+mn-ea":return s.minorEastAsian??S??void 0;case"+mj-ea":return s.majorEastAsian??S??void 0;case"+mn-cs":return s.minorComplexScript??S??void 0;case"+mj-cs":return s.majorComplexScript??S??void 0;default:return g}},m={},u=c(i.font,s.minorLatin),f=c(i.fontEastAsian,s.minorEastAsian),y=c(i.fontComplexScript,s.minorComplexScript);return u!==void 0&&(m.font=u),f!==void 0&&(m.fontEastAsian=f),y!==void 0&&(m.fontComplexScript=y),{...i,...m}}return i},kL=(e,t)=>{let n=ui(e);dr(n,t),tr(e)},ML=e=>{let t=ui(e);Ql(t),tr(e)},FL=e=>{let t=p(e[qe],Ea);if(!t)return null;let n=p(t,o("a","solidFill",d.dml));if(!n)return null;let r=p(n,o("a","srgbClr",d.dml));if(r){let l=x(r,o("","val",""));if(l)return`#${l.toUpperCase()}`}let a=p(n,o("a","schemeClr",d.dml));if(a){let l=x(a,o("","val",""));if(l)return`scheme:${l}`}return null},JW={left:"left",right:"right",top:"top",bottom:"bottom",tlToBr:"tl2br",blToTr:"tr2bl"},QW={insideH:"insideH",insideV:"insideV"},eY={left:"lnL",right:"lnR",top:"lnT",bottom:"lnB",tlToBr:"lnTlToBr",blToTr:"lnBlToTr"},IL=(e,t,n)=>{let r=x(t,o("","idx","")),a=r===null?NaN:Number.parseInt(r,10);if(!Number.isInteger(a)||a<1)return null;let l=Wn(e[P]),i=l?p(l,o("a","themeElements",d.dml)):null,s=i?p(i,o("a","fmtScheme",d.dml)):null,c=s?p(s,o("a",a>=1001&&n==="fillStyleLst"?"bgFillStyleLst":n,d.dml)):null,m=a>=1001&&n==="fillStyleLst"?a-1001:a-1,f=c?.children.filter(E=>E.kind==="element"&&E.name.namespaceURI===d.dml)?.[m];if(!f)return null;let y=t.children.find(E=>E.kind==="element"&&E.name.namespaceURI===d.dml),g=E=>{E.children=E.children.map(A=>{if(A.kind!=="element")return A;if(A.name.localName==="schemeClr"&&x(A,o("","val",""))==="phClr"&&y){let w=he(y);return w.children.push(...A.children.map(T=>T.kind==="element"?he(T):{...T})),w}return g(A),A})},S=he(f);return g(S),S},ci=(e,t,n,r)=>{for(let a of e.children)if(!(a.kind!=="element"||a.name.namespaceURI!==d.dml))switch(a.name.localName){case"fill":return ci(a,t,n,r);case"fillRef":{if(Number.parseInt(x(a,o("","idx",""))??"",10)===0)return{fill:{kind:"none"}};let i=IL(t,a,"fillStyleLst");return i?ci(h(o("a","fill",d.dml),{children:[i]}),t,n,r):null}case"noFill":return{fill:{kind:"none"}};case"solidFill":{let l=a.children.find(c=>c.kind==="element"&&c.name.namespaceURI===d.dml),i=l?ye(l,n,r):null;if(i===null)return null;let s=l?gt(l):null;return{fill:{kind:"solid",color:i},...s!==null?{opacity:s}:{}}}case"gradFill":{let l=ln(a,{theme:n,colorMap:r??{}});return{fill:{kind:"gradient"},...l?{gradient:l}:{}}}case"pattFill":return{fill:{kind:"pattern"}};case"blipFill":return{fill:{kind:"image"}}}return null},QC=(e,t,n,r)=>{let a=p(e,o("a","lnRef",d.dml)),l=a?IL(t,a,"lnStyleLst"):p(e,o("a","ln",d.dml))??e;if(!l||(e=l,p(e,o("a","noFill",d.dml))))return null;let s=p(e,o("a","solidFill",d.dml))?.children.find(c=>c.kind==="element"&&c.name.namespaceURI===d.dml);return{color:s?ye(s,n,r):null,widthEmu:x(e,o("","w",""))?Number.parseInt(x(e,o("","w","")),10):null,dash:x(p(e,o("a","prstDash",d.dml))??e,o("","val",""))}},BL=(e,t)=>{let n=Fe(e),r=Ye(t[Le][X]),a={fill:{kind:"inherit"}},l={left:null,right:null,top:null,bottom:null,tlToBr:null,blToTr:null},i=Tn(t[Le]),{rows:s,cols:c}=i?tL(i):{rows:0,cols:0},m=vl(t),u=t[No],f=t[Do],y=u+m.rowSpan-1,g=f+m.gridSpan-1,S=(A,w)=>{if(A==="wholeTbl"){if(w==="left")return f===0?"left":"insideV";if(w==="right")return g===c-1?"right":"insideV";if(w==="top")return u===0?"top":"insideH";if(w==="bottom")return y===s-1?"bottom":"insideH"}return A==="firstRow"&&u===0||A==="lastRow"&&y===s-1?w==="left"||w==="right"?S("wholeTbl",w)===w?w:"insideV":w:A==="firstCol"&&f===0||A==="lastCol"&&g===c-1?w==="top"||w==="bottom"?S("wholeTbl",w)===w?w:"insideH":w:A==="nwCell"&&u===0&&f===0||A==="neCell"&&u===0&&g===c-1||A==="swCell"&&y===s-1&&f===0||A==="seCell"&&y===s-1&&g===c-1||A.startsWith("band")||w==="tlToBr"||w==="blToTr"?w:null};for(let A of oL(e,t)){let w=p(A,BW);if(!w)continue;let T=ci(w,e,n,r);T&&(a=T);let v=p(w,OW);if(v)for(let C of["left","right","top","bottom","tlToBr","blToTr"]){let R=S(A.name.localName,C);if(!R)continue;let N=R in QW?R:JW[R],_=p(v,o("a",N,d.dml));if(!_&&A.name.localName.startsWith("band")){let k=S("wholeTbl",C);(k==="insideH"||k==="insideV")&&(_=p(v,o("a",k,d.dml)))}_&&(l[C]=QC(_,e,n,r))}}let E=p(t[qe],Ea);if(E){let A=ci(E,e,n,r);A&&(a=A);for(let w of["left","right","top","bottom","tlToBr","blToTr"]){let T=p(E,o("a",eY[w],d.dml));T&&(l[w]=QC(T,e,n,r))}}return{fill:a.fill,...a.opacity!==void 0?{fillOpacity:a.opacity}:{},borders:l}},OL=(e,t)=>{let n=Tn(t);if(!n)throw new Error("getTableBackgroundEffective: shape is not a table graphic frame");let r=Fe(e),a=Ye(t[X]),l=p(n,o("a","tblPr",d.dml)),i=lL(e,t),s=i?aL(i,"tblBg"):null,c=(l?ci(l,e,r,a):null)??(s?ci(s,e,r,a):null);return c?{fill:c.fill,...c.opacity!==void 0?{fillOpacity:c.opacity}:{},...c.gradient?{gradient:c.gradient}:{}}:null},XL=(e,t,n)=>{let r=uL(e,"setTableCellTextFormat");ts(t,"setTableCellTextFormat",r);let a=pi(e);n?.paragraphEnd!==void 0?$o(a,n.paragraphEnd,t,n.reset,r):n?.range?Xo(a,t,n.range,n.reset,r):ac(a,t,n?.reset,r),tr(e)},$L=(e,t,n)=>{let r=ud(e),a=n?.range??{start:0,end:r.length};if(rn(r,a,"setTableCellClickAction"),a.start===a.end)return;let l=t?ay(e[Le][X],t):null;l&&n?.tooltip!==void 0&&l.attrs.push(b(o("","tooltip",""),n.tooltip)),pl(pi(e),a,i=>{ss(i,l?structuredClone(l):null)}),tr(e)},jL=(e,t)=>{let n=ia(t,"setTableCellAlignment"),r=pi(e);as(r,n),tr(e)},UL=e=>({row:e[No],col:e[Do]}),GL=e=>{let t=p(e[qe],Kr);if(!t)return null;for(let n of t.children){if(n.kind!=="element"||n.name.namespaceURI!==d.dml||n.name.localName!=="p")continue;let r=p(n,o("a","pPr",d.dml));return r?rs(x(r,o("","algn",""))):null}return null},fi=e=>{let t=Tn(e);if(!t)throw new Error("table shape is not a table graphic frame");return t},tY=e=>{let t=p(e,o("a","tblGrid",d.dml));return t?Q(t,Cl).length:0},nY=e=>{let t=Tr(e);if(t.length===0)return 37e4;let n=0,r=0;for(let a of t){let l=x(a,Qy);if(l!==null){let i=Number.parseInt(l,10);Number.isFinite(i)&&(n+=i,r++)}}return r>0?Math.round(n/r):37e4},qL=(e,t,n=[])=>{let r=fi(e);di.delete(r);let a=tY(r),l=[];for(let m=0;m<a;m++)l.push(n[m]??"");let i=Dc(l,nY(r)),s=Tr(r),c=t!==void 0?Math.max(0,Math.min(t,s.length)):s.length;if(c===s.length)r.children.push(i);else{let m=s[c],u=r.children.indexOf(m);r.children.splice(u,0,i)}ce(e[X]),ge(e[X])},HL=(e,t)=>{let n=fi(e);di.delete(n);let r=Tr(n);if(t<0||t>=r.length)throw new RangeError(`removeTableRow: index ${t} out of range (have ${r.length})`);let a=r[t];n.children=n.children.filter(l=>l!==a),ce(e[X]),ge(e[X])},VL=(e,t,n)=>{let r=fi(e);di.delete(r);let a=p(r,o("a","tblGrid",d.dml));if(!a)throw new Error("table is missing <a:tblGrid>");let l=Q(a,Cl),i=t!==void 0?Math.max(0,Math.min(t,l.length)):l.length,s=n;if(s===void 0){let m=0,u=0;for(let f of l){let y=x(f,gp);if(y!==null){let g=Number.parseInt(y,10);Number.isFinite(g)&&(m+=g,u++)}}s=u>0?Math.round(m/u):914400}let c=h(Cl,{attrs:[b(gp,String(s))]});if(i===l.length)a.children.push(c);else{let m=l[i],u=a.children.indexOf(m);a.children.splice(u,0,c)}for(let m of Tr(r)){let u=pd(m),f=Nc("");if(i>=u.length)m.children.push(f);else{let y=u[i],g=m.children.indexOf(y);m.children.splice(g,0,f)}}ce(e[X]),ge(e[X])},zL=(e,t)=>{let n=fi(e);di.delete(n);let r=p(n,o("a","tblGrid",d.dml));if(!r)throw new Error("table is missing <a:tblGrid>");let a=Q(r,Cl);if(t<0||t>=a.length)throw new RangeError(`removeTableColumn: index ${t} out of range (have ${a.length})`);let l=a[t];r.children=r.children.filter(i=>i!==l);for(let i of Tr(n)){let s=pd(i);t<s.length&&(i.children=i.children.filter(c=>c!==s[t]))}ce(e[X]),ge(e[X])};var wr=G("/ppt/presentation.xml"),rY=G("/ppt/_rels/presentation.xml.rels"),aY=o("p","sldIdLst",d.pml),lY=o("p","sldId",d.pml),WL=o("","id",""),oY=o("r","id",d.officeDocRels),iY=new TextDecoder,YL=e=>iY.decode(e),fd=(e,t)=>t.target.startsWith("/")?G(t.target):V(e,t.target),lx=e=>{let t=[],n=e.getPart(wr);if(!n)return t.push({severity:"error",message:"/ppt/presentation.xml is missing",partName:wr}),t;let r=e.getRels(wr);if(!r)return t.push({severity:"error",message:"/ppt/presentation.xml has no .rels part",partName:rY}),t;let a;try{a=j(YL(n.data)).root}catch(m){return t.push({severity:"error",message:`presentation.xml failed to parse: ${m.message}`,partName:wr}),t}let l=p(a,aY),i=new Set,s=new Set,c=[];if(l!==null)for(let m of Q(l,lY)){let u=x(m,WL),f=x(m,oY);if(u===null){t.push({severity:"error",message:"<p:sldId> missing id attribute",partName:wr});continue}if(f===null){t.push({severity:"error",message:`<p:sldId id="${u}"> missing r:id`,partName:wr});continue}i.has(u)?t.push({severity:"error",message:`duplicate <p:sldId id="${u}">`,partName:wr}):i.add(u),s.has(f)?t.push({severity:"error",message:`duplicate r:id="${f}" in <p:sldIdLst>`,partName:wr}):s.add(f);let y=r.items.find(S=>S.id===f);if(!y){t.push({severity:"error",message:`<p:sldId r:id="${f}"> has no matching rel`,partName:wr});continue}let g=fd(wr,y);if(e.getPart(g)===null){t.push({severity:"error",message:`slide rel target ${g} not in package`,partName:g});continue}c.push(g)}for(let m of c){let u=e.getRels(m);if(!u){t.push({severity:"warning",message:`slide ${m} has no .rels part`,partName:m});continue}let f=u.items.find(A=>A.type===D.slideLayout);if(!f){t.push({severity:"error",message:`slide ${m} is missing a slideLayout rel`,partName:m});continue}let y=fd(m,f);if(e.getPart(y)===null){t.push({severity:"error",message:`slide ${m} references missing layout ${y}`,partName:m});continue}let g=e.getRels(y);if(!g){t.push({severity:"warning",message:`slide layout ${y} has no .rels part`,partName:y});continue}let S=g.items.find(A=>A.type===D.slideMaster);if(!S){t.push({severity:"error",message:`slide layout ${y} is missing a slideMaster rel`,partName:y});continue}let E=fd(y,S);e.getPart(E)===null&&t.push({severity:"error",message:`slide layout ${y} references missing master ${E}`,partName:y});for(let A of u.items){if(A.targetMode==="External"||A.type!==D.image&&A.type!==D.media&&A.type!==D.video&&A.type!==D.audio&&A.type!==D.chart&&A.type!==D.notesSlide&&A.type!==D.comments&&A.type!==D.oleObject&&A.type!==D.package)continue;let w=fd(m,A);e.getPart(w)===null&&t.push({severity:"error",message:`slide ${m} has dangling ${A.type.split("/").pop()} rel \u2192 ${w}`,partName:m})}}for(let m of c){let u=e.getPart(m);if(!u)continue;let f;try{f=j(YL(u.data)).root}catch{continue}let y=p(f,o("p","cSld",d.pml));if(!y)continue;let g=p(y,o("p","spTree",d.pml));if(!g)continue;let S=new Map,E=T=>{for(let v of T.children){if(v.kind!=="element")continue;if(v.name.namespaceURI===d.pml&&v.name.localName==="grpSp"){E(v);continue}let C=p(v,o("p","nvSpPr",d.pml))??p(v,o("p","nvPicPr",d.pml))??p(v,o("p","nvCxnSpPr",d.pml))??p(v,o("p","nvGrpSpPr",d.pml))??p(v,o("p","nvGraphicFramePr",d.pml));if(!C)continue;let R=p(C,o("p","cNvPr",d.pml));if(!R)continue;let N=x(R,WL);N!==null&&S.set(N,(S.get(N)??0)+1)}};E(g);for(let[T,v]of S)v>1&&t.push({severity:"error",message:`duplicate shape id="${T}" appears ${v}\xD7 in slide ${m}`,partName:m});let A=p(f,o("p","timing",d.pml)),w=T=>{for(let v of T.children){if(v.kind!=="element")continue;if(!hr(v)){w(v);continue}let C=ho(v);C!==null&&!S.has(String(C))&&t.push({severity:"error",message:`media time node in slide ${m} targets missing shape id="${C}"`,partName:m})}};A&&w(A)}for(let m of e.parts){if(m.contentType!=="application/vnd.openxmlformats-officedocument.drawingml.chart+xml")continue;let u=e.getRels(m.name);if(!u){t.push({severity:"warning",message:`chart part ${m.name} has no .rels`,partName:m.name});continue}let f=u.items.find(y=>y.type===D.package);if(f){let y=fd(m.name,f);e.getPart(y)===null&&t.push({severity:"error",message:`chart ${m.name} references missing embedded workbook ${y}`,partName:m.name})}}return t};var ZL=e=>lx(e[P]);var sY=new TextDecoder,KL=e=>e[P],JL=e=>e[P].parts.map(t=>({name:t.name,contentType:t.contentType,byteLength:t.data.byteLength})),QL=(e,t)=>{let n=t.toLowerCase();return e[P].parts.find(a=>a.name.toLowerCase()===n)?.data??null},eP=e=>{let t=0;for(let n of e[P].parts)t+=n.data.byteLength;return t},tP=e=>{let t=[];for(let n of e[P].parts)n.name.startsWith("/ppt/media/")&&t.push({name:n.name,contentType:n.contentType,data:n.data});return t},nP="/_rels/.rels",dY=/^(.*)\/_rels\/([^/]+)\.rels$/,ox=(e,t)=>{if(t.startsWith("/"))return t;let n=e.split("/").slice(1,-1);for(let r of t.split("/"))r===".."?n.pop():r!=="."&&r.length>0&&n.push(r);return`/${n.join("/")}`},cY=e=>{let t=dY.exec(e);return t?`${t[1]}/${t[2]}`:null},mY=(e,t)=>{let n=t.toLowerCase();if(e.has(n))return n;try{let r=decodeURIComponent(t).toLowerCase();return e.has(r)?r:null}catch{return null}},rP=e=>{let t=new Map(e.parts.map(a=>[a.name.toLowerCase(),a])),n=new Set,r=["/"];for(;r.length>0;){let a=r.pop(),l=a==="/"?nP:_t(a).toLowerCase(),i=t.get(l);if(i)for(let s of Ka(sY.decode(i.data)).items){if(s.targetMode==="External"||s.target==="")continue;let c=mY(t,ox(a,s.target));c===null||n.has(c)||(n.add(c),r.push(G(c)))}}return n.has(Y)?n:null},aP=e=>{let t=e[P],n=rP(t);return n===null?[]:t.parts.filter(r=>r.name.startsWith("/ppt/media/")&&!n.has(r.name.toLowerCase())).map(r=>r.name)},lP=e=>{let n=e[P].getRels(e[O]);if(!n)return[];let r=[],a=new Set;for(let l of n.items){if(l.targetMode==="External")continue;let i=ox(e[O],l.target);i.startsWith("/ppt/media/")&&(a.has(i)||(a.add(i),r.push(i)))}return r},oP=(e,t)=>{let n=e[P],r=[];for(let a of H(e)){let l=n.getRels(a[O]);if(!l)continue;l.items.some(s=>s.targetMode!=="External"&&ox(a[O],s.target)===t)&&r.push(a)}return r},iP=e=>{let t=e[P],n=rP(t);return n===null?{removed:[]}:{removed:t.retainParts(a=>{let l=a.name.toLowerCase();return l===nP?!0:n.has(cY(l)??l)})}},sP=(e,t,n)=>{let r=t.toLowerCase(),a=e[P].parts.find(l=>l.name.toLowerCase()===r);return a?(a.data=n,!0):!1},pY="application/vnd.openxmlformats-officedocument.drawingml.chart+xml",uY="application/vnd.openxmlformats-officedocument.presentationml.comments+xml",dP=e=>{let t=e[P],n=H(e),r=0,a=0,l={shape:0,picture:0,group:0,graphicFrame:0,connector:0},i=!1;for(let u of n){Ta(u)&&r++;for(let f of u[ne])a++,l[f[U].kind]++;!i&&u[te].root.children.some(f=>f.kind==="element"&&f.name.namespaceURI===d.pml&&f.name.localName==="timing")&&(i=!0)}let s=t.parts.some(u=>u.contentType===pY),c=t.parts.some(u=>u.contentType===uY),m=Fe(e);return{slideCount:n.length,hiddenSlideCount:r,totalShapes:a,shapesByKind:l,layoutCount:Ct(e).length,sectionCount:mp(e).length,partCount:t.parts.length,hasCharts:s,hasComments:c,hasAnimations:i,themeName:m?.name??null}};var fY="iVBORw0KGgoAAAANSUhEUgAAAUAAAAC0AQMAAADfKmdSAAAABlBMVEUmJib///+/9FOwAAAAvUlEQVR42u3XMQ7DIBAEQOfnfhpP4QmUFAgiJUqdKa6xtFtPA8J36+tKkiRJkiR5RF4Mm8KucCrcCg/DpnAoXAq3wnMr7AqnwqXwMGwKu8KpcCukK//ApnAoXAq3QjnNF3aFU+FSeBg2hUPhVLgV/r/yH2wKRzls1YfZ5Rc+yh9F+cOd5R/XXT0AVvmQatWDlEczD3teH7yQypcmr2Fe7FoVuHxwneGCxJWrvBZy0eTqymU4fxhJkiRJkjwqbzMmJGbQfp8bAAAAAElFTkSuQmCC",hY=()=>Uint8Array.from(atob(fY),e=>e.charCodeAt(0)),gY=new Set(["youtube.com","www.youtube.com","m.youtube.com"]),yY="youtu.be",xY=/^[A-Za-z0-9_-]+$/,SY=e=>{let t=e.pathname.split("/").filter(n=>n!=="");return e.hostname===yY?t[0]??null:gY.has(e.hostname)?t[0]==="watch"?e.searchParams.get("v"):t[0]==="shorts"||t[0]==="live"?t[1]??null:null:null},bY=e=>{let t;try{t=new URL(e)}catch{throw new Error(`addSlideMedia: url is not an absolute URL: ${JSON.stringify(e)}`)}if(t.protocol!=="http:"&&t.protocol!=="https:")throw new Error(`addSlideMedia: url must be http(s), got ${JSON.stringify(e)}`);let n=SY(t);return n===null||!xY.test(n)?t.href:`https://www.youtube.com/embed/${n}?feature=oembed`},hx="/ppt/media/",yP=(e,t,n)=>{let r=1,a=new RegExp(`^/ppt/media/${t}(\\d+)\\.`);for(let l of e.parts){let i=l.name.match(a);if(i?.[1]!==void 0){let s=Number.parseInt(i[1],10);s>=r&&(r=s+1)}}return G(`${hx}${t}${r}.${n}`)},EY=(e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0},gx=(e,t,n,r)=>{for(let l of e.parts)if(l.name.startsWith(hx)&&l.contentType===n&&EY(l.data,r))return l.name;let a=yP(e,"media",t);return Sn(e,t,n),e.addPart(a,n,r),a},AY=e=>{switch(e.kind){case"online":return{url:bY(e.url)};case"video":{let t=e.format??rh(e.data);if(t===null)throw new Error("addSlideMedia: could not detect the video format. Pass options.format explicitly.");let n=nh(t);return{data:e.data,extension:t,contentType:n}}case"audio":{let t=e.format??ys(e.data);if(t===null)throw new Error("addSlideMedia: could not detect the audio format. Pass options.format explicitly.");let n=gs(t);return{data:e.data,extension:t,contentType:n}}}},TY={video:"Video",audio:"Audio",online:"Online Media"},xP=(e,t)=>{let n=Ue(t.x,"addSlideMedia: x"),r=Ue(t.y,"addSlideMedia: y"),a=xe(t.w,"addSlideMedia: w"),l=xe(t.h,"addSlideMedia: h"),i=AY(t),s=t.poster??hY(),c=t.posterFormat??ut(s);if(c===null)throw new Error("addSlideMedia: could not detect the poster image format. Pass options.posterFormat explicitly.");let m=e[P],u=e[O],f=m.getRels(u)??pe(),y=f.items.map(M=>M.id),g=(M,I,K)=>{let re=f.items.find(Ce=>Ce.type===M&&Ce.target===I&&Ce.targetMode===K);if(re)return re.id;let Se=se(y);return y.push(Se),f.items.push({id:Se,type:M,target:I,targetMode:K}),Se},S=M=>`../media/${M.slice(hx.length)}`,E=t.kind==="audio"?"audio":"video",A=E==="audio"?D.audio:D.video,w,T;if("url"in i)w=g(A,i.url,"External");else{let M=gx(m,i.extension,i.contentType,i.data);T=g(D.media,S(M),"Internal"),w=g(A,S(M),"Internal")}let v=yn(c),C=xn(c),R=yP(m,"image",v);Sn(m,v,C),m.addPart(R,C,s);let N=g(D.image,S(R),"Internal");m.setRels(u,f);let _=wt(e),k=uh({id:_,name:t.name??`${TY[t.kind]} ${_}`,kind:E,rLink:w,...T!==void 0?{rMedia:T}:{},rEmbed:N,x:n,y:r,w:a,h:l});return cm(e,E,_),Mn(e,k)},gd=e=>{if(e[U].kind!=="picture")return null;let t=Es(e[F]);if(t===null)return null;let n=e[X],r=n[P],a=r.getRels(n[O]);if(a===null)return null;let l=new Map(a.items.map(i=>[i.id,i]));for(let i of[t.mediaRId,t.fileRId]){let s=i===null?void 0:l.get(i);if(s===void 0)continue;if(s.targetMode==="External")return{kind:"online",url:s.target};let c=s.target.startsWith("/")?G(s.target):V(n[O],s.target),m=r.getPart(c);if(m)return{kind:t.kind,partName:m.name,contentType:m.contentType,bytes:m.data}}return null},SP=e=>e[ne].filter(t=>gd(t)!==null),wY=o("p","cMediaNode",d.pml),xp=o("p","cTn",d.pml),Dl=o("p","stCondLst",d.pml),cP=o("p","cond",d.pml),bP=o("","vol",""),EP=o("","mute",""),AP=o("","fullScrn",""),TP=o("","fill",""),wP=o("","showWhenStopped",""),vP=o("","numSld",""),CP=4294967295,LP=o("","repeatCount",""),Jr=o("","delay",""),yi=o("","evt",""),PP=o("","masterRel",""),mP=o("","cmd",""),Rl=o("","nodeType",""),cx=o("","id",""),RP=o("","val",""),vY=o("p","cBhvr",d.pml),ix=o("p","tgtEl",d.pml),sx=o("p","spTgt",d.pml),CY=o("p","tn",d.pml),NP=o("p","childTnLst",d.pml),LY=o("p","nvPicPr",d.pml),PY=o("p","nvPr",d.pml),DP=o("p","extLst",d.pml),RY=o("p","ext",d.pml),NY=o("p14","media",d.p14),Sp=o("p14","trim",d.p14),bp=o("p14","fade",d.p14),xi=o("p14","bmkLst",d.p14),hd=o("p14","bmk",d.p14),DY=o("p14","bmkTgt",d.p14),_Y=o("","uri",""),mx=o("","st",""),px=o("","end",""),ux=o("","in",""),fx=o("","out",""),hi=o("","name",""),gi=o("","time",""),kY=o("","spid",""),MY=o("","bmkName",""),FY="{DAA4B4D4-6D71-4841-9C94-3DE7FCFB9230}",IY=(e,t)=>{if(e===null)return t;let n=Number.parseFloat(e.endsWith("%")?e.slice(0,-1):e);return Number.isFinite(n)?e.endsWith("%")?n/100:n/1e5:t},dx=(e,t)=>e===null?t:e==="1"||e==="true",vr=(e,t,n)=>{e.attrs=e.attrs.filter(r=>r.name.localName!==t.localName||r.name.namespaceURI!==t.namespaceURI),n!==null&&e.attrs.push(b(t,n))},pP=(e,t,n)=>{let r=e.attrs.findIndex(a=>a.name.localName===t.localName&&a.name.namespaceURI===t.namespaceURI);n===null?r>=0&&e.attrs.splice(r,1):r>=0?e.attrs[r]=b(t,n):e.attrs.push(b(t,n))},_P=e=>{let t=p(e[F],LY),n=t===null?null:p(t,PY),r=n===null?null:p(n,DP);if(r===null)return null;for(let a of r.children){if(a.kind!=="element"||!Cr(a.name,RY)||x(a,_Y)!==FY)continue;let l=p(a,NY);if(l!==null)return l}return null},Cr=(e,t)=>e.namespaceURI===t.namespaceURI&&e.localName===t.localName,Pl=e=>{if(e===null)return null;let t=/^([+]?(?:\d+(?:\.\d*)?|\.\d+))(ms|s|min|h|µs|ns)?$/.exec(e);if(t===null)return null;let n=Number(t[1]);if(!Number.isFinite(n))return null;let r=t[2]==="s"?1e3:t[2]==="min"?6e4:t[2]==="h"?36e5:t[2]==="\xB5s"?.001:t[2]==="ns"?1e-6:1,a=n*r;return Number.isFinite(a)?a:null},BY=e=>{let t=_P(e);if(t===null)return{};let n=p(t,Sp),r=p(t,bp),a=n===null?null:Pl(x(n,mx)),l=n===null?null:Pl(x(n,px)),i=r===null?null:Pl(x(r,ux)),s=r===null?null:Pl(x(r,fx)),c=p(t,xi),m=c===null?void 0:c.children.filter(u=>u.kind==="element"&&Cr(u.name,hd)).map(u=>{let f=x(u,hi),y=Pl(x(u,gi));if(f===null||y===null||y<0)throw new Error("getShapeMediaPlayback: malformed media bookmark");return{name:f,timeMs:y}});return{...n===null||a===null&&l===null?{}:{trim:{startMs:a??0,endMs:l??0}},...r===null||i===null&&s===null?{}:{fade:{inMs:i??0,outMs:s??0}},...m===void 0?{}:{bookmarks:m}}},uP=(e,t)=>{if(typeof e!="object"||e===null)throw new Error(`setShapeMediaPlayback: ${t} durations must be finite and nonnegative`);if(t==="trim"&&!("startMs"in e))throw new Error(`setShapeMediaPlayback: ${t} durations must be finite and nonnegative`);if(t==="fade"&&!("inMs"in e))throw new Error(`setShapeMediaPlayback: ${t} durations must be finite and nonnegative`);if((t==="trim"?"startMs"in e?[e.startMs,e.endMs]:[]:"inMs"in e?[e.inMs,e.outMs]:[]).some(r=>!Number.isFinite(r)||r<0))throw new Error(`setShapeMediaPlayback: ${t} durations must be finite and nonnegative`)},Nl=e=>{let t=String(e);if(!/[eE]/.test(t))return t;let n=/^([+-]?)(\d+)(?:\.(\d+))?[eE]([+-]?\d+)$/.exec(t);if(n===null)return t;let r=`${n[2]}${n[3]??""}`,a=n[2].length+Number(n[4]);return a<=0?`${n[1]}0.${"0".repeat(-a)}${r}`:a>=r.length?`${n[1]}${r}${"0".repeat(a-r.length)}`:`${n[1]}${r.slice(0,a)}.${r.slice(a)}`},kP=(e,t)=>{e.children=e.children.filter(n=>n.kind!=="element"||!Cr(n.name,t))},fP=(e,t,n)=>{let r=p(e,t);if(r!==null){for(let a of n)vr(r,a,null);r.attrs.length===0&&r.children.length===0&&r.prefixDecls.size===0&&kP(e,t)}},Ep=e=>Cr(e,Sp)?0:Cr(e,bp)?1:Cr(e,xi)?2:Cr(e,DP)?3:4,hP=(e,t,n)=>{let r=p(e,t);if(r===null){r=h(t);let a=Ep(t),l=e.children.findIndex(i=>i.kind==="element"&&Ep(i.name)>a);l<0?e.children.push(r):e.children.splice(l,0,r)}for(let[a,l]of n)vr(r,a,l)},OY=(e,t,n)=>{t!==void 0&&(t.startMs===0&&t.endMs===0?fP(e,Sp,[mx,px]):hP(e,Sp,[[mx,Nl(t.startMs)],[px,Nl(t.endMs)]])),n!==void 0&&(n.inMs===0&&n.outMs===0?fP(e,bp,[ux,fx]):hP(e,bp,[[ux,Nl(n.inMs)],[fx,Nl(n.outMs)]]))},XY=e=>{if(!Array.isArray(e))throw new Error("setShapeMediaPlayback: bookmarks must be an array");let t=new Set,n=new Set;for(let r of e){if(typeof r!="object"||r===null||typeof r.name!="string"||!Number.isFinite(r.timeMs)||r.timeMs<0)throw new Error("setShapeMediaPlayback: bookmarks require a string name and finite nonnegative timeMs");if(t.has(r.name))throw new Error("setShapeMediaPlayback: bookmark names must be unique");if(n.has(r.timeMs))throw new Error("setShapeMediaPlayback: bookmark times must be unique");t.add(r.name),n.add(r.timeMs)}},$Y=(e,t)=>{let n=e[X][te].root,r=String(e[U].id),a=new Set(t.map(i=>i.name)),l=null;if(kt(n,i=>{if(!Cr(i.name,DY)||x(i,kY)!==r)return;let s=x(i,MY);s!==null&&!a.has(s)&&(l=s)}),l!==null)throw new Error(`setShapeMediaPlayback: cannot remove or rename referenced bookmark ${JSON.stringify(l)}`)},jY=(e,t)=>{let n=p(e,xi);if(n===null&&t.length===0)return;if(n===null){let g=h(xi,{children:t.map(A=>h(hd,{attrs:[b(hi,A.name),b(gi,Nl(A.timeMs))]}))}),S=Ep(xi),E=e.children.findIndex(A=>A.kind==="element"&&Ep(A.name)>S);E<0?e.children.push(g):e.children.splice(E,0,g);return}let r=n.children.filter(g=>g.kind==="element"&&Cr(g.name,hd)),a=new Map,l=new Map,i=new Map;for(let g of r){let S=x(g,hi)??"";l.has(S)||l.set(S,g);let E=x(g,gi),A=Pl(E);if(A===null)continue;let w=`${S}\0${A}`;a.has(w)||a.set(w,g),i.has(A)||i.set(A,g)}let s=new Set(r),c=t.map(()=>{});t.forEach((g,S)=>{let E=a.get(`${g.name}\0${g.timeMs}`);E!==void 0&&s.has(E)&&(c[S]=E,s.delete(E))}),t.forEach((g,S)=>{if(c[S]!==void 0)return;let E=l.get(g.name);E!==void 0&&s.has(E)&&(c[S]=E,s.delete(E))}),t.forEach((g,S)=>{if(c[S]!==void 0)return;let E=i.get(g.timeMs);E!==void 0&&s.has(E)&&(c[S]=E,s.delete(E))});let m=0;t.forEach((g,S)=>{if(c[S]===void 0)for(;m<r.length;){let E=r[m++];if(E!==void 0&&s.has(E)){c[S]=E,s.delete(E);return}}});let u=t.map((g,S)=>{let E=c[S];if(E!==void 0){x(E,hi)!==g.name&&pP(E,hi,g.name);let A=x(E,gi);return Pl(A)!==g.timeMs&&pP(E,gi,Nl(g.timeMs)),E}return h(hd,{attrs:[b(hi,g.name),b(gi,Nl(g.timeMs))]})}),f=n.children.filter(g=>g.kind!=="element"||!Cr(g.name,hd)),y=f.findIndex(g=>g.kind==="element");y<0?n.children=[...f,...u]:n.children=[...f.slice(0,y),...u,...f.slice(y)],u.length===0&&n.attrs.length===0&&n.children.length===0&&n.prefixDecls.size===0&&kP(e,xi)},MP=e=>{let t=gT(e[X],e[U].id),n=t?.node??null,r=n===null?null:p(n,wY);return t!==null&&r!==null?{...t,media:r}:null},FP=e=>{let t=e[X][te].root,n=String(e[U].id),r=[],a=(k,M)=>{let I=k.name.namespaceURI===d.pml&&k.name.localName==="cTn"?[...M,k]:M;if(k.name.namespaceURI===d.pml&&k.name.localName==="cmd"&&x(k,mP)?.startsWith("playFrom(")){let K=p(k,vY),re=K===null?null:p(K,ix),Se=re===null?null:p(re,sx);Se!==null&&x(Se,o("","spid",""))===n&&r.push({element:k,ancestors:I})}for(let K of k.children)K.kind==="element"&&a(K,I)};if(a(t,[]),r.length===0)return null;if(r.length!==1)return"other";let{element:l,ancestors:i}=r[0],s=i.findIndex(k=>x(k,Rl)==="mainSeq"),c=i.findIndex(k=>x(k,Rl)==="interactiveSeq"),m=i.findIndex(k=>x(k,Rl)===(s>=0?"afterEffect":"clickEffect")),u=s>=0?s:c;if(u<0||m<=u)return"other";let f=i[u],y=i[u+1];if(y===void 0)return"other";let g=k=>{if(k.name.namespaceURI===d.pml&&k.name.localName==="cTn")return k;for(let M of k.children){if(M.kind!=="element")continue;let I=g(M);if(I!==null)return I}return null},S=p(f,NP);if(S===null||g(S)!==y)return"other";let E=p(y,Dl);if(E===null)return"other";let A=E.children.filter(k=>k.kind==="element"&&k.name.namespaceURI===d.pml&&k.name.localName==="cond"),T=p(f,Dl)?.children.filter(k=>k.kind==="element"&&k.name.namespaceURI===d.pml&&k.name.localName==="cond")??[],v=A.some(k=>{if(x(k,yi)!=="onBegin"||x(k,Jr)!=="0")return!1;let M=p(k,CY);return M!==null&&x(M,RP)===x(f,cx)}),C=A.some(k=>x(k,yi)===null&&x(k,Jr)==="indefinite"),R=T.length===1?p(p(T[0],ix)??h(ix),sx):null,N=T.length===1&&x(T[0],yi)==="onClick"&&x(T[0],Jr)==="0"&&x(R??h(sx),o("","spid",""))===n;if(s>=0&&(A.length!==2||!v||!C)||c>=0&&(!N||x(i[m],Rl)!=="clickEffect"))return"other";let _=k=>{let M=p(k,Dl);if(M===null)return!1;let I=M.children.filter(K=>K.kind==="element"&&K.name.namespaceURI===d.pml&&K.name.localName==="cond");return I.length===1&&x(I[0],yi)===null&&x(I[0],Jr)==="0"&&I[0].children.every(K=>K.kind!=="element")};return c>=0&&!_(y)||!i.slice(u+2,m+1).every(k=>_(k))||x(l,mP)!=="playFrom(0.0)"?"other":s>=0?"background":"interactive"},gP=(e,t,n)=>{let r=(y,g={},S=[])=>h(o("p",y,d.pml),{attrs:Object.entries(g).map(([E,A])=>b(o("",E,""),A)),children:S}),a=()=>r("cond",{evt:"onClick",delay:"0"},[r("tgtEl",{},[r("spTgt",{spid:n})])]),l=()=>r("stCondLst",{},[r("cond",{delay:"0"})]),i=y=>r("childTnLst",{},[y]),s=e==="background",c=r("par",{},[r("cTn",{id:t[3],presetID:"1",presetClass:"mediacall",presetSubtype:"0",fill:"hold",nodeType:s?"afterEffect":"clickEffect"},[l(),i(r("cmd",{type:"call",cmd:"playFrom(0.0)"},[r("cBhvr",{},[r("cTn",{id:t[4],dur:"1",fill:"hold"}),r("tgtEl",{},[r("spTgt",{spid:n})])])]))])]),m=r("par",{},[r("cTn",{id:t[1],fill:"hold"},[s?r("stCondLst",{},[r("cond",{delay:"indefinite"}),r("cond",{evt:"onBegin",delay:"0"},[r("tn",{val:t[0]})])]):l(),i(r("par",{},[r("cTn",{id:t[2],fill:"hold"},[l(),i(c)])]))])]),u=s?r("cTn",{id:t[0],dur:"indefinite",nodeType:"mainSeq"},[i(m)]):r("cTn",{id:t[0],restart:"whenNotActive",fill:"hold",evtFilter:"cancelBubble",nodeType:"interactiveSeq"},[r("stCondLst",{},[a()]),r("endSync",{evt:"end",delay:"0"},[r("rtn",{val:"all"})]),i(m)]),f=(y,g)=>r(y,{},[r("cond",{evt:g,delay:"0"},[r("tgtEl",{},[r("sldTgt")])])]);return r("seq",{concurrent:"1",nextAc:"seek"},[u,...s?[f("prevCondLst","onPrev"),f("nextCondLst","onNext")]:[r("nextCondLst",{},[a()])]])},IP=(e,t)=>{if(!((i,s)=>i.namespaceURI===s.namespaceURI&&i.localName===s.localName)(e.name,t.name)||e.attrs.length!==t.attrs.length)return!1;let r=new Map(e.attrs.map(({name:i,value:s})=>[`${i.namespaceURI}:${i.localName}`,s]));if(!t.attrs.every(({name:i,value:s})=>r.get(`${i.namespaceURI}:${i.localName}`)===s)||e.children.some(i=>i.kind!=="element"&&(i.kind!=="text"||i.data.trim()!=="")))return!1;let a=e.children.filter(i=>i.kind==="element"),l=t.children.filter(i=>i.kind==="element");return a.length===l.length&&a.every((i,s)=>IP(i,l[s]))},UY=(e,t)=>{let n=e[X][te].root,r=[],a=(f,y)=>{for(let g of f.children)g.kind==="element"&&(y(g,f),a(g,y))},l=String(e[U].id);a(n,(f,y)=>{if(f.name.namespaceURI!==d.pml||f.name.localName!=="seq")return;let g=p(f,xp);g!==null&&x(g,Rl)===(t==="background"?"mainSeq":"interactiveSeq")&&r.push({node:f,parent:y})});let i=p(n,o("p","timing",d.pml)),s=i&&p(i,o("p","tnLst",d.pml)),c=s&&p(s,o("p","par",d.pml)),m=c&&p(c,xp),u=m&&p(m,NP);for(let{node:f,parent:y}of r){if(y!==u||m===null||x(m,Rl)!=="tmRoot")continue;let g=[];if(a(f,T=>{if(T.name.namespaceURI===d.pml&&T.name.localName==="cTn"){let v=x(T,cx);v!==null&&g.push(v)}}),g.length!==5||new Set(g).size!==5||!IP(f,gP(t,g,l)))continue;let S=new Set(g),E=!1,A=T=>{if(T!==f){T.name.namespaceURI===d.pml&&(T.name.localName==="tn"&&S.has(x(T,RP)??"")&&(E=!0),T.name.localName==="cTn"&&(S.has(x(T,cx)??"")||t==="interactive"&&x(T,Rl)==="mainSeq")&&(E=!0));for(let v of T.children)v.kind==="element"&&A(v)}};if(A(n),E)break;let w=gP(t==="background"?"interactive":"background",g,l);return w.prefixDecls=new Map([["p",d.pml]]),()=>{y.children[y.children.indexOf(f)]=w}}throw new Error("setShapeMediaPlayback: dedicated media command timing is unsupported or shared")},Ap=(e,t=!1)=>{let n=0;for(let[r,a]of e.entries()){if(x(a,PP)!==null)return null;let l=p(a,Dl);if(l===null){if(t&&r===e.length-1)return null;continue}let i=l.children.filter(u=>u.kind==="element"&&u.name.namespaceURI===d.pml&&u.name.localName==="cond");if(i.length!==1)return null;let s=i[0];if(s.children.some(u=>u.kind==="element"&&u.name.namespaceURI===d.pml&&["tn","rtn","tgtEl"].includes(u.name.localName)))return null;if(x(s,yi)!==null)return{automatic:!1,delayMs:0};let c=x(s,Jr);if(c==="indefinite")return{automatic:!1,delayMs:0};let m=c===null?0:Number(c);if(!Number.isSafeInteger(m)||m<0||(n+=m,!Number.isSafeInteger(n)))return null}return{automatic:!0,delayMs:n}},BP=e=>{let t=MP(e);if(t===null)return null;let{node:n,media:r}=t,a=p(r,xp),l=FP(e),i=a===null?null:Ap([a],!0),s=Ap(t.ancestors),c=(s?.delayMs??0)+(i?.delayMs??0),m=l==="background"||a!==null&&!t.duplicateTarget&&!t.hasDependentTimingAncestor&&s?.automatic===!0&&i?.automatic===!0&&Number.isSafeInteger(c),u={autoplay:m,loop:a!==null&&x(a,LP)==="indefinite",volume:IY(x(r,bP),.5),muted:dx(x(r,EP),!1),fullScreen:dx(x(n,AP),!1),hideWhenStopped:!dx(x(r,wP),!0)},f=x(r,vP),y=f===null?null:Number(f),g=y!==null&&Number.isSafeInteger(y)&&y>=0&&y<=CP?y:void 0,S=a!==null&&x(a,TP)==="remove",E={...g===void 0?{}:{slideCount:g},...S?{rewindAfterPlaying:!0}:{},...BY(e)};return m&&c>0?{...u,delayMs:c,...E}:{...u,...E}},OP=(e,t)=>{let n=MP(e);if(n===null)throw new Error("setShapeMediaPlayback: the shape has no media time node");let{node:r,media:a}=n,l=FP(e),i=l==="background"&&t.autoplay===!1||l==="interactive"&&t.autoplay===!0,s=t.delayMs;if(s!==void 0&&(!Number.isSafeInteger(s)||s<0))throw new Error("setShapeMediaPlayback: delayMs must be a nonnegative safe integer");if(s!==void 0&&t.autoplay===!1)throw new Error("setShapeMediaPlayback: delayMs cannot be used with autoplay:false");let c=p(a,xp),m=c&&p(c,Dl),u=m&&p(m,cP),f=u!==null&&x(u,yi)===null&&x(u,Jr)!=="indefinite";if(n.ancestors.length>1&&c!==null&&m!==null&&(t.autoplay!==void 0||s!==void 0)&&Ap([c],!0)===null)throw new Error("setShapeMediaPlayback: media start conditions are unsupported");if(n.duplicateTarget)throw new Error("setShapeMediaPlayback: multiple media nodes target this shape");if(c===null&&(t.autoplay!==void 0||t.delayMs!==void 0||t.loop!==void 0||t.rewindAfterPlaying!==void 0))throw new Error("setShapeMediaPlayback: media timing node has no cTn");if(l==="other"&&(t.autoplay!==void 0||t.delayMs!==void 0))throw new Error("setShapeMediaPlayback: media command timing is unsupported");if((l==="background"||l==="interactive")&&s!==void 0)throw new Error("setShapeMediaPlayback: background media timing cannot be changed");if((t.autoplay!==void 0||s!==void 0)&&c!==null&&(x(c,PP)!==null||u!==null&&u.children.some(E=>E.kind==="element"&&E.name.namespaceURI===d.pml&&["tn","rtn","tgtEl"].includes(E.name.localName))))throw new Error("setShapeMediaPlayback: media start depends on another timing node");let y=s;if(t.autoplay!==void 0||s!==void 0){if(n.hasDependentTimingAncestor)throw new Error("setShapeMediaPlayback: media dependent timing is unsupported");let E=Ap(n.ancestors);if(E===null)throw new Error("setShapeMediaPlayback: nested media has unsupported start conditions");if(!E.automatic&&t.autoplay!==!1)throw new Error("setShapeMediaPlayback: media is event-triggered");if(s!==void 0){if(!E.automatic||s<E.delayMs)throw new Error("setShapeMediaPlayback: delayMs cannot be represented with nested start conditions");y=s-E.delayMs}}if(s!==void 0&&t.autoplay===void 0&&!f)throw new Error("setShapeMediaPlayback: delayMs requires autoplay");if(t.volume!==void 0&&(!Number.isFinite(t.volume)||t.volume<0||t.volume>1))throw new Error("setShapeMediaPlayback: volume must be between 0 and 1");if(t.fullScreen!==void 0&&r.name.localName!=="video")throw new Error("setShapeMediaPlayback: fullScreen applies to video only");if(t.slideCount!==void 0&&(!Number.isSafeInteger(t.slideCount)||t.slideCount<0||t.slideCount>CP))throw new Error("setShapeMediaPlayback: slideCount must be an unsigned 32-bit integer");t.trim!==void 0&&uP(t.trim,"trim"),t.fade!==void 0&&uP(t.fade,"fade"),t.bookmarks!==void 0&&XY(t.bookmarks);let g=t.trim!==void 0||t.fade!==void 0||t.bookmarks!==void 0?_P(e):null;if((t.trim!==void 0||t.fade!==void 0||t.bookmarks!==void 0)&&g===null)throw new Error("setShapeMediaPlayback: trim, fade, and bookmarks require embedded media");if(t.bookmarks!==void 0&&$Y(e,t.bookmarks),(i?UY(e,l==="background"?"background":"interactive"):null)?.(),t.volume!==void 0&&vr(a,bP,String(Math.round(t.volume*1e5))),t.muted!==void 0&&vr(a,EP,t.muted?"1":"0"),t.hideWhenStopped!==void 0&&vr(a,wP,t.hideWhenStopped?"0":"1"),t.slideCount!==void 0&&vr(a,vP,t.slideCount===1?null:String(t.slideCount)),t.fullScreen!==void 0&&vr(r,AP,t.fullScreen?"1":"0"),g!==null&&OY(g,t.trim,t.fade),g!==null&&t.bookmarks!==void 0&&jY(g,t.bookmarks),c!==null&&(t.rewindAfterPlaying!==void 0&&vr(c,TP,t.rewindAfterPlaying?"remove":"hold"),t.loop!==void 0&&vr(c,LP,t.loop?"indefinite":null),!i&&l!=="background"&&l!=="interactive"&&(t.autoplay!==void 0||s!==void 0))){let E=p(c,Dl);E===null&&(E=h(Dl),c.children.unshift(E));let A=t.autoplay===!1?"indefinite":y!==void 0?String(y):f?x(u,Jr)??"0":"0";f&&u!==null&&t.autoplay!==!1?vr(u,Jr,A):E.children=[h(cP,{attrs:[b(Jr,A)]})]}ce(e[X]),ge(e[X])};var _l=(e,t)=>e.kind==="element"&&e.name.namespaceURI===d.pml&&e.name.localName===t,GY=e=>e.kind!=="element"?[]:_l(e,"transition")?[e]:e.name.namespaceURI!==d.mc||e.name.localName!=="AlternateContent"?[]:e.children.flatMap(t=>t.kind==="element"&&t.name.namespaceURI===d.mc?t.children.filter(n=>n.kind==="element"&&_l(n,"transition")):[]),yx=e=>GY(e)[0]??null,wp=e=>{for(let t of e[te].root.children){let n=yx(t);if(n)return n}return null},XP=e=>{e[te].root.children=e[te].root.children.filter(t=>yx(t)===null)},$P=(e,t)=>{let n=e[te].root.children,r=n.length;for(let a=0;a<n.length;a++){let l=n[a];l?.kind!=="element"||l.name.namespaceURI!==d.pml||(l.name.localName==="clrMapOvr"||l.name.localName==="cSld"&&r===n.length)&&(r=a+1)}n.splice(r,0,t)},Si=(e,t)=>{let n=x(e,o("",t,""))?.trim();return n===void 0?void 0:n==="1"||n==="true"},qY=e=>{let t=e.children.find(A=>A.kind==="element"&&!_l(A,"sndAc")&&!_l(A,"extLst"));if(t===void 0)return{effect:"none"};let n=t.name.localName;if(Hh(n)!==t.name.namespaceURI)return{effect:t.name.prefix===""?n:`${t.name.prefix}:${n}`};let r=A=>x(t,o("",A,"")),a=r("dir"),l=r("orient"),i=r("spokes"),s=r("pattern"),c=r("prst"),m=r("option"),u=Si(t,"thruBlk"),f=Si(t,"isContent"),y=Si(t,"isInverted"),g=Si(t,"hasBounce"),S=Si(t,"invX"),E=Si(t,"invY");return{effect:n,...a!==null?{direction:a}:{},...l==="horz"||l==="vert"?{orientation:l}:{},...(n==="wheel"||n==="wheelReverse")&&i!==null?{spokes:Number(i)}:{},...u!==void 0?{thruBlack:u}:{},...s==="diamond"||s==="hexagon"||s==="strip"||s==="rectangle"?{pattern:s}:{},...f!==void 0?{isContent:f}:{},...y!==void 0?{isInverted:y}:{},...g!==void 0?{hasBounce:g}:{},...c!==null?{preset:c}:{},...S!==void 0?{invertX:S}:{},...E!==void 0?{invertY:E}:{},...m==="byObject"||m==="byWord"||m==="byChar"?{morphOption:m}:{}}},jP=e=>{let t=wp(e);if(!t)return null;let n=x(t,o("p14","dur",d.p14)),r=x(t,o("","spd","")),a=x(t,o("","advClick",""))?.trim()??null,l=x(t,o("","advTm",""));return{...qY(t),...r!==null?{speed:r}:{},...a!==null?{advanceOnClick:a!=="0"&&a!=="false"}:{},...l!==null?{advanceAfterMs:Number.parseInt(l,10)}:{},...n!==null?{durationMs:Number.parseInt(n,10)}:{}}},UP=(e,t)=>{let n=wp(e),r=n?p(n,Tp):null,a=jc(t,r);XP(e),$P(e,a),ce(e),ge(e)},GP=e=>{XP(e),ZP(e),ce(e),ge(e)},Tp=o("p","sndAc",d.pml),qP=o("p","stSnd",d.pml),HP=o("p","endSnd",d.pml),VP=o("p","snd",d.pml),HY=o("r","embed",d.officeDocRels),zP=o("","name",""),WP=o("","loop",""),YP=e=>{let t=wp(e),n=t?p(t,Tp):null;if(!n)return null;if(p(n,HP))return{kind:"stop"};let r=p(n,qP),a=r?p(r,VP):null;if(!r||!a)return null;let l=x(r,WP);return{kind:"play",name:x(a,zP)??"",loop:l==="1"||l==="true"}},ZP=e=>{let t=e[P],n=t.getRels(e[O]);if(n===null)return;let r=new Set;kt(e[te].root,l=>{for(let i of l.attrs)i.name.namespaceURI===d.officeDocRels&&r.add(i.value)});let a=n.items.filter(l=>l.type!==D.audio||r.has(l.id));a.length!==n.items.length&&t.setRels(e[O],{items:a})},KP=(e,t)=>{if(t?.kind==="play"&&ys(t.data)!=="wav")throw new Error("setSlideTransitionSound: a transition sound must be a WAV file");let n=wp(e);if(!n){if(t===null)return;n=jc({effect:"none"}),$P(e,n)}let r=e[te].root.children.flatMap(l=>{let i=yx(l);return i?i===l?[i]:l.children.flatMap(s=>s.kind==="element"?s.children.filter(c=>_l(c,"transition")):[]):[]}),a=null;if(t?.kind==="stop")a=h(Tp,{children:[h(HP)]});else if(t?.kind==="play"){let l=e[P],i=gx(l,"wav",gs("wav"),t.data),s=l.getRels(e[O])??pe(),c=`../media/${i.slice(i.lastIndexOf("/")+1)}`,m=s.items.find(u=>u.type===D.audio&&u.target===c)?.id;m===void 0&&(m=se(s.items.map(u=>u.id)),s.items.push({id:m,type:D.audio,target:c,targetMode:"Internal"}),l.setRels(e[O],s)),a=h(Tp,{children:[h(qP,{attrs:t.loop?[b(WP,"1")]:[],children:[h(VP,{attrs:[b(HY,m),b(zP,t.name)]})]})]})}for(let l of r){if(l.children=l.children.filter(s=>!_l(s,"sndAc")),a===null)continue;let i=l.children.findIndex(s=>_l(s,"extLst"));l.children.splice(i===-1?l.children.length:i,0,he(a))}ZP(e),ce(e),ge(e)};var nr=e=>{let t=e[P].getRels(e[O]);if(!t)return null;let n=t.items.find(r=>r.type===D.notesSlide);return n?n.target.startsWith("/")?G(n.target):V(e[O],n.target):null},VY={bg1:"lt1",tx1:"dk1",bg2:"lt2",tx2:"dk2",accent1:"accent1",accent2:"accent2",accent3:"accent3",accent4:"accent4",accent5:"accent5",accent6:"accent6",hlink:"hlink",folHlink:"folHlink"},zY=(e,t)=>{let r=e[P].getRels(t)?.items.find(a=>a.type===D.notesMaster&&a.targetMode!=="External");return r?r.target.startsWith("/")?G(r.target):V(t,r.target):null},xx=(e,t)=>{let n=e[P],r=zY(e,t),a=r?n.getPart(r):null,l=a?j(z(a.data)).root:null,i={...VY},s=l?p(l,o("p","clrMap",d.pml)):null;for(let y of s?.attrs??[])y.name.namespaceURI===""&&(i[y.name.localName]=y.value);let c=n.getPart(t),m=c?j(z(c.data)).root:null,u=m?p(m,o("p","clrMapOvr",d.pml)):null,f=u?p(u,o("a","overrideClrMapping",d.dml)):null;for(let y of f?.attrs??[])y.name.namespaceURI===""&&(i[y.name.localName]=y.value);return{theme:Vr(n,r??t),colorMap:i}},JP=(e,t)=>{let n=nr(e);if(n===null)return null;let r=t.startsWith("scheme:")?t.slice(7):t;if(!/^(?:bg[12]|tx[12]|lt[12]|dk[12]|accent[1-6]|hlink|folHlink)$/.test(r))return null;let a=xx(e,n),l=h(o("a","schemeClr",d.dml),{attrs:[b(o("","val",""),r)]});return ye(l,a.theme,a.colorMap)},sn=e=>{let t=nr(e);if(t===null)return null;let n=e[P].getPart(t);if(n===null)return null;let r=j(z(n.data)).root,a=p(r,Pe);if(!a)return null;let l=p(a,kn);if(!l)return null;for(let i of l.children){if(i.kind!=="element"||i.name.namespaceURI!==d.pml||i.name.localName!=="sp")continue;let s=p(i,o("p","nvSpPr",d.pml));if(!s)continue;let c=p(s,o("p","nvPr",d.pml));if(!c)continue;let m=p(c,o("p","ph",d.pml));if(!m||x(m,o("","type",""))!=="body")continue;let u=p(i,o("p","txBody",d.pml));if(u)return Je(u)}return null},QP=e=>{let t=nr(e);if(t===null)return[];let n=e[P].getPart(t);if(n===null)return[];let r=j(z(n.data)).root,a=p(r,Pe),l=a&&p(a,kn);if(!l)return[];let i=[],s=0;for(let c of l.children){if(c.kind!=="element"||c.name.namespaceURI!==d.pml||c.name.localName!=="sp")continue;let m=p(c,o("p","nvSpPr",d.pml)),u=m&&p(m,o("p","nvPr",d.pml)),f=u&&p(u,o("p","ph",d.pml));if(!f||x(f,o("","type",""))!=="body")continue;let y=p(c,o("p","txBody",d.pml));if(!y)return[];let g=y.children.filter(S=>S.kind==="element"&&S.name.namespaceURI===d.dml&&S.name.localName==="p");return g.forEach((S,E)=>{for(let A of S.children){if(A.kind!=="element"||A.name.namespaceURI!==d.dml)continue;if(A.name.localName==="br"){i.push({position:s,kind:"break"}),s++;continue}if(A.name.localName!=="r"&&A.name.localName!=="fld")continue;let w=A.children.filter(T=>T.kind==="element"&&T.name.namespaceURI===d.dml&&T.name.localName==="t").map(T=>mn(T)).join("");s+=w.length}E<g.length-1&&(i.push({position:s,kind:"paragraph"}),s++)}),i}return i},eR=(e,t)=>{let n=nr(e);if(n===null)return[];let r=e[P].getPart(n);if(r===null)return[];let a=j(z(r.data)).root,l=p(a,Pe),i=l&&p(l,kn);if(!i)return[];let s=o("a","p",d.dml),c=o("a","r",d.dml),m=o("a","fld",d.dml),u=o("a","br",d.dml),f=o("a","t",d.dml),y=o("a","rPr",d.dml),g=T=>T?T.children.filter(v=>v.kind==="text"||v.kind==="cdata").map(v=>v.data).join(""):"",S=[],E=t?.resolveColors?xx(e,n):null,A=0,w=[];for(let T of i.children){if(T.kind!=="element"||T.name.namespaceURI!==d.pml||T.name.localName!=="sp")continue;let v=p(T,o("p","nvSpPr",d.pml)),C=v&&p(v,o("p","nvPr",d.pml)),R=C&&p(C,o("p","ph",d.pml));if(!R||x(R,o("","type",""))!=="body")continue;let N=p(T,o("p","txBody",d.pml));if(!N)return[];for(let _ of N.children)_.kind==="element"&&_.name.namespaceURI===s.namespaceURI&&_.name.localName===s.localName&&w.push(_);break}return w.forEach((T,v)=>{for(let C of T.children)if(!(C.kind!=="element"||C.name.namespaceURI!==d.dml))if(C.name.localName===c.localName||C.name.localName===m.localName){let R=g(p(C,f)),N=p(C,y);R&&N&&S.push({start:A,end:A+R.length,format:Ht(N,E??void 0)}),A+=R.length}else C.name.localName===u.localName&&A++;v+1<w.length&&A++}),S},tR=(e,t,n)=>{let r=nr(e);if(r===null)return{};let a=e[P].getPart(r);if(a===null)return{};let l=j(z(a.data)).root,i=p(l,Pe),s=i&&p(i,kn);if(!s)return{};for(let c of s.children){if(c.kind!=="element"||c.name.namespaceURI!==d.pml||c.name.localName!=="sp")continue;let m=p(c,o("p","nvSpPr",d.pml)),u=m&&p(m,o("p","nvPr",d.pml)),f=u&&p(u,o("p","ph",d.pml));if(!f||x(f,o("","type",""))!=="body")continue;let y=p(c,o("p","txBody",d.pml));if(!y)return{};let S=y.children.filter(A=>A.kind==="element"&&A.name.namespaceURI===d.dml&&A.name.localName==="p")[t];if(!S||S.kind!=="element")return{};let E=p(S,o("a","endParaRPr",d.dml));return E?Ht(E,n?.resolveColors?xx(e,r):void 0):{}}return{}},nR=e=>{let t=[];for(let n of H(e))Ta(n)&&t.push(n);return t},rR=e=>{let t=[];for(let n of H(e))Ta(n)||t.push(n);return t},aR=e=>{let t=[];for(let n of H(e))n[ne].some(r=>mi(r))&&t.push(n);return t},lR=(e,t)=>{let n=[];for(let r of H(e))for(let a of On(r))if(a.spec?.kind===t){n.push(r);break}return n},oR=e=>{let t=[];for(let n of H(e))for(let r of On(n))if(r.spec!==null&&r.spec.series.some(a=>a.trendline!==void 0)){t.push(n);break}return t},iR=e=>{let t=[];for(let n of H(e))Cp(n).length>0&&t.push(n);return t},sR=e=>{let t=[];for(let n of H(e))n[ne].some(r=>Aa(r))&&t.push(n);return t},dR=e=>{let t=[];for(let n of H(e))n[ne].some(r=>bi(r))&&t.push(n);return t},cR=e=>{let t=[];for(let n of H(e))Wt(n).length>0&&t.push(n);return t},mR=e=>{let t=[],n=H(e);for(let r=0;r<n.length;r++)for(let a of n[r][ne])bi(a)&&t.push({slideIndex:r,shape:a});return t},pR=e=>{let t=[],n=H(e);for(let r=0;r<n.length;r++)for(let a of n[r][ne])Aa(a)&&t.push({slideIndex:r,table:a});return t},uR=e=>{let t=[],n=H(e);for(let r=0;r<n.length;r++)for(let a of On(n[r]))t.push({slideIndex:r,chart:a});return t},fR=e=>{let t=[],n=H(e);for(let r=0;r<n.length;r++)for(let a of n[r][ne]){let l=on(a);l!==null&&t.push({slideIndex:r,shape:a,url:l})}return t},hR=e=>H(e).map(t=>t[ne].filter(n=>on(n)!==null).length),gR=e=>{let t=new Set,n=[];for(let r of H(e))for(let a of r[ne]){let l=on(a);l!==null&&!t.has(l)&&(t.add(l),n.push(l))}return n},yR=e=>{let t=[];for(let n of H(e))n[ne].some(r=>on(r)!==null)&&t.push(n);return t},xR=(e,t)=>{let n=[];for(let r of H(e))for(let a of r[ne]){let l=on(a);if(l===null)continue;if(typeof t=="string"?l.includes(t):t.test(l)){n.push(r);break}}return n},SR=(e,t,n)=>{let r=0;for(let a of H(e))for(let l of a[ne])on(l)===t&&(ii(l,n),r++);return r},bR=e=>{let t=0;for(let n of H(e))for(let r of n[ne])on(r)!==null&&(ii(r,null),t++);return t},ER=e=>{let t=0;for(let n of e[ne])on(n)!==null&&(ii(n,null),t++);return t},AR=e=>{let t=[],n=H(e);for(let r=0;r<n.length;r++)for(let a of Wt(n[r]))t.push({slideIndex:r,comment:a});return t},TR=e=>{let t=[],n=H(e);for(let r=0;r<n.length;r++){let a=sn(n[r]);a!==null&&a.length>0&&t.push({slideIndex:r,notes:a})}return t},wR=e=>{let t=[];for(let n of H(e)){let r=sn(n);r!==null&&r.length>0&&t.push(n)}return t},vR=e=>{let t=sn(e);return t!==null&&t.length>0},vp=e=>{let t=sn(e);return t===null?0:Array.from(t).length},CR=(e,t="\f")=>{let n=[];for(let r of H(e))n.push(sn(r)??"");return n.join(t)},LR=e=>{let t=0;for(let n of H(e))t+=vp(n);return t},PR=e=>H(e).map(t=>vp(t)),RR=e=>{let t=[];for(let n of H(e))n[ne].length===0&&t.push(n);return t},NR=(e,t)=>{let n=sn(e),r=n===null||n.length===0?t:`${n}
|
|
28
|
+
${t}`;kl(e,r)},kl=(e,t,n={})=>{let r=e[P],a=nr(e);if(a!==null){let E=r.getPart(a);if(E===null)throw new Error(`notes rel points at missing part ${a}`);let A=j(z(E.data)),w=p(A.root,Pe);if(!w)throw new Error("notesSlide has no <p:cSld>");let T=p(w,kn);if(!T)throw new Error("notesSlide has no <p:spTree>");for(let v of T.children){if(v.kind!=="element"||v.name.namespaceURI!==d.pml||v.name.localName!=="sp")continue;let C=p(v,o("p","nvSpPr",d.pml));if(!C)continue;let R=p(C,o("p","nvPr",d.pml));if(!R)continue;let N=p(R,o("p","ph",d.pml));if(!N||x(N,o("","type",""))!=="body")continue;let _=p(v,o("p","txBody",d.pml));if(_){n.preserveFormatting||n.range||n.newlines?Oo(_,t,n.range,n.newlines??"paragraph"):Pn(_,t),E.data=le(ae(A));return}}throw new Error("notesSlide has no body placeholder to fill")}n.range&&rn("",n.range,"setSlideNotes");let l=r.parts.find(E=>E.contentType.endsWith("notesMaster+xml")),i=1,s=/^\/ppt\/notesSlides\/notesSlide(\d+)\.xml$/;for(let E of r.parts){let A=E.name.match(s);if(A?.[1]!==void 0){let w=Number.parseInt(A[1],10);Number.isFinite(w)&&w>=i&&(i=w+1)}}let c=G(`/ppt/notesSlides/notesSlide${i}.xml`),m=Eh(n.newlines==="break"?"":t);r.addPart(c,"application/vnd.openxmlformats-officedocument.presentationml.notesSlide+xml",le(ae(m)));let u=pe(),f=e[O].split("/").pop()??"slide.xml";if(u.items.push({id:"rId1",type:D.slide,target:`../slides/${f}`,targetMode:"Internal"}),l){let E=l.name.split("/").pop()??"notesMaster1.xml";u.items.push({id:"rId2",type:D.notesMaster,target:`../notesMasters/${E}`,targetMode:"Internal"})}r.setRels(c,u);let y=r.getRels(e[O])??pe(),g=y.items.map(E=>E.id),S=1;for(;g.includes(`rId${S}`);)S++;y.items.push({id:`rId${S}`,type:D.notesSlide,target:`../notesSlides/notesSlide${i}.xml`,targetMode:"Internal"}),r.setRels(e[O],y),n.newlines==="break"&&kl(e,t,n)},DR=(e,t,n={})=>{kR(e,r=>Bo(r,t,n.range))},_R=(e,t,n)=>{if(n.paragraphEnd!==void 0){if(!Number.isInteger(n.paragraphEnd)||n.paragraphEnd<0)throw new RangeError(`paragraph index out of range: ${n.paragraphEnd}`);if(nr(e)===null){if(n.paragraphEnd!==0)throw new RangeError(`paragraph index out of range: ${n.paragraphEnd}`);kl(e,"")}}let r=nr(e),a=r===null?void 0:Yr(e[P],r,"setSlideNotesFormat");kR(e,l=>n.paragraphEnd===void 0?Xo(l,t,n.range,n.reset,a):$o(l,n.paragraphEnd,t,n.reset,a))},kR=(e,t)=>{let n=nr(e);if(n===null)return;let r=e[P].getPart(n);if(r===null)throw new Error(`notes rel points at missing part ${n}`);let a=j(z(r.data)),l=p(a.root,Pe),i=l&&p(l,kn);if(!i)throw new Error("notesSlide has no <p:spTree>");for(let s of i.children){if(s.kind!=="element"||s.name.namespaceURI!==d.pml||s.name.localName!=="sp")continue;let c=p(s,o("p","nvSpPr",d.pml)),m=c&&p(c,o("p","nvPr",d.pml)),u=m&&p(m,o("p","ph",d.pml));if(!u||x(u,o("","type",""))!=="body")continue;let f=p(s,o("p","txBody",d.pml));if(!f)throw new Error("notesSlide body has no text body");t(f),r.data=le(ae(a));return}throw new Error("notesSlide has no body placeholder to format")},Sx=e=>{let t=nr(e);if(t===null)return;let n=e[P];n.removePart(t),n.removePart(_t(t));let r=n.getRels(e[O]);r!==null&&(r.items=r.items.filter(a=>a.type!==D.notesSlide),n.setRels(e[O],r))},MR=e=>{let t=0;for(let n of H(e))nr(n)!==null&&(Sx(n),t++);return t};var FR=new Set(["sp","pic","cxnSp","graphicFrame","grpSp"]),WY=new Set(["rPr","defRPr","endParaRPr"]),YY=new Set(["pPr","defPPr",...Array.from({length:9},(e,t)=>`lvl${t+1}pPr`)]),ZY=e=>{let t=(l,i)=>l&&p(l,o("a",i,d.dml)),n=l=>l&&x(l,o("","sz","")),r=(l,i)=>{let s=t(l,i);s||(s=h(o("a",i,d.dml)),i==="rPr"?l.children.unshift(s):l.children.push(s)),n(s)===null&&s.attrs.push(b(o("","sz",""),"1800"))},a=t(e,"lstStyle");for(let l of e.children){if(l.kind!=="element"||l.name.namespaceURI!==d.dml||l.name.localName!=="p")continue;let i=t(l,"pPr"),s=Number(i&&x(i,o("","lvl","")))||0,c=t(a,`lvl${s+1}pPr`)??(s===0?t(a,"defPPr"):null);if(n(t(i,"defRPr"))!==null||n(t(c,"defRPr"))!==null)continue;let m=l.children.filter(f=>f.kind==="element"&&f.name.namespaceURI===d.dml&&["r","fld","br"].includes(f.name.localName)),u=n(t(l,"endParaRPr"));for(let f of m)f===m.at(-1)&&u!==null||r(f,"rPr");r(l,"endParaRPr")}},bx=(e,t,n,r)=>{let a=(l,i,s,c=!1)=>{let{localName:m,namespaceURI:u}=l.name,f=i+(u===d.pml&&FR.has(m)?1:0),y=u===d.dml;if(y&&m==="txBody"&&s==="tc"&&ZY(l),u===d.pml&&FR.has(m)){let S=p(l,o("p","nvSpPr",d.pml)),E=S&&p(S,o("p","nvPr",d.pml));c=e.name.localName!=="sldMaster"&&!!E&&p(E,o("p","ph",d.pml))!==null}let g=S=>{for(let[E,A]of Object.entries(S))l.attrs.some(w=>w.name.namespaceURI===""&&w.name.localName===E)||l.attrs.push(b(o("",E,""),String(A)))};y&&m==="bodyPr"&&!c&&g({lIns:91440,rIns:91440,tIns:45720,bIns:45720}),y&&m==="tcPr"&&g({marL:91440,marR:91440,marT:45720,marB:45720});for(let S=0;S<l.attrs.length;S++){let E=l.attrs[S];if(E.name.namespaceURI!=="")continue;let A=E.name.localName,w,T=0;y&&s==="xfrm"&&((m==="off"||m==="chOff")&&(A==="x"||A==="y")&&(w="coordinate",m==="off"&&f===1&&(T=A==="x"?n:r)),(m==="ext"||m==="chExt")&&(A==="cx"||A==="cy")&&(w="positiveCoordinate")),y&&WY.has(m)&&(A==="sz"&&(w="fontSize"),A==="spc"&&(w="textPoint"),A==="kern"&&(w="textNonNegativePoint")),y&&YY.has(m)&&["marL","marR","indent","defTabSz"].includes(A)&&(w=A==="indent"?"textIndent":A==="defTabSz"?"coordinate32":"textMargin"),y&&m==="tab"&&A==="pos"&&(w="coordinate32"),y&&m==="spcPts"&&A==="val"&&(w="textSpacingPoint"),y&&m==="buSzPts"&&A==="val"&&(w="fontSize"),y&&m==="bodyPr"&&["lIns","rIns","tIns","bIns","spcCol"].includes(A)&&(w=A==="spcCol"?"positiveCoordinate32":"coordinate32"),y&&m==="tcPr"&&["marL","marR","marT","marB"].includes(A)&&(w="coordinate32"),y&&(m==="gridCol"&&A==="w"||m==="tr"&&A==="h")&&(w="positiveCoordinate"),y&&(m==="ln"||m.startsWith("ln")&&["lnL","lnR","lnT","lnB","lnTlToBr","lnBlToTr"].includes(m))&&A==="w"&&(w="lineWidth"),y&&["outerShdw","innerShdw","reflection"].includes(m)&&["blurRad","dist"].includes(A)&&(w="positiveCoordinate"),y&&["glow","softEdge","blur"].includes(m)&&["rad","blurRad"].includes(A)&&(w="positiveCoordinate"),w&&(l.attrs[S]=b(E.name,String(Ae(Number(E.value)*t+T,w,`setSlideSize: ${m}@${A}`))))}for(let S of l.children)S.kind==="element"&&a(S,f,m,c)};a(e,0,"")};var wa=e=>{let n=e[P].getPart(Y);if(n===null)return null;let r=j(z(n.data)).root,a=Qt(r);return a.slideSize===null?null:{width:a.slideSize.cx,height:a.slideSize.cy,...a.slideSize.type!==void 0?{type:a.slideSize.type}:{}}},BR=e=>{let t=e[P].getPart(Y);if(t===null)return 1;let r=j(z(t.data)).root.attrs.find(l=>l.name.namespaceURI===""&&l.name.localName==="firstSlideNum")?.value;if(r===void 0)return 1;let a=Number.parseInt(r,10);return Number.isSafeInteger(a)?a:1},IR=o("p","sldSz",d.pml),KY=o("","cx",""),JY=o("","cy",""),QY=o("","type",""),eZ=o("p","sldIdLst",d.pml),OR=(e,t,n={})=>{n.content!==void 0&&Z(n.content,["keep","fit"],"setSlideSize: content");let r=Ae(t.width,"slideSize","setSlideSize: width"),a=Ae(t.height,"slideSize","setSlideSize: height");t.type!==void 0&&Z(t.type,fb,"setSlideSize: type");let l=e[P],i=l.getPart(Y);if(!i)throw new Error("presentation.xml is missing");let s=j(z(i.data)),c=[];if(n.content==="fit"){let g=Qt(s.root).slideSize;if(!g||g.cx<=0||g.cy<=0)throw new Error("setSlideSize: the current slide size is unavailable");let S=Math.min(r/g.cx,a/g.cy),E=(r-g.cx*S)/2,A=(a-g.cy*S)/2;if(S!==1||E!==0||A!==0){bx(s.root,S,0,0);for(let w of l.parts){if(!/^application\/vnd\.openxmlformats-officedocument\.(presentationml\.(slide|slideLayout|slideMaster)|drawingml\.(theme|chart))\+xml$/.test(w.contentType))continue;let T=j(z(w.data));bx(T.root,S,E,A),c.push({part:w,doc:T,data:le(ae(T))})}}}let m=p(s.root,IR);if(m===null){m=h(IR);let g=p(s.root,eZ);if(g!==null){let S=s.root.children.indexOf(g);s.root.children.splice(S+1,0,m)}else s.root.children.push(m)}m.attrs=[b(KY,String(r)),b(JY,String(a))],t.type!==void 0&&m.attrs.push(b(QY,t.type));let u=le(ae(s)),f=c.length?H(e):[];for(let g of c)g.part.data=g.data;let y=new Map(c.map(g=>[g.part.name,g.doc]));for(let g of f){let S=y.get(g[O]);S&&(g[te]=S,ge(g))}i.data=u},XR={width:Qn(9144e3),height:Qn(6858e3),type:"screen4x3"},$R={width:Qn(12192e3),height:Qn(6858e3),type:"screen16x9"},jR={width:Qn(12192e3),height:Qn(762e4),type:"screen16x10"};var yd=e=>{if(e[U].kind!=="picture")return null;let t=Va(e[F]);if(t===null)return null;let n=e[X],r=n[P],a=r.getRels(n[O]);if(!a)return null;let l=a.items.find(c=>c.id===t);if(!l||l.targetMode==="External")return null;let i=l.target.startsWith("/")?G(l.target):V(n[O],l.target);return r.getPart(i)?.data??null},Pp=e=>{let t=e[U].text;return typeof t=="string"&&t.length>0},bi=e=>{if(e[U].kind==="picture")return Va(e[F])!==null;let t=p(e[F],o("p","spPr",d.pml));return t?p(t,o("a","blipFill",d.dml))!==null:!1},UR=e=>H(e).map(t=>t[ne].filter(n=>bi(n)).length),GR=e=>e[ne].filter(t=>{let n=Np(t);return n!==null&&(n.horizontal||n.vertical)}),Cp=e=>{let t=e[ne],n=[];for(let r=0;r<t.length;r++)for(let a=r+1;a<t.length;a++)Dp(t[r],t[a])&&n.push([t[r],t[a]]);return n},qR=(e,t)=>{let n=wa(t),r=[];for(let a of e[ne]){let l=dn(a);if(l!==null){if(n===null){r.push(a);continue}(l.x<0||l.y<0||l.x+l.w>n.width||l.y+l.h>n.height)&&r.push(a)}}return r},HR=(e,t)=>{let n=typeof t=="string"?a=>a===t:a=>t.test(a),r=[];for(let a of H(e)){let l=Te(a);l!==null&&n(xa(l))&&r.push(a)}return r},VR=(e,t)=>{let n=[];for(let r of H(e)){let a=Te(r);a!==null&&jm(a)===t&&n.push(r)}return n},zR=(e,t)=>{let n=[];for(let r of H(e)){let a=Te(r);a!==null&&ni(a)===t&&n.push(r)}return n},WR=e=>{let t=null;if(e[U].kind==="picture"){let n=p(e[F],o("p","blipFill",d.pml));n&&(t=p(n,o("a","blip",d.dml)))}else{let n=p(e[F],o("p","spPr",d.pml));if(n){let r=p(n,o("a","blipFill",d.dml));r&&(t=p(r,o("a","blip",d.dml)))}}return t!==null&&p(t,o("a","grayscl",d.dml))!==null},YR=e=>{let t=null;if(e[U].kind==="picture"){let l=p(e[F],o("p","blipFill",d.pml));l&&(t=p(l,o("a","blip",d.dml)))}else{let l=p(e[F],o("p","spPr",d.pml));if(l){let i=p(l,o("a","blipFill",d.dml));i&&(t=p(i,o("a","blip",d.dml)))}}if(!t)return null;let n=p(t,o("a","biLevel",d.dml));if(!n)return null;let r=x(n,o("","thresh",""));if(r===null)return null;let a=St(r,Number.NaN);return Number.isFinite(a)?a*100:null};function ZR(e,t,n){let r=null;if(t[U].kind==="picture"){let m=p(t[F],o("p","blipFill",d.pml));m&&(r=p(m,o("a","blip",d.dml)))}else{let m=p(t[F],o("p","spPr",d.pml));if(m){let u=p(m,o("a","blipFill",d.dml));u&&(r=p(u,o("a","blip",d.dml)))}}if(!r)return null;let a=p(r,o("a","duotone",d.dml));if(!a)return null;let l=Fe(e),i=[],s=[];for(let m of a.children)if(!(m.kind!=="element"||m.name.namespaceURI!==d.dml)&&(m.name.localName==="srgbClr"||m.name.localName==="scrgbClr"||m.name.localName==="hslClr"||m.name.localName==="schemeClr"||m.name.localName==="sysClr"||m.name.localName==="prstClr")){if(n?.resolveColors===!1){let u=x(m,o("","val","")),y=(m.name.localName==="schemeClr"&&u?dt(`scheme:${u}`):m.name.localName==="srgbClr"&&u?dt(`#${u}`):null)??dt(ye({...m,children:[]},null)??"");if(y){let g=Ln(m);s.push(g.length===0?y:{color:y,colorTransforms:g})}}else i.push(ye(m,l));if(i.length===2||s.length===2)break}return n?.resolveColors===!1?s.length===2?{kind:"duotone",colors:[s[0],s[1]]}:null:{firstColor:i[0]??null,secondColor:i[1]??null}}var KR=e=>{let t=e[X],n=t[P].getRels(t[O]);if(!n)return null;let r=null;if(e[U].kind==="picture"){let i=p(e[F],o("p","blipFill",d.pml));i&&(r=p(i,o("a","blip",d.dml)))}else{let i=p(e[F],o("p","spPr",d.pml));if(i){let s=p(i,o("a","blipFill",d.dml));s&&(r=p(s,o("a","blip",d.dml)))}}if(!r)return null;let a=x(r,o("r","link",d.officeDocRels));if(!a)return null;let l=n.items.find(i=>i.id===a);return!l||l.targetMode!=="External"?null:l.target},JR=e=>{let t=e[X],n=t[P].getRels(t[O]);if(!n)return null;let r=s=>{if(s===null)return null;let c=n.items.find(u=>u.id===s);return!c||c.targetMode==="External"?null:c.target.startsWith("/")?G(c.target):V(t[O],c.target)};if(e[U].kind==="picture"){let s=Va(e[F]);return r(s)}let a=p(e[F],o("p","spPr",d.pml));if(!a)return null;let l=p(a,o("a","blipFill",d.dml));if(!l)return null;let i=p(l,o("a","blip",d.dml));return i?r(x(i,o("r","embed",d.officeDocRels))):null},xd=e=>{let t=p(e[F],o("p","spPr",d.pml));if(!t)return null;let n=p(t,o("a","blipFill",d.dml));if(!n)return null;let r=p(n,o("a","blip",d.dml));if(!r)return null;let a=x(r,o("r","embed",d.officeDocRels));if(a===null)return null;let l=e[X],i=l[P],s=i.getRels(l[O]);if(!s)return null;let c=s.items.find(f=>f.id===a);if(!c||c.targetMode==="External")return null;let m=c.target.startsWith("/")?G(c.target):V(l[O],c.target);return i.getPart(m)?.data??null},QR=e=>{let t=yd(e)??xd(e);return t===null?null:ut(t)},Ml=e=>{let t=e[F],n=p(t,o("p","spPr",d.pml)),r=e[U].kind==="picture"?p(t,o("p","blipFill",d.pml)):n&&p(n,o("a","blipFill",d.dml));return r?p(r,o("a","blip",d.dml)):null},tZ=new Map(["marker","pencilGrayscale","pencilSketch","lineDrawing","chalkSketch","paintStrokes","paintBrush","glowDiffused","blur","lightScreen","watercolorSponge","filmGrain","glass","cement","texturizer","crisscrossEtching","pastelsSmooth","plasticWrap","cutout","photocopy","glowEdges"].map(e=>[`artistic${e[0].toUpperCase()}${e.slice(1)}`,e]).concat([["artisticMosiaicBubbles","mosaicBubbles"]])),nZ="{BEBA8EAE-BF5A-486C-A8C5-ECC9F3942E4B}",eN=e=>{let t=Ml(e),n=t&&p(t,o("a","extLst",d.dml));if(!n)return null;for(let r of n.children){if(r.kind!=="element"||r.name.namespaceURI!==d.dml||r.name.localName!=="ext"||x(r,o("","uri",""))?.toUpperCase()!==nZ)continue;let a=p(r,o("a14","imgProps",d.a14)),l=a&&p(a,o("a14","imgLayer",d.a14));for(let i of l?.children??[])if(!(i.kind!=="element"||i.name.namespaceURI!==d.a14||i.name.localName!=="imgEffect"))for(let s of i.children){if(s.kind!=="element"||s.name.namespaceURI!==d.a14)continue;let c=tZ.get(s.name.localName);if(c)return c}}return null},tN=e=>{let t=Ml(e);return t?Fm(t):null},nN=e=>{let t=e[F];if(e[U].kind==="picture")return p(t,o("p","blipFill",d.pml));let n=p(t,o("p","spPr",d.pml));return n?p(n,o("a","blipFill",d.dml)):null},rN=e=>{let t=nN(e);return t?km(t):null},Ex=o("a","lum",d.dml),aN=(e,t)=>{let n=Ml(e);if(n)return n;throw new Error(`${t} requires a picture or a shape with an image fill`)},lN=(e,t,n)=>{let r=p(e,Ex);r&&(r.attrs=r.attrs.filter(a=>!(a.name.namespaceURI===""&&a.name.localName===t))),n!==null&&n!==0&&(r||(r=h(Ex),Mm(e,r)),r.attrs.push(b(o("",t,""),String(Math.round(n*1e5))))),r&&r.attrs.length===0&&(e.children=e.children.filter(a=>a!==r))},oN=(e,t)=>{let n=Ml(e);if(!n)return null;let r=p(n,Ex);if(!r)return null;let a=x(r,o("",t,""));if(a===null)return null;let l=St(a,Number.NaN);return Number.isFinite(l)?l:null},iN=(e,t)=>{let n=aN(e,"setShapeImageBrightness");if(t!==null&&t!==0&&(!Number.isFinite(t)||t<-1||t>1))throw new RangeError(`brightness must be in [-1, 1], got ${t}`);lN(n,"bright",t),J(e)},sN=(e,t)=>{let n=aN(e,"setShapeImageContrast");if(t!==null&&t!==0&&(!Number.isFinite(t)||t<-1||t>1))throw new RangeError(`contrast must be in [-1, 1], got ${t}`);lN(n,"contrast",t),J(e)},dN=e=>oN(e,"contrast"),cN=e=>oN(e,"bright"),rZ=new Set(["grayscl","duotone","biLevel","lum"]),mN=e=>{e.children=e.children.filter(t=>t.kind!=="element"||t.name.namespaceURI!==d.dml||!rZ.has(t.name.localName))},Rp=e=>{let t=Ml(e);if(!t)throw new Error("resetShapeImageColorEffects requires a picture or a shape with an image fill");mN(t),J(e)},aZ=e=>{let t=typeof e=="string"?tt(e):tt(e.color);return typeof e!="string"&&e.colorTransforms!==void 0&&(t.children=lt(e.colorTransforms)),t},pN=(e,t)=>{let n=Ml(e);if(!n)throw new Error("setShapeImageRecolor requires a picture or a shape with an image fill");if(t.kind==="threshold"&&(!Number.isFinite(t.threshold)||t.threshold<0||t.threshold>100))throw new RangeError(`image recolor threshold must be in [0, 100], got ${t.threshold}`);let r=null;t.kind==="grayscale"?r=h(o("a","grayscl",d.dml)):t.kind==="threshold"?r=h(o("a","biLevel",d.dml),{attrs:[b(o("","thresh",""),String(Math.round(t.threshold*1e3)))]}):t.kind==="duotone"?r=h(o("a","duotone",d.dml),{children:t.colors.map(aZ)}):t.kind==="washout"&&(r=h(o("a","lum",d.dml),{attrs:[b(o("","bright",""),"70000"),b(o("","contrast",""),"-70000")]})),mN(n),r!==null&&Mm(n,r),J(e)},uN=(e,t)=>{let n=Ml(e);if(!n)throw new Error("setShapeImageOpacity requires a picture or a shape with an image fill");Im(n,t),J(e)},lZ=o("a","srcRect",d.dml),Ede=o("a","blip",d.dml),oZ=o("","l",""),iZ=o("","t",""),sZ=o("","r",""),dZ=o("","b",""),cZ=-2147483648,mZ=2147483647,Lp=e=>{if(e===void 0||e===0)return null;let t=Math.round(e*1e5);if(!Number.isFinite(e)||t<cZ||t>mZ)throw new RangeError(`crop fraction exceeds signed ST_Percentage bounds, got ${e}`);return String(t)},fN=(e,t)=>{let n=nN(e);if(!n)throw new Error("setShapeImageCrop requires a picture or image-filled shape");let r=[];if(t!==null){let i=Lp(t.left),s=Lp(t.top),c=Lp(t.right),m=Lp(t.bottom);i!==null&&r.push(b(oZ,i)),s!==null&&r.push(b(iZ,s)),c!==null&&r.push(b(sZ,c)),m!==null&&r.push(b(dZ,m))}if(n.children=n.children.filter(i=>!(i.kind==="element"&&i.name.namespaceURI===d.dml&&i.name.localName==="srcRect")),t===null){J(e);return}let a=h(lZ,{attrs:r}),l=n.children.findIndex(i=>i.kind==="element"&&i.name.namespaceURI===d.dml&&i.name.localName==="blip");l===-1?n.children.unshift(a):n.children.splice(l+1,0,a),J(e)};var pZ=o("p","par",d.pml),rr=o("p","cTn",d.pml),Bl=o("p","childTnLst",d.pml),wx=o("p","stCondLst",d.pml),yN=o("p","cond",d.pml),Sd=o("p","bldLst",d.pml),uZ=o("p","tn",d.pml),Ed=o("","id",""),xN=o("","fill",""),SN=o("","delay",""),_p=o("","nodeType",""),Fl=o("","grpId",""),va=o("","spid",""),fZ=o("","val",""),Ve=(e,t)=>e.name.namespaceURI===d.pml&&e.name.localName===t,bN={clickEffect:"click",withEffect:"withPrevious",afterEffect:"afterPrevious"},hZ={click:"clickEffect",withPrevious:"withEffect",afterPrevious:"afterEffect"},Bt=e=>e===null?[]:e.children.filter(t=>t.kind==="element"),gZ=new Set(["id","fill"]),kp=e=>{if(e.attrs.length>0||Bt(e).length!==1)return!1;let t=p(e,rr);if(t===null||!t.attrs.every(l=>l.name.namespaceURI===""&&gZ.has(l.name.localName))||x(t,xN)!=="hold"||!Bt(t).every(l=>Ve(l,"stCondLst")||Ve(l,"childTnLst")||Ve(l,"iterate")))return!1;let n=p(t,wx);if(n===null)return!1;let r=Bt(n),a=r[0];return r.length!==1||a===void 0||!Ve(a,"cond")||Bt(a).length>0?!1:a.attrs.every(l=>l.name.namespaceURI===""&&l.name.localName==="delay")},Mp=e=>{let t=new Set,n=r=>{if(r.name.namespaceURI===uZ.namespaceURI&&r.name.localName==="tn"){let a=x(r,fZ);a!==null&&t.add(a)}for(let a of r.children)a.kind==="element"&&n(a)};return n(e),t},Qr=e=>{let t=new Set,n=r=>{if(Ve(r,"cTn")){let a=x(r,Ed);a!==null&&t.add(a)}for(let a of r.children)a.kind==="element"&&n(a)};return n(e),t},hN=e=>{let t=p(e,rr),n=t===null?null:p(t,Bl),r=Bt(n);return r.every(a=>Ve(a,"par"))?r:null},EN=e=>{let t=null,n=r=>{if(t===null){if(Ve(r,"cTn")&&x(r,_p)==="mainSeq"){t=r;return}for(let a of r.children)a.kind==="element"&&n(a)}};return n(e),t},Fp=e=>{let t=EN(e);if(t===null)return null;let n=p(t,Bl);if(n===null)return{childTnLst:xZ(t),steps:[]};let r=Bt(n);if(!r.every(s=>Ve(s,"par")))return null;let a=Mp(e),l=s=>kp(s)&&!a.has(x(p(s,rr),Ed)??""),i=[];for(let[s,c]of r.entries()){if(!l(c))return null;let m=hN(c);if(m===null||m.length===0)return null;let u=[];for(let y of m){if(!l(y))return null;let g=hN(y);if(g===null||g.length===0)return null;let S=[];for(let E of g){let A=p(E,rr);if(A===null)return null;let w=bN[x(A,_p)??""];if(w===void 0)return null;S.push({par:E,cTn:A,start:w})}u.push(S)}let f=u[0][0].start;if(s>0&&f!=="click"||bd(c)!==(f==="click"?"indefinite":"0"))return null;for(let[y,g]of m.entries()){let S=y===0?"0":yZ(Io(m[y-1]));if(S===null||bd(g)!==S||y>0&&u[y][0].start!=="afterPrevious")return null;i.push(...u[y])}}return{childTnLst:n,steps:i}},bd=e=>{let t=p(e,rr),n=t===null?null:p(t,wx),r=n===null?null:p(n,yN);return r===null?null:x(r,SN)},yZ=e=>e===null?null:String(e),xZ=e=>{let t=h(Bl);return e.children.push(t),t},vx=e=>{let t=0,n=r=>{if(Ve(r,"cTn")){let a=x(r,Ed);a!==null&&/^\d+$/.test(a)&&(t=Math.max(t,Number(a)))}for(let a of r.children)a.kind==="element"&&n(a)};return n(e),t},Ad=e=>({next:vx(e)+1}),Ax=(e,t)=>h(pZ,{children:[h(rr,{attrs:[b(Ed,String(e)),b(xN,"hold")],children:[h(wx,{children:[h(yN,{attrs:[b(SN,t)]})]}),h(Bl)]})]}),Tx=(e,t)=>{let n=p(e,rr);p(n,Bl).children.push(t)},SZ=(e,t)=>{let n=hZ[t],r=e.attrs.some(a=>a.name.namespaceURI===""&&a.name.localName==="nodeType");e.attrs=r?e.attrs.map(a=>a.name.namespaceURI===""&&a.name.localName==="nodeType"?{...a,value:n}:a):[...e.attrs,b(_p,n)]},Td=(e,t,n,r)=>{let a=[],l=null,i=null;for(let s of n){if(l===null||s.start==="click")l=Ax(r.next++,s.start==="click"?"indefinite":"0"),i=Ax(r.next++,"0"),Tx(l,i),a.push(l);else if(s.start==="afterPrevious"){let c=Io(i);if(c===null)return!1;i=Ax(r.next++,String(c)),Tx(l,i)}SZ(s.cTn,s.start),Tx(i,s.par)}if(t.childTnLst.children=a,a.length===0){let s=EN(e);s.children=s.children.filter(m=>m!==t.childTnLst);let c=nn(e);c!==null&&(c.children=c.children.filter(m=>m.kind!=="element"||p(m,rr)!==s))}return!0},AN=(e,t)=>{let n=r=>{if(Ve(r,"cTn")){let a=x(r,Ed);a!==null&&/^\d+$/.test(a)&&(r.attrs=r.attrs.map(l=>l.name.namespaceURI===""&&l.name.localName==="id"?{...l,value:String(Number(a)+t)}:l))}for(let a of r.children)a.kind==="element"&&n(a)};n(e)},Il=(e,t)=>`${e??""}|${t??""}`,bZ=e=>{let t=new Set,n=(r,a)=>{let i=(Ve(r,"cTn")?x(r,Fl):null)??a;Ve(r,"spTgt")&&t.add(Il(x(r,va),i));for(let s of r.children)s.kind==="element"&&n(s,i)};return n(e,null),t},Cx=(e,t)=>{let n=p(e,Sd);if(n===null||t.size===0)return;let r=bZ(e);n.children=n.children.filter(a=>{if(a.kind!=="element"||!Ve(a,"bldP"))return!0;let l=Il(x(a,va),x(a,Fl));return!t.has(l)||r.has(l)}),Bt(n).length===0&&(e.children=e.children.filter(a=>a!==n))},wd=(e,t)=>Il(String(t),x(e,Fl)),TN=(e,t,n,r,a)=>{let l=p(e,Sd);if(l===null){l=h(Sd);let m=p(e,o("p","extLst",d.pml));m===null?e.children.push(l):e.children.splice(e.children.indexOf(m),0,l)}let i=Il(String(t),n),s=Bt(l).find(m=>Ve(m,"bldP")&&Il(x(m,va),x(m,Fl))===i);s===void 0&&(s=h(o("p","bldP",d.pml),{attrs:[b(va,String(t)),b(Fl,n)]}),l.children.push(s));let c=s.attrs.filter(m=>!(m.name.namespaceURI===""&&(m.name.localName==="build"||m.name.localName==="animBg")));r==="byParagraph"?c.push(b(o("","build",""),"p")):r==="allAtOnce"?c.push(b(o("","build",""),"allAtOnce")):a&&c.push(b(o("","animBg",""),"1")),s.attrs=c},wN=e=>{let t=-1,n=r=>{let a=x(r,Fl),l=a===null?Number.NaN:Number.parseInt(a,10);Number.isFinite(l)&&l>t&&(t=l);for(let i of r.children)i.kind==="element"&&n(i)};return n(e),t},EZ=new Set(["noFill","solidFill","gradFill","blipFill","pattFill","grpFill"]),gN=e=>e?.children.find(t=>t.kind==="element"&&t.name.namespaceURI===d.dml&&EZ.has(t.name.localName)),Ip=e=>{if(!Ve(e,"sp"))return!1;let t=p(e,o("p","spPr",d.pml)),n=p(e,o("p","style",d.pml)),r=i=>{let s=n===null?null:p(n,o("a",i,d.dml)),c=s===null?null:x(s,o("","idx",""));return c!==null&&c!=="0"},a=gN(t);if(a===void 0?r("fillRef"):a.name.localName!=="noFill")return!0;let l=gN(t===null?null:p(t,o("a","ln",d.dml)));return l===void 0?r("lnRef"):l.name.localName!=="noFill"},AZ=new Set(["id","presetID","presetClass","presetSubtype","accel","decel","fill","grpId","nodeType"]),TZ=new Set(["set","anim"]),Lx=(e,t)=>{if(e.attrs.length>0||Bt(e).length!==1)return!1;let n=p(e,rr);if(n===null||!n.attrs.every(l=>l.name.namespaceURI===""&&AZ.has(l.name.localName))||!Bt(n).every(l=>Ve(l,"stCondLst")||Ve(l,"childTnLst")||Ve(l,"iterate")))return!1;let r=t===null?TZ:pg(t),a=p(n,Bl);return Bt(a).every(l=>l.name.namespaceURI===d.pml&&r.has(l.name.localName))},vN=(e,t)=>{e.children=e.children.filter(n=>{if(n.kind!=="element"||!Ve(n,"par"))return!0;let r=p(n,rr);return r===null||!t.has(r)});for(let n of e.children)n.kind==="element"&&vN(n,t)},CN=e=>{for(let t of e.children)t.kind==="element"&&CN(t);e.children=e.children.filter(t=>{if(t.kind!=="element")return!0;if(Ve(t,"childTnLst"))return Bt(t).length>0;if(!Ve(t,"par")&&!Ve(t,"seq"))return!0;let n=p(t,rr);return n!==null&&p(n,Bl)!==null})},LN=(e,t,n,r)=>{let a=p(e,Sd),l=a!==null&&Bt(a).some(s=>Ve(s,"bldP")&&t.has(Number(x(s,va))));if(n.size===0&&!l)return!1;let i=Fp(e);if(i!==null){let s=i.steps.filter(c=>!n.has(c.cTn));if(!Td(e,i,s,Ad(e)))throw new Error(`${r}: an animation that is staying starts when one being removed ends, and this library cannot work out when the effect before it now finishes. Remove that animation first.`)}return vN(e,n),CN(e),a!==null&&(a.children=a.children.filter(s=>!(s.kind==="element"&&Ve(s,"bldP")&&t.has(Number(x(s,va))))),Bt(a).length===0&&(e.children=e.children.filter(s=>s!==a))),!0},Px=e=>{let t=nn(e);return t===null||Bt(t).length===0},Rx=e=>bN[x(e,_p)??""]??null,PN=e=>{let t=new Set,n=r=>{if(Ve(r,"spTgt")){let a=x(r,va);a!==null&&t.add(a)}for(let a of r.children)a.kind==="element"&&n(a)};return n(e),t},RN=(e,t)=>{let n=r=>{Ve(r,"spTgt")&&(r.attrs=r.attrs.map(a=>a.name.namespaceURI===""&&a.name.localName==="spid"?{...a,value:t.get(a.value)??a.value}:a));for(let a of r.children)a.kind==="element"&&n(a)};n(e)},NN=e=>{let t=new Map,n=p(e,Sd);if(n===null)return t;for(let r of Bt(n))Ve(r,"bldP")&&t.set(Il(x(r,va),x(r,Fl)),r);return t},DN=(e,t)=>Il(e,t);var Bp=o("","id",""),Dx=o("","grpId",""),wZ=e=>{e[te].root.children=e[te].root.children.filter(t=>!(t.kind==="element"&&t.name.namespaceURI===d.pml&&t.name.localName==="timing"))},_x=e=>e[te].root.children.find(t=>t.kind==="element"&&t.name.namespaceURI===d.pml&&t.name.localName==="timing")??null,BN=e=>{let t=!1,n=[];for(let r of e.children){if(r.kind!=="element")continue;let a=r.name.localName,l=r.name.namespaceURI===d.pml&&(a==="video"||a==="audio"),i=r.name.namespaceURI===d.pml&&["tnLst","childTnLst","subTnLst","par","seq","excl","cTn"].includes(a),s=r.name.namespaceURI===d.pml&&(a==="bldLst"||a==="set"||a==="anim"||a==="animClr"||a==="animEffect"||a==="animMotion"||a==="animRot"||a==="animScale"||a==="cmd");if(l){t=!0,n.push(he(r));continue}if(!s){if(i){let c=BN(r);c!==null&&(t=!0,n.push(c));continue}n.push(he(r))}}return t?h(e.name,{attrs:e.attrs.map(r=>b(r.name,r.value)),prefixDecls:new Map(e.prefixDecls),children:n}):null},vZ=e=>{let t=Qr(e),n=new Set;Fx(e,n);let r=[...n].find(a=>!t.has(a));if(r!==void 0)throw new Error(`clearSlideAnimations: retained media timing references removed time node ${r}`)},ON=(e,t)=>{e[te].root.children.push(t)},La=(e,t)=>{if(t(e))return e;for(let n of e.children)if(n.kind==="element"){let r=La(n,t);if(r)return r}return null},Yt=(e,t)=>e.name.namespaceURI===d.pml&&e.name.localName===t,XN=(e,t)=>{let n=r=>{if(Yt(r,"cTn")){let a=x(r,Bp),l=a===null?Number.NaN:Number.parseInt(a,10);Number.isFinite(l)&&(r.attrs=r.attrs.map(i=>i.name.namespaceURI===""&&i.name.localName==="id"?{...i,value:String(l+t)}:i))}for(let a of r.children)a.kind==="element"&&n(a)};n(e)},Nx=(e,t)=>{let n=r=>{if(Yt(r,"cTn")){let a=x(r,Bp),l=String(++t.maxCTnId);r.attrs=a===null?[b(Bp,l),...r.attrs]:r.attrs.map(i=>i.name.namespaceURI===""&&i.name.localName==="id"?{...i,value:l}:i)}for(let a of r.children)a.kind==="element"&&n(a)};n(e)},$N=e=>{let t=-1,n=r=>{let a=x(r,o("","grpId",""));if(a!==null){let l=Number.parseInt(a,10);Number.isFinite(l)&&l>t&&(t=l)}for(let l of r.children)l.kind==="element"&&n(l)};return n(e),t},vd=(e,t)=>{e.attrs=e.attrs.map(n=>n.name.namespaceURI===""&&n.name.localName==="grpId"?{...n,value:t}:n)},kx=e=>Yt(e,"cTn")&&x(e,o("","nodeType",""))==="mainSeq",Ai=o("p","childTnLst",d.pml),Ei=o("p","cTn",d.pml),jN=e=>{let t=p(e,Ai);return t===null?[]:t.children.filter(n=>n.kind==="element"&&Yt(n,"par"))},Ca=e=>{let t=p(e,Ei);return t===null?[]:jN(t)},_N=(e,t)=>{let n=p(e,Ei),r=n===null?null:p(n,Ai);return r===null?!1:(r.children.push(t),!0)},Cd=e=>{let t=La(e,kx),n=t===null?null:p(t,Ai);if(t===null||n===null)return null;let r=jN(t).at(-1);return{timing:e,mainSeqChildTnLst:n,maxCTnId:Is(e),lastStop:r,lastGroup:r===void 0?void 0:Ca(r).at(-1),bldLst:La(e,a=>Yt(a,"bldLst"))}},CZ=(e,t)=>{let n=p(e,o("p","extLst",d.pml));n===null?e.children.push(t):e.children.splice(e.children.indexOf(n),0,t)},Mx=(e,t,n)=>{if(n!==null)return n.children.push(t),n;let r=h(o("p","bldLst",d.pml),{children:[t]});return CZ(e,r),r},UN=e=>{let t=La(e,kx),r=(t===null?null:p(t,Ai))?.children.find(l=>l.kind==="element"&&Yt(l,"par")),a=La(e,l=>Yt(l,"bldP"));return r===void 0?null:{par:r,bldP:a,cTn:La(r,l=>x(l,o("","presetID",""))!==null)}},LZ=(e,t,n,r)=>{let a=nn(e),l=nn(t)?.children.find(i=>i.kind==="element"&&Yt(i,"seq"));return!a||!l?null:(XN(l,Is(e)-1),a.children.unshift(l),n.cTn&&vd(n.cTn,r.grpId),r.addBuild&&n.bldP!==null&&(vd(n.bldP,r.grpId),Mx(e,n.bldP,La(e,i=>Yt(i,"bldLst")))),Cd(e))},GN=(e,t,n,r)=>{if(n==="click"||e.lastStop===void 0)Nx(t.par,e),e.mainSeqChildTnLst.children.push(t.par),e.lastStop=t.par,e.lastGroup=Ca(t.par).at(-1);else if(n==="afterPrevious"){let a=Ca(t.par)[0];if(a===void 0||e.lastGroup===void 0)return!1;let l=Io(e.lastGroup);if(l===null)throw new Error('setShapeAnimation: cannot start an effect after one whose length this library cannot measure. The effect before it runs indefinitely, states no duration, repeats, runs letter by letter, or starts from another node rather than at a fixed offset. Use start: "click" or "withPrevious".');if(Nx(a,e),!NT(a,l)||!_N(e.lastStop,a))return!1;e.lastGroup=a}else{let a=Ca(Ca(t.par)[0]??t.par)[0];if(a===void 0||e.lastGroup===void 0||(Nx(a,e),!_N(e.lastGroup,a)))return!1}return t.cTn&&vd(t.cTn,r.grpId),r.addBuild&&t.bldP!==null&&(vd(t.bldP,r.grpId),e.bldLst=Mx(e.timing,t.bldP,e.bldLst)),!0},PZ=(e,t,n,r,a)=>{let l=e===null?null:he(e),i=l===null?null:Cd(l),s=null;for(let[c,m]of r.entries()){let u=n.build==="allAtOnce"&&c>0?"withPrevious":n.start??"click",f=ol(t,n,{paragraph:m,build:n.build??"asOneObject",background:a,start:u});if(l===null){if(l=f,i=Cd(l),i===null)return null;s="0";continue}let y=UN(f);if(y===null)return null;let g={grpId:s??String($N(l)+1),addBuild:s===null};if(i===null){if(i=LZ(l,f,y,g),i===null)return null}else if(!GN(i,y,u,g))return null;s=g.grpId}return l},kN=["asOneObject","allAtOnce","byParagraph"],RZ=(e,t)=>{let n=t.build??"asOneObject";if(!kN.includes(n))throw new RangeError(`setShapeAnimation: build ${JSON.stringify(n)} is not one of ${kN.join(", ")}.`);if(n==="asOneObject")return[null];if(Lo(t.effect)==="none")throw new RangeError(`setShapeAnimation: ${JSON.stringify(t.effect)} animates the shape itself, so it has no text build. Leave build out.`);let r=Op(e);if(r===0)throw new Error(`setShapeAnimation: build ${JSON.stringify(n)} needs a shape with text. This shape has no paragraphs to build, so animate it as one object instead.`);return Array.from({length:r},(a,l)=>l)},qN=(e,t)=>{let n=e[X],r=e[U].id,a=_x(n),l=PZ(a,r,t,RZ(e,t),Ip(e[F]));if(l===null)throw new Error("setShapeAnimation: the slide already has an animation timing tree this single-effect API cannot safely extend. Call clearSlideAnimations(slide) first to reset it.");let i=n[te].root.children;a===null?ON(n,l):i[i.indexOf(a)]=l,ce(n),ge(n)},HN=e=>VN(e[X]).get(e[U].id)??null,NZ=e=>{let t=x(e,o("","presetID","")),n=x(e,o("","presetClass",""));return t!==null&&t!==""&&n!==null&&n!==""},VN=e=>{let t=new Map,n=cl(e);if(n===null)return t;let r=p(n,o("p","bldLst",d.pml)),a=new Set(r===null?[]:Q(r,o("p","bldP",d.pml)).map(l=>x(l,o("","spid",""))));for(let{step:l,cTn:i}of Bs(e)){if(!NZ(i))continue;let s=x(i,Dx)!==null;for(let c of l.targetShapeIds)!t.has(c)&&(!s||a.has(String(c)))&&t.set(c,l.effect)}return t},zN=e=>Bs(e).map(t=>t.step),WN=e=>{let t=VN(e);return e[ne].filter(n=>t.get(n[U].id)!=null)},YN=e=>{let t=_x(e),n=t===null?null:BN(t);if(t!==null&&n!==null){vZ(n);let r=e[te].root;r.children[r.children.indexOf(t)]=n}else wZ(e);ce(e),ge(e)},Pa="copyShape: ",DZ=o("","val",""),_Z=o("","spid",""),kZ=e=>{let t=new Map,n=new Map,r=(a,l)=>{let i=l;if(Yt(a,"par")){let s=p(a,Ei);s!==null&&t.set(s,a),l!==null&&n.set(a,l),i=a}for(let s of a.children)s.kind==="element"&&r(s,i)};return r(e,null),{parOf:t,parentOf:n}},MZ=(e,t)=>{let{parOf:n,parentOf:r}=kZ(e),a=new Map,l=[];for(let i of ml(e)){let s=i.step.targetShapeIds.map(String);if(!s.some(u=>t.has(u)))continue;if(!s.every(u=>t.has(u)))throw new Error(`${Pa}this shape shares an animation with a shape that is not being copied, so the copy cannot be given one of its own. Copy the shapes together, or split the effect first.`);if(i.step.sequence!=="mainSeq")throw new Error(`${Pa}this shape is animated by an interactive sequence, which is bound to the click that triggers it and cannot be reproduced for the copy. Remove that animation first.`);let c=n.get(i.cTn),m=Rx(i.cTn);if(c===void 0||m===null)throw new Error(`${Pa}this shape has an animation whose start condition is not one this library models, so the copy could not be given the same one. Remove it from the original first.`);IZ(c,r,a),l.push({par:c,start:m,spids:s,grpId:x(i.cTn,Dx)})}return l},FZ=e=>{if(!kp(e))return null;let t=Ca(e),n=t[0],r=n===void 0?void 0:Ca(n)[0],a=r===void 0?null:p(r,Ei),l=a===null?null:Rx(a);if(l===null||bd(e)!==(l==="click"?"indefinite":"0"))return null;let i=new Set,s=0;for(let c of t)s!==null&&kp(c)&&bd(c)===String(s)&&i.add(c),s=Io(c);return i},IZ=(e,t,n)=>{let r=t.get(e),a=r===void 0?void 0:t.get(r);if(r===void 0||a===void 0)throw MN();let l=n.get(a);if(l===void 0&&(l=FZ(a),n.set(a,l)),l===null||!l.has(r))throw MN()},MN=()=>new Error(`${Pa}this shape's animation is held in a click stop or group that does more than say when it starts, and the copy would lose that. Remove it from the original first, or give the copy an animation of its own with setShapeAnimation.`),FN=e=>{let t=[],n=r=>{Yt(r,"cTn")&&t.push(x(r,Bp));for(let a of r.children)a.kind==="element"&&n(a)};return n(e),t},Fx=(e,t)=>{if(Yt(e,"tn")){let n=x(e,DZ);n!==null&&t.add(n)}for(let n of e.children)n.kind==="element"&&Fx(n,t)},ZN=(e,t)=>{Yt(e,"tn")&&(e.attrs=e.attrs.map(n=>n.name.namespaceURI===""&&n.name.localName==="val"?{...n,value:t.get(n.value)??n.value}:n));for(let n of e.children)n.kind==="element"&&ZN(n,t)},BZ=e=>{let t=new Set;for(let a of e)for(let l of Qr(a.par))t.add(l);let n=new Set;for(let a of e)Fx(a.par,n);let r=[...n].find(a=>!t.has(a));if(r!==void 0)throw new Error(`${Pa}this shape has an animation timed against another element of the slide (<p:tn val="${r}">), and the copy would either still wait on the original or wait on nothing. Remove it from the original first.`)},KN=()=>{let e=ol(1,{effect:"appear"}),t=La(e,kx),n=t===null?null:p(t,Ai);if(n===null)throw new Error(`${Pa}post-condition failed: no main sequence`);return n.children=[],e.children=e.children.filter(r=>!(r.kind==="element"&&Yt(r,"bldLst"))),e},OZ=e=>{let t=nn(e),n=nn(KN())?.children.find(r=>r.kind==="element"&&Yt(r,"seq"));return!t||!n?null:(XN(n,Is(e)-1),t.children.unshift(n),Cd(e))},XZ=(e,t,n,r)=>{let a=UN(ol(Number(e),{effect:"appear",start:t})),l=a===null?void 0:Ca(a.par)[0],i=l===void 0?null:p(l,Ei),s=i===null?null:p(i,Ai),c=p(n,Ei);return a===null||s===null||c===null?null:(s.children=[n],{par:a.par,bldP:r,cTn:c})},JN=e=>h(o("p","bldP",d.pml),{attrs:[b(_Z,e),b(Dx,"0")]}),$Z=(e,t,n)=>e.spids.map(r=>{let a=t.get(r),l=n.get(DN(r,e.grpId));if(l===void 0)return JN(a);let i=he(l);return i.attrs=i.attrs.map(s=>s.name.namespaceURI===""&&s.name.localName==="spid"?{...s,value:a}:s),i}),IN=()=>{},QN=(e,t,n)=>{let r=cl(e);if(r===null||n.size===0)return IN;let a=MZ(r,new Set(n.keys()));if(a.length===0)return IN;BZ(a);let l=NN(r),i=_x(t),s=i===null?KN():he(i),c=Cd(s)??OZ(s);if(c===null)throw new Error(`${Pa}the target slide has an animation timing tree this library cannot safely extend, so the copy's animations have nowhere to go. Call clearSlideAnimations on it first.`);let m=$N(s)+1,u=new Map,f=new Map,y=[];for(let g of a){let S=he(g.par);RN(S,n),y.push(S);let E=FN(S),A=`${g.spids.join(",")}|${g.grpId??""}`,w=u.get(A),T=w??String(m++),v=w===void 0?$Z(g,n,l):[],C=n.get(g.spids[0]),R=XZ(C,g.start,S,v[0]??JN(C));if(!(R!==null&&GN(c,R,g.start,{grpId:T,addBuild:w===void 0})))throw new Error(`${Pa}the target slide has an animation timing tree this library cannot safely extend, so the copy's animations have nowhere to go. Call clearSlideAnimations on it first.`);let _=FN(S);for(let[k,M]of E.entries()){let I=_[k];M!==null&&I!=null&&f.set(M,I)}for(let k of v.slice(1))vd(k,T),c.bldLst=Mx(c.timing,k,c.bldLst);u.set(A,T)}for(let g of y)ZN(g,f);return()=>{let g=t[te].root.children;i===null?ON(t,s):g[g.indexOf(i)]=s}};var Ra=e=>{let t=Lt(e,"title")??Lt(e,"ctrTitle");return t===null?null:t[U].text??null},eD=e=>{let t=Lt(e,"body");return t===null?null:t[U].text??null},Ti=(e,t)=>{let n=Lt(e,"title")??Lt(e,"ctrTitle");if(n===null)throw new Error("setSlideTitle: slide has no title / ctrTitle placeholder");wi(n,t)},tD=(e,t)=>{for(let[n,r]of Object.entries(t)){let a=n==="title"?Lt(e,"title")??Lt(e,"ctrTitle"):Lt(e,n);a!==null&&wi(a,r)}},Xp=(e,t)=>{let n=Lt(e,"body");if(n===null)throw new Error("setSlideBody: slide has no body placeholder");wi(n,t)};var jZ=o("p","txBody",d.pml),UZ=o("a","p",d.dml),GZ=o("a","r",d.dml),Tl=o("a","rPr",d.dml),$p=o("a","t",d.dml),qZ=o("a","endParaRPr",d.dml),jp=e=>e.children.filter(t=>t.kind==="element"&&t.name.namespaceURI===UZ.namespaceURI&&t.name.localName==="p"),ap=e=>e.children.filter(t=>t.kind==="element"&&t.name.namespaceURI===GZ.namespaceURI&&t.name.localName==="r"),lp=e=>{if(!(qe in e))return ht(e);let t=p(e[qe],o("a","txBody",d.dml));if(!t)throw new Error("table cell has no <a:txBody>");return t},Qe=(e,t)=>{let n=lp(e),r=jp(n),a=r[t];if(!a)throw new RangeError(`paragraph index ${t} out of range (have ${r.length})`);return a},Er=(e,t,n)=>{let r=Qe(e,t),a=ap(r),l=a[n];if(!l)throw new RangeError(`run index ${n} out of range in paragraph ${t} (have ${a.length})`);return l},AC=e=>{let t=p(e,Tl);if(t!==null)return t;let n=h(Tl);return e.children.unshift(n),n},HZ=e=>{let t=p(e,$p);if(t===null)return"";let n="";for(let r of t.children)(r.kind==="text"||r.kind==="cdata")&&(n+=r.data);return n},VZ=(e,t)=>{let n=p(e,$p);n===null&&(n=h($p),e.children.push(n)),n.children=[{kind:"text",data:t}]},Op=e=>{e[U].kind!=="shape"&&ht(e);let t=p(e[F],o("p","txBody",d.pml));return t?jp(t).length:0};function nD(e,t){return t===void 0?jp(ht(e)).map(yp):yp(Qe(e,t))}var rD=(e,t)=>ax(Qe(e,t)),ax=e=>{let t=p(e,qZ);return t===null?null:Ht(t)},yp=e=>{let t=[],n=a=>{let l=p(a,$p);if(!l)return"";let i="";for(let s of l.children)(s.kind==="text"||s.kind==="cdata")&&(i+=s.data);return i},r=a=>{let l=p(a,Tl);return l?Ht(l):null};for(let a of e.children)if(!(a.kind!=="element"||a.name.namespaceURI!==d.dml))if(a.name.localName==="r")t.push({kind:"r",text:n(a),format:r(a)});else if(a.name.localName==="fld"){let l=x(a,o("","type",""));t.push({kind:"fld",text:n(a),format:r(a),type:l})}else a.name.localName==="br"&&t.push({kind:"br",format:r(a)});return t},aD=(e,t)=>ap(Qe(e,t)).length,lD=(e,t,n)=>HZ(Er(e,t,n)),oD=(e,t,n,r,a)=>{let l=Er(e,t,n),i=p(l,o("a","rPr",d.dml));if(i===null&&(i=h(o("a","rPr",d.dml)),l.children.unshift(i)),r!==null){let s=e[X],c=s[P],m=c.getRels(s[O])??pe(),u=m.items.find(y=>y.type===D.hyperlink&&y.target===r&&y.targetMode==="External"),f;u?f=u.id:(f=se(m.items.map(y=>y.id)),m.items.push({id:f,type:D.hyperlink,target:r,targetMode:"External"}),c.setRels(s[O],m)),io(i,f,a)}else io(i,null);J(e),Mo(e[X])},iD=(e,t,n)=>{let r=Er(e,t,n),a=p(r,o("a","rPr",d.dml));if(!a)return null;let l=p(a,o("a","hlinkClick",d.dml));if(!l)return null;let i=x(l,o("r","id",d.officeDocRels));if(!i)return null;let s=e[X],c=s[P].getRels(s[O]);if(!c)return null;let m=c.items.find(u=>u.id===i);return m?.type===D.hyperlink&&m.targetMode==="External"?m.target:null},sD=e=>{if(e[U].kind==="shape"){let a=p(e[F],jZ);if(a){for(let l of a.children)if(!(l.kind!=="element"||l.name.namespaceURI!==d.dml||l.name.localName!=="p"))for(let i of l.children){if(i.kind!=="element"||i.name.namespaceURI!==d.dml||i.name.localName!=="r")continue;let s=p(i,o("a","rPr",d.dml));if(!s)continue;let c=p(s,o("a","hlinkClick",d.dml));if(!c)continue;let m=x(c,o("","tooltip",""));if(m!==null)return m}}}let t=In(e);if(!t)return null;let n=p(t,xm);return n?x(n,o("","tooltip",""))??null:null},dD=(e,t,n)=>{let r=Er(e,t,n),a=p(r,o("a","rPr",d.dml));if(!a)return null;let l=p(a,o("a","hlinkClick",d.dml));return l?x(l,o("","tooltip",""))??null:null},cD=(e,t,n)=>{let r=Er(e,t,n),a=p(r,o("a","rPr",d.dml));if(!a)return null;let l=p(a,o("a","hlinkClick",d.dml));return l?Xs(e[X],l):null},Vt=o("a","pPr",d.dml),si=o("","lvl",""),mD=o("","algn",""),Ol=e=>{let t=p(e,Vt);if(t!==null)return t;let n=h(Vt);return e.children.unshift(n),n},pD=(e,t,n)=>{let r=ia(n,"setParagraphAlignment"),a=Qe(e,t),l=Ol(a);l.attrs=l.attrs.filter(i=>i.name.localName!=="algn"),l.attrs.push(b(mD,r)),J(Le in e?e[Le]:e)},uD=(e,t,n)=>{if(typeof n=="number"){if(!Number.isInteger(n)||n<0||n>8)throw new RangeError(`paragraph level must be an integer in [0, 8], got ${n}`)}else if(!Number.isSafeInteger(n.offset))throw new RangeError("paragraph level offset must be a safe integer");let r=fD(e,t),a=!1;for(let l of r){let i=Ix(l),s=typeof n=="number"?n:Math.max(0,Math.min(8,i+n.offset));if(i===s)continue;let c=Ol(l);c.attrs=c.attrs.filter(m=>m.name.localName!=="lvl"),s>0&&c.attrs.push(b(si,String(s))),pf(c,i,s),a=!0}a&&J(Le in e?e[Le]:e)};function fD(e,t){if(typeof t=="number")return[Qe(e,t)];let n=lp(e);rn(Je(n),t,"paragraph level");let r=0;return jp(n).filter(a=>{let l=r+aa(a).length,i=t.start===t.end?t.start>=r&&t.start<=l:t.start<l+1&&t.end>r;return r=l+1,i})}var hD=(e,t)=>{let n=Qe(e,t),r=p(n,Vt);return r===null?null:rs(x(r,mD))};function gD(e,t){let n=fD(e,t);return typeof t=="number"?Ix(n[0]):n.map(Ix)}function Ix(e){let t=p(e,Vt);if(t===null)return 0;let n=x(t,si);if(n===null)return 0;let r=Number.parseInt(n,10);return Number.isFinite(r)?r:0}var zZ={lnSpc:0,spcBef:1,spcAft:2,buClrTx:3,buClr:3,buSzTx:4,buSzPct:4,buSzPts:4,buFontTx:5,buFont:5,buNone:6,buAutoNum:6,buChar:6,tabLst:7,defRPr:8,extLst:9},Bx=e=>e.name.namespaceURI===d.dml?zZ[e.name.localName]??99:99,yD=(e,t,n)=>{let r=Qe(e,t),a=Ol(r),l=(i,s)=>{if(s===void 0||(a.children=a.children.filter(m=>!(m.kind==="element"&&m.name.namespaceURI===d.dml&&m.name.localName===i)),s===null))return;if(!Number.isFinite(s)||s<0)throw new RangeError(`paragraph ${i} must be a non-negative number, got ${s}`);let c=h(o("a",i,d.dml),{children:[h(o("a","spcPts",d.dml),{attrs:[b(o("","val",""),String(Math.round(s*100)))]})]});$e(a,c,Bx)};l("spcBef",n.beforePts),l("spcAft",n.afterPts),J(Le in e?e[Le]:e)},xD=(e,t)=>{let n=Qe(e,t),r=p(n,Vt);if(!r)return{beforePts:null,afterPts:null};let a=l=>{let i=p(r,o("a",l,d.dml));if(!i)return null;let s=p(i,o("a","spcPts",d.dml));if(!s)return null;let c=x(s,o("","val",""));if(c===null)return null;let m=Number.parseInt(c,10);return Number.isFinite(m)?m/100:null};return{beforePts:a("spcBef"),afterPts:a("spcAft")}},SD=(e,t)=>{let n=Qe(e,t),r=p(n,Vt);if(!r)return{leftEmu:null,rightEmu:null,firstLineEmu:null};let a=l=>{let i=x(r,o("",l,""));if(i===null)return null;let s=Number.parseInt(i,10);return Number.isFinite(s)?s:null};return{leftEmu:a("marL"),rightEmu:a("marR"),firstLineEmu:a("indent")}},bD=(e,t,n)=>{let r=Qe(e,t),l=[["marL",n.leftEmu,"textMargin"],["marR",n.rightEmu,"textMargin"],["indent",n.firstLineEmu,"textIndent"]].map(([s,c,m])=>({name:s,value:c==null?c:Ae(c,m,`paragraph ${s}`)}));if(l.every(({value:s})=>s===void 0))return;let i=Ol(r);for(let{name:s,value:c}of l)c!==void 0&&(i.attrs=i.attrs.filter(m=>!(m.name.namespaceURI===""&&m.name.localName===s)),c!==null&&i.attrs.push(b(o("",s,""),String(c))));J(Le in e?e[Le]:e)},ED=(e,t)=>{let n=Qe(e,t),r=p(n,Vt);if(!r)return null;let a=p(r,o("a","lnSpc",d.dml));if(!a)return null;let l=p(a,o("a","spcPct",d.dml));if(l){let s=x(l,o("","val",""));if(s!==null){let c=St(s,Number.NaN);if(Number.isFinite(c))return{kind:"pct",value:c}}}let i=p(a,o("a","spcPts",d.dml));if(i){let s=x(i,o("","val",""));if(s!==null){let c=Number.parseInt(s,10);if(Number.isFinite(c))return{kind:"pts",value:c/100}}}return null},AD=(e,t,n)=>{let r=Qe(e,t),a=Ol(r);if(a.children=a.children.filter(l=>!(l.kind==="element"&&l.name.namespaceURI===d.dml&&l.name.localName==="lnSpc")),n!==null){if(!Number.isFinite(n.value)||n.value<0)throw new RangeError(`line spacing value must be a non-negative number, got ${n.value}`);let l=n.kind==="pct"?h(o("a","spcPct",d.dml),{attrs:[b(o("","val",""),String(Math.round(n.value*1e5)))]}):h(o("a","spcPts",d.dml),{attrs:[b(o("","val",""),String(Math.round(n.value*100)))]});$e(a,h(o("a","lnSpc",d.dml),{children:[l]}),Bx)}J(Le in e?e[Le]:e)},TD=(e,t)=>{let n=Qe(e,t),r=p(n,Vt);if(r===null)return null;for(let a of r.children)if(!(a.kind!=="element"||a.name.namespaceURI!==d.dml)){if(a.name.localName==="buNone")return"none";if(a.name.localName==="buChar"){let l=x(a,o("","char",""));if(l==="\u2022")return"bullet";if(l!==null)return{char:l}}if(a.name.localName==="buAutoNum"){let l=x(a,o("","type",""));if(l==="arabicPeriod")return"number";if(l!==null)return{autoNum:l}}}return null},wD=(e,t)=>{let n=Qe(e,t),r=p(n,Vt);return r?p(r,o("a","buBlip",d.dml))!==null:!1},vD=(e,t)=>{let n=Qe(e,t),r=p(n,Vt);if(!r)return null;let a=p(r,o("a","buBlip",d.dml));if(!a)return null;let l=p(a,o("a","blip",d.dml));if(!l)return null;let i=x(l,o("r","embed",d.officeDocRels));if(i===null)return null;let s=(Le in e?e[Le]:e)[X],c=s[P],m=c.getRels(s[O]);if(!m)return null;let u=m.items.find(g=>g.id===i);if(!u||u.targetMode==="External")return null;let f=u.target.startsWith("/")?G(u.target):V(s[O],u.target);return c.getPart(f)?.data??null},CD=(e,t,n)=>{let r=Qe(t,n),a=p(r,Vt);if(!a)return{color:null,sizePct:null,sizePts:null,font:null};let l=Fe(e),i=um(a,s=>ye(s,l));return{color:i.color??null,sizePct:i.sizePct??null,sizePts:i.sizePts??null,font:i.font??null}},LD=(e,t,n)=>{let r=Qe(e,t);ff(r,n),J(Le in e?e[Le]:e)},PD=(e,t,n,r)=>{let a=Er(e,t,n);VZ(a,r),J(e)},RD=(e,t,n)=>{let r={auto:"auto",top:"t",center:"ctr",baseline:"base",bottom:"b"};if(n.fontAlignment!=null&&!Object.hasOwn(r,n.fontAlignment))throw new RangeError("setParagraphTypography: invalid font alignment");let a=Qe(e,t),l=Ol(a);for(let[i,s]of[["asianLineBreak","eaLnBrk"],["latinLineBreak","latinLnBrk"],["hangingPunctuation","hangingPunct"],["fontAlignment","fontAlgn"]]){let c=n[i];c!==void 0&&(l.attrs=l.attrs.filter(m=>m.name.localName!==s),c!==null&&l.attrs.push(b(o("",s,""),typeof c=="boolean"?c?"1":"0":r[c])))}J(Le in e?e[Le]:e)},ND=(e,t,n)=>{let r=Qe(e,t),a={left:"l",center:"ctr",right:"r",decimal:"dec"},l=n.defaultTabSizeEmu==null?n.defaultTabSizeEmu:Ae(n.defaultTabSizeEmu,"coordinate32","default tab size"),i=n.tabStops?.map(c=>{if(!Object.hasOwn(a,c.alignment))throw new RangeError("Invalid tab alignment");return{positionEmu:Ae(c.positionEmu,"coordinate32","tab position"),alignment:c.alignment}}).sort((c,m)=>c.positionEmu-m.positionEmu);if(i&&new Set(i.map(c=>c.positionEmu)).size!==i.length)throw new RangeError("Tab positions must be unique");if(n.tabStops===void 0&&l===void 0)return;let s=Ol(r);l!==void 0&&(s.attrs=s.attrs.filter(c=>!(c.name.namespaceURI===""&&c.name.localName==="defTabSz")),l!==null&&s.attrs.push(b(o("","defTabSz",""),String(l)))),n.tabStops!==void 0&&(s.children=s.children.filter(c=>!(c.kind==="element"&&c.name.namespaceURI===d.dml&&c.name.localName==="tabLst")),i&&$e(s,h(o("a","tabLst",d.dml),{children:i.map(c=>h(o("a","tab",d.dml),{attrs:[b(o("","pos",""),String(c.positionEmu)),b(o("","algn",""),a[c.alignment])]}))}),Bx)),J(Le in e?e[Le]:e)};var WZ=new Set(["gray","inv","comp","gamma","invGamma"]),YZ=new Set(["lum","lumMod","lumOff","shade","tint","sat","satMod","satOff","hue","hueMod","hueOff","red","redMod","redOff","green","greenMod","greenOff","blue","blueMod","blueOff","alpha","alphaMod","alphaOff"]),Da=e=>{let t=e.trim();if(!t.endsWith("%")&&/[.eE]/.test(t)){let n=Number(t);if(Number.isFinite(n)&&Math.abs(n)<=1)return n}return St(t,Number.NaN)},vi=e=>{let t=e.trim();if(!t)return Number.NaN;let n=Number(t);return Number.isFinite(n)?n/6e4:Number.NaN},MD=e=>{let t=[];for(let n of e.children){if(n.kind!=="element"||n.name.namespaceURI!==d.dml)continue;let r=n.name.localName;if(WZ.has(r)){t.push({kind:r});continue}if(!YZ.has(r))continue;let a=x(n,o("","val",""));if(a===null)continue;let l=r==="hue"||r==="hueOff"?vi(a):Da(a);Number.isFinite(l)&&t.push({kind:r,val:l})}return t},ZZ=e=>{let t=e.startsWith("#")?e.slice(1):e;return[Number.parseInt(t.slice(0,2),16)/255,Number.parseInt(t.slice(2,4),16)/255,Number.parseInt(t.slice(4,6),16)/255]},Xx=(e,t,n)=>{let r=l=>Math.max(0,Math.min(255,Math.round(l*255))),a=l=>l.toString(16).padStart(2,"0").toUpperCase();return`#${a(r(e))}${a(r(t))}${a(r(n))}`},KZ=(e,t,n)=>{let r=Math.max(e,t,n),a=Math.min(e,t,n),l=(r+a)/2;if(r===a)return[0,0,l];let i=r-a,s=l>.5?i/(2-r-a):i/(r+a),c;return r===e?c=(t-n)/i+(t<n?6:0):r===t?c=(n-e)/i+2:c=(e-t)/i+4,[c/6,s,l]},Ox=(e,t,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e),FD=(e,t,n)=>{if(t===0)return[n,n,n];let r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;return[Ox(a,r,e+1/3),Ox(a,r,e),Ox(a,r,e-1/3)]},jx=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4,Li=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,Pi=e=>Math.max(0,Math.min(1,e)),Ld=(e,t)=>[Pi(t(e[0])),Pi(t(e[1])),Pi(t(e[2]))],DD=(e,t)=>Ld(e,n=>Li(Pi(t(jx(n))))),JZ={red:0,green:1,blue:2},Xl=(e,t,n)=>{let r=[e[0],e[1],e[2]],a=JZ[t];return r[a]=Li(Pi(n(jx(e[a])))),r},Na=(e,t)=>{let[n,r,a]=t(KZ(e[0],e[1],e[2]));return Ld(FD((n%1+1)%1,Math.max(0,r),Pi(a)),l=>l)},QZ=(e,t)=>{if(t.length===0)return e;let n=ZZ(e);for(let r of t)switch(r.kind){case"tint":n=DD(n,a=>a*r.val+(1-r.val));break;case"shade":n=DD(n,a=>a*r.val);break;case"sat":n=Na(n,([a,,l])=>[a,r.val,l]);break;case"satMod":case"satOff":n=Na(n,([a,l,i])=>[a,r.kind==="satMod"?l*r.val:l+r.val,i]);break;case"lum":n=Na(n,([a,l])=>[a,l,r.val]);break;case"lumMod":case"lumOff":n=Na(n,([a,l,i])=>[a,l,r.kind==="lumMod"?i*r.val:i+r.val]);break;case"hue":n=Na(n,([,a,l])=>[r.val/360,a,l]);break;case"hueMod":n=Na(n,([a,l,i])=>[a*r.val,l,i]);break;case"hueOff":n=Na(n,([a,l,i])=>[a+r.val/360,l,i]);break;case"comp":n=Na(n,([a,l,i])=>[a+.5,l,i]);break;case"red":case"green":case"blue":n=Xl(n,r.kind,()=>r.val);break;case"redMod":n=Xl(n,"red",a=>a*r.val);break;case"greenMod":n=Xl(n,"green",a=>a*r.val);break;case"blueMod":n=Xl(n,"blue",a=>a*r.val);break;case"redOff":n=Xl(n,"red",a=>a+r.val);break;case"greenOff":n=Xl(n,"green",a=>a+r.val);break;case"blueOff":n=Xl(n,"blue",a=>a+r.val);break;case"inv":n=Ld(n,a=>1-a);break;case"gray":{let a=.3*n[0]+.59*n[1]+.11*n[2];n=[a,a,a];break}case"gamma":n=Ld(n,Li);break;case"invGamma":n=Ld(n,jx);break;case"alpha":case"alphaMod":case"alphaOff":break;default:{let a=r;throw new TypeError(`unhandled color transform: ${JSON.stringify(a)}`)}}return Xx(n[0],n[1],n[2])},_D={tx1:"dark1",dk1:"dark1",bg1:"light1",lt1:"light1",tx2:"dark2",dk2:"dark2",bg2:"light2",lt2:"light2",accent1:"accent1",accent2:"accent2",accent3:"accent3",accent4:"accent4",accent5:"accent5",accent6:"accent6",hlink:"hyperlink",folHlink:"followedHyperlink"},Xy=(e,t,n)=>{if(!t)return null;let r=n?.[e]??e,a=_D[r]??_D[e];if(!a)return null;let l=t[a];if(typeof l!="string")return null;let i=l.startsWith("#")?l:`#${l}`;return/^#[0-9A-Fa-f]{6}$/.test(i)?i.toUpperCase():null},ye=(e,t,n)=>{if(e.name.namespaceURI!==d.dml)return null;let r=e.name.localName,a=null;if(r==="srgbClr"){let l=x(e,o("","val",""));l&&(a=`#${l.toUpperCase()}`)}else if(r==="scrgbClr"){let l=Da(x(e,o("","r",""))??""),i=Da(x(e,o("","g",""))??""),s=Da(x(e,o("","b",""))??"");[l,i,s].every(Number.isFinite)&&(a=Xx(Li(l),Li(i),Li(s)))}else if(r==="hslClr"){let l=vi(x(e,o("","hue",""))??""),i=Da(x(e,o("","sat",""))??""),s=Da(x(e,o("","lum",""))??"");if([l,i,s].every(Number.isFinite)){let[c,m,u]=FD((l/360%1+1)%1,i,s);a=Xx(c,m,u)}}else if(r==="schemeClr"){let l=x(e,o("","val",""));l&&(a=Xy(l,t,n))}else if(r==="sysClr"){let l=x(e,o("","lastClr",""));l&&(a=`#${l.toUpperCase()}`)}else if(r==="prstClr"){let l=x(e,o("","val",""));l&&(a=qm(l))}return a?QZ(a,MD(e)):null},gt=e=>{if(e.name.namespaceURI!==d.dml)return null;let t=null;for(let n of MD(e))n.kind==="alpha"?t=n.val:n.kind==="alphaMod"?t=(t??1)*n.val:n.kind==="alphaOff"&&(t=(t??1)+n.val);return t===null?null:Math.max(0,Math.min(1,t))},Up=(e,t,n)=>{let r=l=>{let i=null;for(let m of l.children)if(!(m.kind!=="element"||m.name.namespaceURI!==d.dml)&&(m.name.localName==="srgbClr"||m.name.localName==="scrgbClr"||m.name.localName==="hslClr"||m.name.localName==="schemeClr"||m.name.localName==="sysClr"||m.name.localName==="prstClr")){i=m;break}if(!i)return{color:""};let s=gt(i);return{color:ye(i,t,n)??"",...s!==null?{opacity:s}:{}}},a=[];for(let l of e.children){if(l.kind!=="element"||l.name.namespaceURI!==d.dml)continue;let i=l.name.localName;if(i==="outerShdw"||i==="innerShdw"){let s=Number.parseInt(x(l,o("","blurRad",""))??"0",10)||0,c=Number.parseInt(x(l,o("","dist",""))??"0",10)||0,m=Number.parseInt(x(l,o("","dir",""))??"0",10)||0,u=r(l),f=x(l,o("","algn",""))??"b",y=["tl","t","tr","l","ctr","r","bl","b","br"].includes(f)?f:void 0,g=x(l,o("","rotWithShape",""))??"true",S={color:u.color,blurEmu:s,distEmu:c,angleDeg:m/6e4,...u.opacity!==void 0?{opacity:u.opacity}:{}},E=R=>{let N=x(l,o("",R,"")),_=N===null?Number.NaN:Da(N);return Number.isFinite(_)?_:void 0},A=R=>{let N=x(l,o("",R,""));return N===null?void 0:vi(N)},w=E("sx"),T=E("sy"),v=A("kx"),C=A("ky");a.push(i==="outerShdw"?{kind:"outerShdw",...S,...w!==void 0?{scaleX:w}:{},...T!==void 0?{scaleY:T}:{},...v!==void 0?{skewX:v}:{},...C!==void 0?{skewY:C}:{},...y!==void 0?{alignment:y}:{},rotateWithShape:g!=="0"&&g!=="false"}:{kind:"innerShdw",...S})}else if(i==="glow"){let s=Number.parseInt(x(l,o("","rad",""))??"0",10)||0,c=r(l);a.push({kind:"glow",color:c.color,radiusEmu:s,...c.opacity!==void 0?{opacity:c.opacity}:{}})}else if(i==="reflection"){let s=Number.parseInt(x(l,o("","blurRad",""))??"0",10)||0,c=Number.parseInt(x(l,o("","dist",""))??"0",10)||0,m=Number.parseInt(x(l,o("","dir",""))??"0",10)||0,u=I=>{let K=x(l,o("",I,""));if(K===null)return;let re=Da(K);if(Number.isFinite(re))return re},f=u("endA"),y=u("stA"),g=u("stPos"),S=u("endPos"),E=x(l,o("","fadeDir","")),A=E===null?void 0:vi(E),w=u("sx"),T=u("sy"),v=x(l,o("","kx","")),C=x(l,o("","ky","")),R=v===null?void 0:vi(v),N=C===null?void 0:vi(C),_=x(l,o("","algn","")),k=_!==null&&["tl","t","tr","l","ctr","r","bl","b","br"].includes(_)?_:void 0,M=x(l,o("","rotWithShape",""));a.push({kind:"reflection",blurEmu:s,distEmu:c,angleDeg:m/6e4,...f!==void 0?{opacity:f}:{},...y!==void 0?{startOpacity:y}:{},...g!==void 0?{startPosition:g}:{},...S!==void 0?{endPosition:S}:{},...A!==void 0?{fadeDirection:A}:{},...w!==void 0?{scaleX:w}:{},...T!==void 0?{scaleY:T}:{},...R!==void 0?{skewX:R}:{},...N!==void 0?{skewY:N}:{},...k!==void 0?{alignment:k}:{},...M!==null?{rotateWithShape:M!=="0"&&M!=="false"}:{}})}else if(i==="softEdge"){let s=Number.parseInt(x(l,o("","rad",""))??"0",10)||0;a.push({kind:"softEdge",radiusEmu:s})}else if(i==="blur"){let s=Number.parseInt(x(l,o("","rad",""))??"0",10)||0;a.push({kind:"blur",radiusEmu:s})}}return a},Ci=(e,t)=>{let n=null;for(let a of e.children)if(!(a.kind!=="element"||a.name.namespaceURI!==d.dml)){n=a;break}if(n===null)return null;let r=x(n,o("","val",""));if(t){let a=ye(n,t.theme,t.colorMap);return a!==null?a:n.name.localName==="schemeClr"?r:null}return n.name.localName==="srgbClr"?r===null?null:`#${r.toUpperCase()}`:n.name.localName==="schemeClr"?r:null},eK=e=>{for(let t of e.children)if(t.kind==="element"&&t.name.namespaceURI===d.dml)return t;return null},$x=(e,t)=>{let n=eK(e);if(n===null||t&&ye(n,t.theme,t.colorMap)!==null)return;let r=Ln(n);return r.length?r:void 0},tK=(e,t)=>{let n=$x(e,t);return n?.some(r=>!["alpha","alphaMod","alphaOff"].includes(r.kind))?{colorTransforms:n}:{}},kD=(e,t)=>{let n=p(e,o("a","gsLst",d.dml));if(n===null)return;let r=[];for(let f of n.children){if(f.kind!=="element"||f.name.localName!=="gs")continue;let y=St(x(f,o("","pos",""))??"",Number.NaN),g=f.children.find(v=>v.kind==="element"&&v.name.namespaceURI===d.dml);if(!Number.isFinite(y)||g?.kind!=="element")continue;let S=Ci({...f,children:[g]},t);if(S===null)continue;let E=Ln(g),A=gt(g)??void 0,w=Kl(E),T=t?ye(g,t.theme,t.colorMap):null;r.push({offset:y,color:S,...E.length?{colorTransforms:E}:{},...A===void 0?{}:{opacity:A},...w===void 0?{}:{brightness:w},...T===null?{}:{resolvedColor:T}})}if(r.length===0)return;let a=p(e,o("a","lin",d.dml)),l=p(e,o("a","path",d.dml)),i=f=>{if(f===null)return;let y=g=>{let S=x(f,o("",g,""));return S===null?0:Number.parseFloat(S)/(S.endsWith("%")?100:1e5)};return{left:y("l"),top:y("t"),right:y("r"),bottom:y("b")}},s=a===null?void 0:Number.parseInt(x(a,o("","ang",""))??"",10),c=x(l??e,o("","path","")),m=c==="circle"||c==="rect"||c==="shape"?c:void 0,u=p(e,o("a","tileRect",d.dml));return{kind:"gradient",stops:r,...s!==void 0&&Number.isFinite(s)?{angleDeg:s/6e4}:{},...a!==null?{scaled:["1","true"].includes(x(a,o("","scaled",""))??"")}:{},...x(e,o("","rotWithShape",""))!==null?{rotateWithShape:!["0","false"].includes(x(e,o("","rotWithShape",""))??"")}:{},...m?{path:m}:{},...l?(()=>{let f=i(p(l,o("a","fillToRect",d.dml)));return f?{focus:f}:{}})():{},...u?(()=>{let f=i(u);return f?{tileRect:f}:{}})():{}}},nK=(e,t)=>{let n=x(e,o("","prst",""));if(n===null)return;let r=u=>{let f=p(e,o("a",u,d.dml));return f===null?null:Ci(f,t)},a=r("fgClr"),l=r("bgClr");if(a===null||l===null||!$a.includes(n))return;let i=u=>{let y=p(e,o("a",u,d.dml))?.children.find(g=>g.kind==="element"&&g.name.namespaceURI===d.dml);return y?.kind==="element"?Ln(y):[]},s=i("fgClr"),c=i("bgClr");return{kind:"pattern",preset:n,foreground:a,background:l,...s.length?{foregroundTransforms:s}:{},...c.length?{backgroundTransforms:c}:{}}},Ht=(e,t,n)=>{let r={},a=x(e,o("","sz",""));if(a!==null){let M=Number.parseInt(a,10);Number.isFinite(M)&&(r.size=M/100)}let l=x(e,o("","b",""));l!==null&&(r.bold=l==="1"||l==="true");let i=x(e,o("","i",""));i!==null&&(r.italic=i==="1"||i==="true");let s=x(e,o("","u",""));s!==null&&(s==="none"?r.underline=!1:s==="sng"?r.underline=!0:r.underline=s);let c=x(e,o("","strike",""));c!==null&&(c==="noStrike"?r.strike=!1:c==="sngStrike"?r.strike=!0:r.strike=c);let m=x(e,o("","spc",""));if(m!==null){let M=Number.parseInt(m,10);Number.isFinite(M)&&(r.spc=M)}let u=x(e,o("","kern",""));if(u!==null){let M=Number.parseInt(u,10);Number.isFinite(M)&&(r.kern=M)}let f=x(e,o("","baseline","")),y=x(e,o("","normalizeH",""));if(y!==null&&(r.normalizeHeight=y==="1"||y==="true"),f!==null){let M=St(f,Number.NaN);Number.isFinite(M)&&(r.baseline=M)}let g=x(e,o("","cap",""));(g==="none"||g==="small"||g==="all")&&(r.cap=g);let S=p(e,o("a","highlight",d.dml));if(S!==null){let M=null;for(let I of S.children)if(!(I.kind!=="element"||I.name.namespaceURI!==d.dml)){M=I;break}if(M){if(t){let I=ye(M,t.theme,t.colorMap);I!==null&&(r.highlight=I)}else if(M.name.localName==="srgbClr"){let I=x(M,o("","val",""));I!==null&&(r.highlight=`#${I.toUpperCase()}`)}else if(M.name.localName==="schemeClr"){let I=x(M,o("","val",""));I!==null&&(r.highlight=I)}}}let E=p(e,o("a","solidFill",d.dml));if(E!==null){let M=Ci(E,t);if(M!==null){r.color=M;let I=$x(E,t);I&&(r.colorTransforms=I)}}let A=p(e,o("a","gradFill",d.dml));if(A!==null){let M=kD(A,t);M&&(r.textFill=M)}let w=p(e,o("a","pattFill",d.dml));if(w!==null){let M=nK(w,t);M&&(r.textFill=M)}p(e,o("a","noFill",d.dml))!==null&&(r.textFill={kind:"none"});let T=p(e,o("a","blipFill",d.dml));if(T!==null){let M=p(T,o("a","blip",d.dml)),I=M&&x(M,o("r","embed",d.officeDocRels)),K=I?n?.(I):null;r.textFill=K?{kind:"image",bytes:K}:{kind:"image"}}if(p(e,o("a","uFillTx",d.dml))!==null)r.underlineColor=null;else{let M=p(e,o("a","uFill",d.dml)),I=M===null?null:p(M,o("a","solidFill",d.dml));if(I!==null){let K=Ci(I,t);K!==null&&(r.underlineColor=K)}}let C=p(e,o("a","latin",d.dml));if(C!==null){let M=x(C,o("","typeface",""));M!==null&&(r.font=M)}let R=p(e,o("a","ea",d.dml));if(R!==null){let M=x(R,o("","typeface",""));M!==null&&(r.fontEastAsian=M)}let N=p(e,o("a","cs",d.dml));if(N!==null){let M=x(N,o("","typeface",""));M!==null&&(r.fontComplexScript=M)}let _=p(e,o("a","ln",d.dml));if(_!==null){let M={},I=x(_,o("","w",""));if(I!==null){let me=Number.parseInt(I,10);Number.isFinite(me)&&(M.widthEmu=me)}let K=p(_,o("a","solidFill",d.dml)),re=K===null?null:Ci(K,t);if(re!==null){M.color=re;let me=$x(K,t);me&&(M.colorTransforms=me)}let Se=p(_,o("a","gradFill",d.dml)),Ce=Se&&kD(Se,t);Ce&&(M.fill=Ce),r.outline=M}let k=p(e,o("a","effectLst",d.dml));if(k!==null){let M=(I,K)=>{let re=p(k,o("a",I,d.dml)),Se=re===null?null:Ci(re,t);return Se===null?{color:K}:{color:Se,...tK(re,t)}};for(let I of Up(k,t?.theme??null,t?.colorMap))I.kind==="outerShdw"?r.shadow={...M("outerShdw",I.color),...I.alignment!==void 0?{alignment:I.alignment}:{},...I.rotateWithShape!==void 0?{rotateWithShape:I.rotateWithShape}:{},blurEmu:I.blurEmu,offsetEmu:I.distEmu,angleDeg:I.angleDeg,...I.opacity!==void 0?{opacity:I.opacity}:{},...I.scaleX!==void 0?{scaleX:I.scaleX}:{},...I.scaleY!==void 0?{scaleY:I.scaleY}:{},...I.skewX!==void 0?{skewX:I.skewX}:{},...I.skewY!==void 0?{skewY:I.skewY}:{}}:I.kind==="innerShdw"?r.innerShadow={...M("innerShdw",I.color),blurEmu:I.blurEmu,offsetEmu:I.distEmu,angleDeg:I.angleDeg,...I.opacity!==void 0?{opacity:I.opacity}:{}}:I.kind==="glow"?r.glow={...M("glow",I.color),radiusEmu:I.radiusEmu,...I.opacity!==void 0?{opacity:I.opacity}:{}}:I.kind==="reflection"&&(r.reflection={blurEmu:I.blurEmu,offsetEmu:I.distEmu,angleDeg:I.angleDeg,...I.opacity!==void 0?{opacity:I.opacity}:{},...I.startOpacity!==void 0?{startOpacity:I.startOpacity}:{},...I.startPosition!==void 0?{startPosition:I.startPosition}:{},...I.endPosition!==void 0?{endPosition:I.endPosition}:{},...I.fadeDirection!==void 0?{fadeDirection:I.fadeDirection}:{},...I.scaleX!==void 0?{scaleX:I.scaleX}:{},...I.scaleY!==void 0?{scaleY:I.scaleY}:{},...I.skewX!==void 0?{skewX:I.skewX}:{},...I.skewY!==void 0?{skewY:I.skewY}:{},...I.alignment!==void 0?{alignment:I.alignment}:{},...I.rotateWithShape!==void 0?{rotateWithShape:I.rotateWithShape}:{}})}return r},ID=(e,t,n)=>{let r=Er(e,t,n),a=p(r,Tl);if(a===null)return null;let l=e[X];return Ht(a,void 0,oi(l[P],l[O]))};var rK=e=>{let t=p(e,o("p","spPr",d.pml))??p(e,o("p","grpSpPr",d.pml)),n=t?t.children:e.name.namespaceURI===d.dml?[e]:[];for(let r of n)if(!(r.kind!=="element"||r.name.namespaceURI!==d.dml))switch(r.name.localName){case"noFill":return{kind:"none"};case"solidFill":return{kind:"solid",color:ai(r)??""};case"gradFill":return{kind:"gradient"};case"pattFill":return{kind:"pattern"};case"blipFill":return{kind:"image"}}return null},Ux=e=>!!p(e[F],o("p","spPr",d.pml))?.children.some(n=>n.kind==="element"&&n.name.namespaceURI===d.dml&&n.name.localName==="grpFill"),OD=e=>{let t=p(e,o("a","solidFill",d.dml));if(!t)return null;for(let n of t.children)if(n.kind==="element"&&n.name.namespaceURI===d.dml)return n;return null},XD=e=>{let t=p(e[F],o("p","spPr",d.pml));return t?OD(t):null},$D=(e,t)=>{let n=t?Ri(t,e):qp(e);return n?OD(n):null},qp=e=>{let t=p(e[F],o("p","spPr",d.pml));return t?p(t,o("a","ln",d.dml)):null},BD=e=>e.name.localName==="noFill"||e.name.localName==="solidFill"||e.name.localName==="gradFill"||e.name.localName==="pattFill"||e.name.localName==="blipFill"?"fill":e.name.localName==="round"||e.name.localName==="bevel"||e.name.localName==="miter"?"join":e.name.localName,Ri=(e,t)=>{let n=qp(t),r=ov(e,t);if(!n)return r;let a=r?.name.localName==="noFill"?h(o("a","ln",d.dml),{children:[he(r)]}):r;if(!a)return n;let l=he(a),i=new Map(n.attrs.map(u=>[`${u.name.namespaceURI}\0${u.name.localName}`,u])),s=new Set;l.attrs=l.attrs.map(u=>{let f=`${u.name.namespaceURI}\0${u.name.localName}`;return s.add(f),i.get(f)??u});for(let[u,f]of i)s.has(u)||l.attrs.push(f);let c=new Map;for(let u of n.children)u.kind!=="element"||u.name.namespaceURI!==d.dml||c.set(BD(u),u);let m=new Set;l.children=l.children.map(u=>{if(u.kind!=="element"||u.name.namespaceURI!==d.dml)return u;let f=BD(u);m.add(f);let y=c.get(f);return y?he(y):u});for(let[u,f]of c)m.has(u)||l.children.push(he(f));return l},Gx=(e,t)=>t?Ri(t,e):qp(e),jD=e=>{let t=Pd(e);return t.kind==="solid"?t.color:null},UD=e=>{let t=Pd(e);return t.kind==="solid"&&t.widthEmu!==void 0?t.widthEmu:null},GD=(e,t)=>{let n=$D(t,e);return n?ye(n,It(e,t).theme,Ye(t[X])):null},qD=(e,t)=>{let n=$D(e,t);return n?gt(n):null},HD=(e,t)=>{let n=Gx(e,t);if(!n)return null;let r=x(n,o("","cap",""));return r==="rnd"||r==="sq"||r==="flat"?r:null},VD=(e,t)=>{let n=Gx(e,t);if(!n)return null;for(let r of n.children)if(!(r.kind!=="element"||r.name.namespaceURI!==d.dml)){if(r.name.localName==="round")return"round";if(r.name.localName==="bevel")return"bevel";if(r.name.localName==="miter")return"miter"}return null},zD=(e,t)=>{let n=Gx(e,t);if(!n)return null;let r=x(n,o("","cmpd",""));return r==="sng"||r==="dbl"||r==="thickThin"||r==="thinThick"||r==="tri"?r:null},WD=(e,t)=>{let n=YD(e,t);return(n&&Gp(n))??Pd(t)},YD=(e,t)=>{let n=Ri(e,t);if(n&&Gp(n))return n;let r=qt(t),a=Gt(t);if(r===null&&a===null)return null;let l=Te(t[X]);if(!l)return null;let i=T=>{let v=p(T,o("p","spPr",d.pml)),C=v&&p(v,o("a","ln",d.dml)),R=C&&Gp(C);return R&&!(R.kind==="solid"&&R.color==="")?C:null},s=T=>{let v=r!==null?T.find(C=>C.placeholderIdx===r):void 0;return!v&&a!==null&&(v=T.find(C=>C.placeholderType===a)),v?.element??null},c=s(l[ue].shapes),m=c&&i(c);if(m)return m;let u=e[P],f=G(l[de]),y=u.getRels(f);if(!y)return null;let g=y.items.find(T=>T.type===D.slideMaster);if(!g)return null;let S=u.getPart(V(f,g.target));if(!S)return null;let E=j(z(S.data)).root,{shapes:A}=Ge(E,"sldMaster"),w=s(A);return w&&i(w)},Gp=e=>{if(e.name.localName==="noFill")return{kind:"none"};if(e.name.localName!=="ln")return null;let t=x(e,o("","w","")),n=t!==null?Number.parseInt(t,10):void 0,r=n!==void 0?{widthEmu:n}:{};for(let a of e.children)if(!(a.kind!=="element"||a.name.namespaceURI!==d.dml)){if(a.name.localName==="noFill")return{kind:"none"};if(a.name.localName==="solidFill")return{kind:"solid",color:ai(a)??"",...r};if(a.name.localName==="gradFill")return{kind:"gradient",...r}}return null},ZD=(e,t)=>{let n=t?YD(t,e):qp(e),r=n&&p(n,o("a","gradFill",d.dml));return r?ln(r,t&&{theme:It(t,e).theme,colorMap:Ye(e[X])}):null},Pd=e=>{let t=p(e[F],o("p","spPr",d.pml));if(!t)return{kind:"inherit"};let n=p(t,o("a","ln",d.dml));return n?Gp(n)??{kind:"inherit"}:{kind:"inherit"}},KD=e=>{let t=Ni(e);return t.kind==="solid"?t.color:null},JD=(e,t)=>{let n=XD(t);if(n)return ye(n,Fe(e));if(Ux(t)){let a=ri(t),l=a?.name.localName==="solidFill"?a.children.find(s=>s.kind==="element"&&s.name.namespaceURI===d.dml):null;if(!l)return null;let{theme:i}=It(e,t);return ye(l,i,Ye(t[X]))}if(Ni(t).kind!=="inherit")return null;let r=Hm(e,t);return r?.kind==="solid"&&r.color||null},QD=(e,t)=>{let n=XD(e);if(n)return gt(n);if(Ux(e)){let a=ri(e),l=a?.name.localName==="solidFill"?a.children.find(i=>i.kind==="element"&&i.name.namespaceURI===d.dml):null;return l?gt(l):null}if(!t||Ni(e).kind!=="inherit")return null;let r=Hm(t,e);return r?.kind==="solid"?gt(r.colorElement):null},e_=(e,t)=>{let n=Ni(t);if(n.kind!=="inherit")return n;if(Ux(t))return rK(ri(t)??t[F])??n;let r=Hm(e,t);if(r)return r.kind==="solid"?{kind:"solid",color:r.color}:r;let a=qt(t),l=Gt(t);if(a===null&&l===null)return n;let i=Te(t[X]);if(!i)return n;let s=T=>{let v=x(T,o("","useBgFill",""))?.trim();if(v==="1"||v==="true")return{kind:"background"};let C=p(T,o("p","spPr",d.pml));if(!C)return null;for(let R of C.children)if(!(R.kind!=="element"||R.name.namespaceURI!==d.dml))switch(R.name.localName){case"noFill":return{kind:"none"};case"solidFill":{let N=ai(R);return N!==null?{kind:"solid",color:N}:{kind:"solid",color:""}}case"gradFill":return{kind:"gradient"};case"pattFill":return{kind:"pattern"};case"blipFill":return{kind:"image"}}return null},c=T=>{let v=a!==null?T.find(C=>C.placeholderIdx===a):void 0;return!v&&l!==null&&(v=T.find(C=>C.placeholderType===l)),v?.element??null},m=c(i[ue].shapes);if(m){let T=s(m);if(T)return T}let u=e[P],f=G(i[de]),y=u.getRels(f);if(!y)return n;let g=y.items.find(T=>T.type===D.slideMaster);if(!g)return n;let S=u.getPart(V(f,g.target));if(!S)return n;let E=j(z(S.data)).root,{shapes:A}=Ge(E,"sldMaster"),w=c(A);if(w){let T=s(w);if(T)return T}return n},Ni=e=>{let t=x(e[F],o("","useBgFill",""))?.trim();if(t==="1"||t==="true")return{kind:"background"};let n=o("p","spPr",d.pml),r=p(e[F],n);if(!r)return{kind:"inherit"};for(let a of r.children)if(!(a.kind!=="element"||a.name.namespaceURI!==d.dml))switch(a.name.localName){case"noFill":return{kind:"none"};case"solidFill":{let l=ai(a);return l!==null?{kind:"solid",color:l}:{kind:"solid",color:""}}case"gradFill":return{kind:"gradient"};case"pattFill":return{kind:"pattern"};case"blipFill":return{kind:"image"};case"grpFill":return{kind:"inherit"}}return{kind:"inherit"}};var Hp=(e,t)=>{let n=Re(e);n.children=n.children.filter(a=>!(a.kind==="element"&&a.name.namespaceURI===d.dml&&["prstGeom","custGeom"].includes(a.name.localName)));let r=n.children.findIndex(a=>a.kind==="element"&&a.name.namespaceURI===d.dml&&a.name.localName==="xfrm");n.children.splice(r+1,0,h(o("a","prstGeom",d.dml),{attrs:[b(o("","prst",""),t)],children:[h(o("a","avLst",d.dml))]})),J(e)},Di=(e,t,n)=>{un(e[F],e[U].kind,t,n),J(e)},t_=(e,t,n)=>{fn(e[F],e[U].kind,t,n),J(e)},n_=(e,t)=>{za(e[F],e[U].kind,t),J(e)},r_=(e,t)=>{if(!_f(e[F],t))throw new Error("setShapeAdjustValues: shape has no preset geometry (<a:prstGeom>)");J(e)},a_=(e,t)=>{Wa(e[F],e[U].kind,t),J(e)},$l=e=>{let t=e[F];t.attrs=t.attrs.filter(n=>n.name.localName!=="useBgFill"||n.name.namespaceURI!=="")},l_=e=>{let t=e[F];if(t.name.namespaceURI!==d.pml||t.name.localName!=="sp")throw new Error("setShapeSlideBackgroundFill: only ordinary shapes support slide background fill");Ql(Re(e)),$l(e),t.attrs.push(b(o("","useBgFill",""),"1")),J(e)},o_=(e,t)=>{dr(Re(e),t),$l(e),J(e)},i_=(e,t)=>{Ua(Re(e),t),$l(e),J(e)},s_=(e,t)=>{ja(Re(e),t),$l(e),J(e)},aK=e=>e!==null&&$a.includes(e),d_=(e,t,n={})=>{let r=p(t[F],o("p","spPr",d.pml));if(!r)return null;let a=p(r,o("a","pattFill",d.dml));if(!a)return null;let l=x(a,o("","prst","")),i=aK(l)?l:"pct50",s=Fe(e),c=(m,u)=>{let f=p(a,o("a",m,d.dml));if(!f)return u;for(let y of f.children){if(y.kind!=="element"||y.name.namespaceURI!==d.dml)continue;if(n.preserveTheme&&y.name.localName==="schemeClr"&&!y.children.some(S=>S.kind==="element")){let S=x(y,o("","val",""));if(S)return S}let g=ye(y,s);if(g)return g}return u};return{preset:i,foreground:c("fgClr","#000000"),background:c("bgClr","#FFFFFF")}},c_=(e,t,n={})=>{let r=n.format??ut(t);if(r===null)throw new Error("setShapeImageFill: could not detect image format. Pass options.format explicitly.");let a=e[X],l=Gy(a[P],a[O],t,r),i=Re(e),s=new Set(["noFill","solidFill","gradFill","blipFill","pattFill","grpFill"]);i.children=i.children.filter(A=>!(A.kind==="element"&&A.name.namespaceURI===d.dml&&s.has(A.name.localName)));let c=o("a","blip",d.dml),m=o("a","stretch",d.dml),u=o("a","fillRect",d.dml),f=o("a","blipFill",d.dml),y=h(c,{attrs:[b(o("r","embed",d.officeDocRels),l)]}),g=h(m,{children:[h(u)]}),S=h(f,{children:[y,g]}),E=i.children.length;for(let A=0;A<i.children.length;A++){let w=i.children[A];if(!(w?.kind!=="element"||w.name.namespaceURI!==d.dml)&&(w.name.localName==="ln"||w.name.localName==="effectLst"||w.name.localName==="effectDag"||w.name.localName==="scene3d"||w.name.localName==="sp3d"||w.name.localName==="extLst")){E=A;break}}i.children.splice(E,0,S),$l(e),J(e)},m_=e=>{F0(Re(e)),$l(e),J(e)},p_=e=>{Ql(Re(e)),$l(e),J(e)},u_=(e,t)=>{$0(Re(e),t),J(e)},f_=(e,t)=>{K0(Re(e),t,lK(e)),J(e)},lK=e=>{let t=2166136261;for(let n of`${e[X][O]}#${e[U].id}`)t^=n.charCodeAt(0),t=Math.imul(t,16777619);return t>>>0},h_=e=>{let t=p(e[F],o("p","spPr",d.pml)),n=t&&p(t,o("a","ln",d.dml));return n?Z0(n):null},g_=e=>{G0(Re(e)),J(e)},y_=(e,t)=>{let n=t?Ri(t,e):(()=>{let l=p(e[F],o("p","spPr",d.pml));return l?p(l,o("a","ln",d.dml)):null})();if(!n)return null;let r=p(n,o("a","prstDash",d.dml));return r?x(r,o("","val",""))??null:null},x_=(e,t,n)=>{let r=n?Ri(n,e):(()=>{let m=p(e[F],o("p","spPr",d.pml));return m?p(m,o("a","ln",d.dml)):null})();if(!r)return null;let a=p(r,o("a",t==="head"?"headEnd":"tailEnd",d.dml));if(!a)return null;let l=x(a,o("","type",""));if(!l)return null;let i=x(a,o("","w","")),s=x(a,o("","len","")),c={type:l};return(i==="sm"||i==="med"||i==="lg")&&(c.width=i),(s==="sm"||s==="med"||s==="lg")&&(c.length=s),c},S_=(e,t)=>{H0(Re(e),t),J(e)},b_=(e,t,n)=>{V0(Re(e),t,n),J(e)},E_=e=>{q0(Re(e)),J(e)},A_=(e,t)=>{z0(Re(e),t),J(e)},T_=(e,t)=>{W0(Re(e),t),J(e)},w_=(e,t)=>{Y0(Re(e),t),J(e)};var v_=e=>e[U].kind,jl=e=>e[U].id,Vp=e=>{if(!["shape","picture","connector"].includes(e[U].kind))return null;let t=p(e[F],o("p","spPr",d.pml));if(!t)return null;let n=p(t,o("a","prstGeom",d.dml));if(!n)return null;for(let r of n.attrs)if(r.name.localName==="prst")return r.value;return null},C_=e=>{let t={},n=p(e[F],o("p","spPr",d.pml));if(!n)return t;let r=p(n,o("a","prstGeom",d.dml));if(!r)return t;let a=p(r,o("a","avLst",d.dml));if(!a)return t;for(let l of a.children){if(l.kind!=="element"||l.name.namespaceURI!==d.dml||l.name.localName!=="gd")continue;let i=x(l,o("","name","")),s=x(l,o("","fmla",""));if(!i||!s)continue;let c=/^val\s+(-?\d+(?:\.\d+)?)$/.exec(s);if(!c)continue;let m=Number.parseFloat(c[1]);Number.isFinite(m)&&(t[i]=m)}return t},L_=e=>{let t=e[U].kind;if(t!=="shape"&&t!=="connector")return null;let n=p(e[F],o("p","spPr",d.pml));if(!n)return null;let r=p(n,o("a","custGeom",d.dml));if(!r)return null;let a=At(e[F],t);return a===null?null:wf(r,a.w,a.h)},P_=(e,t,n={})=>Cf(e,t.w,t.h,n),R_=e=>{let t=0;for(let n of e[ne]){let r=n[U].id;r>t&&(t=r)}return t},N_=e=>{let t=0;for(let n of H(e))for(let r of n[ne]){let a=r[U].id;a>t&&(t=a)}return t},D_=e=>{let n=e[P].getPart(Y);if(n===null)return 0;let r=j(z(n.data)).root;return Qt(r).slideMasters.length},_i=e=>{let t=de in e?e:Te(e);if(!t)return null;let n=e[P],r=G(t[de]),a=n.getRels(r);if(!a)return null;let l=a.items.find(i=>i.type===D.slideMaster);return l?V(r,l.target):null},_a=e=>{let t=e[P],n=t.getPart(Y);if(n===null)return[];let r=j(z(n.data)).root,a=Qt(r),l=t.getRels(Y);if(l===null)return[];let i=[];for(let s of a.slideMasters){let c=l.items.find(u=>u.id===s.rId);if(c===void 0)continue;let m=c.target.startsWith("/")?G(c.target):V(Y,c.target);i.push(m)}return i},qx=e=>{let t={};for(let n of _a(e))t[n]=0;for(let n of H(e)){let r=_i(n);r!==null&&(t[r]=(t[r]??0)+1)}return t},__=e=>{let t=qx(e);return _a(e).filter(n=>(t[n]??0)===0)},Ul=e=>e[U].name,k_=e=>{let t=In(e);return t?x(t,o("","descr","")):null},M_=(e,t)=>{let n=In(e);if(!n)throw new Error(`setShapeDescription: ${e[U].kind} shape has no cNvPr`);n.attrs=n.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName==="descr")),t!==null&&t!==""&&n.attrs.push(b(o("","descr",""),t)),J(e)},F_=e=>{let t=In(e);return t?x(t,o("","title","")):null},I_=(e,t)=>{let n=In(e);if(!n)throw new Error(`setShapeAltTitle: ${e[U].kind} shape has no cNvPr`);n.attrs=n.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName==="title")),t!==null&&t!==""&&n.attrs.push(b(o("","title",""),t)),J(e)},B_=e=>{let t=In(e);if(!t)return!1;let n=x(t,o("","hidden",""));return n==="1"||n==="true"};function O_(e,t){let r=(Array.isArray(e)?e:[e]).map(l=>{let i=In(l);if(!i)throw new Error(`setShapeHidden: ${l[U].kind} shape has no cNvPr`);return{shape:l,cNvPr:i}});for(let{cNvPr:l}of r)l.attrs=l.attrs.filter(i=>!(i.name.namespaceURI===""&&i.name.localName==="hidden")),t&&l.attrs.push(b(o("","hidden",""),"1"));let a=new Set(r.map(({shape:l})=>l[X]));for(let l of a)ce(l),ge(l)}var X_=(e,t)=>{let n=In(e);if(!n)throw new Error(`renameShape: ${e[U].kind} shape has no cNvPr to rename`);n.attrs=n.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName==="name")),n.attrs.push(b(o("","name",""),t)),J(e)},Gt=e=>e[U].placeholderType,qt=e=>e[U].placeholderIdx,zp=e=>{let t=e[U];return t.placeholderType!==null||t.placeholderIdx!==null},oK=o("p","nvSpPr",d.pml),iK=o("p","cNvSpPr",d.pml),sK=o("","txBox",""),$_=e=>{let t=p(e[F],oK);if(!t)return!1;let n=p(t,iK);if(!n)return!1;let r=x(n,sK);return r==="1"||r==="true"},Wp=e=>e[U].text,j_=e=>Rt(e[F],e[U].kind),U_=e=>At(e[F],e[U].kind),G_=e=>pr(e[F],e[U].kind),Np=e=>ur(e[F],e[U].kind),Yp=e=>e[U].kind!=="group"?[]:el(e[F]).map(n=>({[X]:e[X],[F]:n.element,[U]:n})),Zp=e=>{if(e[U].kind!=="group")return null;let t=p(e[F],o("p","grpSpPr",d.pml));if(!t)return null;let n=p(t,o("a","xfrm",d.dml));if(!n)return null;let r=p(n,o("a","off",d.dml)),a=p(n,o("a","ext",d.dml)),l=p(n,o("a","chOff",d.dml)),i=p(n,o("a","chExt",d.dml));if(!r||!a)return null;let s=(A,w)=>{let T=x(A,o("",w,""));if(T===null)return null;let v=Number.parseInt(T,10);return Number.isFinite(v)?v:null},c=s(r,"x"),m=s(r,"y"),u=s(a,"cx"),f=s(a,"cy");if(c===null||m===null||u===null||f===null)return null;let y=l?s(l,"x")??c:c,g=l?s(l,"y")??m:m,S=i?s(i,"cx")??u:u,E=i?s(i,"cy")??f:f;return{outer:{x:c,y:m,w:u,h:f},inner:{x:y,y:g,w:S,h:E}}},dn=e=>{let t=Rt(e[F],e[U].kind),n=At(e[F],e[U].kind);return t===null||n===null?null:{x:t.x,y:t.y,w:n.w,h:n.h}},dK=e=>e===null?[]:e==="ctrTitle"?["ctrTitle","title"]:e==="title"?["title","ctrTitle"]:e==="subTitle"?["subTitle","body"]:[e],id=(e,t,n)=>{if(t!==null){let r=e.find(a=>a.placeholderIdx===t);if(r)return r}for(let r of dK(n)){let a=e.find(l=>l.placeholderType===r);if(a)return a}},q_=(e,t)=>{let n=dn(t);if(n)return n;let r=t[X],a=Te(r);if(!a)return null;let l=qt(t),i=Gt(t),s=A=>{let w=id(A,l,i);if(!w)return null;let T=Rt(w.element,w.kind),v=At(w.element,w.kind);return T===null||v===null?null:{x:T.x,y:T.y,w:v.w,h:v.h}},c=s(a[ue].shapes);if(c)return c;let m=e[P],u=G(a[de]),f=m.getRels(u);if(!f)return null;let y=f.items.find(A=>A.type===D.slideMaster);if(!y)return null;let g=m.getPart(V(u,y.target));if(!g)return null;let S=j(z(g.data)).root,{shapes:E}=Ge(S,"sldMaster");return s(E)},H_=e=>{let t=dn(e);return t===null?null:{x:t.x+Math.round(t.w/2),y:t.y+Math.round(t.h/2)}},Hx=(e,t,n)=>{let r=dn(e);return r===null?!1:t>=r.x&&t<r.x+r.w&&n>=r.y&&n<r.y+r.h},V_=(e,t,n)=>e[ne].filter(r=>Hx(r,t,n)),z_=(e,t,n,r,a)=>{let l=t+r,i=n+a,s=[];for(let c of e[ne]){let m=dn(c);if(m===null)continue;let u=m.x+m.w,f=m.y+m.h;m.x<=l&&u>=t&&m.y<=i&&f>=n&&s.push(c)}return s},W_=e=>{let t=dn(e);if(t===null)return;let a=e[X][P].getPart(Y);if(!a)return;let l=j(z(a.data)).root,i=Qt(l);if(i.slideSize===null)return;let s=Math.round(i.slideSize.cx/2-t.w/2),c=Math.round(i.slideSize.cy/2-t.h/2);Di(e,s,c)},Dp=(e,t)=>{let n=dn(e),r=dn(t);return n===null||r===null?!1:n.x<r.x+r.w&&n.x+n.w>r.x&&n.y<r.y+r.h&&n.y+n.h>r.y},Y_=(e,t)=>{un(e[F],e[U].kind,t.x,t.y),fn(e[F],e[U].kind,t.w,t.h),J(e)};var Ot=e=>e[ne],Z_=(e,t)=>{let n=e[P],r=t[de];if(n.getPart(r)===null)throw new Error(`setSlideLayout: layout ${r} not in package`);let a=n.getRels(e[O])??pe(),l=r,i=a.items.find(s=>s.type===D.slideLayout);i?i.target=l:a.items.push({id:se(a.items.map(s=>s.id)),type:D.slideLayout,target:l,targetMode:"Internal"}),n.setRels(e[O],a)},Te=e=>{let t=e[P],n=t.getRels(e[O]);if(n===null)return null;let r=n.items.find(s=>s.type===D.slideLayout);if(!r)return null;let a=r.target.startsWith("/")?G(r.target):V(e[O],r.target),l=t.getPart(a);if(l===null)return null;let i=j(z(l.data));return{[P]:t,[de]:a,[ot]:i,[ue]:jr(i.root)}},Lt=(e,t)=>{for(let n of e[ne]){let r=n[U];if(r.placeholderType===t||t==="body"&&r.placeholderType===null&&r.placeholderIdx!==null)return n}return null},Vx=e=>{let t=[];for(let n of e[ne])zp(n)&&(Pp(n)||t.push(n));return t},K_=e=>{let t=Number.POSITIVE_INFINITY,n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY,a=Number.NEGATIVE_INFINITY,l=!1;for(let i of e){let s=dn(i);s&&(l=!0,s.x<t&&(t=s.x),s.y<n&&(n=s.y),s.x+s.w>r&&(r=s.x+s.w),s.y+s.h>a&&(a=s.y+s.h))}return l?{x:t,y:n,w:r-t,h:a-n}:null},J_=(e,t,n)=>{for(let r of e){let a=dn(r);a!==null&&Di(r,a.x+t,a.y+n)}},Q_=e=>{let t=[];for(let n of H(e))Vx(n).length>0&&t.push(n);return t},e3=(e,t)=>{for(let n of e[ne])if(n[U].placeholderIdx===t)return n;return null},t3=(e,t)=>{let n=[];for(let r of e[ne]){let a=r[U];if(a.placeholderType===t){n.push(r);continue}t==="body"&&a.placeholderType===null&&a.placeholderIdx!==null&&n.push(r)}return n},zx=(e,t)=>{if(typeof t=="string"){for(let n of e[ne])if(n[U].name===t)return n;return null}for(let n of e[ne])if(t.test(n[U].name))return n;return null},Kp=(e,t)=>{for(let n of e[ne])if(n[U].id===t)return n;return null},n3=(e,t)=>typeof t=="string"?e[ne].filter(n=>n[U].name===t):e[ne].filter(n=>t.test(n[U].name)),r3=(e,t)=>{for(let n of e[ne]){let r=n[U].text;if(typeof t=="string"?r.includes(t):t.test(r))return n}return null},a3=(e,t)=>{let n=[];for(let r of e[ne]){let a=r[U].text;(typeof t=="string"?a.includes(t):t.test(a))&&n.push(r)}return n},l3=(e,t)=>e[ne].filter(n=>n[U].kind===t),o3=(e,t)=>{let n=[];for(let r of e[ne]){let a=on(r);a!==null&&(typeof t=="string"?a.includes(t):t.test(a))&&n.push(r)}return n},i3=e=>{let t=[];for(let n of e[ne])on(n)!==null&&t.push(n);return t},s3=(e,t)=>e[ne].filter(n=>Vp(n)===t),Jp=e=>e[X],d3=e=>Hd+Ui(e[F]),c3=e=>e[X][ne].indexOf(e),m3=(e,t)=>{for(let n of H(e)){let r=zx(n,t);if(r!==null)return r}return null},p3=(e,t)=>{let n=ns(e[te].root,t);return n>0&&(ce(e),ge(e)),n};var u3=e=>{let t=p(e,o("p","spPr",d.pml));if(!t)return!1;if(p(t,o("a","effectLst",d.dml))!==null||p(t,o("a","effectDag",d.dml))!==null)return!0;let n=p(e,o("p","style",d.pml));return n!==null&&p(n,o("a","effectRef",d.dml))!==null},f3=e=>{let t=p(e[F],o("p","spPr",d.pml));if(!t)return null;let n=p(t,o("a","effectLst",d.dml));if(!n)return null;let r=i=>{let s=i.children.find(u=>u.kind==="element"&&u.name.namespaceURI===d.dml&&["srgbClr","scrgbClr","hslClr","schemeClr","sysClr","prstClr"].includes(u.name.localName));if(!s)return{color:""};let c=ye(s,null)??"",m=gt(s);return{color:c,...m!==null?{opacity:m}:{}}},a=p(n,o("a","outerShdw",d.dml));if(a){let i=Number.parseInt(x(a,o("","blurRad",""))??"0",10),s=Number.parseInt(x(a,o("","dist",""))??"0",10),c=Number.parseInt(x(a,o("","dir",""))??"0",10),m=r(a);return{kind:"shadow",color:m.color,blurEmu:i,offsetEmu:s,angleDeg:c/6e4,...m.opacity!==void 0?{opacity:m.opacity}:{}}}let l=p(n,o("a","glow",d.dml));if(l){let i=Number.parseInt(x(l,o("","rad",""))??"0",10);return{kind:"glow",color:r(l).color,radiusEmu:i}}return null},Qp=(e,t)=>{let n=p(t[F],o("p","spPr",d.pml));if(!n)return[];let r=p(n,o("a","effectLst",d.dml));if(p(n,o("a","effectDag",d.dml))!==null)return[];let a=r??Iy(e,t);return a?Up(a,It(e,t).theme,Ye(t[X])):[]},h3=(e,t,n)=>{let r=[];for(let a of t[ne])Qp(e,a).some(l=>l.kind===n)&&r.push(a);return r},g3=(e,t)=>{let n=Qp(e,t);if(u3(t[F]))return n;let a=qt(t),l=Gt(t);if(a===null&&l===null)return n;let i=It(e,t).theme,s=Te(t[X]);if(!s)return n;let c=v=>{let C=a!==null?v.find(R=>R.placeholderIdx===a):void 0;return!C&&l!==null&&(C=v.find(R=>R.placeholderType===l)),C?.element??null},m=v=>{let C=p(v,o("p","spPr",d.pml));if(!C||!u3(v))return null;if(p(C,o("a","effectDag",d.dml))!==null)return[];let R=p(C,o("a","effectLst",d.dml))??Iy(e,t,v);return R?Up(R,i,Ye(t[X])):[]},u=c(s[ue].shapes);if(u){let v=m(u);if(v!==null)return v}let f=e[P],y=G(s[de]),g=f.getRels(y);if(!g)return n;let S=g.items.find(v=>v.type===D.slideMaster);if(!S)return n;let E=f.getPart(V(y,S.target));if(!E)return n;let A=j(z(E.data)).root,{shapes:w}=Ge(A,"sldMaster"),T=c(w);if(T){let v=m(T);if(v!==null)return v}return n},Rd=(e,t)=>{let n=Re(e);oa(n,t);let r=p(e[F],o("p","style",d.pml)),a=r&&p(r,o("a","effectRef",d.dml));if(a!==null&&x(a,o("","idx",""))!=="0"&&p(n,o("a","effectLst",d.dml))===null){let i=n.children.findIndex(c=>c.kind==="element"&&c.name.namespaceURI===d.dml&&["scene3d","sp3d","extLst"].includes(c.name.localName)),s=h(o("a","effectLst",d.dml),{children:[]});i===-1?n.children.push(s):n.children.splice(i,0,s)}J(e)},y3=(e,t={})=>{if(t===null){Rd(e,"outerShdw");return}Wi(Re(e),t),J(e)},x3=(e,t)=>{if(t===null){Rd(e,"innerShdw");return}Yi(Re(e),t),J(e)},S3=(e,t)=>{if(t===null){Rd(e,"glow");return}Zi(Re(e),t),J(e)},b3=(e,t)=>{if(t===null){Rd(e,"reflection");return}Ki(Re(e),t),J(e)},E3=(e,t)=>{if(t===null){Rd(e,"softEdge");return}k0(Re(e),t),J(e)},A3=e=>{M0(Re(e)),J(e)},T3=(e,t)=>{Ef(Re(e),t,"setShape3D"),J(e)},w3=e=>{let t=p(e[F],o("p","spPr",d.pml));return t?qa(t):null};function ki(e,t,n,r){Wx(e)(t,n,r)}function Wx(e){let t=e[P],n=t.getRels(e[O]),r=new Map(n?.items.map(a=>[a.id,a]));return(a,l,i)=>{let s=a[P],c=new Set;v3(l,T=>(c.add(T),T));let m=new Map;for(let T of c){let v=r.get(T);if(!v)throw new Error(`${i}: missing relationship ${T}`);v.targetMode!=="External"&&m.set(V(e[O],v.target),null)}let u=t===s?null:Sl(t,s,m,new Set,new Map([[e[O],a[O]]])),f=s.getRels(a[O])??pe(),y=new Map,g=f.items.map(T=>T.id),S=(T,v,C)=>JSON.stringify([T,v,C]),E=new Map(f.items.map(T=>[S(T.type,T.targetMode==="External"?T.target:V(a[O],T.target),T.targetMode),T.id])),A=se(g,c.size),w=0;for(let T of c){let v=r.get(T),C=v.targetMode==="External"?v.target:V(e[O],v.target),R=u?.get(C.toLowerCase())??C,N=S(v.type,R,v.targetMode),_=E.get(N),k=_??A[w++];_||(f.items.push({...v,target:R,id:k}),E.set(N,k)),y.set(T,k)}v3(l,T=>y.get(T)),s.setRels(a[O],f)}}var v3=(e,t)=>{let n=r=>{r.attrs=r.attrs.map(a=>a.value!==""&&a.name.namespaceURI===d.officeDocRels&&(a.name.localName==="id"||a.name.localName==="embed"||a.name.localName==="link")?{name:a.name,value:t(a.value)}:a);for(let a of r.children)a.kind==="element"&&n(a)};n(e)};var yt=o("p","txBody",d.pml),wi=(e,t,n={})=>{let r=ma(e);typeof t=="object"?(Bo(r,t.case,n.range),n.bullets!==void 0&&ls(r,n.bullets)):n.preserveFormatting||n.range?(Oo(r,t,n.range,n.newlines),n.bullets!==void 0&&ls(r,n.bullets)):Pn(r,t,n.bullets,n.newlines),J(e)},C3=(e,t,n={})=>{if(t.length===0)throw new Error("setShapeTextField: type must not be empty");let r=ma(e),a=cK(r),l=h(o("a","fld",d.dml),{attrs:[b(o("","id",""),qi()),b(o("","type",""),t)],children:[...a?[he(a)]:[],h(o("a","t",d.dml),{children:[be(n.text??"")]})]}),i=h(o("a","p",d.dml),{children:[l]}),s=r.children.filter(c=>c.kind==="element"&&c.name.namespaceURI===d.dml&&(c.name.localName==="bodyPr"||c.name.localName==="lstStyle"));r.children=[...s,i],J(e)},cK=e=>{for(let t of e.children)if(!(t.kind!=="element"||t.name.namespaceURI!==d.dml||t.name.localName!=="p"))for(let n of t.children){if(n.kind!=="element"||n.name.namespaceURI!==d.dml||n.name.localName!=="r"&&n.name.localName!=="fld")continue;let r=p(n,o("a","rPr",d.dml));if(r)return r}return null},L3=(e,t)=>{let n=ma(e),r=e[U].text,a=r.length===0?t:`${r}
|
|
29
|
+
${t}`;Pn(n,a),J(e)},bt=o("a","bodyPr",d.dml),mK=new Set(["noAutofit","normAutofit","spAutoFit"]),Gl=e=>{let t=ht(e),n=p(t,bt);return n===null&&(n=h(bt),t.children.unshift(n)),n},P3=(e,t)=>{Z(t,["none","square"],"setShapeTextWrap: wrap");let n=Gl(e),r=o("","wrap","");n.attrs=n.attrs.filter(a=>!(a.name.namespaceURI===""&&a.name.localName==="wrap")),n.attrs.push(b(r,t)),J(e)},R3=e=>{let t=p(e[F],yt);if(!t)return null;let n=p(t,bt);if(!n)return null;let r=x(n,o("","wrap",""));return r==="none"||r==="square"?r:null},N3=(e,t)=>{Z(t,["none","normal","shape"],"setShapeTextAutoFit: mode");let n=Gl(e);n.children=n.children.filter(a=>!(a.kind==="element"&&a.name.namespaceURI===d.dml&&mK.has(a.name.localName)));let r={none:"noAutofit",normal:"normAutofit",shape:"spAutoFit"}[t];$e(n,h(o("a",r,d.dml)),lo),J(e)},D3=(e,t)=>{bf(Gl(e),t,"setShapeText3D"),J(e)},_3=(e,t)=>{let n=Gl(e);n.children=n.children.filter(r=>!(r.kind==="element"&&r.name.namespaceURI===d.dml&&(r.name.localName==="flatTx"||t&&r.name.localName==="sp3d"))),t&&$e(n,h(o("a","flatTx",d.dml)),lo),J(e)},k3=e=>{let t=p(e[F],yt),n=t&&p(t,bt);return!!(n&&p(n,o("a","flatTx",d.dml)))},M3=e=>{let t=p(e[F],yt),n=t&&p(t,bt);return n?qa(n):null},F3=e=>{let t=p(e[F],yt);if(!t)return null;let n=p(t,bt);if(!n)return null;for(let r of n.children)if(!(r.kind!=="element"||r.name.namespaceURI!==d.dml)){if(r.name.localName==="noAutofit")return"none";if(r.name.localName==="normAutofit")return"normal";if(r.name.localName==="spAutoFit")return"shape"}return null},I3=e=>{let t=p(e[F],yt);if(!t)return null;let n=p(t,bt);if(!n)return null;for(let r of n.children)if(r.kind==="element"&&r.name.namespaceURI===d.dml&&r.name.localName==="normAutofit")return B3(r);return null},B3=e=>{let t=(n,r)=>{let a=x(e,o("",n,"")),l=a===null?NaN:Number.parseInt(a,10);return Number.isFinite(l)?l/1e5:r};return{fontScale:t("fontScale",1),lnSpcReduction:t("lnSpcReduction",0)}},O3=e=>{let t=p(e[F],yt);if(!t)return null;let n=p(t,bt);if(!n)return null;let r=x(n,o("","anchor",""));return r==="t"?"top":r==="ctr"?"center":r==="b"?"bottom":null},X3=e=>{let t=p(e[F],yt);if(!t)return null;let n=p(t,bt);if(!n)return null;let r=x(n,o("","numCol",""));if(r===null)return null;let a=Number.parseInt(r,10);if(!Number.isFinite(a)||a<1)return null;let l=x(n,o("","spcCol",""));if(l!==null){let i=Number.parseInt(l,10);if(Number.isFinite(i))return{count:a,gapEmu:i}}return{count:a}},$3=(e,t)=>{let n=t===null?null:ob(t.count,"setShapeTextColumns: count"),r=t?.gapEmu===void 0?null:nb(t.gapEmu,"setShapeTextColumns: gapEmu"),a=Gl(e);a.attrs=a.attrs.filter(l=>!(l.name.namespaceURI===""&&(l.name.localName==="numCol"||l.name.localName==="spcCol"))),t!==null&&(a.attrs.push(b(o("","numCol",""),String(n))),r!==null&&a.attrs.push(b(o("","spcCol",""),String(r)))),J(e)},j3=e=>{let t=p(e[F],yt);if(!t)return null;let n=p(t,bt);if(!n)return null;let r=x(n,o("","rot",""));if(r===null)return null;let a=Number.parseInt(r,10);return Number.isFinite(a)?a/6e4:null},U3=(e,t)=>{let n=Gl(e);if(n.attrs=n.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName==="rot")),t!==null&&t!==0){let r=rb(t*6e4,"setShapeTextBodyRotationDeg: rotationDeg");n.attrs.push(b(o("","rot",""),String(r)))}J(e)},G3=e=>{let t=p(e[F],yt);if(!t)return null;let n=p(t,bt);if(!n)return null;let r=x(n,o("","vert",""));return r==="vert"||r==="vert270"||r==="wordArtVert"||r==="eaVert"||r==="mongolianVert"||r==="wordArtVertRtl"?r:null},q3=(e,t)=>{t!==null&&Z(t,Wd,"setShapeTextDirection: direction");let n=Gl(e);n.attrs=n.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName==="vert")),t!==null&&n.attrs.push(b(o("","vert",""),t)),J(e)},H3=e=>{let t=p(e[F],yt);if(!t)return null;let n=p(t,bt);if(!n)return null;let r=a=>{let l=x(n,o("",a,""));if(l===null)return null;let i=Number.parseInt(l,10);return Number.isFinite(i)?i:null};return{left:r("lIns"),top:r("tIns"),right:r("rIns"),bottom:r("bIns")}},V3=(e,t)=>{let n={anchor:null,anchorCentered:null,autoFit:null,autoFitParams:null,columns:null,wrap:null,vert:null,margins:{left:null,top:null,right:null,bottom:null}},r=!1,a=!1,l=!1,i=N=>{if(n.autoFit===null)for(let _ of N.children){if(_.kind!=="element"||_.name.namespaceURI!==d.dml)continue;let k=_.name.localName;if(k==="noAutofit"?n.autoFit="none":k==="spAutoFit"?n.autoFit="shape":k==="normAutofit"&&(n.autoFit="normal",n.autoFitParams=B3(_)),n.autoFit!==null)break}if(!a){let _=x(N,o("","numCol","")),k=_===null?NaN:Number.parseInt(_,10);Number.isFinite(k)&&k>=1&&k<=16&&(n.columns={...n.columns,count:k},a=!0)}if(!l){let _=x(N,o("","spcCol","")),k=_===null?NaN:Number.parseInt(_,10);Number.isFinite(k)&&k>=0&&(n.columns={count:n.columns?.count??1,gapEmu:k},l=!0)}if(n.anchorCentered===null){let _=x(N,o("","anchorCtr",""));_==="1"||_==="true"?n.anchorCentered=!0:(_==="0"||_==="false")&&(n.anchorCentered=!1)}if(n.anchor===null){let _=x(N,o("","anchor",""));_==="t"?n.anchor="top":_==="ctr"?n.anchor="center":_==="b"&&(n.anchor="bottom")}if(n.wrap===null){let _=x(N,o("","wrap",""));_==="square"?n.wrap="square":_==="none"&&(n.wrap="none")}if(!r){let _=x(N,o("","vert",""));_==="horz"&&(r=!0),(_==="vert"||_==="vert270"||_==="wordArtVert"||_==="eaVert"||_==="mongolianVert"||_==="wordArtVertRtl")&&(n.vert=_,r=!0)}for(let _ of["l","t","r","b"]){let k=_==="l"?"left":_==="t"?"top":_==="r"?"right":"bottom";if(n.margins[k]!==null)continue;let M=x(N,o("",`${_}Ins`,""));if(M===null)continue;let I=Number.parseInt(M,10);Number.isFinite(I)&&(n.margins[k]=I)}},s=p(t[F],yt);if(s){let N=p(s,bt);N&&i(N)}let c=qt(t),m=Gt(t),u=t[X],f=Te(u);if(!f)return n;let y=N=>id(N,c,m)?.element??null,g=y(f[ue].shapes);if(g){let N=p(g,yt);if(N){let _=p(N,bt);_&&i(_)}}let S=e[P],E=G(f[de]),A=S.getRels(E);if(!A)return n;let w=A.items.find(N=>N.type===D.slideMaster);if(!w)return n;let T=S.getPart(V(E,w.target));if(!T)return n;let v=j(z(T.data)).root,{shapes:C}=Ge(v,"sldMaster"),R=y(C);if(R){let N=p(R,yt);if(N){let _=p(N,bt);_&&i(_)}}return n},z3=(e,t,n={})=>{Z(t,["top","center","bottom"],"setShapeTextAnchor: anchor");let r=ma(e),a=p(r,bt);a===null&&(a=h(bt),r.children.unshift(a));let l=Yd[t],i=o("","anchor","");a.attrs=a.attrs.filter(s=>!(s.name.namespaceURI===""&&s.name.localName==="anchor")),a.attrs.push(b(i,l)),n.centered!==void 0&&(a.attrs=a.attrs.filter(s=>!(s.name.namespaceURI===""&&s.name.localName==="anchorCtr")),n.centered!==null&&a.attrs.push(b(o("","anchorCtr",""),n.centered?"1":"0"))),J(e)},W3=(e,t)=>{let n=ht(e),r=p(n,bt);r===null&&(r=h(bt),n.children.unshift(r));let a=[];t.left!==void 0&&a.push({name:"lIns",value:t.left}),t.top!==void 0&&a.push({name:"tIns",value:t.top}),t.right!==void 0&&a.push({name:"rIns",value:t.right}),t.bottom!==void 0&&a.push({name:"bIns",value:t.bottom});let l=new Set(a.map(i=>i.name));r.attrs=r.attrs.filter(i=>!(i.name.namespaceURI===""&&l.has(i.name.localName)));for(let i of a){let s=Vd(i.value,`setShapeTextMargins: ${i.name}`);r.attrs.push(b(o("",i.name,""),String(s)))}J(e)},Y3=(e,t)=>{ls(ht(e),t),J(e)},Z3=(e,t)=>{let n=ia(t,"setShapeAlignment");as(ma(e),n),J(e)},K3=(e,t,n)=>{e[U].kind!=="shape"&&ht(e);let r=p(e[F],yt),a=r??Ug(),l=e[X],i=Yr(l[P],l[O],"setShapeTextFormat");if(n?.paragraphEnd!==void 0?$o(a,n.paragraphEnd,t,n.reset,i):n?.range?Xo(a,t,n.range,n.reset,i):lf(a,t,"setShapeTextFormat",n?.reset,i),!r){if(n?.range)return;e[F].children.push(a)}J(e)};function J3(e,t){if("ranges"in t){if(X in e){if(!t.ranges.length)throw new RangeError("paragraph ranges must not be empty");let c=ht(e),m=h(yt,{children:pm(ht(t.source),t.ranges).flat()});ki(t.source[X],e[X],m,"setShapeParagraphs"),eu(c,m.children),J(e);return}if(e.length!==t.ranges.length)throw new RangeError("paragraph copy targets and ranges must have equal lengths");let r=e.map(ht),a=pm(ht(t.source),t.ranges),l=Wx(t.source[X]),i=new Map,s=a.map(c=>h(yt,{children:c}));for(let c=0;c<e.length;c++){let m=e[c],u=m[X],f=i.get(u);f||(f={representative:m,xml:h(yt)},i.set(u,f)),f.xml.children.push(s[c])}for(let[c,m]of i)l(c,m.xml,"setShapeParagraphs");for(let c=0;c<e.length;c++)eu(r[c],s[c].children);for(let c of i.values())J(c.representative);return}if(!(X in e))throw new TypeError("batch targets require paragraph ranges");let n=ht(e);if("sources"in t){if(!t.sources.length)throw new RangeError("paragraph sources must not be empty");let r=new Map,a=Array.from(t.sources,l=>{let i=ht(l),s=h(yt,{children:Jg(i,{start:0,end:Je(i).length})}),c=l[X],m=r.get(c);return m||(m=h(yt),r.set(c,m)),m.children.push(s),s});for(let[l,i]of r)ki(l,e[X],i,"setShapeParagraphs");eu(n,a.flatMap(l=>l.children))}else if("source"in t){let r=ht(t.source),a=t.range??{start:0,end:Je(r).length},l=h(yt,{children:Jg(r,a)});ki(t.source[X],e[X],l,"setShapeParagraphs"),eu(n,l.children)}else hf(n,t,Yr(e[X][P],e[X][O],"setShapeParagraphs"));J(e)}function eu(e,t){e.children=[...e.children.filter(n=>!(n.kind==="element"&&n.name.namespaceURI===d.dml&&n.name.localName==="p")),...t]}var pK=o("","grpId",""),uK=["direction","orientation","inOut","shape","spokes"],fK=(e,t)=>({...e.direction===null?{}:{direction:e.direction},...e.orientation===null?{}:{orientation:e.orientation},...e.inOut===null?{}:{inOut:e.inOut},...e.shape===null?{}:{shape:e.shape},...e.spokes===null?{}:{spokes:e.spokes},...t.spinDirection===null?{}:{spinDirection:t.spinDirection},...t.spinDegrees===null?{}:{spinDegrees:t.spinDegrees},...t.scaleDirection===null?{}:{scaleDirection:t.scaleDirection},...t.scalePercent===null?{}:{scalePercent:t.scalePercent},...t.transparencyPercent===null?{}:{transparencyPercent:t.transparencyPercent},...t.color===null?{}:{color:t.color}}),hK=(e,t)=>JSON.stringify(e)===JSON.stringify(t),gK="the slide has no animation effects",yK="is one this library cannot edit safely \u2014 it uses a preset, target or start condition that is not modelled here. Read it with getSlideAnimations and leave it as it is",xK="the slide's main animation sequence is nested in a way this library cannot lay out again, so reordering it could change what the other effects do",Kx=(e,t,n)=>{let r=cl(e);if(r===null)throw new Error(`${t}: ${gK}.`);let a=he(r);n(a);let l=e[te].root.children,i=l.indexOf(r);Px(a)?l.splice(i,1):l[i]=a,ce(e),ge(e)},Jx=(e,t,n)=>{let r=ml(e).find(i=>i.step.id===t);if(r===void 0)throw new Error(`${n}: the slide has no animation with id ${t}.`);if(!r.step.editable)throw new Error(`${n}: animation ${t} ${yK}.`);let a=Fp(e),l=a===null?-1:a.steps.findIndex(i=>i.cTn===r.cTn);if(a===null||l<0)throw new Error(`${n}: ${xK}.`);return{layout:a,index:l,node:r,parByCTn:new Map(a.steps.map(i=>[i.cTn,i.par]))}},Zx=(e,t,n,r,a)=>{let l=Mp(e);for(let i of t)if(!n.has(i)&&l.has(i))throw new Error(`${a}: another time node on this slide starts from ${r} (<p:tn val="${i}">), so removing it would leave that condition waiting on nothing.`)},Qx=(e,t)=>{for(let n of e.children){if(n.kind!=="element")continue;let r=p(n,o("p","nvSpPr",d.pml)),a=r===null?null:p(r,o("p","cNvPr",d.pml));if(a!==null&&x(a,o("","id",""))===t)return n;let l=Qx(n,t);if(l!==null)return l}return null},SK=(e,t)=>{let n=Qx(e[te].root,String(t)),r=n===null?null:p(n,o("p","txBody",d.pml));return r===null?0:r.children.filter(a=>a.kind==="element"&&a.name.namespaceURI===d.dml&&a.name.localName==="p").length},bK=(e,t)=>{let n=e.step.target;if(n.kind!=="paragraphs")return null;if(n.firstParagraph!==n.lastParagraph)throw new Error(`${t}: animation ${e.step.id} covers paragraphs ${n.firstParagraph}-${n.lastParagraph} at once, which this library cannot rewrite one paragraph at a time. Remove it and add the effects you want instead.`);return n.firstParagraph},Yx=(e,t,n,r,a,l)=>{let i=e.step.target.shapeId,s=ol(i,t,n),c=Fp(s).steps[0];return AN(c.par,l.next-5),l.next=vx(c.par)+1,r!==null&&Q3(c.cTn,"id",String(r)),a!==null&&Q3(c.cTn,"grpId",a),c},Q3=(e,t,n)=>{e.attrs=e.attrs.map(r=>r.name.namespaceURI===""&&r.name.localName===t?{...r,value:n}:r)},EK=(e,t,n)=>{let r=wd(n.cTn,n.step.target.shapeId),a=new Set(t.steps.map(l=>l.cTn));return ml(e).filter(l=>a.has(l.cTn)&&l.step.target.kind==="paragraphs"&&l.step.target.shapeId===n.step.target.shapeId&&wd(l.cTn,l.step.target.shapeId)===r)},ek=["asOneObject","allAtOnce","byParagraph"],ak=(e,t,n)=>{let r="updateSlideAnimation";Kx(e,r,a=>{let{layout:l,index:i,node:s,parByCTn:c}=Jx(a,t,r),m=l.steps[i],u=bK(s,r),f=u===null?"asOneObject":s.step.build==="allAtOnce"?"allAtOnce":"byParagraph",y=n.build??f;if(!ek.includes(y))throw new RangeError(`${r}: build ${JSON.stringify(y)} is not one of ${ek.join(", ")}.`);let g=n.start??m.start,S=s.step.target.shapeId,E=Ad(a),A=n.effect??s.step.effect,w=Lo(A);if(w==="none"&&y!=="asOneObject")throw new RangeError(`${r}: ${JSON.stringify(A)} animates the shape itself, so it has no text build.`);let T=Co(A),v=me=>{if(n[me]!==void 0)return n[me];let we=s.step[me],Ne=T[me];return we!==null&&Ne?.includes(we)===!0?we:void 0},C=_s(A,{direction:v("direction"),orientation:v("orientation"),inOut:v("inOut"),shape:v("shape"),spokes:v("spokes")},`${r}: animation ${t}`),R=new Set(Ps(A)),N=me=>n[me]!==void 0?n[me]:R.has(me)?s.step[me]??void 0:void 0,_=Rs(A,Object.fromEntries(Ls.map(me=>[me,N(me)])),`${r}: animation ${t}`),k=n.effect!==void 0&&n.effect!==s.step.effect,I=k||uK.some(me=>C[me]!==s.step[me])||Ls.some(me=>!hK(_[me],s.step[me]))||y!==f,K=new Set([s.cTn]),re,Se=null;if(I){if(!Lx(m.par,s.step.effect))throw new Error(`${r}: animation ${t} ${nk}.`);let me=n.durationMs??(k?null:s.step.durationMs),we=n.delayMs??s.step.delayMs,Ne=me===null||mg(A)===null?{}:{durationMs:me},Xe=ve=>({effect:A,...fK(C,_),...Ne,...we===null?{}:{delayMs:we},start:ve}),ze=Qx(e[te].root,String(S)),vn=ze!==null&&Ip(ze),Et=x(s.cTn,pK),xt=w==="none"?null:Et??String(wN(a)+1),it=ve=>({paragraph:ve,build:y,background:vn}),rt=f==="asOneObject"?[s]:EK(a,l,s);if(y!==f&&rt.length>1){let ve=rt.map(at=>c.get(at.cTn));if(!rt.every((at,Cn)=>Lx(ve[Cn],at.step.effect)))throw new Error(`${r}: animation ${t} ${nk}.`);let Pt=new Set(ve.flatMap(at=>[...Qr(at)]));Zx(a,Pt,new Set([String(t)]),"a paragraph of this build",r),K=new Set(rt.map(at=>at.cTn))}else Zx(a,Qr(m.par),new Set([String(t)]),`a behaviour of animation ${t}`,r);if(y===f)re=[Yx(s,Xe(g),it(u),t,xt,E)];else if(y==="asOneObject")re=[Yx(s,Xe(g),it(null),t,xt,E)];else{let ve=SK(e,S);if(ve===0)throw new Error(`${r}: build ${JSON.stringify(y)} needs a shape with text. Shape ${S} has no paragraphs to build.`);re=Array.from({length:ve},(Pt,at)=>Yx(s,Xe(at>0&&y==="allAtOnce"?"withPrevious":g),it(at),at===0?t:null,xt,E))}xt===null?Se=wd(s.cTn,S):TN(a,S,xt,y,w==="shape"&&vn)}else{if(n.delayMs!==void 0&&!DT(s.cTn,tk(n.delayMs,`${r}: delayMs`)))throw new Error(`${r}: animation ${t} ${AK}.`);if(n.durationMs!==void 0&&!Qc(s.cTn,tk(n.durationMs,`${r}: durationMs`)))throw new Error(`${r}: animation ${t} ${TK}.`);re=[{...m,start:g}]}let Ce=l.steps.flatMap(me=>me.cTn===s.cTn?re:K.has(me.cTn)?[]:[me]);if(!Td(a,l,Ce,E))throw new Error(`${r}: ${e1}`);Se!==null&&Cx(a,new Set([Se]))})},tk=(e,t)=>la(e,t),AK="does not start at a plain offset \u2014 its start condition ties it to something else, so a delay would not mean what you asked for",TK="has no length to scale \u2014 it holds until the end of the slide, or one of its behaviours runs for a length this library cannot read. Change the effect instead, or leave its timing as it is",nk="carries timing this library did not author, and changing its preset or its paragraph build would replace the effect and lose that. Remove it and add the effect you want instead",e1="an effect set to start after the one before it now follows one whose length this library cannot measure, so there is no moment to start it at. Give that effect a duration, or start this one on click.",lk=(e,t)=>{let n="removeSlideAnimation";Kx(e,n,r=>{let{layout:a,node:l,parByCTn:i}=Jx(r,t,n),s=wd(l.cTn,l.step.target.shapeId);Zx(r,Qr(i.get(l.cTn)),new Set,`animation ${t}`,n);let c=a.steps.filter(m=>m.cTn!==l.cTn);if(!Td(r,a,c,Ad(r)))throw new Error(`${n}: ${e1}`);Cx(r,new Set([s]))})},ok=(e,t,n)=>{let r="moveSlideAnimation";Kx(e,r,a=>{let l=Jx(a,t,r),{layout:i}=l;if(!Number.isInteger(n)||n<0||n>=i.steps.length)throw new Error(`${r}: index ${n} is outside the slide's ${i.steps.length} main-sequence animations.`);let s=[...i.steps],[c]=s.splice(l.index,1);if(s.splice(n,0,c),!Td(a,i,s,Ad(a)))throw new Error(`${r}: ${e1}`)})},t1=(e,t)=>{let n=cl(e);if(n===null||t.size===0)return rk;let r=he(n),a=ml(r);if(a.find(g=>g.step.targetShapeIds.some(S=>t.has(S))&&g.step.targetShapeIds.some(S=>!t.has(S)))!==void 0)throw new Error(`${tu}: one animation on this slide drives both this shape and a shape that is staying, and this library cannot take one of them out of it. Remove that animation first with removeSlideAnimation.`);let i=new Set(a.filter(g=>g.step.targetShapeIds.some(S=>t.has(S))).map(g=>g.cTn)),s=Qr(r),c=LN(r,t,i,tu),m=Qr(r),u=[...Mp(r)].find(g=>!m.has(g)&&s.has(g));if(u!==void 0)throw new Error(`${tu}: another animation on this slide is timed against one of this shape's effects (<p:tn val="${u}">). Remove that animation first, or the file would be left waiting on a time node that is gone.`);let f=wK(r),y=[...t].find(g=>f.has(String(g)));if(y!==void 0)throw new Error(`${tu}: the slide's animation timing refers to shape ${y} in a way this library does not model, so removing the shape would leave that reference dangling. Clear the slide's animations first with clearSlideAnimations.`);return c?()=>{let g=e[te].root.children,S=g.indexOf(n);S<0||(Px(r)?g.splice(S,1):g[S]=r)}:rk},rk=()=>{},tu="removeShape",wK=e=>{let t=nn(e),n=new Set;if(t===null)return n;for(let r of t.children)if(!(r.kind!=="element"||hr(r)))for(let a of PN(r))n.add(a);return n};var ik=(e,t,n={})=>{let r=t[X],a=t[F],l=n1(a);if(n.preserveGroupTransform){let u=pa(r),f=new Map,y=[u];for(;y.length;){let E=y.pop();for(let A of E.children)A.kind!=="element"||!Lr(A)||(f.set(A,E),A.name.localName==="grpSp"&&y.push(A))}let g=a,S=f.get(g);for(;S&&S!==u;){let E=n1({...S,children:S.children.filter(w=>!Lr(w))}),A=S.children.slice(0,S.children.indexOf(g)).filter(w=>!Lr(w)).length;E.children.splice(A,0,l),l=E,g=S,S=f.get(g)}}let i=wt(e),s=vK(l,i),c=QN(r,e,s);ki(r,e,l,"copyShape"),c();let m=u=>{if(u.name.namespaceURI===d.pml&&u.name.localName==="pic"){let f=Es(u),y=p(u,o("p","nvPicPr",d.pml)),g=y&&p(y,o("p","cNvPr",d.pml));f&&g&&cm(e,f.kind,Number(x(g,o("","id",""))))}for(let f of u.children)f.kind==="element"&&m(f)};return m(l),Mn(e,l)},n1=e=>({kind:"element",name:e.name,attrs:e.attrs.map(t=>({name:t.name,value:t.value})),prefixDecls:new Map(e.prefixDecls),children:e.children.map(t=>t.kind==="element"?n1(t):{...t})}),vK=(e,t)=>{let n=new Map,r=t,a=(l,i)=>{l.name.namespaceURI===(i?d.dml:d.pml)&&(i?["stCxn","endCxn"].includes(l.name.localName):l.name.localName==="cNvPr")&&(l.attrs=l.attrs.map(s=>{if(s.name.namespaceURI!==""||s.name.localName!=="id")return s;if(i)return{...s,value:n.get(s.value)??s.value};let c=String(r++);return n.set(s.value,c),{...s,value:c}}));for(let s of l.children)s.kind==="element"&&a(s,i)};return a(e,!1),a(e,!0),n},CK=new Set(["sp","pic","cxnSp","graphicFrame","grpSp"]),Lr=e=>e.kind==="element"&&e.name?.namespaceURI===d.pml&&CK.has(e.name.localName),sk=e=>{nu(e,"front")},dk=e=>{nu(e,"back")},ck=e=>{nu(e,"forward")};function nu(e,t){let n=F in e?[e]:e,r=n[0];if(!r)return;let a=ha(r);if(!a)return;let l=r[X],i=new Set(n.map(f=>f[F])),s=a.children.filter(f=>Lr(f)),c=new Set(s);if(n.some(f=>f[X]!==l||!c.has(f[F])))throw new Error("Shapes must belong to the same parent container.");let m=[...s];if(t==="front"||t==="back"){let f=s.filter(g=>i.has(g)),y=s.filter(g=>!i.has(g));m=t==="front"?[...y,...f]:[...f,...y]}else if(t==="forward")for(let f=m.length-2;f>=0;f--)i.has(m[f])&&!i.has(m[f+1])&&([m[f],m[f+1]]=[m[f+1],m[f]]);else for(let f=1;f<m.length;f++)i.has(m[f])&&!i.has(m[f-1])&&([m[f-1],m[f]]=[m[f],m[f-1]]);if(m.every((f,y)=>f===s[y]))return;let u=0;a.children=a.children.map(f=>Lr(f)?m[u++]:f),ce(l),Vn(l)}var mk=e=>{let t=ha(e);if(!t)return-1;let n=0;for(let r of t.children)if(Lr(r)){if(r===e[F])return n;n++}return-1},pk=(e,t)=>{let n=F in e?[e]:e,r=n[0];if(!r)return;let a=ha(r);if(!a)return;let l=r[X],i=a.children.filter(S=>Lr(S)),s=new Set(i),c=n.map(S=>S[F]),m=new Set(c);if(m.size!==c.length)throw new Error("Duplicate shapes are not allowed.");if(n.some(S=>S[X]!==l||!s.has(S[F])))throw new Error("Shapes must belong to the same parent container.");let u=i.filter(S=>!m.has(S)),f=Math.max(0,Math.min(t,u.length)),y=[...u.slice(0,f),...c,...u.slice(f)];if(y.every((S,E)=>S===i[E]))return;let g=0;a.children=a.children.map(S=>Lr(S)?y[g++]:S),ce(l),Vn(l)},uk=e=>{nu(e,"backward")},fk=e=>{let t=pa(e),n=new Set;for(let a of t.children)a.kind==="element"&&Lr(a)&&r1(a,n);let r=t1(e,n);t.children=t.children.filter(a=>!Lr(a)),r(),qg(e,n),ce(e),Vn(e)},hk=e=>{let t=e[X],n=ha(e);if(!n)return;let r=n.children.indexOf(e[F]);if(r<0)return;let a=new Set;r1(e[F],a);let l=t1(t,a);n.children.splice(r,1),l(),qg(t,a),ce(t),Vn(t)},r1=(e,t)=>{if(e.name.namespaceURI===d.pml&&e.name.localName==="cNvPr"){let n=Number.parseInt(x(e,o("","id",""))??"",10);Number.isFinite(n)&&t.add(n);return}for(let n of e.children)n.kind==="element"&&r1(n,t)};var gk=(e,t)=>{let n=sh({id:wt(e),...t.name!==void 0?{name:t.name}:{},x:t.x,y:t.y,w:t.w,h:t.h,text:t.text});return Mn(e,n)},yk=(e,t)=>{let n=dh({id:wt(e),...t.name!==void 0?{name:t.name}:{},preset:t.preset,x:t.x,y:t.y,w:t.w,h:t.h,...t.text!==void 0?{text:t.text}:{},...t.textAnchor!==void 0?{textAnchor:t.textAnchor}:{}});return Mn(e,n)},xk=(e,t)=>{let n=ch({id:wt(e),...t.name!==void 0?{name:t.name}:{},from:t.from,to:t.to,...t.color!==void 0?{color:t.color}:{},...t.widthEmu!==void 0?{widthEmu:t.widthEmu}:{}});return Mn(e,n)},Sk=(e,t)=>{let n=Al(e),r=fh({id:wt(e),...t.name!==void 0?{name:t.name}:{},x:t.x,y:t.y,w:t.w,h:t.h,rows:t.rows,...t.colWidths!==void 0?{colWidths:t.colWidths}:{},...t.rowHeights!==void 0?{rowHeights:t.rowHeights}:{},...t.firstRow!==void 0?{firstRow:t.firstRow}:{},...t.bandRow!==void 0?{bandRow:t.bandRow}:{},...n!==null?{textColorHex:n}:{}});return Km(e[P],go),Mn(e,r)},bk=(e,t,n)=>{let r=e[P],a=n.format??ut(t);if(a===null)throw new Error("addSlideImage: could not detect image format. Pass options.format explicitly.");let l=xn(a),i=yn(a),s=1,c=/^\/ppt\/media\/image(\d+)\./;for(let E of r.parts){let A=E.name.match(c);if(A?.[1]!==void 0){let w=Number.parseInt(A[1],10);Number.isFinite(w)&&w>=s&&(s=w+1)}}let m=G(`/ppt/media/image${s}.${i}`);r.contentTypes.defaults.some(E=>E.extension.toLowerCase()===i)||r.contentTypes.defaults.push({extension:i,contentType:l}),r.addPart(m,l,t);let f=r.getRels(e[O])??pe(),y=se(f.items.map(E=>E.id));f.items.push({id:y,type:D.image,target:`../media/image${s}.${i}`,targetMode:"Internal"}),r.setRels(e[O],f);let g=ny({x:n.x,y:n.y,w:n.w,h:n.h},n.fit??"fill",Qa(t)),S=bs({id:wt(e),...n.name!==void 0?{name:n.name}:{},rEmbed:y,x:g.x,y:g.y,w:g.w,h:g.h});return Mn(e,S)};var ru=(e,t,n)=>{let r=j(z(n)),a=fo(r.root),l=[],i={[P]:e,[O]:t,[te]:r,[en]:a,[ne]:l};for(let s of a.shapes)l.push({[X]:i,[F]:s.element,[U]:s});return i},Ek=(e,t)=>e[ne][t]??null,Ak=e=>{let t=e._slidesCache;if(t!==null)return t.length;let r=e[P].getPart(Y);if(!r)return 0;let a=j(z(r.data)).root;return Qt(a).slides.length},Tk=e=>{let t=e[P],n=0;for(let r of t.parts)r.contentType===il&&n++;return n},H=e=>{let t=e._slidesCache;return t!==null?t:Mi(e)},Mi=e=>{let t=new Map((e._slidesCache??[]).map(m=>[m[O],m])),n=e[P],r=n.getPart(Y);if(r===null){let m=[];return e._slidesCache=m,m}let a=n.getRels(Y);if(a===null){let m=[];return e._slidesCache=m,m}let l=j(z(r.data)).root,i=Qt(l),s=[],c=new Map(a.items.map(m=>[m.id,m]));for(let m of i.slides){let u=c.get(m.rId);if(!u)throw new Error(`presentation.xml.rels missing entry for ${m.rId}`);let f=V(Y,u.target),y=n.getPart(f);if(y===null)throw new Error(`slide part ${f} not found`);s.push(t.get(f)??ru(n,f,y.data))}return e._slidesCache=s,s},a1=e=>$r(e[en]),wk=e=>Array.from(a1(e)).length,l1=e=>{let t=[],n=H(e);for(let r=0;r<n.length;r++){let a=n[r],l=Lt(a,"body");t.push({index:r,title:Ra(a),body:l!==null?l[U].text:null})}return t},vk=(e,t=`
|
|
30
|
+
|
|
31
|
+
`)=>{let n=[];for(let r of l1(e)){let a=[];r.title!==null&&a.push(r.title),r.body!==null&&a.push(r.body),a.length>0&&n.push(a.join(`
|
|
32
|
+
`))}return n.join(t)},Ck=(e,t="\f")=>{let n=[];for(let r of H(e))n.push($r(r[en]));return n.join(t)},Lk=e=>{let t=0;for(let n of H(e))t+=Array.from($r(n[en])).length;return t},Pk=e=>H(e).map(t=>t[ne].length),Rk=e=>H(e).map(t=>Array.from($r(t[en])).length),o1=(e,t)=>t[P]!==e[P]?-1:H(e).findIndex(n=>n[O]===t[O]),Nk=(e,t)=>H(e)[t]??null,Dk=(e,t)=>{let n=Te(t);return{index:o1(e,t),title:Ra(t),hidden:Ta(t),shapeCount:Ot(t).length,layoutName:n?n[ue].name:null}},_k=(e,t)=>{let n=t[de],r=[];for(let a of H(e)){let l=Te(a);l!==null&&l[de]===n&&r.push(a)}return r},kk=(e,t)=>{for(let n of H(e)){let r=Ra(n);if(r===null)continue;if(typeof t=="string"?r===t:t.test(r))return n}return null},i1=(e,t)=>{for(let n of H(e))if(n[O]===t)return n;return null},Nd=e=>e[O],Mk=e=>ae(e[te]),Fk=(e,t)=>{for(let n of H(e)){let r=$r(n[en]);if(typeof t=="string"?r.includes(t):t.test(r))return n}return null},Ik=(e,t)=>{let n=[];for(let r of H(e)){let a=$r(r[en]);(typeof t=="string"?a.includes(t):t.test(a))&&n.push(r)}return n},Bk=(e,t)=>{let n=[];for(let r of H(e)){let a=sn(r);a===null||a.length===0||(typeof t=="string"?a.includes(t):t.test(a))&&n.push(r)}return n},Ok=(e,t)=>{let n=a=>typeof t=="string"?a.includes(t):t.test(a),r=[];for(let a of H(e)){if(n($r(a[en]))){r.push(a);continue}let l=sn(a);l!==null&&l.length>0&&n(l)&&r.push(a)}return r},Xk=(e,t,n)=>{let r=0;for(let a of H(e))s1(a,t,n)&&r++;return r},s1=(e,t,n)=>{let r=sn(e);if(r===null||r.length===0)return!1;let a;if(typeof t=="string"){if(!r.includes(t))return!1;a=r.split(t).join(n)}else{let l=t.global?t:new RegExp(t.source,`${t.flags}g`);if(!l.test(r))return!1;l.lastIndex=0,a=r.replace(l,n)}return a===r?!1:(kl(e,a),!0)},$k=e=>{let t=[],n=H(e);for(let r=0;r<n.length;r++){let a=n[r];for(let l of Ot(a))t.push({slide:a,slideIndex:r,shape:l})}return t},jk=o("","show",""),Ta=e=>x(e[te].root,jk)==="0",d1=o("","showMasterSp",""),Ym=e=>{let t=x(e[te].root,d1);return t==="0"||t==="false"},Uk=e=>{let t=x(e[ot].root,d1);return t==="0"||t==="false"},Zm=(e,t)=>{let n=e[te].root;n.attrs=n.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName==="showMasterSp")),t&&n.attrs.push(b(d1,"0")),ce(e)},Gk=e=>Bs(e).length>0,qk=(e,t)=>{let n=e[te].root;n.attrs=n.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName==="show")),t&&n.attrs.push(b(jk,"0")),ce(e)},Hk=(e,t)=>{let n=e[P],r=0;for(let a of n.parts){if(a.contentType!==sl)continue;let l=j(z(a.data)),i=ns(l.root,t);i>0&&(a.data=le(ae(l)),r+=i)}return e._slidesCache=null,r},Vk=(e,t,n)=>{let r=e[P],a=0;for(let l of r.parts){if(l.contentType!==sl)continue;let i=j(z(l.data)),s=ic(i.root,t,n);s>0&&(l.data=le(ae(i)),a+=s)}return e._slidesCache=null,a},zk=(e,t,n)=>{let r=ic(e[te].root,t,n);return r>0&&(ce(e),ge(e)),r};var LK="application/vnd.openxmlformats-officedocument.presentationml.commentAuthors+xml",PK="application/vnd.openxmlformats-officedocument.presentationml.comments+xml",Dd=(e,t,n)=>{let r=e.getRels(t)?.items.find(a=>a.type===n&&a.targetMode!=="External");return r?V(t,r.target):null},au=e=>Dd(e[P],e[O],D.comments),lu=(e,t)=>{let n=G(`${t}.xml`),r=1;for(;e.getPart(n);)n=G(`${t}-${r++}.xml`);return n},m1=e=>{let t=Dd(e,Y,D.commentAuthors),n=t?e.getPart(t):null;return n===null?[]:fg(j(z(n.data)).root).authors.slice()},Wk=(e,t,n,r,a)=>{let l=new Map(t.root.children.filter(c=>c.kind==="element").map(c=>[r(c),c]));e.root.children=e.root.children.filter(c=>{if(c.kind!=="element"||c.name.namespaceURI!==d.pml||c.name.localName!==n)return!0;let m=l.get(r(c));if(!m)return!1;if(l.delete(r(c)),a)for(let u of m.attrs){let f=c.attrs.findIndex(y=>or(y.name,u.name));f<0?c.attrs.push(u):c.attrs[f]={...c.attrs[f],value:u.value}}return!0});let i=[...l.values()];for(let c of i)c.prefixDecls.set("p",d.pml);let s=e.root.children.findIndex(c=>c.kind==="element"&&c.name.namespaceURI===d.pml&&c.name.localName==="extLst");return e.root.children.splice(s<0?e.root.children.length:s,0,...i),e},RK=(e,t)=>{let n=gg(t),r=le(ae(n)),a=Dd(e,Y,D.commentAuthors)??lu(e,"/ppt/commentAuthors"),l=e.getPart(a);if(l!==null){let c=Wk(j(z(l.data)),n,"cmAuthor",m=>x(m,o("","id",""))??"",!0);l.data=le(ae(c));return}e.addPart(a,LK,r);let i=e.getRels(Y)??pe();i.items.some(c=>c.type===D.commentAuthors&&c.targetMode!=="External")||(i.items.push({id:se(i.items.map(c=>c.id)),type:D.commentAuthors,target:a,targetMode:"Internal"}),e.setRels(Y,i))},ou=e=>{let t=e[P],n=au(e),r=n?t.getPart(n):null;return r===null?[]:hg(j(z(r.data)).root).comments.slice()},p1=(e,t)=>{let n=e[P],r=au(e),a=e[O].match(/slide(\d+)\.xml$/)?.[1]??"1",l=r??lu(n,`/ppt/comments/comment${a}`);if(t.length===0){n.getPart(l)!==null&&n.removePart(l);let f=n.getRels(e[O]);if(f!==null){let y=f.items.length;f.items=f.items.filter(g=>g.type!==D.comments),f.items.length!==y&&n.setRels(e[O],f)}return}let i=yg(t),s=le(ae(i)),c=n.getPart(l);if(c!==null){let f=Wk(j(z(c.data)),i,"cm",y=>`${x(y,o("","authorId",""))}:${x(y,o("","idx",""))}`,!1);c.data=le(ae(f));return}n.addPart(l,PK,s);let m=n.getRels(e[O])??pe();m.items.some(f=>f.type===D.comments&&f.targetMode!=="External")||(m.items.push({id:se(m.items.map(f=>f.id)),type:D.comments,target:l,targetMode:"Internal"}),n.setRels(e[O],m))},ka=e=>`${e.authorId}:${e.idx}`,c1=(e,t,n)=>({[Ro]:null,[_n]:e,[Tt]:t,[tn]:null,author:n}),NK=e=>`/ppt/comments/modernComment${e[O].match(/slide(\d+)\.xml$/)?.[1]??"1"}`,u1=e=>Dd(e,Y,D.authors),f1=e=>Dd(e[P],e[O],D.modernComment),Yk=e=>{let t=u1(e),n=t?e.getPart(t):null;return n===null?[]:vg(j(z(n.data)).root)},_d=e=>{let t=f1(e),n=t?e[P].getPart(t):null;return n===null?null:{part:n,doc:j(z(n.data))}},kd=(e,t)=>{if(sm(t.doc.root).length===0){let n=e[P],r=f1(e);r!==null&&n.removePart(r);let a=n.getRels(e[O]);if(a!==null){let l=a.items.length;a.items=a.items.filter(i=>i.type!==D.modernComment),a.items.length!==l&&n.setRels(e[O],a)}return}t.part.data=le(ae(t.doc))},DK=(e,t)=>{let n=u1(e),r=n?e.getPart(n):null;if(r!==null){let i=j(z(r.data));i.root.children.push(im(t)),r.data=le(ae(i));return}let a=lu(e,"/ppt/authors");e.addPart(a,Eg,le(ae(Dg([t]))));let l=e.getRels(Y)??pe();l.items.push({id:se(l.items.map(i=>i.id)),type:D.authors,target:a,targetMode:"Internal"}),e.setRels(Y,l)},_K=(e,t)=>{let n=t.initials??(t.name.length>0?t.name.charAt(0):"?"),r=Yk(e).find(l=>l.name===t.name&&(l.initials??"")===n);if(r)return r;let a={id:qi(),name:t.name,initials:n,userId:"",providerId:""};return DK(e,a),a},kK=e=>{let t=p(e[te].root,o("p","extLst",d.pml));if(t===null)return null;for(let n of Q(t,o("p","ext",d.pml))){if(x(n,o("","uri",""))!==Sg)continue;let r=p(n,o("p14","creationId",xg)),a=r&&x(r,o("","val","")),l=a==null?Number.NaN:Number.parseInt(a,10);if(Number.isFinite(l))return l}return null},MK=e=>{let t=e[P],n=t.getPart(Y),r=t.getRels(Y);if(n===null||r===null)return null;let a=r.items.find(i=>i.type===D.slide&&i.targetMode!=="External"&&V(Y,i.target)===e[O]);if(!a)return null;let l=p(j(z(n.data)).root,o("p","sldIdLst",d.pml));if(l===null)return null;for(let i of Q(l,o("p","sldId",d.pml))){if(x(i,o("r","id",d.officeDocRels))!==a.id)continue;let s=Number.parseInt(x(i,o("","id",""))??"",10);return Number.isFinite(s)?s:null}return null},FK=(e,t)=>{for(let a of sm(t)){let l=Xg(a);if(l!==null)return he(l)}let n=kK(e),r=MK(e);return n===null||r===null?kg():_g(n,r)},IK=e=>{let t=_d(e);if(t!==null)return t;let n=e[P],r=lu(n,NK(e)),a=Bg([]);n.addPart(r,bg,le(ae(a)));let l=n.getRels(e[O])??pe();l.items.push({id:se(l.items.map(s=>s.id)),type:D.modernComment,target:r,targetMode:"Internal"}),n.setRels(e[O],l);let i=n.getPart(r);if(i===null)throw new Error("addSlideComment: the new comment part went missing");return{part:i,doc:a}},h1=e=>m1(e[P]),Zk=(e,t)=>{let n=typeof t=="string"?a=>a===t:a=>t.test(a),r=[];for(let a of H(e))Wt(a).some(l=>n(l.author.name))&&r.push(a);return r},Kk=e=>{let t=new Set,n=[];for(let r of H(e))for(let a of Wt(r))t.has(a.author.id)||(t.add(a.author.id),n.push(a.author));return n},Jk=e=>{let t={};for(let n of H(e))for(let r of Wt(n)){let a=r.author.name;t[a]=(t[a]??0)+1}return t},Qk=e=>H(e).map(n=>Wt(n).length),eM=(e,t)=>{for(let n of h1(e))if(typeof t=="string"?n.name===t:t.test(n.name))return n;return null},tM=(e,t)=>{let n=[];for(let r of H(e))for(let a of Wt(r))(typeof t=="string"?a.author.name===t:t.test(a.author.name))&&n.push(a);return n},nM=(e,t)=>{let n=[];for(let r of H(e))for(let a of Wt(r)){let l=a[Tt].text;(typeof t=="string"?l.includes(t):t.test(l))&&n.push(a)}return n},rM=(e,t)=>{let n=typeof t=="string"?Date.parse(t):t.getTime();if(Number.isNaN(n))return[];let r=[];for(let a of H(e))for(let l of Wt(a)){let i=l[Tt].dt;if(i===null)continue;let s=Date.parse(i);Number.isNaN(s)||s>n&&r.push(l)}return r},aM=(e,t)=>{let n=typeof t=="string"?Date.parse(t):t.getTime();if(Number.isNaN(n))return[];let r=[];for(let a of H(e))for(let l of Wt(a)){let i=l[Tt].dt;if(i===null)continue;let s=Date.parse(i);Number.isNaN(s)||s<n&&r.push(l)}return r},BK=e=>{let t=[];for(let n of H(e))for(let r of Wt(n)){let a=r[Tt].dt;if(a===null)continue;let l=Date.parse(a);Number.isNaN(l)||t.push({comment:r,t:l})}return t},lM=e=>{let t=[...BK(e)];return t.sort((n,r)=>n.t-r.t),t.map(n=>n.comment)},oM=e=>{let t=new Set,n=[];for(let r of Wt(e))t.has(r.author.id)||(t.add(r.author.id),n.push(r.author));return n},g1=e=>{let t=_d(e);if(t===null)return[];let n=Yk(e[P]),r=new Map(n.map((s,c)=>[s.id,c])),a=[],l=0,i=(s,c,m,u)=>{let f=r.get(c.authorId)??-1,y=n[f];return l+=1,{[Ro]:u,[_n]:e,[Tt]:{...u?{parent:{authorId:-1,idx:-1}}:{},authorId:f,idx:l,dt:c.created,text:c.text,position:m},[tn]:{threadId:s.id,id:c.id,status:c.status,authorId:c.authorId},author:{id:f,name:y?.name??"",initials:y?.initials??"",lastIdx:0,clrIdx:null}}};for(let s of Cg(t.doc.root)){let c=i(s,s,s.position,null);a.push(c);for(let m of s.replies)a.push(i(s,m,null,c))}return a},Wt=e=>{let t=e[P],n=m1(t),r=new Map;for(let s of n)r.set(s.id,s);let a=ou(e),l=[];for(let s of a){let c=r.get(s.authorId);if(!c){l.push(c1(e,s,{id:s.authorId,name:"",initials:"",lastIdx:s.idx,clrIdx:null}));continue}l.push(c1(e,s,c))}let i=new Map(l.map(s=>[ka(s[Tt]),s]));for(let s of l){let c=s[Tt].parent;s[Ro]=c?i.get(ka(c))??null:null}return[...l,...g1(e)]},OK=(e,t)=>{let n=e[P],r=(t.date??new Date).toISOString(),a=_K(n,t.author),l=IK(e),i=qi(),s=t.replyTo?.[tn]??null;if(s!==null){let m=om(l.doc.root,s.threadId);if(m===null)throw new Error("addSlideComment: reply parent must exist on this slide");Ig(m,Fg({id:i,authorId:a.id,created:r,text:t.text}))}else l.doc.root.children.push(Mg({id:i,authorId:a.id,created:r,text:t.text,anchor:FK(e,l.doc.root),...t.position?{position:t.position}:{}}));kd(e,l);let c=g1(e).find(m=>m[tn]?.id===i);if(!c)throw new Error("addSlideComment: the new comment did not come back");return c},iM=(e,t)=>{if(t.replyTo&&t.replyTo[_n]!==e)throw new Error("addSlideComment: reply parent must exist on this slide");if(t.replyTo!==void 0?t.replyTo[tn]!==null:f1(e)!==null||au(e)===null&&u1(e[P])!==null)return OK(e,t);let r=ou(e),a=t.replyTo?.[Tt];if(t.replyTo&&!r.some(E=>ka(E)===ka(a)))throw new Error("addSlideComment: reply parent must exist on this slide");let l=(t.date??new Date).toISOString(),i=e[P],s=t.author.initials??(t.author.name.length>0?t.author.name.charAt(0):"?"),c=m1(i),m=c.find(E=>E.name===t.author.name&&E.initials===s);if(!m){let E=-1;for(let A of c)A.id>E&&(E=A.id);m={id:E+1,name:t.author.name,initials:s,lastIdx:0,clrIdx:null},c.push(m)}let u=m.lastIdx+1,f={...m,lastIdx:u},y=c.map(E=>E.id===m.id?f:E);RK(i,y);let g={...a?{parent:{authorId:a.authorId,idx:a.idx}}:{},authorId:f.id,idx:u,dt:l,text:t.text,position:t.position??nm};r.push(g),p1(e,r);let S=c1(e,g,f);return S[Ro]=t.replyTo??null,S},sM=(e,t)=>{let n=e[tn];if(n===null)throw new Error(`${t}: not a modern comment`);let r=_d(e[_n]),a=r===null?null:om(r.doc.root,n.threadId);if(r===null||a===null)throw new Error(`${t}: comment no longer exists`);let l=n.id===n.threadId?a:Lg(a,n.id);if(l===null)throw new Error(`${t}: comment no longer exists`);return{open:r,element:l}},dM=(e,t)=>{if(e[tn]!==null){let{open:m,element:u}=sM(e,"setCommentText");Ng(u,t),kd(e[_n],m),e[Tt]={...e[Tt],text:t};return}let n=e[_n],r=e[Tt],a=au(n),l=a?n[P].getPart(a):null;if(!l)throw new Error("setCommentText: comment no longer exists");let i=j(z(l.data)),s=i.root.children.find(m=>m.kind==="element"&&m.name.namespaceURI===d.pml&&m.name.localName==="cm"&&x(m,o("","authorId",""))===String(r.authorId)&&x(m,o("","idx",""))===String(r.idx));if(!s||s.kind!=="element")throw new Error("setCommentText: comment no longer exists");let c=s.children.find(m=>m.kind==="element"&&m.name.namespaceURI===d.pml&&m.name.localName==="text");if(!c||c.kind!=="element")throw new Error("setCommentText: comment text element is missing");c.children=[{kind:"text",data:t}],l.data=le(ae(i)),e[Tt]={...r,text:t}},cM=e=>{let t=e[tn];if(t!==null){let m=_d(e[_n]);if(m===null)throw new Error("removeSlideComment: comment no longer exists");if(!Og(m.doc.root,t.id))throw new Error("removeSlideComment: comment no longer exists");kd(e[_n],m);return}let n=e[_n],r=e[Tt],a=ou(n),l=new Map;for(let m of a)if(m.parent){let u=ka(m.parent),f=l.get(u)??[];f.push(ka(m)),l.set(u,f)}let i=new Set,s=[ka(r)];for(;s.length;){let m=s.pop();if(!i.has(m)){i.add(m);for(let u of l.get(m)??[])s.push(u)}}let c=a.filter(m=>!i.has(ka(m)));p1(n,c)},mM=e=>{let t=0;for(let n of H(e))t+=y1(n);return t},y1=e=>{let t=ou(e);t.length>0&&p1(e,[]);let n=g1(e);if(n.length>0){let r=_d(e);r!==null&&(r.doc.root.children=[],kd(e,r))}return t.length+n.length},pM=e=>e.author,uM=e=>e[Tt].text,fM=e=>e[Tt].dt,hM=e=>e[Tt].position,gM=e=>e[_n],yM=e=>e[Ro],xM=e=>e[tn]===null?"legacy":"modern",SM=e=>e[tn]?.status??null,bM=(e,t)=>{if(e[tn]===null)throw new Error("setCommentStatus: this comment is in the ECMA-376 format, which cannot record a status");let{open:n,element:r}=sM(e,"setCommentStatus");Rg(r,t),kd(e[_n],n),e[tn]={...e[tn],status:t}};var AM="application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml",XK="application/vnd.openxmlformats-officedocument.theme+xml",TM=o("p","sldMasterId",d.pml),Md=o("p","sldLayoutIdLst",d.pml),su=o("p","sldLayoutId",d.pml),b1=o("","name",""),wM=o("","preserve",""),$K=o("","showMasterSp",""),jK=2147483648,UK=4294967295,GK="Custom Design",qK="Custom Layout",HK={w:12192e3,h:6858e3},ql=(e,t)=>t.startsWith("/")?G(t):V(e,t),E1=e=>{let t=wa(e);return t?{w:t.width,h:t.height}:HK},ea=(e,t)=>{let n=_a(e).find(r=>Nn(G(r),G(t)));if(n===void 0)throw new Error(`${t} is not a slide master of this presentation`);return G(n)},du=(e,t,n)=>{let r=e.getRels(t)?.items??[],a=p(n,Md);if(a===null)return[];let l=[];for(let i of Q(a,su)){let s=r.find(c=>c.id===x(i,ct));s&&l.push(ql(t,s.target))}return l},S1=(e,t)=>{let n=e.getPart(t);if(n===null)throw new Error(`slide layout part missing: ${t}`);let r=j(z(n.data));return{[P]:e,[de]:t,[ot]:r,[ue]:jr(r.root)}},vM=e=>{let t=new Map;for(let n of e.parts){if(n.contentType!==sl)continue;let r=e.getRels(n.name)?.items.find(l=>l.type===D.slideLayout);if(!r)continue;let a=ql(n.name,r.target).toLowerCase();t.set(a,(t.get(a)??0)+1)}return t},A1=(e,t)=>{let n=e.getRels(t)?.items.find(r=>r.type===D.theme);return n?ql(t,n.target):null},CM=(e,t,n)=>{let r=jK-1,a=i=>{for(let s of i){let c=Number(x(s,qn));Number.isFinite(c)&&c>r&&(r=c)}},l=p(t,jt);l&&a(Q(l,TM));for(let i of e.parts){if(i.contentType!==AM)continue;let s=p(j(z(i.data)).root,Md);s&&a(Q(s,su))}if(r+n>UK)throw new Error("the presentation has run out of slide master and layout ids");return Array.from({length:n},(i,s)=>r+1+s)},LM=(e,t)=>{if(!t.has(e))return e;for(let n=1;;n++)if(!t.has(`${n}_${e}`))return`${n}_${e}`},PM=(e,t)=>{let n=e[P],r=ea(e,t);return du(n,r,mt(n,r).doc.root).map(a=>S1(n,a))},RM=(e,t)=>{let n=e[P],{doc:r}=mt(n,ea(e,t));return Qo(Ge(r.root,"sldMaster").shapes)},T1=(e,t)=>{let n=e[P],r=A1(n,ea(e,t));return r===null?"":x(mt(n,r).doc.root,b1)??""},NM=(e,t)=>{let{doc:n}=mt(e[P],ea(e,t)),r=x(n.root,wM);return r==="1"||r==="true"},DM=(e,t,n)=>{let r=e[P],a=A1(r,ea(e,t));if(a===null)throw new Error(`setSlideMasterName: ${t} has no theme`);let l=mt(r,a);cu(l.doc.root,b1,n),An(l)},_M=(e,t,n)=>{let r=mt(e[P],ea(e,t));cu(r.doc.root,wM,n?"1":null),An(r)},cu=(e,t,n)=>{e.attrs=e.attrs.filter(r=>!(r.name.namespaceURI===t.namespaceURI&&r.name.localName===t.localName)),n!==null&&e.attrs.push(b(t,n))},kM=e=>{let t=e[P],n=mt(t,Y),r=E1(e),a=_h(r),[l]=fa(t,"/ppt/slideMasters/slideMaster",1),i=fa(t,"/ppt/slideLayouts/slideLayout",a.length),[s]=fa(t,"/ppt/theme/theme",1),[c,...m]=CM(t,n.doc.root,1+a.length),u=new Set(_a(e).map(w=>T1(e,w))),f=j(op);cu(f.root,b1,LM(GK,u)),t.addPart(s,XK,le(ae(f)));let y=pe(),g=i.map((w,T)=>{let v=`rId${T+1}`;return y.items.push({id:v,type:D.slideLayout,target:yr(l,w),targetMode:"Internal"}),t.addPart(w,il,le(a[T])),t.setRels(w,MM(w,l)),{id:m[T],rId:v}});y.items.push({id:`rId${i.length+1}`,type:D.theme,target:yr(l,s),targetMode:"Internal"}),t.addPart(l,AM,le(Rh(r,g))),t.setRels(l,y);let S=t.getRels(Y)??pe(),E=se(S.items.map(w=>w.id));S.items.push({id:E,type:D.slideMaster,target:yr(Y,l),targetMode:"Internal"}),t.setRels(Y,S);let A=p(n.doc.root,jt);return A===null&&(A=h(jt),n.doc.root.children.unshift(A)),A.children.push(h(TM,{attrs:[b(qn,String(c)),b(ct,E)]})),An(n),l},MM=(e,t)=>({items:[{id:"rId1",type:D.slideMaster,target:yr(e,t),targetMode:"Internal"}]}),VK=(e,t)=>{let n=new Set;for(let r of e.parts){if(!r.name.endsWith(".rels"))continue;let a=zK(r.name);if(!(a===null||t.has(a.toLowerCase())))for(let l of e.getRels(a)?.items??[])l.targetMode!=="External"&&n.add(ql(a,l.target).toLowerCase())}return n},zK=e=>{let t=/^(.*)\/_rels\/([^/]+)\.rels$/.exec(e);return t?.[2]?G(`${t[1]}/${t[2]}`):null},iu=(e,t)=>{e.removePart(t),e.removePart(_t(t))},FM=(e,t)=>{let n=e[P],r=ea(e,t);if(_a(e).length<2)throw new Error("removeSlideMaster: a presentation needs at least one slide master");let a=mt(n,r),l=du(n,r,a.doc.root),i=vM(n);if(l.some(g=>(i.get(g.toLowerCase())??0)>0))throw new Error("removeSlideMaster: slides still use this master");let s=A1(n,r),c=new Set([r,...l].map(g=>g.toLowerCase()));for(let g of l)iu(n,g);iu(n,r),s!==null&&!VK(n,c).has(s.toLowerCase())&&iu(n,s);let m=n.getRels(Y)??pe(),u=m.items.find(g=>g.type===D.slideMaster&&Nn(ql(Y,g.target),r));n.setRels(Y,{items:m.items.filter(g=>g!==u)});let f=mt(n,Y),y=p(f.doc.root,jt);y&&u&&(y.children=y.children.filter(g=>g.kind!=="element"||x(g,ct)!==u.id)),An(f)},IM=(e,t,n={})=>{let r=e[P],a=ea(e,t),l=mt(r,a),i=du(r,a,l.doc.root),s=new Set(i.map(T=>S1(r,T)[ue].name)),c=mt(r,Y),[m]=CM(r,c.doc.root,1),[u]=fa(r,"/ppt/slideLayouts/slideLayout",1);r.addPart(u,il,le(kh(LM(qK,s),E1(e)))),r.setRels(u,MM(u,a));let f=r.getRels(a)??pe(),y=se(f.items.map(T=>T.id));f.items.push({id:y,type:D.slideLayout,target:yr(a,u),targetMode:"Internal"}),r.setRels(a,f);let g=p(l.doc.root,Md);if(g===null){g=h(Md);let T=p(l.doc.root,o("p","clrMap",d.pml));l.doc.root.children.splice(l.doc.root.children.indexOf(T)+1,0,g)}let S=Q(g,su),E=Math.max(0,Math.min(Math.trunc(n.index??S.length),S.length)),A=h(su,{attrs:[b(qn,String(m)),b(ct,y)]}),w=S[E];return g.children.splice(w?g.children.indexOf(w):g.children.length,0,A),An(l),S1(r,u)},WK=e=>{let t=e[de],n=e[P].getRels(t)?.items.find(r=>r.type===D.slideMaster);if(!n)throw new Error(`${t} has no slide master`);return ql(t,n.target)},BM=e=>{let t=e[P],n=e[de];if((vM(t).get(n.toLowerCase())??0)>0)throw new Error("removeSlideLayout: slides still use this layout");let r=WK(e),a=mt(t,r);if(du(t,r,a.doc.root).length<2)throw new Error("removeSlideLayout: a slide master needs at least one layout");let l=t.getRels(r)??pe(),i=l.items.find(c=>c.type===D.slideLayout&&Nn(ql(r,c.target),n));t.setRels(r,{items:l.items.filter(c=>c!==i)});let s=p(a.doc.root,Md);s&&i&&(s.children=s.children.filter(c=>c.kind!=="element"||x(c,ct)!==i.id)),An(a),iu(t,n)},YK={title:new Set(["title","ctrTitle"]),body:new Set(["body","obj"]),dt:new Set(["dt"]),ftr:new Set(["ftr"]),sldNum:new Set(["sldNum"])},OM=(e,t,n,r)=>{let a=YK[n];if(a===void 0)throw new Error(`setSlideMasterPlaceholderIncluded: unknown type ${n}`);let l=mt(e[P],ea(e,t)),i=ei(l.doc.root);if(bl(i,a)!==r){if(r){let s=El(Ph(n,ua(i),E1(e)));$m(i,s,n,Bc)}else ti(i,a);An(l)}},EM=new Set(["title","ctrTitle"]),x1=["dt","ftr","sldNum"],ZK=[10,11,12],w1=e=>ei(e[ot].root),XM=(e,t)=>{let n=w1(e);if(bl(n,EM)!==t){if(t){let r=El(Dh(ua(n))),a=n.children.findIndex(l=>l.kind==="element"&&l.name.localName!=="nvGrpSpPr"&&l.name.localName!=="grpSpPr");n.children.splice(a<0?n.children.length:a,0,r)}else ti(n,EM);Hn(e)}},$M=(e,t)=>{let n=w1(e),r=new Set(x1);if(!t){if(!bl(n,r))return;ti(n,r),Hn(e);return}let a=x1.filter(m=>!bl(n,new Set([m])));if(a.length===0)return;let l=new Set(_y(n)),i=Math.max(12,...l),s=ZK.map(m=>l.has(m)?++i:m),c=Nh(ua(n),s);x1.forEach((m,u)=>{a.includes(m)&&n.children.push(El(c[u]))}),Hn(e)},jM=(e,t)=>{cu(e[ot].root,$K,t?"0":null),Hn(e)},UM=(e,t,n)=>{let r={x:Ae(n.x,"coordinate","addSlideLayoutPlaceholder: x"),y:Ae(n.y,"coordinate","addSlideLayoutPlaceholder: y"),w:Ae(n.w,"positiveCoordinate","addSlideLayoutPlaceholder: w"),h:Ae(n.h,"positiveCoordinate","addSlideLayoutPlaceholder: h")},a=w1(e),l=Math.max(12,..._y(a))+1,i=El(Mh(t,ua(a),l,r));return a.children.push(i),Hn(e),ed(e[ue].shapes).length-1};var Zt=e=>o("p",e,d.pml),GM="{2FDB2607-1784-4EEB-B798-7EB5836EED8A}",qM=o("p14","showMediaCtrls",d.p14),HM=e=>(e&&p(e,Zt("extLst")))?.children.find(n=>n.kind==="element"&&n.name.namespaceURI===d.pml&&n.name.localName==="ext"&&x(n,o("","uri",""))===GM),Fd=(e,t)=>x(e,o("",t,"")),Fi=(e,t,n)=>{let r=e&&Fd(e,t);return r==null?n:r==="1"||r==="true"};function v1(e){let t=e[P],n=t.getRels(Y)??{items:[]},r=n.items.find(i=>i.type===D.presProps);if(r?.targetMode==="External")throw new Error("Presentation properties must be internal.");let a=r&&t.getPart(V(Y,r.target)),l=a&&j(z(a.data));if(l&&(l.root.name.namespaceURI!==d.pml||l.root.name.localName!=="presentationPr"))throw new Error("Invalid presentation properties root.");return{pkg:t,rels:n,rel:r,part:a,doc:l}}var VM=e=>v1(e).doc?.root??null,C1=(e,t)=>{let{pkg:n,rels:r,rel:a,part:l,doc:i}=v1(e),s=i??j(`<p:presentationPr xmlns:p="${d.pml}" xmlns:a="${d.dml}"/>`);s.root.prefixDecls.set("p",d.pml),t(s.root);let c=le(ae(s));if(l){l.data=c;return}let m=a?V(Y,a.target):G("/ppt/presProps.xml");if(!a)for(let u=1;n.getPart(m);u++)m=G(`/ppt/presProps${u}.xml`);n.addPart(m,"application/vnd.openxmlformats-officedocument.presentationml.presProps+xml",c),a||(r.items.push({id:se(r.items.map(u=>u.id)),type:D.presProps,target:m,targetMode:"Internal"}),n.setRels(Y,r))};function zM(e){let{doc:t}=v1(e),n=t?p(t.root,Zt("showPr"))??void 0:void 0,r=n&&p(n,Zt("browse")),a=n&&p(n,Zt("kiosk")),l=n&&p(n,Zt("sldRg")),i=n&&p(n,Zt("custShow")),s=HM(n),c=(s&&p(s,qM))??void 0;return{mode:r?{kind:"browse",showScrollbar:Fi(r,"showScrollbar",!0)}:a?{kind:"kiosk",restart:Number(Fd(a,"restart")??3e5)}:{kind:"present"},slides:l?{kind:"range",start:Number(Fd(l,"st")),end:Number(Fd(l,"end"))}:i?{kind:"customShow",id:Number(Fd(i,"id"))}:{kind:"all"},loop:Fi(n,"loop",!1),showNarration:Fi(n,"showNarration",!1),showAnimation:Fi(n,"showAnimation",!0),useTimings:Fi(n,"useTimings",!0),showMediaControls:Fi(c,"val",!0)}}function WM(e,t){let n=a=>Number.isInteger(a)&&a>=0&&a<=4294967295;if(!t||!t.mode||!t.slides||!["present","browse","kiosk"].includes(t.mode.kind)||!["all","range","customShow"].includes(t.slides.kind)||["loop","showNarration","showAnimation","useTimings"].some(a=>typeof t[a]!="boolean"))throw new Error("Invalid slideshow settings.");if(t.showMediaControls!==void 0&&typeof t.showMediaControls!="boolean")throw new Error("Invalid slideshow media controls setting.");if(t.mode.kind==="browse"&&typeof t.mode.showScrollbar!="boolean")throw new Error("Invalid slideshow scrollbar setting.");if(t.mode.kind==="kiosk"&&!n(t.mode.restart))throw new Error("Invalid kiosk restart interval.");let r=t.slides;if(r.kind==="range"&&(!n(r.start)||!n(r.end)||r.start<1||r.start>r.end||r.end>H(e).length))throw new Error("Invalid slideshow slide range.");if(r.kind==="customShow"&&(!n(r.id)||!ul(e).some(a=>a.id===r.id)))throw new Error("Custom show destination no longer exists.");C1(e,a=>{let l=p(a,Zt("showPr"));if(!l){l=h(Zt("showPr"));let u=a.children.findIndex(f=>f.kind==="element"&&f.name.namespaceURI===d.pml&&["clrMru","extLst"].includes(f.name.localName));a.children.splice(u<0?a.children.length:u,0,l)}let i=(u,f,y)=>{u.attrs=u.attrs.filter(g=>g.name.namespaceURI!==""||g.name.localName!==f),u.attrs.push(b(o("",f,""),y))};for(let u of["loop","showNarration","showAnimation","useTimings"])i(l,u,t[u]?"1":"0");let s=p(l,Zt(t.mode.kind))??h(Zt(t.mode.kind));t.mode.kind==="browse"&&i(s,"showScrollbar",t.mode.showScrollbar?"1":"0"),t.mode.kind==="kiosk"&&i(s,"restart",String(t.mode.restart));let c=r.kind==="all"?"sldAll":r.kind==="range"?"sldRg":"custShow",m=p(l,Zt(c))??h(Zt(c));if(r.kind==="range"&&(i(m,"st",String(r.start)),i(m,"end",String(r.end))),r.kind==="customShow"&&i(m,"id",String(r.id)),l.children=[s,m,...l.children.filter(u=>u.kind!=="element"||u.name.namespaceURI!==d.pml||!["present","browse","kiosk","sldAll","sldRg","custShow"].includes(u.name.localName))],t.showMediaControls!==void 0){let u=p(l,Zt("extLst"));u||(u=h(Zt("extLst")),l.children.push(u));let f=HM(l);f||(f=h(Zt("ext"),{attrs:[b(o("","uri",""),GM)]}),u.children.push(f)),f.children=[h(qM,{prefixDecls:new Map([["p14",d.p14]]),attrs:[b(o("","val",""),t.showMediaControls?"1":"0")]})]}})}var YM="application/vnd.openxmlformats-officedocument.presentationml.notesMaster+xml",ZM="application/vnd.openxmlformats-officedocument.presentationml.handoutMaster+xml",KM="application/vnd.openxmlformats-officedocument.presentationml.notesSlide+xml",KK="application/vnd.openxmlformats-officedocument.theme+xml",L1=o("p","notesSz",d.pml),P1=o("p","prnPr",d.pml),mu=o("","cx",""),pu=o("","cy",""),JM=o("","prnWhat",""),JK={w:6858e3,h:9144e3},QK={w:12192e3,h:6858e3},QM={notesMaster:{rel:D.notesMaster,contentType:YM,stem:"/ppt/notesMasters/notesMaster",list:o("p","notesMasterIdLst",d.pml),entry:o("p","notesMasterId",d.pml),after:[jt]},handoutMaster:{rel:D.handoutMaster,contentType:ZM,stem:"/ppt/handoutMasters/handoutMaster",list:o("p","handoutMasterIdLst",d.pml),entry:o("p","handoutMasterId",d.pml),after:[jt,o("p","notesMasterIdLst",d.pml)]}},R1=(e,t)=>t.startsWith("/")?G(t):V(e,t),eF=(e,t)=>{let n=e.getRels(Y)?.items.find(a=>a.type===QM[t].rel);if(!n)return null;let r=R1(Y,n.target);return e.getPart(r)===null?null:r},Id=e=>{let t=p(mt(e,Y).doc.root,L1),n=Number(t&&x(t,mu)),r=Number(t&&x(t,pu));return n>0&&r>0?{w:n,h:r}:JK},tF=e=>{let t=wa(e);return t?{w:t.width,h:t.height}:QK},eJ=(e,t)=>{let n=e.getRels(Y)?.items??[],r=p(t,jt)?.children.find(c=>c.kind==="element"),a=n.find(c=>r&&c.id===x(r,ct))??n.find(c=>c.type===D.slideMaster),l=a?R1(Y,a.target):Y,i=e.getRels(l)?.items.find(c=>c.type===D.theme),s=i&&e.getPart(R1(l,i.target));return s?s.data:null},tJ=(e,t)=>{let n=e[P],r=eF(n,t);if(r!==null)return r;let a=QM[t],l=mt(n,Y),i=Id(n),[s]=fa(n,a.stem,1),c=t==="notesMaster"?$h(i,tF(e)):jh(i);n.addPart(s,a.contentType,le(c));let m=eJ(n,l.doc.root);if(m===null)throw new Error(`${t}: the presentation has no theme to copy`);let[u]=fa(n,"/ppt/theme/theme",1);n.addPart(u,KK,m.slice()),n.setRels(s,{items:[{id:"rId1",type:D.theme,target:yr(s,u),targetMode:"Internal"}]});let f=n.getRels(Y)??pe(),y=se(f.items.map(E=>E.id));f.items.push({id:y,type:a.rel,target:yr(Y,s),targetMode:"Internal"}),n.setRels(Y,f);let g=l.doc.root,S=p(g,a.list);if(S===null){S=h(a.list);let E=0;for(let A of a.after){let w=p(g,A);w&&(E=g.children.indexOf(w)+1)}g.children.splice(E,0,S)}if(S.children=[h(a.entry,{attrs:[b(ct,y)]})],An(l),t==="notesMaster")for(let E of n.parts){if(E.contentType!==KM)continue;let A=n.getRels(E.name)??pe();A.items.some(w=>w.type===D.notesMaster)||(A.items.push({id:se(A.items.map(w=>w.id)),type:D.notesMaster,target:yr(E.name,s),targetMode:"Internal"}),n.setRels(E.name,A))}return s},nF=(e,t)=>{let n=e[P],r=eF(n,t);return r===null?null:Qo(Ge(mt(n,r).doc.root,t).shapes)},rF=e=>nF(e,"notesMaster"),aF=e=>nF(e,"handoutMaster"),lF=(e,t,n,r,a,l)=>{if(!r.includes(n))throw new Error(`${t}: unknown placeholder type ${n}`);let i=mt(e[P],tJ(e,t)),s=ei(i.doc.root),c=new Set([n]);bl(s,c)!==l&&(l?$m(s,El(a(ua(s))),n,r):ti(s,c)),An(i)},oF=(e,t,n)=>{let r=Id(e[P]);lF(e,"notesMaster",t,Oc,a=>Oh(t,a,r,tF(e)),n)},iF=(e,t,n)=>{let r=Id(e[P]);lF(e,"handoutMaster",t,Xc,a=>Xh(t,a,r),n)},sF=e=>{let t=Id(e[P]);return{width:t.w,height:t.h}},nJ=o("a","xfrm",d.dml),rJ=o("a","off",d.dml),aJ=o("a","ext",d.dml),lJ=o("p","spPr",d.pml),oJ=(e,t,n)=>{for(let r of ei(e).children){if(r.kind!=="element")continue;let a=p(r,lJ),l=a&&p(a,nJ),i=l&&p(l,rJ),s=l&&p(l,aJ);if(!i||!s)continue;let c=Number(x(i,o("","x",""))),m=Number(x(i,o("","y",""))),u=Number(x(s,mu)),f=Number(x(s,pu)),y;if(td(r)==="sldImg"){let w=Math.min(t,n),T=(c+u/2)*t,v=(m+f/2)*n;y=[T-u*w/2,v-f*w/2,u*w,f*w]}else y=[c*t,m*n,u*t,f*n];let[g,S,E,A]=y.map(Math.round);i.attrs=[b(o("","x",""),String(g)),b(o("","y",""),String(S))],s.attrs=[b(mu,String(E)),b(pu,String(A))]}},dF=(e,t)=>{if(t!=="portrait"&&t!=="landscape")throw new Error(`setNotesPageOrientation: unknown orientation ${t}`);let n=e[P],r=Id(n);if(r.w>r.h==(t==="landscape"))return;let a={w:r.h,h:r.w},l=a.w/r.w,i=a.h/r.h;for(let m of n.parts){if(!(m.contentType===YM||m.contentType===ZM||m.contentType===KM))continue;let f=mt(n,m.name);oJ(f.doc.root,l,i),An(f)}let s=mt(n,Y),c=p(s.doc.root,L1);if(c===null){c=h(L1);let m=p(s.doc.root,o("p","sldSz",d.pml)),u=m?s.doc.root.children.indexOf(m)+1:s.doc.root.children.length;s.doc.root.children.splice(u,0,c)}c.attrs=[b(mu,String(a.w)),b(pu,String(a.h))],An(s)},cF=[[1,"handouts1"],[2,"handouts2"],[3,"handouts3"],[4,"handouts4"],[6,"handouts6"],[9,"handouts9"],["outline","outline"]],iJ=6,mF=e=>{let t=VM(e),n=t&&p(t,P1),r=n&&x(n,JM);return cF.find(([,a])=>a===r)?.[0]??iJ},pF=(e,t)=>{let n=cF.find(([r])=>r===t)?.[1];if(n===void 0)throw new Error(`setHandoutSlidesPerPage: unsupported value ${String(t)}`);C1(e,r=>{let a=p(r,P1);if(a===null){a=h(P1);let l=r.children.findIndex(i=>i.kind==="element"&&i.name.namespaceURI===d.pml&&["showPr","clrMru","extLst"].includes(i.name.localName));r.children.splice(l<0?r.children.length:l,0,a)}a.attrs=[...a.attrs.filter(l=>!(l.name.namespaceURI===""&&l.name.localName==="prnWhat")),b(JM,n)]})};var D1=e=>{let t=p(e,_o);if(t!==null)return t;let n=h(_o),r=p(e,jt);if(r===null)return e.children.unshift(n),n;let a=e.children.indexOf(r);return e.children.splice(a+1,0,n),n},_1=e=>{let t=$g-1;for(let r of Q(e,ko)){let a=x(r,qn);if(a===null)continue;let l=Number.parseInt(a,10);Number.isFinite(l)&&l>t&&(t=l)}let n=Math.max($g,t+1);if(n>dm)throw new Error(`sldId allocator exhausted (next would be ${n}, max ${dm})`);return n},k1=e=>{let t=1;for(let n of e.parts){let r=n.name.match(/^\/ppt\/slides\/slide(\d+)\.xml$/);if(r?.[1]!==void 0){let a=Number.parseInt(r[1],10);Number.isFinite(a)&&a>=t&&(t=a+1)}}return t},sJ=e=>{let t=e.getPart(Y);if(!t)throw new Error("presentation.xml is missing");let n=j(z(t.data));if(n.root.name.namespaceURI!==uT.namespaceURI||n.root.name.localName!=="presentation")throw new Error("presentation.xml root is not <p:presentation>");return n},uF=e=>{let t=Wr(e,"blank");if(t)return Hl(e,{layout:t});let n=Ct(e);if(n.length===0)throw new Error("addBlankSlide: package has no slide layouts to inherit from");return Hl(e,{layout:n[0]})},fF=(e,t)=>{let r=Wr(e,"obj")??Ct(e).find(l=>nd(l).some(i=>i.type===null||i.type==="body"));if(!r)throw new Error("addContentSlide: no layout with a body placeholder found");let a=Hl(e,{layout:r});return t.title!==void 0&&Ti(a,t.title),t.body!==void 0&&Xp(a,t.body),a},hF=(e,t)=>{let n=Wr(e,"secHead")??Wr(e,"title")??Ct(e)[0];if(!n)throw new Error("addSectionHeaderSlide: package has no slide layouts to inherit from");let r=Hl(e,{layout:n});return Ti(r,t),r},gF=(e,t)=>{let r=Wr(e,"title")??Wr(e,"obj")??null??Ct(e).find(l=>ni(l)!=="blank")??Ct(e)[0];if(!r)throw new Error("addTitleSlide: package has no slide layouts to inherit from");let a=Hl(e,{layout:r});return Ti(a,t),a},Hl=(e,t)=>N1(e,[t],1/0)[0];function N1(e,t,n){if(!t.length)return[];let r=e[P],a=t.map(({layout:T})=>{if(T[P]!==r)throw new Error("slide layout belongs to another presentation");let v=p(T[ue].root,Pe),C=v&&p(v,kn);if(!C)throw new Error(`layout ${T[de]} missing <p:spTree>`);return C}),l=H(e),i=Math.max(0,Math.min(Math.trunc(n),l.length)),s=sJ(r),c=r.getPart(Y),m=D1(s.root),u=_1(m);if(u+t.length-1>dm)throw new Error("sldId allocator exhausted");let f=k1(r),y=r.getRels(Y)??pe(),g=se(y.items.map(T=>T.id),t.length),S=[],E=t.map(({layout:T},v)=>{let C=f+v,R=G(`/ppt/slides/slide${C}.xml`),N=le(ae(ih(a[v])));r.addPart(R,sl,N);let _=pe();_.items.push({id:se([]),type:D.slideLayout,target:`../slideLayouts/${da(T[de])}`,targetMode:"Internal"}),r.setRels(R,_);let k=g[v];return y.items.push({id:k,type:D.slide,target:`slides/slide${C}.xml`,targetMode:"Internal"}),S.push(h(ko,{attrs:[b(qn,String(u+v)),b(ct,k)]})),ru(r,R,N)}),A=Q(m,ko)[i],w=A?m.children.indexOf(A):m.children.length;return m.children=[...m.children.slice(0,w),...S,...m.children.slice(w)],r.setRels(Y,y),c.data=le(ae(s)),e._slidesCache=[...l.slice(0,i),...E,...l.slice(i)],E}var dJ=(e,t)=>{for(let n of e.parts){if(n.name===t||n.name.endsWith(".rels"))continue;let r=e.getRels(n.name);if(!r)continue;let a=new Set(r.items.filter(i=>i.type!==D.slide||i.targetMode==="External"?!1:(i.target.startsWith("/")?G(i.target):V(n.name,i.target))===t).map(i=>i.id));if(a.size===0)continue;r.items=r.items.filter(i=>!a.has(i.id)),e.setRels(n.name,r);let l=j(z(n.data));yF(l.root,a),n.data=le(ae(l))}},yF=(e,t)=>{e.children=e.children.filter(n=>{if(n.kind!=="element")return!0;let r=n.name.namespaceURI===d.dml&&(n.name.localName==="hlinkClick"||n.name.localName==="hlinkHover"),a=e.name.namespaceURI===d.pml&&e.name.localName==="sldLst"&&n.name.namespaceURI===d.pml&&n.name.localName==="sld";if(!r&&!a)return!0;let l=x(n,ct);return l===null||!t.has(l)});for(let n of ji(e))yF(n,t)},xF=(e,t)=>{let n=e[P],r=t[O];if(t[P]!==n)throw new Error("removeSlide: slide must belong to this presentation");if(n.getPart(r)===null)throw new Error(`removeSlide: ${r} not present in package`);let a=n.getRels(Y);if(!a)throw new Error("presentation.xml has no rels");let l=a.items.find(m=>m.type===D.slide&&m.targetMode!=="External"&&V(Y,m.target)===r);if(!l)throw new Error(`presentation.xml.rels missing entry for slide ${r}`);a.items=a.items.filter(m=>m.id!==l.id),n.setRels(Y,a);let i=n.getPart(Y);if(!i)throw new Error("presentation.xml missing");let s=j(z(i.data)),c=p(s.root,_o);c!==null&&(c.children=c.children.filter(m=>m.kind!=="element"||m.name.namespaceURI!==d.pml||m.name.localName!=="sldId"?!0:x(m,ct)!==l.id)),YT(s.root,l.id),i.data=le(ae(s));for(let m of H(e)){if(m[O]===r)continue;let u=n.getRels(m[O]);if(!u)continue;let f=new Set(u.items.filter(g=>g.type===D.slide&&g.targetMode!=="External"&&V(m[O],g.target)===r).map(g=>g.id));if(!f.size)continue;let y=g=>{g.children=g.children.filter(S=>S.kind!=="element"?!0:S.name.namespaceURI===d.dml&&["hlinkClick","hlinkMouseOver","hlinkHover"].includes(S.name.localName)&&f.has(x(S,ct)??"")?!1:(y(S),!0))};y(m[te].root),u.items=u.items.filter(g=>!f.has(g.id)),n.setRels(m[O],u),ce(m),ge(m)}n.removePart(_t(r)),n.removePart(r),dJ(n,r),Mi(e)},M1=(e,t)=>{let n=e[P],r=n.getPart(Y);if(!r)throw new Error("presentation.xml missing");let a=j(z(r.data)),l=p(a.root,_o);if(!l)return;let i=H(e),s=n.getRels(Y);if(!s)return;let c=new Map;for(let S of s.items)S.type===D.slide&&S.targetMode==="Internal"&&c.set(V(Y,S.target),S.id);let m=l.children.filter(S=>S.kind==="element"&&S.name.namespaceURI===d.pml&&S.name.localName==="sldId"),u=new Map(m.map(S=>[x(S,ct),S])),f=[...i].sort(t),y=[];for(let S of f){let E=c.get(S[O]);if(E===void 0)continue;let A=u.get(E);A&&y.push(A)}let g=l.children.filter(S=>!(S.kind==="element"&&S.name.namespaceURI===d.pml&&S.name.localName==="sldId"));l.children=[...g,...y],r.data=le(ae(a)),Mi(e)},SF=e=>{let t=new Map;for(let[n,r]of H(e).entries())t.set(r,n);M1(e,(n,r)=>(t.get(r)??0)-(t.get(n)??0))},bF=(e,t,n)=>{if(t===n)return;let r=H(e),a=r[t],l=r[n];if(!a)throw new RangeError(`swapSlides: indexA ${t} out of range (have ${r.length})`);if(!l)throw new RangeError(`swapSlides: indexB ${n} out of range (have ${r.length})`);let[i,s]=t<n?[t,n]:[n,t];Bd(e,r[i],s);let c=H(e);Bd(e,c[s-1],i)},Bd=(e,t,n)=>{let r=e[P],a=r.getRels(Y);if(!a)throw new Error("presentation.xml has no rels");let l=a.items.find(S=>S.type===D.slide&&S.targetMode==="Internal"&&V(Y,S.target)===t[O]);if(!l)throw new Error(`moveSlide: slide ${t[O]} has no rel`);let i=r.getPart(Y);if(!i)throw new Error("presentation.xml missing");let s=j(z(i.data)),c=p(s.root,_o);if(!c)throw new Error("presentation.xml has no <p:sldIdLst>");let u=c.children.filter(S=>S.kind==="element"&&S.name.namespaceURI===d.pml&&S.name.localName==="sldId").find(S=>x(S,ct)===l.id);if(!u)throw new Error(`moveSlide: <p:sldId> for ${l.id} not found`);let f=c.children.filter(S=>S!==u),y=f.filter(S=>S.kind==="element"&&S.name.namespaceURI===d.pml&&S.name.localName==="sldId"),g=Math.max(0,Math.min(n,y.length));if(g===y.length)f.push(u);else{let S=y[g],E=S===void 0?f.length:f.indexOf(S);f.splice(E,0,u)}c.children=f,i.data=le(ae(s)),Mi(e)},F1=(e,t)=>{let n=e[P];if(t[P]!==n)throw new Error("duplicateSlide: slide belongs to another presentation");let r=t[O];if(!n.getPart(r))throw new Error(`duplicateSlide: source ${r} not found`);let l=n.getPart(Y);if(!l)throw new Error("presentation.xml missing");let i=j(z(l.data)),s=D1(i.root),c=_1(s),m=k1(n),u=G(`/ppt/slides/slide${m}.xml`);Xw(n,r,u,new Set([D.slideLayout,D.slideMaster,D.notesMaster,D.handoutMaster,D.theme,D.slide,D.image,D.media,D.video,D.audio]));let f=n.getRels(Y)??pe(),y=se(f.items.map(E=>E.id));if(f.items.push({id:y,type:D.slide,target:`slides/slide${m}.xml`,targetMode:"Internal"}),n.setRels(Y,f),s.children.push(h(ko,{attrs:[b(qn,String(c)),b(ct,y)]})),l.data=le(ae(i)),e._slidesCache!==null){let E=ru(n,u,n.getPart(u).data);return e._slidesCache=[...e._slidesCache,E],E}let g=H(e),S=g[g.length-1];if(!S)throw new Error("duplicateSlide: post-condition failed");return S};function EF(e,t,n){if(Number.isNaN(t))throw new RangeError("slide index must not be NaN");return"layout"in n?N1(e,[n],t)[0]:N1(e,n,t)}var AF=(e,t,n)=>{let r=F1(e,n);Bd(e,r,t);let a=H(e),l=Math.max(0,Math.min(t,a.length-1));return a[l]},I1=(e,t,n)=>{let r=t[P],a=t[O];if(!r.getPart(a))throw new Error(`importSlide: source ${a} not found`);let i=r.getRels(a),s=e[P],c=s.getPart(Y);if(!c)throw new Error("presentation.xml missing in target");let m=j(z(c.data)),u=D1(m.root),f=_1(u),y=k1(s),g=G(`/ppt/slides/slide${y}.xml`),S=n?.[de];if(S&&s.getPart(S)===null)throw new Error(`importSlide: layout ${S} not in target package`);let E=i?.items.find(k=>k.type===D.slideLayout),A=new Map;E&&S&&A.set(V(a,E.target),S);let w=Sl(r,s,new Map([[a,g]]),new Set,A);if(!E&&S){let k=s.getRels(g)??pe();k.items.push({id:se(k.items.map(M=>M.id)),type:D.slideLayout,target:S,targetMode:"Internal"}),s.setRels(g,k)}let T=s.getRels(Y)??pe(),v=o("p","sldMasterId",d.pml),C=[...w.values()].filter(k=>s.getPart(k)?.contentType.endsWith("slideMaster+xml"));if(C.length){let k=p(m.root,jt);k||(k=h(jt),m.root.children.unshift(k));let M=new Set(Q(k,v).map(K=>Number(x(K,qn)))),I=2147483648;for(let K of C){for(;M.has(I);)I++;M.add(I);let re=se(T.items.map(Se=>Se.id));T.items.push({id:re,type:D.slideMaster,target:K,targetMode:"Internal"}),k.children.push(h(v,{attrs:[b(qn,String(I)),b(ct,re)]}))}}let R=se(T.items.map(k=>k.id));T.items.push({id:R,type:D.slide,target:`slides/slide${y}.xml`,targetMode:"Internal"}),s.setRels(Y,T),u.children.push(h(ko,{attrs:[b(qn,String(f)),b(ct,R)]})),c.data=le(ae(m)),Mi(e);let N=H(e),_=N[N.length-1];if(!_)throw new Error("importSlide: post-condition failed");return _},TF=(e,t,n)=>{let r=H(t),a=[],l=typeof n=="function"?n:()=>n;for(let i=0;i<r.length;i++){let s=r[i],c=l(s,i);a.push(I1(e,s,c))}return a};var cJ={shape:"nvSpPr",picture:"nvPicPr",connector:"nvCxnSpPr",graphicFrame:"nvGraphicFramePr",group:"nvGrpSpPr"};function ar(e){let t=p(e.element,o("p",cJ[e.kind],d.pml)),n=t&&p(t,o("p","nvPr",d.pml));return n?p(n,o("p","ph",d.pml)):null}function Ma(e){let t=p(e,o("p","cSld",d.pml)),n=t&&p(t,o("p","spTree",d.pml));return new Set(n?.children??[])}function B1(e){return e==="ctrTitle"?"title":e===null||e==="obj"||e==="subTitle"?"body":e}var X1=e=>{let t=Te(e);if(!t)return 0;let n=Ma(t[ue].root),r=new Map;for(let f of t[ue].shapes)n.has(f.element)&&ar(f)&&!r.has(f.placeholderIdx??0)&&r.set(f.placeholderIdx??0,f);let a=new Map,l=e[P],i=G(t[de]),s=l.getRels(i)?.items.find(f=>f.type===D.slideMaster),c=s&&l.getPart(V(i,s.target));if(c){let f=j(z(c.data)).root,y=Ma(f);for(let g of Ge(f,"sldMaster").shapes){let S=B1(g.placeholderType);y.has(g.element)&&ar(g)&&!a.has(S)&&a.set(S,g)}}let m=Ma(e[te].root),u=0;for(let f of Ot(e)){let y=f[U];if(!m.has(f[F])||!ar(y))continue;let g=r.get(y.placeholderIdx??0);if(!g)continue;let S=g,E=Rt(S.element,S.kind),A=At(S.element,S.kind);if(!E||!A){let T=a.get(B1(g.placeholderType));if(!T)continue;S=T,E=Rt(S.element,S.kind),A=At(S.element,S.kind)}if(!E||!A)continue;let w=f[F];un(w,y.kind,E.x,E.y),fn(w,y.kind,A.w,A.h),za(w,y.kind,pr(S.element,S.kind)),Wa(w,y.kind,ur(S.element,S.kind)??{horizontal:!1,vertical:!1}),u++}return u&&(ce(e),ge(e)),u},$1=e=>{let t=Te(e);if(!t)return 0;let n=new Set;for(let i of Ot(e)){let s=i[U];ar(s)&&n.add(s.placeholderIdx??0)}let r=Ma(t[ue].root),a=[],l=wt(e);for(let i of t[ue].shapes){if(!r.has(i.element))continue;let s=ar(i),c=i.placeholderIdx??0;!s||n.has(c)||(a.push(Ss(l++,s)),n.add(c))}return a.length?(O1(e,a),a.length):0};function O1(e,t){let n=pa(e),r=n.children.findIndex(a=>a.kind==="element"&&a.name.namespaceURI===d.pml&&a.name.localName==="extLst");n.children.splice(r<0?n.children.length:r,0,...t),ce(e),Vn(e)}var wF=(e,t,n={})=>{let r=Lt(e,t);if(r)return r;let a=Te(e);if(!a)return null;if(n.source==="master"){let i=e[P],s=G(a[de]),c=i.getRels(s)?.items.find(w=>w.type===D.slideMaster),m=c&&i.getPart(V(s,c.target));if(!m)return null;let u=j(z(m.data)).root,f=Ma(u);if(!Ge(u,"sldMaster").shapes.some(w=>f.has(w.element)&&ar(w)&&w.placeholderType===B1(t)))return null;let g=new Set([...a[ue].shapes.map(w=>w.placeholderIdx??0),...Ot(e).map(w=>w[U].placeholderIdx??0)]),E=4294967295;for(;g.has(E);)E--;let A=h(o("p","ph",d.pml),{attrs:[b(o("","type",""),t),b(o("","idx",""),String(E))]});return O1(e,[Ss(wt(e),A)]),Lt(e,t)}let l=Ma(a[ue].root);for(let i of a[ue].shapes){if(!l.has(i.element)||(i.placeholderType??"body")!==t)continue;let s=ar(i);if(s)return O1(e,[Ss(wt(e),s)]),Lt(e,t)}return null},j1=e=>{let t=Te(e);if(!t)return 0;let n=Ma(t[ue].root),r=new Set;for(let l of t[ue].shapes)n.has(l.element)&&ar(l)&&r.add(l.placeholderIdx??0);let a=0;for(let l of Ot(e)){let i=l[U];if(!ar(i)||!r.has(i.placeholderIdx??0))continue;let s=p(l[F],o("p","txBody",d.pml));s&&(Wb(s),a++)}return a&&(ce(e),ge(e)),a},mJ=new Set(["prstGeom","custGeom","noFill","solidFill","gradFill","blipFill","pattFill","grpFill","ln","effectLst","effectDag","scene3d","sp3d"]),vF=e=>{let t=Te(e);if(!t)return 0;$1(e),X1(e),j1(e);let n=Ma(t[ue].root),r=new Set;for(let l of t[ue].shapes)n.has(l.element)&&ar(l)&&r.add(l.placeholderIdx??0);let a=0;for(let l of Ot(e)){let i=l[U],s=l[F];if(!ar(i)||!r.has(i.placeholderIdx??0))continue;let c=p(s,o("p","spPr",d.pml));c&&(c.attrs=c.attrs.filter(m=>m.name.namespaceURI!==""||m.name.localName!=="bwMode"),c.children=c.children.filter(m=>m.kind!=="element"||m.name.namespaceURI!==d.dml||!mJ.has(m.name.localName))),s.children=s.children.filter(m=>m.kind!=="element"||m.name.namespaceURI!==d.pml||m.name.localName!=="style"),a++}return a&&(ce(e),ge(e)),a};var CF=["noGrp","noRot","noMove","noResize"],U1=[...CF,"noEditPoints","noAdjustHandles","noChangeArrowheads","noChangeShapeType"],pJ=new Map([["sp",{parent:"nvSpPr",properties:"cNvSpPr",element:"spLocks",flags:U1}],["cxnSp",{parent:"nvCxnSpPr",properties:"cNvCxnSpPr",element:"cxnSpLocks",flags:U1}],["pic",{parent:"nvPicPr",properties:"cNvPicPr",element:"picLocks",flags:U1}],["grpSp",{parent:"nvGrpSpPr",properties:"cNvGrpSpPr",element:"grpSpLocks",flags:[...CF,"noUngrp"]}],["graphicFrame",{parent:"nvGraphicFramePr",properties:"cNvGraphicFramePr",element:"graphicFrameLocks",flags:["noGrp","noMove","noResize"]}]]),LF=o("","noChangeAspect","");function uu(e){let t=pJ.get(e[F].name.localName);if(!t)return null;let n=p(e[F],o("p",t.parent,d.pml)),r=n&&p(n,o("p",t.properties,d.pml));return r?{config:t,properties:r}:null}var PF=e=>{let t=uu(e);if(!t)return!1;let n=p(t.properties,o("a",t.config.element,d.dml));return!!n&&["noMove","noResize"].every(r=>{let a=x(n,o("",r,""));return a==="1"||a==="true"})},RF=e=>{let t=uu(e);if(!t)return!1;let n=p(t.properties,o("a",t.config.element,d.dml));if(!n)return!1;let r=x(n,LF);return r==="1"||r==="true"},NF=(e,t)=>{let n=(Array.isArray(e)?e:[e]).map(r=>{let a=uu(r);if(!a)throw new Error("setShapeLocked: shape has no supported nonvisual drawing properties");return{shape:r,...a}});for(let{config:r,properties:a}of n){let l=p(a,o("a",r.element,d.dml));if(!l){if(!t)continue;l=h(o("a",r.element,d.dml)),a.children.unshift(l)}let i=new Set(r.flags);if(l.attrs=l.attrs.filter(s=>s.name.namespaceURI!==""||!i.has(s.name.localName)),t)for(let s of i)l.attrs.push(b(o("",s,""),"1"));!l.attrs.length&&!l.children.length&&(a.children=a.children.filter(s=>s!==l))}for(let r of new Set(n.map(({shape:a})=>a[X])))ce(r),ge(r)},DF=(e,t)=>{let n=(Array.isArray(e)?e:[e]).map(r=>{let a=uu(r);if(!a)throw new Error("setShapeAspectRatioLocked: shape has no supported nonvisual drawing properties");return{shape:r,...a}});for(let{config:r,properties:a}of n){let l=p(a,o("a",r.element,d.dml));if(!l){if(!t)continue;l=h(o("a",r.element,d.dml)),a.children.unshift(l)}l.attrs=l.attrs.filter(i=>i.name.namespaceURI!==""||i.name.localName!=="noChangeAspect"),t&&l.attrs.push(b(LF,"1")),!l.attrs.length&&!l.children.length&&(a.children=a.children.filter(i=>i!==l))}for(let r of new Set(n.map(({shape:a})=>a[X])))ce(r),ge(r)};var wn=e=>o("a",e,d.dml),uJ=27273042316900;function Fa(e,t,n=!1){if(!Number.isFinite(e))throw new Error(`setShapeCustomGeometry: ${t} must be finite`);let r=Math.round(e);if(Math.abs(r)>uJ||n&&r<=0)throw new Error(`setShapeCustomGeometry: ${t} is out of range`);return String(r)}var _F=(e,t)=>h(wn("pt"),{attrs:[b(o("","x",""),Fa(e.x,`${t}.x`)),b(o("","y",""),Fa(e.y,`${t}.y`))]});function fJ(e,t){switch(e.kind){case"moveTo":case"lnTo":return h(wn(e.kind),{children:[_F(e.pt,t)]});case"quadBezTo":case"cubicBezTo":return h(wn(e.kind),{children:e.pts.map((n,r)=>_F(n,`${t}.pts[${r}]`))});case"arcTo":return h(wn("arcTo"),{attrs:[b(o("","wR",""),Fa(e.wR,`${t}.wR`)),b(o("","hR",""),Fa(e.hR,`${t}.hR`)),b(o("","stAng",""),Fa(e.stAng,`${t}.stAng`)),b(o("","swAng",""),Fa(e.swAng,`${t}.swAng`))]});case"close":return h(wn("close"));default:{let n=e;throw new Error(`setShapeCustomGeometry: unknown command ${JSON.stringify(n)}`)}}}function hJ(e,t){let n=`paths[${t}]`;if(e.commands.length===0||e.commands[0].kind!=="moveTo")throw new Error(`setShapeCustomGeometry: ${n} must start with moveTo`);let r=[b(o("","w",""),Fa(e.w,`${n}.w`,!0)),b(o("","h",""),Fa(e.h,`${n}.h`,!0))];return e.fill!==void 0&&e.fill!=="norm"&&r.push(b(o("","fill",""),e.fill)),e.stroke===!1&&r.push(b(o("","stroke",""),"0")),h(wn("path"),{attrs:r,children:e.commands.map((a,l)=>fJ(a,`${n}.commands[${l}]`))})}var kF=(e,t)=>{if(e[U].kind!=="shape")throw new Error("setShapeCustomGeometry: only shapes (p:sp) carry custom geometry");if(t.paths.length===0)throw new Error("setShapeCustomGeometry: at least one path is required");let n=h(wn("custGeom"),{children:[h(wn("avLst")),h(wn("gdLst")),h(wn("ahLst")),h(wn("cxnLst")),h(wn("rect"),{attrs:["l","t","r","b"].map(l=>b(o("",l,""),l))}),h(wn("pathLst"),{children:t.paths.map(hJ)})]}),r=Re(e);r.children=r.children.filter(l=>!(l.kind==="element"&&l.name.namespaceURI===d.dml&&["prstGeom","custGeom"].includes(l.name.localName)));let a=r.children.findIndex(l=>l.kind==="element"&&l.name.namespaceURI===d.dml&&l.name.localName==="xfrm");r.children.splice(a+1,0,n),J(e)};var q1=o("","lang",""),G1=o("a","rPr",d.dml),gJ=o("p","txBody",d.pml),yJ=/^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$/,FF=new Set(["r","fld","br"]),MF=(e,t)=>{e.attrs=[...e.attrs.filter(n=>!(n.name.namespaceURI===""&&n.name.localName==="lang")),b(q1,t)]},IF=(e,t)=>{if(!yJ.test(t))throw new Error(`setShapeTextLanguage: "${t}" is not a language tag`);let n=ma(e);kt(n,r=>{if(r.name.namespaceURI===d.dml){if(r.name.localName==="endParaRPr")MF(r,t);else if(FF.has(r.name.localName)){let a=p(r,G1);a||(a=h(G1),r.children.unshift(a)),MF(a,t)}}}),J(e)},BF=e=>{if(e[U].kind!=="shape")return null;let t=p(e[F],gJ);if(!t)return null;let n=null;return kt(t,r=>{n!==null||r.name.namespaceURI!==d.dml||(r.name.localName==="rPr"||r.name.localName==="endParaRPr")&&(n=x(r,q1))}),n},OF=(e,t)=>{let n=[];for(let r of Qe(e,t).children){if(r.kind!=="element"||r.name.namespaceURI!==d.dml||!FF.has(r.name.localName))continue;let a=p(r,G1);n.push(a?x(a,q1):null)}return n};var xJ=o("p","style",d.pml),SJ=new Set(["noFill","solidFill","gradFill","pattFill","blipFill","grpFill"]),bJ=(e,t)=>{if(e===void 0)return;let n=tt(e);return t?.length&&n.children.push(...lt(t)),n},fu=(e,t)=>{let n=t.idx;if(e==="fontRef"&&n!=="major"&&n!=="minor"&&n!=="none")throw new RangeError(`setShapeStyle: invalid fontRef index ${String(n)}`);if(e!=="fontRef"&&(typeof n!="number"||!Number.isInteger(n)||n<0||n>4294967295))throw new RangeError(`setShapeStyle: invalid ${e} index ${n}`);let r=bJ(t.color,t.colorTransforms);return h(o("a",e,d.dml),{attrs:[b(o("","idx",""),String(n))],...r?{children:[r]}:{}})},XF=(e,t)=>{let n=e[F],r=h(xJ,{children:[fu("lnRef",t.line),fu("fillRef",t.fill),fu("effectRef",t.effect),fu("fontRef",t.font)]}),a=Re(e);n.attrs=n.attrs.filter(i=>!(i.name.namespaceURI===""&&i.name.localName==="useBgFill")),a.children=a.children.filter(i=>i.kind!=="element"||!(i.name.namespaceURI===d.dml&&(i.name.localName==="ln"||i.name.localName==="effectLst"||i.name.localName==="effectDag"||SJ.has(i.name.localName)))),n.children=n.children.filter(i=>!(i.kind==="element"&&i.name.namespaceURI===d.pml&&i.name.localName==="style"));let l=n.children.findIndex(i=>i.kind==="element"&&i.name.namespaceURI===d.pml&&i.name.localName==="spPr");n.children.splice(l<0?n.children.length:l+1,0,r),J(e)};var $F=(e,t={})=>{if(e.length<2)throw new Error("groupShapes: at least 2 shapes are required");let n=e[0][X],r=ha(e[0]);if(!r)throw new Error("groupShapes: shape is not attached to the slide");let a=new Set(r.children),l=new Set,i=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY,c=Number.NEGATIVE_INFINITY,m=Number.NEGATIVE_INFINITY;for(let S of e){if(S[X]!==n)throw new Error("groupShapes: all shapes must belong to the same slide");let E=S[F];if(l.has(E))throw new Error(`groupShapes: shape "${S[U].name}" was passed twice`);if(l.add(E),!a.has(E))throw new Error(`groupShapes: shape "${S[U].name}" is not a direct child of the same parent as the other shapes`);let A=S[U].kind,w=Rt(E,A),T=At(E,A);if(w===null||T===null)throw new Error(`groupShapes: shape "${S[U].name}" has no explicit position/size (placeholders that inherit geometry from the layout can't be grouped)`);i=Math.min(i,w.x),s=Math.min(s,w.y),c=Math.max(c,w.x+T.w),m=Math.max(m,w.y+T.h)}let u=r.children.filter(S=>S.kind==="element"&&l.has(S)),f=mh({id:wt(n),...t.name!==void 0?{name:t.name}:{},x:i,y:s,w:c-i,h:m-s,children:u}),y=r.children.findIndex(S=>S.kind==="element"&&l.has(S));r.children=r.children.filter(S=>S.kind!=="element"||!l.has(S)),r.children.splice(y,0,f),ce(n),Vn(n);let g=n[ne].find(S=>S[F]===f);if(!g)throw new Error("groupShapes: post-condition failed");return g},jF=e=>{if(e[U].kind!=="group")throw new Error("ungroupShapes: shape is not a group");let t=Zp(e);if(!t)throw new Error("ungroupShapes: group has no <a:xfrm> on <p:grpSpPr>");let{outer:n,inner:r}=t,a=r.w===0?1:n.w/r.w,l=r.h===0?1:n.h/r.h,i=pr(e[F],"group"),s=ur(e[F],"group"),c=i*Math.PI/180,m=Math.cos(c),u=Math.sin(c),f=n.x+n.w/2,y=n.y+n.h/2,g=e[X],S=ha(e);if(!S)throw new Error("ungroupShapes: group is not attached to the slide");let E=e[F],A=S.children.indexOf(E);if(A<0)throw new Error("ungroupShapes: group is not attached to the slide");let T=el(E).map(C=>{let R=Rt(C.element,C.kind),N=At(C.element,C.kind);if(R!==null&&N!==null){let _=N.w*a,k=N.h*l,M=(n.x+(R.x+N.w/2-r.x)*a-f)*(s.horizontal?-1:1),I=(n.y+(R.y+N.h/2-r.y)*l-y)*(s.vertical?-1:1);if(un(C.element,C.kind,Math.round(f+M*m-I*u-_/2),Math.round(y+M*u+I*m-k/2)),fn(C.element,C.kind,Math.round(_),Math.round(k)),i!==0||s.horizontal||s.vertical){let K=pr(C.element,C.kind),re=ur(C.element,C.kind);za(C.element,C.kind,i+(s.horizontal!==s.vertical?-K:K)),Wa(C.element,C.kind,{horizontal:s.horizontal!==re.horizontal,vertical:s.vertical!==re.vertical})}}return C.element});S.children.splice(A,1,...T),ce(g),Vn(g);let v=new Map(g[ne].map(C=>[C[F],C]));return T.map(C=>{let R=v.get(C);if(!R)throw new Error("ungroupShapes: post-condition failed");return R})};var qF=(e,t)=>{if(e[U].kind!=="picture")throw new Error(`${t} only works on picture shapes; ${e[U].kind} is not one`)},HF=(e,t)=>{if(qF(e,"setShapePictureStyle"),!Rf(t))throw new Error(`setShapePictureStyle: "${String(t)}" is not a built-in picture style`);Nf(Re(e),t),J(e)},VF=e=>{if(e[U].kind!=="picture")return null;let t=p(e[F],o("p","spPr",d.pml));return t?Df(t):null},EJ=new Set(["email","screen","print","hqprint","none"]),zF=e=>e!==null&&EJ.has(e),WF=o("","cstate",""),UF="{28A0092B-C50C-407E-A947-70E740481C1C}",GF=o("a","extLst",d.dml),AJ=o("a","ext",d.dml),YF=e=>{let t=p(e[F],o("p","blipFill",d.pml));return t?p(t,o("a","blip",d.dml)):null},ZF=e=>{if(e[U].kind!=="picture")return null;let t=YF(e),n=t?x(t,WF):null;return zF(n)?n:null},KF=(e,t)=>{if(qF(e,"setShapeImageCompressionState"),t!==null&&!zF(t))throw new Error(`setShapeImageCompressionState: "${String(t)}" is not an ST_BlipCompression value`);let n=YF(e);if(!n)throw new Error("setShapeImageCompressionState: the picture has no <a:blip>");n.attrs=n.attrs.filter(a=>!(a.name.namespaceURI===""&&a.name.localName==="cstate"));let r=p(n,GF);if(r&&(r.children=r.children.filter(a=>!(a.kind==="element"&&a.name.namespaceURI===d.dml&&a.name.localName==="ext"&&x(a,o("","uri",""))?.toUpperCase()===UF)),r.children.some(a=>a.kind==="element")||(n.children=n.children.filter(a=>a!==r),r=null)),t!==null){n.attrs.push(b(WF,t));let a=h(AJ,{attrs:[b(o("","uri",""),UF)],children:[h(o("a14","useLocalDpi",d.a14),{prefixDecls:new Map([["a14",d.a14]])})]});r?r.children.push(a):n.children.push(h(GF,{children:[a]}))}J(e)};var TJ=new Set(["noFill","solidFill","gradFill","blipFill","pattFill","grpFill","ln","effectLst","effectDag","scene3d","sp3d"]),JF=e=>{if(gd(e)?.kind!=="video")throw new Error("resetShapeVideoFormatting requires a video shape");Hp(e,"rect"),Rp(e);let t=Re(e);t.children=t.children.filter(n=>n.kind!=="element"||n.name.namespaceURI!==d.dml||!TJ.has(n.name.localName)),J(e)};var QF=(e,t)=>{if(!Number.isInteger(t)||t<1||t>12)throw new RangeError("Background style must be an integer from 1 to 12");let a=_i(e);if(!a)throw new Error("Slide has no master");let l=e[P],i=G(a),s=l.getPart(i);if(!s)throw new Error(`Missing slide master: ${i}`);let c=j(z(s.data)),m=Math.floor((t-1)/4),u=Wn(l,i),f=u&&p(u,o("a","themeElements",d.dml)),y=f&&p(f,o("a","fmtScheme",d.dml));if(!(y&&p(y,o("a","bgFillStyleLst",d.dml)))?.children.filter(S=>S.kind==="element")[m])throw new Error(`Theme has no background fill style ${m+1}`);e4(c.root,t),s.data=le(ae(c))};function e4(e,t){let a=Math.floor((t-1)/4),l=(t-1)%4,i=p(e,Pe),s=p(e,o("p","clrMap",d.pml));if(!i||!s)throw new Error("Slide master requires cSld and clrMap");let c=h(o("p","bgRef",d.pml),{attrs:[b(o("","idx",""),String(1001+a))],children:[h(o("a","schemeClr",d.dml),{attrs:[b(o("","val",""),l===0||l===3?"bg1":"bg2")]})]}),m=h(o("p","bg",d.pml),{children:[c]});i.children=i.children.filter(y=>!(y.kind==="element"&&y.name.namespaceURI===d.pml&&y.name.localName==="bg")),i.children.unshift(m);let u=l>=2,f={bg1:u?"dk1":"lt1",tx1:u?"lt1":"dk1",bg2:u?"dk2":"lt2",tx2:u?"lt2":"dk2"};s.attrs=s.attrs.map(y=>y.name.namespaceURI===""&&f[y.name.localName]?{...y,value:f[y.name.localName]}:y)}var t4=e=>{let t=_i(e);if(!t)return[];let n=e[P],r=G(t),a=n.getPart(r);if(!a)throw new Error(`Missing slide master: ${r}`);let l=j(z(a.data)).root,i=Wn(n,r),s=i&&p(i,o("a","themeElements",d.dml)),c=s&&p(s,o("a","fmtScheme",d.dml)),m=c&&p(c,o("a","bgFillStyleLst",d.dml)),u=Math.min(3,m?.children.filter(g=>g.kind==="element").length??0),f=g=>{let S=p(g,Pe),E=S&&p(S,o("p","bg",d.pml)),A=p(g,o("p","clrMap",d.pml)),w=E&&p(E,o("p","bgRef",d.pml)),T=w&&p(w,o("a","schemeClr",d.dml));return JSON.stringify([w&&x(w,o("","idx","")),T&&x(T,o("","val","")),T?.children.filter(v=>v.kind==="element"),...["bg1","bg2","tx1","tx2"].map(v=>A&&x(A,o("",v,"")))])},y=f(l);return Array.from({length:u*4},(g,S)=>{let E=he(l);e4(E,S+1);let A=zr(n,r,E),w=p(E,Pe),T=ad(w,A.properties),C=(A.properties&&p(A.properties,o("a","solidFill",d.dml)))?.children.find(N=>N.kind==="element");if(T.kind==="solid"&&C?.kind==="element"){let N=ye(C,A.theme,A.colorMap),_=gt(C);N!==null&&(T={kind:"solid",color:N,..._!==null?{opacity:_}:{}})}let R=A.properties&&p(A.properties,o("a","gradFill",d.dml));return{style:S+1,selected:y===f(E),fill:T,gradient:R?ln(R,A):null}})};var hu="http://schemas.microsoft.com/office/powerpoint/2012/main",H1="{EFAFB233-063F-42B5-8137-9DF3F51BA10A}",Od=914400/576,_e=e=>o("p",e,d.pml),Ia=e=>o("p15",e,hu),Xd=e=>o("a",e,d.dml),pt=e=>o("",e,""),cn=(e,t)=>x(e,pt(t));function n4(e){let t=p(e,_e("extLst")),n=t&&Q(t,_e("ext")).find(r=>cn(r,"uri")===H1);return n?p(n,Ia("sldGuideLst")):null}function Vl(e){let t=e[P],n=t.getRels(Y)?.items.find(s=>s.type===D.viewProps&&s.targetMode==="Internal"),r=n&&t.getPart(V(Y,n.target));if(!r)return null;let a=j(z(r.data)),l=p(a.root,_e("slideViewPr")),i=l&&p(l,_e("cSldViewPr"));return{part:r,doc:a,common:i}}function r4(e){let t=Vl(e),n=t?.common&&p(t.common,_e("guideLst"));return t&&n?{...t,guides:n}:null}function a4(e){let t=e[P].getPart(Y);if(!t)return null;let n=n4(j(z(t.data)).root),r=n??r4(e)?.guides;if(!r)return null;let a=[],l=new Set;for(let[i,s]of Q(r,n?Ia("guide"):_e("guide")).entries()){let c=n?Number(cn(s,"id")):i+1,m=Number(cn(s,"pos")??0);if(n&&cn(s,"id")===null||!Number.isInteger(c)||c<0||c>4294967295||!Number.isInteger(m)||m<-2147483648||m>2147483647||l.has(c))continue;l.add(c);let u=p(s,Ia("clr")),f=u&&p(u,Xd("srgbClr")),y=f?cn(f,"val"):null;a.push({id:c,axis:cn(s,"orient")==="horz"?"y":"x",position:m*Od,color:"#"+(y&&/^[0-9a-f]{6}$/i.test(y)?y.toLowerCase():"888888")})}return a}var l4=(e,t)=>{if(!Array.isArray(t)||new Set(t.map(u=>u?.id)).size!==t.length||t.some(u=>!u||!Number.isInteger(u.id)||u.id<0||u.id>4294967295||!["x","y"].includes(u.axis)||!Number.isFinite(u.position)||Math.round(u.position/Od)<-2147483648||Math.round(u.position/Od)>2147483647||!/^#[0-9a-f]{6}$/i.test(u.color)))throw new Error("Invalid drawing guides.");let n=e[P].getPart(Y);if(!n)throw new Error("presentation.xml is missing");let r=j(z(n.data)),a=r4(e),l=n4(r.root);if(!l){let u=p(r.root,_e("extLst"));u||(u=h(_e("extLst")),r.root.children.push(u)),l=h(Ia("sldGuideLst"),{prefixDecls:new Map([["p15",hu],["a",d.dml]])});let f=Q(u,_e("ext")).find(y=>cn(y,"uri")===H1);f?f.children.push(l):u.children.push(h(_e("ext"),{attrs:[b(pt("uri"),H1)],children:[l]}))}l.prefixDecls.set("p15",hu);let i=new Map;for(let u of Q(l,Ia("guide"))){let f=Number(cn(u,"id"));i.has(f)||i.set(f,u)}let s=t.map(u=>{let f=i.get(u.id)??h(Ia("guide"),{attrs:[b(pt("userDrawn"),"1")]});for(let[E,A]of Object.entries({id:u.id,orient:u.axis==="x"?"vert":"horz",pos:Math.round(u.position/Od)}))f.attrs=f.attrs.filter(w=>w.name.namespaceURI!==""||w.name.localName!==E),f.attrs.push(b(pt(E),String(A)));let y=p(f,Ia("clr")),g=y&&p(y,Xd("srgbClr")),S=g?"#"+cn(g,"val")?.toLowerCase():"#888888";if(!y||S!==u.color.toLowerCase()){let E=h(Ia("clr"),{prefixDecls:new Map([["a",d.dml]]),children:[h(Xd("srgbClr"),{attrs:[b(pt("val"),u.color.slice(1).toUpperCase())]})]});y?f.children[f.children.indexOf(y)]=E:f.children.unshift(E)}return f});l.children=[...s,...l.children.filter(u=>u.kind!=="element"||u.name.namespaceURI!==hu||u.name.localName!=="guide")],a&&(a.guides.children=t.map(u=>h(_e("guide"),{prefixDecls:new Map([["p",d.pml]]),attrs:[b(pt("orient"),u.axis==="x"?"vert":"horz"),b(pt("pos"),String(Math.round(u.position/Od)))]})));let c=le(ae(r)),m=a&&le(ae(a.doc));n.data=c,a&&m&&(a.part.data=m)};function o4(e){let t=Vl(e)?.common,n=t&&cn(t,"showGuides");return n==="1"||n==="true"}var i4=(e,t)=>{if(typeof t!="boolean")throw new Error("Invalid guide visibility.");gu(e,(n,r)=>{r.attrs=r.attrs.filter(a=>a.name.namespaceURI!==""||a.name.localName!=="showGuides"),r.attrs.push(b(pt("showGuides"),t?"1":"0"))})};function s4(e){let t=Vl(e)?.common;if(!t)return null;let n=cn(t,"snapToGrid");return n!=="0"&&n!=="false"}var d4=(e,t)=>{if(typeof t!="boolean")throw new Error("Invalid grid snapping.");gu(e,(n,r)=>{r.attrs=r.attrs.filter(a=>a.name.namespaceURI!==""||a.name.localName!=="snapToGrid"),r.attrs.push(b(pt("snapToGrid"),t?"1":"0"))})};function c4(e){let t=Vl(e),n=t&&p(t.doc.root,_e("gridSpacing"));if(!n)return null;let r=Number(cn(n,"cx")),a=Number(cn(n,"cy"));return Number.isSafeInteger(r)&&r>0&&Number.isSafeInteger(a)&&a>0?{x:r,y:a}:null}var m4=(e,t)=>{if(![t?.x,t?.y].every(n=>Number.isSafeInteger(n)&&n>0&&n<=27273042316900))throw new Error("Invalid grid spacing.");gu(e,n=>{let r=p(n,_e("gridSpacing"));if(!r){r=h(_e("gridSpacing"));let a=n.children.findIndex(l=>l.kind==="element"&&l.name.namespaceURI===d.pml&&l.name.localName==="extLst");n.children.splice(a<0?n.children.length:a,0,r)}r.attrs=r.attrs.filter(a=>a.name.namespaceURI!==""||!["cx","cy"].includes(a.name.localName)),r.attrs.push(b(pt("cx"),String(t.x)),b(pt("cy"),String(t.y)))})};function gu(e,t){let n=e[P],r=n.getRels(Y)??{items:[]},a=r.items.find(u=>u.type===D.viewProps);if(a?.targetMode==="External")throw new Error("View properties must be internal.");let l=Vl(e),i=l?.doc??j(`<p:viewPr xmlns:p="${d.pml}" xmlns:a="${d.dml}"/>`);i.root.prefixDecls.set("p",d.pml);let s=p(i.root,_e("slideViewPr"));if(!s){s=h(_e("slideViewPr"));let u=i.root.children.findIndex(f=>f.kind==="element"&&f.name.namespaceURI===d.pml&&f.name.localName!=="normalViewPr");i.root.children.splice(u<0?i.root.children.length:u,0,s)}let c=p(s,_e("cSldViewPr"));c||(c=h(_e("cSldViewPr"),{attrs:[b(pt("snapToGrid"),"0")],children:[h(_e("cViewPr"),{prefixDecls:new Map([["a",d.dml]]),children:[h(_e("scale"),{children:["sx","sy"].map(u=>h(Xd(u),{attrs:[b(pt("n"),"100"),b(pt("d"),"100")]}))}),h(_e("origin"),{attrs:[b(pt("x"),"0"),b(pt("y"),"0")]})]})]}),s.children.unshift(c)),t(i.root,c);let m=le(ae(i));if(l)l.part.data=m;else{let u=a?V(Y,a.target):G("/ppt/viewProps.xml");if(!a)for(let f=1;n.getPart(u);f++)u=G(`/ppt/viewProps${f}.xml`);n.addPart(u,"application/vnd.openxmlformats-officedocument.presentationml.viewProps+xml",m),a||(r.items.push({id:se(r.items.map(f=>f.id)),type:D.viewProps,target:u,targetMode:"Internal"}),n.setRels(Y,r))}}function p4(e){let t=Vl(e),n=t&&p(t.doc.root,_e("outlineViewPr")),r=n&&p(n,_e("sldLst"));if(!t||!r)return[];let a=e[P].getRels(t.part.name),l=new Map(a?.items.filter(s=>s.type===D.slide&&s.targetMode==="Internal").map(s=>[s.id,V(t.part.name,s.target)])),i=new Set(Q(r,_e("sld")).filter(s=>["1","true"].includes(cn(s,"collapse")??"")).map(s=>l.get(x(s,o("r","id",d.officeDocRels))??"")));return H(e).filter(s=>i.has(s[O]))}var u4=(e,t)=>{if(typeof t!="boolean")throw new Error("Invalid outline collapse state.");let n="length"in e?e:[e];if(!n.length)return;let r=n[0],a=r[P];if(n.some(y=>y[P]!==a))throw new Error("Outline slides must belong to the same presentation.");gu(r,()=>{});let l=Vl(r),i=a.getRels(l.part.name)??{items:[]},s=new Map(i.items.filter(y=>y.type===D.slide&&y.targetMode==="Internal").map(y=>[V(l.part.name,y.target),y])),c=se(i.items.map(y=>y.id)),m=p(l.doc.root,_e("outlineViewPr"));if(!m){m=h(_e("outlineViewPr"),{children:[h(_e("cViewPr"),{children:[h(_e("scale"),{children:["sx","sy"].map(g=>h(Xd(g),{attrs:[b(pt("n"),"100"),b(pt("d"),"100")]}))}),h(_e("origin"),{attrs:[b(pt("x"),"0"),b(pt("y"),"0")]})]})]});let y=l.doc.root.children.findIndex(g=>g.kind==="element"&&g.name.namespaceURI===d.pml&&!["normalViewPr","slideViewPr"].includes(g.name.localName));l.doc.root.children.splice(y<0?l.doc.root.children.length:y,0,m)}let u=p(m,_e("sldLst"));if(!u){u=h(_e("sldLst"));let y=m.children.findIndex(g=>g.kind==="element"&&g.name.localName==="extLst"&&g.name.namespaceURI===d.pml);m.children.splice(y<0?m.children.length:y,0,u)}let f=new Map(Q(u,_e("sld")).map(y=>[x(y,o("r","id",d.officeDocRels)),y]));for(let y of new Set(n)){let g=y[O],S=s.get(g);S||(S={id:c,type:D.slide,target:g,targetMode:"Internal"},c=se([S.id]),i.items.push(S),s.set(g,S));let E=f.get(S.id);E||(E=h(_e("sld"),{attrs:[b(o("r","id",d.officeDocRels),S.id)]}),u.children.push(E),f.set(S.id,E)),E.attrs=E.attrs.filter(A=>A.name.namespaceURI!==""||A.name.localName!=="collapse"),E.attrs.push(b(pt("collapse"),t?"1":"0"))}l.doc.root.prefixDecls.set("r",d.officeDocRels),l.part.data=le(ae(l.doc)),a.setRels(l.part.name,i)};var W1="Headline",wJ=80,vJ=/mono|courier|consolas|menlo|code|等幅/i,x4=(e,t={})=>{let n=H(e).map((a,l)=>CJ(e,a,l)),r=DJ(n);return t.full&&r.push(..._J(n)),t.mode==="talk"&&r.push(...BJ(n)),t.mode==="document"&&r.push(...UJ(n)),r.push(...KJ(n),...zJ(n)),r.join(`
|
|
33
|
+
`)},CJ=(e,t,n)=>{let r=[],a=[];for(let i of Ot(t)){if(mi(i)){a.push(...LJ(Sa(i)));continue}if(Aa(i)){for(let c of Ll(i))r.push({shape:null,text:c.map(m=>ud(m)).join(" | "),code:!1,guessed:!1});continue}let s=Wp(i).trim();s&&r.push({shape:i,text:s,code:PJ(e,i),guessed:!1})}let l=r.find(({shape:i})=>i!==null&&Ul(i)===W1)??RJ(t,r)??NJ(e,r);return{number:n+1,headline:l?zl(l.text):null,guessed:l?.guessed??!1,headlineRaw:l?.text??null,texts:r.filter(i=>i!==l&&!i.code).map(({text:i})=>i),code:r.filter(i=>i.code).map(({text:i})=>i),chart:a,notes:sn(t)??""}},LJ=e=>e===null?[]:[e.title,e.categoryAxisTitle,e.valueAxisTitle,e.secondaryValueAxis?.title,...e.categories,...(e.categoryGroupLevels??[]).flat(),...e.series.flatMap(t=>[t.name,...(t.pointDataLabels??[]).map(n=>n?.text)])].filter(t=>typeof t=="string"&&t.trim()!==""),PJ=(e,t)=>{let n=od(e,t,0,0);return vJ.test(`${n.font??""} ${n.fontEastAsian??""}`)},RJ=(e,t)=>{let n=Ra(e)?.trim();return n?t.find(r=>r.text===n):void 0},NJ=(e,t)=>{let n,r=0;for(let a of t){if(a.shape===null||a.text.length>wJ)continue;let l=od(e,a.shape,0,0).size??0;l>r&&([n,r]=[a,l])}return n&&(n.guessed=!0),n},zl=e=>e.replace(/\s*[\n\v]\s*/g," "),Ba=e=>`p${String(e.number).padStart(2,"0")}`,S4=e=>e.headline!==null,DJ=e=>{let t=["# Headline track"],n=e.filter(r=>r.headline===null).length;for(let r of e)t.push(`${Ba(r)}${r.guessed?"?":" "} ${r.headline??"(no headline)"}`);return e.some(r=>r.guessed)&&t.push(`
|
|
34
|
+
"?" marks a guessed headline (largest text). Name the headline Text "${W1}".`),n>0&&t.push(`
|
|
35
|
+
${n} slide(s) have no headline. Name the headline Text "${W1}" (or use a title placeholder).`),t},_J=e=>{let t=[`
|
|
36
|
+
# Slide text`];for(let n of e){t.push(`
|
|
37
|
+
## ${Ba(n)} ${n.headline??""}`);for(let r of n.texts)t.push(`- ${zl(r)}`);for(let r of n.code)t.push(`- [code] ${zl(r)}`);for(let r of n.chart)t.push(`- [chart] ${zl(r)}`);n.notes&&t.push(` notes: ${zl(n.notes)}`)}return t},V1={exclamation:[7,20],question:[10,15],polite:[10,12]},b4=/(です|ます|ました|ません|でした|でしょう|ください)か?[。!?!?…]*$/,kJ=/(てる|ばいい|んです)[。!?!?]*$/,MJ=/^(しかも|実は|ちなみに|ただし|例えば|まずは|最後に|そして|さらに)/,FJ=/[::]/,IJ=3,BJ=e=>{let t=e.filter(S4);if(t.length===0)return[];let n=l=>Math.round(t.filter(i=>l(i.headline)).length/t.length*100),r=t.reduce((l,i)=>l.headline.length<=i.headline.length?l:i),a=[`
|
|
38
|
+
# Talk headline mix (hand-made reference range in brackets)`,`\uFF01 ${n(l=>/[!!]/.test(l))}% [${V1.exclamation.join("-")}%]`,`\uFF1F ${n(l=>/[??]/.test(l))}% [${V1.question.join("-")}%]`,`polite form ${n(l=>b4.test(l))}% [${V1.polite.join("-")}%]`,`shortest ${r.headline.length} chars (${Ba(r)}) [3-6]; median ${$J(t.map(l=>l.headline.length))}`];for(let l of t)kJ.test(l.headline)&&a.push(`${Ba(l)} colloquial ending: ${l.headline}`);return a.push(...z1(t,"colon headline",l=>FJ.test(l)),...z1(t,"same leading connective",l=>MJ.test(l)),...z1(t,"comma-pause two-part headline",l=>/^[^、]{2,14}、[^、]{1,10}$/.test(l))),a},z1=(e,t,n)=>{let r=[],a=[],l=()=>{a.length>=IJ&&r.push(`${t} x${a.length}: ${a.map(Ba).join(", ")}`),a=[]};for(let i of e)n(i.headline)?a.push(i):l();return l(),r},OJ=255,f4=[65377,65439],XJ=e=>{let t=0;for(let n of e){let r=n.codePointAt(0);t+=r<=OJ||r>=f4[0]&&r<=f4[1]?.5:1}return t},$J=e=>{let t=[...e].sort((n,r)=>n-r);return t[Math.floor(t.length/2)]},h4=40,g4=2,jJ=/[0-90-9一二三四五六七八九十]+ ?(つ|個|種類|点|段階?|ステップ|フェーズ|論点|柱)(の|で|が|を|に|$)/,UJ=e=>{let t=[`
|
|
39
|
+
# Document headline checks`];for(let n of e.slice(1).filter(S4)){let r=n.headline,a=[];b4.test(r)&&a.push("polite ending (use plain form)");let l=n.headlineRaw.split(/[\n\v]/),i=Math.max(...l.map(XJ));l.length>g4?a.push(`${l.length} lines (keep headlines to two)`):i>h4*g4?a.push("longer than two lines"):i>h4&&a.push("wraps without an explicit break (put one at a meaning boundary)"),/^[^、。]{1,12}[::]/.test(r)&&a.push("label prefix before a colon"),/^(この|その|ここまで|これら)/.test(r)&&a.push("refers to another slide"),jJ.test(r)&&a.push("element count in headline (state the content, or check it matches the body)"),a.length&&t.push(`${Ba(n)} ${a.join("; ")}: ${r}`)}return t},GJ=[["\u52B9\u304F",/(?<![有無奏特即実発失])効(?:[くきけかこ]|いて|いた)/],["dash",/[—―─]/],["\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u308B",/することが(でき|可能)/],["empty emphasis",/非常に|極めて|画期的|革新的|圧倒的|と言っても過言では|に他なら/],["katakana padding",/ソリューション|シナジー|シームレス|エンドツーエンド|付加価値/],["nominalized business verb",/(を|の)(活用|推進|実現|創出|担保|最適化|効率化|強化)(する|し|を|が|に)?/],["stock opener",/昨今|近年|変化の激しい|結論から(言う|申し上げ)|以下の通り/],["hedged conclusion",/と言えるでしょう|と言えます|のではないでしょうか|と考えられます/],["announced count",/(理由|ポイント|軸|論点)は[0-90-9一二三四五]+つ|見ていきましょう|深掘り|掘り下げ|言語化する|正面から/],["empty adjective",/不可欠|核心的|鍵となる|多角的|包括的|肝となる/],["translationese",/という観点から|にとって(重要|不可欠)|することによって|を持つ(こと|ため|。|$)/],["stagy closer",/に尽き(る|ます)|これが.{1,12}の(形|正体)|そのもの(だ|です)|こそが/],["showy metaphor verb",/届かない|拾ってくれ|地続き|一撃で|仕込[みむ]|たちが悪い|腑に落ち/],["overclaimed effect",/これだけで|一気に|劇的に|驚くほど|目に見えて/],["intensifying \u5207\u308B",/(守り|止め|閉じ|抑え|塞ぎ|押し|言い)切[らりるれろっ]/],["direction metaphor",/(側|方|向き)に倒|に倒(す|し|して|れる)(?![産])/],["permission phrasing",/で構いません|でも構わない/],["slide as \u679A",/(次|前|この|全)の?枚|[0-90-9]+枚目/]],qJ=/^\s*(?!出典|注)(?=[^\s::、。[[]*[ぁ-んァ-ヶ一-龠])[^\s::、。[[]{1,12}[::]\s*\S/,HJ=/[가-힣Ѐ-ӿ]/,VJ=80,zJ=e=>{let t=[`
|
|
40
|
+
# Wording flags (judge each against references/writing-ja.md)`];for(let n of e){let r=[n.headline??"",...[...n.texts,...n.chart].flatMap(l=>l.split(/\n/))],a=n.notes.split(/\n/);for(let[l,i]of[...r.map(s=>["",s]),...a.map(s=>["notes ",s])]){let s=WJ(i,l==="");s.length!==0&&t.push(`${Ba(n)} ${l}[${s.join(", ")}] ${zl(i).slice(0,VJ)}`)}}return t.length===1&&t.push("none"),t},WJ=(e,t)=>{if(!e.trim())return[];let n=GJ.filter(([,r])=>r.test(e)).map(([r])=>r);return t&&qJ.test(e)&&n.push("label: description"),HJ.test(e)&&n.push("foreign script"),n},YJ=/[[[]要確認/,yu=80,ZJ=20,KJ=e=>{let t=e.flatMap(n=>[n.headlineRaw??"",...n.texts,...n.code,...n.chart].map(r=>[n,r]));return[`
|
|
41
|
+
# [\u8981\u78BA\u8A8D] left on slides (fill each or move it to the notes before delivery)`,...y4(t,""),`
|
|
42
|
+
# [\u8981\u78BA\u8A8D] in notes (report each to the user)`,...y4(e.map(n=>[n,n.notes]),"notes ")]},y4=(e,t)=>{let n=[];for(let[r,a]of e)for(let l of a.split(/\n/).map(zl)){let i=l.search(YJ);i!==-1&&n.push(`${Ba(r)} ${t}${JJ(l,i)}`)}return n.length===0&&n.push("none"),n},JJ=(e,t)=>{if(e.length<=yu)return e;let n=Math.max(0,Math.min(t-ZJ,e.length-yu));return`${n>0?"\u2026":""}${e.slice(n,n+yu)}${n+yu<e.length?"\u2026":""}`};var Y1=e=>{let t=e[F];if(e[U].kind==="picture")return p(t,o("p","blipFill",d.pml));let n=p(t,o("p","spPr",d.pml));return n?p(n,o("a","blipFill",d.dml)):null},E4=e=>{let t=Y1(e);return t?Bm(t):null},A4=(e,t)=>{let n=Y1(e);if(!n)throw new Error("setShapeImageFillLayout requires a picture or a shape with an image fill");Om(n,t),J(e)},T4=e=>{let t=Y1(e);if(!t)return null;let n=yd(e)??xd(e);return n?Xm(t,n):null};var QJ=typeof __PPTX_KIT_VERSION__=="string"?__PPTX_KIT_VERSION__:"0.0.0-dev";var eQ={};L4(eQ,{BUILTIN_PICTURE_STYLES:()=>so,BUILTIN_TABLE_STYLES:()=>yo,COMMENT_STATUSES:()=>lm,SLIDE_SIZE_16_10:()=>jR,SLIDE_SIZE_16_9:()=>$R,SLIDE_SIZE_4_3:()=>XR,VERSION:()=>QJ,_internalPackageOf:()=>KL,addBlankSlide:()=>uF,addContentSlide:()=>fF,addMissingSlidePlaceholders:()=>$1,addSectionHeaderSlide:()=>hF,addSlide:()=>Hl,addSlideAt:()=>EF,addSlideChart:()=>Kv,addSlideComment:()=>iM,addSlideImage:()=>bk,addSlideLayout:()=>IM,addSlideLayoutPlaceholder:()=>UM,addSlideLine:()=>xk,addSlideMaster:()=>kM,addSlideMedia:()=>xP,addSlidePlaceholder:()=>wF,addSlideShape:()=>yk,addSlideTable:()=>Sk,addSlideTextBox:()=>gk,addTitleSlide:()=>gF,appendShapeText:()=>L3,appendSlideNotes:()=>NR,applySlideBackgroundToAll:()=>Ov,asColor:()=>dt,bringShapeForward:()=>ck,bringShapeToFront:()=>sk,centerShapeOnSlide:()=>W_,clearAllHyperlinks:()=>bR,clearAllSlideComments:()=>mM,clearAllSlideNotes:()=>MR,clearShapeEffects:()=>A3,clearShapeFill:()=>p_,clearShapeStroke:()=>E_,clearSlideAnimations:()=>YN,clearSlideBackground:()=>Oy,clearSlideComments:()=>y1,clearSlideHyperlinks:()=>ER,clearSlideLayoutBackground:()=>Um,clearSlideShapes:()=>fk,clearSlideTransition:()=>GP,clearTableCellFill:()=>ML,cm:()=>$w,compactPackage:()=>iP,copyShape:()=>ik,copySlideBackground:()=>Bv,createPresentation:()=>RC,duplicateSlide:()=>F1,duplicateSlideAt:()=>AF,emu:()=>Qn,findChartByKind:()=>pC,findChartsBySeriesName:()=>dC,findChartsWithDataLabels:()=>mC,findChartsWithTrendlines:()=>cC,findCommentAuthorByName:()=>eM,findCommentsAfter:()=>rM,findCommentsBefore:()=>aM,findCommentsByAuthor:()=>tM,findCommentsByText:()=>nM,findEmptyPlaceholders:()=>Vx,findFlippedShapes:()=>GR,findLayoutsWithPlaceholderType:()=>Kw,findOverlappingShapePairs:()=>Cp,findShapeById:()=>Kp,findShapeByName:()=>zx,findShapeByText:()=>r3,findShapeInPresentation:()=>m3,findShapesAtPoint:()=>V_,findShapesByEffect:()=>h3,findShapesByHyperlink:()=>o3,findShapesByKind:()=>l3,findShapesByName:()=>n3,findShapesByPreset:()=>s3,findShapesByText:()=>a3,findShapesInRect:()=>z_,findShapesOutsideCanvas:()=>qR,findShapesWithAnimation:()=>WN,findShapesWithHyperlinks:()=>i3,findShapesWithMedia:()=>SP,findSlideByPartName:()=>i1,findSlideByText:()=>Fk,findSlideByTitle:()=>kk,findSlideLayout:()=>Zw,findSlideLayoutByPartName:()=>Yw,findSlideLayoutByType:()=>Wr,findSlidePlaceholder:()=>Lt,findSlidePlaceholderByIdx:()=>e3,findSlidePlaceholders:()=>t3,findSlidesByHyperlink:()=>xR,findSlidesByLayoutName:()=>HR,findSlidesByLayoutPartName:()=>VR,findSlidesByLayoutType:()=>zR,findSlidesByNotes:()=>Bk,findSlidesByText:()=>Ik,findSlidesWithChartKind:()=>lR,findSlidesWithChartTrendlines:()=>oR,findSlidesWithCommentsByAuthor:()=>Zk,getAllCharts:()=>uR,getAllComments:()=>AR,getAllHyperlinks:()=>fR,getAllImages:()=>mR,getAllNotes:()=>TR,getAllShapes:()=>$k,getAllTables:()=>pR,getCollapsedOutlineSlides:()=>p4,getCommentAuthor:()=>pM,getCommentAuthors:()=>h1,getCommentDate:()=>fM,getCommentFormat:()=>xM,getCommentParent:()=>yM,getCommentPosition:()=>hM,getCommentSlide:()=>gM,getCommentStatus:()=>SM,getCommentText:()=>uM,getCommentsSortedByDate:()=>lM,getCoreProperties:()=>md,getCustomShows:()=>ul,getDistinctHyperlinkUrls:()=>gR,getDrawingGuides:()=>a4,getDrawingGuidesVisible:()=>o4,getEffectiveColorMap:()=>Ye,getEmptySlides:()=>RR,getExtendedProperties:()=>GC,getGridSpacing:()=>c4,getGroupChildren:()=>Yp,getGroupTransform:()=>Zp,getHandoutMasterPlaceholders:()=>aF,getHandoutSlidesPerPage:()=>mF,getHiddenSlides:()=>nR,getMaxShapeId:()=>R_,getMaxShapeIdInPresentation:()=>N_,getMediaParts:()=>tP,getNotesMasterPlaceholders:()=>rF,getNotesPageSize:()=>sF,getOrphanMediaPartNames:()=>aP,getOutlineText:()=>vk,getPackageSize:()=>eP,getParagraphAlignment:()=>hD,getParagraphBullet:()=>TD,getParagraphBulletImageBytes:()=>vD,getParagraphBulletStyle:()=>CD,getParagraphElementLanguages:()=>OF,getParagraphEndFormat:()=>rD,getParagraphIndent:()=>SD,getParagraphLevel:()=>gD,getParagraphLineSpacing:()=>ED,getParagraphPropertiesEffective:()=>bC,getParagraphSpacing:()=>xD,getPresentationChartCountsBySlide:()=>fC,getPresentationChartKindCounts:()=>uC,getPresentationCommentCountsByAuthor:()=>Jk,getPresentationCommentCountsBySlide:()=>Qk,getPresentationCommenters:()=>Kk,getPresentationCreated:()=>$C,getPresentationFirstSlideNumber:()=>BR,getPresentationFonts:()=>Go,getPresentationHyperlinkCountsBySlide:()=>hR,getPresentationImageCountsBySlide:()=>UR,getPresentationModified:()=>jC,getPresentationNotesLength:()=>LR,getPresentationNotesLengthsBySlide:()=>PR,getPresentationNotesText:()=>CR,getPresentationShapeCountsBySlide:()=>Pk,getPresentationSummary:()=>dP,getPresentationTableCountsBySlide:()=>eL,getPresentationText:()=>Ck,getPresentationTextLength:()=>Lk,getPresentationTextLengthsBySlide:()=>Rk,getPresentationTextReview:()=>x4,getPresentationTheme:()=>Fe,getPresetGeometry:()=>P_,getShape3D:()=>w3,getShapeAdjustValues:()=>C_,getShapeAltTitle:()=>F_,getShapeAnimation:()=>HN,getShapeAt:()=>Ek,getShapeBodyPrEffective:()=>V3,getShapeBounds:()=>dn,getShapeBoundsResolved:()=>q_,getShapeCenter:()=>H_,getShapeChartCategories:()=>oC,getShapeChartKind:()=>lC,getShapeChartSeriesNames:()=>iC,getShapeChartSeriesValues:()=>sC,getShapeChartSpec:()=>Sa,getShapeClickAction:()=>ZT,getShapeCustomGeometry:()=>L_,getShapeDescription:()=>k_,getShapeEffect:()=>f3,getShapeEffects:()=>Qp,getShapeEffectsEffective:()=>g3,getShapeFill:()=>Ni,getShapeFillColor:()=>KD,getShapeFillColorResolved:()=>JD,getShapeFillEffective:()=>e_,getShapeFillOpacity:()=>QD,getShapeFlip:()=>Np,getShapeGradientFill:()=>dv,getShapeGradientFillEffective:()=>cv,getShapeHyperlink:()=>on,getShapeHyperlinkTooltip:()=>sD,getShapeId:()=>jl,getShapeImageArtisticEffect:()=>eN,getShapeImageBiLevelThreshold:()=>YR,getShapeImageBrightness:()=>cN,getShapeImageBytes:()=>yd,getShapeImageCompressionState:()=>ZF,getShapeImageContrast:()=>dN,getShapeImageCrop:()=>rN,getShapeImageDuotone:()=>ZR,getShapeImageFillBytes:()=>xd,getShapeImageFillLayout:()=>E4,getShapeImageFormat:()=>QR,getShapeImageIntrinsicSize:()=>T4,getShapeImageLinkUrl:()=>KR,getShapeImageOpacity:()=>tN,getShapeImagePartName:()=>JR,getShapeIndex:()=>c3,getShapeKind:()=>v_,getShapeMedia:()=>gd,getShapeMediaPlayback:()=>BP,getShapeName:()=>Ul,getShapeParagraphCount:()=>Op,getShapeParagraphElements:()=>nD,getShapePatternFill:()=>d_,getShapePictureStyle:()=>VF,getShapePlaceholderIdx:()=>qt,getShapePlaceholderType:()=>Gt,getShapePosition:()=>j_,getShapePreset:()=>Vp,getShapeRotation:()=>G_,getShapeRunClickAction:()=>cD,getShapeRunCount:()=>aD,getShapeRunFormat:()=>ID,getShapeRunFormatEffective:()=>od,getShapeRunHyperlink:()=>iD,getShapeRunHyperlinkTooltip:()=>dD,getShapeRunText:()=>lD,getShapeSize:()=>U_,getShapeSlide:()=>Jp,getShapeStroke:()=>Pd,getShapeStrokeArrow:()=>x_,getShapeStrokeCap:()=>HD,getShapeStrokeColor:()=>jD,getShapeStrokeColorResolved:()=>GD,getShapeStrokeCompound:()=>zD,getShapeStrokeDash:()=>y_,getShapeStrokeEffective:()=>WD,getShapeStrokeGradient:()=>ZD,getShapeStrokeJoin:()=>VD,getShapeStrokeOpacity:()=>qD,getShapeStrokeSketch:()=>h_,getShapeStrokeWidth:()=>UD,getShapeText:()=>Wp,getShapeText3D:()=>M3,getShapeTextAnchor:()=>O3,getShapeTextAutoFit:()=>F3,getShapeTextAutoFitParams:()=>I3,getShapeTextBodyRotationDeg:()=>j3,getShapeTextColumns:()=>X3,getShapeTextDirection:()=>G3,getShapeTextFlat:()=>k3,getShapeTextLanguage:()=>BF,getShapeTextMargins:()=>H3,getShapeTextWrap:()=>R3,getShapeXmlString:()=>d3,getShapeZIndex:()=>mk,getShapesBounds:()=>K_,getSlideAnimations:()=>zN,getSlideAt:()=>Nk,getSlideBackground:()=>pv,getSlideBackgroundGradientFill:()=>Tv,getSlideBackgroundImageBytes:()=>vv,getSlideBackgroundImageCrop:()=>Nv,getSlideBackgroundImageFillLayout:()=>Dv,getSlideBackgroundImageIntrinsicSize:()=>Rv,getSlideBackgroundImageOpacity:()=>kv,getSlideBackgroundPatternFill:()=>wv,getSlideBody:()=>eD,getSlideCharts:()=>On,getSlideColorMapOverride:()=>zm,getSlideCommentAuthors:()=>oM,getSlideComments:()=>Wt,getSlideCount:()=>Ak,getSlideIndex:()=>o1,getSlideInfo:()=>Dk,getSlideLayout:()=>Te,getSlideLayoutBackground:()=>Av,getSlideLayoutBackgroundGradientFill:()=>Sv,getSlideLayoutBackgroundImageBytes:()=>Cv,getSlideLayoutBackgroundPatternFill:()=>yv,getSlideLayoutBackgroundShapes:()=>uv,getSlideLayoutCount:()=>Tk,getSlideLayoutName:()=>xa,getSlideLayoutPartName:()=>jm,getSlideLayoutPlaceholders:()=>nd,getSlideLayoutShapes:()=>hv,getSlideLayoutType:()=>ni,getSlideLayoutUsageCounts:()=>ev,getSlideLayoutUsageCountsByType:()=>Qw,getSlideLayouts:()=>Ct,getSlideMasterBackground:()=>Ev,getSlideMasterBackgroundGradientFill:()=>bv,getSlideMasterBackgroundImageBytes:()=>Lv,getSlideMasterBackgroundPatternFill:()=>xv,getSlideMasterBackgroundStyles:()=>t4,getSlideMasterCount:()=>D_,getSlideMasterLayouts:()=>PM,getSlideMasterName:()=>T1,getSlideMasterPartName:()=>_i,getSlideMasterPartNames:()=>_a,getSlideMasterPlaceholders:()=>RM,getSlideMasterShapes:()=>gv,getSlideMasterUsageCounts:()=>qx,getSlideMediaPartNames:()=>lP,getSlideNotes:()=>sn,getSlideNotesLength:()=>vp,getSlideNotesLineBreaks:()=>QP,getSlideNotesParagraphEndFormat:()=>tR,getSlideNotesTextFormats:()=>eR,getSlideOutline:()=>l1,getSlidePartName:()=>Nd,getSlideSections:()=>mp,getSlideShapes:()=>Ot,getSlideShowProperties:()=>zM,getSlideSize:()=>wa,getSlideTables:()=>Jy,getSlideText:()=>a1,getSlideTextLength:()=>wk,getSlideTitle:()=>Ra,getSlideTransition:()=>jP,getSlideTransitionSound:()=>YP,getSlideXmlString:()=>Mk,getSlides:()=>H,getSlidesByLayout:()=>_k,getSlidesWithCharts:()=>aR,getSlidesWithComments:()=>cR,getSlidesWithEmptyPlaceholders:()=>Q_,getSlidesWithHyperlinks:()=>yR,getSlidesWithImages:()=>dR,getSlidesWithNotes:()=>wR,getSlidesWithOverlap:()=>iR,getSlidesWithTables:()=>sR,getSnapToGrid:()=>s4,getTableBackgroundEffective:()=>OL,getTableCell:()=>pL,getTableCellAlignment:()=>GL,getTableCellAnchor:()=>LL,getTableCellAppearanceEffective:()=>BL,getTableCellBorders:()=>AL,getTableCellFill:()=>FL,getTableCellMargins:()=>RL,getTableCellParagraphs:()=>DL,getTableCellPosition:()=>UL,getTableCellRunFormatEffective:()=>_L,getTableCellSpan:()=>vl,getTableCellText:()=>ud,getTableCellText3D:()=>vL,getTableCellTextDirection:()=>wL,getTableCells:()=>Ll,getTableColumnWidths:()=>nx,getTableDimensions:()=>sL,getTableRowHeights:()=>rx,getTableSize:()=>dL,getTableStyleFlags:()=>tx,getTableStyleId:()=>ex,getThumbnail:()=>HC,getUnusedSlideLayouts:()=>Jw,getUnusedSlideMasters:()=>__,getVisibleSlides:()=>rR,groupShapes:()=>$F,hasShapeImage:()=>bi,hasShapeText:()=>Pp,hasSlideNotes:()=>vR,importSlide:()=>I1,inches:()=>Js,incrementRevision:()=>OC,insertTableColumn:()=>VL,insertTableRow:()=>qL,isChartShape:()=>mi,isChartSpec:()=>uy,isParagraphBulletPicture:()=>wD,isShapeAspectRatioLocked:()=>RF,isShapeHidden:()=>B_,isShapeImageGrayscale:()=>WR,isShapeLocked:()=>PF,isShapePlaceholder:()=>zp,isShapeTextBox:()=>$_,isSlideBackgroundGraphicsHidden:()=>Ym,isSlideHidden:()=>Ta,isSlideLayoutBackgroundGraphicsHidden:()=>Uk,isSlideMasterPreserved:()=>NM,isTableShape:()=>Aa,listPackageParts:()=>JL,loadPresentation:()=>PC,mergePresentations:()=>TF,mergeTableCells:()=>bL,mm:()=>jw,moveSlide:()=>Bd,moveSlideAnimation:()=>ok,pointInShape:()=>Hx,pt:()=>Uw,readPackagePart:()=>QL,removeShape:()=>hk,removeSlide:()=>xF,removeSlideAnimation:()=>lk,removeSlideComment:()=>cM,removeSlideLayout:()=>BM,removeSlideMaster:()=>FM,removeSlideNotes:()=>Sx,removeTableColumn:()=>zL,removeTableRow:()=>HL,removeThumbnail:()=>zC,renameShape:()=>X_,replaceHyperlink:()=>SR,replaceTextInNotes:()=>Xk,replaceTextInPresentation:()=>Vk,replaceTextInSlide:()=>zk,replaceTextInSlideNotes:()=>s1,replaceTokensInPresentation:()=>Hk,replaceTokensInSlide:()=>p3,resetShapeImageColorEffects:()=>Rp,resetShapeVideoFormatting:()=>JF,resetSlideLayout:()=>vF,resetSlidePlaceholderGeometry:()=>X1,resetSlidePlaceholderTextFormatting:()=>j1,resolveDeckBodyTextColor:()=>Al,resolveDrawingColor:()=>ye,resolveDrawingColorOpacity:()=>gt,resolveSlideNotesTextColor:()=>JP,reverseSlides:()=>SF,savePresentation:()=>NC,searchSlides:()=>Ok,sendShapeBackward:()=>uk,sendShapeToBack:()=>dk,setChartData:()=>aC,setChartSpec:()=>Uy,setCommentStatus:()=>bM,setCommentText:()=>dM,setCoreProperties:()=>fp,setCustomShows:()=>WT,setDrawingGuides:()=>l4,setDrawingGuidesVisible:()=>i4,setExtendedProperties:()=>qC,setGridSpacing:()=>m4,setHandoutMasterPlaceholderIncluded:()=>iF,setHandoutSlidesPerPage:()=>pF,setMediaPartBytes:()=>sP,setNotesMasterPlaceholderIncluded:()=>oF,setNotesPageOrientation:()=>dF,setParagraphAlignment:()=>pD,setParagraphBullet:()=>LD,setParagraphIndent:()=>bD,setParagraphLevel:()=>uD,setParagraphLineSpacing:()=>AD,setParagraphSpacing:()=>yD,setParagraphTabs:()=>ND,setParagraphTypography:()=>RD,setPresentationFonts:()=>qT,setPresentationTheme:()=>GT,setShape3D:()=>T3,setShapeAdjustValues:()=>r_,setShapeAlignment:()=>Z3,setShapeAltTitle:()=>I_,setShapeAnimation:()=>qN,setShapeAspectRatioLocked:()=>DF,setShapeBounds:()=>Y_,setShapeBulletStyle:()=>Y3,setShapeClickAction:()=>KT,setShapeCustomGeometry:()=>kF,setShapeDescription:()=>M_,setShapeFill:()=>o_,setShapeFlip:()=>a_,setShapeGlow:()=>S3,setShapeGradientFill:()=>i_,setShapeHidden:()=>O_,setShapeHyperlink:()=>ii,setShapeImage:()=>HT,setShapeImageBrightness:()=>iN,setShapeImageCompressionState:()=>KF,setShapeImageContrast:()=>sN,setShapeImageCrop:()=>fN,setShapeImageFill:()=>c_,setShapeImageFillLayout:()=>A4,setShapeImageOpacity:()=>uN,setShapeImageRecolor:()=>pN,setShapeInnerShadow:()=>x3,setShapeLocked:()=>NF,setShapeMediaPlayback:()=>OP,setShapeNoFill:()=>m_,setShapeNoStroke:()=>g_,setShapeParagraphs:()=>J3,setShapePatternFill:()=>s_,setShapePictureStyle:()=>HF,setShapePosition:()=>Di,setShapePreset:()=>Hp,setShapeReflection:()=>b3,setShapeRotation:()=>n_,setShapeRunFormat:()=>EC,setShapeRunHyperlink:()=>oD,setShapeRunText:()=>PD,setShapeShadow:()=>y3,setShapeSize:()=>t_,setShapeSlideBackgroundFill:()=>l_,setShapeSoftEdge:()=>E3,setShapeStroke:()=>u_,setShapeStrokeArrow:()=>b_,setShapeStrokeCap:()=>A_,setShapeStrokeCompound:()=>w_,setShapeStrokeDash:()=>S_,setShapeStrokeJoin:()=>T_,setShapeStrokeSketch:()=>f_,setShapeStyle:()=>XF,setShapeText:()=>wi,setShapeText3D:()=>D3,setShapeTextAnchor:()=>z3,setShapeTextAutoFit:()=>N3,setShapeTextBodyRotationDeg:()=>U3,setShapeTextColumns:()=>$3,setShapeTextDirection:()=>q3,setShapeTextField:()=>C3,setShapeTextFlat:()=>_3,setShapeTextFormat:()=>K3,setShapeTextLanguage:()=>IF,setShapeTextMargins:()=>W3,setShapeTextWrap:()=>P3,setShapeZIndex:()=>pk,setSlideBackground:()=>By,setSlideBackgroundGradientFill:()=>Pv,setSlideBackgroundGraphicsHidden:()=>Zm,setSlideBackgroundImage:()=>Xv,setSlideBackgroundImageFillLayout:()=>_v,setSlideBackgroundImageOpacity:()=>Mv,setSlideBackgroundPatternFill:()=>Iv,setSlideBody:()=>Xp,setSlideHidden:()=>qk,setSlideLayout:()=>Z_,setSlideLayoutBackground:()=>nv,setSlideLayoutBackgroundGraphicsHidden:()=>jM,setSlideLayoutFootersIncluded:()=>$M,setSlideLayoutName:()=>tv,setSlideLayoutPlaceholderBounds:()=>rv,setSlideLayoutTitleIncluded:()=>XM,setSlideMasterBackgroundStyle:()=>QF,setSlideMasterName:()=>DM,setSlideMasterPlaceholderIncluded:()=>OM,setSlideMasterPreserved:()=>_M,setSlideNotes:()=>kl,setSlideNotesFormat:()=>_R,setSlideOutlineCollapsed:()=>u4,setSlidePlaceholders:()=>tD,setSlideSections:()=>IC,setSlideShowProperties:()=>WM,setSlideSize:()=>OR,setSlideTitle:()=>Ti,setSlideTransition:()=>UP,setSlideTransitionSound:()=>KP,setSnapToGrid:()=>d4,setTableCellAlignment:()=>jL,setTableCellAnchor:()=>PL,setTableCellBorders:()=>TL,setTableCellClickAction:()=>$L,setTableCellFill:()=>kL,setTableCellMargins:()=>NL,setTableCellParagraphs:()=>hL,setTableCellText:()=>fL,setTableCellTextDirection:()=>CL,setTableCellTextFormat:()=>XL,setTableColumnWidth:()=>cL,setTableRowHeight:()=>mL,setTableStyleFlags:()=>iL,setTableStyleId:()=>nL,setThumbnail:()=>VC,shapesOverlap:()=>Dp,slideHasAnimations:()=>Gk,slidesUsingMediaPart:()=>oP,sortSlides:()=>M1,splitTableCell:()=>EL,swapSlides:()=>bF,toWritableTextFormat:()=>rf,touchModified:()=>XC,transformSlideNotesCase:()=>DR,translateShapes:()=>J_,ungroupShapes:()=>jF,updateSlideAnimation:()=>ak,validatePresentation:()=>ZL});function K0e(e){return e.kind==="slide"?[...new Set(e.slideIndices??[e.slideIndex])].sort((t,n)=>t-n):[e.slideIndex]}function J0e(e){return e.kind==="shape"?e.shapeIds[0]??null:e.kind==="cell"?e.shapeId:null}function tQ(e){return e.kind==="shape"?[...e.shapeIds]:e.kind==="cell"?[e.shapeId]:[]}function Q0e(e){let t=new Set(["presentation"]);return t.add("slide"),e.kind==="shape"&&e.shapeIds.length>0&&t.add("shape"),e.kind==="cell"&&(t.add("shape"),t.add("cell")),t}function efe(e){let t=Ot(e),n=new Set(t.flatMap(r=>Yp(r).map(jl)));return t.filter(r=>!n.has(jl(r)))}function tfe(e,t){let n=Jp(t);return{slideIndex:H(e).indexOf(n),slide:Nd(n),shapeId:jl(t),name:Ul(t)}}function nfe(e,t){let n=H(e)[t.slideIndex];if(!n)return[];let r=Nd(n);return tQ(t).flatMap(a=>{let l=Kp(n,a);return l?[{slideIndex:t.slideIndex,slide:r,shapeId:a,name:Ul(l)}]:[]})}function rfe(e,t){let n=H(e),r=n[t.slideIndex];if(!r)return{kind:"none",slideIndex:Math.max(0,n.length-1)};if(t.kind==="none")return t;if(t.kind==="slide")return(t.slideIndices??[t.slideIndex]).every(s=>s<n.length)?t:{kind:"slide",slideIndex:t.slideIndex};let a=new Set(Ot(r).map(jl)),l={kind:"none",slideIndex:t.slideIndex};if(t.kind==="cell")return a.has(t.shapeId)?t:l;let i=t.shapeIds.filter(s=>a.has(s));return i.length===t.shapeIds.length?t:i.length>0?{...t,shapeIds:i}:l}export{Js as a,$w as b,Uw as c,Qn as d,dt as e,rf as f,so as g,yo as h,z2 as i,W2 as j,B2 as k,Z2 as l,K2 as m,PC as n,RC as o,NC as p,Fe as q,Go as r,GT as s,qT as t,Wt as u,iM as v,dM as w,cM as x,mM as y,y1 as z,pM as A,uM as B,fM as C,gM as D,yM as E,SM as F,bM as G,HT as H,ul as I,WT as J,ZT as K,KT as L,uy as M,xa as N,jm as O,Yw as P,nd as Q,Zw as R,ni as S,Ct as T,dv as U,cv as V,pv as W,yv as X,xv as Y,Sv as Z,bv as _,Ev as $,Av as aa,Tv as ba,wv as ca,By as da,Pv as ea,Dv as fa,_v as ga,kv as ha,Mv as ia,Iv as ja,Bv as ka,Ov as la,Xv as ma,Oy as na,Ye as oa,Kv as pa,Uy as qa,Sa as ra,On as sa,od as ta,bC as ua,on as va,ii as wa,Aa as xa,mi as ya,Ll as za,ex as Aa,nL as Ba,tx as Ca,iL as Da,sL as Ea,nx as Fa,dL as Ga,rx as Ha,cL as Ia,mL as Ja,pL as Ka,fL as La,vl as Ma,bL as Na,EL as Oa,TL as Pa,wL as Qa,CL as Ra,LL as Sa,PL as Ta,RL as Ua,NL as Va,ud as Wa,DL as Xa,_L as Ya,kL as Za,ML as _a,FL as $a,BL as ab,XL as bb,$L as cb,jL as db,UL as eb,GL as fb,qL as gb,HL as hb,VL as ib,zL as jb,iP as kb,xP as lb,gd as mb,BP as nb,OP as ob,jP as pb,UP as qb,GP as rb,YP as sb,KP as tb,JP as ub,sn as vb,QP as wb,eR as xb,tR as yb,kl as zb,DR as Ab,_R as Bb,wa as Cb,OR as Db,XR as Eb,$R as Fb,jR as Gb,yd as Hb,Pp as Ib,VR as Jb,WR as Kb,YR as Lb,ZR as Mb,xd as Nb,QR as Ob,eN as Pb,tN as Qb,rN as Rb,iN as Sb,sN as Tb,dN as Ub,cN as Vb,Rp as Wb,pN as Xb,uN as Yb,fN as Zb,qN as _b,zN as $b,Ra as ac,Op as bc,nD as cc,rD as dc,sD as ec,dD as fc,cD as gc,pD as hc,uD as ic,gD as jc,yD as kc,bD as lc,AD as mc,CD as nc,LD as oc,RD as pc,ND as qc,ye as rc,UD as sc,GD as tc,qD as uc,HD as vc,VD as wc,zD as xc,WD as yc,ZD as zc,Pd as Ac,JD as Bc,QD as Cc,e_ as Dc,Ni as Ec,Hp as Fc,n_ as Gc,a_ as Hc,l_ as Ic,o_ as Jc,i_ as Kc,s_ as Lc,d_ as Mc,c_ as Nc,m_ as Oc,p_ as Pc,u_ as Qc,f_ as Rc,h_ as Sc,g_ as Tc,y_ as Uc,x_ as Vc,S_ as Wc,b_ as Xc,E_ as Yc,A_ as Zc,T_ as _c,w_ as $c,v_ as ad,jl as bd,Vp as cd,L_ as dd,R_ as ed,_i as fd,_a as gd,qx as hd,Ul as id,k_ as jd,B_ as kd,O_ as ld,X_ as md,Gt as nd,zp as od,$_ as pd,Wp as qd,G_ as rd,Np as sd,Yp as td,Zp as ud,dn as vd,q_ as wd,Y_ as xd,Ot as yd,Z_ as zd,Te as Ad,Lt as Bd,Kp as Cd,Jp as Dd,d3 as Ed,Qp as Fd,y3 as Gd,x3 as Hd,S3 as Id,b3 as Jd,E3 as Kd,A3 as Ld,T3 as Md,w3 as Nd,wi as Od,C3 as Pd,P3 as Qd,N3 as Rd,D3 as Sd,_3 as Td,k3 as Ud,M3 as Vd,O3 as Wd,$3 as Xd,j3 as Yd,G3 as Zd,q3 as _d,V3 as $d,z3 as ae,W3 as be,Z3 as ce,K3 as de,J3 as ee,ak as fe,lk as ge,ok as he,ik as ie,sk as je,dk as ke,ck as le,pk as me,uk as ne,hk as oe,gk as pe,yk as qe,xk as re,Sk as se,bk as te,H as ue,o1 as ve,i1 as we,Nd as xe,Ta as ye,Ym as ze,Uk as Ae,Zm as Be,qk as Ce,Vk as De,zk as Ee,mp as Fe,IC as Ge,PM as He,RM as Ie,NM as Je,OM as Ke,zM as Le,WM as Me,rF as Ne,aF as Oe,sF as Pe,mF as Qe,uF as Re,gF as Se,Hl as Te,xF as Ue,M1 as Ve,Bd as We,EF as Xe,AF as Ye,I1 as Ze,X1 as _e,$1 as $e,wF as af,j1 as bf,vF as cf,PF as df,RF as ef,NF as ff,DF as gf,kF as hf,IF as if,BF as jf,OF as kf,XF as lf,$F as mf,jF as nf,HF as of,VF as pf,KF as qf,JF as rf,QF as sf,t4 as tf,a4 as uf,l4 as vf,o4 as wf,s4 as xf,d4 as yf,c4 as zf,m4 as Af,p4 as Bf,u4 as Cf,E4 as Df,A4 as Ef,T4 as Ff,eQ as Gf,K0e as Hf,J0e as If,tQ as Jf,Q0e as Kf,efe as Lf,tfe as Mf,nfe as Nf,rfe as Of};
|