PageSourceSearch

https://marketplace.also.ch/v/assets/Report-CUh0h07y.js

js also.ch collected 2026-10-03 19:52:55 UTC 352,365 bytes, 10 lines download raw bytes

vendor: 4,400 bytes, line 1
1import{g as bo,u as wo}from"./index-B9UrB2x5.js";import{u as oa}from"./store-JUnLieUC.js";import{dG as Eo,_ as ft,aL as So,z as la,o as ae,b as he,f as ue,a0 as To,a as He,t as ke,q as Fe,B as Ae,d as Be,a7 as sa,cJ as Oo,v as ot,y as me,c as Ee,w as se,X as Co,Z as Kt,i as $e,h as Qt,bg as Po,E as No,s as da,ac as ua,ao as Ri,ap as _i,T as Fr,U as Nt,R as Ii,ag as Ro,bl as _o,P as Io,aX as Ao,af as Pr,bi as Fo}from"./index-DiSbj637.js";import{a as Mo,_ as ca}from"./DataGrid-CS56niy-.js";import{a as $r}from"./_commonjsHelpers-CE1G-McA.js";import{I as Lo}from"./InformationPopup-CF_QEjEN.js";import{_ as Ai}from"./Date-BBFU5b5y.js";import{_ as ko}from"./DateInput-DCGxXLA5.js";import{T as Do}from"./Truncate-CjGeoRZ2.js";import{V as Bo}from"./VAutocomplete-Df9uDz2s.js";import{V as Qe}from"./VSkeletonLoader-DBa04gK-.js";import{s as jo}from"./file-vNqjy47A.js";import{R as Uo}from"./ReadMore-8Dg4ihh1.js";import"./index-Dbf2MfzB.js";import"./sort-DCoe0D7X.js";import"./luxon-BDx6lZXm.js";import"./clone-4VuocPjC.js";import"./date-gHC2lkmg.js";import"./Markdown-9foNne0j.js";import"./markdown-CKf70yQX.js";var Ct={exports:{}},Nr={exports:{}},Rr={};function Te(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const fa={},Ho=[],vt=()=>{},Pt=()=>!1,xr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),$o=e=>e.startsWith("onUpdate:"),qe=Object.assign,xo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},qo=Object.prototype.hasOwnProperty,Wo=(e,t)=>qo.call(e,t),Re=Array.isArray,pa=e=>pt(e)==="[object Map]",ha=e=>pt(e)==="[object Set]",Mr=e=>pt(e)==="[object Date]",Xo=e=>pt(e)==="[object RegExp]",Rt=e=>typeof e=="function",ce=e=>typeof e=="string",rt=e=>typeof e=="symbol",We=e=>e!==null&&typeof e=="object",zo=e=>(We(e)||Rt(e))&&Rt(e.then)&&Rt(e.catch),qr=Object.prototype.toString,pt=e=>qr.call(e),Go=e=>pt(e).slice(8,-1),va=e=>pt(e)==="[object Object]",Jo=e=>ce(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Lr=Te(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ma=Te("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),nr=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Ko=/-\w/g,Ge=nr(e=>e.replace(Ko,t=>t.slice(1).toUpperCase())),Qo=/\B([A-Z])/g,ya=nr(e=>e.replace(Qo,"-$1").toLowerCase()),or=nr(e=>e.charAt(0).toUpperCase()+e.slice(1)),ga=nr(e=>e?`on${or(e)}`:""),Yo=(e,t)=>!Object.is(e,t),Zo=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},el=(e,t,n,m=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:m,value:n})},tl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},rl=e=>{const t=ce(e)?Number(e):NaN;return isNaN(t)?e:t};let Fi;const il=()=>Fi||(Fi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),al=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function nl(e){return al.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}function ol(e,t){return e+JSON.stringify(t,(n,m)=>typeof m=="function"?m.toString():m)}const ll={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",CACHED:-1,"-1":"CACHED",BAIL:-2,"-2":"BAIL"},sl={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"CACHED",[-2]:"BAIL"},dl={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},ul={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},cl={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},fl="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decode
1URI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",Va=Te(fl),pl=Va,Mi=2;function ba(e,t=0,n=e.length){if(t=Math.max(0,Math.min(t,e.length)),n=Math.max(0,Math.min(n,e.length)),t>n)return"";let m=e.split(/(\r?\n)/);const O=m.filter((S,C)=>C%2===1);m=m.filter((S,C)=>C%2===0);let R=0;const T=[];for(let S=0;S<m.length;S++)if(R+=m[S].length+(O[S]&&O[S].length||0),R>=t){for(let C=S-Mi;C<=S+Mi||n>R;C++){if(C<0||C>=m.length)continue;const A=C+1;T.push(`${A}${" ".repeat(Math.max(3-String(A).length,0))}|  ${m[C]}`);const _=m[C].length,P=O[C]&&O[C].length||0;if(C===S){const i=t-(R-(_+P)),w=Math.max(1,n>R?_-i:n-t);T.push("   |  "+" ".repeat(i)+"^".repeat(w))}else if(C>S){if(n>R){const i=Math.max(Math.min(n-R,_),1);T.push("   |  "+"^".repeat(i))}R+=_+P}}break}return T.join(`
2`)}function Wr(e){if(Re(e)){const t={};for(let n=0;n<e.length;n++){const m=e[n],O=ce(m)?Xr(m):Wr(m);if(O)for(const R in O)t[R]=O[R]}return t}else if(ce(e)||We(e))return e}const hl=/;(?![^(]*\))/g,vl=/:([^]+)/,ml=/\/\*[^]*?\*\//g;function Xr(e){const t={};return e.replace(ml,"").split(hl).forEach(n=>{if(n){const m=n.split(vl);m.length>1&&(t[m[0].trim()]=m[1].trim())}}),t}function yl(e){if(!e)return"";if(ce(e))return e;let t="";for(const n in e){const m=e[n];if(ce(m)||typeof m=="number"){const O=n.startsWith("--")?n:ya(n);t+=`${O}:${m};`}}return t}function zr(e){let t="";if(ce(e))t=e;else if(Re(e))for(let n=0;n<e.length;n++){const m=zr(e[n]);m&&(t+=m+" ")}else if(We(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function gl(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ce(t)&&(e.class=zr(t)),n&&(e.style=Wr(n)),e}const Vl="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",bl="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",wl="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",El="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",wa=Te(Vl),Ea=Te(bl),Sa=Te(wl),Ta=Te(El),Oa="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Sl=Te(Oa),Tl=Te(Oa+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function Ol(e){return!!e||e===""}const Cl=/[>/="'\u0009\u000a\u000c\u0020]/,_r={};function Pl(e){if(_r.hasOwnProperty(e))return _r[e];const t=Cl.test(e);return t&&console.error(`unsafe attribute name: ${e}`),_r[e]=!t}const Nl={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},Rl=Te("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,c
2olspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),_l=Te("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode
vendor: 21,461 bytes, line 2
2-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),Il=Te("accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns");function Al(e){if(e==null)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}const Fl=/["'&<>]/;function Ml(e){const t=""+e,n=Fl.exec(t);if(!n)return t;let m="",O,R,T=0;for(R=n.index;R<t.length;R++){switch(t.charCodeAt(R)){case 34:O="&quot;";break;case 38:O="&amp;";break;case 39:O="&#39;";break;case 60:O="&lt;";break;case 62:O="&gt;";break;default:continue}T!==R&&(m+=t.slice(T,R)),T=R+1,m+=O}return T!==R?m+t.slice(T,R):m}const Ll=/^-?>|<!--|-->|--!>|<!-$/g;function kl(e){return e.replace(Ll,"")}const Ca=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function Dl(e,t){return e.replace(Ca,n=>t?n==='"'?'\\\\\\"':`\\\\${n}`:`\\${n}`)}function Bl(e,t){if(e.length!==t.length)return!1;let n=!0;for(let m=0;n&&m<e.length;m++)n=lr(e[m],t[m]);return n}function lr(e,t){if(e===t)return!0;let n=Mr(e),m=Mr(t);if(n||m)return n&&m?e.getTime()===t.getTime():!1;if(n=rt(e),m=rt(t),n||m)return e===t;if(n=Re(e),m=Re(t),n||m)return n&&m?Bl(e,t):!1;if(n=We(e),m=We(t),n||m){if(!n||!m)return!1;const O=Object.keys(e).length,R=Object.keys(t).length;if(O!==R)return!1;for(const T in e){const S=e.hasOwnProperty(T),C=t.hasOwnProperty(T);if(S&&!C||!S&&C||!lr(e[T],t[T]))return!1}}return String(e)===String(t)}function jl(e,t){return e.findIndex(n=>lr(n,t))}const Pa=e=>!!(e&&e.__v_isRef===!0),Na=e=>ce(e)?e:e==null?"":Re(e)||We(e)&&(e.toString===qr||!Rt(e.toString))?Pa(e)?Na(e.value):JSON.stringify(e,Ra,2):String(e),Ra=(e,t)=>Pa(t)?Ra(e,t.value):pa(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[m,O],R)=>(n[Ir(m,R)+" =>"]=O,n),{})}:ha(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ir(n))}:rt(t)?Ir(t):We(t)&&!Re(t)&&!va(t)?String(t):t,Ir=(e,t="")=>{var n;return rt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function Ul(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}const Hl=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_ARR:Ho,EMPTY_OBJ:fa,NO:Pt,NOOP:vt,PatchFlagNames:sl,PatchFlags:ll,ShapeFlags:dl,SlotFlags:ul,camelize:Ge,capitalize:or,cssVarNameEscapeSymbolsRE:Ca,def:el,escapeHtml:Ml,escapeHtmlComment:kl,extend:qe,genCacheKey:ol,genPropsAccessExp:nl,generateCodeFrame:ba,getEscapedCssVarName:Dl,getGlobalThis:il,hasChanged:Yo,hasOwn:Wo,hyphenate:ya,includeBooleanAttr:Ol,invokeArrayFns:Zo,isArray:Re,isBooleanAttr:Tl,isBuiltInDirective:ma,isDate:Mr,isFunction:Rt,isGloballyAllowed:Va,isGloballyWhitelisted:pl,isHTMLTag:wa,isIntegerKey:Jo,isKnownHtmlAttr:Rl,isKnownMathMLAttr:Il,isKnownSvgAttr:_l,isMap:pa,isMathMLTag:Sa,isModelListener:$o,isObject:We,isOn:xr,isPlainObject:va,isPromise:zo,isRegExp:Xo,isRenderableAttrValue:Al,isReservedProp:Lr,isSSRSafeAttrName:Pl,isSVGTag:Ea,isSet:ha,isSpecialBooleanAttr:Sl,isString:ce,isSymbol:rt,isVoidTag:Ta,looseEqual:lr,looseIndexOf:jl,looseToNumber:tl,makeMap:Te,normalizeClass:zr,normalizeCssVarValue:Ul,normalizeProps:gl,normalizeStyle:Wr,objectToString:qr,parseStringStyle:Xr,propsToAttrMap:Nl,remove:xo,slotFlagsText:cl,stringifyStyle:yl,toDisplayString:Na,toHandlerKey:ga,toNumber:rl,toRawType:Go,toTypeString:pt},Symbol.toStringTag,{value:"Module"}));const yt=Symbol(""),mt=Symbol(""),sr=Symbol(""),_t=Symbol(""),Gr=Symbol(""),it=Symbol(""),Jr=Symbol(""),Kr=Symbol(""),dr=Symbol(""),ur=Symbol(""),St=Symbol(""),cr=Symbol(""),Qr=Symbol(""),fr=Symbol(""),pr=Symbol(""),hr=Symbol(""),vr=Symbol(""),mr=Symbol(""),yr=Symbol(""),Yr=Symbol(""),Zr=Symbol(""),kt=Symbol(""),It=Symbol(""),gr=Symbol(""),Vr=Symbol(""),gt=Symbol(""),Tt=Symbol(""),br=Symbol(""),Yt=Symbol(""),_a=Symbol(""),Zt=Symbol(""),At=Symbol(""),Ia=Symbol(""),Aa=Symbol(""),wr=Symbol(""),Fa=Symbol(""),Ma=Symbol(""),Er=Symbol(""),ei=Symbol(""),st={[yt]:"Fragment",[mt]:"Teleport",[sr]:"Suspense",[_t]:"KeepAlive",[Gr]:"BaseTransition",[it]:"openBlock",[Jr]:"createBlock",[Kr]:"createElementBlock",[dr]:"createVNode",[ur]:"createElementVNode",[St]:"createCommentVNode",[cr]:"createTextVNode",[Qr]:"createStaticVNode",[fr]:"resolveComponent",[pr]:"resolveDynamicComponent",[hr]:"resolveDirective",[vr]:"resolveFilter",[mr]:"withDirectives",[yr]:"renderList",[Yr]:"renderSlot",[Zr]:"createSlots",[kt]:"toDisplayString",[It]:"mergeProps",[gr]:"normalizeClass",[Vr]:"normalizeStyle",[gt]:"normalizeProps",[Tt]:"guardReactiveProps",[br]:"toHandlers",[Yt]:"camelize",[_a]:"capitalize",[Zt]:"toHandlerKey",[At]:"setBlockTracking",[Ia]:"pushScopeId",[Aa]:"popScopeId",[wr]:"withCtx",[Fa]:"unref",[Ma]:"isRef",[Er]:"withMemo",[ei]:"isMemoSame"};function La(e){Object.getOwnPropertySymbols(e).forEach(t=>{st[t]=e[t]})}const $l={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},xl={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},ql={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},Wl={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},be={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function ka(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:be}}function Vt(e,t,n,m,O,R,T,S=!1,C=!1,A=!1,_=be){return e&&(S?(e.helper(it),e.helper(ct(e.inSSR,A))):e.helper(ut(e.inSSR,A)),T&&e.helper(mr)),{type:13,tag:t,props:n,children:m,patchFlag:O,dynamicProps:R,directives:T,isBlock:S,disableTracking:C,isComponent:A,loc:_}}function tt(e,t=be){return{type:17,loc:t,elements:e}}function De(e,t=be){return{type:15,loc:t,properties:e}}function ge(e,t){return{type:16,loc:be,key:ce(e)?te(e,!0):e,value:t}}function te(e,t=!1,n=be,m=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:m}}function Xl(e,t){return{type:5,loc:t,content:ce(e)?te(e,!1,t):e}}function je(e,t=be){return{type:8,loc:t,children:e}}function Ve(e,t=[],n=be){return{type:14,loc:n,callee:e,arguments:t}}function dt(e,t=void 0,n=!1,m=!1,O=be){return{type:18,params:e,returns:t,newline:n,isSlot:m,loc:O}}function er(e,t,n,m=!0){return{type:19,test:e,consequent:t,alternate:n,newline:m,loc:be}}function Da(e,t,n=!1,m=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:m,needArraySpread:!1,loc:be}}function Ba(e){return{type:21,body:e,loc:be}}function zl(e){return{type:22,elements:e,loc:be}}function Gl(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:be}}function Jl(e,t){return{type:24,left:e,right:t,loc:be}}function Kl(e){return{type:25,expressions:e,loc:be}}function Ql(e){return{type:26,returns:e,loc:be}}function ut(e,t){return e||t?dr:ur}function ct(e,t){return e||t?Jr:Kr}function Sr(e,{helper:t,removeHelper:n,inSSR:m}){e.isBlock||(e.isBlock=!0,n(ut(m,e.isComponent)),t(it),t(ct(m,e.isComponent)))}const Li=new Uint8Array([123,123]),ki=new Uint8Array([125,125]);function Di(e){return e>=97&&e<=122||e>=65&&e<=90}function Le(e){return e===32||e===10||e===9||e===12||e===13}function Ye(e){return e===47||e===62||Le(e)}function tr(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const Oe={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Yl{constructor(t,n){this.stack=t,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=Li,this.delimiterClose=ki,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=Li,this.delimiterClose=ki}getPos(t){let n=1,m=t+1;const O=this.newlines.length;let R=-1;if(O>100){let T=-1,S=O;for(;T+1<S;){const C=T+S>>>1;this.newlines[C]<t?T=C:S=C}R=T}else for(let T=O-1;T>=0;T--)if(t>this.newlines[T]){R=T;break}return R>=0&&(n=R+2,m=t-this.newlines[R]),{column:m,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?Ye(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||Le(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const m=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=m}this.sectionStart=n+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Oe.TitleEnd||this.currentSequence===Oe.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===Oe.Cdata[this.sequenceIndex]?++this.sequenceIndex===Oe.Cdata.length&&(this.state=28,this.currentSequence=Oe.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Oe.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,n){this.enterRCDATA(t,n),this.state=31}enterRCDATA(t,n){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=n}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):Di(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){Ye(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(Ye(t)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(tr("</"+n),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){Le(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=Di(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||Le(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):Le(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):Le(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||Ye(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||Ye(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||Ye(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||Ye(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||Ye(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):Le(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):Le(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,n){(t===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){Le(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=Oe.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===Oe.ScriptEnd[3]?this.startSpecial(Oe.ScriptEnd,4):t===Oe.StyleEnd[3]?this.startSpecial(Oe.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===Oe.TitleEnd[3]?this.startSpecial(Oe.TitleEnd,4):t===Oe.TextareaEnd[3]?this.startSpecial(Oe.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===Oe.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}const Zl={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},es
vendor: 2,117 bytes, line 2
2={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function 
vendor: 28,851 bytes, lines 2-5
2kr(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function lt(e,t){const n=kr("MODE",t),m=kr(e,t);return n===3?m===!0:m!==!1}function bt(e,t,n,...m){return lt(e,t)}function ts(e,t,n,...m){if(kr(e,t)==="suppress-warning")return;const{message:R,link:T}=es[e],S=`(deprecation ${e}) ${typeof R=="function"?R(...m):R}${T?`
3  Details: ${T}`:""}`,C=new SyntaxError(S);C.code=e,n&&(C.loc=n),t.onWarn(C)}function ti(e){throw e}function ja(e){}function fe(e,t,n,m){const O=`https://vuejs.org/error-reference/#compiler-${e}`,R=new SyntaxError(String(O));return R.code=e,R.loc=t,R}const rs={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:"ABRUPT_CLOSING_OF_EMPTY_COMMENT",CDATA_IN_HTML_CONTENT:1,1:"CDATA_IN_HTML_CONTENT",DUPLICATE_ATTRIBUTE:2,2:"DUPLICATE_ATTRIBUTE",END_TAG_WITH_ATTRIBUTES:3,3:"END_TAG_WITH_ATTRIBUTES",END_TAG_WITH_TRAILING_SOLIDUS:4,4:"END_TAG_WITH_TRAILING_SOLIDUS",EOF_BEFORE_TAG_NAME:5,5:"EOF_BEFORE_TAG_NAME",EOF_IN_CDATA:6,6:"EOF_IN_CDATA",EOF_IN_COMMENT:7,7:"EOF_IN_COMMENT",EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT",EOF_IN_TAG:9,9:"EOF_IN_TAG",INCORRECTLY_CLOSED_COMMENT:10,10:"INCORRECTLY_CLOSED_COMMENT",INCORRECTLY_OPENED_COMMENT:11,11:"INCORRECTLY_OPENED_COMMENT",INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:"INVALID_FIRST_CHARACTER_OF_TAG_NAME",MISSING_ATTRIBUTE_VALUE:13,13:"MISSING_ATTRIBUTE_VALUE",MISSING_END_TAG_NAME:14,14:"MISSING_END_TAG_NAME",MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES",NESTED_COMMENT:16,16:"NESTED_COMMENT",UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME",UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE",UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME",UNEXPECTED_NULL_CHARACTER:20,20:"UNEXPECTED_NULL_CHARACTER",UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME",UNEXPECTED_SOLIDUS_IN_TAG:22,22:"UNEXPECTED_SOLIDUS_IN_TAG",X_INVALID_END_TAG:23,23:"X_INVALID_END_TAG",X_MISSING_END_TAG:24,24:"X_MISSING_END_TAG",X_MISSING_INTERPOLATION_END:25,25:"X_MISSING_INTERPOLATION_END",X_MISSING_DIRECTIVE_NAME:26,26:"X_MISSING_DIRECTIVE_NAME",X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END",X_V_IF_NO_EXPRESSION:28,28:"X_V_IF_NO_EXPRESSION",X_V_IF_SAME_KEY:29,29:"X_V_IF_SAME_KEY",X_V_ELSE_NO_ADJACENT_IF:30,30:"X_V_ELSE_NO_ADJACENT_IF",X_V_FOR_NO_EXPRESSION:31,31:"X_V_FOR_NO_EXPRESSION",X_V_FOR_MALFORMED_EXPRESSION:32,32:"X_V_FOR_MALFORMED_EXPRESSION",X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:"X_V_FOR_TEMPLATE_KEY_PLACEMENT",X_V_BIND_NO_EXPRESSION:34,34:"X_V_BIND_NO_EXPRESSION",X_V_ON_NO_EXPRESSION:35,35:"X_V_ON_NO_EXPRESSION",X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET",X_V_SLOT_MIXED_SLOT_USAGE:37,37:"X_V_SLOT_MIXED_SLOT_USAGE",X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:"X_V_SLOT_DUPLICATE_SLOT_NAMES",X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN",X_V_SLOT_MISPLACED:40,40:"X_V_SLOT_MISPLACED",X_V_MODEL_NO_EXPRESSION:41,41:"X_V_MODEL_NO_EXPRESSION",X_V_MODEL_MALFORMED_EXPRESSION:42,42:"X_V_MODEL_MALFORMED_EXPRESSION",X_V_MODEL_ON_SCOPE_VARIABLE:43,43:"X_V_MODEL_ON_SCOPE_VARIABLE",X_V_MODEL_ON_PROPS:44,44:"X_V_MODEL_ON_PROPS",X_V_MODEL_ON_CONST:45,45:"X_V_MODEL_ON_CONST",X_INVALID_EXPRESSION:46,46:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:47,47:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:48,48:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:49,49:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:50,50:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:51,51:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:52,52:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:53,53:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:54,54:"__EXTEND_POINT__"},is={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '&lt;' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '<!--' in comment.",17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",53:"v-bind with same-name shorthand only allows static argument.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:`v-model cannot be used on a prop, because local prop bindings are not writable.
4Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"v-model cannot be used on a const binding because it is not writable.",46:"Error parsing JavaScript expression: ",47:"<KeepAlive> expects exactly one child component.",52:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",48:'"prefixIdentifiers" option is not supported in this build of compiler.',49:"ES module mode is not supported in this build of compiler.",50:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',51:'"scopeId" option is only supported in module mode.',54:""};function as(e,t,n=!1,m=[],O=Object.create(null)){}function ns(e,t,n){return!1}function os(e,t){if(e&&(e.type==="ObjectProperty"||e.type==="ArrayPattern")){let n=t.length;for(;n--;){const m=t[n];if(m.type==="AssignmentExpression")return!0;if(m.type!=="ObjectProperty"&&!m.type.endsWith("Pattern"))break}}return!1}function ls(e){let t=e.length;for(;t--;){const n=e[t];if(n.type==="NewExpression")return!0;if(n.type!=="MemberExpression")break}return!1}function ss(e,t){for(const n of e.params)for(const m of xe(n))t(m)}function Ua(e,t){const n=e.type==="SwitchCase"?e.consequent:e.body;for(const m of n)if(m.type==="VariableDeclaration"){if(m.declare)continue;for(const O of m.declarations)for(const R of xe(O.id))t(R)}else if(m.type==="FunctionDeclaration"||m.type==="ClassDeclaration"){if(m.declare||!m.id)continue;t(m.id)}else ds(m)?us(m,!0,t):m.type==="SwitchStatement"&&cs(m,!0,t)}function ds(e){return e.type==="ForOfStatement"||e.type==="ForInStatement"||e.type==="ForStatement"}function us(e,t,n){const m=e.type==="ForStatement"?e.init:e.left;if(m&&m.type==="VariableDeclaration"&&(m.kind==="var"?t:!t))for(const O of m.declarations)for(const R of xe(O.id))n(R)}function cs(e,t,n){for(const m of e.cases){for(const O of m.consequent)if(O.type==="VariableDeclaration"&&(O.kind==="var"?t:!t))for(const R of O.declarations)for(const T of xe(R.id))n(T);Ua(m,n)}}function xe(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;n.type==="MemberExpression";)n=n.object;t.push(n);break;case"ObjectPattern":for(const m of e.properties)m.type==="RestElement"?xe(m.argument,t):xe(m.value,t);break;case"ArrayPattern":e.elements.forEach(m=>{m&&xe(m,t)});break;case"RestElement":xe(e.argument,t);break;case"AssignmentPattern":xe(e.left,t);break}return t}const fs=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Ha=e=>e&&(e.type==="ObjectProperty"||e.type==="ObjectMethod")&&!e.computed,ps=(e,t)=>Ha(t)&&t.key===e,$a=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function xa(e){return $a.includes(e.type)?xa(e.expression):e}const _e=e=>e.type===4&&e.isStatic;function ri(e){switch(e){case"Teleport":case"teleport":return mt;case"Suspense":case"suspense":return sr;case"KeepAlive":case"keep-alive":return _t;case"BaseTransition":case"base-transition":return Gr}}const hs=/^$|^\d|[^\$\w\xA0-\uFFFF]/,Dt=e=>!hs.test(e),ii=/[A-Za-z_$\xA0-\uFFFF]/,vs=/[\.\?\w$\xA0-\uFFFF]/,ms=/\s+[.[]\s*|\s*[.[]\s+/g,qa=e=>e.type===4?e.content:e.loc.source,Wa=e=>{const t=qa(e).trim().replace(ms,S=>S.trim());let n=0,m=[],O=0,R=0,T=null;for(let S=0;S<t.length;S++){const C=t.charAt(S);switch(n){case 0:if(C==="[")m.push(n),n=1,O++;else if(C==="(")m.push(n),n=2,R++;else if(!(S===0?ii:vs).test(C))return!1;break;case 1:C==="'"||C==='"'||C==="`"?(m.push(n),n=3,T=C):C==="["?O++:C==="]"&&(--O||(n=m.pop()));break;case 2:if(C==="'"||C==='"'||C==="`")m.push(n),n=3,T=C;else if(C==="(")R++;else if(C===")"){if(S===t.length-1)return!1;--R||(n=m.pop())}break;case 3:C===T&&(n=m.pop(),T=null);break}}return!O&&!R},ys=vt,ai=Wa,gs=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,Xa=e=>gs.test(qa(e)),Vs=vt,za=Xa;function bs(e,t,n=t.length){return Ga({offset:e.offset,line:e.line,column:e.column},t,n)}function Ga(e,t,n=t.length){let m=0,O=-1;for(let R=0;R<n;R++)t.charCodeAt(R)===10&&(m++,O=R);return e.offset+=n,e.line+=m,e.column=O===-1?e.column+n:n-O,e}function ws(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Ne(e,t,n=!1){for(let m=0;m<e.props.length;m++){const O=e.props[m];if(O.type===7&&(n||O.exp)&&(ce(t)?O.name===t:t.test(O.name)))return O}}function Bt(e,t,n=!1,m=!1){for(let O=0;O<e.props.length;O++){const R=e.props[O];if(R.type===6){if(n)continue;if(R.name===t&&(R.value||m))return R}else if(R.name==="bind"&&(R.exp||m)&&et(R.arg,t))return R}}function et(e,t){return!!(e&&_e(e)&&e.content===t)}function Ja(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function xt(e){return e.type===5||e.type===2}function Dr(e){return e.type===7&&e.name==="pre"}function ni(e){return e.type===7&&e.name==="slot"}function wt(e){return e.type===1&&e.tagType===3}function Ft(e){return e.type===1&&e.tagType===2}const Es=new Set([gt,Tt]);function Ka(e,t=[]){if(e&&!ce(e)&&e.type===14){const n=e.callee;if(!ce(n)&&Es.has(n))return Ka(e.arguments[0],t.concat(e))}return[e,t]}function Mt(e,t,n){let m,O=e.type===13?e.props:e.arguments[2],R=[],T;if(O&&!ce(O)&&O.type===14){const S=Ka(O);O=S[0],R=S[1],T=R[R.length-1]}if(O==null||ce(O))m=De([t]);else if(O.type===14){const S=O.arguments[0];!ce(S)&&S.type===15?Bi(t,S)||S.properties.unshift(t):O.callee===br?m=Ve(n.helper(It),[De([t]),O]):O.arguments.unshift(De([t])),!m&&(m=O)}else O.type===15?(Bi(t,O)||O.properties.unshift(t),m=O):(m=Ve(n.helper(It),[De([t]),O]),T&&T.callee===Tt&&(T=R[R.length-2]));e.type===13?T?T.arguments[0]=m:e.props=m:T?T.arguments[0]=m:e.arguments[2]=m}function Bi(e,t){let n=!1;if(e.key.type===4){const m=e.key.content;n=t.properties.some(O=>O.key.type===4&&O.key.content===m)}return n}function Et(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,m)=>n==="-"?"_":e.charCodeAt(m).toString())}`}function Ue(e,t){if(!e||Object.keys(t).length===0)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){const m=e.props[n];if(m.type===7&&(Ue(m.arg,t)||Ue(m.exp,t)))return!0}return e.children.some(n=>Ue(n,t));case 11:return Ue(e.source,t)?!0:e.children.some(n=>Ue(n,t));case 9:return e.branches.some(n=>Ue(n,t));case 10:return Ue(e.condition,t)?!0:e.children.some(n=>Ue(n,t));case 4:return!e.isStatic&&Dt(e.content)&&!!t[e.content];case 8:return e.children.some(n=>We(n)&&Ue(n,t));case 5:case 12:return Ue(e.content,t);case 2:case 3:case 20:return!1;default:return!1}}function Qa(e){return e.type===14&&e.callee===Er?e.arguments[1].returns:e}const Ya=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function oi(e){for(let t=0;t<e.length;t++)if(!Le(e.charCodeAt(t)))return!1;return!0}function Tr(e){return e.type===2&&oi(e.content)||e.type===12&&Tr(e.content)}function li(e){return e.type===3||Tr(e)}const Za={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:Pt,isPreTag:Pt,isIgnoreNewlineTag:Pt,isCustomElement:Pt,onError:ti,onWarn:ja,comments:!1,prefixIdentifiers:!1};let le=Za,Lt=null,Je="",Ce=null,oe=null,Ie="",ze=-1,at=-1,si=0,Ze=!1,Br=null;const pe=[],ve=new Yl(pe,{onerr:Xe,ontext(e,t){Ht(Se(e,t),e,t)},ontextentity(e,t,n){Ht(e,t,n)},oninterpolation(e,t){if(Ze)return Ht(Se(e,t),e,t);let n=e+ve.delimiterOpen.length,m=t-ve.delimiterClose.length;for(;Le(Je.charCodeAt(n));)n++;for(;Le(Je.charCodeAt(m-1));)m--;let O=Se(n,m);O.includes("&")&&(O=le.decodeEntities(O,!1)),jr({type:5,content:Wt(O,!1,ye(n,m)),loc:ye(e,t)})},onopentagname(e,t){const n=Se(e,t);Ce={type:1,tag:n,ns:le.getNamespace(n,pe[0],le.ns),tagType:0,props:[],children:[],loc:ye(e-1,t),codegenNode:void 0}},onopentagend(e){Ui(e)},onclosetag(e,t){const n=Se(e,t);if(!le.isVoidTag(n)){let m=!1;for(let O=0;O<pe.length;O++)if(pe[O].tag.toLowerCase()===n.toLowerCase()){m=!0,O>0&&Xe(24,pe[0].loc.start.offset);for(let T=0;T<=O;T++){const S=pe.shift();qt(S,t,T<O)}break}m||Xe(23,en(e,60))}},onselfclosingtag(e){const t=Ce.tag;Ce.isSelfClosing=!0,Ui(e),pe[0]&&pe[0].tag===t&&qt(pe.shift(),e)},onattribname(e,t){oe={type:6,name:Se(e,t),nameLoc:ye(e,t),value:void 0,loc:ye(e)}},ondirname(e,t){const n=Se(e,t),m=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!Ze&&m===""&&Xe(26,e),Ze||m==="")oe={type:6,name:n,nameLoc:ye(e,t),value:void 0,loc:ye(e)};else if(oe={type:7,name:m,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[te("prop")]:[],loc:ye(e)},m==="pre"){Ze=ve.inVPre=!0,Br=Ce;const O=Ce.props;for(let R=0;R<O.length;R++)O[R].type===7&&(O[R]=As(O[R]))}},ondirarg(e,t){if(e===t)return;const n=Se(e,t);if(Ze&&!Dr(oe))oe.name+=n,nt(oe.nameLoc,t);else{const m=n[0]!=="[";oe.arg=Wt(m?n:n.slice(1,-1),m,ye(e,t),m?3:0)}},ondirmodifier(e,t){const n=Se(e,t);if(Ze&&!Dr(oe))oe.name+="."+n,nt(oe.nameLoc,t);else if(oe.name==="slot"){const m=oe.arg;m&&(m.content+="."+n,nt(m.loc,t))}else{const m=te(n,!0,ye(e,t));oe.modifiers.push(m)}},onattribdata(e,t){Ie+=Se(e,t),ze<0&&(ze=e),at=t},onattribentity(e,t,n){Ie+=e,ze<0&&(ze=t),at=n},onattribnameend(e){const t=oe.loc.start.offset,n=Se(t,e);oe.type===7&&(oe.rawName=n),Ce.props.some(m=>(m.type===7?m.rawName:m.name)===n)&&Xe(2,t)},onattribend(e,t){if(Ce&&oe){if(nt(oe.loc,t),e!==0)if(Ie.includes("&")&&(Ie=le.decodeEntities(Ie,!0)),oe.type===6)oe.name==="class"&&(Ie=rn(Ie).trim()),e===1&&!Ie&&Xe(13,t),oe.value={type:2,content:Ie,loc:e===1?ye(ze,at):ye(ze-1,at+1)},ve.inSFCRoot&&Ce.tag==="template"&&oe.name==="lang"&&Ie&&Ie!=="html"&&ve.enterRCDATA(tr("</template"),0);else{let n=0;oe.exp=Wt(Ie,!1,ye(ze,at),0,n),oe.name==="for"&&(oe.forParseResult=Ts(oe.exp));let m=-1;oe.name==="bind"&&(m=oe.modifiers.findIndex(O=>O.content==="sync"))>-1&&bt("COMPILER_V_BIND_SYNC",le,oe.loc,oe.arg.loc.source)&&(oe.name="model",oe.modifiers.splice(m,1))}(oe.type!==7||oe.name!=="pre")&&Ce.props.push(oe)}Ie="",ze=at=-1},oncomment(e,t){le.comments&&jr({type:3,content:Se(e,t),loc:ye(e-4,t+3)})},onend(){const e=Je.length;for(let t=0;t<pe.length;t++)qt(pe[t],e-1),Xe(24,pe[t].loc.start.offset)},oncdata(e,t){pe[0].ns!==0?Ht(Se(e,t),e,t):Xe(1,e-9)},onprocessinginstruction(e){(pe[0]?pe[0].ns:le.ns)===0&&Xe(21,e-1)}}),ji=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ss=/^\(|\)$/g;function Ts(e){const t=e.loc,n=e.content,m=n.match(Ya);if(!m)return;const[,O,R]=m,T=(P,i,w=!1)=>{const g=t.start.offset+i,c=g+P.length;return Wt(P,!1,ye(g,c),0,w?1:0)},S={source:T(R.trim(),n.indexOf(R,O.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let C=O.trim().replace(Ss,"").trim();const A=O.indexOf(C),_=C.match(ji);if(_){C=C.replace(ji,"").trim();const P=_[1].trim();let i;if(P&&(i=n.indexOf(P,A+C.length),S.key=T(P,i,!0)),_[2]){const w=_[2].trim();w&&(S.index=T(w,n.indexOf(w,S.key?i+P.length:A+C.length),!0))}}return C&&(S.value=T(C,A,!0)),S}function Se(e,t){return Je.slice(e,t)}function Ui(e){ve.inSFCRoot&&(Ce.innerLoc=ye(e+1,e+1)),jr(Ce);const{tag:t,ns:n}=Ce;n===0&&le.isPreTag(t)&&si++,le.isVoidTag(t)?qt(Ce,e):(pe.unshift(Ce),(n===1||n===2)&&(ve.inXML=!0)),Ce=null}function Ht(e,t,n){{const R=pe[0]&&pe[0].tag;R!=="script"&&R!=="style"&&e.includes("&")&&(e=le.decodeEntities(e,!1))}const m=pe[0]||Lt,O=m.children[m.children.length-1];O&&O.type===2?(O.content+=e,nt(O.loc,n)):m.children.push({type:2,content:e,loc:ye(t,n)})}function qt(e,t,n=!1){n?nt(e.loc,en(t,60)):nt(e.loc,Os(t,62)+1),ve.inSFCRoot&&(e.children.length?e.innerLoc.end=qe({},e.children[e.children.length-1].loc.end):e.innerLoc.end=qe({},e.innerLoc.start),e.innerLoc.source=Se(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:m,ns:O,children:R}=e;if(Ze||(m==="slot"?e.tagType=2:Hi(e)?e.tagType=3:Ps(e)&&(e.tagType=1)),ve.inRCDATA||(e.children=tn(R)),O===0&&le.isIgnoreNewlineTag(m)){const T=R[0];T&&T.type===2&&(T.content=T.content.replace(/^\r?\n/,""))}O===0&&le.isPreTag(m)&&si--,Br===e&&(Ze=ve.inVPre=!1,Br=null),ve.inXML&&(pe[0]?pe[0].ns:le.ns)===0&&(ve.inXML=!1);{const T=e.props;if(!ve.inSFCRoot&&lt("COMPILER_NATIVE_TEMPLATE",le)&&e.tag==="template"&&!Hi(e)){const C=pe[0]||Lt,A=C.children.indexOf(e);C.children.splice(A,1,...e.children)}const S=T.find(C=>C.type===6&&C.name==="inline-template");S&&bt("COMPILER_INLINE_TEMPLATE",le,S.loc)&&e.children.length&&(S.value={type:2,content:Se(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:S.loc})}}function Os(e,t){let n=e;for(;Je.charCodeAt(n)!==t&&n<Je.length-1;)n++;return n}function en(e,t){let n=e;for(;Je.charCodeAt(n)!==t&&n>=0;)n--;return n}const Cs=new Set(["if","else","else-if","for","slot"]);function Hi({tag:e,props:t}){if(e==="template"){for(let n=0;n<t.length;n++)if(t[n].type===7&&Cs.has(t[n].name))return!0}return!1}function Ps({tag:e,props:t}){if(le.isCustomElement(e))return!1;if(e==="component"||Ns(e.charCodeAt(0))||ri(e)||le.isBuiltInComponent&&le.isBuiltInComponent(e)||le.isNativeTag&&!le.isNativeTag(e))return!0;for(let n=0;n<t.length;n++){const m=t[n];if(m.type===6){if(m.name==="is"&&m.value){if(m.value.content.startsWith("vue:"))return!0;if(bt("COMPILER_IS_ON_ELEMENT",le,m.loc))return!0}}else if(m.name==="bind"&&et(m.arg,"is")&&bt("COMPILER_IS_ON_ELEMENT",le,m.loc))return!0}return!1}function Ns(e){return e>64&&e<91}const Rs=/\r\n/g;function tn(e){const t=le.whitespace!=="preserve";let n=!1;for(let m=0;m<e.length;m++){const O=e[m];if(O.type===2)if(si)O.content=O.content.replace(Rs,`
5`);else if(oi(O.content)){const R=e[m-1]&&e[m-1].type,T=e[m+1]&&e[m+1].type;!R||!T||t&&(R===3&&(T===3||T===1)||R===1&&(T===3||T===1&&_s(O.content)))?(n=!0,e[m]=null):O.content=" "}else t&&(O.content=rn(O.content))}return n?e.filter(Boolean):e}function _s(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function rn(e){let t="",n=!1;for(let m=0;m<e.length;m++)Le(e.charCodeAt(m))?n||(t+=" ",n=!0):(t+=e[m],n=!1);return t}function jr(e){(pe[0]||Lt).children.push(e)}function ye(e,t){return{start:ve.getPos(e),end:t==null?t:ve.getPos(t),source:t==null?t:Se(e,t)}}function Is(e){return ye(e.start.offset,e.end.offset)}function nt(e,t){e.end=ve.getPos(t),e.source=Se(e.start.offset,t)}function As(e){const t={type:6,name:e.rawName,nameLoc:ye(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function Wt(e,t=!1,n,m=0,O=0){return te(e,t,n,m)}function Xe(e,t,n){le.onError(fe(e,ye(t,t)))}function Fs(){ve.reset(),Ce=null,oe=null,Ie="",ze=-1,at=-1,pe.length=0}function di(e,t){if(Fs(),Je=e,le=qe({},Za),t){let O;for(O in t)t[O]!=null&&(le[O]=t[O])}ve.mode=le.parseMode==="html"?1:le.parseMode==="sfc"?2:0,ve.inXML=le.ns===1||le.ns===2;const n=t&&t.delimiters;n&&(ve.delimiterOpen=tr(n[0]),ve.delimiterClose=tr(n[1]));const m=Lt=ka([],e);return ve.parse(Je),m.loc=ye(0,e.length),m.children=tn(m.children),Lt=null,m}function Ms(e,t){Xt(e,void 0,t,!!an(e))}function an(e){const t=e.children.filter(n=>n.type!==3);return t.length===1&&t[0].type===1&&!Ft(t[0])?t[0]:null}function Xt(e,t,n,m=!1,O=!1){const{children:R}=e,T=[];for(let _=0;_<R.length;_++){const P=R[_];if(P.type===1&&P.tagType===0){const i=m?0:Me(P,n);if(i>0){if(i>=2){P.codegenNode.patchFlag=-1,T.push(P);continue}}else{const w=P.codegenNode;if(w.type===13){const g=w.patchFlag;if((g===void 0||g===512||g===1)&&on(P,n)>=2){const c=ln(P);c&&(w.props=n.hoist(c))}w.dynamicProps&&(w.dynamicProps=n.hoist(w.dynamicProps))}}}else if(P.type===12&&(m?0:Me(P,n))>=2){P.codegenNode.type===14&&P.codegenNode.arguments.length>0&&P.codegenNode.arguments.push("-1"),T.push(P);continue}if(P.type===1){const i=P.tagType===1;i&&n.scopes.vSlot++,Xt(P,e,n,!1,O),i&&n.scopes.vSlot--}else if(P.type===11)Xt(P,e,n,P.children.length===1,!0);else if(P.type===9)for(let i=0;i<P.branches.length;i++)Xt(P.branches[i],e,n,P.branches[i].children.length===1,O)}let S=!1;if(T.length===R.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&Re(e.codegenNode.children))e.codegenNode.children=C(tt(e.codegenNode.children)),S=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!Re(e.codegenNode.children)&&e.codegenNode.children.type===15){const _=A(e.codegenNode,"default");_&&(_.returns=C(tt(_.returns)),S=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!Re(t.codegenNode.children)&&t.codegenNode.children.type===15){const _=Ne(e,"slot",!0),P=_&&_.arg&&A(t.codegenNode,_.arg);P&&(P.returns=C(tt(P.returns)),S=!0)}}if(!S)for(const _ of T)_.codegenNode=n.cache(_.codegenNode);function C(_){const P=n.cache(_);return P.needArraySpread=!0,P}function A(_,P){if(_.children&&!Re(_.children)&&_.children.type===15){const i=_.children.properties.find(w=>w.key===P||w.key.content===P);return i&&i.value}}T.length&&n.transformHoist&&n.transformHoist(R,n,e)}function Me(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const m=n.get(e);if(m!==void 0)return m;const O=e.codegenNode;if(O.type!==13||O.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(O.patchFlag===void 0){let T=3;const S=on(e,t);if(S===0)return n.set(e,0),0;S<T&&(T=S);for(let C=0;C<e.children.length;C++){const A=Me(e.children[C],t);if(A===0)return n.set(e,0),0;A<T&&(T=A)}if(T>1)for(let C=0;C<e.props.length;C++){const A=e.props[C];if(A.type===7&&A.name==="bind"&&A.exp){const _=Me(A.exp,t);if(_===0)return n.set(e,0),0;_<T&&(T=_)}}if(O.isBlock){for(let C=0;C<e.props.length;C++)if(e.props[C].type===7)return n.set(e,0),0;t.removeHelper(it),t.removeHelper(ct(t.inSSR,O.isComponent)),O.isBlock=!1,t.helper(ut(t.inSSR,O.isComponent))}return n.set(e,T),T}else return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Me(e.content,t);case 4:return e.constType;case 8:let R=3;for(let T=0;T<e.children.length;T++){const S=e.children[T];if(ce(S)||rt(S))continue;const C=Me(S,t);if(C===0)return 0;C<R&&(R=C)}return R;case 20:return 2;default:return 0}}const Ls=new Set([gr,Vr,gt,Tt]);function nn(e,t){if(e.type===14&&!ce(e.callee)&&Ls.has(e.callee)){const n=e.arguments[0];if(n.type===4)return Me(n,t);if(n.type===14)return nn(n,t)}return 0}function on(e,t){let n=3;const m=ln(e);if(m&&m.type===15){const{properties:O}=m;for(let R=0;R<O.length;R++){const{key:T,value:S}=O[R],C=Me(T,t);if(C===0)return C;C<n&&(n=C);let A;if(S.type===4?A=Me(S,t):S.type===14?A=nn(S,t):A=0,A===0)return A;A<n&&(n=A)}}return n}function ln(e){const t=e.codegenNode;if(t.type===13)return t.props}function sn(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:m=!1,hmr:O=!1,cacheHandlers:R=!1,nodeTransforms:T=[],directiveTransforms:S={},transformHoist:C=null,isBuiltInComponent:A=vt,isCustomElement:_=vt,expressionPlugins:P=[],scopeId:i=null,slotted:w=!0,ssr:g=!1,inSSR:c=!1,ssrCssVars:f="",bindingMetadata:r=fa,inline:d=!1,isTS:h=!1,onError:p=ti,onWarn:o=ja,compatConfig:a}){const u=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),l={filename:t,selfName:u&&or(Ge(u[1])),prefixIdentifiers:n,hoistStatic:m,hmr:O,cacheHandlers:R,nodeTransforms:T,directiveTransforms:S,transformHoist:C,isBuiltInComponent:A,isCustomElement:_,expressionPlugins:P,scopeId:i,slotted:w,ssr:g,inSSR:c,ssrCssVars:f,bindingMetadata:r,inline:d,isTS:h,onError:p,onWarn:o,compatConfig:a,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(s){const y=l.helpers.get(s)||0;return l.helpers.set(s,y+1),s},removeHelper(s){const y=l.helpers.get(s);if(y){const v=y-1;v?l.helpers.set(s,v):l.helpers.delete(s)}},helperString(s){return`_${st[l.helper(s)]}`},replaceNode(s){l.parent.children[l.childIndex]=l.currentNode=s},removeNode(s){const y=l.parent.children,v=s?y.indexOf(s):l.currentNode?l.childIndex:-1;!s||s===l.currentNode?(l.currentNode=null,l.onNodeRemoved()):l.childIndex>v&&(l.childIndex--,l.onNodeRemoved()),l.parent.children.splice(v,1)},onNodeRemoved:vt,addIdentifiers(s){},removeIdentifiers(s){},hoist(s){ce(s)&&(s=te(s)),l.hoists.push(s);const y=te(`_hoisted_${l.hoists.length}`,!1,s.loc,2);return y.hoisted=s,y},cache(s,y=!1,v=!1){const b=Da(l.cached.length,s,y,v);return l.cached.push(b),b}};return l.filters=new Set,l}function dn(e,t){const n=sn(e,t);jt(e,n),t.hoistStatic&&Ms(e,n),t.ssr||ks(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function ks(e,t){const{helper:n}=t,{children:m}=e;if(m.length===1){const O=an(e);if(O&&O.codegenNode){const R=O.codegenNode;R.type===13&&Sr(R,t),e.codegenNode=R}else e.codegenNode=m[0]}else if(m.length>1){let O=64;e.codegenNode=Vt(t,n(yt),void 0,e.children,O,void 0,void 0,!0,void 0,!1)}}function Ds(e,t){let n=0;const m=()=>{n--};for(;n<e.children.length;n++){const O=e.children[n];ce(O)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=m,jt(O,t))}}function jt(e,t){t.currentNode=e;const{nodeTransforms:n}=t,m=[];for(let R=0;R<n.length;R++){const T=n[R](e,t);if(T&&(Re(T)?m.push(...T):m.push(T)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(St);break;case 5:t.ssr||t.helper(kt);break;case 9:for(let R=0;R<e.branches.length;R++)jt(e.branches[R],t);break;case 10:case 11:case 1:case 0:Ds(e,t);break}t.currentNode=e;let O=m.length;for(;O--;)m[O]()}function ui(e,t){const n=ce(e)?m=>m===e:m=>e.test(m);return(m,O)=>{if(m.type===1){const{props:R}=m;if(m.tagType===3&&R.some(ni))return;const T=[];for(let S=0;S<R.length;S++){const C=R[S];if(C.type===7&&n(C.name)){R.splice(S,1),S--;const A=t(m,C,O);A&&T.push(A)}}return T}}}const Or="/*@__PURE__*/",un=e=>`${st[e]}: _${st[e]}`;function Bs(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:m=!1,filename:O="template.vue.html",scopeId:R=null,optimizeImports:T=!1,runtimeGlobalName:S="Vue",runtimeModuleName:C="vue",ssrRuntimeModuleName:A="vue/server-renderer",ssr:_=!1,isTS:P=!1,inSSR:i=!1}){const w={mode:t,prefixIdentifiers:n,sourceMap:m,filename:O,scopeId:R,optimizeImports:T,runtimeGlobalName:S,runtimeModuleName:C,ssrRuntimeModuleName:A,ssr:_,isTS:P,inSSR:i,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(c){return`_${st[c]}`},push(c,f=-2,r){w.code+=c},indent(){g(++w.indentLevel)},deindent(c=!1){c?--w.indentLevel:g(--w.indentLevel)},newline(){g(w.indentLevel)}};function g(c){w.push(`
6`+"  ".repeat(c),0)}return w}function cn(e,t={}){const n=Bs(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:m,push:O,prefixIdentifiers:R,indent:T,deindent:S,newline:C,scopeId:A,ssr:_}=n,P=Array.from(e.helpers),i=P.length>0,w=!R&&m!=="module";js(e,n);const c=_?"ssrRender":"render",r=(_?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(O(`function ${c}(${r}) {`),T(),w&&(O("with (_ctx) {"),T(),i&&(O(`const { ${P.map(un).join(", ")} } = _Vue
7`,-1),C())),e.components.length&&(Ar(e.components,"component",n),(e.directives.length||e.temps>0)&&C()),e.directives.length&&(Ar(e.directives,"directive",n),e.temps>0&&C()),e.filters&&e.filters.length&&(C(),Ar(e.filters,"filter",n),C()),e.temps>0){O("let ");for(let d=0;d<e.temps;d++)O(`${d>0?", ":""}_temp${d}`)}return(e.components.length||e.directives.length||e.temps)&&(O(`
8`,0),C()),_||O("return "),e.codegenNode?Pe(e.codegenNode,n):O("null"),w&&(S(),O("}")),S(),O("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function js(e,t){const{ssr:n,prefixIdentifiers:m,push:O,newline:R,runtimeModuleName:T,runtimeGlobalName:S,ssrRuntimeModuleName:C}=t,A=S,_=Array.from(e.helpers);if(_.length>0&&(O(`const _Vue = ${A}
9`,-1),e.hoists.length)){const P=[dr,ur,St,cr,Qr].filter(i=>_.includes(i)).map(un).join(", ");O(`const { ${P} } = _Vue
10`,-1)}Us(e.hoists,t),R(),O("return ")}function Ar(e,t,{helper:n,push:m,newline:O,isTS:R}){const T=n(t==="filter"?vr:t==="component"?fr:hr);for(let S=0;S<e.length;S++){let C=e[S];const A=C.endsWith("__self");A&&(C=C.slice(0,-6)),m(`const ${Et(C,t)} = ${T}(${JSON.stringify(C)}${A?", true":""})${R?"!":""}`),S<e.length-1&&O()}}function Us(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:m}=t;
vendor: 23,828 bytes, line 10
10m();for(let O=0;O<e.length;O++){const R=e[O];R&&(n(`const _hoisted_${O+1} = `),Pe(R,t),m())}t.pure=!1}function ci(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Ut(e,t,n),n&&t.deindent(),t.push("]")}function Ut(e,t,n=!1,m=!0){const{push:O,newline:R}=t;for(let T=0;T<e.length;T++){const S=e[T];ce(S)?O(S,-3):Re(S)?ci(S,t):Pe(S,t),T<e.length-1&&(n?(m&&O(","),R()):m&&O(", "))}}function Pe(e,t){if(ce(e)){t.push(e,-3);return}if(rt(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:Pe(e.codegenNode,t);break;case 2:Hs(e,t);break;case 4:fn(e,t);break;case 5:$s(e,t);break;case 12:Pe(e.codegenNode,t);break;case 8:pn(e,t);break;case 3:qs(e,t);break;case 13:Ws(e,t);break;case 14:zs(e,t);break;case 15:Gs(e,t);break;case 17:Js(e,t);break;case 18:Ks(e,t);break;case 19:Qs(e,t);break;case 20:Ys(e,t);break;case 21:Ut(e.body,t,!0,!1);break}}function Hs(e,t){t.push(JSON.stringify(e.content),-3,e)}function fn(e,t){const{content:n,isStatic:m}=e;t.push(m?JSON.stringify(n):n,-3,e)}function $s(e,t){const{push:n,helper:m,pure:O}=t;O&&n(Or),n(`${m(kt)}(`),Pe(e.content,t),n(")")}function pn(e,t){for(let n=0;n<e.children.length;n++){const m=e.children[n];ce(m)?t.push(m,-3):Pe(m,t)}}function xs(e,t){const{push:n}=t;if(e.type===8)n("["),pn(e,t),n("]");else if(e.isStatic){const m=Dt(e.content)?e.content:JSON.stringify(e.content);n(m,-2,e)}else n(`[${e.content}]`,-3,e)}function qs(e,t){const{push:n,helper:m,pure:O}=t;O&&n(Or),n(`${m(St)}(${JSON.stringify(e.content)})`,-3,e)}function Ws(e,t){const{push:n,helper:m,pure:O}=t,{tag:R,props:T,children:S,patchFlag:C,dynamicProps:A,directives:_,isBlock:P,disableTracking:i,isComponent:w}=e;let g;C&&(g=String(C)),_&&n(m(mr)+"("),P&&n(`(${m(it)}(${i?"true":""}), `),O&&n(Or);const c=P?ct(t.inSSR,w):ut(t.inSSR,w);n(m(c)+"(",-2,e),Ut(Xs([R,T,S,g,A]),t),n(")"),P&&n(")"),_&&(n(", "),Pe(_,t),n(")"))}function Xs(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function zs(e,t){const{push:n,helper:m,pure:O}=t,R=ce(e.callee)?e.callee:m(e.callee);O&&n(Or),n(R+"(",-2,e),Ut(e.arguments,t),n(")")}function Gs(e,t){const{push:n,indent:m,deindent:O,newline:R}=t,{properties:T}=e;if(!T.length){n("{}",-2,e);return}const S=T.length>1||!1;n(S?"{":"{ "),S&&m();for(let C=0;C<T.length;C++){const{key:A,value:_}=T[C];xs(A,t),n(": "),Pe(_,t),C<T.length-1&&(n(","),R())}S&&O(),n(S?"}":" }")}function Js(e,t){ci(e.elements,t)}function Ks(e,t){const{push:n,indent:m,deindent:O}=t,{params:R,returns:T,body:S,newline:C,isSlot:A}=e;A&&n(`_${st[wr]}(`),n("(",-2,e),Re(R)?Ut(R,t):R&&Pe(R,t),n(") => "),(C||S)&&(n("{"),m()),T?(C&&n("return "),Re(T)?ci(T,t):Pe(T,t)):S&&Pe(S,t),(C||S)&&(O(),n("}")),A&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function Qs(e,t){const{test:n,consequent:m,alternate:O,newline:R}=e,{push:T,indent:S,deindent:C,newline:A}=t;if(n.type===4){const P=!Dt(n.content);P&&T("("),fn(n,t),P&&T(")")}else T("("),Pe(n,t),T(")");R&&S(),t.indentLevel++,R||T(" "),T("? "),Pe(m,t),t.indentLevel--,R&&A(),R||T(" "),T(": ");const _=O.type===19;_||t.indentLevel++,Pe(O,t),_||t.indentLevel--,R&&C(!0)}function Ys(e,t){const{push:n,helper:m,indent:O,deindent:R,newline:T}=t,{needPauseTracking:S,needArraySpread:C}=e;C&&n("[...("),n(`_cache[${e.index}] || (`),S&&(O(),n(`${m(At)}(-1`),e.inVOnce&&n(", true"),n("),"),T(),n("(")),n(`_cache[${e.index}] = `),Pe(e.value,t),S&&(n(`).cacheIndex = ${e.index},`),T(),n(`${m(At)}(1),`),T(),n(`_cache[${e.index}]`),R()),n(")"),C&&n(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const Zs=(e,t)=>{if(e.type===5)e.content=zt(e.content,t);else if(e.type===1){const n=Ne(e,"memo");for(let m=0;m<e.props.length;m++){const O=e.props[m];if(O.type===7&&O.name!=="for"){const R=O.exp,T=O.arg;R&&R.type===4&&!(O.name==="on"&&T)&&!(n&&T&&T.type===4&&T.content==="key")&&(O.exp=zt(R,t,O.name==="slot")),T&&T.type===4&&!T.isStatic&&(O.arg=zt(T,t))}}}};function zt(e,t,n=!1,m=!1,O=Object.create(t.identifiers)){return e}function hn(e){return ce(e)?e:e.type===4?e.content:e.children.map(hn).join("")}const ed=ui(/^(?:if|else|else-if)$/,(e,t,n)=>vn(e,t,n,(m,O,R)=>{const T=n.parent.children;let S=T.indexOf(m),C=0;for(;S-->=0;){const A=T[S];A&&A.type===9&&(C+=A.branches.length)}return()=>{if(R)m.codegenNode=xi(O,C,n);else{const A=td(m.codegenNode);A.alternate=xi(O,C+m.branches.length-1,n)}}}));function vn(e,t,n,m){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const O=t.exp?t.exp.loc:e.loc;n.onError(fe(28,t.loc)),t.exp=te("true",!1,O)}if(t.name==="if"){const O=$i(e,t),R={type:9,loc:Is(e.loc),branches:[O]};if(n.replaceNode(R),m)return m(R,O,!0)}else{const O=n.parent.children;let R=O.indexOf(e);for(;R-->=-1;){const T=O[R];if(T&&li(T)){n.removeNode(T);continue}if(T&&T.type===9){(t.name==="else-if"||t.name==="else")&&T.branches[T.branches.length-1].condition===void 0&&n.onError(fe(30,e.loc)),n.removeNode();const S=$i(e,t);T.branches.push(S);const C=m&&m(T,S,!1);jt(S,n),C&&C(),n.currentNode=null}else n.onError(fe(30,e.loc));break}}}function $i(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!Ne(e,"for")?e.children:[e],userKey:Bt(e,"key"),isTemplateIf:n}}function xi(e,t,n){return e.condition?er(e.condition,qi(e,t,n),Ve(n.helper(St),['""',"true"])):qi(e,t,n)}function qi(e,t,n){const{helper:m}=n,O=ge("key",te(`${t}`,!1,be,2)),{children:R}=e,T=R[0];if(R.length!==1||T.type!==1)if(R.length===1&&T.type===11){const C=T.codegenNode;return Mt(C,O,n),C}else return Vt(n,m(yt),De([O]),R,64,void 0,void 0,!0,!1,!1,e.loc);else{const C=T.codegenNode,A=Qa(C);return A.type===13&&Sr(A,n),Mt(A,O,n),C}}function td(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const rd=ui("for",(e,t,n)=>{const{helper:m,removeHelper:O}=n;return mn(e,t,n,R=>{const T=Ve(m(yr),[R.source]),S=wt(e),C=Ne(e,"memo"),A=Bt(e,"key",!1,!0);A&&A.type;let _=A&&(A.type===6?A.value?te(A.value.content,!0):void 0:A.exp);const P=A&&_?ge("key",_):null,i=R.source.type===4&&R.source.constType>0,w=i?64:A?128:256;return R.codegenNode=Vt(n,m(yt),void 0,T,w,void 0,void 0,!0,!i,!1,e.loc),()=>{let g;const{children:c}=R,f=c.length!==1||c[0].type!==1,r=Ft(e)?e:S&&e.children.length===1&&Ft(e.children[0])?e.children[0]:null;if(r?(g=r.codegenNode,S&&P&&Mt(g,P,n)):f?g=Vt(n,m(yt),P?De([P]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(g=c[0].codegenNode,S&&P&&Mt(g,P,n),g.isBlock!==!i&&(g.isBlock?(O(it),O(ct(n.inSSR,g.isComponent))):O(ut(n.inSSR,g.isComponent))),g.isBlock=!i,g.isBlock?(m(it),m(ct(n.inSSR,g.isComponent))):m(ut(n.inSSR,g.isComponent))),C){const d=dt(rr(R.parseResult,[te("_cached")]));d.body=Ba([je(["const _memo = (",C.exp,")"]),je(["if (_cached",..._?[" && _cached.key === ",_]:[],` && ${n.helperString(ei)}(_cached, _memo)) return _cached`]),je(["const _item = ",g]),te("_item.memo = _memo"),te("return _item")]),T.arguments.push(d,te("_cache"),te(String(n.cached.length))),n.cached.push(null)}else T.arguments.push(dt(rr(R.parseResult),g,!0))}})});function mn(e,t,n,m){if(!t.exp){n.onError(fe(31,t.loc));return}const O=t.forParseResult;if(!O){n.onError(fe(32,t.loc));return}fi(O);const{addIdentifiers:R,removeIdentifiers:T,scopes:S}=n,{source:C,value:A,key:_,index:P}=O,i={type:11,loc:t.loc,source:C,valueAlias:A,keyAlias:_,objectIndexAlias:P,parseResult:O,children:wt(e)?e.children:[e]};n.replaceNode(i),S.vFor++;const w=m&&m(i);return()=>{S.vFor--,w&&w()}}function fi(e,t){e.finalized||(e.finalized=!0)}function rr({value:e,key:t,index:n},m=[]){return id([e,t,n,...m])}function id(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,m)=>n||te("_".repeat(m+1),!1))}const Wi=te("undefined",!1),yn=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=Ne(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},ad=(e,t)=>{let n;if(wt(e)&&e.props.some(ni)&&(n=Ne(e,"for"))){const m=n.forParseResult;if(m){fi(m);const{value:O,key:R,index:T}=m,{addIdentifiers:S,removeIdentifiers:C}=t;return O&&S(O),R&&S(R),T&&S(T),()=>{O&&C(O),R&&C(R),T&&C(T)}}}},nd=(e,t,n,m)=>dt(e,n,!1,!0,n.length?n[0].loc:m);function gn(e,t,n=nd){t.helper(wr);const{children:m,loc:O}=e,R=[],T=[];let S=t.scopes.vSlot>0||t.scopes.vFor>0;const C=Ne(e,"slot",!0);if(C){const{arg:f,exp:r}=C;f&&!_e(f)&&(S=!0),R.push(ge(f||te("default",!0),n(r,void 0,m,O)))}let A=!1,_=!1;const P=[],i=new Set;let w=0;for(let f=0;f<m.length;f++){const r=m[f];let d;if(!wt(r)||!(d=Ne(r,"slot",!0))){r.type!==3&&P.push(r);continue}if(C){t.onError(fe(37,d.loc));break}A=!0;const{children:h,loc:p}=r,{arg:o=te("default",!0),exp:a,loc:u}=d;let l;_e(o)?l=o?o.content:"default":S=!0;const s=Ne(r,"for"),y=n(a,s,h,p);let v,b;if(v=Ne(r,"if"))S=!0,T.push(er(v.exp,$t(o,y,w++),Wi));else if(b=Ne(r,/^else(?:-if)?$/,!0)){let E=f,N;for(;E--&&(N=m[E],!!li(N)););if(N&&wt(N)&&Ne(N,/^(?:else-)?if$/)){let I=T[T.length-1];for(;I.alternate.type===19;)I=I.alternate;I.alternate=b.exp?er(b.exp,$t(o,y,w++),Wi):$t(o,y,w++)}else t.onError(fe(30,b.loc))}else if(s){S=!0;const E=s.forParseResult;E?(fi(E),T.push(Ve(t.helper(yr),[E.source,dt(rr(E),$t(o,y),!0)]))):t.onError(fe(32,s.loc))}else{if(l){if(i.has(l)){t.onError(fe(38,u));continue}i.add(l),l==="default"&&(_=!0)}R.push(ge(o,y))}}if(!C){const f=(r,d)=>{const h=n(r,void 0,d,O);return t.compatConfig&&(h.isNonScopedSlot=!0),ge("default",h)};A?P.length&&!P.every(Tr)&&(_?t.onError(fe(39,P[0].loc)):R.push(f(void 0,P))):R.push(f(void 0,m))}const g=S?2:Gt(e.children)?3:1;let c=De(R.concat(ge("_",te(g+"",!1))),O);return T.length&&(c=Ve(t.helper(Zr),[c,tt(T)])),{slots:c,hasDynamicSlots:S}}function $t(e,t,n){const m=[ge("name",e),ge("fn",t)];return n!=null&&m.push(ge("key",te(String(n),!0))),De(m)}function Gt(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||Gt(n.children))return!0;break;case 9:if(Gt(n.branches))return!0;break;case 10:case 11:if(Gt(n.children))return!0;break}}return!1}const Vn=new WeakMap,bn=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:m,props:O}=e,R=e.tagType===1;let T=R?wn(e,t):`"${m}"`;const S=We(T)&&T.callee===pr;let C,A,_=0,P,i,w,g=S||T===mt||T===sr||!R&&(m==="svg"||m==="foreignObject"||m==="math");if(O.length>0){const c=pi(e,t,void 0,R,S);C=c.props,_=c.patchFlag,i=c.dynamicPropNames;const f=c.directives;w=f&&f.length?tt(f.map(r=>En(r,t))):void 0,c.shouldUseBlock&&(g=!0)}if(e.children.length>0)if(T===_t&&(g=!0,_|=1024),R&&T!==mt&&T!==_t){const{slots:f,hasDynamicSlots:r}=gn(e,t);A=f,r&&(_|=1024)}else if(e.children.length===1&&T!==mt){const f=e.children[0],r=f.type,d=r===5||r===8;d&&Me(f,t)===0&&(_|=1),d||r===2?A=f:A=e.children}else A=e.children;i&&i.length&&(P=ld(i)),e.codegenNode=Vt(t,T,C,A,_===0?void 0:_,P,w,!!g,!1,R,e.loc)};function wn(e,t,n=!1){let{tag:m}=e;const O=Ur(m),R=Bt(e,"is",!1,!0);if(R)if(O||lt("COMPILER_IS_ON_ELEMENT",t)){let S;if(R.type===6?S=R.value&&te(R.value.content,!0):(S=R.exp,S||(S=te("is",!1,R.arg.loc))),S)return Ve(t.helper(pr),[S])}else R.type===6&&R.value.content.startsWith("vue:")&&(m=R.value.content.slice(4));const T=ri(m)||t.isBuiltInComponent(m);return T?(n||t.helper(T),T):(t.helper(fr),t.components.add(m),Et(m,"component"))}function pi(e,t,n=e.props,m,O,R=!1){const{tag:T,loc:S,children:C}=e;let A=[];const _=[],P=[],i=C.length>0;let w=!1,g=0,c=!1,f=!1,r=!1,d=!1,h=!1,p=!1;const o=[],a=y=>{A.length&&(_.push(De(Xi(A),S)),A=[]),y&&_.push(y)},u=()=>{t.scopes.vFor>0&&A.push(ge(te("ref_for",!0),te("true")))},l=({key:y,value:v})=>{if(_e(y)){const b=y.content,E=xr(b);if(E&&(!m||O)&&b.toLowerCase()!=="onclick"&&b!=="onUpdate:modelValue"&&!Lr(b)&&(d=!0),E&&Lr(b)&&(p=!0),E&&v.type===14&&(v=v.arguments[0]),v.type===20||(v.type===4||v.type===8)&&Me(v,t)>0)return;b==="ref"?c=!0:b==="class"?f=!0:b==="style"?r=!0:b!=="key"&&!o.includes(b)&&o.push(b),m&&(b==="class"||b==="style")&&!o.includes(b)&&o.push(b)}else h=!0};for(let y=0;y<n.length;y++){const v=n[y];if(v.type===6){const{loc:b,name:E,nameLoc:N,value:I}=v;let L=!0;if(E==="ref"&&(c=!0,u()),E==="is"&&(Ur(T)||I&&I.content.startsWith("vue:")||lt("COMPILER_IS_ON_ELEMENT",t)))continue;A.push(ge(te(E,!0,N),te(I?I.content:"",L,I?I.loc:b)))}else{const{name:b,arg:E,exp:N,loc:I,modifiers:L}=v,B=b==="bind",q=b==="on";if(b==="slot"){m||t.onError(fe(40,I));continue}if(b==="once"||b==="memo"||b==="is"||B&&et(E,"is")&&(Ur(T)||lt("COMPILER_IS_ON_ELEMENT",t))||q&&R)continue;if((B&&et(E,"key")||q&&i&&et(E,"vue:before-update"))&&(w=!0),B&&et(E,"ref")&&u(),!E&&(B||q)){if(h=!0,N)if(B){if(a(),lt("COMPILER_V_BIND_OBJECT_ORDER",t)){_.unshift(N);continue}u(),a(),_.push(N)}else a({type:14,loc:I,callee:t.helper(br),arguments:m?[N]:[N,"true"]});else t.onError(fe(B?34:35,I));continue}B&&L.some($=>$.content==="prop")&&(g|=32);const k=t.directiveTransforms[b];if(k){const{props:$,needRuntime:U}=k(v,e,t);!R&&$.forEach(l),q&&E&&!_e(E)?a(De($,S)):A.push(...$),U&&(P.push(v),rt(U)&&Vn.set(v,U))}else ma(b)||(P.push(v),i&&(w=!0))}}let s;if(_.length?(a(),_.length>1?s=Ve(t.helper(It),_,S):s=_[0]):A.length&&(s=De(Xi(A),S)),h?g|=16:(f&&!m&&(g|=2),r&&!m&&(g|=4),o.length&&(g|=8),d&&(g|=32)),!w&&(g===0||g===32)&&(c||p||P.length>0)&&(g|=512),!t.inSSR&&s)switch(s.type){case 15:let y=-1,v=-1,b=!1;for(let I=0;I<s.properties.length;I++){const L=s.properties[I].key;_e(L)?L.content==="class"?y=I:L.content==="style"&&(v=I):L.isHandlerKey||(b=!0)}const E=s.properties[y],N=s.properties[v];b?s=Ve(t.helper(gt),[s]):(E&&!_e(E.value)&&(E.value=Ve(t.helper(gr),[E.value])),N&&(r||N.value.type===4&&N.value.content.trim()[0]==="["||N.value.type===17)&&(N.value=Ve(t.helper(Vr),[N.value])));break;case 14:break;default:s=Ve(t.helper(gt),[Ve(t.helper(Tt),[s])]);break}return{props:s,directives:P,patchFlag:g,dynamicPropNames:o,shouldUseBlock:w}}function Xi(e){const t=new Map,n=[];for(let m=0;m<e.length;m++){const O=e[m];if(O.key.type===8||!O.key.isStatic){n.push(O);continue}const R=O.key.content,T=t.get(R);T?(R==="style"||R==="class"||xr(R))&&od(T,O):(t.set(R,O),n.push(O))}return n}function od(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=tt([e.value,t.value],e.loc)}function En(e,t){const n=[],m=Vn.get(e);m?n.push(t.helperString(m)):(t.helper(hr),t.directives.add(e.name),n.push(Et(e.name,"directive")));const{loc:O}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const R=te("true",!1,O);n.push(De(e.modifiers.map(T=>ge(T,R)),O))}return tt(n,e.loc)}function ld(e){let t="[";for(let n=0,m=e.length;n<m;n++)t+=JSON.stringify(e[n]),n<m-1&&(t+=", ");return t+"]"}function Ur(e){return e==="component"||e==="Component"}const sd=(e,t)=>{if(Ft(e)){const{children:n,loc:m}=e,{slotName:O,slotProps:R}=Sn(e,t),T=[t.prefixIdentifiers?"_ctx.$slots":"$slots",O,"{}","undefined","true"];let S=2;R&&(T[2]=R,S=3),n.length&&(T[3]=dt([],n,!1,!1,m),S=4),t.scopeId&&!t.slotted&&(S=5),T.splice(S),e.codegenNode=Ve(t.helper(Yr),T,m)}};function Sn(e,t){let n='"default"',m;const O=[];for(let R=0;R<e.props.length;R++){const T=e.props[R];if(T.type===6)T.value&&(T.name==="name"?n=JSON.stringify(T.value.content):(T.name=Ge(T.name),O.push(T)));else if(T.name==="bind"&&et(T.arg,"name")){if(T.exp)n=T.exp;else if(T.arg&&T.arg.type===4){const S=Ge(T.arg.content);n=T.exp=te(S,!1,T.arg.loc)}}else T.name==="bind"&&T.arg&&_e(T.arg)&&(T.arg.content=Ge(T.arg.content)),O.push(T)}if(O.length>0){const{props:R,directives:T}=pi(e,t,O,!1,!1);m=R,T.length&&t.onError(fe(36,T[0].loc))}return{slotName:n,slotProps:m}}const hi=(e,t,n,m)=>{const{loc:O,modifiers:R,arg:T}=e;!e.exp&&!R.length&&n.onError(fe(35,O));let S;if(T.type===4)if(T.isStatic){let P=T.content;P.startsWith("vue:")&&(P=`vnode-${P.slice(4)}`);const i=t.tagType!==0||P.startsWith("vnode")||!/[A-Z]/.test(P)?ga(Ge(P)):`on:${P}`;S=te(i,!0,T.loc)}else S=je([`${n.helperString(Zt)}(`,T,")"]);else S=T,S.children.unshift(`${n.helperString(Zt)}(`),S.children.push(")");let C=e.exp;C&&!C.content.trim()&&(C=void 0);let A=n.cacheHandlers&&!C&&!n.inVOnce;if(C){const P=ai(C),i=!(P||za(C)),w=C.content.includes(";");(i||A&&P)&&(C=je([`${i?"$event":"(...args)"} => ${w?"{":"("}`,C,w?"}":")"]))}let _={props:[ge(S,C||te("() => {}",!1,O))]};return m&&(_=m(_)),A&&(_.props[0].value=n.cache(_.props[0].value)),_.props.forEach(P=>P.key.isHandlerKey=!0),_},Tn=(e,t,n)=>{const{modifiers:m,loc:O}=e,R=e.arg;let{exp:T}=e;return T&&T.type===4&&!T.content.trim()&&(T=void 0),R.type!==4?(R.children.unshift("("),R.children.push(') || ""')):R.isStatic||(R.content=R.content?`${R.content} || ""`:'""'),m.some(S=>S.content==="camel")&&(R.type===4?R.isStatic?R.content=Ge(R.content):R.content=`${n.helperString(Yt)}(${R.content})`:(R.children.unshift(`${n.helperString(Yt)}(`),R.children.push(")"))),n.inSSR||(m.some(S=>S.content==="prop")&&zi(R,"."),m.some(S=>S.content==="attr")&&zi(R,"^")),{props:[ge(R,T)]}},zi=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},dd=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let m,O=!1;for(let R=0;R<n.length;R++){const T=n[R];if(xt(T)){O=!0;for(let S=R+1;S<n.length;S++){const C=n[S];if(xt(C))m||(m=n[R]=je([T],T.loc)),m.children.push(" + ",C),n.splice(S,1),S--;else{m=void 0;break}}}}if(!(!O||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(R=>R.type===7&&!t.directiveTransforms[R.name])&&e.tag!=="template")))for(let R=0;R<n.length;R++){const T=n[R];if(xt(T)||T.type===8){const S=[];(T.type!==2||T.content!==" ")&&S.push(T),!t.ssr&&Me(T,t)===0&&S.push("1"),n[R]={type:12,content:T,loc:T.loc,codegenNode:Ve(t.helper(cr),S)}}}}},Gi=new WeakSet,ud=(e,t)=>{if(e.type===1&&Ne(e,"once",!0))return Gi.has(e)||t.inVOnce||t.inSSR?void 0:(Gi.add(e),t.inVOnce=!0,t.helper(At),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0,!0))})},vi=(e,t,n)=>{const{exp:m,arg:O}=e;if(!m)return n.onError(fe(41,e.loc)),Ot();const R=m.loc.source.trim(),T=m.type===4?m.content:R,S=n.bindingMetadata[R];if(S==="props"||S==="props-aliased")return n.onError(fe(44,m.loc)),Ot();if(S==="literal-const"||S==="setup-const")return n.onError(fe(45,m.loc)),Ot();if(!T.trim()||!ai(m))return n.onError(fe(42,m.loc)),Ot();const C=O||te("modelValue",!0),A=O?_e(O)?`onUpdate:${Ge(O.content)}`:je(['"onUpdate:" + ',O]):"onUpdate:modelValue";let _;const P=n.isTS?"($event: any)":"$event";_=je([`${P} => ((`,m,") = $event)"]);const i=[ge(C,e.exp),ge(A,_)];if(e.modifiers.length&&t.tagType===1){const w=e.modifiers.map(c=>c.content).map(c=>(Dt(c)?c:JSON.stringify(c))+": true").join(", "),g=O?_e(O)?`${O.content}Modifiers`:je([O,' + "Modifiers"']):"modelModifiers";i.push(ge(g,te(`{ ${w} }`,!1,e.loc,2)))}return Ot(i)};function Ot(e=[]){return{props:e}}const cd=/[\w).+\-_$\]]/,fd=(e,t)=>{lt("COMPILER_FILTERS",t)&&(e.type===5?ir(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&ir(n.exp,t)}))};function ir(e,t){if(e.type===4)Ji(e,t);else for(let n=0;n<e.children.length;n++){const m=e.children[n];typeof m=="object"&&(m.type===4?Ji(m,t):m.type===8?ir(e,t):m.type===5&&ir(m.content,t))}}function Ji(e,t){const n=e.content;let m=!1,O=!1,R=!1,T=!1,S=0,C=0,A=0,_=0,P,i,w,g,c=[];for(w=0;w<n.length;w++)if(i=P,P=n.charCodeAt(w),m)P===39&&i!==92&&(m=!1);else if(O)P===34&&i!==92&&(O=!1);else if(R)P===96&&i!==92&&(R=!1);else if(T)P===47&&i!==92&&(T=!1);else if(P===124&&n.charCodeAt(w+1)!==124&&n.charCodeAt(w-1)!==124&&!S&&!C&&!A)g===void 0?(_=w+1,g=n.slice(0,w).trim()):f();else{switch(P){case 34:O=!0;break;case 39:m=!0;break;case 96:R=!0;break;case 40:A++;break;case 41:A--;break;case 91:C++;break;case 93:C--;break;case 123:S++;break;case 125:S--;break}if(P===47){let r=w-1,d;for(;r>=0&&(d=n.charAt(r),d===" ");r--);(!d||!cd.test(d))&&(T=!0)}}g===void 0?g=n.slice(0,w).trim():_!==0&&f();function f(){c.push(n.slice(_,w).trim()),_=w+1}if(c.length){for(w=0;w<c.length;w++)g=pd(g,c[w],t);e.content=g,e.ast=void 0}}function pd(e,t,n){n.helper(vr);const m=t.indexOf("(");if(m<0)return n.filters.add(t),`${Et(t,"filter")}(${e})`;{const O=t.slice(0,m),R=t.slice(m+1);return n.filters.add(O),`${Et(O,"filter")}(${e}${R!==")"?","+R:R}`}}const Ki=new WeakSet,hd=(e,t)=>{if(e.type===1){const n=Ne(e,"memo");return!n||Ki.has(e)||t.inSSR?void 0:(Ki.add(e),()=>{const m=e.codegenNode||t.currentNode.codegenNode;m&&m.type===13&&(e.tagType!==1&&Sr(m,t),e.codegenNode=Ve(t.helper(Er),[n.exp,dt(void 0,m),"_cache",String(t.cached.length)]),t.cached.push(null))})}},On=(e,t)=>{if(e.type===1){for(const n of e.props)if(n.type===7&&n.name==="bind"&&(!n.exp||n.exp.type===4&&!n.exp.content.trim())&&n.arg){const m=n.arg;if(m.type!==4||!m.isStatic)t.onError(fe(53,m.loc)),n.exp=te("",!0,m.loc);else{const O=Ge(m.content);(ii.test(O[0])||O[0]==="-")&&(n.exp=te(O,!1,m.loc))}}}};function Cn(e){return[[On,ud,ed,hd,rd,fd,sd,bn,yn,dd],{on:hi,bind:Tn,model:vi}]}function Pn(e,t={}){const n=t.onError||ti,m=t.mode==="module";t.prefixIdentifiers===!0?n(fe(48)):m&&n(fe(49));const O=!1;t.cacheHandlers&&n(fe(50)),t.scopeId&&!m&&n(fe(51));const R=qe({},t,{prefixIdentifiers:O}),T=ce(e)?di(e,R):e,[S,C]=Cn();return dn(T,qe({},R,{nodeTransforms:[...S,...t.nodeTransforms||[]],directiveTransforms:qe({},C,t.directiveTransforms||{})})),cn(T,R)}const vd={DATA:"data",PROPS:"props",PROPS_ALIASED:"props-aliased",SETUP_LET:"setup-let",SETUP_CONST:"setup-const",SETUP_REACTIVE_CONST:"setup-reactive-const",SETUP_MAYBE_REF:"setup-maybe-ref",SETUP_REF:"setup-ref",OPTIONS:"options",LITERAL_CONST:"literal-const"},Nn=()=>({props:[]});const mi=Symbol(""),yi=Symbol(""),gi=Symbol(""),Vi=Symbol(""),ar=Symbol(""),bi=Symbol(""),wi=Symbol(""),Ei=Symbol(""),Si=Symbol(""),Ti=Symbol("");La({[mi]:"vModelRadio",[yi]:"vModelCheckbox",[gi]:"vModelText",[Vi]:"vModelSelect",[ar]:"vModelDynamic",[bi]:"withModifiers",[wi]:"withKeys",[Ei]:"vShow",[Si]:"Transition",[Ti]:"TransitionGroup"});let ht;function md(e,t=!1){return ht||(ht=document.createElement("div")),t?(ht.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,ht.children[0].getAttribute("foo")):(ht.innerHTML=e,ht.textContent)}const Oi={parseMode:"html",isVoidTag:Ta,isNativeTag:e=>wa(e)||Ea(e)||Sa(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:md,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return Si;if(e==="TransitionGroup"||e==="transition-group")return Ti},getNamespace(e,t,n){let m=t?t.ns:n;if(t&&m===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(O=>O.type===6&&O.name==="encoding"&&O.value!=null&&(O.value.content==="text/html"||O.value.content==="application/xhtml+xml"))&&(m=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(m=0);else t&&m===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(m=0);if(m===0){if(e==="svg")return 1;if(e==="math")return 2}return m}},Rn=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:te("style",!0,t.loc),exp:yd(t.value.content,t.loc),modifiers:[],loc:t.loc})})},yd=(e,t)=>{const n=Xr(e);return te(JSON.stringify(n),!1,t,3)};function Ke(e,t){return fe(e,t)}const gd={X_V_HTML_NO_EXPRESSION:54,54:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:55,55:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:56,56:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:57,57:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:58,58:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:59,59:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:60,60:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:61,61:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:62,62:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVA
10LID_CHILDREN:63,63:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:64,64:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:65,65:"__EXTEND_POINT__"},Vd={54:"v-html is missing expression.",55:"v-html will override element children.",56:"v-text is missing expression.",57:"v-text will override element children.",58:"v-model can only be used on <input>, <textarea> and <select> elements.",59:"v-model argument is not supported on plain elements.",60:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",61:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",62:"v-show is missing expression.",63:"<Transition> expects exactly one child element or component.",64:"Tags with side effect (<script> and <style>) are ignored in client component templates."},bd=(e,t,n)=>{const{exp:m,loc:O}=e;return m||n.onError(Ke(54,O)),t.children.length&&(n.onError(Ke(55,O)),t.children.length=0),{props:[ge(te("innerHTML",!0,O),m||te("",!0))]}},wd=(e,t,n)=>{const{exp:m,loc:O}=e;return m||n.onError(Ke(56,O)),t.children.length&&(n.onError(Ke(57,O)),t.children.length=0),{props:[ge(te("textContent",!0),m?Me(m,n)>0?m:Ve(n.helperString(kt),[m],O):te("",!0))]}},Ed=(e,t,n)=>{const m=vi(e,t,n);if(!m.props.length||t.tagType===1)return m;e.arg&&n.onError(Ke(59,e.arg.loc));const{tag:O}=t,R=n.isCustomElement(O);if(O==="input"||O==="textarea"||O==="select"||R){let T=gi,S=!1;if(O==="input"||R){const C=Bt(t,"type");if(C){if(C.type===7)T=ar;else if(C.value)switch(C.value.content){case"radio":T=mi;break;case"checkbox":T=yi;break;case"file":S=!0,n.onError(Ke(60,e.loc));break}}else Ja(t)&&(T=ar)}else O==="select"&&(T=Vi);S||(m.needRuntime=n.helper(T))}else n.onError(Ke(58,e.loc));return m.props=m.props.filter(T=>!(T.key.type===4&&T.key.content==="modelValue")),m},Sd=Te("passive,once,capture"),Td=Te("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Od=Te("left,right"),_n=Te("onkeyup,onkeydown,onkeypress"),Cd=(e,t,n,m)=>{const O=[],R=[],T=[];for(let S=0;S<t.length;S++){const C=t[S].content;C==="native"&&bt("COMPILER_V_ON_NATIVE",n)||Sd(C)?T.push(C):Od(C)?_e(e)?_n(e.content.toLowerCase())?O.push(C):R.push(C):(O.push(C),R.push(C)):Td(C)?R.push(C):O.push(C)}return{keyModifiers:O,nonKeyModifiers:R,eventOptionModifiers:T}},Qi=(e,t)=>_e(e)&&e.content.toLowerCase()==="onclick"?te(t,!0):e.type!==4?je(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Pd=(e,t,n)=>hi(e,t,n,m=>{const{modifiers:O}=e;if(!O.length)return m;let{key:R,value:T}=m.props[0];const{keyModifiers:S,nonKeyModifiers:C,eventOptionModifiers:A}=Cd(R,O,n,e.loc);if(C.includes("right")&&(R=Qi(R,"onContextmenu")),C.includes("middle")&&(R=Qi(R,"onMouseup")),C.length&&(T=Ve(n.helper(bi),[T,JSON.stringify(C)])),S.length&&(!_e(R)||_n(R.content.toLowerCase()))&&(T=Ve(n.helper(wi),[T,JSON.stringify(S)])),A.length){const _=A.map(or).join("");R=_e(R)?te(`${R.content}${_}`,!0):je(["(",R,`) + "${_}"`])}return{props:[ge(R,T)]}}),Nd=(e,t,n)=>{const{exp:m,loc:O}=e;return m||n.onError(Ke(62,O)),{props:[],needRuntime:n.helper(Ei)}},Rd=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},In=[Rn],An={cloak:Nn,html:bd,text:wd,model:Ed,on:Pd,show:Nd};function _d(e,t={}){return Pn(e,qe({},Oi,t,{nodeTransforms:[Rd,...In,...t.nodeTransforms||[]],directiveTransforms:qe({},An,t.directiveTransforms||{}),transformHoist:null}))}function Id(e,t={}){return di(e,qe({},Oi,t))}const Ad=Object.freeze(Object.defineProperty({__proto__:null,BASE_TRANSITION:Gr,BindingTypes:vd,CAMELIZE:Yt,CAPITALIZE:_a,CREATE_BLOCK:Jr,CREATE_COMMENT:St,CREATE_ELEMENT_BLOCK:Kr,CREATE_ELEMENT_VNODE:ur,CREATE_SLOTS:Zr,CREATE_STATIC:Qr,CREATE_TEXT:cr,CREATE_VNODE:dr,CompilerDeprecationTypes:Zl,ConstantTypes:Wl,DOMDirectiveTransforms:An,DOMErrorCodes:gd,DOMErrorMessages:Vd,DOMNodeTransforms:In,ElementTypes:ql,ErrorCodes:rs,FRAGMENT:yt,GUARD_REACTIVE_PROPS:Tt,IS_MEMO_SAME:ei,IS_REF:Ma,KEEP_ALIVE:_t,MERGE_PROPS:It,NORMALIZE_CLASS:gr,NORMALIZE_PROPS:gt,NORMALIZE_STYLE:Vr,Namespaces:$l,NodeTypes:xl,OPEN_BLOCK:it,POP_SCOPE_ID:Aa,PUSH_SCOPE_ID:Ia,RENDER_LIST:yr,RENDER_SLOT:Yr,RESOLVE_COMPONENT:fr,RESOLVE_DIRECTIVE:hr,RESOLVE_DYNAMIC_COMPONENT:pr,RESOLVE_FILTER:vr,SET_BLOCK_TRACKING:At,SUSPENSE:sr,TELEPORT:mt,TO_DISPLAY_STRING:kt,TO_HANDLERS:br,TO_HANDLER_KEY:Zt,TRANSITION:Si,TRANSITION_GROUP:Ti,TS_NODE_TYPES:$a,UNREF:Fa,V_MODEL_CHECKBOX:yi,V_MODEL_DYNAMIC:ar,V_MODEL_RADIO:mi,V_MODEL_SELECT:Vi,V_MODEL_TEXT:gi,V_ON_WITH_KEYS:wi,V_ON_WITH_MODIFIERS:bi,V_SHOW:Ei,WITH_CTX:wr,WITH_DIRECTIVES:mr,WITH_MEMO:Er,advancePositionWithClone:bs,advancePositionWithMutation:Ga,assert:ws,baseCompile:Pn,baseParse:di,buildDirectiveArgs:En,buildProps:pi,buildSlots:gn,checkCompatEnabled:bt,compile:_d,convertToBlock:Sr,createArrayExpression:tt,createAssignmentExpression:Jl,createBlockStatement:Ba,createCacheExpression:Da,createCallExpression:Ve,createCompilerError:fe,createCompoundExpression:je,createConditionalExpression:er,createDOMCompilerError:Ke,createForLoopParams:rr,createFunctionExpression:dt,createIfStatement:Gl,createInterpolation:Xl,createObjectExpression:De,createObjectProperty:ge,createReturnStatement:Ql,createRoot:ka,createSequenceExpression:Kl,createSimpleExpression:te,createStructuralDirectiveTransform:ui,createTemplateLiteral
10:zl,createTransformContext:sn,createVNodeCall:Vt,errorMessages:is,extractIdentifiers:xe,findDir:Ne,findProp:Bt,forAliasRE:Ya,generate:cn,generateCodeFrame:ba,getBaseTransformPreset:Cn,getConstantType:Me,getMemoedVNodeCall:Qa,getVNodeBlockHelper:ct,getVNodeHelper:ut,hasDynamicKeyVBind:Ja,hasScopeRef:Ue,helperNameMap:st,injectProp:Mt,isAllWhitespace:oi,isCommentOrWhitespace:li,isCoreComponent:ri,isFnExpression:za,isFnExpressionBrowser:Xa,isFnExpressionNode:Vs,isFunctionType:fs,isInDestructureAssignment:os,isInNewExpression:ls,isMemberExpression:ai,isMemberExpressionBrowser:Wa,isMemberExpressionNode:ys,isReferencedIdentifier:ns,isSimpleIdentifier:Dt,isSlotOutlet:Ft,isStaticArgOf:et,isStaticExp:_e,isStaticProperty:Ha,isStaticPropertyKey:ps,isTemplateNode:wt,isText:xt,isVPre:Dr,isVSlot:ni,isWhitespaceText:Tr,locStub:be,noopDirectiveTransform:Nn,parse:Id,parserOptions:Oi,processExpression:zt,processFor:mn,processIf:vn,processSlotOutlet:Sn,registerRuntimeHelpers:La,resolveComponentType:wn,stringifyExpression:hn,toValidAssetId:Et,trackSlotScopes:yn,trackVForSlotScopes:ad,transform:dn,transformBind:Tn,transformElement:bn,transformExpression:Zs,transformModel:vi,transformOn:hi,transformStyle:Rn,transformVBindShorthand:On,traverseNode:jt,unwrapTSNode:xa,validFirstIdentCharRE:ii,walkBlockDeclarations:Ua,walkFunctionParams:ss,walkIdentifiers:as,warnDeprecation:ts},Symbol.toStringTag,{value:"Module"})),Fd=$r(Ad),Md=$r(Eo),Ld=$r(Hl);var Yi;function kd(){return Yi||(Yi=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Fd,n=Md,m=Ld;function O(C){var A=Object.create(null);if(C)for(var _ in C)A[_]=C[_];return A.default=C,Object.freeze(A)}var R=O(n);const T=Object.create(null);function S(C,A){if(!m.isString(C))if(C.nodeType)C=C.innerHTML;else return m.NOOP;const _=m.genCacheKey(C,A),P=T[_];if(P)return P;if(C[0]==="#"){const c=document.querySelector(C);C=c?c.innerHTML:""}const i=m.extend({hoistStatic:!0,onError:void 0,onWarn:m.NOOP},A);!i.isCustomElement&&typeof customElements<"u"&&(i.isCustomElement=c=>!!customElements.get(c));const{code:w}=t.compile(C,i),g=new Function("Vue",w)(R);return g._rc=!0,T[_]=g}n.registerRuntimeCompiler(S),e.compile=S,Object.keys(n).forEach(function(C){C!=="default"&&!Object.prototype.hasOwnProperty.call(e,C)&&(e[C]=n[C])})})(Rr)),Rr}var Zi;function Dd(){return Zi||(Zi=1,Nr.exports=kd()),Nr.exports}var Jt={exports:{}},Bd=Jt.exports,ea;function Fn(){return ea||(ea=1,(function(e,t){(function(m,O){e.exports=O()})(Bd,()=>(()=>{var n={"./node_modules/http-post-message/dist/httpPostMessage.js"(T){(function(S,C){T.exports=C()})(self,(()=>(()=>{var S={};return(()=>{var C=S;Object.defineProperty(C,"__esModule",{value:!0}),C.HttpPostMessage=void 0;var A=(function(){function _(P,i,w,g){i===void 0&&(i={}),this.defaultHeaders=i,this.defaultTargetWindow=w,this.defaultTargetOrigin=g,this.windowPostMessageProxy=P}return _.addTrackingProperties=function(P,i){return P.headers=P.headers||{},i&&i.id&&(P.headers.id=i.id),P},_.getTrackingProperties=function(P){return{id:P.headers&&P.headers.id}},_.isErrorMessage=function(P){return typeof(P&&P.statusCode)=="number"&&!(200<=P.statusCode&&P.statusCode<300)},_.prototype.get=function(P,i,w,g){return i===void 0&&(i={}),w===void 0&&(w=this.defaultTargetWindow),this.send({method:"GET",url:P,headers:i},w,g)},_.prototype.post=function(P,i,w,g,c){return w===void 0&&(w={}),g===void 0&&(g=this.defaultTargetWindow),this.send({method:"POST",url:P,headers:w,body:i},g,c)},_.prototype.put=function(P,i,w,g,c){return w===void 0&&(w={}),g===void 0&&(g=this.defaultTargetWindow),this.send({method:"PUT",url:P,headers:w,body:i},g,c)},_.prototype.patch=function(P,i,w,g,c){return w===void 0&&(w={}),g===void 0&&(g=this.defaultTargetWindow),this.send({method:"PATCH",url:P,headers:w,body:i},g,c)},_.prototype.delete=function(P,i,w,g,c){return i===void 0&&(i=null),w===void 0&&(w={}),g===void 0&&(g=this.defaultTargetWindow),this.send({method:"DELETE",url:P,headers:w,body:i},g,c)},_.prototype.send=function(P,i,w){if(i===void 0&&(i=this.defaultTargetWindow),w===void 0&&(w=this.defaultTargetOrigin),P.headers=this.assign({},this.defaultHeaders,P.headers),!i)throw new Error("target window is not provided.  You must either provide the target window explicitly as argument to request, or specify default target window when constructing instance of this class.");return w===void 0?this.windowPostMessageProxy.postMessage(i,P):this.windowPostMessageProxy.postMessage(i,P,w)},_.prototype.assign=function(P){for(var i=[],w=1;w<arguments.length;w++)i[w-1]=arguments[w];if(P==null)throw new TypeError("Cannot convert undefined or null to object");var g=Object(P);
10return i.forEach((function(c){if(c!=null)for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(g[f]=c[f])})),g},_})();C.HttpPostMessage=A})(),S})()))},"./node_modules/powerbi-models/dist/models.js"(T){(function(C,A){T.exports=A()})(this,()=>(()=>{var S=[(function(P,i,w){var g=this&&this.__extends||(function(){var V=function(F,x){return V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ee,re){ee.__proto__=re}||function(ee,re){for(var ie in re)Object.prototype.hasOwnProperty.call(re,ie)&&(ee[ie]=re[ie])},V(F,x)};return function(F,x){if(typeof x!="function"&&x!==null)throw new TypeError("Class extends value "+String(x)+" is not a constructor or null");V(F,x);function ee(){this.constructor=F}F.prototype=x===null?Object.create(x):(ee.prototype=x.prototype,new ee)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.ExportDataResultType=i.ExportDataType=i.QnaMode=i.PageNavigationPosition=i.BrowserPrintAdjustmentsMode=i.AggregateFunction=i.DataCacheMode=i.CredentialType=i.isVisualCalculation=i.isPercentOfGrandTotal=i.isColumnAggr=i.isHierarchyLevelAggr=i.isHierarchyLevel=i.isColumn=i.isMeasure=i.getFilterType=i.isBasicFilterWithKeys=i.isFilterKeyColumnsTarget=i.HierarchyIdentityFilter=i.HierarchyFilter=i.AdvancedFilter=i.TupleFilter=i.IdentityFilter=i.BasicFilterWithKeys=i.BasicFilter=i.RelativeTimeFilter=i.RelativeDateFilter=i.TopNFilter=i.IncludeExcludeFilter=i.NotSupportedFilter=i.Filter=i.RelativeDateOperators=i.RelativeDateFilterTimeUnit=i.FilterType=i.FiltersLevel=i.FiltersOperations=i.MenuLocation=i.ContrastMode=i.TokenType=i.ViewMode=i.Permissions=i.SectionVisibility=i.ReportAlignment=i.HyperlinkClickBehavior=i.LayoutType=i.VisualContainerDisplayMode=i.BackgroundType=i.DisplayOption=i.PageSizeType=i.TraceType=void 0,i.validateUpdateFiltersRequest=i.validateFilter=i.validatePage=i.validateTileLoad=i.validateDashboardLoad=i.validateQuickCreate=i.validateCreateReport=i.validatePaginatedReportLoad=i.validateReportLoad=i.validateMenuGroupExtension=i.validateExtension=i.validateCustomPageSize=i.validateVisualizationsPane=i.validateSyncSlicersPane=i.validateSelectionPane=i.validatePageNavigationPane=i.validateFieldsPane=i.validateFiltersPane=i.validateBookmarksPane=i.validatePanes=i.validateSettings=i.validateCaptureBookmarkRequest=i.validateApplyBookmarkStateRequest=i.validateApplyBookmarkByNameRequest=i.validateAddBookmarkRequest=i.validatePlayBookmarkRequest=i.validateSlicerState=i.validateSlicer=i.validateVisualSelector=i.isIExtensionArray=i.isIExtensions=i.isGroupedMenuExtension=i.isFlatMenuExtension=i.isReportFiltersArray=i.isOnLoadFilters=i.VisualDataRoleKindPreference=i.VisualDataRoleKind=i.CommandDisplayOption=i.SlicerTargetSelector=i.VisualTypeSelector=i.VisualSelector=i.PageSelector=i.Selector=i.SortDirection=i.LegendPosition=i.TextAlignment=i.CommonErrorCodes=i.BookmarksPlayMode=i.ExportDataCompletedStatus=i.ExportDataResultFormat=void 0,i.validatePrintSettings=i.validateZoomLevel=i.validateCustomTheme=i.validateCommandsSettings=i.validateVisualSettings=i.validateVisualHeader=i.validateExportDataRequest=i.validateQnaInterpretInputData=i.validateLoadQnaConfiguration=i.validateSaveAsParameters=void 0;var c=w(1);
10(function(V){V[V.Information=0]="Information",V[V.Verbose=1]="Verbose",V[V.Warning=2]="Warning",V[V.Error=3]="Error",V[V.ExpectedError=4]="ExpectedError",V[V.UnexpectedError=5]="UnexpectedError",V[V.Fatal=6]="Fatal"})(i.TraceType||(i.TraceType={})),(function(V){V[V.Widescreen=0]="Widescreen",V[V.Standard=1]="Standard",V[V.Cortana=2]="Cortana",V[V.Letter=3]="Letter",V[V.Custom=4]="Custom",V[V.Mobile=5]="Mobile"})(i.PageSizeType||(i.PageSizeType={})),(function(V){V[V.FitToPage=0]="FitToPage",V[V.FitToWidth=1]="FitToWidth",V[V.ActualSize=2]="ActualSize"})(i.DisplayOption||(i.DisplayOption={})),(function(V){V[V.Default=0]="Default",V[V.Transparent=1]="Transparent"})(i.BackgroundType||(i.BackgroundType={})),(function(V){V[V.Visible=0]="Visible",V[V.Hidden=1]="Hidden"})(i.VisualContainerDisplayMode||(i.VisualContainerDisplayMode={})),(function(V){V[V.Master=0]="Master",V[V.Custom=1]="Custom",V[V.MobilePortrait=2]="MobilePortrait",V[V.MobileLandscape=3]="MobileLandscape"})(i.LayoutType||(i.LayoutType={})),(function(V){V[V.Navigate=0]="Navigate",V[V.NavigateAndRaiseEvent=1]="NavigateAndRaiseEvent",V[V.RaiseEvent=2]="RaiseEvent"})(i.HyperlinkClickBehavior||(i.HyperlinkClickBehavior={})),(function(V){V[V.Left=0]="Left",V[V.Center=1]="Center",V[V.Right=2]="Right",V[V.None=3]="None"})(i.ReportAlignment||(i.ReportAlignment={})),(function(V){V[V.AlwaysVisible=0]="AlwaysVisible",V[V.HiddenInViewMode=1]="HiddenInViewMode"})(i.SectionVisibility||(i.SectionVisibility={})),(function(V){V[V.Read=0]="Read",V[V.ReadWrite=1]="ReadWrite",V[V.Copy=2]="Copy",V[V.Create=4]="Create",V[V.All=7]="All"})(i.Permissions||(i.Permissions={})),(function(V){V[V.View=0]="View",V[V.Edit=1]="Edit"})(i.ViewMode||(i.ViewMode={})),(function(V){V[V.Aad=0]="Aad",V[V.Embed=1]="Embed"})(i.TokenType||(i.TokenType={})),(function(V){V[V.None=0]="None",V[V.HighContrast1=1]="HighContrast1",V[V.HighContrast2=2]="HighContrast2",V[V.HighContrastBlack=3]="HighContrastBlack",V[V.HighContrastWhite=4]="HighContrastWhite"})(i.ContrastMode||(i.ContrastMode={})),(function(V){V[V.Bottom=0]="Bottom",V[V.Top=1]="Top"})(i.MenuLocation||(i.MenuLocation={})),(function(V){V[V.RemoveAll=0]="RemoveAll",V[V.ReplaceAll=1]="ReplaceAll",V[V.Add=2]="Add",V[V.Replace=3]="Replace"})(i.FiltersOperations||(i.FiltersOperations={})),(function(V){V[V.Report=0]="Report",V[V.Page=1]="Page",V[V.Visual=2]="Visual"})(i.FiltersLevel||(i.FiltersLevel={}));var f;(function(V){V[V.Advanced=0]="Advanced",V[V.Basic=1]="Basic",V[V.Unknown=2]="Unknown",V[V.IncludeExclude=3]="IncludeExclude",V[V.RelativeDate=4]="RelativeDate",V[V.TopN=5]="TopN",V[V.Tuple=6]="Tuple",V[V.RelativeTime=7]="RelativeTime",V[V.Identity=8]="Identity",V[V.Hierarchy=9]="Hierarchy",V[V.HierarchyIdentity=10]="HierarchyIdentity"})(f=i.FilterType||(i.FilterType={})),(function(V){V[V.Days=0]="Days",V[V.Weeks=1]="Weeks",V[V.CalendarWeeks=2]="CalendarWeeks",V[V.Months=3]="Months",V[V.CalendarMonths=4]="CalendarMonths",V[V.Years=5]="Years",V[V.CalendarYears=6]="CalendarYears",V[V.Minutes=7]="Minutes",V[V.Hours=8]="Hours"})(i.RelativeDateFilterTimeUnit||(i.RelativeDateFilterTimeUnit={})),(function(V){V[V.InLast=0]="InLast",V[V.InThis=1]="InThis",V[V.InNext=2]="InNext"})(i.RelativeDateOperators||(i.RelativeDateOperators={}));var r=(function(){function V(F,x){this.target=F,this.filterType=x}return V.prototype.toJSON=function(){var F={$schema:this.schemaUrl,target:this.target,filterType:this.filterType};return this.displaySettings!==void 0&&(F.displaySettings=this.displaySettings),F},V})();i.Filter=r;var d=(function(V){g(F,V);function F(x,ee,re){var ie=V.call(this,x,f.Unknown)||this;return ie.message=ee,ie.notSupportedTypeName=re,ie.schemaUrl=F.schemaUrl,ie}return F.prototype.toJSON=function(){var x=V.prototype.toJSON.call(this);return x.message=this.message,x.notSupportedTypeName=this.notSupportedTypeName,x},F.schemaUrl="http://powerbi.com/product/schema#notSupported",F})(r);i.NotSupportedFilter=d;var h=(function(V){g(F,V);function F(x,ee,re){var ie=V.call(this,x,f.IncludeExclude)||this;return ie.target=x,ie.values=re,ie.isExclude=ee,ie.schemaUrl=F.schemaUrl,ie}return F.prototype.toJSON=function(){var x=V.prototype.toJSON.call(this);return x.isExclude=this.isExclude,x.values=this.values,x},F.schemaUrl="http://powerbi.com/product/schema#includeExclude",F})(r);i.IncludeExcludeFilter=h;var p=(function(V){g(F,V);function F(x,ee,re,ie){var de=V.call(this,x,f.TopN)||this;return de.operator=ee,de.itemCount=re,de.schemaUrl=F.schemaUrl,de.orderBy=ie,de}return F.prototype.toJSON=function(){var x=V.prototype.toJSON.call(this);return x.operator=this.operator,x.itemCount=this.itemCount,x.orderBy=this.orderBy,x},F.schemaUrl="http://powerbi.com/product/schema#topN",F})(r);i.TopNFilter=p;var o=(function(V){g(F,V);function F(x,ee,re,ie,de){var we=V.call(this,x,f.RelativeDate)||this;return we.operator=ee,we.timeUnitsCount=re,we.timeUnitType=ie,we.includeToday=de,we.schemaUrl=F.schemaUrl,we}return F.prototype.toJSON=function(){var x=V.prototype.toJSON.call(this);return x.operator=this.operator,x.timeUnitsCount=this.timeUnitsCount,x.timeUnitType=this.timeUnitType,x.includeToday=this.includeToday,x},F.schemaUrl="http://powerbi.com/product/schema#relativeDate",F})(r);i.RelativeDateFilter=o;var a=(function(V){g(F,V);function F(x,ee,re,ie){var de=V.call(this,x,f.RelativeTime)||this;return de.operator=ee,de.timeUnitsCount=re,de.timeUnitType=ie,de.schemaUrl=F.schemaUrl,de}return F.prototype.toJSON=function(){var x=V.prototype.toJSON.call(this);return x.operator=this.operator,x.timeUnitsCount=this.timeUnitsCount,x.timeUnitType=this.timeUnitType,x},F.schemaUrl="http://powerbi.com/product/schema#relativeTime",F})(r);i.RelativeTimeFilter=a;var u=(function(V){g(F,V);function F(x,ee){for(var re=[],ie=2;ie<arguments.length;ie++)re[ie-2]=arguments[ie];var de=V.call(this,x,f.Basic)||this;if(de.operator=ee,de.schemaUrl=F.schemaUrl,re.length===0&&ee!=="All")throw new Error('values must be a non-empty array unless your operator is "All".');return Array.isArray(re[0])?de.values=re[0]:de.values=re,de}return F.prototype.toJSON=function(){var x=V.prototype.toJSON.call(this);return x.operator=this.operator,x.values=this.values,x.requireSingleSelection=!!this.requireSingleSelection,x},F.schemaUrl="http://powerbi.com/product/schema#basic",F})(r);i.BasicFilter=u;var l=(function(V){g(F,V);function F(x,ee,re,ie){var de=V.call(this,x,ee,re)||this;
10de.keyValues=ie,de.target=x;var we=x.keys?x.keys.length:0;if(we>0&&!ie)throw new Error("You should pass the values to be filtered for each key. You passed: no values and ".concat(we," keys"));if(we===0&&ie&&ie.length>0)throw new Error("You passed key values but your target object doesn't contain the keys to be filtered");for(var Cr=0,Ci=de.keyValues;Cr<Ci.length;Cr++){var Pi=Ci[Cr];if(Pi){var Ni=Pi.length;if(Ni!==we)throw new Error("Each tuple of key values should contain a value for each of the keys. You passed: ".concat(Ni," values and ").concat(we," keys"))}}return de}return F.prototype.toJSON=function(){var x=V.prototype.toJSON.call(this);return x.keyValues=this.keyValues,x},F})(u);i.BasicFilterWithKeys=l;var s=(function(V){g(F,V);function F(x,ee){var re=V.call(this,x,f.Identity)||this;return re.operator=ee,re.schemaUrl=F.schemaUrl,re}return F.prototype.toJSON=function(){var x=V.prototype.toJSON.call(this);return x.operator=this.operator,x.target=this.target,x},F.schemaUrl="http://powerbi.com/product/schema#identity",F})(r);i.IdentityFilter=s;var y=(function(V){g(F,V);function F(x,ee,re){var ie=V.call(this,x,f.Tuple)||this;return ie.operator=ee,ie.schemaUrl=F.schemaUrl,ie.values=re,ie}return F.prototype.toJSON=function(){var x=V.prototype.toJSON.call(this);return x.operator=this.operator,x.values=this.values,x.target=this.target,x},F.schemaUrl="http://powerbi.com/product/schema#tuple",F})(r);i.TupleFilter=y;var v=(function(V){g(F,V);function F(x,ee){for(var re=[],ie=2;ie<arguments.length;ie++)re[ie-2]=arguments[ie];var de=V.call(this,x,f.Advanced)||this;if(de.schemaUrl=F.schemaUrl,typeof ee!="string"||ee.length===0)throw new Error("logicalOperator must be a valid operator, You passed: ".concat(ee));de.logicalOperator=ee;var we;if(Array.isArray(re[0])?we=re[0]:we=re,we.length>2)throw new Error("AdvancedFilters may not have more than two conditions. You passed: ".concat(re.length));if(we.length===1&&ee!=="And")throw new Error('Logical Operator must be "And" when there is only one condition provided');return de.conditions=we,de}return F.prototype.toJSON=function(){var x=V.prototype.toJSON.call(this);return x.logicalOperator=this.logicalOperator,x.conditions=this.conditions,x},F.schemaUrl="http://powerbi.com/product/schema#advanced",F})(r);i.AdvancedFilter=v;var b=(function(V){g(F,V);function F(x,ee){var re=V.call(this,x,f.Hierarchy)||this;return re.schemaUrl=F.schemaUrl,re.hierarchyData=ee,re}return F.prototype.toJSON=function(){var x=V.prototype.toJSON.call(this);return x.hierarchyData=this.hierarchyData,x.target=this.target,x},F.schemaUrl="http://powerbi.com/product/schema#hierarchy",F})(r);i.HierarchyFilter=b;var E=(function(V){g(F,V);function F(x,ee){var re=V.call(this,x,f.HierarchyIdentity)||this;return re.schemaUrl=F.schemaUrl,re.hierarchyData=ee,re}return F.prototype.toJSON=function(){var x=V.prototype.toJSON.call(this);return x.hierarchyData=this.hierarchyData,x.target=this.target,x},F.schemaUrl="http://powerbi.com/product/schema#hierarchyIdentity",F})(r);i.HierarchyIdentityFilter=E;function N(V){return q(V)&&!!V.keys}i.isFilterKeyColumnsTarget=N;function I(V){return L(V)===f.Basic&&!!V.keyValues}i.isBasicFilterWithKeys=I;function L(V){if(V.filterType)return V.filterType;var F=V,x=V;return typeof F.operator=="string"&&Array.isArray(F.values)?f.Basic:typeof x.logicalOperator=="string"&&Array.isArray(x.conditions)?f.Advanced:f.Unknown}i.getFilterType=L;function B(V){return V.table!==void 0&&V.measure!==void 0}i.isMeasure=B;function q(V){return!!(V.table&&V.column&&!V.aggregationFunction)}i.isColumn=q;function k(V){return!!(V.table&&V.hierarchy&&V.hierarchyLevel&&!V.aggregationFunction)}i.isHierarchyLevel=k;function $(V){return!!(V.table&&V.hierarchy&&V.hierarchyLevel&&V.aggregationFunction)}i.isHierarchyLevelAggr=$;function U(V){return!!(V.table&&V.column&&V.aggregationFunction)}i.isColumnAggr=U;function W(V){return!!V.percentOfGrandTotal}i.isPercentOfGrandTotal=W;function K(V){return!!(V.name&&V.daxExpression)}i.isVisualCalculation=K,(function(V){V[V.NoConnection=0]="NoConnection",V[V.OnBehalfOf=1]="OnBehalfOf",V[V.Anonymous=2]="Anonymous"})(i.CredentialType||(i.CredentialType={})),(function(V){V[V.Import=0]="Import",V[V.DirectQuery=1]="DirectQuery"})(i.DataCacheMode||(i.DataCacheMode={})),(function(V){V[V.Default=1]="Default",V[V.None=2]="None",V[V.Sum=3]="Sum",V[V.Min=4]="Min",V[V.Max=5]="Max",V[V.Count=6]="Count",V[
10V.Average=7]="Average",V[V.DistinctCount=8]="DistinctCount"})(i.AggregateFunction||(i.AggregateFunction={})),(function(V){V[V.Default=0]="Default",V[V.NoAdjustments=1]="NoAdjustments"})(i.BrowserPrintAdjustmentsMode||(i.BrowserPrintAdjustmentsMode={})),(function(V){V[V.Bottom=0]="Bottom",V[V.Left=1]="Left"})(i.PageNavigationPosition||(i.PageNavigationPosition={})),(function(V){V[V.Interactive=0]="Interactive",V[V.ResultOnly=1]="ResultOnly"})(i.QnaMode||(i.QnaMode={})),(function(V){V[V.Summarized=0]="Summarized",V[V.Underlying=1]="Underlying"})(i.ExportDataType||(i.ExportDataType={})),(function(V){V[V.Summarized=0]="Summarized",V[V.Underlying=1]="Underlying",V[V.DataWithCurrentLayout=2]="DataWithCurrentLayout"})(i.ExportDataResultType||(i.ExportDataResultType={})),(function(V){V[V.Csv=0]="Csv",V[V.Xlsx=1]="Xlsx"})(i.ExportDataResultFormat||(i.ExportDataResultFormat={})),(function(V){V[V.Succeeded=0]="Succeeded",V[V.Failed=1]="Failed"})(i.ExportDataCompletedStatus||(i.ExportDataCompletedStatus={})),(function(V){V[V.Off=0]="Off",V[V.Presentation=1]="Presentation"})(i.BookmarksPlayMode||(i.BookmarksPlayMode={})),i.CommonErrorCodes={TokenExpired:"TokenExpired",NotFound:"PowerBIEntityNotFound",InvalidParameters:"Invalid parameters",LoadReportFailed:"LoadReportFailed",NotAuthorized:"PowerBINotAuthorizedException",FailedToLoadModel:"ExplorationContainer_FailedToLoadModel_DefaultDetails"},i.TextAlignment={Left:"left",Center:"center",Right:"right"},i.LegendPosition={Top:"Top",Bottom:"Bottom",Right:"Right",Left:"Left",TopCenter:"TopCenter",BottomCenter:"BottomCenter",RightCenter:"RightCenter",LeftCenter:"LeftCenter"},(function(V){V[V.Ascending=1]="Ascending",V[V.Descending=2]="Descending"})(i.SortDirection||(i.SortDirection={}));var j=(function(){function V(F){this.$schema=F}return V.prototype.toJSON=function(){return{$schema:this.$schema}},V})();i.Selector=j;var J=(function(V){g(F,V);function F(x){var ee=V.call(this,F.schemaUrl)||this;return ee.pageName=x,ee}return F.prototype.toJSON=function(){var x=V.prototype.toJSON.call(this);return x.pageName=this.pageName,x},F.schemaUrl="http://powerbi.com/product/schema#pageSelector",F})(j);i.PageSelector=J;var Q=(function(V){g(F,V);function F(x){var ee=V.call(this,F.schemaUrl)||this;return ee.visualName=x,ee}return F.prototype.toJSON=function(){var x=V.prototype.toJSON.call(this);return x.visualName=this.visualName,x},F.schemaUrl="http://powerbi.com/product/schema#visualSelector",F})(j);i.VisualSelector=Q;var M=(function(V){g(F,V);function F(x){var ee=V.call(this,Q.schemaUrl)||this;return ee.visualType=x,ee}return F.prototype.toJSON=function(){var x=V.prototype.toJSON.call(this);return x.visualType=this.visualType,x},F.schemaUrl="http://powerbi.com/product/schema#visualTypeSelector",F})(j);i.VisualTypeSelector=M;var D=(function(V){g(F,V);function F(x){var ee=V.call(this,Q.schemaUrl)||this;return ee.target=x,ee}return F.prototype.toJSON=function(){var x=V.prototype.toJSON.call(this);return x.target=this.target,x},F.schemaUrl="http://powerbi.com/product/schema#slicerTargetSelector",F})(j);i.SlicerTargetSelector=D,(function(V){V[V.Enabled=0]="Enabled",V[V.Disabled=1]="Disabled",V[V.Hidden=2]="Hidden"})(i.CommandDisplayOption||(i.CommandDisplayOption={})),(function(V){V[V.Grouping=0]="Grouping",V[V.Measure=1]="Measure",V[V.GroupingOrMeasure=2]="GroupingOrMeasure"})(i.VisualDataRoleKind||(i.VisualDataRoleKind={})),(function(V){V[V.Measure=0]="Measure",V[V.Grouping=1]="Grouping"})(i.VisualDataRoleKindPreference||(i.VisualDataRoleKindPreference={}));function H(V){return V&&!X(V)}i.isOnLoadFilters=H;function X(V){return Array.isArray(V)}i.isReportFiltersArray=X;function z(V){return V&&!G(V)}i.isFlatMenuExtension=z;function G(V){return V&&!!V.groupName}i.isGroupedMenuExtension=G;function Y(V){return V&&!Z(V)}i.isIExtensions=Y;function Z(V){return Array.isArray(V)}i.isIExtensionArray=Z;function ne(V){var F=V.message;return F||(F="".concat(V.path," is invalid. Not meeting ").concat(V.keyword," constraint")),{message:F}}function Mn(V){var F=c.Validators.visualSelectorValidator.validate(V);return F?F.map(ne):void 0}i.validateVisualSelector=Mn;function Ln(V){var F=c.Validators.slicerValidator.validate(V);return F?F.map(ne):void 0}i.validateSlicer=Ln;function kn(V){var F=c.Validators.slicerStateValidator.validate(V);return F?F.map(ne):void 0}i.validateSlicerState=kn;function Dn(V){var F=c.Validators.playBookmarkRequestValidator.validate(V);return F?F.map(ne):void 0}i.validatePlayBookmarkRequest=Dn;
vendor: 15,258 bytes, line 10
10function Bn(V){var F=c.Validators.addBookmarkRequestValidator.validate(V);return F?F.map(ne):void 0}i.validateAddBookmarkRequest=Bn;function jn(V){var F=c.Validators.applyBookmarkByNameRequestValidator.validate(V);return F?F.map(ne):void 0}i.validateApplyBookmarkByNameRequest=jn;function Un(V){var F=c.Validators.applyBookmarkStateRequestValidator.validate(V);return F?F.map(ne):void 0}i.validateApplyBookmarkStateRequest=Un;function Hn(V){var F=c.Validators.captureBookmarkRequestValidator.validate(V);return F?F.map(ne):void 0}i.validateCaptureBookmarkRequest=Hn;function $n(V){var F=c.Validators.settingsValidator.validate(V);return F?F.map(ne):void 0}i.validateSettings=$n;function xn(V){var F=c.Validators.reportPanesValidator.validate(V);return F?F.map(ne):void 0}i.validatePanes=xn;function qn(V){var F=c.Validators.bookmarksPaneValidator.validate(V);return F?F.map(ne):void 0}i.validateBookmarksPane=qn;function Wn(V){var F=c.Validators.filtersPaneValidator.validate(V);return F?F.map(ne):void 0}i.validateFiltersPane=Wn;function Xn(V){var F=c.Validators.fieldsPaneValidator.validate(V);return F?F.map(ne):void 0}i.validateFieldsPane=Xn;function zn(V){var F=c.Validators.pageNavigationPaneValidator.validate(V);return F?F.map(ne):void 0}i.validatePageNavigationPane=zn;function Gn(V){var F=c.Validators.selectionPaneValidator.validate(V);return F?F.map(ne):void 0}i.validateSelectionPane=Gn;function Jn(V){var F=c.Validators.syncSlicersPaneValidator.validate(V);return F?F.map(ne):void 0}i.validateSyncSlicersPane=Jn;function Kn(V){var F=c.Validators.visualizationsPaneValidator.validate(V);return F?F.map(ne):void 0}i.validateVisualizationsPane=Kn;function Qn(V){var F=c.Validators.customPageSizeValidator.validate(V);return F?F.map(ne):void 0}i.validateCustomPageSize=Qn;function Yn(V){var F=c.Validators.extensionValidator.validate(V);return F?F.map(ne):void 0}i.validateExtension=Yn;function Zn(V){var F=c.Validators.menuGroupExtensionValidator.validate(V);return F?F.map(ne):void 0}i.validateMenuGroupExtension=Zn;function eo(V){var F=c.Validators.reportLoadValidator.validate(V);return F?F.map(ne):void 0}i.validateReportLoad=eo;function to(V){var F=c.Validators.paginatedReportLoadValidator.validate(V);return F?F.map(ne):void 0}i.validatePaginatedReportLoad=to;function ro(V){var F=c.Validators.reportCreateValidator.validate(V);return F?F.map(ne):void 0}i.validateCreateReport=ro;function io(V){var F=c.Validators.quickCreateValidator.validate(V);return F?F.map(ne):void 0}i.validateQuickCreate=io;function ao(V){var F=c.Validators.dashboardLoadValidator.validate(V);return F?F.map(ne):void 0}i.validateDashboardLoad=ao;function no(V){var F=c.Validators.tileLoadValidator.validate(V);return F?F.map(ne):void 0}i.validateTileLoad=no;function oo(V){var F=c.Validators.pageValidator.validate(V);return F?F.map(ne):void 0}i.validatePage=oo;function lo(V){var F=c.Validators.filterValidator.validate(V);return F?F.map(ne):void 0}i.validateFilter=lo;function so(V){var F=c.Validators.updateFiltersRequestValidator.validate(V);return F?F.map(ne):void 0}i.validateUpdateFiltersRequest=so;function uo(V){var F=c.Validators.saveAsParametersValidator.validate(V);return F?F.map(ne):void 0}i.validateSaveAsParameters=uo;function co(V){var F=c.Validators.loadQnaValidator.validate(V);return F?F.map(ne):void 0}i.validateLoadQnaConfiguration=co;function fo(V){var F=c.Validators.qnaInterpretInputDataValidator.validate(V);return F?F.map(ne):void 0}i.validateQnaInterpretInputData=fo;function po(V){var F=c.Validators.exportDataRequestValidator.validate(V);return F?F.map(ne):void 0}i.validateExportDataRequest=po;function ho(V){var F=c.Validators.visualHeaderValidator.validate(V);return F?F.map(ne):void 0}i.validateVisualHeader=ho;function vo(V){var F=c.Validators.visualSettingsValidator.validate(V);return F?F.map(ne):void 0}i.validateVisualSettings=vo;function mo(V){var F=c.Validators.commandsSettingsValidator.validate(V);return F?F.map(ne):void 0}i.validateCommandsSettings=mo;function yo(V){var F=c.Validators.customThemeValidator.validate(V);return F?F.map(ne):void 0}i.validateCustomTheme=yo;function go(V){var F=c.Validators.zoomLevelValidator.validate(V);return F?F.map(ne):void 0}i.validateZoomLevel=go;function Vo(V){var F=c.Validators.printSettingsValidator.validate(V);return F?F.map(ne):void 0}i.validatePrintSettings=Vo}),((P,i,w)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.Validators=void 0;var g=w(2),c=w(5),f=w(6),r=w(7),d=w(8),h=w(9),p=w(10),o=w(11),a=w(12),u=w(13),l=w(14),s=w(15),y=w(16),v=w(17),b=w(18),E=w(19),N=w(20),I=w(21),L=w(22),B=w(23),q=w(24),k=w(25),$=w(26),U=w(27),W=w(28),K=w(29),j=w(4),J=w(30),Q=w(31),M=w(32),D=w(33),H=w(34);i.Validators={addBookmarkRequestValidator:new c.AddBookmarkRequestValidator,advancedFilterTypeValidator:new j.EnumValidator([0]),advancedFilterValidator:new a.AdvancedFilterValidator,anyArrayValidator:new j.ArrayValidator([new $.AnyOfValidator([new j.StringValidator,new j.NumberValidator,new j.BooleanValidator])]),anyFilterValidator:new $.AnyOfValidator([new a.BasicFilterValidator,new a.AdvancedFilterValidator,new a.IncludeExcludeFilterValidator,new a.NotSupportedFilterValidator,new a.RelativeDateFilterValidator,new a.TopNFilterValidator,new a.RelativeTimeFilterValidator,new a.HierarchyFilterValidator]),anyValueValidator:new $.AnyOfValidator([new j.StringValidator,new j.NumberValidator,new j.BooleanValidator]),actionBarValidator:new g.ActionBarValidator,statusBarValidator:new g.StatusBarValidator,applyBookmarkByNameRequestValidator:new c.ApplyBookmarkByNameRequestValidator,applyBookmarkStateRequestValidator:new c.ApplyBookmarkStateRequestValidator,applyBookmarkValidator:new $.AnyOfValidator([new c.ApplyBookmarkByNameRequestValidator,new c.ApplyBookmarkStateRequestValidator]),backgroundValidator:new j.EnumValidator([0,1]),basicFilterTypeValidator:new j.EnumValidator([1]),basicFilterValidator:new a.BasicFilterValidator,booleanArrayValidator:new j.BooleanArrayValidator,booleanValidator:new j.BooleanValidator,bookmarksPaneValidator:new s.BookmarksPaneValidator,captureBookmarkOptionsValidator:new c.CaptureBookmarkOptionsValidator,captureBookmarkRequestValidator:new c.CaptureBookmarkRequestValidator,columnSchemaArrayValidator:new j.ArrayValidator([new Q.ColumnSchemaValidator]),commandDisplayOptionValidator:new j.EnumValidator([0,1,2]),commandExtensionSelectorValidator:new $.AnyOfValidator([new I.VisualSelectorValidator,new I.VisualTypeSelectorValidator]),commandExtensionArrayValidator:new j.ArrayValidator([new o.CommandExtensionValidator]),commandExtensionValidator:new o.CommandExtensionValidator,commandsSettingsArrayValidator:new j.ArrayValidator([new f.CommandsSettingsValidator]),commandsSettingsValidator:new f.CommandsSettingsValidator,conditionItemValidator:new a.ConditionItemValidator,contrastModeValidator:new j.EnumValidator([0,1,2,3,4]),credentialDetailsValidator:new K.MapValidator([new j.StringValidator],[new j.StringValidator]),credentialsValidator:new Q.CredentialsValidator,credentialTypeValidator:new j.EnumValidator([0,1,2]),customLayoutDisplayOptionValidator:new j.EnumValidator([0,1,2]),customLayoutValidator:new u.CustomLayoutValidator,customPageSizeValidator:new l.CustomPageSizeValidator,customThemeValidator:new r.CustomThemeValidator,dashboardLoadValidator:new d.DashboardLoadValidator,dataCacheModeValidator:new j.EnumValidator([0,1]),datasetBindingValidator:new h.DatasetBindingValidator,datasetCreateConfigValidator:new Q.DatasetCreateConfigValidator,datasourceConnectionConfigValidator:new Q.DatasourceConnectionConfigValidator,displayStateModeValidator:new j.EnumValidator([0,1]),displayStateValidator:new u.DisplayStateValidator,exportDataRequestValidator:new p.ExportDataRequestValidator,extensionArrayValidator:new j.ArrayValidator([new o.ExtensionValidator]),extensionsValidator:new $.AnyOfValidator([new j.ArrayValidator([new o.ExtensionValidator]),new o.ExtensionsValidator]),extensionPointsValidator:new o.ExtensionPointsValidator,extensionValidator:new o.ExtensionValidator,fieldForbiddenValidator:new U.FieldForbiddenValidator,fieldRequiredValidator:new W.FieldRequiredValidator,fieldsPaneValidator:new s.FieldsPaneValidator,filterColumnTargetValidator:new a.FilterColumnTargetValidator,filterDisplaySettingsValidator:new a.FilterDisplaySettingsValidator,filterConditionsValidator:new j.ArrayValidator([new a.ConditionItemValidator]),filterHierarchyTargetValidator:new a.FilterHierarchyTargetValidator,filterMeasureTargetValidator:new a.FilterMeasureTargetValidator,filterTargetValidator:new $.AnyOfValidator([new a.FilterColumnTargetValidator,new a.FilterHierarchyTargetValidator,new a.FilterMeasureTargetValidator,new j.ArrayValidator([new $.AnyOfValidator([new a.FilterColumnTargetValidator,new a.FilterHierarchyTargetValidator,new a.FilterMeasureTargetValidator,new a.FilterKeyColumnsTargetValidator,new a.FilterKeyHierarchyTargetValidator,new j.ArrayValidator([new $.AnyOfValidator([new a.FilterColumnTargetValidator,new a.FilterHierarchyTargetValidator,new a.FilterMeasureTargetValidator,new a.FilterKeyColumnsTargetValidator,new a.FilterKeyHierarchyTargetValidator])])])])]),filterValidator:new a.FilterValidator,filterTypeValidator:new j.EnumValidator([0,1,2,3,4,5,6,7,9]),filtersArrayValidator:new j.ArrayValidator([new a.FilterValidator]),filtersOperationsUpdateValidator:new j.EnumValidator([1,2,3]),filtersOperationsRemoveAllValidator:new j.EnumValidator([0]),filtersPaneValidator:new s.FiltersPaneValidator,hyperlinkClickBehaviorValidator:new j.EnumValidator([0,1,2]),includeExcludeFilterValidator:new a.IncludeExcludeFilterValidator,includeExludeFilterTypeValidator:new j.EnumValidator([3]),includeExcludeFilterValuesValidator:new j.ArrayValidator([new $.AnyOfValidator([new j.StringValidator,new j.NumberValidator,new j.BooleanValidator,new j.ArrayValidator([new j.ArrayValidator([new a.IncludeExcludePointValueValidator])])])]),hierarchyFilterTypeValidator:new j.EnumValidator([9]),hierarchyFilterValuesValidator:new j.ArrayValidator([new a.HierarchyFilterNodeValidator]),layoutTypeValidator:new j.EnumValidator([0,1,2,3]),loadQnaValidator:new y.LoadQnaValidator,menuExtensionValidator:new $.AnyOfValidator([new o.FlatMenuExtensionValidator,new o.GroupedMenuExtensionValidator]),menuGroupExtensionArrayValidator:new j.ArrayValidator([new o.MenuGroupExtensionValidator]),menuGroupExtensionValidator:new o.MenuGroupExtensionValidator,menuLocationValidator:new j.EnumValidator([0,1]),notSupportedFilterTypeValidator:new j.EnumValidator([2]),notSupportedFilterValidator:new a.NotSupportedFilterValidator,numberArrayValidator:new j.NumberArrayValidator,numberValidator:new j.NumberValidator,onLoadFiltersBaseValidator:new $.AnyOfValidator([new a.OnLoadFiltersBaseValidator,new a.OnLoadFiltersBaseRemoveOperationValidator]),pageLayoutValidator:new K.MapValidator([new j.StringValidator],[new u.VisualLayoutValidator]),pageNavigationPaneValidator:new s.PageNavigationPaneValidator,pageNavigationPositionValidator:new j.EnumValidator([0,1]),pageSizeTypeValidator:new j.EnumValidator([0,1,2,3,4,5]),pageSizeValidator:new l.PageSizeValidator,pageValidator:new l.PageValidator,pageViewFieldValidator:new l.PageViewFieldValidator,pagesLayoutValidator:new K.MapValidator([new j.StringValidator],[new u.PageLayoutValidator]),paginatedReportCommandsValidator:new f.PaginatedReportCommandsValidator,paginatedReportDatasetBindingArrayValidator:new j.ArrayValidator([new H.PaginatedReportDatasetBindingValidator]),paginatedReportLoadValidator:new E.PaginatedReportLoadValidator,paginatedReportsettingsValidator:new L.PaginatedReportSettingsValidator,parameterValuesArrayValidator:new j.ArrayValidator([new E.ReportParameterFieldsValidator]),parametersPanelValidator:new J.ParametersPanelValidator,permissionsValidator:new j.EnumValidator([0,1,2,4,7]),playBookmarkRequestValidator:new c.PlayBookmarkRequestValidator,printSettingsValidator:new D.PrintSettingsValidator,qnaInterpretInputDataValidator:new y.QnaInterpretInputDataValidator,qnaPanesValidator:new s.QnaPanesValidator,qnaSettingValidator:new y.QnaSettingsValidator,quickCreateValidator:new M.QuickCreateValidator,rawDataValidator:new j.ArrayValidator([new j.ArrayValidator([new j.StringValidator])]),relativeDateFilterOperatorValidator:new j.EnumValidator([0,1,2]),relativeDateFilterTimeUnitTypeValidator:new j.EnumValidator([0,1,2,3,4,5,6]),relativeDateFilterTypeValidator:new j.EnumValidator([4]),relativeDateFilterValidator:new a.RelativeDateFilterValidator,relativeDateTimeFilterTypeValidator:new j.EnumValidator([4,7]),relativeDateTimeFilterUnitTypeValidator:new j.EnumValidator([0,1,2,3,4,5,6,7,8]),relativeTimeFilterTimeUnitTypeValidator:new j.EnumValidator([7,8]),relativeTimeFilterTypeValidator:new j.EnumValidator([7]),relativeTimeFilterValidator:new a.RelativeTimeFilterValidator,reportBarsValidator:new g.ReportBarsValidator,reportCreateValidator:new v.ReportCreateValidator,reportLoadFiltersValidator:new $.AnyOfValidator([new j.ArrayValidator([new a.FilterValidator]),new a.OnLoadFiltersValidator]),reportLoadValidator:new b.ReportLoadValidator,reportPanesValidator:new s.ReportPanesValidator,saveAsParametersValidator:new N.SaveAsParametersValidator,selectionPaneValidator:new s.SelectionPaneValidator,settingsValidator:new L.SettingsValidator,singleCommandSettingsValidator:new f.SingleCommandSettingsValidator,slicerSelectorValidator:new $.AnyOfValidator([new I.VisualSelectorValidator,new I.SlicerTargetSelectorValidator]),slicerStateValidator:new B.SlicerStateValidator,slicerTargetValidator:new $.AnyOfValidator([new a.FilterColumnTargetValidator,new a.FilterHierarchyTargetValidator,new a.FilterMeasureTargetValidator,new a.FilterKeyColumnsTargetValidator,new a.FilterKeyHierarchyTargetValidator]),slicerValidator:new B.SlicerValidator,stringArrayValidator:new j.StringArrayValidator,stringValidator:new j.StringValidator,syncSlicersPaneValidator:new s.SyncSlicersPaneValidator,tableDataArrayValidator:new j.ArrayValidator([new Q.TableDataValidator]),tableSchemaListValidator:new j.ArrayValidator([new Q.TableSchemaValidator]),tileLoadValidator:new q.TileLoadValidator,tokenTypeValidator:new j.EnumValidator([0,1]),topNFilterTypeValidator:new j.EnumValidator([5]),topNFilterValidator:new a.TopNFilterValidator,updateFiltersRequestValidator:new $.AnyOfValidator([new a.UpdateFiltersRequestValidator,new a.RemoveFiltersRequestValidator]),viewModeValidator:new j.EnumValidator([0,1]),visualCommandSelectorValidator:new $.AnyOfValidator([new I.VisualSelectorValidator,new I.VisualTypeSelectorValidator]),visualHeaderSelectorValidator:new $.AnyOfValidator([new I.VisualSelectorValidator,new I.VisualTypeSelectorValidator]),visualHeaderSettingsValidator:new k.VisualHeaderSettingsValidator,visualHeaderValidator:new k.VisualHeaderValidator,visualHeadersValidator:new j.ArrayValidator([new k.VisualHeaderValidator]),visualizationsPaneValidator:new s.VisualizationsPaneValidator,visualLayoutValidator:new u.VisualLayoutValidator,visualSelectorValidator:new I.VisualSelectorValidator,visualSettingsValidator:new k.VisualSettingsValidator,visualTypeSelectorValidator:new I.VisualTypeSelectorValidator,zoomLevelValidator:new j.RangeValidator(.25,4)}}),(function(P,i,w){var g=this&&this.__extends||(function(){var o=function(a,u){return o=Object.
10setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,s){l.__proto__=s}||function(l,s){for(var y in s)Object.prototype.hasOwnProperty.call(s,y)&&(l[y]=s[y])},o(a,u)};return function(a,u){if(typeof u!="function"&&u!==null)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");o(a,u);function l(){this.constructor=a}a.prototype=u===null?Object.create(u):(l.prototype=u.prototype,new l)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.StatusBarValidator=i.ActionBarValidator=i.ReportBarsValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(o){g(a,o);function a(){return o!==null&&o.apply(this,arguments)||this}return a.prototype.validate=function(u,l,s){if(u==null)return null;var y=o.prototype.validate.call(this,u,l,s);if(y)return y;var v=[{field:"actionBar",validators:[r.Validators.actionBarValidator]},{field:"statusBar",validators:[r.Validators.statusBarValidator]}],b=new c.MultipleFieldsValidator(v);return b.validate(u,l,s)},a})(f.ObjectValidator);i.ReportBarsValidator=d;var h=(function(o){g(a,o);function a(){return o!==null&&o.apply(this,arguments)||this}return a.prototype.validate=function(u,l,s){if(u==null)return null;var y=o.prototype.validate.call(this,u,l,s);if(y)return y;var v=[{field:"visible",validators:[r.Validators.booleanValidator]}],b=new c.MultipleFieldsValidator(v);return b.validate(u,l,s)},a})(f.ObjectValidator);i.ActionBarValidator=h;var p=(function(o){g(a,o);function a(){return o!==null&&o.apply(this,arguments)||this}return a.prototype.validate=function(u,l,s){if(u==null)return null;var y=o.prototype.validate.call(this,u,l,s);if(y)return y;var v=[{field:"visible",validators:[r.Validators.booleanValidator]}],b=new c.MultipleFieldsValidator(v);return b.validate(u,l,s)},a})(f.ObjectValidator);i.StatusBarValidator=p}),((P,i)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.MultipleFieldsValidator=void 0;var w=(function(){function g(c){this.fieldValidatorsPairs=c}return g.prototype.validate=function(c,f,r){if(!this.fieldValidatorsPairs)return null;for(var d=f?f+"."+r:r,h=0,p=this.fieldValidatorsPairs;h<p.length;h++)for(var o=p[h],a=0,u=o.validators;a<u.length;a++){var l=u[a],s=l.validate(c[o.field],d,o.field);if(s)return s}return null},g})();i.MultipleFieldsValidator=w}),(function(P,i){var w=this&&this.__extends||(function(){var v=function(b,E){return v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(N,I){N.__proto__=I}||function(N,I){for(var L in I)Object.prototype.hasOwnProperty.call(I,L)&&(N[L]=I[L])},v(b,E)};return function(b,E){if(typeof E!="function"&&E!==null)throw new TypeError("Class extends value "+String(E)+" is not a constructor or null");v(b,E);function N(){this.constructor=b}b.prototype=E===null?Object.create(E):(N.prototype=E.prototype,new N)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.RangeValidator=i.NumberArrayValidator=i.BooleanArrayValidator=i.StringArrayValidator=i.EnumValidator=i.SchemaValidator=i.ValueValidator=i.NumberValidator=i.BooleanValidator=i.StringValidator=i.TypeValidator=i.ArrayValidator=i.ObjectValidator=void 0;var g=(function(){function v(){}return v.prototype.validate=function(b,E,N){return b==null?null:typeof b!="object"||Array.isArray(b)?[{message:N!==void 0?N+" must be an object":"input must be an object",path:E,keyword:"type"}]:null},v})();i.ObjectValidator=g;var c=(function(){function v(b){this.itemValidators=b}return v.prototype.validate=function(b,E,N){if(b==null)return null;if(!Array.isArray(b))return[{message:N+" property is invalid",path:(E?E+".":"")+N,keyword:"type"}];for(var I=0;I<b.length;I++)for(var L=(E?E+".":"")+N+"."+I.toString(),B=0,q=this.itemValidators;B<q.length;B++){var k=q[B],$=k.validate(b[I],L,N);if($)return[{message:N+" property is invalid",path:(E?E+".":"")+N,keyword:"type"}]}return null},v})();i.ArrayValidator=c;var f=(function(){function v(b){this.expectedType=b}return v.prototype.validate=function(b,E,N){return b==null?null:typeof b!==this.expectedType?[{message:N+" must be a "+this.expectedType,path:(E?E+".":"")+N,keyword:"type"}]:null},v})();i.TypeValidator=f;var r=(function(v){w(b,v);function b(){return v.call(this,"string")||this}return b})(f);i.StringValidator=r;var d=(function(v){w(b,v);function b(){return v.call(this,"boolean")||this}return b})(f);i.BooleanValidator=d;var h=(function(v){w(b,v);function b(){return v.call(this,"number")||this}return b})(f);i.NumberValidator=h;var p=(function(){function v(b){this.possibleValues=b}return v.prototype.validate=function(b,E,N){return b==null?null:this.possibleValues.indexOf(b)<0?[{message:N+" property is invali
10d",path:(E?E+".":"")+N,keyword:"invalid"}]:null},v})();i.ValueValidator=p;var o=(function(v){w(b,v);function b(E){var N=v.call(this,[E])||this;return N.schemaValue=E,N}return b.prototype.validate=function(E,N,I){return v.prototype.validate.call(this,E,N,I)},b})(p);i.SchemaValidator=o;var a=(function(v){w(b,v);function b(E){var N=v.call(this)||this;return N.possibleValues=E,N}return b.prototype.validate=function(E,N,I){if(E==null)return null;var L=v.prototype.validate.call(this,E,N,I);if(L)return L;var B=new p(this.possibleValues);return B.validate(E,N,I)},b})(h);i.EnumValidator=a;var u=(function(v){w(b,v);function b(){return v.call(this,[new r])||this}return b.prototype.validate=function(E,N,I){var L=v.prototype.validate.call(this,E,N,I);return L?[{message:I+" must be an array of strings",path:(N?N+".":"")+I,keyword:"type"}]:null},b})(c);i.StringArrayValidator=u;var l=(function(v){w(b,v);function b(){return v.call(this,[new d])||this}return b.prototype.validate=function(E,N,I){var L=v.prototype.validate.call(this,E,N,I);return L?[{message:I+" must be an array of booleans",path:(N?N+".":"")+I,keyword:"type"}]:null},b})(c);i.BooleanArrayValidator=l;var s=(function(v){w(b,v);function b(){return v.call(this,[new h])||this}return b.prototype.validate=function(E,N,I){var L=v.prototype.validate.call(this,E,N,I);return L?[{message:I+" must be an array of numbers",path:(N?N+".":"")+I,keyword:"type"}]:null},b})(c);i.NumberArrayValidator=s;var y=(function(v){w(b,v);function b(E,N){var I=v.call(this)||this;return I.minValue=E,I.maxValue=N,I}return b.prototype.validate=function(E,N,I){if(E==null)return null;var L=v.prototype.validate.call(this,E,N,I);return L||(E>this.maxValue||E<this.minValue?[{message:I+" must be a number between "+this.minValue.toString()+" and "+this.maxValue.toString(),path:(N?N+".":"")+I,keyword:"range"}]:null)},b})(h);i.RangeValidator=y}),(function(P,i,w){var g=this&&this.__extends||(function(){var l=function(s,y){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,b){v.__proto__=b}||function(v,b){for(var E in b)Object.prototype.hasOwnProperty.call(b,E)&&(v[E]=b[E])},l(s,y)};return function(s,y){if(typeof y!="function"&&y!==null)throw new TypeError("Class extends value "+String(y)+" is not a constructor or null");l(s,y);function v(){this.constructor=s}s.prototype=y===null?Object.create(y):(v.prototype=y.prototype,new v)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.CaptureBookmarkRequestValidator=i.CaptureBookmarkOptionsValidator=i.ApplyBookmarkStateRequestValidator=i.ApplyBookmarkByNameRequestValidator=i.AddBookmarkRequestValidator=i.PlayBookmarkRequestValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(l){g(s,l);function s(){return l!==null&&l.apply(this,arguments)||this}return s.prototype.validate=function(y,v,b){if(y==null)return null;var E=l.prototype.validate.call(this,y,v,b);if(E)return E;var N=[{field:"playMode",validators:[r.Validators.fieldRequiredValidator,new f.EnumValidator([0,1])]}],I=new c.MultipleFieldsValidator(N);return I.validate(y,v,b)},s})(f.ObjectValidator);i.PlayBookmarkRequestValidator=d;var h=(function(l){g(s,l);function s(){return l!==null&&l.apply(this,arguments)||this}return s.prototype.validate=function(y,v,b){if(y==null)return null;var E=l.prototype.validate.call(this,y,v,b);if(E)return E;var N=[{field:"state",validators:[r.Validators.stringValidator]},{field:"displayName",validators:[r.Validators.stringValidator]},{field:"apply",validators:[r.Validators.booleanValidator]}],I=new c.MultipleFieldsValidator(N);return I.validate(y,v,b)},s})(f.ObjectValidator);i.AddBookmarkRequestValidator=h;var p=(function(l){g(s,l);function s(){return l!==null&&l.apply(this,arguments)||this}return s.prototype.validate=function(y,v,b){if(y==null)return null;var E=l.prototype.validate.call(this,y,v,b);if(E)return E;var N=[{field:"name",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]}],I=new c.MultipleFieldsValidator(N);return I.validate(y,v,b)},s})(f.ObjectValidator);i.ApplyBookmarkByNameRequestValidator=p;var o=(function(l){g(s,l);function s(){return l!==null&&l.apply(this,arguments)||this}return s.prototype.validate=function(y,v,b){if(y==null)return null;var E=l.prototype.validate.call(this,y,v,b);if(E)return E;var N=[{field:"state",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]}],I=new c.MultipleFieldsValidator(N);return I.validate(y,v,b)},s})(f.ObjectValidator);i.ApplyBookmarkStateRequestValidator=o;var a=(function(l){g(s,l);function s(){return l!==null&&l.apply(this,arguments)||this}return s.prototype.validate=function(y,v,b){if(y==null)return null;var E=l.prototype.validate.call(this,y,v,b);if(E)return E;var N=[{field:"personalizeVisuals",validators:[r.Validators.booleanValidator]},{field:"allPages",validators:[r.Validators.booleanValidator]}],I=new c.MultipleFieldsValidator(N);return I.validate(y,v,b)},s})(f.ObjectValidator);i.CaptureBookmarkOptionsValidator=a;var u=(function(l){g(s,l);function s(){return l!==null&&l.apply(this,arguments)||this}return s.prototype.validate=function(y,v,b){if(y==null)return null;var E=l.prototype.validate.call(this,y,v,b);if(E)return E;var N=[{field:"options",validators:[r.Validators.fieldRequiredValidator,r.Validators.captureBookmarkOptionsValidator]}],I=new c.MultipleFieldsValidator(N);return I.validate(y,v,b)},s})(f.ObjectValidator);i.CaptureBookmarkRequestValidator=u}),(function(P,i,w){var g=this&&this.__extends||(function(){var o=function(a,u){return o=Object.
10setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,s){l.__proto__=s}||function(l,s){for(var y in s)Object.prototype.hasOwnProperty.call(s,y)&&(l[y]=s[y])},o(a,u)};return function(a,u){if(typeof u!="function"&&u!==null)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");o(a,u);function l(){this.constructor=a}a.prototype=u===null?Object.create(u):(l.prototype=u.prototype,new l)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.PaginatedReportCommandsValidator=i.SingleCommandSettingsValidator=i.CommandsSettingsValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(o){g(a,o);function a(){return o!==null&&o.apply(this,arguments)||this}return a.prototype.validate=function(u,l,s){if(u==null)return null;var y=o.prototype.validate.call(this,u,l,s);if(y)return y;var v=[{field:"copy",validators:[r.Validators.singleCommandSettingsValidator]},{field:"drill",validators:[r.Validators.singleCommandSettingsValidator]},{field:"drillthrough",validators:[r.Validators.singleCommandSettingsValidator]},{field:"expandCollapse",validators:[r.Validators.singleCommandSettingsValidator]},{field:"exportData",validators:[r.Validators.singleCommandSettingsValidator]},{field:"includeExclude",validators:[r.Validators.singleCommandSettingsValidator]},{field:"removeVisual",validators:[r.Validators.singleCommandSettingsValidator]},{field:"search",validators:[r.Validators.singleCommandSettingsValidator]},{field:"seeData",validators:[r.Validators.singleCommandSettingsValidator]},{field:"sort",validators:[r.Validators.singleCommandSettingsValidator]},{field:"spotlight",validators:[r.Validators.singleCommandSettingsValidator]},{field:"insightsAnalysis",validators:[r.Validators.singleCommandSettingsValidator]},{field:"addComment",validators:[r.Validators.singleCommandSettingsValidator]},{field:"groupVisualContainers",validators:[r.Validators.singleCommandSettingsValidator]},{field:"summarize",validators:[r.Validators.singleCommandSettingsValidator]},{field:"clearSelection",validators:[r.Validators.singleCommandSettingsValidator]}],b=new c.MultipleFieldsValidator(v);return b.validate(u,l,s)},a})(f.ObjectValidator);i.CommandsSettingsValidator=d;var h=(function(o){g(a,o);function a(){return o!==null&&o.apply(this,arguments)||this}return a.prototype.validate=function(u,l,s){if(u==null)return null;var y=o.prototype.validate.call(this,u,l,s);if(y)return y;var v=[{field:"displayOption",validators:[r.Validators.fieldRequiredValidator,r.Validators.commandDisplayOptionValidator]},{field:"selector",validators:[r.Validators.visualCommandSelectorValidator]}],b=new c.MultipleFieldsValidator(v);return b.validate(u,l,s)},a})(f.ObjectValidator);i.SingleCommandSettingsValidator=h;var p=(function(o){g(a,o);function a(){return o!==null&&o.apply(this,arguments)||this}return a.prototype.validate=function(u,l,s){if(u==null)return null;var y=o.prototype.validate.call(this,u,l,s);if(y)return y;var v=[{field:"parameterPanel",validators:[r.Validators.parametersPanelValidator]}],b=new c.MultipleFieldsValidator(v);return b.validate(u,l,s)},a})(f.ObjectValidator);i.PaginatedReportCommandsValidator=p}),(function(P,i,w){var g=this&&this.__extends||(function(){var d=function(h,p){return d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&(o[u]=a[u])},d(h,p)};return function(h,p){if(typeof p!="function"&&p!==null)throw new TypeError("Class extends value "+String(p)+" is not a constructor or null");d(h,p);function o(){this.constructor=h}h.prototype=p===null?Object.create(p):(o.prototype=p.prototype,new o)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.CustomThemeValidator=void 0;var c=w(3),f=w(4),r=(function(d){g(h,d);function h(){return d!==null&&d.apply(this,arguments)||this}return h.prototype.validate=function(p,o,a){if(p==null)return null;var u=d.prototype.validate.call(this,p,o,a);if(u)return u;var l=[{field:"themeJson",validators:[new f.ObjectValidator]}],s=new c.MultipleFieldsValidator(l);return s.validate(p,o,a)},h})(f.ObjectValidator);i.CustomThemeValidator=r}),(function(P,i,w){var g=this&&this.__extends||(function(){var h=function(p,o){return h=Object.
10setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,u){a.__proto__=u}||function(a,u){for(var l in u)Object.prototype.hasOwnProperty.call(u,l)&&(a[l]=u[l])},h(p,o)};return function(p,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");h(p,o);function a(){this.constructor=p}p.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.DashboardLoadValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(h){g(p,h);function p(){return h!==null&&h.apply(this,arguments)||this}return p.prototype.validate=function(o,a,u){if(o==null)return null;var l=h.prototype.validate.call(this,o,a,u);if(l)return l;var s=[{field:"accessToken",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"id",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"groupId",validators:[r.Validators.stringValidator]},{field:"pageView",validators:[r.Validators.pageViewFieldValidator]},{field:"tokenType",validators:[r.Validators.tokenTypeValidator]},{field:"embedUrl",validators:[r.Validators.stringValidator]}],y=new c.MultipleFieldsValidator(s);return y.validate(o,a,u)},p})(f.ObjectValidator);i.DashboardLoadValidator=d}),(function(P,i,w){var g=this&&this.__extends||(function(){var h=function(p,o){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,u){a.__proto__=u}||function(a,u){for(var l in u)Object.prototype.hasOwnProperty.call(u,l)&&(a[l]=u[l])},h(p,o)};return function(p,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");h(p,o);function a(){this.constructor=p}p.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.DatasetBindingValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(h){g(p,h);function p(){return h!==null&&h.apply(this,arguments)||this}return p.prototype.validate=function(o,a,u){if(o==null)return null;var l=h.prototype.validate.call(this,o,a,u);if(l)return l;if(!o.datasetId&&!o.paginatedReportBindings)return[{message:"datasetBinding cannot be empty",path:(a?a+".":"")+u,keyword:"invalid"}];var s=[{field:"datasetId",validators:[r.Validators.stringValidator]},{field:"paginatedReportBindings",validators:[r.Validators.paginatedReportDatasetBindingArrayValidator]}],y=new c.MultipleFieldsValidator(s);return y.validate(o,a,u)},p})(f.ObjectValidator);i.DatasetBindingValidator=d}),(function(P,i,w){var g=this&&this.__extends||(function(){var d=function(h,p){return d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&(o[u]=a[u])},d(h,p)};return function(h,p){if(typeof p!="function"&&p!==null)throw new TypeError("Class extends value "+String(p)+" is not a constructor or null");d(h,p);function o(){this.constructor=h}h.prototype=p===null?Object.create(p):(o.prototype=p.prototype,new o)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.ExportDataRequestValidator=void 0;var c=w(3),f=w(4),r=(function(d){g(h,d);function h(){return d!==null&&d.apply(this,arguments)||this}return h.prototype.validate=function(p,o,a){if(p==null)return null;var u=d.prototype.validate.call(this,p,o,a);if(u)return u;var l=[{field:"rows",validators:[new f.NumberValidator]},{field:"exportDataType",validators:[new f.EnumValidator([0,1])]}],s=new c.MultipleFieldsValidator(l);return s.validate(p,o,a)},h})(f.ObjectValidator);i.ExportDataRequestValidator=r}),(function(P,i,w){var g=this&&this.__extends||(function(){var v=function(b,E){return v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(N,I){N.__proto__=I}||function(N,I){for(var L in I)Object.prototype.hasOwnProperty.call(I,L)&&(N[L]=I[L])},v(b,E)};return function(b,E){if(typeof E!="function"&&E!==null)throw new TypeError("Class extends value "+String(E)+" is not a constructor or null");v(b,E);function N(){this.constructor=b}b.prototype=E===null?Object.create(E):(N.prototype=E.prototype,new N)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.ExtensionsValidator=i.MenuGroupExtensionValidator=i.ExtensionValidator=i.CommandExtensionValidator=i.ExtensionItemValidator=i.ExtensionPointsValidator=i.GroupedMenuExtensionValidator=i.FlatMenuExtensionValidator=i.MenuExtensionBaseValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(v){g(b,v);function b(){return v!==null&&v.apply(this,arguments)||this}return b.prototype.validate=function(E,N,I){if(E==null)return null;var L=v.prototype.validate.call(this,E,N,I);if(L)return L;var B=[{field:"title",validators:[r.Validators.stringValidator]},{field:"icon",validators:[r.Validators.stringValidator]}],q=new c.MultipleFieldsValidator(B);return q.validate(E,N,I)},b})(f.ObjectValidator);i.MenuExtensionBaseValidator=d;var h=(function(v){g(b,v);function b(){return v!==null&&v.apply(this,arguments)||this}return b.prototype.validate=function(E,N,I){if(E==null)return null;var L=v.prototype.validate.call(this,E,N,I);if(L)return L;var B=[{field:"menuLocation",validators:[r.Validators.menuLocationValidator]},{field:"groupName",validators:[r.Validators.fieldForbiddenValidator]}],q=new c.MultipleFieldsValidator(B);return q.validate(E,N,I)},b})(d);i.FlatMenuExtensionValidator=h;var p=(function(v){g(b,v);function b(){return v!==null&&v.apply(this,arguments)||this}return b.prototype.validate=function(E,N,I){if(E==null)return null;var L=v.prototype.validate.call(this,E,N,I);if(L)return L;var B=[{field:"groupName",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"menuLocation",validators:[r.Validators.fieldForbiddenValidator]}],q=new c.MultipleFieldsValidator(B);return q.validate(E,N,I)},b})(d);i.GroupedMenuExtensionValidator=p;var o=(function(v){g(b,v);function b(){return v!==null&&v.apply(this,arguments)||this}return b.prototype.validate=function(E,N,I){if(E==null)return null;var L=v.prototype.validate.call(this,E,N,I);if(L)return L;var B=[{field:"visualContextMenu",validators:[r.Validators.menuExtensionValidator]},{field:"visualOptionsMenu",validators:[r.Validators.menuExtensionValidator]}],q=new c.MultipleFieldsValidator(B);return q.validate(E,N,I)},b})(f.ObjectValidator);i.ExtensionPointsValidator=o;var a=(function(v){g(b,v);function b(){return v!==null&&v.apply(this,arguments)||this}return b.prototype.validate=function(E,N,I){if(E==null)return null;var L=v.prototype.validate.call(this,E,N,I);if(L)return L;var B=[{field:"name",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"extend",validators:[r.Validators.fieldRequiredValidator,r.Validators.extensionPointsValidator]}],q=new c.MultipleFieldsValidator(B);return q.validate(E,N,I)},b})(f.ObjectValidator);i.ExtensionItemValidator=a;var u=(function(v){g(b,v);function b(){return v!==null&&v.apply(this,arguments)||this}return b.prototype.validate=function(E,N,I){if(E==null)return null;var L=v.prototype.validate.call(this,E,N,I);if(L)return L;var B=[{field:"title",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"icon",validators:[r.Validators.stringValidator]},{field:"selector",validators:[r.Validators.commandExtensionSelectorValidator]}],q=new c.MultipleFieldsValidator(B);return q.validate(E,N,I)},b})(a);i.CommandExtensionValidator=u;var l=(function(v){g(b,v);function b(){return v!==null&&v.apply(this,arguments)||this}return b.prototype.validate=function(E,N,I){if(E==null)return null;var L=v.prototype.validate.call(this,E,N,I);if(L)return L;var B=[{field:"command",validators:[r.Validators.commandExtensionValidator]}],q=new c.MultipleFieldsValidator(B);return q.validate(E,N,I)},b})(f.ObjectValidator);i.ExtensionValidator=l;var s=(function(v){g(b,v);function b(){return v!==null&&v.apply(this,arguments)||this}return b.prototype.validate=function(E,N,I){if(E==null)return null;var L=v.prototype.validate.call(this,E,N,I);if(L)return L;var B=[{field:"name",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"title",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"menuLocation",validators:[r.Validators.menuLocationValidator]}],q=new c.MultipleFieldsValidator(B);return q.validate(E,N,I)},b})(f.ObjectValidator);i.MenuGroupExtensionValidator=s;var y=(function(v){g(b,v);function b(){return v!==null&&v.apply(this,arguments)||this}return b.prototype.validate=function(E,N,I){if(E==null)return null;var L=v.prototype.validate.call(this,E,N,I);if(L)return L;var B=[{field:"commands",validators:[r.Validators.fieldRequiredValidator,r.Validators.commandExtensionArrayValidator]},{field:"groups",validators:[r.Validators.menuGroupExtensionArrayValidator]}],q=new c.MultipleFieldsValidator(B);return q.validate(E,N,I)},b})(f.ObjectValidator);i.ExtensionsValidator=y}),(function(P,i,w){var g=this&&this.__extends||(function(){var M=function(D,H){return M=Object.
10setPrototypeOf||{__proto__:[]}instanceof Array&&function(X,z){X.__proto__=z}||function(X,z){for(var G in z)Object.prototype.hasOwnProperty.call(z,G)&&(X[G]=z[G])},M(D,H)};return function(D,H){if(typeof H!="function"&&H!==null)throw new TypeError("Class extends value "+String(H)+" is not a constructor or null");M(D,H);function X(){this.constructor=D}D.prototype=H===null?Object.create(H):(X.prototype=H.prototype,new X)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.OnLoadFiltersValidator=i.OnLoadFiltersBaseRemoveOperationValidator=i.OnLoadFiltersBaseValidator=i.ConditionItemValidator=i.RemoveFiltersRequestValidator=i.UpdateFiltersRequestValidator=i.FilterValidator=i.IncludeExcludePointValueValidator=i.HierarchyFilterNodeValidator=i.HierarchyFilterValidator=i.IncludeExcludeFilterValidator=i.NotSupportedFilterValidator=i.TopNFilterValidator=i.RelativeTimeFilterValidator=i.RelativeDateFilterValidator=i.RelativeDateTimeFilterValidator=i.AdvancedFilterValidator=i.BasicFilterValidator=i.FilterValidatorBase=i.FilterDisplaySettingsValidator=i.FilterMeasureTargetValidator=i.FilterKeyHierarchyTargetValidator=i.FilterHierarchyTargetValidator=i.FilterKeyColumnsTargetValidator=i.FilterColumnTargetValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"table",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"column",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(f.ObjectValidator);i.FilterColumnTargetValidator=d;var h=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"keys",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringArrayValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(d);i.FilterKeyColumnsTargetValidator=h;var p=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"table",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"hierarchy",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"hierarchyLevel",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(f.ObjectValidator);i.FilterHierarchyTargetValidator=p;var o=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"keys",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringArrayValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(p);i.FilterKeyHierarchyTargetValidator=o;var a=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"table",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"measure",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(f.ObjectValidator);i.FilterMeasureTargetValidator=a;var u=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"isLockedInViewMode",validators:[r.Validators.booleanValidator]},{field:"isHiddenInViewMode",validators:[r.Validators.booleanValidator]},{field:"displayName",validators:[r.Validators.stringValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(f.ObjectValidator);i.FilterDisplaySettingsValidator=u;var l=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"target",validators:[r.Validators.fieldRequiredValidator,r.Validators.filterTargetValidator]},{field:"$schema",validators:[r.Validators.stringValidator]},{field:"filterType",validators:[r.Validators.filterTypeValidator]},{field:"displaySettings",validators:[r.Validators.filterDisplaySettingsValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(f.ObjectValidator);i.FilterValidatorBase=l;var s=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"operator",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"values",validators:[r.Validators.fieldRequiredValidator,r.Validators.anyArrayValidator]},{field:"filterType",validators:[r.Validators.basicFilterTypeValidator]},{field:"requireSingleSelection",validators:[r.Validators.booleanValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(l);i.BasicFilterValidator=s;var y=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"logicalOperator",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"conditions",validators:[r.Validators.filterConditionsValidator]},{field:"filterType",validators:[r.Validators.advancedFilterTypeValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(l);i.AdvancedFilterValidator=y;var v=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"operator",validators:[r.Validators.fieldRequiredValidator,r.Validators.relativeDateFilterOperatorValidator]},{field:"timeUnitsCount",validators:[r.Validators.numberValidator]},{field:"timeUnitType",validators:[r.Validators.fieldRequiredValidator,r.Validators.relativeDateTimeFilterUnitTypeValidator]},{field:"filterType",validators:[r.Validators.relativeDateTimeFilterTypeValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(l);i.RelativeDateTimeFilterValidator=v;var b=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"includeToday",validators:[r.Validators.fieldRequiredValidator,r.Validators.booleanValidator]},{field:"timeUnitType",validators:[r.Validators.fieldRequiredValidator,r.Validators.relativeDateFilterTimeUnitTypeValidator]},{field:"filterType",validators:[r.Validators.relativeDateFilterTypeValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(v);i.RelativeDateFilterValidator=b;var E=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"timeUnitType",validators:[r.Validators.fieldRequiredValidator,r.Validators.relativeTimeFilterTimeUnitTypeValidator]},{field:"filterType",validators:[r.Validators.relativeTimeFilterTypeValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(v);i.RelativeTimeFilterValidator=E;var N=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"operator",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"itemCount",validators:[r.Validators.fieldRequiredValidator,r.Validators.numberValidator]},{field:"filterType",validators:[r.Validators.topNFilterTypeValidator]},{field:"orderBy",validators:[r.Validators.fieldRequiredValidator,r.Validators.filterTargetValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(l);i.TopNFilterValidator=N;var I=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"message",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"notSupportedTypeName",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"filterType",validators:[r.Validators.notSupportedFilterTypeValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(l);i.NotSupportedFilterValidator=I;var L=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"isExclude",validators:[r.Validators.fieldRequiredValidator,r.Validators.booleanValidator]},{field:"values",validators:[r.Validators.fieldRequiredValidator,r.Validators.includeExcludeFilterValuesValidator]},{field:"filterType",validators:[r.Validators.includeExludeFilterTypeValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(l);i.IncludeExcludeFilterValidator=L;var B=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"hierarchyData",validators:[r.Validators.fieldRequiredValidator,r.Validators.hierarchyFilterValuesValidator]},{field:"filterType",validators:[r.Validators.hierarchyFilterTypeValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(l);i.HierarchyFilterValidator=B;var q=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"value",validators:[r.Validators.anyValueValidator]}
10,{field:"keyValues",validators:[r.Validators.anyArrayValidator]},{field:"children",validators:[r.Validators.hierarchyFilterValuesValidator]},{field:"operator",validators:[r.Validators.stringValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(f.ObjectValidator);i.HierarchyFilterNodeValidator=q;var k=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"value",validators:[r.Validators.fieldRequiredValidator,r.Validators.anyValueValidator]},{field:"keyValues",validators:[r.Validators.anyArrayValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(f.ObjectValidator);i.IncludeExcludePointValueValidator=k;var $=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);return G||r.Validators.anyFilterValidator.validate(H,X,z)},D})(f.ObjectValidator);i.FilterValidator=$;var U=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"filtersOperation",validators:[r.Validators.fieldRequiredValidator,r.Validators.filtersOperationsUpdateValidator]},{field:"filters",validators:[r.Validators.fieldRequiredValidator,r.Validators.filtersArrayValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(f.ObjectValidator);i.UpdateFiltersRequestValidator=U;var W=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"filtersOperation",validators:[r.Validators.fieldRequiredValidator,r.Validators.filtersOperationsRemoveAllValidator]},{field:"filters",validators:[r.Validators.fieldForbiddenValidator,r.Validators.filtersArrayValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(f.ObjectValidator);i.RemoveFiltersRequestValidator=W;var K=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"value",validators:[r.Validators.anyValueValidator]},{field:"operator",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(f.ObjectValidator);i.ConditionItemValidator=K;var j=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"operation",validators:[r.Validators.fieldRequiredValidator,r.Validators.filtersOperationsUpdateValidator]},{field:"filters",validators:[r.Validators.fieldRequiredValidator,r.Validators.filtersArrayValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(f.ObjectValidator);i.OnLoadFiltersBaseValidator=j;var J=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"operation",validators:[r.Validators.fieldRequiredValidator,r.Validators.filtersOperationsRemoveAllValidator]},{field:"filters",validators:[r.Validators.fieldForbiddenValidator,r.Validators.filtersArrayValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(f.ObjectValidator);i.OnLoadFiltersBaseRemoveOperationValidator=J;var Q=(function(M){g(D,M);function D(){return M!==null&&M.apply(this,arguments)||this}return D.prototype.validate=function(H,X,z){if(H==null)return null;var G=M.prototype.validate.call(this,H,X,z);if(G)return G;var Y=[{field:"allPages",validators:[r.Validators.onLoadFiltersBaseValidator]},{field:"currentPage",validators:[r.Validators.onLoadFiltersBaseValidator]}],Z=new c.MultipleFieldsValidator(Y);return Z.validate(H,X,z)},D})(f.ObjectValidator);i.OnLoadFiltersValidator=Q}),(function(P,i,w){var g=this&&this.__extends||(function(){var a=function(u,l){return a=Object.
10setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,y){s.__proto__=y}||function(s,y){for(var v in y)Object.prototype.hasOwnProperty.call(y,v)&&(s[v]=y[v])},a(u,l)};return function(u,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");a(u,l);function s(){this.constructor=u}u.prototype=l===null?Object.create(l):(s.prototype=l.prototype,new s)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.PageLayoutValidator=i.DisplayStateValidator=i.VisualLayoutValidator=i.CustomLayoutValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(a){g(u,a);function u(){return a!==null&&a.apply(this,arguments)||this}return u.prototype.validate=function(l,s,y){if(l==null)return null;var v=a.prototype.validate.call(this,l,s,y);if(v)return v;var b=[{field:"pageSize",validators:[r.Validators.pageSizeValidator]},{field:"displayOption",validators:[r.Validators.customLayoutDisplayOptionValidator]},{field:"pagesLayout",validators:[r.Validators.pagesLayoutValidator]}],E=new c.MultipleFieldsValidator(b);return E.validate(l,s,y)},u})(f.ObjectValidator);i.CustomLayoutValidator=d;var h=(function(a){g(u,a);function u(){return a!==null&&a.apply(this,arguments)||this}return u.prototype.validate=function(l,s,y){if(l==null)return null;var v=a.prototype.validate.call(this,l,s,y);if(v)return v;var b=[{field:"x",validators:[r.Validators.numberValidator]},{field:"y",validators:[r.Validators.numberValidator]},{field:"z",validators:[r.Validators.numberValidator]},{field:"width",validators:[r.Validators.numberValidator]},{field:"height",validators:[r.Validators.numberValidator]},{field:"displayState",validators:[r.Validators.displayStateValidator]}],E=new c.MultipleFieldsValidator(b);return E.validate(l,s,y)},u})(f.ObjectValidator);i.VisualLayoutValidator=h;var p=(function(a){g(u,a);function u(){return a!==null&&a.apply(this,arguments)||this}return u.prototype.validate=function(l,s,y){if(l==null)return null;var v=a.prototype.validate.call(this,l,s,y);if(v)return v;var b=[{field:"mode",validators:[r.Validators.displayStateModeValidator]}],E=new c.MultipleFieldsValidator(b);return E.validate(l,s,y)},u})(f.ObjectValidator);i.DisplayStateValidator=p;var o=(function(a){g(u,a);function u(){return a!==null&&a.apply(this,arguments)||this}return u.prototype.validate=function(l,s,y){if(l==null)return null;var v=a.prototype.validate.call(this,l,s,y);if(v)return v;var b=[{field:"visualsLayout",validators:[r.Validators.fieldRequiredValidator,r.Validators.pageLayoutValidator]},{field:"defaultLayout",validators:[r.Validators.visualLayoutValidator]}],E=new c.MultipleFieldsValidator(b);return E.validate(l,s,y)},u})(f.ObjectValidator);i.PageLayoutValidator=o}),(function(P,i,w){var g=this&&this.__extends||(function(){var a=function(u,l){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,y){s.__proto__=y}||function(s,y){for(var v in y)Object.prototype.hasOwnProperty.call(y,v)&&(s[v]=y[v])},a(u,l)};return function(u,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");a(u,l);function s(){this.constructor=u}u.prototype=l===null?Object.create(l):(s.prototype=l.prototype,new s)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.PageViewFieldValidator=i.PageValidator=i.CustomPageSizeValidator=i.PageSizeValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(a){g(u,a);function u(){return a!==null&&a.apply(this,arguments)||this}return u.prototype.validate=function(l,s,y){if(l==null)return null;var v=a.prototype.validate.call(this,l,s,y);if(v)return v;var b=[{field:"type",validators:[r.Validators.fieldRequiredValidator,r.Validators.pageSizeTypeValidator]}],E=new c.MultipleFieldsValidator(b);return E.validate(l,s,y)},u})(f.ObjectValidator);i.PageSizeValidator=d;var h=(function(a){g(u,a);function u(){return a!==null&&a.apply(this,arguments)||this}return u.prototype.validate=function(l,s,y){if(l==null)return null;var v=a.prototype.validate.call(this,l,s,y);if(v)return v;var b=[{field:"width",validators:[r.Validators.numberValidator]},{field:"height",validators:[r.Validators.numberValidator]}],E=new c.MultipleFieldsValidator(b);return E.validate(l,s,y)},u})(d);i.CustomPageSizeValidator=h;var p=(function(a){g(u,a);function u(){return a!==null&&a.apply(this,arguments)||this}
10return u.prototype.validate=function(l,s,y){if(l==null)return null;var v=a.prototype.validate.call(this,l,s,y);if(v)return v;var b=[{field:"name",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]}],E=new c.MultipleFieldsValidator(b);return E.validate(l,s,y)},u})(f.ObjectValidator);i.PageValidator=p;var o=(function(a){g(u,a);function u(){return a!==null&&a.apply(this,arguments)||this}return u.prototype.validate=function(l,s,y){if(l==null)return null;var v=a.prototype.validate.call(this,l,s,y);if(v)return v;var b=["actualSize","fitToWidth","oneColumn"];return b.indexOf(l)<0?[{message:'pageView must be a string with one of the following values: "actualSize", "fitToWidth", "oneColumn"'}]:null},u})(f.StringValidator);i.PageViewFieldValidator=o}),(function(P,i,w){var g=this&&this.__extends||(function(){var v=function(b,E){return v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(N,I){N.__proto__=I}||function(N,I){for(var L in I)Object.prototype.hasOwnProperty.call(I,L)&&(N[L]=I[L])},v(b,E)};return function(b,E){if(typeof E!="function"&&E!==null)throw new TypeError("Class extends value "+String(E)+" is not a constructor or null");v(b,E);function N(){this.constructor=b}b.prototype=E===null?Object.create(E):(N.prototype=E.prototype,new N)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.VisualizationsPaneValidator=i.SyncSlicersPaneValidator=i.SelectionPaneValidator=i.PageNavigationPaneValidator=i.FiltersPaneValidator=i.FieldsPaneValidator=i.BookmarksPaneValidator=i.QnaPanesValidator=i.ReportPanesValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(v){g(b,v);function b(){return v!==null&&v.apply(this,arguments)||this}return b.prototype.validate=function(E,N,I){if(E==null)return null;var L=v.prototype.validate.call(this,E,N,I);if(L)return L;var B=[{field:"bookmarks",validators:[r.Validators.bookmarksPaneValidator]},{field:"fields",validators:[r.Validators.fieldsPaneValidator]},{field:"filters",validators:[r.Validators.filtersPaneValidator]},{field:"pageNavigation",validators:[r.Validators.pageNavigationPaneValidator]},{field:"selection",validators:[r.Validators.selectionPaneValidator]},{field:"syncSlicers",validators:[r.Validators.syncSlicersPaneValidator]},{field:"visualizations",validators:[r.Validators.visualizationsPaneValidator]}],q=new c.MultipleFieldsValidator(B);return q.validate(E,N,I)},b})(f.ObjectValidator);i.ReportPanesValidator=d;var h=(function(v){g(b,v);function b(){return v!==null&&v.apply(this,arguments)||this}return b.prototype.validate=function(E,N,I){if(E==null)return null;var L=v.prototype.validate.call(this,E,N,I);if(L)return L;var B=[{field:"filters",validators:[r.Validators.filtersPaneValidator]}],q=new c.MultipleFieldsValidator(B);return q.validate(E,N,I)},b})(f.ObjectValidator);i.QnaPanesValidator=h;var p=(function(v){g(b,v);function b(){return v!==null&&v.apply(this,arguments)||this}return b.prototype.validate=function(E,N,I){if(E==null)return null;var L=v.prototype.validate.call(this,E,N,I);if(L)return L;var B=[{field:"visible",validators:[r.Validators.booleanValidator]}],q=new c.MultipleFieldsValidator(B);return q.validate(E,N,I)},b})(f.ObjectValidator);i.BookmarksPaneValidator=p;var o=(function(v){g(b,v);function b(){return v!==null&&v.apply(this,arguments)||this}return b.prototype.validate=function(E,N,I){if(E==null)return null;var L=v.prototype.validate.call(this,E,N,I);if(L)return L;var B=[{field:"expanded",validators:[r.Validators.booleanValidator]}],q=new c.MultipleFieldsValidator(B);return q.validate(E,N,I)},b})(f.ObjectValidator);i.FieldsPaneValidator=o;var a=(function(v){g(b,v);function b(){return v!==null&&v.apply(this,arguments)||this}return b.prototype.validate=function(E,N,I){if(E==null)return null;var L=v.prototype.validate.call(this,E,N,I);if(L)return L;var B=[{field:"visible",validators:[r.Validators.booleanValidator]},{field:"expanded",validators:[r.Validators.booleanValidator]}],q=new c.MultipleFieldsValidator(B);return q.validate(E,N,I)},b})(f.ObjectValidator);i.FiltersPaneValidator=a;var u=(function(v){g(b,v);function b(){return v!==null&&v.apply(this,arguments)||this}return b.prototype.validate=function(E,N,I){if(E==null)return null;var L=v.prototype.validate.call(this,E,N,I);if(L)return L;var B=[{field:"visible",validators:[r.Validators.booleanValidator]},{field:"position",validators:[r.Validators.pageNavigationPositionValidator]}],q=new c.MultipleFieldsValidator(B);return q.validate(E,N,I)},b})(f.ObjectValidator);i.PageNavigationPaneValidator=u;var l=(function(v){g(b,v);function b(){return v!==null&&v.apply(this,arguments)||this}return b.prototype.validate=function(E,N,I){if(E==null)return null;var L=v.prototype.validate.call(this,E,N,I);if(L)return L;var B=[{field:"visible",validators:[r.Validators.booleanValidator]}],q=new c.MultipleFieldsValidator(B);return q.validate(E,N,I)},b})(f.ObjectValidator);i.SelectionPaneValidator=l;var s=(function(v){g(b,v);function b(){return v!==null&&v.apply(this,arguments)||this}return b.prototype.validate=function(E,N,I){if(E==null)return null;var L=v.prototype.validate.call(this,E,N,I);if(L)return L;var B=[{field:"visible",validators:[r.Validators.booleanValidator]}],q=new c.MultipleFieldsValidator(B);return q.validate(E,N,I)},b})(f.ObjectValidator);i.SyncSlicersPaneValidator=s;var y=(function(v){g(b,v);function b(){return v!==null&&v.apply(this,arguments)||this}return b.prototype.validate=function(E,N,I){if(E==null)return null;var L=v.prototype.validate.call(this,E,N,I);if(L)return L;var B=[{field:"expanded",validators:[r.Validators.booleanValidator]}],q=new c.MultipleFieldsValidator(B);return q.validate(E,N,I)},b})(f.ObjectValidator);i.VisualizationsPaneValidator=y}),(function(P,i,w){var g=this&&this.__extends||(function(){var o=function(a,u){return o=Object.
10setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,s){l.__proto__=s}||function(l,s){for(var y in s)Object.prototype.hasOwnProperty.call(s,y)&&(l[y]=s[y])},o(a,u)};return function(a,u){if(typeof u!="function"&&u!==null)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");o(a,u);function l(){this.constructor=a}a.prototype=u===null?Object.create(u):(l.prototype=u.prototype,new l)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.QnaInterpretInputDataValidator=i.QnaSettingsValidator=i.LoadQnaValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(o){g(a,o);function a(){return o!==null&&o.apply(this,arguments)||this}return a.prototype.validate=function(u,l,s){if(u==null)return null;var y=o.prototype.validate.call(this,u,l,s);if(y)return y;var v=[{field:"accessToken",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"datasetIds",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringArrayValidator]},{field:"question",validators:[r.Validators.stringValidator]},{field:"viewMode",validators:[r.Validators.viewModeValidator]},{field:"settings",validators:[r.Validators.qnaSettingValidator]},{field:"tokenType",validators:[r.Validators.tokenTypeValidator]},{field:"groupId",validators:[r.Validators.stringValidator]}],b=new c.MultipleFieldsValidator(v);return b.validate(u,l,s)},a})(f.ObjectValidator);i.LoadQnaValidator=d;var h=(function(o){g(a,o);function a(){return o!==null&&o.apply(this,arguments)||this}return a.prototype.validate=function(u,l,s){if(u==null)return null;var y=o.prototype.validate.call(this,u,l,s);if(y)return y;var v=[{field:"filterPaneEnabled",validators:[r.Validators.booleanValidator]},{field:"hideErrors",validators:[r.Validators.booleanValidator]},{field:"panes",validators:[r.Validators.qnaPanesValidator]}],b=new c.MultipleFieldsValidator(v);return b.validate(u,l,s)},a})(f.ObjectValidator);i.QnaSettingsValidator=h;var p=(function(o){g(a,o);function a(){return o!==null&&o.apply(this,arguments)||this}return a.prototype.validate=function(u,l,s){if(u==null)return null;var y=o.prototype.validate.call(this,u,l,s);if(y)return y;var v=[{field:"datasetIds",validators:[r.Validators.stringArrayValidator]},{field:"question",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]}],b=new c.MultipleFieldsValidator(v);return b.validate(u,l,s)},a})(f.ObjectValidator);i.QnaInterpretInputDataValidator=p}),(function(P,i,w){var g=this&&this.__extends||(function(){var h=function(p,o){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,u){a.__proto__=u}||function(a,u){for(var l in u)Object.prototype.hasOwnProperty.call(u,l)&&(a[l]=u[l])},h(p,o)};return function(p,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");h(p,o);function a(){this.constructor=p}p.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.ReportCreateValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(h){g(p,h);function p(){return h!==null&&h.apply(this,arguments)||this}return p.prototype.validate=function(o,a,u){if(o==null)return null;var l=h.prototype.validate.call(this,o,a,u);if(l)return l;var s=[{field:"accessToken",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"datasetId",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"groupId",validators:[r.Validators.stringValidator]},{field:"tokenType",validators:[r.Validators.tokenTypeValidator]},{field:"theme",validators:[r.Validators.customThemeValidator]}],y=new c.MultipleFieldsValidator(s);return y.validate(o,a,u)},p})(f.ObjectValidator);i.ReportCreateValidator=d}),(function(P,i,w){var g=this&&this.__extends||(function(){var h=function(p,o){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,u){a.__proto__=u}||function(a,u){for(var l in u)Object.prototype.hasOwnProperty.call(u,l)&&(a[l]=u[l])},h(p,o)};return function(p,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");h(p,o);function a(){this.constructor=p}
10p.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.ReportLoadValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(h){g(p,h);function p(){return h!==null&&h.apply(this,arguments)||this}return p.prototype.validate=function(o,a,u){if(o==null)return null;var l=h.prototype.validate.call(this,o,a,u);if(l)return l;var s=[{field:"accessToken",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"id",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"groupId",validators:[r.Validators.stringValidator]},{field:"settings",validators:[r.Validators.settingsValidator]},{field:"pageName",validators:[r.Validators.stringValidator]},{field:"filters",validators:[r.Validators.reportLoadFiltersValidator]},{field:"permissions",validators:[r.Validators.permissionsValidator]},{field:"viewMode",validators:[r.Validators.viewModeValidator]},{field:"tokenType",validators:[r.Validators.tokenTypeValidator]},{field:"bookmark",validators:[r.Validators.applyBookmarkValidator]},{field:"theme",validators:[r.Validators.customThemeValidator]},{field:"embedUrl",validators:[r.Validators.stringValidator]},{field:"datasetBinding",validators:[r.Validators.datasetBindingValidator]},{field:"contrastMode",validators:[r.Validators.contrastModeValidator]}],y=new c.MultipleFieldsValidator(s);return y.validate(o,a,u)},p})(f.ObjectValidator);i.ReportLoadValidator=d}),(function(P,i,w){var g=this&&this.__extends||(function(){var p=function(o,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,l){u.__proto__=l}||function(u,l){for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(u[s]=l[s])},p(o,a)};return function(o,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(o,a);function u(){this.constructor=o}o.prototype=a===null?Object.create(a):(u.prototype=a.prototype,new u)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.ReportParameterFieldsValidator=i.PaginatedReportLoadValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(p){g(o,p);function o(){return p!==null&&p.apply(this,arguments)||this}return o.prototype.validate=function(a,u,l){if(a==null)return null;var s=p.prototype.validate.call(this,a,u,l);if(s)return s;var y=[{field:"accessToken",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"id",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"groupId",validators:[r.Validators.stringValidator]},{field:"settings",validators:[r.Validators.paginatedReportsettingsValidator]},{field:"tokenType",validators:[r.Validators.tokenTypeValidator]},{field:"embedUrl",validators:[r.Validators.stringValidator]},{field:"type",validators:[r.Validators.stringValidator]},{field:"parameterValues",validators:[r.Validators.parameterValuesArrayValidator]},{field:"datasetBindings",validators:[r.Validators.paginatedReportDatasetBindingArrayValidator]}],v=new c.MultipleFieldsValidator(y);return v.validate(a,u,l)},o})(f.ObjectValidator);i.PaginatedReportLoadValidator=d;var h=(function(){function p(){}return p.prototype.validate=function(o,a,u){if(o==null)return null;var l=[{field:"name",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"value",validators:[r.Validators.stringValidator]}],s=new c.MultipleFieldsValidator(l);return s.validate(o,a,u)},p})();i.ReportParameterFieldsValidator=h}),(function(P,i,w){var g=this&&this.__extends||(function(){var h=function(p,o){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,u){a.__proto__=u}||function(a,u){for(var l in u)Object.prototype.hasOwnProperty.call(u,l)&&(a[l]=u[l])},h(p,o)};return function(p,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");h(p,o);function a(){this.constructor=p}p.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.SaveAsParametersValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(h){g(p,h);function p(){return h!==null&&h.apply(this,arguments)||this}return p.prototype.validate=function(o,a,u){if(o==null)return null;var l=h.prototype.validate.call(this,o,a,u);if(l)return l;var s=[{field:"name",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]}],y=new c.MultipleFieldsValidator(s);return y.validate(o,a,u)},p})(f.ObjectValidator);i.SaveAsParametersValidator=d}),(function(P,i,w){var g=this&&this.__extends||(function(){var a=function(u,l){return a=Object.
10setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,y){s.__proto__=y}||function(s,y){for(var v in y)Object.prototype.hasOwnProperty.call(y,v)&&(s[v]=y[v])},a(u,l)};return function(u,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");a(u,l);function s(){this.constructor=u}u.prototype=l===null?Object.create(l):(s.prototype=l.prototype,new s)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.SlicerTargetSelectorValidator=i.VisualTypeSelectorValidator=i.VisualSelectorValidator=void 0;var c=w(3),f=w(4),r=w(4),d=w(1),h=(function(a){g(u,a);function u(){return a!==null&&a.apply(this,arguments)||this}return u.prototype.validate=function(l,s,y){if(l==null)return null;var v=a.prototype.validate.call(this,l,s,y);if(v)return v;var b=[{field:"$schema",validators:[d.Validators.stringValidator,new r.SchemaValidator("http://powerbi.com/product/schema#visualSelector")]},{field:"visualName",validators:[d.Validators.fieldRequiredValidator,d.Validators.stringValidator]}],E=new c.MultipleFieldsValidator(b);return E.validate(l,s,y)},u})(f.ObjectValidator);i.VisualSelectorValidator=h;var p=(function(a){g(u,a);function u(){return a!==null&&a.apply(this,arguments)||this}return u.prototype.validate=function(l,s,y){if(l==null)return null;var v=a.prototype.validate.call(this,l,s,y);if(v)return v;var b=[{field:"$schema",validators:[d.Validators.fieldRequiredValidator,d.Validators.stringValidator,new r.SchemaValidator("http://powerbi.com/product/schema#visualTypeSelector")]},{field:"visualType",validators:[d.Validators.fieldRequiredValidator,d.Validators.stringValidator]}],E=new c.MultipleFieldsValidator(b);return E.validate(l,s,y)},u})(f.ObjectValidator);i.VisualTypeSelectorValidator=p;var o=(function(a){g(u,a);function u(){return a!==null&&a.apply(this,arguments)||this}return u.prototype.validate=function(l,s,y){if(l==null)return null;var v=a.prototype.validate.call(this,l,s,y);if(v)return v;var b=[{field:"$schema",validators:[d.Validators.fieldRequiredValidator,d.Validators.stringValidator,new r.SchemaValidator("http://powerbi.com/product/schema#slicerTargetSelector")]},{field:"target",validators:[d.Validators.fieldRequiredValidator,d.Validators.slicerTargetValidator]}],E=new c.MultipleFieldsValidator(b);return E.validate(l,s,y)},u})(f.ObjectValidator);i.SlicerTargetSelectorValidator=o}),(function(P,i,w){var g=this&&this.__extends||(function(){var p=function(o,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,l){u.__proto__=l}||function(u,l){for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(u[s]=l[s])},p(o,a)};return function(o,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(o,a);function u(){this.constructor=o}o.prototype=a===null?Object.create(a):(u.prototype=a.prototype,new u)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.PaginatedReportSettingsValidator=i.SettingsValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(p){g(o,p);function o(){return p!==null&&p.apply(this,arguments)||this}return o.prototype.validate=function(a,u,l){if(a==null)return null;var s=p.prototype.validate.call(this,a,u,l);if(s)return s;var y=[{field:"filterPaneEnabled",validators:[r.Validators.booleanValidator]},{field:"navContentPaneEnabled",validators:[r.Validators.booleanValidator]},{field:"bookmarksPaneEnabled",validators:[r.Validators.booleanValidator]},{field:"useCustomSaveAsDialog",validators:[r.Validators.booleanValidator]},{field:"extensions",validators:[r.Validators.extensionsValidator]},{field:"layoutType",validators:[r.Validators.layoutTypeValidator]},{field:"customLayout",validators:[r.Validators.customLayoutValidator]},{field:"background",validators:[r.Validators.backgroundValidator]},{field:"visualSettings",validators:[r.Validators.visualSettingsValidator]},{field:"hideErrors",validators:[r.Validators.booleanValidator]},{field:"commands",validators:[r.Validators.commandsSettingsArrayValidator]},{field:"hyperlinkClickBehavior",validators:[r.Validators.hyperlinkCl
10ickBehaviorValidator]},{field:"bars",validators:[r.Validators.reportBarsValidator]},{field:"panes",validators:[r.Validators.reportPanesValidator]},{field:"personalBookmarksEnabled",validators:[r.Validators.booleanValidator]},{field:"persistentFiltersEnabled",validators:[r.Validators.booleanValidator]},{field:"visualRenderedEvents",validators:[r.Validators.booleanValidator]},{field:"authoringHintsEnabled",validators:[r.Validators.booleanValidator]},{field:"printSettings",validators:[r.Validators.printSettingsValidator]}],v=new c.MultipleFieldsValidator(y);return v.validate(a,u,l)},o})(f.ObjectValidator);i.SettingsValidator=d;var h=(function(p){g(o,p);function o(){return p!==null&&p.apply(this,arguments)||this}return o.prototype.validate=function(a,u,l){if(a==null)return null;var s=p.prototype.validate.call(this,a,u,l);if(s)return s;var y=[{field:"commands",validators:[r.Validators.paginatedReportCommandsValidator]}],v=new c.MultipleFieldsValidator(y);return v.validate(a,u,l)},o})(f.ObjectValidator);i.PaginatedReportSettingsValidator=h}),(function(P,i,w){var g=this&&this.__extends||(function(){var p=function(o,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,l){u.__proto__=l}||function(u,l){for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(u[s]=l[s])},p(o,a)};return function(o,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(o,a);function u(){this.constructor=o}o.prototype=a===null?Object.create(a):(u.prototype=a.prototype,new u)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.SlicerStateValidator=i.SlicerValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(p){g(o,p);function o(){return p!==null&&p.apply(this,arguments)||this}return o.prototype.validate=function(a,u,l){if(a==null)return null;var s=p.prototype.validate.call(this,a,u,l);if(s)return s;var y=[{field:"selector",validators:[r.Validators.fieldRequiredValidator,r.Validators.slicerSelectorValidator]},{field:"state",validators:[r.Validators.fieldRequiredValidator,r.Validators.slicerStateValidator]}],v=new c.MultipleFieldsValidator(y);return v.validate(a,u,l)},o})(f.ObjectValidator);i.SlicerValidator=d;var h=(function(p){g(o,p);function o(){return p!==null&&p.apply(this,arguments)||this}return o.prototype.validate=function(a,u,l){if(a==null)return null;var s=p.prototype.validate.call(this,a,u,l);if(s)return s;var y=[{field:"filters",validators:[r.Validators.filtersArrayValidator]}],v=new c.MultipleFieldsValidator(y);return v.validate(a,u,l)},o})(f.ObjectValidator);i.SlicerStateValidator=h}),(function(P,i,w){var g=this&&this.__extends||(function(){var h=function(p,o){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,u){a.__proto__=u}||function(a,u){for(var l in u)Object.prototype.hasOwnProperty.call(u,l)&&(a[l]=u[l])},h(p,o)};return function(p,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");h(p,o);function a(){this.constructor=p}p.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.TileLoadValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(h){g(p,h);function p(){return h!==null&&h.apply(this,arguments)||this}return p.prototype.validate=function(o,a,u){if(o==null)return null;var l=h.prototype.validate.call(this,o,a,u);if(l)return l;var s=[{field:"accessToken",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"id",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"dashboardId",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"groupId",validators:[r.Validators.stringValidator]},{field:"pageView",validators:[r.Validators.stringValidator]},{field:"tokenType",validators:[r.Validators.tokenTypeValidator]},{field:"width",validators:[r.Validators.numberValidator]},{field:"height",validators:[r.Validators.numberValidator]}],y=new c.MultipleFieldsValidator(s);return y.validate(o,a,u)},p})(f.ObjectValidator);i.TileLoadValidator=d}),(function(P,i,w){var g=this&&this.__extends||(function(){var o=function(a,u){return o=Object.
10setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,s){l.__proto__=s}||function(l,s){for(var y in s)Object.prototype.hasOwnProperty.call(s,y)&&(l[y]=s[y])},o(a,u)};return function(a,u){if(typeof u!="function"&&u!==null)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");o(a,u);function l(){this.constructor=a}a.prototype=u===null?Object.create(u):(l.prototype=u.prototype,new l)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.VisualHeaderValidator=i.VisualHeaderSettingsValidator=i.VisualSettingsValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(o){g(a,o);function a(){return o!==null&&o.apply(this,arguments)||this}return a.prototype.validate=function(u,l,s){if(u==null)return null;var y=o.prototype.validate.call(this,u,l,s);if(y)return y;var v=[{field:"visualHeaders",validators:[r.Validators.visualHeadersValidator]}],b=new c.MultipleFieldsValidator(v);return b.validate(u,l,s)},a})(f.ObjectValidator);i.VisualSettingsValidator=d;var h=(function(o){g(a,o);function a(){return o!==null&&o.apply(this,arguments)||this}return a.prototype.validate=function(u,l,s){if(u==null)return null;var y=o.prototype.validate.call(this,u,l,s);if(y)return y;var v=[{field:"visible",validators:[r.Validators.booleanValidator]}],b=new c.MultipleFieldsValidator(v);return b.validate(u,l,s)},a})(f.ObjectValidator);i.VisualHeaderSettingsValidator=h;var p=(function(o){g(a,o);function a(){return o!==null&&o.apply(this,arguments)||this}return a.prototype.validate=function(u,l,s){if(u==null)return null;var y=o.prototype.validate.call(this,u,l,s);if(y)return y;var v=[{field:"settings",validators:[r.Validators.fieldRequiredValidator,r.Validators.visualHeaderSettingsValidator]},{field:"selector",validators:[r.Validators.visualHeaderSelectorValidator]}],b=new c.MultipleFieldsValidator(v);return b.validate(u,l,s)},a})(f.ObjectValidator);i.VisualHeaderValidator=p}),((P,i)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.AnyOfValidator=void 0;var w=(function(){function g(c){this.validators=c}return g.prototype.validate=function(c,f,r){if(c==null)return null;for(var d=!1,h=0,p=this.validators;h<p.length;h++){var o=p[h],a=o.validate(c,f,r);if(!a){d=!0;break}}return d?null:[{message:r+" property is invalid",path:(f?f+".":"")+r,keyword:"invalid"}]},g})();i.AnyOfValidator=w}),((P,i)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.FieldForbiddenValidator=void 0;var w=(function(){function g(){}return g.prototype.validate=function(c,f,r){return c!==void 0?[{message:r+" is forbidden",path:(f?f+".":"")+r,keyword:"forbidden"}]:null},g})();i.FieldForbiddenValidator=w}),((P,i)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.FieldRequiredValidator=void 0;var w=(function(){function g(){}return g.prototype.validate=function(c,f,r){return c==null?[{message:r+" is required",path:(f?f+".":"")+r,keyword:"required"}]:null},g})();i.FieldRequiredValidator=w}),(function(P,i,w){var g=this&&this.__extends||(function(){var r=function(d,h){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,o){p.__proto__=o}||function(p,o){for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(p[a]=o[a])},r(d,h)};return function(d,h){if(typeof h!="function"&&h!==null)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");r(d,h);function p(){this.constructor=d}d.prototype=h===null?Object.create(h):(p.prototype=h.prototype,new p)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.MapValidator=void 0;var c=w(4),f=(function(r){g(d,r);function d(h,p){var o=r.call(this)||this;return o.keyValidators=h,o.valueValidators=p,o}return d.prototype.validate=function(h,p,o){if(h==null)return null;var a=r.prototype.validate.call(this,h,p,o);if(a)return a;for(var u in h)if(h.hasOwnProperty(u)){for(var l=(p?p+".":"")+o+"."+u,s=0,y=this.keyValidators;s<y.length;s++){var v=y[s];if(a=v.validate(u,l,o),a)return a}for(var b=0,E=this.valueValidators;b<E.length;b++){var N=E[b];if(a=N.validate(h[u],l,o),a)return a}}return null},d})(c.ObjectValidator);i.MapValidator=f}),(function(P,i,w){var g=this&&this.__extends||(function(){var h=function(p,o){return h=Object.
10setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,u){a.__proto__=u}||function(a,u){for(var l in u)Object.prototype.hasOwnProperty.call(u,l)&&(a[l]=u[l])},h(p,o)};return function(p,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");h(p,o);function a(){this.constructor=p}p.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.ParametersPanelValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(h){g(p,h);function p(){return h!==null&&h.apply(this,arguments)||this}return p.prototype.validate=function(o,a,u){if(o==null)return null;var l=h.prototype.validate.call(this,o,a,u);if(l)return l;var s=[{field:"expanded",validators:[r.Validators.booleanValidator]},{field:"enabled",validators:[r.Validators.booleanValidator]}],y=new c.MultipleFieldsValidator(s);return y.validate(o,a,u)},p})(f.ObjectValidator);i.ParametersPanelValidator=d}),(function(P,i,w){var g=this&&this.__extends||(function(){var l=function(s,y){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,b){v.__proto__=b}||function(v,b){for(var E in b)Object.prototype.hasOwnProperty.call(b,E)&&(v[E]=b[E])},l(s,y)};return function(s,y){if(typeof y!="function"&&y!==null)throw new TypeError("Class extends value "+String(y)+" is not a constructor or null");l(s,y);function v(){this.constructor=s}s.prototype=y===null?Object.create(y):(v.prototype=y.prototype,new v)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.TableDataValidator=i.TableSchemaValidator=i.ColumnSchemaValidator=i.CredentialsValidator=i.DatasourceConnectionConfigValidator=i.DatasetCreateConfigValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(l){g(s,l);function s(){return l!==null&&l.apply(this,arguments)||this}return s.prototype.validate=function(y,v,b){if(y==null)return null;var E=l.prototype.validate.call(this,y,v,b);if(E)return E;var N=[{field:"locale",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"mashupDocument",validators:[r.Validators.stringValidator]},{field:"datasourceConnectionConfig",validators:[r.Validators.datasourceConnectionConfigValidator]},{field:"tableSchemaList",validators:[r.Validators.tableSchemaListValidator]},{field:"data",validators:[r.Validators.tableDataArrayValidator]}],I=new c.MultipleFieldsValidator(N);if(E=I.validate(y,v,b),E)return E;if(y.datasourceConnectionConfig&&y.mashupDocument==null)return[{message:"mashupDocument cannot be empty when datasourceConnectionConfig is presented"}];if(y.data&&y.tableSchemaList==null)return[{message:"tableSchemaList cannot be empty when data is provided"}];if(y.data==null&&y.mashupDocument==null)return[{message:"At least one of data or mashupDocument must be provided"}]},s})(f.ObjectValidator);i.DatasetCreateConfigValidator=d;var h=(function(l){g(s,l);function s(){return l!==null&&l.apply(this,arguments)||this}return s.prototype.validate=function(y,v,b){if(y==null)return null;var E=l.prototype.validate.call(this,y,v,b);if(E)return E;var N=[{field:"dataCacheMode",validators:[r.Validators.dataCacheModeValidator]},{field:"credentials",validators:[r.Validators.credentialsValidator]}],I=new c.MultipleFieldsValidator(N);return I.validate(y,v,b)},s})(f.ObjectValidator);i.DatasourceConnectionConfigValidator=h;var p=(function(l){g(s,l);function s(){return l!==null&&l.apply(this,arguments)||this}return s.prototype.validate=function(y,v,b){if(y==null)return null;var E=l.prototype.validate.call(this,y,v,b);if(E)return E;var N=[{field:"credentialType",validators:[r.Validators.credentialTypeValidator]},{field:"credentialDetails",validators:[r.Validators.credentialDetailsValidator]}],I=new c.MultipleFieldsValidator(N);return I.validate(y,v,b)},s})(f.ObjectValidator);i.CredentialsValidator=p;var o=(function(l){g(s,l);function s(){return l!==null&&l.apply(this,arguments)||this}return s.prototype.validate=function(y,v,b){if(y==null)return null;var E=l.prototype.validate.call(this,y,v,b);if(E)return E;var N=[{field:"name",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"displayName",validators:[r.Validators.stringValidator]},{field:"dataType",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]}],I=new c.MultipleFieldsValidator(N);return I.validate(y,v,b)},s})(f.ObjectValidator);i.ColumnSchemaValidator=o;var a=(function(l){g(s,l);function s(){return l!==null&&l.apply(this,arguments)||this}return s.prototype.validate=function(y,v,b){if(y==null)return null;var E=l.prototype.validate.call(this,y,v,b);if(E)return E;var N=[{field:"name",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"columns",validators:[r.Validators.fieldRequiredValidator,r.Validators.columnSchemaArrayValidator]}],I=new c.MultipleFieldsValidator(N);return I.validate(y,v,b)},s})(f.ObjectValidator);i.TableSchemaValidator=a;var u=(function(l){g(s,l);function s(){return l!==null&&l.apply(this,arguments)||this}return s.prototype.validate=function(y,v,b){if(y==null)return null;var E=l.prototype.validate.call(this,y,v,b);if(E)return E;var N=[{field:"name",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"rows",validators:[r.Validators.fieldRequiredValidator,r.Validators.rawDataValidator]}],I=new c.MultipleFieldsValidator(N);return I.validate(y,v,b)},s})(f.ObjectValidator);i.TableDataValidator=u}),(function(P,i,w){var g=this&&this.__extends||(function(){var h=function(p,o){return h=Object.
10setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,u){a.__proto__=u}||function(a,u){for(var l in u)Object.prototype.hasOwnProperty.call(u,l)&&(a[l]=u[l])},h(p,o)};return function(p,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");h(p,o);function a(){this.constructor=p}p.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.QuickCreateValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(h){g(p,h);function p(){return h!==null&&h.apply(this,arguments)||this}return p.prototype.validate=function(o,a,u){if(o==null)return null;var l=h.prototype.validate.call(this,o,a,u);if(l)return l;var s=[{field:"accessToken",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"groupId",validators:[r.Validators.stringValidator]},{field:"tokenType",validators:[r.Validators.tokenTypeValidator]},{field:"theme",validators:[r.Validators.customThemeValidator]},{field:"datasetCreateConfig",validators:[r.Validators.fieldRequiredValidator,r.Validators.datasetCreateConfigValidator]}],y=new c.MultipleFieldsValidator(s);return y.validate(o,a,u)},p})(f.ObjectValidator);i.QuickCreateValidator=d}),(function(P,i,w){var g=this&&this.__extends||(function(){var d=function(h,p){return d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&(o[u]=a[u])},d(h,p)};return function(h,p){if(typeof p!="function"&&p!==null)throw new TypeError("Class extends value "+String(p)+" is not a constructor or null");d(h,p);function o(){this.constructor=h}h.prototype=p===null?Object.create(p):(o.prototype=p.prototype,new o)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.PrintSettingsValidator=void 0;var c=w(3),f=w(4),r=(function(d){g(h,d);function h(){return d!==null&&d.apply(this,arguments)||this}return h.prototype.validate=function(p,o,a){if(p==null)return null;var u=d.prototype.validate.call(this,p,o,a);if(u)return u;var l=[{field:"browserPrintAdjustmentsMode",validators:[new f.EnumValidator([0,1])]}],s=new c.MultipleFieldsValidator(l);return s.validate(p,o,a)},h})(f.ObjectValidator);i.PrintSettingsValidator=r}),(function(P,i,w){var g=this&&this.__extends||(function(){var h=function(p,o){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,u){a.__proto__=u}||function(a,u){for(var l in u)Object.prototype.hasOwnProperty.call(u,l)&&(a[l]=u[l])},h(p,o)};return function(p,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");h(p,o);function a(){this.constructor=p}p.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)}})();Object.defineProperty(i,"__esModule",{value:!0}),i.PaginatedReportDatasetBindingValidator=void 0;var c=w(3),f=w(4),r=w(1),d=(function(h){g(p,h);function p(){return h!==null&&h.apply(this,arguments)||this}return p.prototype.validate=function(o,a,u){if(o==null)return null;var l=h.prototype.validate.call(this,o,a,u);if(l)return l;var s=[{field:"sourceDatasetId",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]},{field:"targetDatasetId",validators:[r.Validators.fieldRequiredValidator,r.Validators.stringValidator]}],y=new c.MultipleFieldsValidator(s);return y.validate(o,a,u)},p})(f.ObjectValidator);i.PaginatedReportDatasetBindingValidator=d})],C={};function A(P){var i=C[P];if(i!==void 0)return i.exports;var w=C[P]={exports:{}};return S[P].call(w.exports,w,w.exports,A),w.exports}var _=A(0);return _})())},"./node_modules/powerbi-router/dist/router.js"(T){(function(C,A){T.exports=A()})(this,function(){return(function(S){var C={};function A(_){if(C[_])return C[_].exports;var P=C[_]={exports:{},id:_,loaded:!1};return S[_].call(P.exports,P,P.exports,A),P.loaded=!0,P.exports}return A.m=S,A.c=C,A.p="",A(0)})([function(S,C,A){var _=A(1),P=(function(){function w(g){this.handlers=g,this.getRouteRecognizer=new _,this.patchRouteRecognizer=new _,this.postRouteRecognizer=new _,this.putRouteRecognizer=new _,this.deleteRouteRecognizer=new _}return w.prototype.get=function(g,c){return this.registerHandler(this.getRouteRecognizer,"GET",g,c),this},w.prototype.patch=function(g,c){return this.registerHandler(this.patchRouteRecognizer,"PATCH",g,c),this},w.prototype.post=function(g,c){return this.registerHandler(this.postRouteRecognizer,"POST",g,c),this},w.prototype.put=function(g,c){return this.registerHandler(this.putRouteRecognizer,"PUT",g,c),this},w.prototype.delete=function(g,c){return this.registerHandler(this.deleteRouteRecognizer,"DELETE",g,c),this},w.prototype.registerHandler=function(g,c,f,r){var d=function(p){var o=new i;return Promise.resolve(r(p,o)).then(function(a){return o}
10)};g.add([{path:f,handler:d}]);var h={test:function(p){if(p.method!==c)return!1;var o=g.recognize(p.url);if(o===void 0)return!1;var a=o[0];return p.params=a.params,p.queryParams=o.queryParams,p.handler=a.handler,!0},handle:function(p){return p.handler(p)}};this.handlers.addHandler(h)},w})();C.Router=P;var i=(function(){function w(){this.statusCode=200,this.headers={},this.body=null}return w.prototype.send=function(g,c){this.statusCode=g,this.body=c},w})();C.Response=i},function(S,C,A){var _;(function(P){(function(){function i(k,$,U){this.path=k,this.matcher=$,this.delegate=U}i.prototype={to:function(k,$){var U=this.delegate;if(U&&U.willAddRoute&&(k=U.willAddRoute(this.matcher.target,k)),this.matcher.add(this.path,k),$){if($.length===0)throw new Error("You must have an argument in the function passed to `to`");this.matcher.addChild(this.path,k,$,this.delegate)}return this}};function w(k){this.routes={},this.children={},this.target=k}w.prototype={add:function(k,$){this.routes[k]=$},addChild:function(k,$,U,W){var K=new w($);this.children[k]=K;var j=g(k,K,W);W&&W.contextEntered&&W.contextEntered($,j),U(j)}};function g(k,$,U){return function(W,K){var j=k+W;if(K)K(g(j,$,U));else return new i(k+W,$,U)}}function c(k,$,U){for(var W=0,K=0;K<k.length;K++)W+=k[K].path.length;$=$.substr(W);var j={path:$,handler:U};k.push(j)}function f(k,$,U,W){var K=$.routes;for(var j in K)if(K.hasOwnProperty(j)){var J=k.slice();c(J,j,K[j]),$.children[j]?f(J,$.children[j],U,W):U.call(W,J)}}var r=function(k,$){var U=new w;k(g("",U,this.delegate)),f([],U,function(W){$?$(this,W):this.add(W)},this)},d=["/",".","*","+","?","|","(",")","[","]","{","}","\\"],h=new RegExp("(\\"+d.join("|\\")+")","g");function p(k){return Object.prototype.toString.call(k)==="[object Array]"}function o(k){this.string=k}o.prototype={eachChar:function(k){for(var $=this.string,U,W=0;W<$.length;W++)U=$.charAt(W),k=k.put({invalidChars:void 0,repeat:!1,validChars:U});return k},regex:function(){return this.string.replace(h,"\\$1")},generate:function(){return this.string}};function a(k){this.name=k}a.prototype={eachChar:function(k){return k.put({invalidChars:"/",repeat:!0,validChars:void 0})},regex:function(){return"([^/]+)"},generate:function(k){return k[this.name]}};function u(k){this.name=k}u.prototype={eachChar:function(k){return k.put({invalidChars:"",repeat:!0,validChars:void 0})},regex:function(){return"(.+)"},generate:function(k){return k[this.name]}};function l(){}l.prototype={eachChar:function(k){return k},regex:function(){return""},generate:function(){return""}};function s(k,$,U){k.charAt(0)==="/"&&(k=k.substr(1));var W=k.split("/"),K=new Array(W.length);U.val="";for(var j=0;j<W.length;j++){var J=W[j],Q;(Q=J.match(/^:([^\/]+)$/))?(K[j]=new a(Q[1]),$.push(Q[1]),U.val+="3"):(Q=J.match(/^\*([^\/]+)$/))?(K[j]=new u(Q[1]),U.val+="1",$.push(Q[1])):J===""?(K[j]=new l,U.val+="2"):(K[j]=new o(J),U.val+="4")}return U.val=+U.val,K}function y(k){this.charSpec=k,this.nextStates=[],this.charSpecs={},this.regex=void 0,this.handlers=void 0,this.specificity=void 0}y.prototype={get:function(k){if(this.charSpecs[k.validChars])return this.charSpecs[k.validChars];for(var $=this.nextStates,U=0;U<$.length;U++){var W=$[U],K=W.charSpec.validChars===k.validChars;if(K=K&&W.charSpec.invalidChars===k.invalidChars,K)return this.charSpecs[k.validChars]=W,W}},put:function(k){var $;return($=this.get(k))||($=new y(k),this.nextStates.push($),k.repeat&&$.nextStates.push($)),$},match:function(k){for(var $=this.nextStates,U,W,K,j=[],J=0;J<$.length;J++)U=$[J],W=U.charSpec,typeof(K=W.validChars)<"u"?K.indexOf(k)!==-1&&j.push(U):typeof(K=W.invalidChars)<"u"&&K.indexOf(k)===-1&&j.push(U);return j}};function v(k){return k.sort(function($,U){return U.specificity.val-$.specificity.val})}function b(k,$){for(var U=[],W=0,K=k.length;W<K;W++){var j=k[W];U=U.concat(j.match($))}return U}var E=Object.create||function(k){function $(){}return $.prototype=k,new $};function N(k){this.queryParams=k||{}}N.prototype=E({splice:Array.prototype.splice,slice:Array.prototype.slice,push:Array.prototype.push,length:0,queryParams:null});function I(k,$,U){var W=k.handlers,K=k.regex,j=$.match(K),J=1,Q=new N(U);Q.length=W.length;for(var M=0;M<W.length;M++){for(var D=W[M],H=D.names,X={},z=0;z<H.length;z++)X[H[z]]=j[J++];Q[M]={handler:D.handler,params:X,isDynamic:!!H.length}}return Q}function L(k){k=k.replace(/\+/gm,"%20");var $;try{$=decodeURIComponent(k)}catch{$=""}return $}var B=function(){this.rootState=new y,this.names={}};
10B.prototype={add:function(k,$){for(var U=this.rootState,W="^",K={},j=new Array(k.length),J=[],Q,M=!0,D=0;D<k.length;D++){var H=k[D],X=[],z=s(H.path,X,K);J=J.concat(z);for(var G=0;G<z.length;G++){var Y=z[G];Y instanceof l||(M=!1,U=U.put({invalidChars:void 0,repeat:!1,validChars:"/"}),W+="/",U=Y.eachChar(U),W+=Y.regex())}var Z={handler:H.handler,names:X};j[D]=Z}M&&(U=U.put({invalidChars:void 0,repeat:!1,validChars:"/"}),W+="/"),U.handlers=j,U.regex=new RegExp(W+"$"),U.specificity=K,(Q=$&&$.as)&&(this.names[Q]={segments:J,handlers:j})},handlersFor:function(k){var $=this.names[k];if(!$)throw new Error("There is no route named "+k);for(var U=new Array($.handlers.length),W=0;W<$.handlers.length;W++)U[W]=$.handlers[W];return U},hasRoute:function(k){return!!this.names[k]},generate:function(k,$){var U=this.names[k],W="";if(!U)throw new Error("There is no route named "+k);for(var K=U.segments,j=0;j<K.length;j++){var J=K[j];J instanceof l||(W+="/",W+=J.generate($))}return W.charAt(0)!=="/"&&(W="/"+W),$&&$.queryParams&&(W+=this.generateQueryString($.queryParams,U.handlers)),W},generateQueryString:function(k,$){var U=[],W=[];for(var K in k)k.hasOwnProperty(K)&&W.push(K);W.sort();for(var j=0;j<W.length;j++){K=W[j];var J=k[K];if(J!=null){var Q=encodeURIComponent(K);if(p(J))for(var M=0;M<J.length;M++){var D=K+"[]="+encodeURIComponent(J[M]);U.push(D)}else Q+="="+encodeURIComponent(J),U.push(Q)}}return U.length===0?"":"?"+U.join("&")},parseQueryString:function(k){for(var $=k.split("&"),U={},W=0;W<$.length;W++){var K=$[W].split("="),j=L(K[0]),J=j.length,Q=!1,M;K.length===1?M="true":(J>2&&j.slice(J-2)==="[]"&&(Q=!0,j=j.slice(0,J-2),U[j]||(U[j]=[])),M=K[1]?L(K[1]):""),Q?U[j].push(M):U[j]=M}return U},recognize:function(k){var $=[this.rootState],U,W,K,j={},J=!1;if(K=k.indexOf("?"),K!==-1){var Q=k.substr(K+1,k.length);k=k.substr(0,K),j=this.parseQueryString(Q)}for(k=decodeURI(k),k.charAt(0)!=="/"&&(k="/"+k),U=k.length,U>1&&k.charAt(U-1)==="/"&&(k=k.substr(0,U-1),J=!0),W=0;W<k.length&&($=b($,k.charAt(W)),!!$.length);W++);var M=[];for(W=0;W<$.length;W++)$[W].handlers&&M.push($[W]);$=v(M);var D=M[0];if(D&&D.handlers)return J&&D.regex.source.slice(-5)==="(.+)$"&&(k=k+"/"),I(D,k,j)}},B.prototype.map=r,B.VERSION="0.1.11";var q=B;A(3).amd?(_=(function(){return q}).call(C,A,C,P),_!==void 0&&(P.exports=_)):typeof P<"u"&&P.exports?P.exports=q:typeof this<"u"&&(this.RouteRecognizer=q)}).call(this)}).call(C,A(2)(S))},function(S,C){S.exports=function(A){return A.webpackPolyfill||(A.deprecate=function(){},A.paths=[],A.children=[],A.webpackPolyfill=1),A}},function(S,C){S.exports=function(){throw new Error("define cannot be used indirect")}}])})},"./src/FilterBuilders/advancedFilterBuilder.ts"(T,S,C){var A=this&&this.__extends||(function(){var w=function(g,c){return w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,r){f.__proto__=r}||function(f,r){for(var d in r)Object.prototype.hasOwnProperty.call(r,d)&&(f[d]=r[d])},w(g,c)};return function(g,c){if(typeof c!="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");w(g,c);function f(){this.constructor=g}g.prototype=c===null?Object.create(c):(f.prototype=c.prototype,new f)}})();Object.defineProperty(S,"__esModule",{value:!0}),S.AdvancedFilterBuilder=void 0;var _=C("./node_modules/powerbi-models/dist/models.js"),P=C("./src/FilterBuilders/filterBuilder.ts"),i=(function(w){A(g,w);function g(){var c=w!==null&&w.apply(this,arguments)||this;return c.conditions=[],c}return g.prototype.and=function(){return this.logicalOperator="And",this},g.prototype.or=function(){return this.logicalOperator="Or",this},g.prototype.addCondition=function(c,f){var r={operator:c,value:f};return this.conditions.push(r),this},g.prototype.build=function(){var c=new _.AdvancedFilter(this.target,this.logicalOperator,this.conditions);return c},g})(P.FilterBuilder);S.AdvancedFilterBuilder=i},"./src/FilterBuilders/basicFilterBuilder.ts"(T,S,C){var A=this&&this.__extends||(function(){var w=function(g,c){return w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,r){f.__proto__=r}||function(f,r){for(var d in r)Object.prototype.hasOwnProperty.call(r,d)&&(f[d]=r[d])},w(g,c)};return function(g,c){if(typeof c!="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");w(g,c);function f(){this.constructor=g}
10g.prototype=c===null?Object.create(c):(f.prototype=c.prototype,new f)}})();Object.defineProperty(S,"__esModule",{value:!0}),S.BasicFilterBuilder=void 0;var _=C("./node_modules/powerbi-models/dist/models.js"),P=C("./src/FilterBuilders/filterBuilder.ts"),i=(function(w){A(g,w);function g(){var c=w!==null&&w.apply(this,arguments)||this;return c.isRequireSingleSelection=!1,c}return g.prototype.in=function(c){return this.operator="In",this.values=c,this},g.prototype.notIn=function(c){return this.operator="NotIn",this.values=c,this},g.prototype.all=function(){return this.operator="All",this.values=[],this},g.prototype.requireSingleSelection=function(c){return c===void 0&&(c=!1),this.isRequireSingleSelection=c,this},g.prototype.build=function(){var c=new _.BasicFilter(this.target,this.operator,this.values);return c.requireSingleSelection=this.isRequireSingleSelection,c},g})(P.FilterBuilder);S.BasicFilterBuilder=i},"./src/FilterBuilders/filterBuilder.ts"(T,S){Object.defineProperty(S,"__esModule",{value:!0}),S.FilterBuilder=void 0;var C=(function(){function A(){}return A.prototype.withTargetObject=function(_){return this.target=_,this},A.prototype.withColumnTarget=function(_,P){return this.target={table:_,column:P},this},A.prototype.withMeasureTarget=function(_,P){return this.target={table:_,measure:P},this},A.prototype.withHierarchyLevelTarget=function(_,P,i){return this.target={table:_,hierarchy:P,hierarchyLevel:i},this},A.prototype.withColumnAggregation=function(_,P,i){return this.target={table:_,column:P,aggregationFunction:i},this},A.prototype.withHierarchyLevelAggregationTarget=function(_,P,i,w){return this.target={table:_,hierarchy:P,hierarchyLevel:i,aggregationFunction:w},this},A})();S.FilterBuilder=C},"./src/FilterBuilders/index.ts"(T,S,C){Object.defineProperty(S,"__esModule",{value:!0}),S.RelativeTimeFilterBuilder=S.RelativeDateFilterBuilder=S.TopNFilterBuilder=S.AdvancedFilterBuilder=S.BasicFilterBuilder=void 0;var A=C("./src/FilterBuilders/basicFilterBuilder.ts");Object.defineProperty(S,"BasicFilterBuilder",{enumerable:!0,get:function(){return A.BasicFilterBuilder}});var _=C("./src/FilterBuilders/advancedFilterBuilder.ts");Object.defineProperty(S,"AdvancedFilterBuilder",{enumerable:!0,get:function(){return _.AdvancedFilterBuilder}});var P=C("./src/FilterBuilders/topNFilterBuilder.ts");Object.defineProperty(S,"TopNFilterBuilder",{enumerable:!0,get:function(){return P.TopNFilterBuilder}});var i=C("./src/FilterBuilders/relativeDateFilterBuilder.ts");Object.defineProperty(S,"RelativeDateFilterBuilder",{enumerable:!0,get:function(){return i.RelativeDateFilterBuilder}});var w=C("./src/FilterBuilders/relativeTimeFilterBuilder.ts");Object.defineProperty(S,"RelativeTimeFilterBuilder",{enumerable:!0,get:function(){return w.RelativeTimeFilterBuilder}})},"./src/FilterBuilders/relativeDateFilterBuilder.ts"(T,S,C){var A=this&&this.__extends||(function(){var w=function(g,c){return w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,r){f.__proto__=r}||function(f,r){for(var d in r)Object.prototype.hasOwnProperty.call(r,d)&&(f[d]=r[d])},w(g,c)};return function(g,c){if(typeof c!="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");w(g,c);function f(){this.constructor=g}g.prototype=c===null?Object.create(c):(f.prototype=c.prototype,new f)}})();Object.defineProperty(S,"__esModule",{value:!0}),S.RelativeDateFilterBuilder=void 0;var _=C("./node_modules/powerbi-models/dist/models.js"),P=C("./src/FilterBuilders/filterBuilder.ts"),i=(function(w){A(g,w);function g(){var c=w!==null&&w.apply(this,arguments)||this;return c.isTodayIncluded=!0,c}return g.prototype.inLast=function(c,f){return this.operator=_.RelativeDateOperators.InLast,this.timeUnitsCount=c,this.timeUnitType=f,this},g.prototype.inThis=function(c,f){return this.operator=_.RelativeDateOperators.InThis,this.timeUnitsCount=c,this.timeUnitType=f,this},g.prototype.inNext=function(c,f){return this.operator=_.RelativeDateOperators.InNext,this.timeUnitsCount=c,this.timeUnitType=f,this},g.prototype.includeToday=function(c){return this.isTodayIncluded=c,this},g.prototype.build=function(){var c=new _.RelativeDateFilter(this.target,this.operator,this.timeUnitsCount,this.timeUnitType,this.isTodayIncluded);return c},g})(P.FilterBuilder);S.RelativeDateFilterBuilder=i},"./src/FilterBuilders/relativeTimeFilterBuilder.ts"(T,S,C){var A=this&&this.__extends||(function(){var w=function(g,c){return w=Object.
10setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,r){f.__proto__=r}||function(f,r){for(var d in r)Object.prototype.hasOwnProperty.call(r,d)&&(f[d]=r[d])},w(g,c)};return function(g,c){if(typeof c!="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");w(g,c);function f(){this.constructor=g}g.prototype=c===null?Object.create(c):(f.prototype=c.prototype,new f)}})();Object.defineProperty(S,"__esModule",{value:!0}),S.RelativeTimeFilterBuilder=void 0;var _=C("./node_modules/powerbi-models/dist/models.js"),P=C("./src/FilterBuilders/filterBuilder.ts"),i=(function(w){A(g,w);function g(){return w!==null&&w.apply(this,arguments)||this}return g.prototype.inLast=function(c,f){return this.operator=_.RelativeDateOperators.InLast,this.timeUnitsCount=c,this.timeUnitType=f,this},g.prototype.inThis=function(c,f){return this.operator=_.RelativeDateOperators.InThis,this.timeUnitsCount=c,this.timeUnitType=f,this},g.prototype.inNext=function(c,f){return this.operator=_.RelativeDateOperators.InNext,this.timeUnitsCount=c,this.timeUnitType=f,this},g.prototype.build=function(){var c=new _.RelativeTimeFilter(this.target,this.operator,this.timeUnitsCount,this.timeUnitType);return c},g})(P.FilterBuilder);S.RelativeTimeFilterBuilder=i},"./src/FilterBuilders/topNFilterBuilder.ts"(T,S,C){var A=this&&this.__extends||(function(){var w=function(g,c){return w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,r){f.__proto__=r}||function(f,r){for(var d in r)Object.prototype.hasOwnProperty.call(r,d)&&(f[d]=r[d])},w(g,c)};return function(g,c){if(typeof c!="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");w(g,c);function f(){this.constructor=g}g.prototype=c===null?Object.create(c):(f.prototype=c.prototype,new f)}})();Object.defineProperty(S,"__esModule",{value:!0}),S.TopNFilterBuilder=void 0;var _=C("./node_modules/powerbi-models/dist/models.js"),P=C("./src/FilterBuilders/filterBuilder.ts"),i=(function(w){A(g,w);function g(){return w!==null&&w.apply(this,arguments)||this}return g.prototype.top=function(c){return this.operator="Top",this.itemCount=c,this},g.prototype.bottom=function(c){return this.operator="Bottom",this.itemCount=c,this},g.prototype.orderByTarget=function(c){return this.orderByTargetValue=c,this},g.prototype.build=function(){var c=new _.TopNFilter(this.target,this.operator,this.itemCount,this.orderByTargetValue);return c},g})(P.FilterBuilder);S.TopNFilterBuilder=i},"./src/bookmarksManager.ts"(T,S,C){var A=this&&this.__awaiter||function(g,c,f,r){function d(h){return h instanceof f?h:new f(function(p){p(h)})}return new(f||(f=Promise))(function(h,p){function o(l){try{u(r.next(l))}catch(s){p(s)}}function a(l){try{u(r.throw(l))}catch(s){p(s)}}function u(l){l.done?h(l.value):d(l.value).then(o,a)}u((r=r.apply(g,c||[])).next())})},_=this&&this.__generator||function(g,c){var f={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},r,d,h,p;return p={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function o(u){return function(l){return a([u,l])}}function a(u){if(r)throw new TypeError("Generator is already executing.");for(;f;)try{if(r=1,d&&(h=u[0]&2?d.return:u[0]?d.throw||((h=d.return)&&h.call(d),0):d.next)&&!(h=h.call(d,u[1])).done)return h;switch(d=0,h&&(u=[u[0]&2,h.value]),u[0]){case 0:case 1:h=u;break;case 4:return f.label++,{value:u[1],done:!1};case 5:f.label++,d=u[1],u=[0];continue;case 7:u=f.ops.pop(),f.trys.pop();continue;default:if(h=f.trys,!(h=h.length>0&&h[h.length-1])&&(u[0]===6||u[0]===2)){f=0;continue}if(u[0]===3&&(!h||u[1]>h[0]&&u[1]<h[3])){f.label=u[1];break}if(u[0]===6&&f.label<h[1]){f.label=h[1],h=u;break}if(h&&f.label<h[2]){f.label=h[2],f.ops.push(u);break}h[2]&&f.ops.pop(),f.trys.pop();continue}u=c.call(g,f)}catch(l){u=[6,l],d=0}finally{r=h=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}};Object.defineProperty(S,"__esModule",{value:!0}),S.BookmarksManager=void 0;var P=C("./src/util.ts"),i=C("./src/errors.ts"),w=(function(){function g(c,f,r){this.service=c,this.config=f,this.iframe=r}return g.prototype.getBookmarks=function(){return A(this,void 0,void 0,function(){var c,f;return _(this,function(r){switch(r.label){case 0:if((0,P.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(i.APINotSupportedForRDLError)];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.service.hpm.get("/report/bookmarks",{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return c=r.sent(),[2,c.body];
10case 3:throw f=r.sent(),f.body;case 4:return[2]}})})},g.prototype.apply=function(c){return A(this,void 0,void 0,function(){var f,r;return _(this,function(d){switch(d.label){case 0:if((0,P.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(i.APINotSupportedForRDLError)];f={name:c},d.label=1;case 1:return d.trys.push([1,3,,4]),[4,this.service.hpm.post("/report/bookmarks/applyByName",f,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,d.sent()];case 3:throw r=d.sent(),r.body;case 4:return[2]}})})},g.prototype.play=function(c){return A(this,void 0,void 0,function(){var f,r;return _(this,function(d){switch(d.label){case 0:if((0,P.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(i.APINotSupportedForRDLError)];f={playMode:c},d.label=1;case 1:return d.trys.push([1,3,,4]),[4,this.service.hpm.post("/report/bookmarks/play",f,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,d.sent()];case 3:throw r=d.sent(),r.body;case 4:return[2]}})})},g.prototype.capture=function(c){return A(this,void 0,void 0,function(){var f,r,d;return _(this,function(h){switch(h.label){case 0:if((0,P.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(i.APINotSupportedForRDLError)];f={options:c||{}},h.label=1;case 1:return h.trys.push([1,3,,4]),[4,this.service.hpm.post("/report/bookmarks/capture",f,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return r=h.sent(),[2,r.body];case 3:throw d=h.sent(),d.body;case 4:return[2]}})})},g.prototype.applyState=function(c){return A(this,void 0,void 0,function(){var f,r;return _(this,function(d){switch(d.label){case 0:if((0,P.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(i.APINotSupportedForRDLError)];f={state:c},d.label=1;case 1:return d.trys.push([1,3,,4]),[4,this.service.hpm.post("/report/bookmarks/applyState",f,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,d.sent()];case 3:throw r=d.sent(),r.body;case 4:return[2]}})})},g})();S.BookmarksManager=w},"./src/config.ts"(T,S){Object.defineProperty(S,"__esModule",{value:!0});var C={version:"2.24.1",type:"js"};S.default=C},"./src/create.ts"(T,S,C){var A=this&&this.__extends||(function(){var f=function(r,d){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,p){h.__proto__=p}||function(h,p){for(var o in p)Object.prototype.hasOwnProperty.call(p,o)&&(h[o]=p[o])},f(r,d)};return function(r,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");f(r,d);function h(){this.constructor=r}r.prototype=d===null?Object.create(d):(h.prototype=d.prototype,new h)}})(),_=this&&this.__awaiter||function(f,r,d,h){function p(o){return o instanceof d?o:new d(function(a){a(o)})}return new(d||(d=Promise))(function(o,a){function u(y){try{s(h.next(y))}catch(v){a(v)}}
10function l(y){try{s(h.throw(y))}catch(v){a(v)}}function s(y){y.done?o(y.value):p(y.value).then(u,l)}s((h=h.apply(f,r||[])).next())})},P=this&&this.__generator||function(f,r){var d={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},h,p,o,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(s){return function(y){return l([s,y])}}function l(s){if(h)throw new TypeError("Generator is already executing.");for(;d;)try{if(h=1,p&&(o=s[0]&2?p.return:s[0]?p.throw||((o=p.return)&&o.call(p),0):p.next)&&!(o=o.call(p,s[1])).done)return o;switch(p=0,o&&(s=[s[0]&2,o.value]),s[0]){case 0:case 1:o=s;break;case 4:return d.label++,{value:s[1],done:!1};case 5:d.label++,p=s[1],s=[0];continue;case 7:s=d.ops.pop(),d.trys.pop();continue;default:if(o=d.trys,!(o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){d=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){d.label=s[1];break}if(s[0]===6&&d.label<o[1]){d.label=o[1],o=s;break}if(o&&d.label<o[2]){d.label=o[2],d.ops.push(s);break}o[2]&&d.ops.pop(),d.trys.pop();continue}s=r.call(f,d)}catch(y){s=[6,y],p=0}finally{h=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}};Object.defineProperty(S,"__esModule",{value:!0}),S.Create=void 0;var i=C("./node_modules/powerbi-models/dist/models.js"),w=C("./src/embed.ts"),g=C("./src/util.ts"),c=(function(f){A(r,f);function r(d,h,p,o,a){return f.call(this,d,h,p,void 0,o,a)||this}return r.prototype.getId=function(){var d=this.createConfig&&this.createConfig.datasetId?this.createConfig.datasetId:r.findIdFromEmbedUrl(this.config.embedUrl);if(typeof d!="string"||d.length===0)throw new Error("Dataset id is required, but it was not found. You must provide an id either as part of embed configuration.");return d},r.prototype.validate=function(d){return(0,i.validateCreateReport)(d)},r.prototype.configChanged=function(d){if(!d){var h=this.config;this.createConfig={accessToken:h.accessToken,datasetId:h.datasetId||this.getId(),groupId:h.groupId,settings:h.settings,tokenType:h.tokenType,theme:h.theme}}},r.prototype.getDefaultEmbedUrlEndpoint=function(){return"reportEmbed"},r.prototype.isSaved=function(){return _(this,void 0,void 0,function(){return P(this,function(d){switch(d.label){case 0:return[4,g.isSavedInternal(this.service.hpm,this.config.uniqueId,this.iframe.contentWindow)];case 1:return[2,d.sent()]}})})},r.findIdFromEmbedUrl=function(d){var h=/datasetId="?([^&]+)"?/,p=d.match(h),o;return p&&(o=p[1]),o},r.prototype.create=function(){var d;return _(this,void 0,void 0,function(){var h,p,o,a;return P(this,function(u){switch(u.label){case 0:if(h=(0,i.validateCreateReport)(this.createConfig),h)throw h;u.label=1;case 1:return u.trys.push([1,3,,4]),p={uid:this.config.uniqueId,sdkSessionId:this.service.getSdkSessionId()},!((d=this.eventHooks)===null||d===void 0)&&d.accessTokenProvider&&(p.tokenProviderSupplied=!0),[4,this.service.hpm.post("/report/create",this.createConfig,p,this.iframe.contentWindow)];case 2:return o=u.sent(),[2,o.body];case 3:throw a=u.sent(),a.body;case 4:return[2]}})})},r})(w.Embed);S.Create=c},"./src/dashboard.ts"(T,S,C){var A=this&&this.__extends||(function(){var w=function(g,c){return w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,r){f.__proto__=r}||function(f,r){for(var d in r)Object.prototype.hasOwnProperty.call(r,d)&&(f[d]=r[d])},w(g,c)};return function(g,c){if(typeof c!="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");w(g,c);function f(){this.constructor=g}g.prototype=c===null?Object.create(c):(f.prototype=c.prototype,new f)}})();Object.defineProperty(S,"__esModule",{value:!0}),S.Dashboard=void 0;var _=C("./node_modules/powerbi-models/dist/models.js"),P=C("./src/embed.ts"),i=(function(w){A(g,w);function g(c,f,r,d,h){var p=w.call(this,c,f,r,void 0,d,h)||this;return p.loadPath="/dashboard/load",p.phasedLoadPath="/dashboard/prepare",Array.prototype.push.apply(p.allowedEvents,g.allowedEvents),p}return g.findIdFromEmbedUrl=function(c){var f=/dashboardId="?([^&]+)"?/,r=c.match(f),d;return r&&(d=r[1]),d},g.prototype.getId=function(){var c=this.config,f=c.id||this.element.getAttribute(g.dashboardIdAttribute)||g.findIdFromEmbedUrl(c.embedUrl);if(typeof f!="string"||f.length===0)throw new Error("Dashboard id is required, but it was not found. You must provide an id either as part of embed configuration or as attribute '".concat(g.dashboardIdAttribute,"'."));return f},g.prototype.validate=function(c){var f=c,r=(0,_.validateDashboardLoad)(f);return r||this.validatePageView(f.pageView)},g.prototype.configChanged=function(c){c||(this.config.id=this.getId())},g.prototype.getDefaultEmbedUrlEndpoint=function(){return"dashboardEmbed"},g.prototype.validatePageView=function(c){if(c&&c!=="fitToWidth"&&c!=="oneColumn"&&c!=="actualSize")return[{message:"pageView must be one of the followings: fitToWidth, oneColumn, actualSize"}]},g.allowedEvents=["tileClicked","error"],g.dashboardIdAttribute="powerbi-dashboard-id",g.typeAttribute="powerbi-type",g.type="Dashboard",g})(P.Embed);S.Dashboard=i},"./src/embed.ts"(T,S,C){var A=this&&this.__awaiter||function(f,r,d,h){function p(o){return o instanceof d?o:new d(function(a){a(o)})}
10return new(d||(d=Promise))(function(o,a){function u(y){try{s(h.next(y))}catch(v){a(v)}}function l(y){try{s(h.throw(y))}catch(v){a(v)}}function s(y){y.done?o(y.value):p(y.value).then(u,l)}s((h=h.apply(f,r||[])).next())})},_=this&&this.__generator||function(f,r){var d={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},h,p,o,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(s){return function(y){return l([s,y])}}function l(s){if(h)throw new TypeError("Generator is already executing.");for(;d;)try{if(h=1,p&&(o=s[0]&2?p.return:s[0]?p.throw||((o=p.return)&&o.call(p),0):p.next)&&!(o=o.call(p,s[1])).done)return o;switch(p=0,o&&(s=[s[0]&2,o.value]),s[0]){case 0:case 1:o=s;break;case 4:return d.label++,{value:s[1],done:!1};case 5:d.label++,p=s[1],s=[0];continue;case 7:s=d.ops.pop(),d.trys.pop();continue;default:if(o=d.trys,!(o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){d=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){d.label=s[1];break}if(s[0]===6&&d.label<o[1]){d.label=o[1],o=s;break}if(o&&d.label<o[2]){d.label=o[2],d.ops.push(s);break}o[2]&&d.ops.pop(),d.trys.pop();continue}s=r.call(f,d)}catch(y){s=[6,y],p=0}finally{h=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}};Object.defineProperty(S,"__esModule",{value:!0}),S.Embed=void 0;var P=C("./node_modules/powerbi-models/dist/models.js"),i=C("./src/config.ts"),w=C("./src/errors.ts"),g=C("./src/util.ts"),c=(function(){function f(r,d,h,p,o,a){if(this.allowedEvents=[],(0,g.autoAuthInEmbedUrl)(h.embedUrl))throw new Error(w.EmbedUrlNotSupported);Array.prototype.push.apply(this.allowedEvents,f.allowedEvents),this.eventHandlers=[],this.service=r,this.element=d,this.iframe=p,this.iframeLoaded=!1,this.embedtype=h.type.toLowerCase(),this.commands=[],this.groups=[],this.populateConfig(h,a),(0,g.isCreate)(this.embedtype)?this.setIframe(!1,o,a):this.setIframe(!0,o,a)}return f.prototype.create=function(){throw new Error("no create support")},f.prototype.save=function(){return A(this,void 0,void 0,function(){var r,d;return _(this,function(h){switch(h.label){case 0:return h.trys.push([0,2,,3]),[4,this.service.hpm.post("/report/save",null,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 1:return r=h.sent(),[2,r.body];case 2:throw d=h.sent(),d.body;case 3:return[2]}})})},f.prototype.saveAs=function(r){return A(this,void 0,void 0,function(){var d,h;return _(this,function(p){switch(p.label){case 0:return p.trys.push([0,2,,3]),[4,this.service.hpm.post("/report/saveAs",r,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 1:return d=p.sent(),[2,d.body];case 2:throw h=p.sent(),h.body;case 3:return[2]}})})},f.prototype.getCorrelationId=function(){return A(this,void 0,void 0,function(){var r,d;return _(this,function(h){switch(h.label){case 0:return h.trys.push([0,2,,3]),[4,this.service.hpm.get("/getCorrelationId",{uid:this.config.uniqueId},this.iframe.contentWindow)];case 1:return r=h.sent(),[2,r.body];case 2:throw d=h.sent(),d.body;case 3:return[2]}})})},f.prototype.load=function(r){var d;return A(this,void 0,void 0,function(){var h,p,o,a,u;return _(this,function(l){switch(l.label){case 0:if(!this.config.accessToken)return console.debug("Power BI SDK iframe is loaded but powerbi.embed is not called yet."),[2];if(!this.iframeLoaded)return console.debug("Power BI SDK is trying to post /report/load before iframe is ready."),[2];if(h=r&&this.config.type==="report"?this.phasedLoadPath:this.loadPath,p={uid:this.config.uniqueId,sdkSessionId:this.service.getSdkSessionId(),bootstrapped:this.config.bootstrapped,sdkVersion:i.default.version},!((d=this.eventHooks)===null||d===void 0)&&d.accessTokenProvider&&(p.tokenProviderSupplied=!0),o=new Date,this.lastLoadRequest&&(0,g.getTimeDiffInMilliseconds)(this.lastLoadRequest,o)<100)return console.debug("Power BI SDK sent more than two /report/load requests in the last 100ms interval."),[2];this.lastLoadRequest=o,l.label=1;case 1:return l.trys.push([1,3,,4]),[4,this.service.hpm.post(h,this.config,p,this.iframe.contentWindow)];case 2:return a=l.sent(),[2,a.body];case 3:throw u=l.sent(),u.body;case 4:return[2]}})})},f.prototype.off=function(r,d){var h=this,p={name:r,type:null,id:null,value:null};if(d)(0,g.remove)(function(a){return a.test(p)&&a.handle===d},this.eventHandlers),this.element.removeEventListener(r,d);else{var o=this.eventHandlers.filter(function(a){return a.test(p)});o.forEach(function(a){(0,g.remove)(function(u){return u===a},h.eventHandlers),h.element.removeEventListener(r,a.handle)})}},f.prototype.on=function(r,d){if(this.allowedEvents.indexOf(r)===-1)throw new Error("eventName must be one of ".concat(this.allowedEvents,". You passed: ").concat(r));this.eventHandlers.push({test:function(h){return h.name===r},handle:d}),this.element.addEventListener(r,d)},f.prototype.reload=function(){return A(this,void 0,void 0,function(){return _(this,function(r){switch(r.label){case 0:return[4,this.load()];case 1:return[2,r.sent()]}})})},f.prototype.setAccessToken=function(r){return A(this,void 0,void 0,function(){var d,h,p;return _(this,function(o){switch(o.label){case 0:if(!r)throw new Error("Access token cannot be empty");d=this.config.type,d=d==="create"||d==="visual"||d==="qna"||d==="quickCreate"?"report":d,o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.service.hpm.post("/"+d+"/token",r,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return h=o.sent(),this.config.accessToken=r,this.element.setAttribute(f.accessTokenAttribute,r),this.service.accessToken=r,[2,h.body];case 3:throw p=o.sent(),p.body;case 4:return[2]}})})},f.prototype.getAccessToken=function(r){var d=this.config.accessToken||this.element.getAttribute(f.accessTokenAttribute)||r;if(!d)throw new Error("No access token was found for element. You must specify an access token directly on the element using attribute '".concat(f.accessTokenAttribute,"' or specify a global token at: powerbi.accessToken."));return d},f.prototype.populateConfig=function(r,d){var h=this,p,o,a,u,l,s,y,v,b;this.bootstrapConfig?(this.config=(0,g.assign)({},this.bootstrapConfig,r),this.bootstrapConfig=null):this.config=(0,g.assign)({},r),this.config.embedUrl=this.getEmbedUrl(d),this.config.groupId=this.getGroupId(),this.addLocaleToEmbedUrl(r),this.config.uniqueId=this.getUniqueId();var E=(o=(p=this.config)===null||p===void 0?void 0:p.settings)===null||o===void 0?void 0:o.extensions;this.commands=(a=E?.commands)!==null&&a!==void 0?a:[],this.groups=(u=E?.groups)!==null&&u!==void 0?u:[],this.initialLayoutType=(y=(s=(l=this.config)===null||l===void 0?void 0:l.settings)===null||s===void 0?void 0:s.layoutType)!==null&&y!==void 0?y:P.LayoutType.Master;var N=(b=(v=this.config)===null||v===void 0?void 0:v.settings)===null||b===void 0?void 0:b.extensions;Array.isArray(N)&&(this.commands=[],N.map(function(I){I?.command&&h.commands.push(I.command)})),d?(this.bootstrapConfig=this.config,this.bootstrapConfig.bootstrapped=!0):this.config.accessToken=this.getAccessToken(this.service.accessToken),this.eventHooks=this.config.eventHooks,this.validateEventHooks(this.eventHooks),delete this.config.eventHooks,this.configChanged(d)},f.prototype.validateEventHooks=function(r){if(r){for(var d in r)if(r.hasOwnProperty(d)&&typeof r[d]!="function")throw new Error(d+" must be a function");var h=r.applicationContextProvider;if(h){if(this.embedtype.toLowerCase()!=="report")throw new Error("applicationContextProvider is only supported in report embed");this.config.embedUrl=(0,g.addParamToUrl)(this.config.embedUrl,"registerQueryCallback","true")}var p=r.accessTokenProvider;if(p&&(["create","quickcreate","report"].indexOf(this.embedtype.toLowerCase())===-1||this.config.tokenType!==P.TokenType.Aad))throw new Error("accessTokenProvider is only supported in report SaaS embed")}},f.prototype.addLocaleToEmbedUrl=function(r){if(r.settings){var d=r.settings.localeSettings;d&&d.language&&(this.config.embedUrl=(0,g.addParamToUrl)(this.config.embedUrl,"language",d.language)),d&&d.formatLocale&&(this.config.embedUrl=(0,g.addParamToUrl)(this.config.embedUrl,"formatLocale",d.formatLocale))}},f.prototype.getEmbedUrl=function(r){var d=this.config.embedUrl||this.element.getAttribute(f.embedUrlAttribute);if(r&&!d&&(d=this.getDefaultEmbedUrl(this.config.hostname)),typeof d!="string"||d.length===0)throw new Error("Embed Url is required, but it was not found. You must provide an embed url either as part of embed configuration or as attribute '".concat(f.embedUrlAttribute,"'."));return d},f.prototype.getDefaultEmbedUrl=function(r){r||(r=f.defaultEmbedHostName);var d=this.getDefaultEmbedUrlEndpoint();return r=r.toLowerCase().trim(),r.indexOf("https://")===0?"".concat(r,"/").concat(d):"https://".concat(r,"/").concat(d)},f.prototype.getUniqueId=function(){return this.config.uniqueId||this.element.getAttribute(f.nameAttribute)||(0,g.createRandomString)()},f.prototype.getGroupId=function(){return this.config.groupId||f.findGroupIdFromEmbedUrl(this.config.embedUrl)},f.prototype.fullscreen=function(){var r=this.iframe.requestFullscreen||this.iframe.msRequestFullscreen||this.iframe.mozRequestFullScreen||this.iframe.webkitRequestFullscreen;r.call(this.iframe)},f.prototype.exitFullscreen=function(){if(this.isFullscreen(this.iframe)){var r=document.exitFullscreen||document.mozCancelFullScreen||document.webkitExitFullscreen||document.msExitFullscreen;r.call(document)}},f.prototype.isFullscreen=function(r){var d=["fullscreenElement","webkitFullscreenElement","mozFullscreenScreenElement","msFullscreenElement"];return d.some(function(h){return document[h]===r})},f.prototype.setIframe=function(r,d,h){var p=this;if(!this.iframe){var o=document.createElement("iframe"),a=this.config.uniqueId?(0,g.addParamToUrl)(this.config.embedUrl,"uid",this.config.uniqueId):this.config.embedUrl;if(!(0,g.validateEmbedUrl)(a))throw new Error(w.invalidEmbedUrlErrorMessage);o.style.width="100%",o.style.height="100%",o.setAttribute("src",a),o.setAttribute("scrolling","no"),o.setAttribute("allowfullscreen","true");for(var u=this.element;u.firstChild;)u.removeChild(u.firstChild);u.appendChild(o),this.iframe=u.firstChild}if(r){if(!h){var l=this.validate(this.config);if(l)throw l}this.iframe.addEventListener("load",function(){p.iframeLoaded=!0,p.load(d)},!1),this.service.getNumberOfComponents()<=f.maxFrontLoadTimes&&(this.frontLo
10adHandler=function(){p.frontLoadSendConfig(p.config)},this.element.addEventListener("ready",this.frontLoadHandler,!1))}else this.iframe.addEventListener("load",function(){return p.create()},!1)},f.prototype.setComponentTitle=function(r){this.iframe&&(r==null?this.iframe.removeAttribute("title"):this.iframe.setAttribute("title",r))},f.prototype.setComponentTabIndex=function(r){this.element&&this.element.setAttribute("tabindex",r==null?"0":r.toString())},f.prototype.removeComponentTabIndex=function(r){this.element&&this.element.removeAttribute("tabindex")},f.findGroupIdFromEmbedUrl=function(r){var d=/groupId="?([^&]+)"?/,h=r.match(d),p;return h&&(p=h[1]),p},f.prototype.frontLoadSendConfig=function(r){return A(this,void 0,void 0,function(){var d,h,p;return _(this,function(o){switch(o.label){case 0:if(!r.accessToken)return[2];if(d=this.validate(r),d)throw d;if(this.iframe.contentWindow==null)return[2];o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.service.hpm.post("/frontload/config",r,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return h=o.sent(),[2,h.body];case 3:throw p=o.sent(),p.body;case 4:return[2]}})})},f.allowedEvents=["loaded","saved","rendered","saveAsTriggered","error","dataSelected","buttonClicked","info"],f.accessTokenAttribute="powerbi-access-token",f.embedUrlAttribute="powerbi-embed-url",f.nameAttribute="powerbi-name",f.typeAttribute="powerbi-type",f.defaultEmbedHostName="https://app.powerbi.com",f.maxFrontLoadTimes=2,f})();S.Embed=c},"./src/errors.ts"(T,S){Object.defineProperty(S,"__esModule",{value:!0}),S.invalidEmbedUrlErrorMessage=S.EmbedUrlNotSupported=S.APINotSupportedForRDLError=void 0,S.APINotSupportedForRDLError="This API is currently not supported for RDL reports",S.EmbedUrlNotSupported="Embed URL is invalid for this scenario. Please use Power BI REST APIs to get the valid URL",S.invalidEmbedUrlErrorMessage="Invalid embed URL detected. Either URL hostname or protocol are invalid. Please use Power BI REST APIs to get the valid URL"},"./src/factories.ts"(T,S,C){Object.defineProperty(S,"__esModule",{value:!0}),S.routerFactory=S.wpmpFactory=S.hpmFactory=void 0;var A=C("./node_modules/window-post-message-proxy/dist/windowPostMessageProxy.js"),_=C("./node_modules/http-post-message/dist/httpPostMessage.js"),P=C("./node_modules/powerbi-router/dist/router.js"),i=C("./src/config.ts"),w=function(f,r,d,h,p){return d===void 0&&(d=i.default.version),h===void 0&&(h=i.default.type),new _.HttpPostMessage(f,{"x-sdk-type":h,"x-sdk-version":d,"x-sdk-wrapper-version":p},r)};S.hpmFactory=w;var g=function(f,r,d){return new A.WindowPostMessageProxy({processTrackingProperties:{addTrackingProperties:_.HttpPostMessage.addTrackingProperties,getTrackingProperties:_.HttpPostMessage.getTrackingProperties},isErrorMessage:_.HttpPostMessage.isErrorMessage,suppressWarnings:!0,name:f,logMessages:r,eventSourceOverrideWindow:d})};S.wpmpFactory=g;var c=function(f){return new P.Router(f)};S.routerFactory=c},"./src/page.ts"(T,S,C){var A=this&&this.__awaiter||function(f,r,d,h){function p(o){return o instanceof d?o:new d(function(a){a(o)})}return new(d||(d=Promise))(function(o,a){function u(y){try{s(h.next(y))}catch(v){a(v)}}
10function l(y){try{s(h.throw(y))}catch(v){a(v)}}function s(y){y.done?o(y.value):p(y.value).then(u,l)}s((h=h.apply(f,r||[])).next())})},_=this&&this.__generator||function(f,r){var d={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},h,p,o,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(s){return function(y){return l([s,y])}}function l(s){if(h)throw new TypeError("Generator is already executing.");for(;d;)try{if(h=1,p&&(o=s[0]&2?p.return:s[0]?p.throw||((o=p.return)&&o.call(p),0):p.next)&&!(o=o.call(p,s[1])).done)return o;switch(p=0,o&&(s=[s[0]&2,o.value]),s[0]){case 0:case 1:o=s;break;case 4:return d.label++,{value:s[1],done:!1};case 5:d.label++,p=s[1],s=[0];continue;case 7:s=d.ops.pop(),d.trys.pop();continue;default:if(o=d.trys,!(o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){d=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){d.label=s[1];break}if(s[0]===6&&d.label<o[1]){d.label=o[1],o=s;break}if(o&&d.label<o[2]){d.label=o[2],d.ops.push(s);break}o[2]&&d.ops.pop(),d.trys.pop();continue}s=r.call(f,d)}catch(y){s=[6,y],p=0}finally{h=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}};Object.defineProperty(S,"__esModule",{value:!0}),S.Page=void 0;var P=C("./node_modules/powerbi-models/dist/models.js"),i=C("./src/visualDescriptor.ts"),w=C("./src/util.ts"),g=C("./src/errors.ts"),c=(function(){function f(r,d,h,p,o,a,u,l,s,y){this.report=r,this.name=d,this.displayName=h,this.isActive=p,this.visibility=o,this.defaultSize=a,this.mobileSize=l,this.defaultDisplayOption=u,this.background=s,this.wallpaper=y}return f.prototype.getSmartNarrativeInsights=function(){return A(this,void 0,void 0,function(){var r,d;return _(this,function(h){switch(h.label){case 0:if((0,w.isRDLEmbed)(this.report.config.embedUrl))return[2,Promise.reject(g.APINotSupportedForRDLError)];h.label=1;case 1:return h.trys.push([1,3,,4]),[4,this.report.service.hpm.get("/report/pages/".concat(this.name,"/smartNarrativeInsights"),{uid:this.report.config.uniqueId},this.report.iframe.contentWindow)];case 2:return r=h.sent(),[2,r.body];case 3:throw d=h.sent(),d.body;case 4:return[2]}})})},f.prototype.getFilters=function(){return A(this,void 0,void 0,function(){var r,d;return _(this,function(h){switch(h.label){case 0:return h.trys.push([0,2,,3]),[4,this.report.service.hpm.get("/report/pages/".concat(this.name,"/filters"),{uid:this.report.config.uniqueId},this.report.iframe.contentWindow)];case 1:return r=h.sent(),[2,r.body];case 2:throw d=h.sent(),d.body;case 3:return[2]}})})},f.prototype.updateFilters=function(r,d){return A(this,void 0,void 0,function(){var h,p;return _(this,function(o){switch(o.label){case 0:h={filtersOperation:r,filters:d},o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.report.service.hpm.post("/report/pages/".concat(this.name,"/filters"),h,{uid:this.report.config.uniqueId},this.report.iframe.contentWindow)];case 2:return[2,o.sent()];case 3:throw p=o.sent(),p.body;case 4:return[2]}})})},f.prototype.removeFilters=function(){return A(this,void 0,void 0,function(){return _(this,function(r){switch(r.label){case 0:return[4,this.updateFilters(P.FiltersOperations.RemoveAll)];case 1:return[2,r.sent()]}})})},f.prototype.setFilters=function(r){return A(this,void 0,void 0,function(){var d;return _(this,function(h){switch(h.label){case 0:return h.trys.push([0,2,,3]),[4,this.report.service.hpm.put("/report/pages/".concat(this.name,"/filters"),r,{uid:this.report.config.uniqueId},this.report.iframe.contentWindow)];case 1:return[2,h.sent()];case 2:throw d=h.sent(),d.body;case 3:return[2]}})})},f.prototype.delete=function(){return A(this,void 0,void 0,function(){var r,d;return _(this,function(h){switch(h.label){case 0:return h.trys.push([0,2,,3]),[4,this.report.service.hpm.delete("/report/pages/".concat(this.name),{},{uid:this.report.config.uniqueId},this.report.iframe.contentWindow)];case 1:return r=h.sent(),[2,r.body];case 2:throw d=h.sent(),d.body;case 3:return[2]}})})},f.prototype.setActive=function(){return A(this,void 0,void 0,function(){var r,d;return _(this,function(h){switch(h.label){case 0:r={name:this.name,displayName:null,isActive:!0},h.label=1;case 1:return h.trys.push([1,3,,4]),[4,this.report.service.hpm.put("/report/pages/active",r,{uid:this.report.config.uniqueId},this.report.iframe.contentWindow)];case 2:return[2,h.sent()];case 3:throw d=h.sent(),d.body;case 4:return[2]}})})},f.prototype.setDisplayName=function(r){return A(this,void 0,void 0,function(){var d,h;
10return _(this,function(p){switch(p.label){case 0:d={name:this.name,displayName:r},p.label=1;case 1:return p.trys.push([1,3,,4]),[4,this.report.service.hpm.put("/report/pages/".concat(this.name,"/name"),d,{uid:this.report.config.uniqueId},this.report.iframe.contentWindow)];case 2:return[2,p.sent()];case 3:throw h=p.sent(),h.body;case 4:return[2]}})})},f.prototype.getVisuals=function(){return A(this,void 0,void 0,function(){var r,d,h=this;return _(this,function(p){switch(p.label){case 0:if((0,w.isRDLEmbed)(this.report.config.embedUrl))return[2,Promise.reject(g.APINotSupportedForRDLError)];p.label=1;case 1:return p.trys.push([1,3,,4]),[4,this.report.service.hpm.get("/report/pages/".concat(this.name,"/visuals"),{uid:this.report.config.uniqueId},this.report.iframe.contentWindow)];case 2:return r=p.sent(),[2,r.body.map(function(o){return new i.VisualDescriptor(h,o.name,o.title,o.type,o.layout)})];case 3:throw d=p.sent(),d.body;case 4:return[2]}})})},f.prototype.getVisualByName=function(r){return A(this,void 0,void 0,function(){var d,h,p;return _(this,function(o){switch(o.label){case 0:if((0,w.isRDLEmbed)(this.report.config.embedUrl))return[2,Promise.reject(g.APINotSupportedForRDLError)];o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.report.service.hpm.get("/report/pages/".concat(this.name,"/visuals"),{uid:this.report.config.uniqueId},this.report.iframe.contentWindow)];case 2:return d=o.sent(),h=d.body.find(function(a){return a.name===r}),h?[2,new i.VisualDescriptor(this,h.name,h.title,h.type,h.layout)]:[2,Promise.reject(P.CommonErrorCodes.NotFound)];case 3:throw p=o.sent(),p.body;case 4:return[2]}})})},f.prototype.setVisualDisplayState=function(r,d){return A(this,void 0,void 0,function(){var h,p;return _(this,function(o){return h=this.name,p=this.report,[2,p.setVisualDisplayState(h,r,d)]})})},f.prototype.moveVisual=function(r,d,h,p){return A(this,void 0,void 0,function(){var o,a;return _(this,function(u){return o=this.name,a=this.report,[2,a.moveVisual(o,r,d,h,p)]})})},f.prototype.resizeVisual=function(r,d,h){return A(this,void 0,void 0,function(){var p,o;return _(this,function(a){return p=this.name,o=this.report,[2,o.resizeVisual(p,r,d,h)]})})},f.prototype.resizePage=function(r,d,h){return A(this,void 0,void 0,function(){var p;return _(this,function(o){return this.isActive?(p=this.report,[2,p.resizeActivePage(r,d,h)]):[2,Promise.reject("Cannot resize the page. Only the active page can be resized")]})})},f.prototype.getSlicers=function(){return A(this,void 0,void 0,function(){var r,d,h=this;return _(this,function(p){switch(p.label){case 0:if((0,w.isRDLEmbed)(this.report.config.embedUrl))return[2,Promise.reject(g.APINotSupportedForRDLError)];p.label=1;case 1:return p.trys.push([1,3,,4]),[4,this.report.service.hpm.get("/report/pages/".concat(this.name,"/visuals"),{uid:this.report.config.uniqueId},this.report.iframe.contentWindow)];case 2:return r=p.sent(),[2,r.body.filter(function(o){return o.type==="slicer"}).map(function(o){return new i.VisualDescriptor(h,o.name,o.title,o.type,o.layout)})];case 3:throw d=p.sent(),d.body;case 4:return[2]}})})},f.prototype.hasLayout=function(r){return A(this,void 0,void 0,function(){var d,h,p;return _(this,function(o){switch(o.label){case 0:if((0,w.isRDLEmbed)(this.report.config.embedUrl))return[2,Promise.reject(g.APINotSupportedForRDLError)];d=P.LayoutType[r],o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.report.service.hpm.get("/report/pages/".concat(this.name,"/layoutTypes/").concat(d),{uid:this.report.config.uniqueId},this.report.iframe.contentWindow)];case 2:return h=o.sent(),[2,h.body];case 3:throw p=o.sent(),p.body;case 4:return[2]}})})},f})();S.Page=c},"./src/qna.ts"(T,S,C){var A=this&&this.__extends||(function(){var c=function(f,r){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var p in h)Object.prototype.hasOwnProperty.call(h,p)&&(d[p]=h[p])},c(f,r)};return function(f,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");c(f,r);function d(){this.constructor=f}
10f.prototype=r===null?Object.create(r):(d.prototype=r.prototype,new d)}})(),_=this&&this.__awaiter||function(c,f,r,d){function h(p){return p instanceof r?p:new r(function(o){o(p)})}return new(r||(r=Promise))(function(p,o){function a(s){try{l(d.next(s))}catch(y){o(y)}}function u(s){try{l(d.throw(s))}catch(y){o(y)}}function l(s){s.done?p(s.value):h(s.value).then(a,u)}l((d=d.apply(c,f||[])).next())})},P=this&&this.__generator||function(c,f){var r={label:0,sent:function(){if(p[0]&1)throw p[1];return p[1]},trys:[],ops:[]},d,h,p,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(l){return function(s){return u([l,s])}}function u(l){if(d)throw new TypeError("Generator is already executing.");for(;r;)try{if(d=1,h&&(p=l[0]&2?h.return:l[0]?h.throw||((p=h.return)&&p.call(h),0):h.next)&&!(p=p.call(h,l[1])).done)return p;switch(h=0,p&&(l=[l[0]&2,p.value]),l[0]){case 0:case 1:p=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,h=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(p=r.trys,!(p=p.length>0&&p[p.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!p||l[1]>p[0]&&l[1]<p[3])){r.label=l[1];break}if(l[0]===6&&r.label<p[1]){r.label=p[1],p=l;break}if(p&&r.label<p[2]){r.label=p[2],r.ops.push(l);break}p[2]&&r.ops.pop(),r.trys.pop();continue}l=f.call(c,r)}catch(s){l=[6,s],h=0}finally{d=p=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}};Object.defineProperty(S,"__esModule",{value:!0}),S.Qna=void 0;var i=C("./node_modules/powerbi-models/dist/models.js"),w=C("./src/embed.ts"),g=(function(c){A(f,c);function f(r,d,h,p,o){var a=c.call(this,r,d,h,void 0,p,o)||this;
10return a.loadPath="/qna/load",a.phasedLoadPath="/qna/prepare",Array.prototype.push.apply(a.allowedEvents,f.allowedEvents),a}return f.prototype.getId=function(){return null},f.prototype.setQuestion=function(r){return _(this,void 0,void 0,function(){var d,h;return P(this,function(p){switch(p.label){case 0:d={question:r},p.label=1;case 1:return p.trys.push([1,3,,4]),[4,this.service.hpm.post("/qna/interpret",d,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,p.sent()];case 3:throw h=p.sent(),h.body;case 4:return[2]}})})},f.prototype.configChanged=function(r){},f.prototype.getDefaultEmbedUrlEndpoint=function(){return"qnaEmbed"},f.prototype.validate=function(r){return(0,i.validateLoadQnaConfiguration)(r)},f.type="Qna",f.allowedEvents=["loaded","visualRendered"],f})(w.Embed);S.Qna=g},"./src/quickCreate.ts"(T,S,C){var A=this&&this.__extends||(function(){var c=function(f,r){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var p in h)Object.prototype.hasOwnProperty.call(h,p)&&(d[p]=h[p])},c(f,r)};return function(f,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");c(f,r);function d(){this.constructor=f}f.prototype=r===null?Object.create(r):(d.prototype=r.prototype,new d)}})(),_=this&&this.__awaiter||function(c,f,r,d){function h(p){return p instanceof r?p:new r(function(o){o(p)})}return new(r||(r=Promise))(function(p,o){function a(s){try{l(d.next(s))}catch(y){o(y)}}function u(s){try{l(d.throw(s))}catch(y){o(y)}}function l(s){s.done?p(s.value):h(s.value).then(a,u)}l((d=d.apply(c,f||[])).next())})},P=this&&this.__generator||function(c,f){var r={label:0,sent:function(){if(p[0]&1)throw p[1];return p[1]},trys:[],ops:[]},d,h,p,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(l){return function(s){return u([l,s])}}function u(l){if(d)throw new TypeError("Generator is already executing.");for(;r;)try{if(d=1,h&&(p=l[0]&2?h.return:l[0]?h.throw||((p=h.return)&&p.call(h),0):h.next)&&!(p=p.call(h,l[1])).done)return p;switch(h=0,p&&(l=[l[0]&2,p.value]),l[0]){case 0:case 1:p=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,h=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(p=r.trys,!(p=p.length>0&&p[p.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!p||l[1]>p[0]&&l[1]<p[3])){r.label=l[1];break}if(l[0]===6&&r.label<p[1]){r.label=p[1],p=l;break}if(p&&r.label<p[2]){r.label=p[2],r.ops.push(l);break}p[2]&&r.ops.pop(),r.trys.pop();continue}l=f.call(c,r)}catch(s){l=[6,s],h=0}finally{d=p=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}};Object.defineProperty(S,"__esModule",{value:!0}),S.QuickCreate=void 0;var i=C("./node_modules/powerbi-models/dist/models.js"),w=C("./src/embed.ts"),g=(function(c){A(f,c);function f(r,d,h,p,o){var a=c.call(this,r,d,h,void 0,p,o)||this;return r.router.post("/reports/".concat(a.config.uniqueId,"/eventHooks/:eventName"),function(u,l){return _(a,void 0,void 0,function(){var s,y;return P(this,function(v){switch(v.label){case 0:return s=u.params.eventName,s==="newAccessToken"?[3,1]:[3,3];case 1:return u.body=u.body||{},u.body.report=this,[4,r.invokeSDKHook((y=this.eventHooks)===null||y===void 0?void 0:y.accessTokenProvider,u,l)];case 2:return v.sent(),[3,4];case 3:return[3,4];case 4:return[2]}})})}),a}return f.prototype.getId=function(){return null},f.prototype.validate=function(r){return(0,i.validateQuickCreate)(r)},f.prototype.configChanged=function(r){r||(this.createConfig=this.config)},f.prototype.getDefaultEmbedUrlEndpoint=function(){return"quickCreate"},f.prototype.create=function(){var r;return _(this,void 0,void 0,function(){var d,h,p,o;return P(this,function(a){switch(a.label){case 0:if(d=(0,i.validateQuickCreate)(this.createConfig),d)throw d;a.label=1;case 1:return a.trys.push([1,3,,4]),h={uid:this.config.uniqueId,sdkSessionId:this.service.getSdkSessionId()},!((r=this.eventHooks)===null||r===void 0)&&r.accessTokenProvider&&(h.tokenProviderSupplied=!0),[4,this.service.hpm.post("/quickcreate",this.createConfig,h,this.iframe.contentWindow)];case 2:return p=a.sent(),[2,p.body];case 3:throw o=a.sent(),o.body;case 4:return[2]}})})},f})(w.Embed);S.QuickCreate=g}
10,"./src/report.ts"(T,S,C){var A=this&&this.__extends||(function(){var p=function(o,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,l){u.__proto__=l}||function(u,l){for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(u[s]=l[s])},p(o,a)};return function(o,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(o,a);function u(){this.constructor=o}o.prototype=a===null?Object.create(a):(u.prototype=a.prototype,new u)}})(),_=this&&this.__awaiter||function(p,o,a,u){function l(s){return s instanceof a?s:new a(function(y){y(s)})}return new(a||(a=Promise))(function(s,y){function v(N){try{E(u.next(N))}catch(I){y(I)}}function b(N){try{E(u.throw(N))}catch(I){y(I)}}function E(N){N.done?s(N.value):l(N.value).then(v,b)}E((u=u.apply(p,o||[])).next())})},P=this&&this.__generator||function(p,o){var a={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},u,l,s,y;return y={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(y[Symbol.iterator]=function(){return this}),y;function v(E){return function(N){return b([E,N])}}function b(E){if(u)throw new TypeError("Generator is already executing.");for(;a;)try{if(u=1,l&&(s=E[0]&2?l.return:E[0]?l.throw||((s=l.return)&&s.call(l),0):l.next)&&!(s=s.call(l,E[1])).done)return s;switch(l=0,s&&(E=[E[0]&2,s.value]),E[0]){case 0:case 1:s=E;break;case 4:return a.label++,{value:E[1],done:!1};case 5:a.label++,l=E[1],E=[0];continue;case 7:E=a.ops.pop(),a.trys.pop();continue;default:if(s=a.trys,!(s=s.length>0&&s[s.length-1])&&(E[0]===6||E[0]===2)){a=0;continue}if(E[0]===3&&(!s||E[1]>s[0]&&E[1]<s[3])){a.label=E[1];break}if(E[0]===6&&a.label<s[1]){a.label=s[1],s=E;break}if(s&&a.label<s[2]){a.label=s[2],a.ops.push(E);break}s[2]&&a.ops.pop(),a.trys.pop();continue}E=o.call(p,a)}catch(N){E=[6,N],l=0}finally{u=s=0}if(E[0]&5)throw E[1];return{value:E[0]?E[1]:void 0,done:!0}}},i=this&&this.__spreadArray||function(p,o,a){if(a||arguments.length===2)for(var u=0,l=o.length,s;u<l;u++)(s||!(u in o))&&(s||(s=Array.prototype.slice.call(o,0,u)),s[u]=o[u]);return p.concat(s||Array.prototype.slice.call(o))};Object.defineProperty(S,"__esModule",{value:!0}),S.Report=void 0;var w=C("./node_modules/powerbi-models/dist/models.js"),g=C("./src/embed.ts"),c=C("./src/util.ts"),f=C("./src/errors.ts"),r=C("./src/page.ts"),d=C("./src/bookmarksManager.ts"),h=(function(p){A(o,p);function o(a,u,l,s,y,v){var b=this,E=l;return b=p.call(this,a,u,E,v,s,y)||this,b.loadPath="/report/load",b.phasedLoadPath="/report/prepare",Array.prototype.push.apply(b.allowedEvents,o.allowedEvents),b.bookmarksManager=new d.BookmarksManager(a,E,b.iframe),a.router.post("/reports/".concat(b.config.uniqueId,"/eventHooks/:eventName"),function(N,I){return _(b,void 0,void 0,function(){var L,B,q;return P(this,function(k){switch(k.label){case 0:switch(L=N.params.eventName,L){case"preQuery":return[3,1];case"newAccessToken":return[3,3]}return[3,5];case 1:return N.body=N.body||{},N.body.report=this,[4,a.invokeSDKHook((B=this.eventHooks)===null||B===void 0?void 0:B.applicationContextProvider,N,I)];case 2:return k.sent(),[3,6];case 3:return N.body=N.body||{},N.body.report=this,[4,a.invokeSDKHook((q=this.eventHooks)===null||q===void 0?void 0:q.accessTokenProvider,N,I)];case 4:return k.sent(),[3,6];case 5:return[3,6];case 6:return[2]}})})}),b}return o.findIdFromEmbedUrl=function(a){var u=/reportId="?([^&]+)"?/,l=a.match(u),s;return l&&(s=l[1]),s},o.prototype.render=function(a){return _(this,void 0,void 0,function(){var u,l;return P(this,function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,this.service.hpm.post("/report/render",a,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 1:return u=s.sent(),[2,u.body];case 2:throw l=s.sent(),l.body;case 3:return[2]}})})},o.prototype.addPage=function(a){return _(this,void 0,void 0,function(){var u,l,s,y;return P(this,function(v){switch(v.label){case 0:u={displayName:a},v.label=1;case 1:return v.trys.push([1,3,,4]),[4,this.service.hpm.post("/report/addPage",u,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return l=v.sent(),s=l.body,[2,new r.Page(this,s.name,s.displayName,s.isActive,s.visibility,s.defaultSize,s.defaultDisplayOption)];case 3:throw y=v.sent(),y.body;case 4:return[2]}})})},o.prototype.deletePage=function(a){return _(this,void 0,void 0,function(){var u,l;return P(this,function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,this.service.hpm.delete("/report/pages/".concat(a),{},{uid:this.config.uniqueId},this.iframe.contentWindow)];case 1:return u=s.sent(),[2,u.body];case 2:throw l=s.sent(),l.body;case 3:return[2]}})})},o.prototype.renamePage=function(a,u){return _(this,void 0,void 0,function(){var l,s,y;return P(this,function(v){switch(v.label){case 0:l={name:a,displayName:u},v.label=1;case 1:return v.trys.push([1,3,,4]),[4,this.service.hpm.put("/report/pages/".concat(a,"/name"),l,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return s=v.sent(),[2,s.body];case 3:throw y=v.sent(),y.body;case 4:return[2]}})})},o.prototype.getFilters=function(){return _(this,void 0,void 0,function(){var a,u;return P(this,function(l){switch(l.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(f.APINotSupportedForRDLError)];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,this.service.hpm.get("/report/filters",{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return a=l.sent(),[2,a.body];case 3:throw u=l.sent(),u.body;case 4:return[2]}})})},o.prototype.updateFilters=function(a,u){return _(this,void 0,void 0,function(){var l,s;return P(this,function(y){switch(y.label){case 0:l={filtersOperation:a,filters:u},y.label=1;case 1:return y.trys.push([1,3,,4]),[4,this.service.hpm.post("/report/filters",l,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,y.sent()];case 3:throw s=y.sent(),s.body;case 4:return[2]}})})},o.prototype.removeFilters=function(){return _(this,void 0,void 0,function(){return P(this,function(a){return(0,c.isRDLEmbed)(this.config.embedUrl)?[2,Promise.reject(f.APINotSupportedForRDLError)]:[2,this.updateFilters(w.FiltersOperations.RemoveAll)]})})},o.prototype.setFilters=function(a){return _(this,void 0,void 0,function(){var u;return P(this,function(l){switch(l.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(f.APINotSupportedForRDLError)];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,this.service.hpm.put("/report/filters",a,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,l.sent()];case 3:throw u=l.sent(),u.body;case 4:return[2]}})})},o.prototype.getId=function(){var a=this.config,u=a.id||this.element.getAttribute(o.reportIdAttribute)||o.findIdFromEmbedUrl(a.embedUrl);if(typeof u!="string"||u.length===0)throw new Error("Report id is required, but it was not found. You must provide an id either as part of embed configuration or as attribute '".concat(o.reportIdAttribute,"'."));return u},o.prototype.getPages=function(){return _(this,void 0,void 0,function(){var a,u,l=this;return P(this,function(s){switch(s.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(f.APINotSupportedForRDLError)];s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this.service.hpm.get("/report/pages",{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return a=s.sent(),[2,a.body.map(function(y){return new r.Page(l,y.name,y.displayName,y.isActive,y.visibility,y.defaultSize,y.defaultDisplayOption,y.mobileSize,y.background,y.wallpaper)})];case 3:throw u=s.sent(),u.body;case 4:return[2]}})})},o.prototype.getPageByName=function(a){return _(this,void 0,void 0,function(){var u,l,s;return P(this,function(y){switch(y.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(f.APINotSupportedForRDLError)];y.label=1;case 1:return y.trys.push([1,3,,4]),[4,this.service.hpm.get("/report/pages",{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return u=y.sent(),l=u.body.find(function(v){return v.name===a}),l?[2,new r.Page(this,l.name,l.displayName,l.isActive,l.visibility,l.defaultSize,l.defaultDisplayOption,l.mobileSize,l.background,l.wallpaper)]:[2,Promise.reject(w.CommonErrorC
10odes.NotFound)];case 3:throw s=y.sent(),s.body;case 4:return[2]}})})},o.prototype.getActivePage=function(){return _(this,void 0,void 0,function(){var a,u,l;return P(this,function(s){switch(s.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(f.APINotSupportedForRDLError)];s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this.service.hpm.get("/report/pages",{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return a=s.sent(),u=a.body.find(function(y){return y.isActive}),[2,new r.Page(this,u.name,u.displayName,u.isActive,u.visibility,u.defaultSize,u.defaultDisplayOption,u.mobileSize,u.background,u.wallpaper)];case 3:throw l=s.sent(),l.body;case 4:return[2]}})})},o.prototype.page=function(a,u,l,s){return new r.Page(this,a,u,l,s)},o.prototype.print=function(){return _(this,void 0,void 0,function(){var a,u;return P(this,function(l){switch(l.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(f.APINotSupportedForRDLError)];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,this.service.hpm.post("/report/print",null,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return a=l.sent(),[2,a.body];case 3:throw u=l.sent(),u.body;case 4:return[2]}})})},o.prototype.setPage=function(a){return _(this,void 0,void 0,function(){var u,l;return P(this,function(s){switch(s.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(f.APINotSupportedForRDLError)];u={name:a,displayName:null,isActive:!0},s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this.service.hpm.put("/report/pages/active",u,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,s.sent()];case 3:throw l=s.sent(),l.body;case 4:return[2]}})})},o.prototype.updateSettings=function(a){var u,l;return _(this,void 0,void 0,function(){var s,y,v,b,E=this;return P(this,function(N){switch(N.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl)&&a.customLayout!=null)return[2,Promise.reject(f.APINotSupportedForRDLError)];N.label=1;case 1:return N.trys.push([1,3,,4]),[4,this.service.hpm.patch("/report/settings",a,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return s=N.sent(),y=a?.extensions,this.commands=(u=y?.commands)!==null&&u!==void 0?u:this.commands,this.groups=(l=y?.groups)!==null&&l!==void 0?l:this.groups,v=a?.extensions,Array.isArray(v)&&(this.commands=[],v.map(function(I){I?.command&&E.commands.push(I.command)})),[2,s];case 3:throw b=N.sent(),b.body;case 4:return[2]}})})},o.prototype.validate=function(a){return(0,c.isRDLEmbed)(this.config.embedUrl)?(0,w.validatePaginatedReportLoad)(a):(0,w.validateReportLoad)(a)},o.prototype.configChanged=function(a){var u=this.config;this.isMobileSettings(u.settings)&&(u.embedUrl=(0,c.addParamToUrl)(u.embedUrl,"isMobile","true"));var l=this.element.getAttribute(o.filterPaneEnabledAttribute),s=this.element.getAttribute(o.navContentPaneEnabledAttribute),y={filterPaneEnabled:l==null?void 0:l!=="false",navContentPaneEnabled:s==null?void 0:s!=="false"};this.config.settings=(0,c.assign)({},y,u.settings),!a&&(u.id=this.getId())},o.prototype.getDefaultEmbedUrlEndpoint=function(){return"reportEmbed"},o.prototype.switchMode=function(a){return _(this,void 0,void 0,function(){var u,l,s,y;return P(this,function(v){switch(v.label){case 0:typeof a=="string"?u=a:u=this.viewModeToString(a),l="/report/switchMode/"+u,v.label=1;case 1:return v.trys.push([1,3,,4]),[4,this.service.hpm.post(l,null,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return s=v.sent(),[2,s.body];case 3:throw y=v.sent(),y.body;case 4:return[2]}})})},o.prototype.refresh=function(){return _(this,void 0,void 0,function(){var a,u;return P(this,function(l){switch(l.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(f.APINotSupportedForRDLError)];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,this.service.hpm.post("/report/refresh",null,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return a=l.sent(),[2,a.body];case 3:throw u=l.sent(),u.body;case 4:return[2]}})})},o.prototype.isSaved=function(){return _(this,void 0,void 0,function(){return P(this,function(a){switch(a.label){case 0:return(0,c.isRDLEmbed)(this.config.embedUrl)?[2,Promise.reject(f.APINotSupportedForRDLError)]:[4,(0,c.isSavedInternal)(this.service.hpm,this.config.uniqueId,this.iframe.contentWindow)];case 1:return[2,a.sent()]}})})},o.prototype.applyTheme=function(a){return _(this,void 0,void 0,function(){return P(this,function(u){switch(u.label){case 0:return(0,c.isRDLEmbed)(this.config.embedUrl)?[2,Promise.reject(f.APINotSupportedForRDLError)]:[4,this.applyThemeInternal(a)];case 1:return[2,u.sent()]}})})},o.prototype.resetTheme=function(){return _(this,void 0,void 0,function(){return P(this,function(a){switch(a.label){case 0:return(0,c.isRDLEmbed)(this.config.embedUrl)?[2,Promise.reject(f.APINotSupportedForRDLError)]:[4,this.applyThemeInternal({})];case 1:return[2,a.sent()]}})})},o.prototype.getTheme=function(){return _(this,void 0,void 0,function(){var a,u;return P(this,function(l){switch(l.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(f.APINotSupportedForRDLError)];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,this.service.hpm.get("/report/theme",{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return a=l.sent(),[2,a.body];case 3:throw u=l.sent(),u.body;case 4:return[2]}})})},o.prototype.resetPersistentFilters=function(){return _(this,void 0,void 0,function(){var a;return P(this,function(u){switch(u.label){case 0:return u.trys.push([0,2,,3]),[4,this.service.hpm.delete("/report/userState",null,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 1:return[2,u.sent()];case 2:throw a=u.sent(),a.body;case 3:return[2]}})})},o.prototype.savePersistentFilters=function(){return _(this,void 0,void 0,function(){var a;return P(this,function(u){switch(u.label){case 0:return u.trys.push([0,2,,3]),[4,this.service.hpm.post("/report/userState",null,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 1:return[2,u.sent()];case 2:throw a=u.sent(),a.body;case 3:return[2]}})})},o.prototype.arePersistentFiltersApplied=function(){return _(this,void 0,void 0,function(){var a,u;return P(this,function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),[4,this.service.hpm.get("/report/isUserStateApplied",{uid:this.config.uniqueId},this.iframe.contentWindow)];case 1:return a=l.sent(),[2,a.body];case 2:throw u=l.sent(),u.body;case 3:return[2]}})})},o.prototype.removeContextMenuCommand=function(a,u){return _(this,void 0,void 0,function(){var l,s,y;return P(this,function(v){switch(v.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(f.APINotSupportedForRDLError)];if(l=JSON.parse(JSON.stringify(this.commands)),s=this.findCommandMenuIndex("visualContextMenu",l,a,u),s===-1)throw w.CommonErrorC
10odes.NotFound;return delete l[s].extend.visualContextMenu,y={extensions:{commands:l,groups:this.groups}},[4,this.updateSettings(y)];case 1:return[2,v.sent()]}})})},o.prototype.addContextMenuCommand=function(a,u,l,s,y,v,b){return l===void 0&&(l=u),s===void 0&&(s=w.MenuLocation.Bottom),y===void 0&&(y=void 0),b===void 0&&(b=void 0),_(this,void 0,void 0,function(){var E,N;return P(this,function(I){switch(I.label){case 0:return(0,c.isRDLEmbed)(this.config.embedUrl)?[2,Promise.reject(f.APINotSupportedForRDLError)]:(E=this.createMenuCommand("visualContextMenu",a,u,l,s,y,v,b),N={extensions:{commands:E,groups:this.groups}},[4,this.updateSettings(N)]);case 1:return[2,I.sent()]}})})},o.prototype.removeOptionsMenuCommand=function(a,u){return _(this,void 0,void 0,function(){var l,s,y;return P(this,function(v){switch(v.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(f.APINotSupportedForRDLError)];if(l=JSON.parse(JSON.stringify(this.commands)),s=this.findCommandMenuIndex("visualOptionsMenu",l,a,u),s===-1)throw w.CommonErrorCodes.NotFound;return delete l[s].extend.visualOptionsMenu,delete l[s].icon,y={extensions:{commands:l,groups:this.groups}},[4,this.updateSettings(y)];case 1:return[2,v.sent()]}})})},o.prototype.addOptionsMenuCommand=function(a,u,l,s,y,v,b,E){return l===void 0&&(l=u),s===void 0&&(s=w.MenuLocation.Bottom),y===void 0&&(y=void 0),v===void 0&&(v=void 0),b===void 0&&(b=void 0),E===void 0&&(E=void 0),_(this,void 0,void 0,function(){var N,I;return P(this,function(L){switch(L.label){case 0:return(0,c.isRDLEmbed)(this.config.embedUrl)?[2,Promise.reject(f.APINotSupportedForRDLError)]:(N=this.createMenuCommand("visualOptionsMenu",a,u,l,s,y,v,b,E),I={extensions:{commands:N,groups:this.groups}},[4,this.updateSettings(I)]);case 1:return[2,L.sent()]}})})},o.prototype.setVisualDisplayState=function(a,u,l){return _(this,void 0,void 0,function(){var s,y;return P(this,function(v){switch(v.label){case 0:return[4,this.validateVisual(a,u)];case 1:return v.sent(),s={displayState:{mode:l}},y=this.buildLayoutSettingsObject(a,u,s),[2,this.updateSettings(y)]}})})},o.prototype.resizeVisual=function(a,u,l,s){return _(this,void 0,void 0,function(){var y,v;return P(this,function(b){switch(b.label){case 0:return[4,this.validateVisual(a,u)];case 1:return b.sent(),y={width:l,height:s},v=this.buildLayoutSettingsObject(a,u,y),[2,this.updateSettings(v)]}})})},o.prototype.resizeActivePage=function(a,u,l){return _(this,void 0,void 0,function(){var s,y;return P(this,function(v){return s={type:a,width:u,height:l},y={layoutType:w.LayoutType.Custom,customLayout:{pageSize:s}},[2,this.updateSettings(y)]})})},o.prototype.moveVisual=function(a,u,l,s,y){return _(this,void 0,void 0,function(){var v,b;return P(this,function(E){switch(E.label){case 0:return[4,this.validateVisual(a,u)];case 1:return E.sent(),v={x:l,y:s,z:y},b=this.buildLayoutSettingsObject(a,u,v),[2,this.updateSettings(b)]}})})},o.prototype.switchLayout=function(a){return _(this,void 0,void 0,function(){var u,l,s,y;return P(this,function(v){switch(v.label){case 0:if(u=this.isMobileSettings({layoutType:this.initialLayoutType}),l=this.isMobileSettings({layoutType:a}),u!==l)throw"Switching between mobile and desktop layouts is not supported. Please reset the embed container and re-embed with required layout.";return s={layoutType:a},[4,this.updateSettings(s)];case 1:return y=v.sent(),this.initialLayoutType=a,[2,y]}})})},o.prototype.createMenuCommand=function(a,u,l,s,y,v,b,E,N){var I={name:u,title:l,extend:{}};if(I.extend[a]={title:s,menuLocation:y},a==="visualOptionsMenu"&&(I.icon=N),E){var L=I.extend[a];delete L.menuLocation;var B=I.extend[a];B.groupName=E}return v&&(I.selector={$schema:"http://powerbi.com/product/schema#visualSelector",visualName:v}),b&&(I.selector={$schema:"http://powerbi.com/product/schema#visualTypeSelector",visualType:b}),i(i([],this.commands,!0),[I],!1)},o.prototype.findCommandMenuIndex=function(a,u,l,s){var y=-1;return u.some(function(v,b){return v.name===l&&v.extend[a]&&v.extend[a].title===s?(y=b,!0):!1}),y},o.prototype.buildLayoutSettingsObject=function(a,u,l){var s={layoutType:w.LayoutType.Custom,customLayout:{pagesLayout:{}}};return s.customLayout.pagesLayout[a]={visualsLayout:{}},s.customLayout.pagesLayout[a].visualsLayout[u]=l,s},o.prototype.validateVisual=function(a,u){return _(this,void 0,void 0,function(){var l;return P(this,function(s){switch(s.label){case 0:return[4,this.getPageByName(a)];case 1:return l=s.sent(),[4,l.getVisualByName(u)];case 2:return[2,s.sent()]}})})},o.prototype.applyThemeInternal=function(a){return _(this,void 0,void 0,function(){var u,l;return P(this,function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,this.service.hpm.put("/report/theme",a,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 1:return u=s.sent(),[2,u.body];case 2:throw l=s.sent(),l.body;case 3:return[2]}})})},o.prototype.viewModeToString=function(a){var u;switch(a){case w.ViewMode.Edit:u="edit";break;case w.ViewMode.View:u="view";break}return u},o.prototype.isMobileSettings=function(a){return a&&(a.layoutType===w.LayoutType.MobileLandscape||a.layoutType===w.LayoutType.MobilePortrait)},o.prototype.getZoom=function(){return _(this,void 0,void 0,function(){var a,u;return P(this,function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),[4,this.service.hpm.get("/report/zoom",{uid:this.config.uniqueId},this.iframe.contentWindow)];case 1:return a=l.sent(),[2,a.body];case 2:throw u=l.sent(),u.body;case 3:return[2]}})})},o.prototype.setZoom=function(a){return _(this,void 0,void 0,function(){return P(this,function(u){switch(u.label){case 0:return[4,this.updateSettings({zoomLevel:a})];case 1:return u.sent(),[2]}})})},o.prototype.closeAllOverlays=function(){return _(this,void 0,void 0,function(){var a,u;return P(this,function(l){switch(l.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(f.APINotSupportedForRDLError)];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,this.service.hpm.post("/report/closeAllOverlays",null,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return a=l.sent(),[2,a.body];case 3:return u=l.sent(),[2,Promise.reject(u)];case 4:return[2]}})})},o.prototype.clearSelectedVisuals=function(a){return _(this,void 0,void 0,function(){var u,l;return P(this,function(s){switch(s.label){case 0:if(a=a===!0,(0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(f.APINotSupportedForRDLError)];s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this.service.hpm.post("/report/clearSelectedVisuals/".concat(a.toString()),null,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return u=s.sent(),[2,u.body];case 3:return l=s.sent(),[2,Promise.reject(l)];case 4:return[2]}})})},o.allowedEvents=["filtersApplied","pageChanged","commandTriggered","swipeStart","swipeEnd","bookmarkApplied","dataHyperlinkCl
10icked","visualRendered","visualClicked","selectionChanged","renderingStarted","blur","exportDataCompleted"],o.reportIdAttribute="powerbi-report-id",o.filterPaneEnabledAttribute="powerbi-settings-filter-pane-enabled",o.navContentPaneEnabledAttribute="powerbi-settings-nav-content-pane-enabled",o.typeAttribute="powerbi-type",o.type="Report",o})(g.Embed);S.Report=h},"./src/service.ts"(T,S,C){var A=this&&this.__assign||function(){return A=Object.assign||function(s){for(var y,v=1,b=arguments.length;v<b;v++){y=arguments[v];for(var E in y)Object.prototype.hasOwnProperty.call(y,E)&&(s[E]=y[E])}return s},A.apply(this,arguments)},_=this&&this.__awaiter||function(s,y,v,b){function E(N){return N instanceof v?N:new v(function(I){I(N)})}return new(v||(v=Promise))(function(N,I){function L(k){try{q(b.next(k))}catch($){I($)}}function B(k){try{q(b.throw(k))}catch($){I($)}}function q(k){k.done?N(k.value):E(k.value).then(L,B)}q((b=b.apply(s,y||[])).next())})},P=this&&this.__generator||function(s,y){var v={label:0,sent:function(){if(N[0]&1)throw N[1];return N[1]},trys:[],ops:[]},b,E,N,I;return I={next:L(0),throw:L(1),return:L(2)},typeof Symbol=="function"&&(I[Symbol.iterator]=function(){return this}),I;function L(q){return function(k){return B([q,k])}}function B(q){if(b)throw new TypeError("Generator is already executing.");for(;v;)try{if(b=1,E&&(N=q[0]&2?E.return:q[0]?E.throw||((N=E.return)&&N.call(E),0):E.next)&&!(N=N.call(E,q[1])).done)return N;switch(E=0,N&&(q=[q[0]&2,N.value]),q[0]){case 0:case 1:N=q;break;case 4:return v.label++,{value:q[1],done:!1};case 5:v.label++,E=q[1],q=[0];continue;case 7:q=v.ops.pop(),v.trys.pop();continue;default:if(N=v.trys,!(N=N.length>0&&N[N.length-1])&&(q[0]===6||q[0]===2)){v=0;continue}if(q[0]===3&&(!N||q[1]>N[0]&&q[1]<N[3])){v.label=q[1];break}if(q[0]===6&&v.label<N[1]){v.label=N[1],N=q;break}if(N&&v.label<N[2]){v.label=N[2],v.ops.push(q);break}N[2]&&v.ops.pop(),v.trys.pop();continue}q=y.call(s,v)}catch(k){q=[6,k],E=0}finally{b=N=0}if(q[0]&5)throw q[1];return{value:q[0]?q[1]:void 0,done:!0}}};Object.defineProperty(S,"__esModule",{value:!0}),S.Service=void 0;var i=C("./src/embed.ts"),w=C("./src/report.ts"),g=C("./src/create.ts"),c=C("./src/dashboard.ts"),f=C("./src/tile.ts"),r=C("./src/page.ts"),d=C("./src/qna.ts"),h=C("./src/visual.ts"),p=C("./src/util.ts"),o=C("./src/quickCreate.ts"),a=C("./src/config.ts"),u=C("./src/errors.ts"),l=(function(){function s(y,v,b,E){E===void 0&&(E={});var N=this;this.registeredComponents={},this.wpmp=v(E.wpmpName,E.logMessages),this.hpm=y(this.wpmp,null,E.version,E.type,E.sdkWrapperVersion),this.router=b(this.wpmp),this.uniqueSessionId=p.generateUUID(),this.router.post("/reports/:uniqueId/events/:eventName",function(I,L){var B={type:"report",id:I.params.uniqueId,name:I.params.eventName,value:I.body};N.handleEvent(B)}),this.router.post("/reports/:uniqueId/pages/:pageName/events/:eventName",function(I,L){var B={type:"report",id:I.params.uniqueId,name:I.params.eventName,value:I.body};N.handleEvent(B)}),this.router.post("/reports/:uniqueId/pages/:pageName/visuals/:visualName/events/:eventName",function(I,L){var B={type:"report",id:I.params.uniqueId,name:I.params.eventName,value:I.body};N.handleEvent(B)}),this.router.post("/dashboards/:uniqueId/events/:eventName",function(I,L){var B={type:"dashboard",id:I.params.uniqueId,name:I.params.eventName,value:I.body};N.handleEvent(B)}),this.router.post("/tile/:uniqueId/events/:eventName",function(I,L){var B={type:"tile",id:I.params.uniqueId,name:I.params.eventName,value:I.body};N.handleEvent(B)}),this.router.post("/qna/:uniqueId/events/:eventName",function(I,L){var B={type:"qna",id:I.params.uniqueId,name:I.params.eventName,value:I.body};N.handleEvent(B)}),this.router.post("/ready/:uniqueId",function(I,L){var B={type:"report",id:I.params.uniqueId,name:"ready",value:I.body};N.handleEvent(B)}),this.embeds=[],this.config=p.assign({},s.defaultConfig,E),this.config.autoEmbedOnContentLoaded&&this.enableAutoEmbed()}return s.prototype.createReport=function(y,v){v.type="create";var b=y,E=new g.Create(this,b,v);return b.powerBiEmbed=E,this.addOrOverwriteEmbed(E,y),E},s.prototype.quickCreate=function(y,v){v.type="quickCreate";var b=y,E=new o.QuickCreate(this,b,v);return b.powerBiEmbed=E,this.addOrOverwriteEmbed(E,y),E},s.prototype.init=function(y,v){var b=this;v===void 0&&(v=void 0),y=y&&y instanceof HTMLElement?y:document.body;var E=Array.prototype.slice.call(y.querySelectorAll("[".concat(i.Embed.embedUrlAttribute,"]")));return E.map(function(N){return b.embed(N,v)})},s.prototype.embed=function(y,v){return v===void 0&&(v={}),this.embedInternal(y,v)},s.prototype.load=function(y,v){return v===void 0&&(v={}),this.embedInternal(y,v,!0,!1)},s.prototype.bootstrap=function(y,v){return this.embedInternal(y,v,!1,!0)},s.prototype.embedInternal=function(y,v,b,E){v===void 0&&(v={});var N,I=y;if(I.powerBiEmbed){if(E)throw new Error("Attempted to bootstrap element ".concat(y.outerHTML,", but the element is already a powerbi element."));N=this.embedExisting(I,v,b)}else N=this.embedNew(I,v,b,E);return N},s.prototype.getNumberOfComponents=function(){return this.embeds?this.embeds.length:0},s.prototype.getSdkSessionId=function(){return this.uniqueSessionId},s.prototype.getSDKVersion=function(){return a.default.version},s.prototype.embedNew=function(y,v,b,E){var N=v.type||y.getAttribute(i.Embed.typeAttribute);if(!N){var I=A(A({},v),{accessToken:""});throw new Error("Attempted to embed using config ".concat(JSON.stringify(I)," on element ").concat(y.outerHTML,", but could not determine what type of component to embed. You must specify a type in the configuration or as an attribute such as '").concat(i.Embed.typeAttribute,'="').concat(w.Report.type.toLowerCase(),`"'.`))}v.type=N;var L=this.createEmbedComponent(N,y,v,b,E);return y.powerBiEmbed=L,this.addOrOverwriteEmbed(L,y),L},s.prototype.createEmbedComponent=function(y,v,b,E,N){var I=p.find(function(B){return y===B.type.toLowerCase()},s.components);if(I)return new I(this,v,b,E,N);var L=p.find(function(B){return y.toLowerCase()===B.toLowerCase()},Object.keys(this.registeredComponents));if(!L)throw new Error("Attempted to embed component of type: ".concat(y," but did not find any matching component.  Please verify the type you specified is intended."));return this.registeredComponents[L](this,v,b,E,N)},s.prototype.embedExisting=function(y,v,b){var E=p.find(function(L){return L.element===y},this.embeds);if(!E){var N=A(A({},v),{accessToken:""});throw new Error("Attempted to embed using config ".concat(JSON.stringify(N)," on element ").concat(y.outerHTML," which already has embedded component associated, but could not find the existing component in the list of active components. This could indicate the embeds list is out of sync with the DOM, or the component is referencing the incorrect HTML element."))}if(v.type&&v.type.toLowerCase()==="qna")return this.embedNew(y,v);if(typeof v.type=="string"&&v.type!==E.config.type){if(v.type==="report"&&p.isCreate(E.config.type)){var I=new w.Report(this,y,v,!1,!1,y.powerBiEmbed.iframe);return E.populateConfig(v,!1),I.load(),y.powerBiEmbed=I,this.addOrOverwriteEmbed(E,y),I}var N=A(A({},v),{accessToken:""});throw new Error("Embedding on an existing element with a different type than the previous embed object is not supported.  Attempted to embed using config ".concat(JSON.stringify(N)," on element ").concat(y.outerHTML,", but the existing element contains an embed of type: ").concat(this.config.type," which does not match the new type: ").concat(v.type))}return E.populateConfig(v,!1),E.load(b),E},s.prototype.enableAutoEmbed=function(){var y=this;window.addEventListener("DOMContentLoaded",function(v){return y.init(document.body)},!1)},s.prototype.get=function(y){var v=y;if(!v.powerBiEmbed)throw new Error("You attempted to get an instance of powerbi component associated with element: ".concat(y.outerHTML," but there was no associated instance."));return v.powerBiEmbed}
10,s.prototype.find=function(y){return p.find(function(v){return v.config.uniqueId===y},this.embeds)},s.prototype.addOrOverwriteEmbed=function(y,v){this.embeds=this.embeds.filter(function(b){return b.element!==v}),this.embeds.push(y)},s.prototype.reset=function(y){var v=y;if(v.powerBiEmbed){var b=v.powerBiEmbed;b.frontLoadHandler&&b.element.removeEventListener("ready",b.frontLoadHandler,!1),b.allowedEvents.forEach(function(N){b.off(N)}),p.remove(function(N){return N===v.powerBiEmbed},this.embeds),delete v.powerBiEmbed;var E=y.querySelector("iframe");E&&(E.remove!==void 0?E.remove():E.parentElement.removeChild(E))}},s.prototype.handleTileEvents=function(y){y.type==="tile"&&this.handleEvent(y)},s.prototype.invokeSDKHook=function(y,v,b){return _(this,void 0,void 0,function(){var E,N;return P(this,function(I){switch(I.label){case 0:if(!y)return b.send(404,null),[2];I.label=1;case 1:return I.trys.push([1,3,,4]),[4,y(v.body)];case 2:return E=I.sent(),b.send(200,E),[3,4];case 3:return N=I.sent(),b.send(400,null),console.error(N),[3,4];case 4:return[2]}})})},s.prototype.handleEvent=function(y){var v=p.find(function(I){return I.config.uniqueId===y.id},this.embeds);if(v){var b=y.value;if(y.name==="pageChanged"){var E="newPage",N=b[E];if(!N)throw new Error("Page model not found at 'event.value.".concat(E,"'."));b[E]=new r.Page(v,N.name,N.displayName,!0)}p.raiseCustomEvent(v.element,y.name,b)}},s.prototype.preload=function(y,v){if(!p.validateEmbedUrl(y.embedUrl))throw new Error(u.invalidEmbedUrlErrorMessage);var b=document.createElement("iframe");b.setAttribute("style","display:none;"),b.setAttribute("src",y.embedUrl),b.setAttribute("scrolling","no"),b.setAttribute("allowfullscreen","false");var E=v;return E||(E=document.getElementsByTagName("body")[0]),E.appendChild(b),b.onload=function(){p.raiseCustomEvent(b,"preloaded",{})},b},s.prototype.setSdkInfo=function(y,v){this.hpm.defaultHeaders["x-sdk-type"]=y,this.hpm.defaultHeaders["x-sdk-wrapper-version"]=v},s.prototype.register=function(y,v,b){var E=this;if(p.find(function(N){return y.toLowerCase()===N.type.toLowerCase()},s.components))throw new Error("The component name is reserved. Cannot register a component with this name.");if(p.find(function(N){return y.toLowerCase()===N.toLowerCase()},Object.keys(this.registeredComponents)))throw new Error("A component with this type is already registered.");this.registeredComponents[y]=v,b.forEach(function(N){if(!N.includes(":uniqueId")||!N.includes(":eventName"))throw new Error("Invalid router event URL");E.router.post(N,function(I,L){var B={type:y,id:I.params.uniqueId,name:I.params.eventName,value:I.body};E.handleEvent(B)})})},s.components=[f.Tile,w.Report,c.Dashboard,d.Qna,h.Visual],s.defaultConfig={autoEmbedOnContentLoaded:!1,onError:function(){for(var y=[],v=0;v<arguments.length;v++)y[v]=arguments[v];return console.log(y[0],y.slice(1))}},s})();S.Service=l},"./src/tile.ts"(T,S,C){var A=this&&this.__extends||(function(){var w=function(g,c){return w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,r){f.__proto__=r}||function(f,r){for(var d in r)Object.prototype.hasOwnProperty.call(r,d)&&(f[d]=r[d])},w(g,c)};return function(g,c){if(typeof c!="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");w(g,c);function f(){this.constructor=g}g.prototype=c===null?Object.create(c):(f.prototype=c.prototype,new f)}})();Object.defineProperty(S,"__esModule",{value:!0}),S.Tile=void 0;var _=C("./node_modules/powerbi-models/dist/models.js"),P=C("./src/embed.ts"),i=(function(w){A(g,w);function g(c,f,r,d,h){var p=this,o=r;return p=w.call(this,c,f,o,void 0,d,h)||this,p.loadPath="/tile/load",Array.prototype.push.apply(p.allowedEvents,g.allowedEvents),p}return g.prototype.getId=function(){var c=this.config,f=c.id||g.findIdFromEmbedUrl(this.config.embedUrl);if(typeof f!="string"||f.length===0)throw new Error("Tile id is required, but it was not found. You must provide an id either as part of embed configuration.");return f},g.prototype.validate=function(c){var f=c;return(0,_.validateTileLoad)(f)},g.prototype.configChanged=function(c){c||(this.config.id=this.getId())},g.prototype.getDefaultEmbedUrlEndpoint=function(){return"tileEmbed"},g.findIdFromEmbedUrl=function(c){var f=/tileId="?([^&]+)"?/,r=c.match(f),d;return r&&(d=r[1]),d},g.type="Tile",g.allowedEvents=["tileClicked","tileLoaded"],g})(P.Embed);S.Tile=i}
10,"./src/util.ts"(T,S){var C=this&&this.__awaiter||function(b,E,N,I){function L(B){return B instanceof N?B:new N(function(q){q(B)})}return new(N||(N=Promise))(function(B,q){function k(W){try{U(I.next(W))}catch(K){q(K)}}function $(W){try{U(I.throw(W))}catch(K){q(K)}}function U(W){W.done?B(W.value):L(W.value).then(k,$)}U((I=I.apply(b,E||[])).next())})},A=this&&this.__generator||function(b,E){var N={label:0,sent:function(){if(B[0]&1)throw B[1];return B[1]},trys:[],ops:[]},I,L,B,q;return q={next:k(0),throw:k(1),return:k(2)},typeof Symbol=="function"&&(q[Symbol.iterator]=function(){return this}),q;function k(U){return function(W){return $([U,W])}}function $(U){if(I)throw new TypeError("Generator is already executing.");for(;N;)try{if(I=1,L&&(B=U[0]&2?L.return:U[0]?L.throw||((B=L.return)&&B.call(L),0):L.next)&&!(B=B.call(L,U[1])).done)return B;switch(L=0,B&&(U=[U[0]&2,B.value]),U[0]){case 0:case 1:B=U;break;case 4:return N.label++,{value:U[1],done:!1};case 5:N.label++,L=U[1],U=[0];continue;case 7:U=N.ops.pop(),N.trys.pop();continue;default:if(B=N.trys,!(B=B.length>0&&B[B.length-1])&&(U[0]===6||U[0]===2)){N=0;continue}if(U[0]===3&&(!B||U[1]>B[0]&&U[1]<B[3])){N.label=U[1];break}if(U[0]===6&&N.label<B[1]){N.label=B[1],B=U;break}if(B&&N.label<B[2]){N.label=B[2],N.ops.push(U);break}B[2]&&N.ops.pop(),N.trys.pop();continue}U=E.call(b,N)}catch(W){U=[6,W],L=0}finally{I=B=0}if(U[0]&5)throw U[1];return{value:U[0]?U[1]:void 0,done:!0}}};Object.defineProperty(S,"__esModule",{value:!0}),S.validateEmbedUrl=S.isCreate=S.getTimeDiffInMilliseconds=S.getRandomValue=S.autoAuthInEmbedUrl=S.isRDLEmbed=S.isSavedInternal=S.addParamToUrl=S.generateUUID=S.createRandomString=S.assign=S.remove=S.find=S.findIndex=S.raiseCustomEvent=void 0;var _=new RegExp(/(.+\.powerbi\.com$)|(.+\.fabric\.microsoft\.com$)|(.+\.analysis\.windows-int\.net$)|(.+\.analysis-df\.windows\.net$)/),P=new RegExp(/^app\.powerbi\.cn$|^app(\.mil\.|\.canaryhigh\.|\.high\.|\.)powerbigov\.us$|^app\.powerbi\.sovcloud-api\.fr$|^app\.powerbi\.eaglex\.ic\.gov$|^app\.powerbi\.microsoft\.scloud$/),i="https:";function w(b,E,N){var I;typeof CustomEvent=="function"?I=new CustomEvent(E,{detail:N,bubbles:!0,cancelable:!0}):(I=document.createEvent("CustomEvent"),I.initCustomEvent(E,!0,!0,N)),b.dispatchEvent(I)}S.raiseCustomEvent=w;function g(b,E){if(!Array.isArray(E))throw new Error("You attempted to call find with second parameter that was not an array. You passed: ".concat(E));var N;return E.some(function(I,L){if(b(I))return N=L,!0}),N}S.findIndex=g;function c(b,E){var N=g(b,E);return E[N]}S.find=c;function f(b,E){var N=g(b,E);E.splice(N,1)}S.remove=f;function r(){for(var b=[],E=0;E<arguments.length;E++)b[E]=arguments[E];var N=b[0];if(N==null)throw new TypeError("Cannot convert undefined or null to object");for(var I=Object(N),L=1;L<arguments.length;L++){var B=arguments[L];if(B!=null)for(var q in B)B.hasOwnProperty(q)&&(I[q]=B[q])}return I}S.assign=r;function d(){return l().toString(36).substring(1)}S.createRandomString=d;function h(){var b=new Date().getTime();return typeof performance<"u"&&typeof performance.now=="function"&&(b+=performance.now()),"xxxxxxxxxxxxxxxxxxxx".replace(/[xy]/g,function(E){var N=l()%16;return b>>=4,N.toString(16)})}S.generateUUID=h;function p(b,E,N){var I=b.indexOf("?")>0?"&":"?";return b+=I+E+"="+N,b}S.addParamToUrl=p;function o(b,E,N){return C(this,void 0,void 0,function(){var I,L;return A(this,function(B){switch(B.label){case 0:return B.trys.push([0,2,,3]),[4,b.get("/report/hasUnsavedChanges",{uid:E},N)];case 1:return I=B.sent(),[2,!I.body];case 2:throw L=B.sent(),L.body;case 3:return[2]}})})}S.isSavedInternal=o;function a(b){return b&&b.toLowerCase().indexOf("/rdlembed?")>=0}S.isRDLEmbed=a;function u(b){return b&&decodeURIComponent(b).toLowerCase().indexOf("autoauth=true")>=0}S.autoAuthInEmbedUrl=u;function l(){var b=window.crypto||window.msCrypto,E=new Uint32Array(1);return b.getRandomValues(E),E[0]}S.getRandomValue=l;function s(b,E){return Math.abs(b.getTime()-E.getTime())}S.getTimeDiffInMilliseconds=s;function y(b){return b==="create"||b==="quickcreate"}S.isCreate=y;function v(b){if(b){var E=void 0;try{E=new URL(b.toLowerCase())}catch{return!1}return E.protocol===i&&(_.test(E.hostname)||P.test(E.hostname))}}S.validateEmbedUrl=v},"./src/visual.ts"(T,S,C){var A=this&&this.__extends||(function(){var f=function(r,d){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,p){h.__proto__=p}||function(h,p){for(var o in p)Object.prototype.hasOwnProperty.call(p,o)&&(h[o]=p[o])},f(r,d)};return function(r,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");f(r,d);function h(){this.constructor=r}
10r.prototype=d===null?Object.create(d):(h.prototype=d.prototype,new h)}})(),_=this&&this.__awaiter||function(f,r,d,h){function p(o){return o instanceof d?o:new d(function(a){a(o)})}return new(d||(d=Promise))(function(o,a){function u(y){try{s(h.next(y))}catch(v){a(v)}}function l(y){try{s(h.throw(y))}catch(v){a(v)}}function s(y){y.done?o(y.value):p(y.value).then(u,l)}s((h=h.apply(f,r||[])).next())})},P=this&&this.__generator||function(f,r){var d={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},h,p,o,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(s){return function(y){return l([s,y])}}function l(s){if(h)throw new TypeError("Generator is already executing.");for(;d;)try{if(h=1,p&&(o=s[0]&2?p.return:s[0]?p.throw||((o=p.return)&&o.call(p),0):p.next)&&!(o=o.call(p,s[1])).done)return o;switch(p=0,o&&(s=[s[0]&2,o.value]),s[0]){case 0:case 1:o=s;break;case 4:return d.label++,{value:s[1],done:!1};case 5:d.label++,p=s[1],s=[0];continue;case 7:s=d.ops.pop(),d.trys.pop();continue;default:if(o=d.trys,!(o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){d=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){d.label=s[1];break}if(s[0]===6&&d.label<o[1]){d.label=o[1],o=s;break}if(o&&d.label<o[2]){d.label=o[2],d.ops.push(s);break}o[2]&&d.ops.pop(),d.trys.pop();continue}s=r.call(f,d)}catch(y){s=[6,y],p=0}finally{h=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}};Object.defineProperty(S,"__esModule",{value:!0}),S.Visual=void 0;var i=C("./node_modules/powerbi-models/dist/models.js"),w=C("./src/report.ts"),g=C("./src/visualDescriptor.ts"),c=(function(f){A(r,f);function r(d,h,p,o,a,u){return f.call(this,d,h,p,o,a,u)||this}return r.prototype.load=function(d){var h,p,o,a,u,l,s,y,v,b=this.config;if(b.accessToken){if(typeof b.pageName!="string"||b.pageName.length===0)throw new Error("Page name is required when embedding a visual.");if(typeof b.visualName!="string"||b.visualName.length===0)throw new Error("Visual name is required, but it was not found. You must provide a visual name as part of embed configuration.");var E=b.width?b.width:this.iframe.offsetWidth,N=b.height?b.height:this.iframe.offsetHeight,I={type:i.PageSizeType.Custom,width:E,height:N},L={};return L[b.pageName]={defaultLayout:{displayState:{mode:i.VisualContainerDisplayMode.Hidden}},visualsLayout:{}},L[b.pageName].visualsLayout[b.visualName]={displayState:{mode:i.VisualContainerDisplayMode.Visible},x:1,y:1,z:1,width:I.width,height:I.height},b.settings=b.settings||{},b.settings.filterPaneEnabled=!1,b.settings.navContentPaneEnabled=!1,b.settings.layoutType=i.LayoutType.Custom,b.settings.customLayout={displayOption:(o=(p=(h=b.settings)===null||h===void 0?void 0:h.customLayout)===null||p===void 0?void 0:p.displayOption)!==null&&o!==void 0?o:i.DisplayOption.FitToPage,pageSize:(l=(u=(a=b.settings)===null||a===void 0?void 0:a.customLayout)===null||u===void 0?void 0:u.pageSize)!==null&&l!==void 0?l:I,pagesLayout:(v=(y=(s=b.settings)===null||s===void 0?void 0:s.customLayout)===null||y===void 0?void 0:y.pagesLayout)!==null&&v!==void 0?v:L},this.config=b,f.prototype.load.call(this,d)}},r.prototype.getPages=function(){throw r.GetPagesNotSupportedError},r.prototype.setPage=function(d){throw r.SetPageNotSupportedError},r.prototype.render=function(d){return _(this,void 0,void 0,function(){return P(this,function(h){throw r.RenderNotSupportedError})})},r.prototype.getVisualDescriptor=function(){return _(this,void 0,void 0,function(){var d,h,p,o,a,u,l;return P(this,function(s){switch(s.label){case 0:d=this.config,s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this.service.hpm.get("/report/pages/".concat(d.pageName,"/visuals"),{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:if(h=s.sent(),p=h.body.filter(function(y){return y.name===d.visualName}),p.length===0)throw o={message:"visualNotFound",detailedMessage:"Visual not found"},o;return a=p[0],u=this.page(d.pageName),[2,new g.VisualDescriptor(u,a.name,a.title,a.type,a.layout)];case 3:throw l=s.sent(),l.body;case 4:return[2]}})})},r.prototype.getFilters=function(d){return _(this,void 0,void 0,function(){var h,p,o;return P(this,function(a){switch(a.label){case 0:h=this.getFiltersLevelUrl(d),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this.service.hpm.get(h,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return p=a.sent(),[2,p.body];case 3:throw o=a.sent(),o.body;case 4:return[2]}})})},r.prototype.updateFilters=function(d,h,p){return _(this,void 0,void 0,function(){var o,a,u;return P(this,function(l){switch(l.label){case 0:o={filtersOperation:d,filters:h},a=this.getFiltersLevelUrl(p),l.label=1;case 1:return l.trys.push([1,3,,4]),[4,this.service.hpm.post(a,o,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,l.sent()];case 3:throw u=l.sent(),u.body;case 4:return[2]}})})},r.prototype.setFilters=function(d,h){return _(this,void 0,void 0,function(){var p,o;return P(this,function(a){switch(a.label){case 0:p=this.getFiltersLevelUrl(h),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this.service.hpm.put(p,d,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,a.sent()];case 3:throw o=a.sent(),o.body;case 4:return[2]}})})},r.prototype.removeFilters=function(d){return _(this,void 0,void 0,function(){return P(this,function(h){switch(h.label){case 0:return[4,this.updateFilters(i.FiltersOperations.RemoveAll,void 0,d)];case 1:return[2,h.sent()]}})})},r.prototype.getFiltersLevelUrl=function(d){var h=this.config;switch(d){case i.FiltersLevel.Report:return"/report/filters";case i.FiltersLevel.Page:return"/report/pages/".concat(h.pageName,"/filters");default:return"/report/pages/".concat(h.pageName,"/visuals/").concat(h.visualName,"/filters")}},r.type="visual",r.GetPagesNotSupportedError="Get pages is not supported while embedding a visual.",r.SetPageNotSupportedError="Set page is not supported while embedding a visual.",r.RenderNotSupportedError="render is not supported while embedding a visual.",r})(w.Report);S.Visual=c},"./src/visualDescriptor.ts"(T,S,C){var A=this&&this.__awaiter||function(w,g,c,f){function r(d){return d instanceof c?d:new c(function(h){h(d)})}return new(c||(c=Promise))(function(d,h){function p(u){try{a(f.next(u))}catch(l){h(l)}}function o(u){try{a(f.throw(u))}catch(l){h(l)}}function a(u){u.done?d(u.value):r(u.value).then(p,o)}a((f=f.apply(w,g||[])).next())})},_=this&&this.__generator||function(w,g){var c={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},f,r,d,h;return h={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function p(a){return function(u){return o([a,u])}}function o(a){if(f)throw new TypeError("Generator is already executing.");for(;c;)try{if(f=1,r&&(d=a[0]&2?r.return:a[0]?r.throw||((d=r.return)&&d.call(r),0):r.next)&&!(d=d.call(r,a[1])).done)return d;switch(r=0,d&&(a=[a[0]&2,d.value]),a[0]){case 0:case 1:d=a;break;case 4:return c.label++,{value:a[1],done:!1};case 5:c.label++,r=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(d=c.trys,!(d=d.length>0&&d[d.length-1])&&(a[0]===6||a[0]===2)){c=0;continue}if(a[0]===3&&(!d||a[1]>d[0]&&a[1]<d[3])){c.label=a[1];break}if(a[0]===6&&c.label<d[1]){c.label=d[1],d=a;break}if(d&&c.label<d[2]){c.label=d[2],c.ops.push(a);break}d[2]&&c.ops.pop(),c.trys.pop();continue}a=g.call(w,c)}catch(u){a=[6,u],r=0}finally{f=d=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}};Object.defineProperty(S,"__esModule",{value:!0}),S.VisualDescriptor=void 0;var P=C("./node_modules/powerbi-models/dist/models.js"),i=(function(){function w(g,c,f,r,d){this.name=c,this.title=f,this.type=r,this.layout=d,this.page=g}return w.prototype.getFilters=function(){return A(this,void 0,void 0,function(){var g,c;return _(this,function(f){switch(f.label){case 0:return f.trys.push([0,2,,3]),[4,this.page.report.service.hpm.get("/report/pages/".concat(this.page.name,"/visuals/").concat(this.name,"/filters"),{uid:this.page.report.config.uniqueId},this.page.report.iframe.contentWindow)];case 1:return g=f.sent(),[2,g.body];case 2:throw c=f.sent(),c.body;case 3:return[2]}})})},w.prototype.updateFilters=function(g,c){return A(this,void 0,void 0,function(){var f,r;return _(this,function(d){switch(d.label){case 0:f={filtersOperation:g,filters:c},d.label=1;case 1:return d.trys.push([1,3,,4]),[4,this.page.report.service.hpm.post("/report/pages/".concat(this.page.name,"/visuals/").concat(this.name,"/filters"),f,{uid:this.page.report.config.uniqueId},this.page.report.iframe.contentWindow)];case 2:return[2,d.sent()];case 3:throw r=d.sent(),r.body;case 4:return[2]}})})},w.prototype.removeFilters=function(){return A(this,void 0,void 0,function(){return _(this,function(g){switch(g.label){case 0:return[4,this.updateFilters(P.FiltersOperations.RemoveAll)];case 1:return[2,g.sent()]}})})},w.prototype.setFilters=function(g){return A(this,void 0,void 0,function(){var c;return _(this,function(f){switch(f.label){case 0:return f.trys.push([0,2,,3]),[4,this.page.report.service.hpm.put("/report/pages/".concat(this.page.name,"/visuals/").concat(this.name,"/filters"),g,{uid:this.page.report.config.uniqueId},this.page.report.iframe.contentWindow)];case 1:return[2,f.sent()];case 2:throw c=f.sent(),c.body;case 3:return[2]}})})}
10,w.prototype.exportData=function(g,c){return A(this,void 0,void 0,function(){var f,r,d;return _(this,function(h){switch(h.label){case 0:f={rows:c,exportDataType:g},h.label=1;case 1:return h.trys.push([1,3,,4]),[4,this.page.report.service.hpm.post("/report/pages/".concat(this.page.name,"/visuals/").concat(this.name,"/exportData"),f,{uid:this.page.report.config.uniqueId},this.page.report.iframe.contentWindow)];case 2:return r=h.sent(),[2,r.body];case 3:throw d=h.sent(),d.body;case 4:return[2]}})})},w.prototype.setSlicerState=function(g){return A(this,void 0,void 0,function(){var c;return _(this,function(f){switch(f.label){case 0:return f.trys.push([0,2,,3]),[4,this.page.report.service.hpm.put("/report/pages/".concat(this.page.name,"/visuals/").concat(this.name,"/slicer"),g,{uid:this.page.report.config.uniqueId},this.page.report.iframe.contentWindow)];case 1:return[2,f.sent()];case 2:throw c=f.sent(),c.body;case 3:return[2]}})})},w.prototype.getSlicerState=function(){return A(this,void 0,void 0,function(){var g,c;return _(this,function(f){switch(f.label){case 0:return f.trys.push([0,2,,3]),[4,this.page.report.service.hpm.get("/report/pages/".concat(this.page.name,"/visuals/").concat(this.name,"/slicer"),{uid:this.page.report.config.uniqueId},this.page.report.iframe.contentWindow)];case 1:return g=f.sent(),[2,g.body];case 2:throw c=f.sent(),c.body;case 3:return[2]}})})},w.prototype.clone=function(g){return g===void 0&&(g={}),A(this,void 0,void 0,function(){var c,f;return _(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.page.report.service.hpm.post("/report/pages/".concat(this.page.name,"/visuals/").concat(this.name,"/clone"),g,{uid:this.page.report.config.uniqueId},this.page.report.iframe.contentWindow)];case 1:return c=r.sent(),[2,c.body];case 2:throw f=r.sent(),f.body;case 3:return[2]}})})},w.prototype.sortBy=function(g){return A(this,void 0,void 0,function(){var c;return _(this,function(f){switch(f.label){case 0:return f.trys.push([0,2,,3]),[4,this.page.report.service.hpm.put("/report/pages/".concat(this.page.name,"/visuals/").concat(this.name,"/sortBy"),g,{uid:this.page.report.config.uniqueId},this.page.report.iframe.contentWindow)];case 1:return[2,f.sent()];case 2:throw c=f.sent(),c.body;case 3:return[2]}})})},w.prototype.moveVisual=function(g,c,f){return A(this,void 0,void 0,function(){var r,d,h;return _(this,function(p){return r=this.page.name,d=this.name,h=this.page.report,[2,h.moveVisual(r,d,g,c,f)]})})},w.prototype.setVisualDisplayState=function(g){return A(this,void 0,void 0,function(){var c,f,r;return _(this,function(d){return c=this.page.name,f=this.name,r=this.page.report,[2,r.setVisualDisplayState(c,f,g)]})})},w.prototype.resizeVisual=function(g,c){return A(this,void 0,void 0,function(){var f,r,d;return _(this,function(h){return f=this.page.name,r=this.name,d=this.page.report,[2,d.resizeVisual(f,r,g,c)]})})},w.prototype.getSmartNarrativeInsights=function(){return A(this,void 0,void 0,function(){var g,c;return _(this,function(f){switch(f.label){case 0:return f.trys.push([0,2,,3]),[4,this.page.report.service.hpm.get("/report/pages/".concat(this.page.name,"/visuals/").concat(this.name,"/smartNarrativeInsights"),{uid:this.page.report.config.uniqueId},this.page.report.iframe.contentWindow)];case 1:return g=f.sent(),[2,g.body];case 2:throw c=f.sent(),c.body;case 3:return[2]}})})},w})();S.VisualDescriptor=i},"./node_modules/window-post-message-proxy/dist/windowPostMessageProxy.js"(T){(function(S,C){T.exports=C()})(self,()=>(()=>{var S={};return(()=>{var C=S;Object.defineProperty(C,"__esModule",{value:!0}),C.WindowPostMessageProxy=void 0;var A=(function(){function _(P){P===void 0&&(P={processTrackingProperties:{addTrackingProperties:_.defaultAddTrackingProperties,getTrackingProperties:_.defaultGetTrackingProperties},isErrorMessage:_.defaultIsErrorMessage,receiveWindow:window,name:_.createRandomString()});var i=this;this.pendingRequestPromises={},this.addTrackingProperties=P.processTrackingProperties&&P.processTrackingProperties.addTrackingProperties||_.defaultAddTrackingProperties,this.getTrackingProperties=P.processTrackingProperties&&P.processTrackingProperties.getTrackingProperties||_.defaultGetTrackingProperties,this.isErrorMessage=P.isErrorMessage||_.defaultIsErrorMessage,this.receiveWindow=P.receiveWindow||window,this.name=P.name||_.createRandomString(),this.logMessages=P.logMessages||!1,this.eventSourceOverrideWindow=P.eventSourceOverrideWindow,this.eventOriginOverride=P.eventOriginOverride,this.suppressWarnings=P.suppressWarnings||
vendor: 4,174 bytes, line 10
10!1,this.receivedMessageValidation=P.receivedMessageValidation,this.logMessages&&console.log("new WindowPostMessageProxy created with name: ".concat(this.name," receiving on window: ").concat(this.receiveWindow.document.title)),this.handlers=[],this.windowMessageHandler=function(w){return i.onMessageReceived(w)},this.start()}return _.defaultAddTrackingProperties=function(P,i){return P[_.messagePropertyName]=i,P},_.defaultGetTrackingProperties=function(P){return P[_.messagePropertyName]},_.defaultIsErrorMessage=function(P){return!!P.error},_.createDeferred=function(){var P={resolve:null,reject:null,promise:null},i=new Promise(function(w,g){P.resolve=w,P.reject=g});return P.promise=i,P},_.createRandomString=function(){var P=window.crypto||window.msCrypto,i=new Uint32Array(1);return P.getRandomValues(i),i[0].toString(36).substring(1)},_.prototype.addHandler=function(P){this.handlers.push(P)},_.prototype.removeHandler=function(P){var i=this.handlers.indexOf(P);if(i===-1)throw new Error("You attempted to remove a handler but no matching handler was found.");this.handlers.splice(i,1)},_.prototype.start=function(){var P=this;this.receiveWindow.addEventListener("message",function(i){P.isReceivedMessageValid(i)&&P.windowMessageHandler(i)})},_.prototype.stop=function(){this.receiveWindow.removeEventListener("message",this.windowMessageHandler)},_.prototype.postMessage=function(P,i,w){w===void 0&&(w="*");var g={id:_.createRandomString()};this.addTrackingProperties(i,g),this.logMessages&&(console.log("".concat(this.name," Posting message:")),console.log(JSON.stringify(i,null,"  "))),P.postMessage(i,w);var c=_.createDeferred();return this.pendingRequestPromises[g.id]=c,c.promise},_.prototype.sendResponse=function(P,i,w,g){g===void 0&&(g="*"),this.addTrackingProperties(i,w),this.logMessages&&(console.log("".concat(this.name," Sending response:")),console.log(JSON.stringify(i,null,"  "))),P.postMessage(i,g)},_.prototype.isReceivedMessageValid=function(P){if(this.receivedMessageValidation){var i=this.receivedMessageValidation.expectedMessageSource,w=this.receivedMessageValidation.expectedMessageOrigin;if(i&&P.source!==i)return this.suppressWarnings||console.warn("Proxy(".concat(this.name,"): Received message event from an unexpected source. The message will be discarded."),P),!1;if(w&&P.origin!==w)return this.suppressWarnings||console.warn("Proxy(".concat(this.name,"): Received message event from an unexpected origin. The message will be discarded."),P),!1}return!0},_.prototype.onMessageReceived=function(P){var i=this;this.logMessages&&(console.log("".concat(this.name," Received message:")),console.log("type: ".concat(P.type)),console.log(JSON.stringify(P.data,null,"  ")));var w=this.eventSourceOverrideWindow||P.source,g=this.eventOriginOverride||P.origin||"*";if(w){var c=P.data;if(typeof c=="object"){var f,r;try{f=this.getTrackingProperties(c)}catch(h){this.suppressWarnings||console.warn("Proxy(".concat(this.name,"): Error occurred when attempting to get tracking properties from incoming message:"),JSON.stringify(c,null,"  "),"Error: ",h)}if(f&&(r=this.pendingRequestPromises[f.id]),r){var d=!0;try{d=this.isErrorMessage(c)}catch(h){console.warn("Proxy(".concat(this.name,") Error occurred when trying to determine if message is consider an error response. Message: "),JSON.stringify(c,null,""),"Error: ",h)}d?r.reject(c):r.resolve(c),delete this.pendingRequestPromises[f.id]}else this.handlers.some(function(h){var p=!1;try{p=h.test(c)}catch(a){i.suppressWarnings||console.warn("Proxy(".concat(i.name,"): Error occurred when handler was testing incoming message:"),JSON.stringify(c,null,"  "),"Error: ",a)}if(p){var o=void 0;try{o=Promise.resolve(h.handle(c))}catch(a){i.suppressWarnings||console.warn("Proxy(".concat(i.name,"): Error occurred when handler was processing incoming message:"),JSON.stringify(c,null,"  "),"Error: ",a),o=Promise.resolve()}return o.then(function(a){if(!a){var u="Handler for message: ".concat(JSON.stringify(c,null,"  ")," did not return a response message. The default response message will be returned instead.");i.suppressWarnings||console.warn("Proxy(".concat(i.name,"): ").concat(u)),a={warning:u}}
10i.sendResponse(w,a,f,g)}),!0}})||this.suppressWarnings||console.warn("Proxy(".concat(this.name,") did not handle message. Handlers: ").concat(this.handlers.length,"  Message: ").concat(JSON.stringify(c,null,""),"."))}else this.suppressWarnings||console.warn("Proxy(".concat(this.name,"): Received message that was not an object. Discarding message"))}},_.messagePropertyName="windowPostMessageProxy",_})();C.WindowPostMessageProxy=A})(),S})())}};const m={};function O(T){const S=m[T];if(S!==void 0)return S.exports;const C=m[T]={exports:{}};if(!(T in n)){delete m[T];const A=new Error("Cannot find module '"+T+"'");throw A.code="MODULE_NOT_FOUND",A}return n[T].call(C.exports,C,C.exports,O),C.exports}let R={};return(()=>{let T=R;Object.defineProperty(T,"__esModule",{value:!0}),T.RelativeTimeFilterBuilder=T.RelativeDateFilterBuilder=T.TopNFilterBuilder=T.AdvancedFilterBuilder=T.BasicFilterBuilder=T.Create=T.QuickCreate=T.VisualDescriptor=T.Visual=T.Qna=T.Page=T.Embed=T.Tile=T.Dashboard=T.Report=T.models=T.factories=T.service=void 0;var S=O("./node_modules/powerbi-models/dist/models.js");T.models=S;var C=O("./src/service.ts");T.service=C;var A=O("./src/factories.ts");T.factories=A;var _=O("./src/report.ts");Object.defineProperty(T,"Report",{enumerable:!0,get:function(){return _.Report}});var P=O("./src/dashboard.ts");Object.defineProperty(T,"Dashboard",{enumerable:!0,get:function(){return P.Dashboard}});var i=O("./src/tile.ts");Object.defineProperty(T,"Tile",{enumerable:!0,get:function(){return i.Tile}});var w=O("./src/embed.ts");Object.defineProperty(T,"Embed",{enumerable:!0,get:function(){return w.Embed}});var g=O("./src/page.ts");Object.defineProperty(T,"Page",{enumerable:!0,get:function(){return g.Page}});var c=O("./src/qna.ts");Object.defineProperty(T,"Qna",{enumerable:!0,get:function(){return c.Qna}});var f=O("./src/visual.ts");Object.defineProperty(T,"Visual",{enumerable:!0,get:function(){return f.Visual}});var r=O("./src/visualDescriptor.ts");Object.defineProperty(T,"VisualDescriptor",{enumerable:!0,get:function(){return r.VisualDescriptor}});var d=O("./src/quickCreate.ts");Object.defineProperty(T,"QuickCreate",{enumerable:!0,get:function(){return d.QuickCreate}});var h=O("./src/create.ts");Object.defineProperty(T,"Create",{enumerable:!0,get:function(){return h.Create}});var p=O("./src/FilterBuilders/index.ts");Object.defineProperty(T,"BasicFilterBuilder",{enumerable:!0,get:function(){return p.BasicFilterBuilder}}),Object.defineProperty(T,"AdvancedFilterBuilder",{enumerable:!0,get:function(){return p.AdvancedFilterBuilder}}),Object.defineProperty(T,"TopNFilterBuilder",{enumerable:!0,get:function(){return p.TopNFilterBuilder}}),Object.defineProperty(T,"RelativeDateFilterBuilder",{enumerable:!0,get:function(){return p.RelativeDateFilterBuilder}}),Object.defineProperty(T,"RelativeTimeFilterBuilder",{enumerable:!0,get:function(){return p.RelativeTimeFilterBuilder}});var o=new C.Service(A.hpmFactory,A.wpmpFactory,A.routerFactory);window.powerbi&&window.powerBISDKGlobalServiceInstanceName?window[window.powerBISDKGlobalServiceInstanceName]=o:window.powerbi=o})(),R})())})(Jt)),Jt.exports}var jd=Ct.exports,ta;function Ud(){return ta||(ta=1,(function(e,t){(function(n,m){m(t,Dd(),Fn())})(jd,function(n,m,O){const R={version:"1.1.2"};function T(r,d){if(r.size!==d.size)return!1;for(const[h,p]of r){if(!d.has(h))return!1;const o=d.get(h);if(JSON.stringify(o)!==JSON.stringify(p))return!1}return!0}const S="powerbi-client-vue-js",C=R.version,A=m.defineComponent({name:"PowerBIBase",props:{cssClassName:{type:String},service:{type:O.service.Service}},data(){const r=this.service?this.service:new O.service.Service(O.factories.hpmFactory,O.factories.wpmpFactory,O.factories.routerFactory);return r.setSdkInfo(S,C),{powerbi:r,prevEventHandlerMap:new Map([]),embed:void 0}},methods:{setEventHandlers(r,d){if(T(this.prevEventHandlerMap,d))return;this.prevEventHandlerMap=d;let h=O.Embed.allowedEvents;const p=r.embedtype;switch(p){case"create":break;case"report":h=[...h,...O.Report.allowedEvents];break;case"dashboard":h=[...h,...O.Dashboard.allowedEvents];break;case"tile":h=[...h,...O.Tile.allowedEvents];break;case"qna":h=[...h,...O.Qna.allowedEvents];break;case"visual":h=[...h,...O.Visual.allowedEvents];break;default:console.error(`Invalid embed type ${p}`)}const o=[];d.forEach((a,u)=>{h.includes(u)?(r.off(u),a&&r.on(u,l=>{a(l,r)})):o.push(u)}),o.length&&console.error(`Following events are invalid: ${o.join(",")}`)}}}),_=m.defineComponent({name:"PowerBIReportEmbed",emits:["report-obj"],props:{embedConfig:{type:Object,required:!0},phasedEmbedding:{type:Boolean,default:!1},eventHandlers:{type:Map}},mixins:[A],render(){return m.h("div",{ref:"containerRef",class:this.cssClassName,id:"reportContainer"})},watch:{embedConfig:function(r,d){d&&(this.embedOrBootstrap(),this.callSetEventHandlers())},eventHandlers:function(){this.callSetEventHandlers()}},computed:{config(){return m.toRaw(this.embedConfig)}},mounted(){this.$refs.containerRef&&this.embedOrBootstrap(),this.callSetEventHandlers()},methods:{embedOrBootstrap(){var r,d;(r=this.config)!=null&&r.accessToken&&(d=this.config)!=null&&d.embedUrl?this.embedReport():this.embed=this.powerbi.bootstrap(this.$refs.containerRef,this.config)},embedReport(){if(!this.$refs.containerRef){console.error("HTML container is not rendered or available");return}this.embed=this.phasedEmbedding?this.powerbi.load(this.$refs.containerRef,this.config):this.powerbi.embed(this.$refs.containerRef,this.config),this.$emit("report-obj",this.getReport())},callSetEventHandlers(){this.eventHandlers&&this.embed&&this.setEventHandlers(this.embed,this.eventHandlers)},getReport(){return this.embed}}}),P=m.defineComponent({name:"PowerBIDashboardEmbed",props:{embedConfig:{type:Object,required:!0},eventHandlers:{type:Map}},mixins:[A],render(){return m.h("div",{ref:"containerRef",class:this.cssClassName,id:"dashboardContainer"})},watch:{embedConfig:function(r,d){d&&(this.embedOrBootstrap(),this.callSetEventHandlers())},eventHandlers:function(){this.callSetEventHandlers()}},computed:{config(){return m.toRaw(this.embedConfig)}},mounted(){this.$refs.containerRef&&this.embedOrBootstrap(),this.callSetEventHandlers()},methods:{embedOrBootstrap(){var r,d;(r=this.config)!=null&&r.accessToken&&(d=this.config)!=null&&d.embedUrl?this.embedDashboard():this.embed=this.powerbi.bootstrap(this.$refs.containerRef,this.config)},embedDashboard(){if(!this.$refs.containerRef){console.error("HTML container is not rendered or available");return}this.embed=this.powerbi.embed(this.$refs.containerRef,this.config)},callSetEventHandlers(){this.eventHandlers&&this.embed&&this.setEventHandlers(this.embed,this.eventHandlers)},getDashboard(){return this.embed}}}),i=m.defineComponent({name:"PowerBITileEmbed",props:{embedConfig:{type:Object,required:!0},eventHandlers:{type:Map,required:!1}},mixins:[A],render(){return m.h("div",{ref:"containerRef",class:this.cssClassName,id:"tileContainer"})},watch:{embedConfig:function(r,d){d&&(this.embedOrBootstrap(),this.callSetEventHandlers())},eventHandlers:function(){this.callSetEventHandlers()}},computed:{config(){return m.toRaw(this.embedConfig)}},mounted(){this.$refs.containerRef&&this.embedOrBootstrap(),this.callSetEventHandlers()},methods:{embedOrBootstrap(){var r,d;(r=this.embedConfig)!=null&&r.accessToken&&(d=this.embedConfig)!=null&&d.embedUrl?this.embedTile():this.embed=this.powerbi.bootstrap(this.$refs.containerRef,this.embedConfig)},embedTile(){if(!this.$refs.containerRef){console.error("HTML container is not rendered or available");return}this.embed=this.powerbi.embed(this.$refs.containerRef,this.embedConfig)},callSetEventHandlers(){this.eventHandlers&&this.embed&&this.setEventHandlers(this.embed,this.eventHandlers)},getTile(){return this.embed}}}),w=m.defineComponent({name:"PowerBIPaginatedReportEmbed",props:{embedConfig:{type:Object,required:!0}},mixins:[A],render(){return m.h("div",{ref:"containerRef",class:this.cssClassName,id:"paginatedReportContainer"})},watch:{embedConfig:function(r,d){d&&this.embedPaginatedReport()}},computed:{config(){return m.toRaw(this.embedConfig)}},mounted(){this.$refs.containerRef&&this.embedPaginatedReport()},methods:{embedPaginatedReport(){if(!this.$refs.containerRef){console.error("HTML container is not rendered or available");return}this.embed=this.powerbi.embed(this.$refs.containerRef,this.config)}}}),g=m.defineComponent({name:"PowerBIVisualEmbed",props:{embedConfig:{type:Object,required:!0},eventHandlers:{type:Map}},mixins:[A],render(){return m.h("div",{ref:"containerRef",class:this.cssClassName,id:"visualContainer"})},watch:{embedConfig:function(r,d){d&&(this.embedOrBootstrap(),this.callSetEventHandlers())},eventHandlers:function(){this.callSetEventHandlers()}},computed:{config(){return m.toRaw(this.embedConfig)}},mounted(){this.$refs.containerRef&&this.embedOrBootstrap(),this.callSetEventHandlers()},methods:{embedOrBootstrap(){var r,d;(r=this.config)!=null&&r.accessToken&&(d=this.config)!=null&&d.embedUrl?this.embedVisual():this.embed=this.powerbi.bootstrap(this.$refs.containerRef,this.config)},embedVisual(){if(!this.$refs.containerRef){console.error("HTML container is not rendered or available");return}this.embed=this.powerbi.embed(this.$refs.containerRef,this.config)},callSetEventHandlers(){this.eventHandlers&&this.embed&&this.setEventHandlers(this.embed,this.eventHandlers)},getVisual(){return this.embed}}}),c=m.defineComponent({name:"PowerBIQnaEmbed",props:{embedConfig:{type:Object,required:!0},eventHandlers:{type:Map}},mixins:[A],render(){return m.h("div",{ref:"containerRef",class:this.cssClassName,id:"qnaContainer"})},watch:{embedConfig:function(r,d){d&&(this.embedOrBootstrap(),this.callSetEventHandlers())},eventHandlers:function(){this.callSetEventHandlers()}},computed:{config(){return m.toRaw(this.embedConfig)}},mounted(){this.$refs.containerRef&&this.embedOrBootstrap(),this.callSetEventHandlers()},methods:{embedOrBootstrap(){var r,d;(r=this.config)!=null&&r.accessToken&&(d=this.config)!=null&&d.embedUrl?this.embedQna():this.embed=this.powerbi.bootstrap(this.$refs.containerRef,this.config)},embedQna(){if(!this.$refs.containerRef){console.error("HTML container is not rendered or available");return}this.embed=this.powerbi.embed(this.$refs.containerRef,this.config)},callSetEventHandlers(){this.eventHandlers&&this.embed&&this.setEventHandlers(this.embed,this.eventHandlers)},getQna(){return this.embed}}}),f=m.defineComponent({name:"PowerBICreateReport",props:{embedConfig:{type:Object,required:!0},eventHandlers:{type:Map}},mixins:[A],render(){return m.h("div",{ref:"containerRef",class:this.cssClassName,id:"createReportContainer"})},watch:{embedConfig:function(r,d){d&&(this.createEmbedReport(),this.callSetEventHandlers())},eventHandlers:function(){this.callSetEventHandlers()}},computed:{config(){return m.toRaw(this.embedConfig)}},mounted(){this.$refs.containerRef&&this.createEmbedReport(),this.callSetEventHandlers()},methods:{createEmbedReport(){if(!this.$refs.containerRef){console.error("HTML container is not rendered or available");return}this.embed=this.powerbi.createReport(this.$refs.containerRef,this.config)},callSetEventHandlers(){this.eventHandlers&&this.embed&&this.setEventHandlers(this.embed,this.eventHandlers)},getCreateObj(){return this.embed}}});n.PowerBICreateReport=f,n.PowerBIDashboardEmbed=P,n.PowerBIPaginatedReportEmbed=w,n.PowerBIQnaEmbed=c,n.PowerBIReportEmbed=_,n.PowerBITileEmbed=i,n.PowerBIVisualEmbed=g,Object.defineProperty(n,Symbol.toStringTag,{value:"Module"})})})(Ct,Ct.exports)),Ct.exports}var Hd=Ud(),ra=Fn();const $d={key:0,class:"powerbi-loading"},xd={key:1,class:"powerbi-error"},qd={class:"powerbi-error-content"},Wd={class:"powerbi-error-title"},Xd={key:2,class:"powerbi-report"},zd={__name:"PowerBi",props:{reportId:{type:String,required:!0},workgroupId:{type:String,required:!0},fullscreen:{type:Boolean,default:!1}},emits:["loaded"],setup(e,{emit:t}){const n=e,m=ot(null),O=ot(!0),R=ot(null),T=me(()=>`/api/powerbi/workgroups/${n.workgroupId}/reports/${n.reportId}/token`),{locale:S}=So(),C=me(()=>S.value.substring(0,2)),A=async()=>{try{O.value=!0,R.value=null;const c=(await Oo.get(T.value)).data;_(c)}catch(g){console.error("PowerBI token error:",g),R.value=!0}finally{O.value=!1}},_=g=>{m.value={type:"report",id:g.id,embedUrl:g.embedUrl,tokenType:ra.models.TokenType.Embed,accessToken:g.embedToken,settings:{localeSettings:{language:C.value,formatLocale:C.value},filterPaneEnabled:!0,navContentPaneEnabled:!0,background:ra.models.Backgroun
10dType.Transparent}}},P=g=>{console.error("PowerBI error:",g),R.value=!0},i=t,w=()=>{i("loaded")};return la(()=>{n.reportId&&n.workgroupId&&A()}),(g,c)=>(ae(),he("div",{class:sa(["powerbi-container",{"powerbi-fullscreen":e.fullscreen}])},[O.value?(ae(),he("div",$d,[ue(To,{indeterminate:"",color:"primary",size:"40"})])):R.value?(ae(),he("div",xd,[He("div",qd,[He("h3",Wd,ke(Fe(Ae)("reporting.report_not_found")),1)])])):m.value?(ae(),he("div",Xd,[ue(Fe(Hd.PowerBIReportEmbed),{embedConfig:m.value,"css-class-name":`powerbi-report-container ${e.fullscreen?"powerbi-fullscreen-report":""}`,onError:P,onLoaded:w},null,8,["embedConfig","css-class-name"])])):Be("",!0)],2))}},Gd=ft(zd,[["__scopeId","data-v-b87df76a"]]),Jd={class:"parameter-field mb-2"},Kd={__name:"ParameterField",props:{parameter:{type:Object,required:!0},modelValue:{type:[String,Number,Object,Array,Date,Boolean,null],default:null}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,m=t,O=me({get:()=>n.modelValue,set:R=>{if(n.parameter.DisplayTemplate==="DateTime"&&R&&n.parameter.SubType!=="Month"){const S=new Date(R).toISOString().slice(0,10);m("update:modelValue",S);return}m("update:modelValue",R)}});return(R,T)=>(ae(),he("div",Jd,[e.parameter.DisplayTemplate==="DateTime"?(ae(),Ee(ko,{key:0,modelValue:O.value,"onUpdate:modelValue":T[0]||(T[0]=S=>O.value=S),type:e.parameter.SubType==="Month"?"month":"date",label:e.parameter.DisplayName||e.parameter.Name,class:"parameter-input"},null,8,["modelValue","type","label"])):e.parameter.DisplayTemplate==="Combobox"&&e.parameter.EnumMembers?(ae(),Ee(Bo,{key:1,id:e.parameter.Name,modelValue:O.value,"onUpdate:modelValue":T[1]||(T[1]=S=>O.value=S),items:e.parameter.EnumMembers,"item-title":"DisplayName",placeholder:Fe(Ae)("reporting.select"),"item-value":"Value",label:e.parameter.DisplayName||e.parameter.Name,variant:"underlined",class:"parameter-input","menu-props":{contentClass:"parameter-field__content"},"hide-details":""},{item:se(({props:S,item:C})=>[ue(Co,Kt(S,{title:""}),{default:se(()=>[ue(Do,{class:"t:max-w-[380px] t:min-w-[380px]",text:C.title?C.title:""},null,8,["text"])]),_:2},1040)]),_:1},8,["id","modelValue","items","placeholder","label"])):Be("",!0)]))}},ia=ft(Kd,[["__scopeId","data-v-dbd1c716"]]),Qd={class:"d-flex justify-end"},aa={__name:"ReportParametersActions",props:{loading:{type:Boolean,default:!1},localFilledParameterCount:{type:Number,default:0}},emits:["clear","execute"],setup(e,{emit:t}){const n=t;return(m,O)=>(ae(),he("div",Qd,[ue(Qt,{variant:"text",size:"default",disabled:e.loading||e.localFilledParameterCount===0,class:"mr-2",onClick:O[0]||(O[0]=R=>n("clear"))},{default:se(()=>[$e(ke(Fe(Ae)("common.clear")),1)]),_:1},8,["disabled"]),ue(Qt,{color:"primary",variant:"elevated",size:"default",disabled:e.loading,class:"execute-button",onClick:O[1]||(O[1]=R=>n("execute"))},{default:se(()=>[$e(ke(Fe(Ae)("reporting.execute")),1)]),_:1},8,["disabled"])]))}},Yd={__name:"OutlineButton",props:{activatorProps:{type:Object,default:()=>({})},disabled:{type:Boolean,default:!1},open:{type:Boolean,default:!1}},setup(e){const t=Po();return(n,m)=>(ae(),Ee(Qt,Kt({class:"d-flex align-center outline-button",ripple:!1,disabled:e.disabled,variant:"flat"},{...Fe(t),...e.activatorProps},{style:{background:"white!important",outline:e.open?"2px solid var(--brand-primary)":"none",color:"var(--brand-grey-700)!important"}}),{default:se(()=>[No(n.$slots,"default",{},void 0,!0)]),_:3},16,["disabled","style"]))}},Hr=ft(Yd,[["__scopeId","data-v-9d5759e3"]]),Zd={class:"parameters-container"},eu={class:"parameters-container"},tu={__name:"ReportParameters",props:{parameters:{type:Array,required:!0},loading:{type:Boolean,default:!1},reportName:{type:String,required:!1,default:void 0},mode:{type:String,default:"card",validator:e=>["card","menu"].includes(e)}},emits:["execute"],setup(e,{emit:t}){const n=e,m=t,O=oa(),{reportParameters:R}=da(O),{setReportParameters:T}=O,S=_o({}),C=ot(!1),A=(f,r)=>{S[f]=r},_=f=>Object.values(f).reduce((r,d)=>Array.isArray(d)?r+(d.length>0?1:0):r+(d!=null&&d!==""?1:0),0),P=me(()=>_(S)),i=me(()=>{const f=R.value[n.reportName];return f?_(f):0}),w=()=>{const f=R.value[n.reportName];f&&Object.assign(S,f)};ua(C,f=>{f&&w()});const g=()=>{for(const f of n.parameters)S[f.Name]=null},c=()=>{n.reportName&&T(n.reportName,{...S}),C.value=!1,m("execute")};return(f,r)=>(ae(),he("div",{class:sa(["report-parameters",`report-parameters--${e.mode}`])},[e.mode==="card"?(ae(),Ee(Ii,{key:0,class:"mt-7 report-parameters-card",color:"white",elevation:2},{default:se(()=>[ue(Ri,{class:"parameters-header mb-6 mt-4"},{default:se(()=>[$e(ke(Fe(Ae)("reporting.execute_report")),1)]),_:1}),ue(_i,null,{default:se(()=>[He("div",Zd,[(ae(!0),he(Fr,null,Nt(e.parameters,d=>(ae(),Ee(ia,{key:d.Name,parameter:d,"model-value":S[d.Name],"onUpdate:modelValue":h=>A(d.Name,h)},null,8,["parameter","model-value","onUpdate:modelValue"]))),128)),ue(aa,{loading:e.loading,"local-filled-parameter-count":P.value,onClear:g,onExecute:c},null,8,["loading","local-filled-parameter-count"])])]),_:1})]),_:1})):(ae(),Ee(Ro,{key:1,modelValue:C.value,"onUpdate:modelValue":r[0]||(r[0]=d=>C.value=d),"close-on-content-click":!1,location:"bottom end",offset:8},{activator:se(({props:d})=>[ue(Hr,Kt(d,{disabled:e.loading}),{default:se(()=>[ue(Mo,{class:"mr-2",text:i.value},null,8,["text"]),$e(" "+ke(Fe(Ae)("reporting.parameters")),1)]),_:1},16,["disabled"])]),default:se(()=>[ue(Ii,{class:"report-parameters-card p-4",color:"white",elevation:2,"max-width":"300"},{default:se(()=>[ue(Ri,{class:"parameters-header mb-4 mt-3"},{default:se(()=>[$e(ke(Fe(Ae)("reporting.execute_report")),1)]),_:1}),ue(_i,null,{default:se(()=>[He("div",eu,[(ae(!0),he(Fr,null,Nt(e.parameters,d=>(ae(),Ee(ia,{key:d.Name,parameter:d,class:"mb-5","model-value":S[d.Name],"onUpdate:modelValue":h=>A(d.Name,h)},null,8,["parameter","model-value","onUpdate:modelValue"]))),128)),ue(aa,Kt({loading:e.loading,localFilledParameterCount:P.value},{onClear:g,onExecute:c}),null,16)])]),_:1})]),_:1})]),_:1},8,["modelValue"]))],2))}},na=ft(tu,[["__scopeId","data-v-73ab534d"]]),ru={class:"loading-report"},iu={key:0,class:"mb-8 d-flex align-center justify-space-between"},au={__name:"LoadingReport",props:{showHeader:{type:Boolean,default:!0},height:{type:String,default:"calc(100vh - 400px)"}},setup(e){const t=me(()=>[{key:"col1",label:"",filter:!1,sortable:!1,width:140},{key:"col2",label:"",filter:!1,sortable:!1,width:160},{key:"col3",label:"",filter:!1,sortable:!1,width:120},{key:"col4",label:"",filter:!1,sortable:!1,width:180},{key:"col5",label:"",filter:!1,sortable:!1,width:150}]),n=me(()=>[]),m={pageSize:8};return(O,R)=>(ae(),he("div",ru,[e.showHeader?(ae(),he("div",iu,[ue(Qe,{width:"240px",height:"16px"})])):Be("",!0),ue(ca,{name:"loading-report-grid",headers:t.value,items:n.value,loading:!0,"options-default":m,height:e.height,"min-height":"auto","hide-pagination":!0,"fixed-header":!1,"column-controller-enabled":!1,"drag-and-drop":!1,"no-elevation":""},{"top-left":se(()=>[ue(Qe,{width:"100px",height:"12px",class:"ml-4"})]),"top-right":se(()=>[ue(Qe,{width:"100px",height:"12px",class:"mr-4"})]),"header.col1":se(()=>[ue(Qe,{width:"40px",height:"12px",class:"my-2"})]),"header.col2":se(()=>[ue(Qe,{width:"40px",height:"12px",class:"my-2"})]),"header.col3":se(()=>[ue(Qe,{width:"40px",height:"12px",class:"my-2"})]),"header.col4":se(()=>[ue(Qe,{width:"40px",height:"12px",class:"my-2"})]),"header.col5":se(()=>[ue(Qe,{width:"40px",height:"12px",class:"my-2"})]),_:1},8,["headers","items","height"])]))}},nu=ft(au,[["__scopeId","data-v-c41aaf7c"]]),ou=["href"],lu={__name:"AccountLink",props:{accountId:{type:[String,Number],required:!0},displayName:{type:String,default:""}},setup(e){return(t,n)=>(ae(),he("a",{href:`/#/Account/View/${e.accountId}`,class:"account-link"},ke(e.displayName||e.accountId),9,ou))}},su=ft(lu,[["__scopeId","data-v-34b882a1"]]),du={class:"report-view"},uu={key:0,class:"report-header"},cu={class:"report-title-section"},fu={class:"report-title-with-info"},pu={class:"report-title"},hu={class:"report-header-actions"},vu={key:3,class:"report-powerbi-content"},mu={key:4,class:"report-content"},yu={key:0,class:"d-flex align-center px-4"},gu={class:"report-grid-executed-date"},Vu={class:"report-grid-actions"},bu={key:1},wu={key:1},Eu={key:1,style:{"overflow-wrap":"unset !important"}},Su={key:1},Tu={__name:"Report",props:{reportId:{type:String,default:null}},setup(e){const t=e,n=oa(),{addMessage:m}=Io(),{reports:O}=da(n),{executeReport:R,getReportData:T,isReportLoading:S,getReportExecutedAt:C,getReports:A,getReportBySlug:_,executingReport:P,goToReport:i,getReportParameters:w,setPowerBiLoaded:g}=n,c=me(()=>t.reportId?_(t.reportId):null),f=me(()=>c.value?.Name||null),r=me(()=>f.value?T(f.value):null),d=me(()=>f.value?S(f.value)||P.value:!1),h=me(()=>f.value&&C(f.value)||null),p=me(()=>!!r.value),o=me(()=>{const J=r.value;return J?J.Columns&&J.Result?Array.isArray(J.Result)&&J.Result.length>0:Array.isArray(J)?J.length>0:!1:!1}),a=me(()=>!!(c.value?.Parameters&&c.value.Parameters.length>0)),u=me(()=>{if(!c.value)return null;const J=c.value.PowerBiConfiguration||null;return J?{reportId:J.reportId,workgroupId:J.workgroupId,accountId:J.accountId}:null}),l=me(()=>!!u.value),{isFullscreen:s,toggle:y}=bo(),v=ot(!1);ua(s,J=>{v.value=J,J?document.documentElement.classList.add("powerbi-fullscreen-active"):document.documentElement.classList.remove("powerbi-fullscreen-active")});const b=ot(!1),E=ot(!1),{height:N}=wo(),I=()=>
10{if(N.value<650||N.value>2e3)return"auto";let Q=0;return N.value>1e3&&(Q=20),N.value>1600&&(Q=40),`calc(100vh - ${Q}px - 360px)`},L=me(()=>{if(!p.value)return[];const J=r.value;if(!J||!J.Columns||!J.Result)return Array.isArray(J)?J:[];const Q=J.Columns;return J.Result.map((D,H)=>{const X={__rowIndex:H};return Q.forEach((z,G)=>{let Y=D[G];typeof Y=="boolean"&&(Y=Y?"true":"false"),X[z.CellName]=Y}),X})}),B=J=>J==="Int32"||J==="Decimal"?"number":J==="DateTime"?"datestring":"string",q=me(()=>{if(!p.value)return[];const J=r.value;return J&&J.Columns?J.Columns.sort((Q,M)=>Q.CellIndex-M.CellIndex).map(Q=>({key:Q.CellName,label:Q.CellName,index:Q.CellIndex,isAccount:Q.IsAccount,filter:!0,sortable:!0,type:B(Q.CellType)})):[]}),k=me(()=>{const J=r.value;return J?.Columns?Object.fromEntries(J.Columns.map(Q=>[Q.CellName,Q])):{}}),$=(J,Q,M)=>{const D=k.value[M];return D?.LinkAccountIds?.[Q.__rowIndex]!==void 0?D.LinkAccountIds[Q.__rowIndex]:J||null},U=me(()=>({pageSize:10,sortByProp:"",sortDesc:!0})),W=async()=>{if(f.value&&!d.value)try{const J=w(c.value);if(await R(f.value,J)===null||!T(f.value))return;m({type:"success",text:Ae("reporting.report_executed_success",{name:f.value}),closeDelay:1e4,actions:[{label:Ae("reporting.view_report"),actionFn:()=>{i(f.value)},closeMessage:!0}]})}catch{console.log("Failed to execute report"),m({type:"error",text:Ae("reporting.execute_report_failed")})}},K=async()=>{await y()},j=async()=>{if(!f.value||!r.value)return;const J=r.value.GeneratedFilePath;if(J)try{b.value=!0;const Q=`${f.value}`;await jo(J,Q)}catch(Q){console.log("Export error:",Q)}finally{b.value=!1}};return la(async()=>{O.value.length===0&&await A(),f.value&&!r.value&&!a.value&&!l.value&&W(),setTimeout(()=>{E.value=!0},400)}),Ao(()=>{document.documentElement.classList.remove("powerbi-fullscreen-active")}),(J,Q)=>(ae(),he("div",du,[c.value?(ae(),he("div",uu,[He("div",cu,[He("div",fu,[He("h1",pu,ke(c.value.Name),1),c.value.ReportDescription?(ae(),Ee(Lo,{key:0,title:c.value.Name,description:c.value.ReportDescription},null,8,["title","description"])):Be("",!0)]),He("div",hu,[a.value&&!l.value&&(p.value||d.value)?(ae(),Ee(na,{key:0,"report-name":f.value,parameters:c.value.Parameters,loading:d.value,mode:"menu",onExecute:W},null,8,["report-name","parameters","loading"])):Be("",!0),l.value?(ae(),Ee(Qt,{key:1,color:"primary",variant:"text",size:"small",class:"mr-2",onClick:K},{default:se(()=>[ue(Pr,{size:"20",class:"mr-1",name:"Fullscreen"}),He("span",null,ke(Fe(Ae)("reporting.fullscreen")),1)]),_:1})):Be("",!0)])])])):Be("",!0),a.value&&!p.value&&!l.value&&!d.value?(ae(),Ee(na,{key:1,"report-name":f.value,parameters:c.value.Parameters,loading:d.value,mode:"card",onExecute:W},null,8,["report-name","parameters","loading"])):Be("",!0),d.value&&!l.value&&!p.value||!E.value&&!(a.value&&!p.value)?(ae(),Ee(nu,{key:2,height:I(),"show-header":!f.value},null,8,["height","show-header"])):l.value?(ae(),he("div",vu,[ue(Gd,{"report-id":u.value.reportId,"workgroup-id":u.value.workgroupId,fullscreen:v.value,onLoaded:Q[0]||(Q[0]=M=>Fe(g)(f.value,!0))},null,8,["report-id","workgroup-id","fullscreen"])])):!l.value&&E.value&&(p.value||!a.value&&f.value)?(ae(),he("div",mu,[(ae(),Ee(ca,{name:f.value,items:L.value,class:"mt-3",height:I(),key:h.value,"min-height":"auto","column-controller-enabled":"",headers:q.value,loading:d.value,"options-default":U.value},Fo({"top-left":se(()=>[h.value&&!d.value?(ae(),he("div",yu,[He("span",gu,[$e(ke(Fe(Ae)("reporting.report_generated_on"))+" ",1),ue(Ai,{value:h.value,"show-time":!0,"date-style":"full","time-style":"medium"},null,8,["value"])])])):Be("",!0)]),"top-right":se(()=>[He("div",Vu,[a.value?Be("",!0):(ae(),Ee(Hr,{key:0,class:"mr-2",disabled:d.value,onClick:W},{default:se(()=>[ue(Pr,{name:"Refresh",size:20,class:"mr-1"}),$e(" "+ke(Fe(Ae)("reporting.refresh_report")),1)]),_:1},8,["disabled"])),o.value?(ae(),Ee(Hr,{key:1,disabled:b.value||d.value,onClick:j},{default:se(()=>[ue(Pr,{name:"FileExcel",loading:b.value,size:20,class:"mr-1"},null,8,["loading"]),$e(" "+ke(Fe(Ae)("reporting.export")),1)]),_:1},8,["disabled"])):Be("",!0)])]),default:se(()=>[Q[1]||(Q[1]=$e(" // Date ",-1)),Q[2]||(Q[2]=$e(" // Account ",-1)),Q[3]||(Q[3]=$e(" // Readmore for longer strings ",-1))]),_:2},[Nt(q.value.filter(M=>M.type==="datestring"),M=>({name:M.key,fn:se(({item:D})=>[D?(ae(),Ee(Ai,{key:0,value:D,"show-time":!0,"date-style":"short","time-style":"short"},null,8,["value"])):(ae(),he("span",bu,"-"))])})),Nt(q.value.filter(M=>M.isAccount),M=>({name:M.key,fn:se(({item:D,row:H})=>[$(D,H,M.key)?(ae(),Ee(su,{key:0,"account-id":$(D,H,M.key),"display-name":D},null,8,["account-id","display-name"])):(ae(),he("span",wu,"-"))])})),Nt(q.value.filter(M=>M.type==="string"&&!M.isAccount),M=>({name:M.key,fn:se(({item:D})=>[D?(ae(),he(Fr,{key:0}
10,[typeof D=="string"&&D.length>300?(ae(),Ee(Uo,{key:0,string:D},null,8,["string"])):(ae(),he("span",Eu,ke(D),1))],64)):(ae(),he("span",Su,"-"))])}))]),1032,["name","items","height","headers","loading","options-default"]))])):Be("",!0)]))}},Wu=ft(Tu,[["__scopeId","data-v-d216c44d"]]);export{Wu as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.