UNPKG

@mescius/activereportsjs

Version:

ActiveReportsJS

8 lines 8.62 MB
/*! * @mescius/activereports 5.2.1 * Description: ActiveReportsJS * https://www.npmjs.com/package/@mescius/activereports * Copyright ©️ MESCIUS inc. All rights reserved. * Licensed under the Commercial license */ (function(vo,er){typeof exports=="object"&&typeof module<"u"?er(exports,require("@mescius/ar-js-pagereport")):typeof define=="function"&&define.amd?define(["exports","@mescius/ar-js-pagereport"],er):(vo=typeof globalThis<"u"?globalThis:vo||self,er((vo.MESCIUS=vo.MESCIUS||{},vo.MESCIUS.ActiveReportsJS=vo.MESCIUS.ActiveReportsJS||{},vo.MESCIUS.ActiveReportsJS.ReportDesigner={}),vo.MESCIUS.ActiveReportsJS.Core))})(this,function(vo,er){"use strict";var FAn=Object.defineProperty,MAn=Object.defineProperties;var LAn=Object.getOwnPropertyDescriptors;var FB=Object.getOwnPropertySymbols;var JOe=Object.prototype.hasOwnProperty,KOe=Object.prototype.propertyIsEnumerable;var aee=(vo,er,cl)=>er in vo?FAn(vo,er,{enumerable:!0,configurable:!0,writable:!0,value:cl}):vo[er]=cl,T=(vo,er)=>{for(var cl in er||(er={}))JOe.call(er,cl)&&aee(vo,cl,er[cl]);if(FB)for(var cl of FB(er))KOe.call(er,cl)&&aee(vo,cl,er[cl]);return vo},N=(vo,er)=>MAn(vo,LAn(er));var MB=vo=>typeof vo=="symbol"?vo:vo+"",zt=(vo,er)=>{var cl={};for(var wh in vo)JOe.call(vo,wh)&&er.indexOf(wh)<0&&(cl[wh]=vo[wh]);if(vo!=null&&FB)for(var wh of FB(vo))er.indexOf(wh)<0&&KOe.call(vo,wh)&&(cl[wh]=vo[wh]);return cl};var Ls=(vo,er,cl)=>aee(vo,typeof er!="symbol"?er+"":er,cl);var COe;const cl=Array.isArray;function wh(a){const u=typeof a;return a!=null&&(u=="object"||u=="function")}function LB(a){return a!=null&&typeof a=="object"}function Ww(a,u){if(a===u)return!0;if(a==null||u==null||!LB(a)&&!LB(u))return a!==a&&u!==u;if(typeof a!=typeof u)return!1;switch(typeof a){case"object":return cl(a)?a.length===u.length&&a.every((r,d)=>Ww(r,u[d])):Ww(Object.keys(a).sort(),Object.keys(u).sort())&&Object.keys(a).every(r=>Ww(a[r],u[r]));default:return!1}}const eRe=Object.freeze(Object.defineProperty({__proto__:null,isArray:cl,isEqual:Ww,isObject:wh,isObjectLike:LB},Symbol.toStringTag,{value:"Module"}));let r8=[];function lee(){r8=[]}function tRe(){return r8}function Os(a){r8.push(N(T({},a),{context:oRe()}))}function At(a,u,r,d,..._){switch(arguments.length){case 0:return;case 1:return a;case 2:return u(a);case 3:return r(u(a));case 4:return d(r(u(a)));default:return At.apply(null,[d(r(u(a))),..._])}}const zi=(a,u=[])=>({type:"success",value:a,warnings:u}),qa=a=>({type:"error",reason:a}),Hn=a=>a.type==="success"?a.value:void 0,nRe={decode:a=>zi(a),encode:a=>a},pi=a=>({decode:()=>zi(a),encode:()=>{}}),iRe=a=>({decode:()=>zi(a),encode:()=>{}});let a8;function OB(a,u){const r=a8;a8={part:a,next:r};try{return u()}finally{a8=r}}function oRe(){const a=[];for(let u=a8;u!=null&&u.part;u=u.next)a.unshift(u.part);return"".concat(...a)}const rRe=(a,...u)=>u.findIndex(r=>r===a)!==-1,l8=(...a)=>({decode:u=>rRe(u,...a)?zi(u):qa(`expected ${a.map(r=>JSON.stringify(r)).join(" | ")}, got: '${u}'`),encode:u=>typeof u=="string"||typeof u=="number"||u===null?u:(Os({type:"error",message:"expected a string value"}),u==null?void 0:u.toString())}),Mt={decode:a=>typeof a=="string"?zi(a):qa("expected string"),encode:a=>typeof a=="string"?a:(Os({type:"error",message:"expected a string value"}),a==null?void 0:a.toString())},Xe={decode:a=>typeof a=="number"&&!Number.isNaN(a)?zi(a):qa("expected number"),encode:a=>typeof a=="number"?a:(Os({type:"error",message:"expected a numeric value"}),a==null||Number.isNaN(+a)?void 0:+a)},ad={decode:a=>typeof a=="boolean"?zi(a):qa("expected boolean"),encode:a=>typeof a=="boolean"?a:(Os({type:"error",message:"expected a bool value"}),a==null?void 0:!!a)},hn=a=>({decode:u=>u==null?zi(void 0):a.decode(u),encode:u=>u===void 0?void 0:a.encode(u)}),see=a=>({decode:a.decode,encode:()=>{}}),ar=a=>({decode:u=>u==null?zi(null):a.decode(u),encode:u=>u==null?null:a.encode(u)}),Be=(a,u)=>({decode:r=>r===void 0?zi(a):u.decode(r),encode:r=>{if(!(Array.isArray(r)&&r.length===0&&Array.isArray(a)&&a.length===0))return Ww(r,a)?void 0:u.encode(r)}}),lt=(a,u)=>{const r=u.decode(a);if(r.type==="error")throw new Error("Failed to create a default result");const d=Object.freeze(r.value);return{decode:_=>_===void 0?zi(d):u.decode(_),encode:_=>{const g=u.encode(_);return Ww(g,a)?void 0:g}}},ro=(a,u)=>({decode:r=>r===void 0?zi(a):u.decode(r),encode:u.encode}),El=a=>ro(a,l8(a)),k0=a=>u=>lt(a,u),gt=a=>({decode:u=>{if(u==null)return qa("non-null expected");const r={};for(const d in a){if(!{}.hasOwnProperty.call(a,d))continue;if(!a[d])return qa(`${d}: missing property`);const _=a[d].decode(u[d]);if(_.type==="error")return qa(`${d}: ${_.reason}`);r[d]=_.value}return zi(r)},encode:u=>{if(u==null){Os({type:"error",message:"non-null value is expected"});return}const r={};for(const d in a)({}).hasOwnProperty.call(a,d)&&OB(".",()=>{const _=OB(d,()=>a[d].encode(u[d]));_!==void 0&&(r[d]=_)});return r}}),Dt=a=>lt({},gt(a)),Wn=(...a)=>u=>({decode:r=>{const d=a.find(_=>r[_]===void 0);return d!=null&&Os({type:"error",message:`Property ${String(d)} is marked as required, but not provided`}),u.decode(r)},encode:r=>u.encode(r)}),RB=(a,u)=>At(gt(a),Wn(...u)),Gw=(a,u,r)=>lt(u,RB(a,r)),Sh=a=>({decode:u=>{if(!cl(u))return qa("array expected");const r=u.map(a.decode),d=r.find(_=>_.type==="error");return d&&d.type==="error"?qa(d.reason):zi(r.map(Hn))},encode:u=>{if(u!=null)return cl(u)?u.map((r,d)=>OB(`[${d}]`,()=>a.encode(r))):(Os({type:"error",message:"array is expected"}),[])}}),jt=a=>Be([],Sh(a)),Xa=(a,u)=>r=>({decode:d=>{const _=r.decode(d);return _.type==="error"?_:zi(a(_.value))},encode:d=>r.encode(u(d))}),aRe=(a,u)=>r=>({decode:d=>r.decode(u(d)),encode:d=>a(r.encode(d))}),qi=a=>u=>({decode:r=>{const d=u.decode(r);if(d.type==="error")return qa(d.reason);const _=a.decode(r);return _.type==="success"?zi(T(T({},d.value),_.value)):qa(_.reason)},encode:r=>T(T({},u.encode(r)),a.encode(r))}),fg=(a,u,r)=>({decode:d=>{const _=a(d)||"",g=r[_];return g==null?qa(`Unknown or unsupported item type "${_}"`):g.decode(d)},encode:d=>{const _=r[u(d)];if(_==null)throw new Error(`unknown item type '${u(d)}'`);return _.encode(d)}}),BB=(a,u,r,d)=>({decode:_=>a(_)?r.decode(_):d.decode(_),encode:_=>u(_)?r.encode(_):d.encode(_)}),IB=()=>{const a=()=>{throw new Error("Cannot get here")},u={decode:a,encode:a};return[u,d=>{u.decode=d.decode,u.encode=d.encode}]},rn=(...a)=>{const u={};a.forEach(d=>{u[d]=d,u[d.toLowerCase()]=d});const r=`expected ${a.map(d=>JSON.stringify(d)).join(" | ")}`;return{decode:d=>{const _=typeof d=="string"?u[d]||u[d.toLowerCase()]:void 0;return _!==void 0?zi(_):qa(`${r}, got: '${d}'`)},encode:d=>typeof d=="string"?d:(Os({type:"error",message:"expected a string value"}),d==null?void 0:d.toString())}},Zt=(a,u)=>({decode:r=>{if(r===void 0)return zi(a);const d=u.decode(r);return d.type==="success"?d:(Os({type:"error",message:d.reason}),zi(a))},encode:r=>r===a?void 0:u.encode(r)});function kB(a,...u){const r={};for(const d of u)r[d]=a[d];return r}function s8(a,...u){const r={},d=Object.keys(a);for(const _ of d)u.find(g=>g===_)||(r[_]=a[_]);return r}function NB(a,u={}){return Object.freeze(Hn(a.decode(u)))}const uee=()=>a=>a,$D=a=>({decode:u=>{lee();const r=a.decode(u),d=tRe();return r.type==="success"?zi(r.value,d):r},encode:u=>(lee(),a.encode(u))}),lRe=()=>[...r8],cee=(a,u)=>r=>({decode:d=>{const _=r.decode(d);return _.type==="error"?(Os({type:"warning",message:_.reason}),a.decode(d)):_},encode:d=>u(d)?a.encode(d):r.encode(d)});function pee(a,u){return{f:a,frev:u}}function sRe(a,u){return{f:_=>{var g=_,{[a]:r}=g,d=zt(g,[MB(a)]);return N(T({},d),{[a]:u.f(r)})},frev:_=>{var g=_,{[a]:r}=g,d=zt(g,[MB(a)]);return N(T({},d),{[a]:u.frev(r)})}}}function uRe(a){return{f:u=>u===null?null:a.f(u),frev:u=>u===null?null:a.frev(u)}}function cRe(a){return{f:u=>u.map(a.f),frev:u=>u.map(a.frev)}}function pRe(a,u){return{f:()=>u,frev:()=>a}}function dRe(a,u){return{f:r=>u.f(a.f(r)),frev:r=>a.frev(u.frev(r))}}function hRe(a,u,r){return{f:d=>r.f(u.f(a.f(d))),frev:d=>a.frev(u.frev(r.frev(d)))}}function fRe(a,u,r,d){return{f:_=>d.f(r.f(u.f(a.f(_)))),frev:_=>a.frev(u.frev(r.frev(d.frev(_))))}}function _Re(a,u,r,d,_){return{f:g=>_.f(d.f(r.f(u.f(a.f(g))))),frev:g=>a.frev(u.frev(r.frev(d.frev(_.frev(g)))))}}function gRe(a,u,r,d){return{f:_=>a(_)?r.f(_):d.f(_),frev:_=>u(_)?r.frev(_):d.frev(_)}}function mRe(a){return Xa(a.f,a.frev)}function yRe(){return{f:a=>a,frev:a=>a}}const HB=Object.freeze(Object.defineProperty({__proto__:null,array:cRe,combine:dRe,combine3:hRe,combine4:fRe,combine5:_Re,identity:yRe,iif:gRe,make:pee,mapOfLens:mRe,nullable:uRe,prop:sRe,replace:pRe},Symbol.toStringTag,{value:"Module"})),dee=Object.freeze(Object.defineProperty({__proto__:null,Const:pi,Default:Be,DefaultOf:lt,Enum:Zt,Helpers:eRe,Lenses:HB,Temp:iRe,alt:fg,array:Sh,arrayDef:jt,boolean:ad,failure:qa,getLastRecordedFailures:lRe,iif:BB,initValue:ro,intersectWith:qi,justRead:see,lazy:IB,literal:l8,literalInit:El,makeDefaultOf:NB,map:Xa,mapInput:aRe,members:rn,nullable:ar,number:Xe,omit:s8,optional:hn,orElse:cee,pick:kB,pipe:At,recordFailure:Os,recordFailures:$D,required:Wn,resultOf:Hn,string:Mt,success:zi,type:gt,typeDef:Dt,typeDefReq:Gw,typeReq:RB,unknown:nRe,upcast:uee,withDefaultOf:k0},Symbol.toStringTag,{value:"Module"})),vRe=l8("ask","override","throw"),CRe=RB({reportType:l8("CPL","FPL","Pageless"),masterReportId:hn(Mt)},["reportType"]);function hee(a,u,r){const d=a.decode(u);if(d.type==="error")throw new Error(r(d.reason));return d.value}const wRe=a=>fee(a)?"":`=${a}`,SRe=a=>a,fee=a=>a===""||a==="="||a==='=""',Uw=()=>({decode:a=>typeof a=="string"?fee(a)?zi(""):zi(a):a==null?qa("non-null expected"):zi(`${a}`),encode:a=>typeof a=="string"?a:(Os({type:"error",message:"expected a enum/string value"}),a==null?void 0:a.toString())}),fn=Uw(),cp=Uw(),Br=Uw(),Jr=Uw(),Oi=Uw(),Oo=Uw(),bt=(...a)=>{const u={};a.forEach(d=>{u[d]=d,u[d.toLowerCase()]=d});const r=`expected ${a.map(d=>JSON.stringify(d)).join(" | ")}`;return{decode:d=>{const _=typeof d=="string"?u[d]||u[d.toLowerCase()]:void 0;return _!==void 0?zi(_):qa(`${r}, got: '${d}'`)},encode:d=>typeof d=="string"?d:(Os({type:"error",message:"expected a string value"}),d==null?void 0:d.toString())}},Lt=(a,u)=>({decode:r=>{if(r===void 0)return zi(a);const d=u.decode(r);return d.type==="success"?d:(Os({type:"error",message:d.reason}),zi(a))},encode:r=>r===a?void 0:u.encode(r)}),Kr=(a,u)=>{const r=Lt(a,u);return{decode:d=>d===void 0?zi(a):typeof d=="string"&&d.startsWith("=")?zi(d):r.decode(d),encode:d=>{if(d!==a)return typeof d=="string"&&d.startsWith("=")?d:u.encode(d)}}},bRe=(a,u)=>r=>At(r,Xa(_=>{var d=zt(_,[]);return N(T({},d),{Type:u})},_=>{var d=zt(_,[]);return N(T({},d),{Type:a})})),_ee=(a,u)=>r=>({decode:d=>{const _=r.decode(d);return _.type==="error"?(Os({type:"warning",message:_.reason}),a.decode(d)):_},encode:d=>u(d)?a.encode(d):r.encode(d)}),zB=a=>({decode:u=>typeof u=="string"&&u===""?a.decode(void 0):a.decode(u),encode:a.encode}),u8=a=>u=>({decode:r=>r===null?u.decode(a):u.decode(r),encode:u.encode}),WD=a=>({decode:u=>u===null?a.decode(void 0):a.decode(u),encode:a.encode}),bh=a=>({decode:u=>a.decode(u===null?void 0:u),encode:u=>{const r=a.encode(u);return r===void 0?null:r}}),gee=Object.freeze(Object.defineProperty({__proto__:null,AcceptBlankString:zB,Enum:Lt,EnumExpr:Kr,StoreUndefinedAsNull:bh,TreatNullAs:u8,TreatNullAsUndefined:WD,changeType:bRe,members:bt,orElse:_ee},Symbol.toStringTag,{value:"Module"})),Mi=Mt,ei={FontStyle:bt("Default","Normal","Italic"),FontWeight:bt("Default","Lighter","Thin","ExtraLight","Light","Normal","Medium","SemiBold","Bold","ExtraBold","Heavy","Bolder"),BackgroundGradientType:bt("None","LeftRight","TopBottom","Center","DiagonalLeft","DiagonalRight","HorizontalCenter","VerticalCenter"),TextDecoration:bt("Default","None","Underline","DoubleUnderline","Overline","LineThrough"),TextAlign:bt("General","Left","Center","Right","Justify"),VerticalAlign:bt("Default","Top","Middle","Bottom"),VerticalImageAlign:bt("Top","Middle","Bottom"),HorizontalImageAlign:bt("Left","Center","Right"),WrapMode:bt("NoWrap","CharWrap","WordWrap"),Direction:bt("Default","LTR","RTL"),LayoutDirection:bt("LTR","RTL"),WritingMode:bt("lr-tb","tb-rl"),Calendar:bt("Default","Gregorian","GregorianArabic","GregorianMiddleEastFrench","GregorianTransliteratedEnglish","GregorianTransliteratedFrench","GregorianUSEnglish","Hebrew","Hijri","Japanese","Korean","Taiwan","ThaiBuddhist"),UnicodeBiDi:bt("Normal","Embed","BidiOverride"),UprightInVerticalText:bt("None","Digits","DigitsAndLatinLetters"),TextJustify:bt("Auto","Distribute","DistributeAllLines"),BorderStyle:bt("Default","None","Dotted","Dashed","Solid","Double","DashDot","DashDotDot","Groove","Ridge","Inset","WindowInset","Outset"),BorderSideStyle:bt("","Default","None","Dotted","Dashed","Solid","Double","DashDot","DashDotDot","Groove","Ridge","Inset","WindowInset","Outset"),BreakLocation:bt("Start","End","StartAndEnd","Between","None"),NewPage:bt("Next","Odd","Even"),DataElementOutput:bt("Auto","Output","NoOutput","ContentsOnly"),DataElementStyle:bt("Auto","AttributeNormal","ElementNormal"),ImageSource:bt("External","Embedded","Database"),ImageRepeat:bt("Repeat","NoRepeat","RepeatX","RepeatY"),ShapeStyle:bt("Rectangle","RoundRect","Ellipse"),ApplyValueCmd:bt("Set","Reset","Toggle"),ReportPartPropertyType:bt("boolean","integer","float","string","color","length","fontFamily","fontSize","fontStyle","fontWeight","textDecoration","lineWidth","borderStyle","lineStyle"),RectangleOverflow:bt("Scroll","Clip","Auto","Grow"),BulletLabelFontStyles:bt("Regular","Bold","Italic","Underline","Strikeout"),ParagraphTextAlign:bt("Left","Center","Right","Justify"),LegendMode:bt("None","DataValues","SeriesGroups","Custom")},Dh=Dt({Hidden:Be("False",cp),ToggleItem:Be("",Mt)}),mee=At(gt({Type:pi("parameter"),ParameterName:Mt,Value:Be("",Jr),Omit:Be("false",cp)}),Wn("ParameterName")),yee=At(gt({Name:Be("",Mt),Type:Lt("Set",ei.ApplyValueCmd),Value:Be("",Jr)}),Wn("Name")),Iu=At(gt({Hyperlink:lt("",fn),Drillthrough:Dt({ReportName:Be("",fn),Parameters:jt(mee)}),BookmarkLink:lt("",fn),ApplyParameters:Dt({Parameters:jt(yee)})}),k0({}),WD),vee=bt("Equal","Like","NotEqual","GreaterThan","GreaterThanOrEqual","LessThan","LessThanOrEqual","TopN","BottomN","TopPercent","BottomPercent","In","Between"),Cee=At(gt({FilterExpression:ro("",Jr),Operator:ro("Equal",vee),FilterValues:jt(Jr)}),Wn("FilterExpression","Operator","FilterValues")),N0=jt(Cee),DRe={encode:()=>({}),decode:a=>{const _=a,{Name:u,Value:r}=_,d=zt(_,["Name","Value"]);return Object.keys(d).length===0?zi({}):zi({$legacy:d})}},c8=At(gt({Name:Mt,Value:lt("",Jr)}),qi(DRe),Wn("Name","Value")),p8=At(gt({Name:Mt,Value:ro("",Jr)}),Wn("Name","Value")),d8=Dt({Color:lt("",Oo),Style:Kr("",ei.BorderSideStyle),Width:lt("",Oi)}),PRe=Dt({Source:Zt("External",ei.ImageSource),Value:Be("",fn),MIMEType:lt("",fn),BackgroundRepeat:Kr("Repeat",ei.ImageRepeat)}),$B={Border:Dt({Color:lt("Black",Oo),Style:Kr("None",ei.BorderStyle),Width:lt("1pt",Oi)}),TopBorder:d8,RightBorder:d8,BottomBorder:d8,LeftBorder:d8,BackgroundColor:lt("Transparent",Oo),BackgroundGradientEndColor:lt("Transparent",Oo),BackgroundGradientType:Kr("None",ei.BackgroundGradientType),BackgroundImage:PRe,FontStyle:Kr("Normal",ei.FontStyle),FontFamily:lt("Arial",fn),FontSize:lt("10pt",Oi),FontWeight:Kr("Normal",ei.FontWeight),LineHeight:Be("1pt",Oi),LineSpacing:lt("",Oi),CharacterSpacing:lt("",Oi),Format:lt("",fn),TextDecoration:Kr("None",ei.TextDecoration),TextAlign:Kr("General",ei.TextAlign),VerticalAlign:Kr("Top",ei.VerticalAlign),WrapMode:Kr("WordWrap",ei.WrapMode),Color:lt("Black",Oo),PaddingLeft:lt("0pt",Oi),PaddingRight:lt("0pt",Oi),PaddingTop:lt("0pt",Oi),PaddingBottom:lt("0pt",Oi),Direction:Kr("LTR",ei.Direction),WritingMode:Kr("lr-tb",ei.WritingMode),Language:lt("",fn),Calendar:Kr("Gregorian",ei.Calendar),NumeralLanguage:lt("",fn),NumeralVariant:Be("1",Br),UnicodeBiDi:Kr("Normal",ei.UnicodeBiDi),UprightInVerticalText:Kr("None",ei.UprightInVerticalText),TextIndent:lt("0.5in",Mi),LeadingChar:Be("",fn),MaxLevel:lt("0",Br),HeadingLevel:lt("",Br),ShrinkToFit:Be("False",cp),TextJustify:Kr("Auto",ei.TextJustify),Angle:Be("0",Br),MinCondenseRate:Be("100",Br),DisplayFillCharacters:Be("True",cp),DisplayPageNumber:Be("True",cp)},xRe=gt($B),Bi=(...a)=>kB($B,...a),Wl=Bi("Border","TopBorder","BottomBorder","LeftBorder","RightBorder"),Ph=Bi("FontFamily","FontSize","FontStyle","FontWeight"),Gl=Bi("PaddingLeft","PaddingRight","PaddingTop","PaddingBottom"),cy=T(T(T({},Ph),Gl),Bi("Color","Format","LineHeight","TextAlign","TextDecoration","VerticalAlign","Calendar","Direction","Language","NumeralLanguage","NumeralVariant","UnicodeBiDi","UprightInVerticalText","WritingMode")),wee=(a,u)=>{const r={};return Object.keys(u).forEach(d=>{if(u[d]instanceof Object)r[d]=wee(a==null?void 0:a[d],u[d]);else{const _=d in(a??{});r[d]=_?"modified":"default"}}),r},See=(a,u,r)=>{const d={};return Object.keys(a).forEach(_=>{if(r[_]instanceof Object){const g=See(a[_],u[_],r[_]);g&&(d[_]=g)}else r[_]==="modified"&&(d[_]=u[_]??a[_])}),Object.keys(d).length?d:void 0},xh=a=>({decode:u=>{const r=a.decode(u);if(r.type==="error")return r;const d=r.value,_=wee(u,d);return zi(N(T({},d),{$status:_}))},encode:u=>{const{$status:r}=u;return See(u,a.encode(u)??{},r)}}),bee=a=>{const u={};return Object.keys(a).forEach(r=>{a[r]instanceof Object?u[r]=bee(a[r]):u[r]=a[r]==="default"?"inherit":a[r]}),u},ERe=(a,u)=>r=>{if(!u(r)||!(a in r))return r;const c=r,{[a]:s}=c,i=s,{$status:d}=i,_=zt(i,["$status"]),g=zt(c,[MB(a)]),t=bee(d);return T({[a]:T({$status:t},_)},g)},Eh=(a,u)=>Xa(ERe(a,u),r=>r),H0=Be(!1,ad),jw=Be("",Mt),GD=bt("Auto","True","False"),Dee=Gw({DataSetName:Mt,ValueField:Mt,LabelField:jw},{DataSetName:"",ValueField:""},["DataSetName","ValueField"]),TRe=gt({Value:hn(Jr),Label:hn(Jr)}),ARe=lt({},gt({Condition:ro("None",bt("None","Label","Value")),Direction:Lt("Ascending",bt("Ascending","Descending"))})),VRe=lt({},gt({ParameterValues:jt(TRe),DataSetReference:Dee,OrderBy:ARe})),FRe=lt({},gt({Values:jt(Jr),DataSetReference:Dee})),Pee=At(gt({Type:pi("reportparameter"),AllowBlank:H0,DataType:ro("String",bt("Boolean","Date","DateTime","Integer","Float","String")),DefaultValue:FRe,Hidden:H0,Multiline:H0,MultiValue:H0,Name:Mt,Nullable:H0,Prompt:Be("",fn),SelectAllValue:lt("",Jr),UsedInQuery:Lt("Auto",GD),ValidValues:VRe,DisplayFormat:Be("",fn)}),Wn("Name","DataType")),WB=At(gt({Name:Mt,Transaction:H0,DataSourceReference:jw,ConnectionProperties:Gw({DataProvider:Mt,ConnectString:Be("",fn),IntegratedSecurity:H0,Prompt:jw},{DataProvider:""},["DataProvider"])})),xee=At(gt({Name:jw,DataField:jw,Value:lt("",Jr)}),Wn("Name")),GB=At(gt({Name:Mt,Fields:jt(xee),Query:Gw({DataSourceName:Mt,CommandType:Lt("Text",bt("Text","StoredProcedure","TableDirect")),CommandText:WD(lt("",fn)),QueryParameters:jt(c8),Timeout:Be(0,Xe)},{DataSourceName:""},["DataSourceName"]),Filters:N0,CaseSensitivity:ro("Auto",GD),Collation:jw,KanatypeSensitivity:ro("Auto",GD),AccentSensitivity:ro("Auto",GD),WidthSensitivity:ro("Auto",GD)}),Wn("Name")),Bn=Be(!1,ad),Ul=Be(!0,ad),Ii=Be("",Mt),Th=lt("0in",Mi),h8={Name:Mt,ZIndex:Be(0,Xe),Visibility:Dh,ToolTip:lt("",fn),Bookmark:lt("",fn),DataElementName:Be("",Mt),DataElementOutput:Be("Auto",ei.DataElementOutput),Label:lt("",fn),LayerName:Be("default",Mt),CustomProperties:jt(p8)},Ya=a=>T({Type:El(a)},h8),Zw={NoRowsMessage:lt("",fn),DataSetName:Ii,DataSetParameters:jt(c8),PageBreak:Be("None",ei.BreakLocation),NewPage:Be("Next",ei.NewPage),Filters:N0,PageName:lt("",fn),NewSection:Bn},Eee={FontFamily:hn(fn),FontSize:hn(Oi),FontStyle:hn(ei.FontStyle),FontWeight:hn(ei.FontWeight),Color:hn(Oo),LineSpacing:hn(Oi),BackgroundColor:hn(Oo),TextDecoration:hn(ei.TextDecoration)},MRe=At(gt({Type:El("text"),Action:Iu,Label:Ii,Value:Be("",fn),StyleName:Ii,Style:Dt(N(T({},Eee),{Subscript:hn(cp),Superscript:hn(cp)})),ToolTip:Be("",fn)}),Wn("Type")),LRe=At(gt({Type:El("image"),Action:Iu,Label:Ii,Source:Lt("External",ei.ImageSource),Value:lt("",fn),Width:lt("1in",Oi),Height:lt("1in",Oi),MIMEType:At(lt("",fn),WD),ToolTip:Be("",fn)}),Wn("Type")),ORe=fg(a=>a.Type||"text",a=>a.Type,{text:MRe,image:LRe}),RRe=gt({TextRuns:jt(ORe),LeftIndent:hn(Oi),RightIndent:hn(Oi),HangingIndent:hn(Oi),StyleName:Ii,Style:Dt(N(T({},Eee),{TextAlign:hn(ei.ParagraphTextAlign)})),ListStyle:Lt("None",bt("None","Numbered","Bullet")),ListLevel:Be(0,Xe),ListItemIndex:Be(0,Xe),SpaceBefore:hn(Oi),SpaceAfter:hn(Oi),ListStyleType:hn(Lt("None",bt("None","Disc","Circle","Square","Decimal","DecimalLeadingZero","CircledNumber","LowerRoman","UpperRoman","LowerLatin","UpperLatin","LowerGreek","UpperGreek","Katakana","KatakanaBrackets","KatakanaIrohaBrackets","KatakanaIroha","KatakanaLower","KatakanaIrohaLower")))}),Tee=At(gt(N(T({},Ya("richtext")),{CanGrow:Bn,DataElementStyle:Be("Auto",ei.DataElementStyle),KeepTogether:Bn,Style:Dt(T(T(T(T({},Wl),Ph),Gl),Bi("Color","LineHeight","BackgroundColor","BackgroundImage","VerticalAlign")))})),Wn("Name")),UB=fg(a=>a.MarkupType||"None",a=>a.MarkupType,{None:At(Tee,qi(gt({MarkupType:pi("None"),Paragraphs:jt(RRe)}))),HTML:At(Tee,qi(gt({MarkupType:El("HTML"),Value:Jr})))}),UD=Lt("None",bt("None","Average","Count","CountDistinct","CountOfAll","List","Max","Min","PopulationStandardDeviation","PopulationVariance","Range","StandardDeviation","Sum","Variance")),BRe=Lt("Office",bt("Aspect","Blue","Blue2","BlueGreen","BlueWarm","Cerulan","Cocoa","Coral","Cyborg","Dark","Darkly","Flatly","Grayscale","Green","GreenYellow","HighContrast","Light","Marquee","Median","Midnight","Modern","Office","Office2010","Orange","OrangeRed","Organic","Paper","Red","RedOrange","RedViolet","Slate","Slipstream","Standard","Superhero","Violet","Violet2","Yellow","YellowOrange","Zen","Custom")),z0=T(T({},Ph),Bi("Color","TextDecoration")),Aee={Hidden:Bn,Orientation:Lt("Horizontal",bt("Horizontal","Vertical")),Position:Lt("Right",bt("Left","Right","Top","Bottom")),Style:Dt(T(T({},Gl),Bi("BackgroundColor","Border"))),TextStyle:Dt(z0),TitleStyle:Dt(z0)},Vee={Style:Dt(T(T({},Gl),Bi("BackgroundColor","Border"))),TextStyle:Dt(z0),Title:lt("",fn),Height:zB(hn(Xe)),HAlign:Lt("Center",bt("Center","Left","Right")),VAlign:Lt("Middle",bt("Middle","Bottom","Top"))},$0=Dt(Bi("Border")),IRe=gt({Type:pi("dvchartaxis"),AxisLine:Ul,AxisType:Lt("X",bt("X","Y")),DateMode:Lt("Default",bt("Default","Millisecond","Second","Minute","Hour","Day","Week","Month","Year")),Format:lt("",fn),LabelAngle:Be(0,Xe),LabelField:lt("",fn),Labels:Ul,LabelStyle:Dt(T(T(T({},z0),Gl),Bi("WritingMode"))),LineStyle:$0,LogBase:Be(10,Xe),MajorGrid:Bn,MajorGridStyle:$0,MajorTicks:Lt("None",bt("Inside","Outside","Cross","None")),MajorTickSize:lt("4pt",Oi),MajorTickStyle:$0,MajorUnit:lt("",Br),Max:lt("",Br),Min:lt("",Br),MinorGrid:Bn,MinorGridStyle:$0,MinorTicks:Lt("None",bt("Inside","Outside","Cross","None")),MinorTickSize:lt("2pt",Oi),MinorTickStyle:$0,MinorUnit:lt("",Br),Origin:lt("",Br),OverlappingLabels:Lt("Auto",bt("Auto","Show")),Plots:jt(Mt),Position:Lt("Near",bt("Near","Far","None")),Reversed:Bn,Scale:Lt("Linear",bt("Linear","Logarithmic","Ordinal","Percentage")),Style:$0,TextStyle:Dt(T(T({},z0),Gl)),Title:lt("",fn),TitleStyle:Dt(T(T({},z0),Gl)),MaxHeight:Be(1,Xe),MaxWidth:Be(1,Xe),Width:Be(null,ar(Xe)),Height:Be(null,ar(Xe)),LabelRowCount:Be(1,Xe)}),kRe=gt(N(T({Type:pi("dvchartlegend")},Aee),{MaxHeight:Be(1,Xe),MaxWidth:Be(1,Xe),Title:lt("",fn),LegendType:Lt("Color",bt("Color","Shape","Size")),IconColor:lt("",Oo),RangeOptions:jt(gt({Title:Ii,To:Xe}))})),jD=Dt({FieldType:El("Simple"),Value:jt(Jr),Captions:At(Mt,u8(""),jt)}),NRe=Dt({FieldType:El("Complex"),Subfields:jt(gt({Key:Mt,Value:lt("",Jr),Caption:Ii}))}),HRe=BB(a=>(a==null?void 0:a.FieldType)==="Complex",a=>a.FieldType==="Complex",NRe,jD),zRe=Dt({Type:pi("dvchartcategoryencoding"),Field:jD,Sort:Lt("None",bt("None","Ascending","Descending")),SortingField:lt("",Jr),SortingAggregate:UD}),$Re=gt({Type:pi("dvchartdetailsencoding"),Field:jD,Group:Lt("None",bt("None","Cluster","Stack")),ExcludeNulls:Bn,Sort:Lt("None",bt("None","Ascending","Descending")),SortingField:lt("",Jr),SortingAggregate:UD}),jB=Dt({Type:pi("dvchartaggregateencoding"),Field:jD,Aggregate:UD,Action:Iu}),WRe=gt({Type:pi("dvchartvalueaggregateencoding"),Field:HRe,Aggregate:UD}),GRe=gt({Type:pi("dvcharttextencoding"),Field:jD,Target:Lt("Label",bt("Label","ToolTip")),Aggregate:UD}),URe=gt({Name:ro("",Mt),Type:pi("dvchartrule"),Condition:lt("",fn),RuleProperties:jt(gt({TargetProperty:Lt("BackgroundColor",bt("BackgroundColor","LineColor","LineStyle","LineWidth","SymbolBackgroundColor","SymbolLineColor","SymbolLineStyle","SymbolLineWidth","LabelTemplate","TooltipTemplate")),Value:lt("",Jr)}))}),jRe=gt({Name:Mt,Type:pi("dvchartoverlay"),OverlayType:Lt("ReferenceLine",bt("ReferenceLine","ReferenceBand","LinearTrendline","ExponentialTrendline","PowerTrendline","LogarithmicTrendline","PolynomialTrendline","FourierTrendline","MovingAverageTrendline","CumulativeMovingAverageTrendline","ExponentialMovingAverageTrendline","WeightedMovingAverageTrendline","MovingAnnualTotalTrendline")),Display:Lt("Front",bt("Front","Back")),Style:Dt(Bi("Border","BackgroundColor")),Field:Ii,DetailLevel:Lt("Total",bt("Group","Total")),LegendLabel:Ii,Value:Ii,Axis:Lt("Y",bt("X","Y")),AggregateType:Lt("Average",bt("Sum","Count","Average","Max","Min","Median","Percentile")),Start:Be(0,Xe),End:Be(0,Xe),Order:Be(2,Xe),Period:Be(2,Xe),ForwardForecastPeriod:Be(0,Xe),BackwardForecastPeriod:Be(0,Xe),Intercept:Be(null,ar(Xe))}),ZRe=At(Dt({Action:Iu,AxisMode:Lt("Cartesian",bt("Cartesian","Radial","Polygonal")),Bar:Dt({BottomWidth:hn(Xe),NeckHeight:hn(Xe),Overlap:hn(Xe),TopWidth:hn(Xe),Width:hn(Xe)}),BarLines:Bn,BarLineStyle:Dt({Color:lt("Black",Oo),Style:Kr("Solid",ei.BorderStyle),Width:lt("1pt",Oi)}),ClippingMode:Lt("Clip",bt("Clip","Fit","None")),CustomLabels:At(gt({Type:pi("dvchartplotcustomlabel"),Style:Dt(T(T({},Bi("TextDecoration","Color","WritingMode")),Ph)),Text:Be("",fn),OffsetX:Be("0in",Mi),OffsetY:Be("0.5in",Mi)}),u8({}),jt),InnerRadius:Be(0,Xe),LineAspect:Lt("Default",bt("Default","Spline","StepCenter","StepLeft","StepRight")),LineStyle:Dt({Color:lt("",Oo),Style:Kr("None",ei.BorderStyle),Width:lt("1pt",Oi)}),Offset:Be(0,Xe),Opacity:Be(1,Xe),Overlays:jt(jRe),Pointers:At(gt({Type:pi("dvchartplotpointer"),Style:Dt({BackgroundColor:lt("Black",Oo)}),NeedleWidth:Be("0in",Mi),NeedlePinWidth:Be("0in",Mi),End:Be("",fn)}),u8({}),jt),Radial:Bn,ShowNulls:Lt("Gaps",bt("Connected","Gaps","Zeros")),StartAngle:Be(0,Xe),Style:Dt({BackgroundColor:lt("",Oo)}),SwapAxes:Bn,Sweep:Be(360,Xe),SymbolOpacity:Be(1,Xe),SymbolSize:Be(10,Xe),Symbols:Bn,SymbolShape:Lt("Auto",bt("Auto","Dot","Box","Diamond","Triangle","X","Dash","Plus")),SymbolStyle:Dt(T({BackgroundColor:lt("",Oo)},Bi("Border"))),Text:Dt({ConnectingLine:$0,LinePosition:Lt("Auto",bt("Auto","Center")),Offset:Be(0,Xe),OverlappingLabels:Lt("Auto",bt("Auto","Show","Hide")),TextPosition:Lt("Auto",bt("Auto","Center","Inside","Outside")),Template:Ii,Style:Dt(T(T({},z0),Bi("BackgroundColor","Border")))}),Tooltip:Dt({Template:lt("",fn)}),Rules:jt(URe),UnpivotData:Bn})),qRe=gt({Type:pi("dvchartplot"),PlotType:Lt("Bar",bt("Bar","Line","Area","Scatter","HighLowOpenClose","Candlestick")),PlotName:Be("p1",Mt),Encodings:Dt({Values:jt(WRe),Category:zRe,Details:jt($Re),Color:jB,Shape:jB,Size:jB,Texts:jt(GRe)}),Config:ZRe,PlotChartType:Lt("Custom",bt("Custom","Column","Bar","Line","Pie","Area","Pyramid","Funnel","Scatter","Bubble","Gantt","Candlestick","HighLowClose","HighLowOpenClose","PolarColumn","PolarBar","RadarArea","RadarBubble","RadarScatter","RadarLine","RangeArea","RangeBar","RangeColumn","Gauge")),PlotChartSubtype:Lt("Plain",bt("Plain","Clustered","Stacked"))}),ZB=At(gt(N(T(T({},Ya("dvchart")),Zw),{Style:Dt(T(T(T({},Wl),cy),Bi("BackgroundColor","BackgroundImage","BackgroundGradientType","BackgroundGradientEndColor"))),Bar:Dt({BottomWidth:Be(.55,Xe),NeckHeight:Be(1,Xe),Overlap:Be(0,Xe),TopWidth:Be(.55,Xe),Width:Be(.55,Xe)}),Header:Dt(T({Type:pi("dvchartheader")},Vee)),Footer:Dt(T({Type:pi("dvchartfooter")},Vee)),Palette:BRe,CustomPalette:jt(Oo),Legend:Dt(N(T({Type:pi("dvchartgloballegend")},Aee),{Wrapping:Ul})),PlotArea:Dt({Type:pi("dvchartplotarea"),Axes:jt(IRe),Legends:jt(kRe),Style:Dt(T(T({},Gl),Bi("BackgroundColor","Border")))}),Plots:Sh(qRe),AccessibleDescription:lt("",fn)})),Wn("Name")),qB=At(gt(N(T({},Ya("textbox")),{Action:Iu,CanGrow:Bn,CanShrink:Bn,DataElementStyle:Be("Auto",ei.DataElementStyle),KeepTogether:Bn,ToggleImage:Gw({InitialState:cp},{InitialState:"False"},["InitialState"]),UserSort:Gw({SortExpression:fn,SortExpressionScope:Ii,SortTarget:Ii},{SortExpression:""},["SortExpression"]),Value:lt("",Jr),Style:At(Dt(T(T(T({},Wl),cy),Bi("BackgroundColor","BackgroundImage","TextJustify","WrapMode","ShrinkToFit","LineSpacing","LineHeight","CharacterSpacing","Angle","HeadingLevel","MinCondenseRate"))),xh),StyleName:Be("",Mt),CustomCSSClasses:Be("",fn)})),Eh("Style",a=>a.StyleName!==""),Wn("Name")),XRe=Lt("MiddleLeft",bt("TopLeft","TopCenter","TopRight","MiddleLeft","MiddleCenter","MiddleRight","BottomLeft","BottomCenter","BottomRight")),Fee=Lt("Never",bt("Never","Always","Restricted")),Mee=Lt("None",bt("None","LeftRight","TopBottom","Center","DiagonalLeft","DiagonalRight","HorizontalCenter","VerticalCenter")),XB=At(gt(N(T({},Ya("checkbox")),{Action:Iu,CheckAlignment:XRe,Text:lt("",fn),Checked:Be("False",cp),DataElementStyle:lt("Auto",ei.DataElementStyle),Style:At(Dt(T(T(T(T({},Wl),Gl),Ph),Bi("BackgroundColor","BackgroundImage","Color","WrapMode","TextDecoration"))),xh),StyleName:Be("",Mt),CustomCSSClasses:Be("",fn)})),Eh("Style",a=>a.StyleName!==""),Wn("Name")),Lee=ro({X:"0in",Y:"0in"},gt({X:ro("0in",Mi),Y:ro("0in",Mi)})),YB=At(gt(N(T({},s8(Ya("line"),"DataElementName","DataElementOutput","ToolTip")),{StartPoint:Lee,EndPoint:Lee,LineWidth:lt("1pt",Oi),LineStyle:Kr("Solid",ei.BorderStyle),LineColor:lt("Black",Oo),AccessibleDescription:lt("",fn)})),Wn("Name")),f8=a=>At(gt(N(T({},Ya("rectangle")),{PageBreak:Be("None",ei.BreakLocation),NewPage:Be("Next",ei.NewPage),KeepTogether:Bn,PageName:lt("",fn),RoundingRadius:Dt({Default:lt("",Oi),TopLeft:lt("",Oi),TopRight:lt("",Oi),BottomLeft:lt("",Oi),BottomRight:lt("",Oi)}),ConsumeWhiteSpace:Bn,Overflow:Lt("Auto",ei.RectangleOverflow),LinkToChild:Ii,Style:Dt(T(T({},Wl),Bi("BackgroundColor","BackgroundImage"))),ReportItems:jt(a)})),Wn("Name")),Oee=gt({Value:lt("",Jr),Direction:Lt("Ascending",bt("Ascending","Descending"))}),ld=jt(Oee),Ree={Name:Ii,DocumentMapLabel:Be("",fn),GroupExpressions:jt(Jr),PageBreak:Be("None",ei.BreakLocation),PageBreakDisabled:Be("False",cp),NewPage:Be("Next",ei.NewPage),Filters:N0,ParentGroup:Be("",Jr),DataElementName:Ii,DataElementOutput:Be("Output",ei.DataElementOutput),DataCollectionName:Ii,NewSection:Bn},JB=gt(Ree),_g=lt({},JB),KB=a=>At(gt(N(T(T({},Ya("list")),Zw),{Action:Iu,SortExpressions:ld,KeepTogether:Bn,ConsumeWhiteSpace:Bn,DataInstanceName:Ii,DataInstanceElementOutput:Lt("Output",bt("Output","NoOutput")),Group:_g,RowsOrColumnsCount:Be(1,Xe),GrowDirection:Lt("Column",bt("Column","ColumnReverse","Row","RowReverse")),Style:At(Dt(T(T(T({},Wl),cy),Bi("BackgroundColor","BackgroundImage"))),xh),StyleName:Be("",Mt),ReportItems:jt(a)})),Eh("Style",u=>u.StyleName!==""),Wn("Name")),QB=a=>{const u=gt({Type:pi("tablecolumn"),Width:Th,FixedHeader:Bn,Visibility:Dh,AutoWidth:Lt("None",bt("None","Proportional"))}),r=At(gt({Item:a,ColSpan:Be(1,Xe),RowSpan:Be(1,Xe),AutoMergeMode:Fee}),Wn("Item")),d=gt({Action:Iu,Type:pi("tablerow"),Height:Th,Visibility:Dh,TableCells:jt(ar(r))}),_=gt({Type:pi("tableheader"),FixedHeader:Bn,TableRows:jt(d),RepeatOnNewPage:Bn}),g=gt({Type:pi("tablefooter"),PrintAtBottom:Bn,TableRows:jt(d),RepeatOnNewPage:Bn}),t=gt({Type:pi("tabledetails"),TableRows:jt(d),Group:_g,SortExpressions:ld,Visibility:Dh}),c=gt({Type:pi("tablegroup"),Group:_g,SortExpressions:ld,Header:Be(null,ar(_)),Footer:Be(null,ar(g)),Visibility:Dh,KeepTogether:Bn,PreventOrphanedHeader:Ul,PreventOrphanedFooter:Ul});return At(gt(N(T(T({},Ya("table")),Zw),{KeepTogether:Bn,FillPage:Bn,DetailDataElementName:Ii,DetailDataCollectionName:Ii,DetailDataElementOutput:Be("Auto",ei.DataElementOutput),FrozenRows:Be(0,Xe),FrozenColumns:Be(0,Xe),RepeatToFill:Bn,RepeatBlankRows:Lt("None",bt("None","FillPage","FillGroup")),PreventOrphanedHeader:Ul,PreventOrphanedFooter:Ul,SortExpressions:ld,Style:At(Dt(T(T(T({},Wl),cy),Bi("BackgroundColor","BackgroundImage"))),xh),StyleName:Be("",Mt),TableColumns:jt(u),Header:Be(null,ar(_)),TableGroups:jt(c),Details:Be(null,ar(t)),Footer:Be(null,ar(g)),MaxDetailsPerPage:Be("",Br)})),Eh("Style",s=>s.StyleName!==""),Wn("Name"))},YRe=a=>{const[u,r]=IB(),d=At(a,qi(gt({Children:jt(u)})));return r(d),d},Bee=a=>{const u=pee(_=>{var g=_,{Children:r}=g,d=zt(g,["Children"]);return N(T({},a.f(d)),{Children:r.map(u.f)})},_=>{var g=_,{Children:r}=g,d=zt(g,["Children"]);return N(T({},a.frev(d)),{Children:r.map(u.frev)})});return u},_8=a=>{const u=gt({Item:a,LevelCount:Be(0,Xe)}),r=At(gt({Header:Be(null,ar(u)),BodyIndex:Be(-1,Xe),BodyCount:Be(1,Xe),Visibility:Dh,DataElementName:Ii,DataElementOutput:Be("Auto",ei.DataElementOutput),KeepTogether:Bn,Group:ar(gt(N(T({},Ree),{PrintFooterAtBottom:Bn}))),KeepWithGroup:Lt("None",bt("None","Before","After")),RepeatOnNewPage:Bn,SortExpressions:ld}),YRe),d={RowSpan:Be(1,Xe),ColSpan:Be(1,Xe),Item:Be(null,ar(a))},_=gt(d),g=gt(N(T({},d),{AutoMergeMode:Fee})),t=gt({Height:Th,Cells:jt(ar(g))}),c=Dt({LevelSizes:jt(Mi),Members:jt(r)}),s=Sh(ar(_));return At(gt(N(T(T({},Ya("tablix")),Zw),{SortExpressions:ld,KeepTogether:Bn,FrozenRows:Be(0,Xe),FrozenColumns:Be(0,Xe),RepeatColumnHeaders:Bn,RepeatRowHeaders:Bn,GroupsBeforeRowHeaders:Be(0,Xe),LayoutDirection:Be("LTR",ei.LayoutDirection),RowHierarchy:c,ColumnHierarchy:c,Corner:jt(s),Body:Dt({Columns:jt(Mi),Rows:jt(t)}),Style:At(Dt(T(T(T({},Wl),cy),Bi("BackgroundColor","BackgroundImage"))),xh),StyleName:Be("",Mt)})),Eh("Style",i=>i.StyleName!==""),Wn("Name"))},eI=a=>{const u={Name:ar(Mt),Action:Iu,CanShrink:Bn,CanGrow:Ul,KeepTogether:Ul,Height:Th,Visibility:Dh,PageBreak:Be("None",ei.BreakLocation),NewPage:Be("Next",ei.NewPage)},r=gt(N(T({Type:pi("bandedlistdetails")},u),{ReportItems:jt(a)})),d=gt(N(T({Type:pi("bandedlistheader")},u),{RepeatOnNewPage:Bn,ReportItems:jt(a)})),_=gt(N(T({Type:pi("bandedlistfooter")},u),{RepeatOnNewPage:Bn,PrintAtBottom:Bn,ReportItems:jt(a)})),g=gt({Type:pi("bandedlistgroup"),Group:_g,SortExpressions:ld,Visibility:Dh,KeepTogether:Bn,PreventOrphanedHeader:Bn,PreventOrphanedFooter:Bn,Header:Be(null,ar(d)),Footer:Be(null,ar(_))});return At(gt(N(T(T({},Ya("bandedlist")),s8(Zw,"NoRowsMessage")),{KeepTogether:Bn,ConsumeWhiteSpace:Bn,PreventOrphanedHeader:Bn,PreventOrphanedFooter:Bn,Header:Be(null,ar(d)),Details:Be(null,ar(r)),Footer:Be(null,ar(_)),Groups:jt(g)})),Wn("Name"))},JRe=Lt("Office",bt("Aspect","Blue","Blue2","BlueGreen","BlueWarm","Cerulan","Cocoa","Coral","Cyborg","Dark","Darkly","Flatly","Grayscale","Green","GreenYellow","HighContrast","Light","Marquee","Median","Midnight","Modern","Office","Office2010","Orange","OrangeRed","Organic","Paper","Red","RedOrange","RedViolet","Slate","Slipstream","Standard","Superhero","Violet","Violet2","Yellow","YellowOrange","Zen","Custom")),W0=T(T({},Ph),Bi("Color","TextDecoration")),tI={Hidden:Bn,Orientation:Lt("Vertical",bt("Horizontal","Vertical")),Position:Lt("Right",bt("Left","Right","Top","Bottom")),Style:Dt(T(T({},Gl),Bi("BackgroundColor","Border"))),TextStyle:Dt(W0),TitleStyle:Dt(W0),MaxHeight:Be(1,Xe),MaxWidth:Be(1,Xe),Title:lt("",fn),Mode:Be("None",ei.LegendMode)},Iee={Style:Dt(T(T(T({},Gl),Bi("BackgroundColor","Border")),W0)),Title:lt("",fn),Height:zB(hn(Xe)),HAlign:Lt("Center",bt("Center","Left","Right")),VAlign:Lt("Middle",bt("Middle","Bottom","Top"))},qw=Dt(Bi("Border")),KRe=Dt({Type:pi("dvchartaxis"),AxisLine:Ul,AxisType:Lt("X",bt("X","Y")),DateMode:Lt("Default",bt("Default","Millisecond","Second","Minute","Hour","Day","Week","Month","Year")),Format:lt("",fn),LabelAngle:Be(0,Xe),Labels:Ul,LabelStyle:Dt(T(T(T({},W0),Gl),Bi("WritingMode"))),LineStyle:qw,LogBase:Be(10,Xe),MajorGrid:Bn,MajorGridStyle:qw,MajorTicks:Lt("None",bt("Inside","Outside","Cross","None")),MajorTickSize:lt("4pt",Oi),MajorTickStyle:qw,MajorUnit:lt("",Br),Max:lt("",Br),Min:lt("",Br),MinorGrid:Bn,MinorGridStyle:qw,MinorTicks:Lt("None",bt("Inside","Outside","Cross","None")),MinorTickSize:lt("2pt",Oi),MinorTickStyle:qw,MinorUnit:lt("",Br),Origin:lt("",Br),OverlappingLabels:Lt("Auto",bt("Auto","Show")),Plots:jt(Mt),Position:Lt("Near",bt("Near","Far","None")),Reversed:Bn,Scale:Lt("Linear",bt("Linear","Logarithmic","Ordinal","Percentage")),Style:qw,TextStyle:Dt(T(T({},W0),Gl)),Title:lt("",fn),TitleStyle:Dt(T(T({},W0),Gl)),MaxHeight:Be(1,Xe),MaxWidth:Be(1,Xe),Width:Be(null,ar(Xe)),Height:Be(null,ar(Xe)),LabelRowCount:Be(1,Xe)}),QRe=gt({Name:Mt,Type:pi("dvchartoverlay"),OverlayType:Lt("ReferenceLine",bt("ReferenceLine","ReferenceBand","LinearTrendline","ExponentialTrendline","PowerTrendline","LogarithmicTrendline","PolynomialTrendline","FourierTrendline","MovingAverageTrendline","CumulativeMovingAverageTrendline","ExponentialMovingAverageTrendline","WeightedMovingAverageTrendline","MovingAnnualTotalTrendline")),Display:Lt("Front",bt("Front","Back")),Style:Dt(Bi("Border","BackgroundColor")),Field:Ii,DetailLevel:Lt("Total",bt("Group","Total")),LegendLabel:Ii,Value:Ii,Axis:Lt("Y",bt("X","Y")),AggregateType:Lt("Average",bt("Sum","Count","Average","Max","Min","Median","Percentile")),Start:Be(0,Xe),End:Be(0,Xe),Order:Be(2,Xe),Period:Be(2,Xe),ForwardForecastPeriod:Be(0,Xe),BackwardForecastPeriod:Be(0,Xe),Intercept:Be(null,ar(Xe))}),eBe=Dt({Type:pi("chartseriesgrouping"),Grouping:_g,Sorting:ld}),tBe=Dt({Type:pi("chartcategorygrouping"),Grouping:_g,Sorting:ld,Label:lt("",fn)}),nBe=Dt({Value:lt("",fn),Offset:Be(0,Xe),Style:Dt(T(T({},W0),Bi("BackgroundColor","Border","Format"))),TextPosition:Lt("Auto",bt("Auto","Center","Inside","Outside")),LinePosition:Lt("Auto",bt("Auto","Center")),ConnectingLineStyle:Dt({Color:lt("",Oo),Style:Kr("None",ei.BorderStyle),Width:lt("1pt",Oi)})}),iBe=Dt({Value:lt("",fn),Format:lt("",fn)}),oBe=Dt({Value:lt("",fn),Caption:lt("",fn)}),rBe=Dt({Opacity:Be(1,Xe),BorderOpacity:Be(1,Xe),Size:Be(10,Xe),Visible:Bn,Shape:Lt("Auto",bt("Auto","Dot","Box","Diamond","Triangle","X","Dash","Plus")),Style:Dt(T({BackgroundColor:lt("",Oo)},Bi("Border")))}),aBe=Dt({Type:pi("chartdataseries"),Name:Ii,Values:jt(bh(oBe)),Label:nBe,ToolTip:iBe,Marker:rBe,Style:Dt(T({BackgroundColor:lt("",Oo)},Bi("Border"))),Opacity:Be(1,Xe),DataElementOutput:Be("Output",ei.DataElementOutput),DataElementName:Ii,Action:Iu}),lBe=Dt(T({Type:pi("chartcolorlegendseries"),Field:lt("",fn),Action:Iu},tI)),sBe=Dt(N(T({Type:pi("chartsizelegendseries"),Field:lt("",fn),Action:Iu},tI),{IconColor:lt("",Oo),RangeOptions:jt(gt({Title:Ii,To:Xe}))})),uBe=Dt(N(T({Type:pi("chartshapelegendseries"),Field:lt("",fn),Action:Iu},tI),{IconColor:lt("",Oo)})),kee=At(Dt({AxisMode:Lt("Cartesian",bt("Cartesian","Radial","Polygonal")),Bar:Dt({BottomWidth:hn(Xe),NeckHeight:hn(Xe),Overlap:hn(Xe),TopWidth:hn(Xe),Width:hn(Xe)}),BarLines:Bn,BarLineStyle:Dt({Color:lt("Black",Oo),Style:Kr("Solid",ei.BorderStyle),Width:lt("1pt",Oi)}),ClippingMode:Lt("Clip",bt("Clip","Fit","None")),CustomLabels:At(gt({Type:pi("dvchartplotcustomlabel"),Style:Dt(T(T({},Bi("TextDecoration","Color","WritingMode")),Ph)),Text:Be("",fn),OffsetX:Be("0in",Mi),OffsetY:Be("0.5in",Mi)}),k0({}),bh,jt),InnerRadius:Be(0,Xe),LineAspect:Lt("Default",bt("Default","Spline","StepCenter","StepLeft","StepRight")),Offset:Be(0,Xe),Overlays:jt(QRe),Pointers:At(gt({Type:pi("dvchartplotpointer"),Style:Dt({BackgroundColor:lt("Black",Oo)}),NeedleWidth:Be("0in",Mi),NeedlePinWidth:Be("0in",Mi),End:Be("",fn)}),k0({}),bh,jt),ShowNulls:Lt("Gaps",bt("Connected","Gaps","Zeros")),StartAngle:Be(0,Xe),SwapAxes:Bn,Sweep:Be(360,Xe),SeriesArrangement:Lt("Cluster",bt("Cluster","Stack")),OverlappingLabels:Lt("Auto",bt("Auto","Show","Hide"))})),cBe=Dt({Type:pi("dvchartplot"),Name:Ii,PlotType:Lt("Column",bt("Column","Bar","Line","Pie","Area","Pyramid","Funnel","Scatter","Bubble","Gantt","Candlestick","HighLowClose","HighLowOpenClose","PolarColumn","PolarBar","RadarArea","RadarBubble","RadarScatter","RadarLine","RangeArea","RangeBar","RangeColumn","Gauge","Custom")),Config:kee,SeriesGroupings:jt(bh(eBe)),CategoryGroupings:jt(bh(tBe)),DataSeries:jt(bh(aBe)),ColorSeries:lBe,SizeSeries:sBe,ShapeSeries:uBe}),nI=At(gt(N(T(T({},Ya("chart")),Zw),{Style:Dt(T(T(T({},Wl),cy),Bi("BackgroundColor","BackgroundImage","BackgroundGradientType","BackgroundGradientEndColor"))),Bar:Dt({BottomWidth:hn(Xe),NeckHeight:hn(Xe),Overlap:hn(Xe),TopWidth:hn(Xe),Width:hn(Xe)}),Header:Dt(T({Type:pi("dvchartheader")},Iee)),Footer:Dt(T({Type:pi("dvchartfooter")},Iee)),Palette:JRe,CustomPalette:jt(Oo),PlotArea:Dt({Type:pi("dvchartplotarea"),Axes:jt(bh(KRe)),Style:Dt(T(T({},Gl),Bi("BackgroundColor","Border")))}),Plots:jt(bh(cBe)),AccessibleDescription:lt("",fn)})),Wn("Name")),iI=At(gt(N(T({},Ya("sparkline")),{DataSetName:Ii,DataSetParameters:jt(c8),Filters:N0,SortExpressions:ld,Group:_g,FillColor:Be("Black",Oo),GradientStyle:Mee,GradientEndColor:Be("White",Oo),LineColor:Be("Black",Oo),LineWidth:Be("1pt",Oi),MarkerColor:Be("Black",Oo),MarkerVisibility:Ul,MaximumColumnWidth:Be("",Oi),RangeFillColor:Be("Gray",Oo),RangeGradientStyle:Mee,RangeGradientEndColor:Be("White",Oo),RangeLowerBound:Be("",Br),RangeUpperBound:Be("",Br),RangeVisibility:Bn,SparklineType:Lt("Line",bt("Line","Columns","Whiskers","Area","StackedBar")),SeriesValue:Be("",Br),AccessibleDescription:lt("",fn)})),Wn("Name")),pBe=gt({ParameterName:Ii,Value:lt("",Jr),Omit:lt("false",cp)}),oI=At(gt(N(T({},Ya("subreport")),{ReportName:Ii,NoRowsMessage:lt("",fn),KeepTogether:Bn,MergeTransactions:Bn,SubstituteThemeOnSubreport:Bn,InheritStyleSheet:Ul,Parameters:jt(pBe),Style:Dt(T(T({},Wl),cy)),PageName:lt("",fn)})),Wn("Name")),rI=At(gt(N(T({},Ya("shape")),{Style:At(Dt(T(T({},Wl),Bi("BackgroundColor","BackgroundImage"))),xh),StyleName:Be("",Mt),RoundingRadius:Dt({Default:lt("",Oi),TopLeft:lt("",Oi),TopRight:lt("",Oi),BottomLeft:lt("",Oi),BottomRight:lt("",Oi)}),ShapeStyle:Kr("Rectangle",ei.ShapeStyle),AccessibleDescription:lt("",fn)})),Eh("Style",a=>a.StyleName!==""),Wn("Name")),dBe=At(gt({Type:pi("tableofcontentslevel"),LevelName:Be("",Mt),DataElementName:Ii,DisplayFillCharacters:Ul,DisplayPageNumber:Ul,Style:At(Dt(T(T(T({},Ph),Gl),Bi("BackgroundColor","Color","TextDecoration","TextAlign","LeadingChar","TextIndent"))),xh),StyleName:Be("",Mt)}),Eh("Style",a=>a.StyleName!=="")),aI=At(gt(N(T({},Ya("tableofcontents")),{Style:At(Dt(T(T({},Wl),Bi("BackgroundColor","MaxLevel"))),xh),StyleName:Be("",Mt),Levels:jt(dBe),PageBreak:Be("None",ei.BreakLocation),NewPage:Be("Next",ei.NewPage)})),Eh("Style",a=>a.StyleName!==""),Wn("Name")),hBe=bt("None","Ansi39","Ansi39x","Aztec","BC412","Codabar","Code_11","Code_128_A","Code_128_B","Code_128_C","Code_128auto","Code_2_of_5","Code_93","Code25intlv","Code39","Code39x","Code49","Code93x","DataMatrix","EAN_13","EAN_8","EAN128FNC1","GS1DataMatrix","GS1QRCode","HIBCCode128","HIBCCode39","IATA_2_of_5","IntelligentMail","IntelligentMailPackage","ISBN","ISMN","ISSN","ITF14","JapanesePostal","Matrix_2_of_5","MaxiCode","MicroPDF417","MicroQRCode","MSI","Pdf417","Pharmacode","Plessey","PostNet","PZN","QRCode","RM4SCC","RSS14","RSS14Stacked","RSS14StackedOmnidirectional","RSS14Truncated","RSSExpanded","RSSExpandedStacked","RSSLimited","SSCC_18","Telepen","UCCEAN128","UPC_A","UPC_E0","UPC_E1"),fBe=bt("SquareAuto","RectangularAuto","Square10","Square12","Square14","Square16","Square18","Square20","Square22","Square24","Square26","Square32","Square36","Square40","Square44","Square48","Square52","Square64","Square72","Square80","Square88","Square96","Square104","Square120","Square132","Square144","Rectangular8x18","Rectangular8x32","Rectangular12x26","Rectangular12x36","Rectangular16x36","Rectangular16x48"),_Be=bt("Auto","Square9","Square11","Square13","Square15","Square17","Square19","Square21","Square23","Square25","Square27","Square29","Square31","Square33","Square35","Square37","Square39","Square41","Square43","Square45","Square47","Square49"),gBe=bt("ColumnPriorAuto","RowPriorAuto","Version1X11","Version1X14","Version1X17","Version1X20","Version1X24","Version1X28","Version2X8","Version2X11","Version2X14","Version2X17","Version2X20","Version2X23","Version2X26","Version3X6","Version3X8","Version3X10","Version3X12","Version3X15","Version3X20","Version3X26","Version3X32","Version3X38","Version3X44","Version4X4","Version4X6","Version4X8","Version4X10","Version4X12","Version4X15","Version4X20","Version4X26","Version4X32","Version4X38","Version4X44"),lI=At(gt(N(T({},Ya("barcode")),{Value:lt("",Jr),InvalidBarcodeText:lt("",fn),Symbology:Lt("Ansi39",hBe),CheckSum:Ul,BarHeight:Th,CaptionGrouping:Ul,CaptionLocation:Lt("None",bt("None","Above","Below")),AztecOptions:Dt({ErrorCorrection:Be(33,Xe),Layers:Be(0,Xe),Encoding:Be("65001",Mt)}),Code49Options:Dt({Grouping:Bn,GroupNumber:Be(0,Xe)}),DataMatrixOptions:Dt({EccMode:Lt("ECC200",bt("ECC000","ECC050","ECC080","ECC100","ECC140","ECC200")),Ecc200SymbolSize:Lt("SquareAuto",fBe),Ecc200EncodingMode:Lt("Auto",bt("Auto","ASCII","C40","Text","X12","EDIFACT","Base256")),Ecc000_140SymbolSize:Lt("Auto",_Be),StructuredAppend:Bn,StructureNumber:Be(0,Xe),FileIdentifier:Be(0,Xe),Encoding:Be("65001",Mt)}),Ean128Fnc1Options:Dt({Resolution:Be(96,Xe),ModuleSize:Be(0,Xe),BarAdjust:Be(0,Xe)}),Gs1CompositeOptions:Dt({CompositeType:Lt("None",bt("None","CCA")),Value:lt("",fn)}),MaxiCodeOptions:Dt({Mode:Lt("Mode4",bt("Mode2","Mode3","Mode4","Mode5","Mode6"))}),MicroPdf417Options:Dt({CompactionMode:Lt("Auto",bt("Auto","TextCompactionMode","NumericCompactionMode","ByteCompactionMode")),Version:Lt("ColumnPriorAuto",gBe),SegmentIndex:Be(0,Xe),SegmentCount:Be(0,Xe),FileID:Be(0,Xe)}),MicroQrCodeOptions:Dt({Version:Lt("Auto",bt("Auto","M1","M2","M3","M4")),ErrorLevel:Lt("L",bt("L","M","Q")),Mask:Lt("Auto",bt("Auto","Mask00","Mask01","Mask10","Mask11")),Encoding:Be("65001",Mt)}),NarrowBarWidth:Be("",Mi),NWRation:Be(0,Xe),Pdf417Options:Dt({Columns:Be(-1,Xe),Rows:Be(-1,Xe),ErrorCorrectionLevel:Lt("Level0",bt("Level0","Level1","Level2","Level3","Level4","Level5","Level6","Level7","Level8")),Pdf417Type:Lt("Normal",bt("Normal","Simple"))}),QrCodeOptions:Dt({Connection:Bn,ConnectionNumber:Be(0,Xe),Version:Be(-1,Xe),ErrorLevel:Lt("L",bt("M","L","H","Q")),Mask:Lt("Auto",bt("Auto","Mask000","Mask001","Mask010","Mask011","Mask100","Mask101","Mask110","Mask111")),Model:Lt("Model2",bt("Model1","Model2")),Encoding:Be("65001",Mt)}),QuietZone:Dt({Left:Th,Right:Th,Top:Th,Bottom:Th}),Rotation:Be("None",Mt),RssExpandedStacked:Dt({RowCount:Be(2,Xe)}),SupplementOptions:Dt({Value:Ii,BarHeight:Th,CaptionLocation:Be("Above",Mt),Spacing:Th}),Style:Dt(T(T(T(T({},Wl),Ph),Gl),Bi("BackgroundColor","Color","Format","TextAlign","TextDecoration"))),DataElementStyle:Be("Auto",ei.DataElementStyle),AccessibleDescription:lt("",fn)})),Wn("Name")),sI=At(gt(N(T({},s8(Ya("image"),"DataElementName","DataElementOutput")),{Action:Iu,Source:Lt("External",ei.ImageSource),Value:lt("",fn),MIMEType:WD(lt("",fn)),Sizing:Lt("AutoSize",bt("AutoSize","Fit","FitProportional","Clip")),HorizontalAlignment:Kr("Left",ei.HorizontalImageAlign),VerticalAlignment:Kr("Top",ei.VerticalImageAlign),AccessibleDescription:lt("",fn),Style:At(Dt(T(T({},Wl),Gl)),xh),StyleName:Be("",Mt)})),Eh("Style",a=>a.StyleName!==""),Wn("Name")),uI=At(gt(N(T({},Ya("bullet")),{LabelFormat:lt("",fn),LabelFontFamily:lt("Arial",fn),LabelFontSize:lt("10pt",Oi),LabelFontStyle:Kr("Regular",ei.BulletLabelFontStyles),LabelFontColor:lt("Black",Oo),Orientation:Lt("Horizontal",bt("Horizontal","Vertical")),ShowLabels:Ul,TargetShape:Lt("Line",bt("Line","Square","Dot")),TargetLineColor:lt("Black",Oo),TargetLineWidth:lt("3pt",Oi),TickMarks:Lt("Outside",bt("None","Inside","Outside")),TicksLineColor:lt("LightGray",Oo),TicksLineWidth:lt("1pt",Oi),ValueColor:lt("Black",Oo),BestValue:Be("",Br),Interval:Be("",Br),Range1Boundary:Be("",Br),Range2Boundary:Be("",Br),TargetValue:Be("",Br),Value:Be("",Br),WorstValue:Be("",Br),AccessibleDescription:lt("",fn)})),Wn("Name")),cI=At(gt(N(T({},Ya("formattedtext")),{EncodeMailMergeFields:Ul,Html:lt("",fn),MailMergeFields:jt(gt({Name:Mt,Value:lt("",fn)})),Style:Dt(T(T({},Wl),Bi("BackgroundColor","BackgroundImage"))),AccessibleDescription:lt("",fn)})),Wn("Name")),Nee=At(gt(N(T({},Ya("inputfield")),{FieldName:Ii,Readonly:Bn,Required:Bn,TabIndex:Be(null,ar(Xe))})),Wn("Name")),pI=BB(a=>!a.InputType||a.InputType==="Text",a=>a.InputType==="Text",At(Nee,qi(gt({InputType:pi("Text"),Password:Bn,Multiline:Bn,SpellCheck:Bn,MaxLength:Be(null,ar(Xe)),Value:Be("",fn),Style:Dt(T(T(T({},Wl),Ph),Bi("BackgroundColor","Color","TextAlign","Format")))}))),At(Nee,qi(gt({InputType:El("CheckBox"),Checked:Be("False",cp),CheckStyle:Lt("Check",bt("Check","Circle","Cross","Diamond","Square","Star")),CheckSize:lt("10pt",Oi),Style:Dt(T(T({},Wl),Bi("BackgroundColor","Color","TextAlign")))})))),mBe=At(gt({Name:Mt,Value:Be("",Jr)}),Wn("Name")),dI=At(gt(N(T({},Ya("partitem")),{ReportPart:Ii,Library:Ii,Properties:jt(mBe)})),Wn("Name")),hI=a=>At(gt(N(T({},kB(Ya("contentplaceholder"),"Type","Name","CustomProperties","ZIndex","LayerName")),{Text:Ii,ConsumeWhiteSpace:Bn,ReportItems:jt(a)})),Wn("Name")),fI=At({encode:({Item:a})=>a,decode:a=>zi({Item:a})},qi(gt(T({Type:pi("unknown")},h8))),Wn("Name")),yBe="10.0.1",vBe=Bi("Border","TopBorder","RightBorder","BottomBorder","LeftBorder","BackgroundColor","BackgroundImage","Color","FontFamily","FontSize","FontStyle","FontWeight","Format","LineSpacing","PaddingLeft","PaddingRight","PaddingTop","PaddingBottom","TextAlign","TextDecoration","VerticalAlign","Angle","Calendar","CharacterSpacing","Direction","HeadingLevel","Language","MinCondenseRate","NumeralLanguage","NumeralVariant","ShrinkToFit","TextJustify","UnicodeBiDi","UprightInVerticalText","LeadingChar","MaxLevel","TextIndent","DisplayFillCharacters","DisplayPageNumber"),Z