")}function vo(r,e,t){const n=new r._zod.constr(e??r._zod.def);return(!e||t?.parent)&&(n._zod.parent=r),n}function Te(r){const e=r;if(!e)return{};if(typeof e=="string")return{error:()=>e};if(e?.message!==void 0){if(e?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");e.error=e.message}return delete e.message,typeof e.error=="string"?{...e,error:()=>e.error}:e}function s5(r){return Object.keys(r).filter(e=>r[e]._zod.optin==="optional"&&r[e]._zod.optout==="optional")}const l5={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function u5(r,e){const t=r._zod.def,n=t.checks;if(n&&n.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const i=co(r._zod.def,{get shape(){const o={};for(const s in e){if(!(s in t.shape))throw new Error(`Unrecognized key: "${s}"`);e[s]&&(o[s]=t.shape[s])}return Fs(this,"shape",o),o},checks:[]});return vo(r,i)}function f5(r,e){const t=r._zod.def,n=t.checks;if(n&&n.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const i=co(r._zod.def,{get shape(){const o={...r._zod.def.shape};for(const s in e){if(!(s in t.shape))throw new Error(`Unrecognized key: "${s}"`);e[s]&&delete o[s]}return Fs(this,"shape",o),o},checks:[]});return vo(r,i)}function c5(r,e){if(!Xf(e))throw new Error("Invalid input to extend: expected a plain object");const t=r._zod.def.checks;if(t&&t.length>0){const i=r._zod.def.shape;for(const o in e)if(Object.getOwnPropertyDescriptor(i,o)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const a=co(r._zod.def,{get shape(){const i={...r._zod.def.shape,...e};return Fs(this,"shape",i),i}});return vo(r,a)}function v5(r,e){if(!Xf(e))throw new Error("Invalid input to safeExtend: expected a plain object");const t=co(r._zod.def,{get shape(){const n={...r._zod.def.shape,...e};return Fs(this,"shape",n),n}});return vo(r,t)}function h5(r,e){const t=co(r._zod.def,{get shape(){const n={...r._zod.def.shape,...e._zod.def.shape};return Fs(this,"shape",n),n},get catchall(){return e._zod.def.catchall},checks:[]});return vo(r,t)}function p5(r,e,t){const a=e._zod.def.checks;if(a&&a.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const o=co(e._zod.def,{get shape(){const s=e._zod.def.shape,l={...s};if(t)for(const u in t){if(!(u in s))throw new Error(`Unrecognized key: "${u}"`);t[u]&&(l[u]=r?new r({type:"optional",innerType:s[u]}):s[u])}else for(const u in s)l[u]=r?new r({type:"optional",innerType:s[u]}):s[u];return Fs(this,"shape",l),l},checks:[]});return vo(e,o)}function d5(r,e,t){const n=co(e._zod.def,{get shape(){const a=e._zod.def.shape,i={...a};if(t)for(const o in t){if(!(o in i))throw new Error(`Unrecognized key: "${o}"`);t[o]&&(i[o]=new r({type:"nonoptional",innerType:a[o]}))}else for(const o in a)i[o]=new r({type:"nonoptional",innerType:a[o]});return Fs(this,"shape",i),i}});return vo(e,n)}function kl(r,e=0){if(r.aborted===!0)return!0;for(let t=e;t Format: XXNNNNN (2 letters + 5 numbers) How is your team structured - by application, technology stack, or
geography? What is your shift coverage model? How many total production applications does your team support? How many are Enterprise Critical Applications (ECAs)? List your top 10-15 applications by Business criticality or incident
volume. Baseline for 40% reduction target Baseline for 25% reduction target % of daily checks, pre/post checks automated Current count and success rate of apps on OTR Total MTPs, MMTPs mapping What's causing the most toil? What does your manager care about most? You have reached the end of the 2026 Production Support Strategy
Survey! 1&&n>0?s:o}};return i;function o(){return e a&&(a+=ju);var h=Math.atan2(s,o);if(h<0&&(h+=ju),h>=n&&h<=a||h+ju>=n&&h+ju<=a)return l[0]=f,l[1]=c,u-t;var p=t*Math.cos(n)+r,d=t*Math.sin(n)+e,g=t*Math.cos(a)+r,y=t*Math.sin(a)+e,m=(p-o)*(p-o)+(d-s)*(d-s),_=(g-o)*(g-o)+(y-s)*(y-s);return m<_?(l[0]=p,l[1]=d,Math.sqrt(m)):(l[0]=g,l[1]=y,Math.sqrt(_))}function Tp(r,e,t,n,a,i,o,s){var l=a-r,u=i-e,f=t-r,c=n-e,v=Math.sqrt(f*f+c*c);f/=v,c/=v;var h=l*f+u*c,p=h/v;s&&(p=Math.min(Math.max(p,0),1)),p*=v;var d=o[0]=r+p*f,g=o[1]=e+p*c;return Math.sqrt((d-a)*(d-a)+(g-i)*(g-i))}function GR(r,e,t,n,a,i,o){t<0&&(r=r+t,t=-t),n<0&&(e=e+n,n=-n);var s=r+t,l=e+n,u=o[0]=Math.min(Math.max(a,r),s),f=o[1]=Math.min(Math.max(i,e),l);return Math.sqrt((u-a)*(u-a)+(f-i)*(f-i))}var Bn=[];function E7(r,e,t){var n=GR(e.x,e.y,e.width,e.height,r.x,r.y,Bn);return t.set(Bn[0],Bn[1]),n}function R7(r,e,t){for(var n=0,a=0,i=0,o=0,s,l,u=1/0,f=e.data,c=r.x,v=r.y,h=0;hGeneral Information
Required
Manager Lookup (Optional)
1. Team & Organization Structure
2. Applications & Portfolio
3. Incidents, Automation, & OTR
4. Strategic Alignment
5. Review & Submit
Please ensure all required fields are filled out. When you are ready,
click the button below to export your final dataset. This will run a
final validation check against the data schema.1&&(tx(o,-1),window.scrollTo({top:0,behavior:"smooth"}))}function C(){const ye=XL.safeParse(t());if(!ye.success){Fe(u,ye.error.flatten().fieldErrors),x("Validation failed. Please check required fields in general info.",!0);return}Fe(u,{});const Ie=ye.data,Ye=JSON.stringify(Ie,null,2),ot=d(Ie.department,"department"),Ne=d(Ie.leadName,"support_lead"),bt=new Date().toISOString().replace(/[:.]/g,"-"),ht=`strategy_survey_${Ne}_${ot}_${bt}.json`,Dt=new Blob([Ye],{type:"application/json"}),Tr=URL.createObjectURL(Dt),pt=document.createElement("a");pt.href=Tr,pt.download=ht,document.body.appendChild(pt),pt.click(),setTimeout(()=>{document.body.removeChild(pt),URL.revokeObjectURL(Tr)},0),Ut.clear(),Fe(o,1),x("JSON exported successfully! Draft cleared.")}function A(){const ye=JSON.stringify(t(),null,2),Ie=d(t().department,"draft"),Ye=d(t().leadName,"support_lead"),ot=new Date().toISOString().replace(/[:.]/g,"-"),Ne=`strategy_survey_${Ye}_${Ie}_${ot}_draft.json`,bt=new Blob([ye],{type:"application/json"}),ht=URL.createObjectURL(bt),Dt=document.createElement("a");Dt.href=ht,Dt.download=Ne,document.body.appendChild(Dt),Dt.click(),setTimeout(()=>{document.body.removeChild(Dt),URL.revokeObjectURL(ht)},0),x("Draft JSON exported! (Note: Not validated for required fields)")}eL(()=>Y(o),()=>{Fe(i,(Y(o)-1)/(s-1)*100)}),tL(),_1();var D=Q4(),L=ne(D),I=ne(L),P=ne(I),E=K(I,2),k=ne(E),O=K(E,2);Zm(O,5,()=>l,Wm,(ye,Ie,Ye)=>{var ot=G4();let Ne;var bt=ne(ot);bt.textContent=Ye+1;var ht=K(bt,2),Dt=ne(ht);Er(()=>{Ne=Oi(ot,1,"step-chip svelte-r9pnp8",null,Ne,{active:Y(o)===Ye+1,completed:Y(o)>Ye+1}),ur(Dt,Y(Ie))}),tt(ye,ot)});var R=K(L,2),z=ne(R);{var V=ye=>{var Ie=$4(),Ye=K(ne(Ie),2),ot=K(ne(Ye),2),Ne=K(ne(ot),2);let bt;var ht=K(Ne,2);{var Dt=mt=>{var Cr=F4(),_i=ne(Cr);Er(()=>ur(_i,(Y(u),De(()=>Y(u).department[0])))),tt(mt,Cr)};Vt(ht,mt=>{Y(u),De(()=>Y(u).department)&&mt(Dt)})}var Tr=K(ot,2),pt=K(ne(Tr),2);let Oa;var Na=ne(pt);Na.value=Na.__value="";var mi=K(Na);Zm(mi,1,()=>Vx,Wm,(mt,Cr)=>{var _i=H4(),pB=ne(_i),jb={};Er(()=>{ur(pB,Y(Cr)),jb!==(jb=Y(Cr))&&(_i.value=(_i.__value=Y(Cr))??"")}),tt(mt,_i)});var It=K(pt,2);{var qc=mt=>{var Cr=W4(),_i=ne(Cr);Er(()=>ur(_i,(Y(u),De(()=>Y(u).leadName[0])))),tt(mt,Cr)};Vt(It,mt=>{Y(u),De(()=>Y(u).leadName)&&mt(qc)})}var za=K(Ye,2),sB=K(ne(za),2),Yb=ne(sB),Xb=K(ne(Yb),2),lB=K(Yb,4),Kd=K(ne(lB),2);let qb;var uB=K(Kd,2),fB=ne(uB);{var cB=mt=>{var Cr=Jd("Filled automatically from SOEID.");tt(mt,Cr)},vB=mt=>{var Cr=Jd("No manager found for this SOEID.");tt(mt,Cr)},hB=mt=>{var Cr=Jd("Enter SOEID to auto-fill manager name.");tt(mt,Cr)};Vt(fB,mt=>{Y(h)==="found"?mt(cB):Y(h)==="notFound"?mt(vB,1):mt(hB,!1)})}Er(()=>{bt=Oi(Ne,1,"svelte-r9pnp8",null,bt,{error:Y(u).department}),Oa=Oi(pt,1,"svelte-r9pnp8",null,Oa,{error:Y(u).leadName}),vx(Xb,(t(),De(()=>t().managerSoeid))),vx(Kd,(t(),De(()=>t().managerName))),qb=Oi(Kd,1,"svelte-r9pnp8",null,qb,{"autofill-pulse":Y(p)})}),Xr(Ne,()=>t().department,mt=>(Mr(Ut,De(t).department=mt,De(t)),Ar(()=>{Y(u)}))),cx(pt,()=>t().leadName,mt=>(Mr(Ut,De(t).leadName=mt,De(t)),Ar(()=>{Y(u)}))),lr("input",Xb,y),tt(ye,Ie)};Vt(z,ye=>{Y(o)===1&&ye(V)})}var G=K(z,2);{var F=ye=>{var Ie=Z4(),Ye=K(ne(Ie),2),ot=K(ne(Ye),2);V4(ot,{question:"How many Production Support engineers/analysts are on your team?",why:"Understanding your team size is critical for setting realistic goals and calculating capacity. With the PM Strategy targeting aggressive automation (35%) and incident reduction (40%/25%), we need to know if you have 3 people or 30 people to determine what's achievable. A small team will need to focus on high-impact quick wins, while a larger team can run parallel workstreams.",how:'Provide the total headcount including full-time employees, contractors, and offshore resources. If you have sub-teams or squads, break it down (e.g., "15 total: 10 FTE, 5 contractors, split into 3 squads of 5").',example:"12 people total: 8 in BIC (London), 4 in LATMEX (Mexico City). Mix of 10 FTE and 2 contractors."});var Ne=K(ot,2),bt=K(Ye,2),ht=K(ne(bt),4);mo(ht,za=>_o?.(za)),ua(()=>Xr(ht,()=>t().teamStructure,za=>(Mr(Ut,De(t).teamStructure=za,De(t)),Ar(()=>{Y(u)}))));var Dt=K(bt,2),Tr=K(ne(Dt),4),pt=ne(Tr);pt.value=pt.__value="";var Oa=K(pt);Oa.value=Oa.__value="24x7";var Na=K(Oa);Na.value=Na.__value="follow-the-sun";var mi=K(Na);mi.value=mi.__value="business-hours";var It=K(mi);It.value=It.__value="extended-hours";var qc=K(It);qc.value=qc.__value="on-call",Xr(Ne,()=>t().teamSize,za=>(Mr(Ut,De(t).teamSize=za,De(t)),Ar(()=>{Y(u)}))),cx(Tr,()=>t().shiftCoverage,za=>(Mr(Ut,De(t).shiftCoverage=za,De(t)),Ar(()=>{Y(u)}))),tt(ye,Ie)};Vt(G,ye=>{Y(o)===2&&ye(F)})}var U=K(G,2);{var J=ye=>{var Ie=U4(),Ye=K(ne(Ie),2),ot=ne(Ye),Ne=K(ne(ot),4),bt=K(ot,2),ht=K(ne(bt),4),Dt=K(Ye,2),Tr=K(ne(Dt),4);mo(Tr,pt=>_o?.(pt)),ua(()=>Xr(Tr,()=>t().keyApps,pt=>(Mr(Ut,De(t).keyApps=pt,De(t)),Ar(()=>{Y(u)})))),Xr(Ne,()=>t().totalApps,pt=>(Mr(Ut,De(t).totalApps=pt,De(t)),Ar(()=>{Y(u)}))),Xr(ht,()=>t().ecaCount,pt=>(Mr(Ut,De(t).ecaCount=pt,De(t)),Ar(()=>{Y(u)}))),tt(ye,Ie)};Vt(U,ye=>{Y(o)===3&&ye(J)})}var he=K(U,2);{var Oe=ye=>{var Ie=Y4(),Ye=K(ne(Ie),2),ot=ne(Ye),Ne=K(ne(ot),4),bt=K(ot,2),ht=K(ne(bt),4),Dt=K(Ye,2),Tr=K(ne(Dt),4);mo(Tr,It=>_o?.(It)),ua(()=>Xr(Tr,()=>t().automationRates,It=>(Mr(Ut,De(t).automationRates=It,De(t)),Ar(()=>{Y(u)}))));var pt=K(Dt,2),Oa=K(ne(pt),4);mo(Oa,It=>_o?.(It)),ua(()=>Xr(Oa,()=>t().appsOtr,It=>(Mr(Ut,De(t).appsOtr=It,De(t)),Ar(()=>{Y(u)}))));var Na=K(pt,2),mi=K(ne(Na),4);mo(mi,It=>_o?.(It)),ua(()=>Xr(mi,()=>t().mtpStatus,It=>(Mr(Ut,De(t).mtpStatus=It,De(t)),Ar(()=>{Y(u)})))),Xr(Ne,()=>t().sysIncidents,It=>(Mr(Ut,De(t).sysIncidents=It,De(t)),Ar(()=>{Y(u)}))),Xr(ht,()=>t().humIncidents,It=>(Mr(Ut,De(t).humIncidents=It,De(t)),Ar(()=>{Y(u)}))),tt(ye,Ie)};Vt(he,ye=>{Y(o)===4&&ye(Oe)})}var We=K(he,2);{var pe=ye=>{var Ie=X4(),Ye=K(ne(Ie),2),ot=K(ne(Ye),4);mo(ot,ht=>_o?.(ht)),ua(()=>Xr(ot,()=>t().painPoints,ht=>(Mr(Ut,De(t).painPoints=ht,De(t)),Ar(()=>{Y(u)}))));var Ne=K(Ye,2),bt=K(ne(Ne),4);mo(bt,ht=>_o?.(ht)),ua(()=>Xr(bt,()=>t().managerPriorities,ht=>(Mr(Ut,De(t).managerPriorities=ht,De(t)),Ar(()=>{Y(u)})))),tt(ye,Ie)};Vt(We,ye=>{Y(o)===5&&ye(pe)})}var ae=K(We,2);{var _e=ye=>{var Ie=q4();tt(ye,Ie)};Vt(ae,ye=>{Y(o)===6&&ye(_e)})}var ee=K(ae,2),de=ne(ee),Ue=K(ne(de),2),Ee=K(Ue,2),Ge=K(Ee,2);Ef(Ge,ye=>Fe(v,ye),()=>Y(v));var qe=K(de,2),yt=ne(qe),wr=K(yt,2);{var dr=ye=>{var Ie=j4();lr("click",Ie,w),tt(ye,Ie)},Ra=ye=>{var Ie=K4();lr("click",Ie,C),tt(ye,Ie)};Vt(wr,ye=>{Y(o){var Ie=J4();let Ye;var ot=ne(Ie);Er(()=>{Ye=Oi(Ie,1,"toast show svelte-r9pnp8",null,Ye,{"error-toast":Y(c)}),ur(ot,Y(f))}),tt(ye,Ie)};Vt(yi,ye=>{Y(f)&&ye(ku)})}Er(()=>{HV(P,`width: ${Y(i)??""}%`),ur(k,`Step ${Y(o)??""} of 6 - ${Y(o),De(()=>l[Y(o)-1])??""}`),yt.disabled=Y(o)===1}),lr("click",Ue,A),lr("click",Ee,S),lr("change",Ge,b),lr("click",yt,T),lr("submit",R,Um(()=>{})),tt(r,D),td(),a()}var Km=function(r,e){return Km=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])},Km(r,e)};function N(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Km(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var tH=(function(){function r(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return r})(),rH=(function(){function r(){this.browser=new tH,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return r})(),Pe=new rH;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Pe.wxa=!0,Pe.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Pe.worker=!0:!Pe.hasGlobalWindow||"Deno"in window||typeof navigator<"u"&&typeof navigator.userAgent=="string"&&navigator.userAgent.indexOf("Node.js")>-1?(Pe.node=!0,Pe.svgSupported=!0):nH(navigator.userAgent,Pe);function nH(r,e){var t=e.browser,n=r.match(/Firefox\/([\d.]+)/),a=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/.+?rv:(([\d.]+))/),i=r.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(r);n&&(t.firefox=!0,t.version=n[1]),a&&(t.ie=!0,t.version=a[1]),i&&(t.edge=!0,t.version=i[1],t.newEdge=+i[1].split(".")[0]>18),o&&(t.weChat=!0),e.svgSupported=typeof SVGRect<"u",e.touchEventsSupported="ontouchstart"in window&&!t.ie&&!t.edge,e.pointerEventsSupported="onpointerdown"in window&&(t.edge||t.ie&&+t.version>=11);var s=e.domSupported=typeof document<"u";if(s){var l=document.documentElement.style;e.transform3dSupported=(t.ie&&"transition"in l||t.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in l)&&!("OTransition"in l),e.transformSupported=e.transform3dSupported||t.ie&&+t.version>=9}}var M1=12,qL="sans-serif",ai=M1+"px "+qL,aH=20,iH=100,oH="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function sH(r){var e={};if(typeof JSON>"u")return e;for(var t=0;t1&&n&&n.length>1){var i=Xx(n)/Xx(a);!isFinite(i)&&(i=1),e.pinchScale=i;var o=OH(n);return e.pinchX=o[0],e.pinchY=o[1],{type:"pinch",target:r[0].target,event:e}}}}};function rr(){return[1,0,0,1,0,0]}function pd(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function dd(r,e){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r[4]=e[4],r[5]=e[5],r}function Sa(r,e,t){var n=e[0]*t[0]+e[2]*t[1],a=e[1]*t[0]+e[3]*t[1],i=e[0]*t[2]+e[2]*t[3],o=e[1]*t[2]+e[3]*t[3],s=e[0]*t[4]+e[2]*t[5]+e[4],l=e[1]*t[4]+e[3]*t[5]+e[5];return r[0]=n,r[1]=a,r[2]=i,r[3]=o,r[4]=s,r[5]=l,r}function Aa(r,e,t){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r[4]=e[4]+t[0],r[5]=e[5]+t[1],r}function ho(r,e,t,n){n===void 0&&(n=[0,0]);var a=e[0],i=e[2],o=e[4],s=e[1],l=e[3],u=e[5],f=Math.sin(t),c=Math.cos(t);return r[0]=a*c+s*f,r[1]=-a*f+s*c,r[2]=i*c+l*f,r[3]=-i*f+c*l,r[4]=c*(o-n[0])+f*(u-n[1])+n[0],r[5]=c*(u-n[1])-f*(o-n[0])+n[1],r}function O1(r,e,t){var n=t[0],a=t[1];return r[0]=e[0]*n,r[1]=e[1]*a,r[2]=e[2]*n,r[3]=e[3]*a,r[4]=e[4]*n,r[5]=e[5]*a,r}function Yn(r,e){var t=e[0],n=e[2],a=e[4],i=e[1],o=e[3],s=e[5],l=t*o-i*n;return l?(l=1/l,r[0]=o*l,r[1]=-i*l,r[2]=-n*l,r[3]=t*l,r[4]=(n*s-o*a)*l,r[5]=(i*a-t*s)*l,r):null}function NH(r){var e=rr();return dd(e,r),e}var ue=(function(){function r(e,t){this.x=e||0,this.y=t||0}return r.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},r.prototype.clone=function(){return new r(this.x,this.y)},r.prototype.set=function(e,t){return this.x=e,this.y=t,this},r.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},r.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},r.prototype.scale=function(e){this.x*=e,this.y*=e},r.prototype.scaleAndAdd=function(e,t){this.x+=e.x*t,this.y+=e.y*t},r.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},r.prototype.dot=function(e){return this.x*e.x+this.y*e.y},r.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},r.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},r.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},r.prototype.distance=function(e){var t=this.x-e.x,n=this.y-e.y;return Math.sqrt(t*t+n*n)},r.prototype.distanceSquare=function(e){var t=this.x-e.x,n=this.y-e.y;return t*t+n*n},r.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},r.prototype.transform=function(e){if(e){var t=this.x,n=this.y;return this.x=e[0]*t+e[2]*n+e[4],this.y=e[1]*t+e[3]*n+e[5],this}},r.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},r.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},r.set=function(e,t,n){e.x=t,e.y=n},r.copy=function(e,t){e.x=t.x,e.y=t.y},r.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},r.lenSquare=function(e){return e.x*e.x+e.y*e.y},r.dot=function(e,t){return e.x*t.x+e.y*t.y},r.add=function(e,t,n){e.x=t.x+n.x,e.y=t.y+n.y},r.sub=function(e,t,n){e.x=t.x-n.x,e.y=t.y-n.y},r.scale=function(e,t,n){e.x=t.x*n,e.y=t.y*n},r.scaleAndAdd=function(e,t,n,a){e.x=t.x+n.x*a,e.y=t.y+n.y*a},r.lerp=function(e,t,n,a){var i=1-a;e.x=i*t.x+a*n.x,e.y=i*t.y+a*n.y},r})(),os=Math.min,El=Math.max,o0=Math.abs,qx=["x","y"],zH=["width","height"],So=new ue,bo=new ue,xo=new ue,wo=new ue,Jr=nP(),yf=Jr.minTv,s0=Jr.maxTv,Of=[0,0],ve=(function(){function r(e,t,n,a){r.set(this,e,t,n,a)}return r.set=function(e,t,n,a,i){return a<0&&(t=t+a,a=-a),i<0&&(n=n+i,i=-i),e.x=t,e.y=n,e.width=a,e.height=i,e},r.prototype.union=function(e){var t=os(e.x,this.x),n=os(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=El(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=El(e.y+e.height,this.y+this.height)-n:this.height=e.height,this.x=t,this.y=n},r.prototype.applyTransform=function(e){r.applyTransform(this,this,e)},r.prototype.calculateTransform=function(e){var t=this,n=e.width/t.width,a=e.height/t.height,i=rr();return Aa(i,i,[-t.x,-t.y]),O1(i,i,[n,a]),Aa(i,i,[e.x,e.y]),i},r.prototype.intersect=function(e,t,n){return r.intersect(this,e,t,n)},r.intersect=function(e,t,n,a){n&&ue.set(n,0,0);var i=a&&a.outIntersectRect||null,o=a&&a.clamp;if(i&&(i.x=i.y=i.width=i.height=NaN),!e||!t)return!1;e instanceof r||(e=r.set(BH,e.x,e.y,e.width,e.height)),t instanceof r||(t=r.set(VH,t.x,t.y,t.width,t.height));var s=!!n;Jr.reset(a,s);var l=Jr.touchThreshold,u=e.x+l,f=e.x+e.width-l,c=e.y+l,v=e.y+e.height-l,h=t.x+l,p=t.x+t.width-l,d=t.y+l,g=t.y+t.height-l;if(u>f||c>v||h>p||d>g)return!1;var y=!(f0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}else{for(s=a+1;ls&&(l=s);var u=o;o=a-l,l=a-u}for(o++;os&&(l=s);var u=o;o=a-l,l=a-u}else{for(s=n-a;l=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}for(o++;ot);f++);f=v(f-1,s-2)}p=o[f+1],h=o[f]}if(h&&p){this._lastFr=f,this._lastFrP=t;var g=p.percent-h.percent,y=g===0?1:v((t-h.percent)/g,1);p.easingFunc&&(y=p.easingFunc(y));var m=n?this._additiveValue:u?zu:e[l];if((cv(i)||u)&&!m&&(m=this._additiveValue=[]),this.discrete)e[l]=y<1?h.rawValue:p.rawValue;else if(cv(i))i===Th?hg(m,h[a],p[a],y):cW(m,h[a],p[a],y);else if(uw(i)){var _=h[a],S=p[a],b=i===d0;e[l]={type:b?"linear":"radial",x:$a(_.x,S.x,y),y:$a(_.y,S.y,y),colorStops:$(_.colorStops,function(w,T){var C=S.colorStops[T];return{offset:$a(w.offset,C.offset,y),color:wh(hg([],w.color,C.color,y))}}),global:S.global},b?(e[l].x2=$a(_.x2,S.x2,y),e[l].y2=$a(_.y2,S.y2,y)):e[l].r=$a(_.r,S.r,y)}else if(u)hg(m,h[a],p[a],y),n||(e[l]=wh(m));else{var x=$a(h[a],p[a],y);n?this._additiveValue=x:e[l]=x}n&&this._addToTarget(e)}}},r.prototype._addToTarget=function(e){var t=this.valType,n=this.propName,a=this._additiveValue;t===fv?e[n]=e[n]+a:t===_f?(Zr(e[n],zu),uv(zu,zu,a,1),e[n]=wh(zu)):t===Th?uv(e[n],e[n],a,1):t===xP&&sw(e[n],e[n],a,1)},r})(),B1=(function(){function r(e,t,n,a){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=t,t&&a){L1("Can' use additive animation on looped animation.");return}this._additiveAnimators=a,this._allowDiscrete=n}return r.prototype.getMaxTime=function(){return this._maxTime},r.prototype.getDelay=function(){return this._delay},r.prototype.getLoop=function(){return this._loop},r.prototype.getTarget=function(){return this._target},r.prototype.changeTarget=function(e){this._target=e},r.prototype.when=function(e,t,n){return this.whenWithKeys(e,t,Re(t),n)},r.prototype.whenWithKeys=function(e,t,n,a){for(var i=this._tracks,o=0;og[1]&&(g[1]=d)}return this._rawCount=this._count=l,{start:s,end:l}},r.prototype._initDataFromProvider=function(e,t,n){for(var a=this._provider,i=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,u=$(o,function(m){return m.property}),f=0;fy[1]&&(y[1]=g)}}!a.persistent&&a.clean&&a.clean(),this._rawCount=this._count=t,this._extent=[]},r.prototype.count=function(){return this._count},r.prototype.get=function(e,t){if(!(t>=0&&tS&&(S=_),S!==h&&(y.width=S,c-=S+f*S,v--)}}),h=(c-u)/(v+(v-1)*f),h=Math.max(h,0);var p=0,d;M(i,function(y,m){y.width||(y.width=h),d=y,p+=y.width*(1+f)}),d&&(p-=d.width*f);var g=-p/2;M(i,function(y,m){t[a][m]=t[a][m]||{bandWidth:o,offset:g,width:y.width},g+=y.width*(1+f)})}),t}function U6(r,e,t){if(r&&e){var n=r[PS(e)];return n}}function SR(r,e){var t=yR(r,e),n=mR(t);M(t,function(a){var i=a.getData(),o=a.coordinateSystem,s=o.getBaseAxis(),l=gR(a),u=n[PS(s)][l],f=u.offset,c=u.width;i.setLayout({bandWidth:u.bandWidth,offset:f,size:c})})}function bR(r){return{seriesType:r,plan:Cu(),reset:function(e){if(xR(e)){var t=e.getData(),n=e.coordinateSystem,a=n.getBaseAxis(),i=n.getOtherAxis(a),o=t.getDimensionIndex(t.mapDimension(i.dim)),s=t.getDimensionIndex(t.mapDimension(a.dim)),l=e.get("showBackground",!0),u=t.mapDimension(i.dim),f=t.getCalculationInfo("stackResultDimension"),c=oo(t,u)&&!!t.getCalculationInfo("stackedOnSeries"),v=i.isHorizontal(),h=Y6(a,i),p=wR(e),d=e.get("barMinHeight")||0,g=f&&t.getDimensionIndex(f),y=t.getLayout("size"),m=t.getLayout("offset");return{progress:function(_,S){for(var b=_.count,x=p&&ya(b*3),w=p&&l&&ya(b*3),T=p&&ya(b),C=n.master.getRect(),A=v?C.width:C.height,D,L=S.getStore(),I=0;(D=_.next())!=null;){var P=L.get(c?g:o,D),E=L.get(s,D),k=h,O=void 0;c&&(O=+P-L.get(o,D));var R=void 0,z=void 0,V=void 0,G=void 0;if(v){var F=n.dataToPoint([P,E]);if(c){var U=n.dataToPoint([O,E]);k=U[0]}R=k,z=F[1]+m,V=F[0]-k,G=y,Math.abs(V)e){i?t.push(o(i,l,e)):a&&t.push(o(a,l,0),o(a,l,e));break}else a&&(t.push(o(a,l,0)),a=null),t.push(l),i=l}return t}function VY(r,e,t){var n=r.getVisual("visualMeta");if(!(!n||!n.length||!r.count())&&e.type==="cartesian2d"){for(var a,i,o=n.length-1;o>=0;o--){var s=r.getDimensionInfo(n[o].dimension);if(a=s&&s.coordDim,a==="x"||a==="y"){i=n[o];break}}if(i){var l=e.getAxis(a),u=$(i.stops,function(_){return{coord:l.toGlobalCoord(l.dataToCoord(_.value)),color:_.color}}),f=u.length,c=i.outerColors.slice();f&&u[0].coord>u[f-1].coord&&(u.reverse(),c.reverse());var v=BY(u,a==="x"?t.getWidth():t.getHeight()),h=v.length;if(!h&&f)return u[0].coord<0?c[1]?c[1]:u[f-1].color:c[0]?c[0]:u[0].color;var p=10,d=v[0].coord-p,g=v[h-1].coord+p,y=g-d;if(y<.001)return"transparent";M(v,function(_){_.offset=(_.coord-d)/y}),v.push({offset:h?v[h-1].offset:.5,color:c[1]||"transparent"}),v.unshift({offset:h?v[0].offset:.5,color:c[0]||"transparent"});var m=new bu(0,0,0,0,v,!0);return m[a]=d,m[a+"2"]=g,m}}}function GY(r,e,t){var n=r.get("showAllSymbol"),a=n==="auto";if(!(n&&!a)){var i=t.getAxesByScale("ordinal")[0];if(i&&!(a&&FY(i,e))){var o=e.mapDimension(i.dim),s={};return M(i.getViewLabels(),function(l){var u=i.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(e.get(o,l))}}}}function FY(r,e){var t=r.getExtent(),n=Math.abs(t[1]-t[0])/r.scale.count();isNaN(n)&&(n=0);for(var a=e.count(),i=Math.max(1,Math.round(a/5)),o=0;on)return!1;return!0}function HY(r,e){return isNaN(r)||isNaN(e)}function WY(r){for(var e=r.length/2;e>0&&HY(r[e*2-2],r[e*2-1]);e--);return e-1}function tA(r,e){return[r[e*2],r[e*2+1]]}function $Y(r,e,t){for(var n=r.length/2,a=t==="x"?0:1,i,o,s=0,l=-1,u=0;u0&&!p.min?p.min=0:p.min!=null&&p.min<0&&!p.max&&(p.max=0);var d=l;p.color!=null&&(d=fe({color:p.color},l));var g=xe(se(p),{boundaryGap:t,splitNumber:n,scale:a,axisLine:i,axisTick:o,axisLabel:s,name:p.text,showName:u,nameLocation:"end",nameGap:c,nameTextStyle:d,triggerEvent:v},!1);if(q(f)){var y=g.name;g.name=f.replace("{value}",y??"")}else ie(f)&&(g.name=f(g.name,g));var m=new ke(g,null,this.ecModel);return zt(m,Hc.prototype),m.mainType="radar",m.componentIndex=this.componentIndex,m},this);this._indicatorModels=h},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"50%",startAngle:90,axisName:{show:!0,color:B.color.axisLabel},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:xe({lineStyle:{color:B.color.neutral20}},Ju.axisLine),axisLabel:qv(Ju.axisLabel,!1),axisTick:qv(Ju.axisTick,!1),splitLine:qv(Ju.splitLine,!0),splitArea:qv(Ju.splitArea,!0),indicator:[]},e})(Le),Lq=(function(r){N(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,n,a){var i=this.group;i.removeAll(),this._buildAxes(t,a),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t,n){var a=t.coordinateSystem,i=a.getIndicatorAxes(),o=$(i,function(s){var l=s.model.get("showName")?s.name:"",u=new Nr(s.model,n,{axisName:l,position:[a.cx,a.cy],rotation:s.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return u});M(o,function(s){s.build(),this.group.add(s.group)},this)},e.prototype._buildSplitLineAndArea=function(t){var n=t.coordinateSystem,a=n.getIndicatorAxes();if(!a.length)return;var i=t.get("shape"),o=t.getModel("splitLine"),s=t.getModel("splitArea"),l=o.getModel("lineStyle"),u=s.getModel("areaStyle"),f=o.get("show"),c=s.get("show"),v=l.get("color"),h=u.get("color"),p=W(v)?v:[v],d=W(h)?h:[h],g=[],y=[];function m(E,k,O){var R=O%k.length;return E[R]=E[R]||[],R}if(i==="circle")for(var _=a[0].getTicksCoords(),S=n.cx,b=n.cy,x=0;x<_.length;x++){if(f){var w=m(g,p,x);g[w].push(new pi({shape:{cx:S,cy:b,r:_[x].coord}}))}if(c&&x<_.length-1){var w=m(y,d,x);y[w].push(new Ec({shape:{cx:S,cy:b,r0:_[x].coord,r:_[x+1].coord}}))}}else for(var T,C=$(a,function(E,k){var O=E.getTicksCoords();return T=T==null?O.length-1:Math.min(O.length-1,T),$(O,function(R){return n.coordToPoint(R.coord,k)})}),A=[],x=0;x<=T;x++){for(var D=[],L=0;L