text: /*! powerbi-models v1.3.0 | (c) 2016 Microsoft Corporation MIT */
  !function(t,a){"object"==typeof exports&&"object"==typeof module?module.exports=a():"function"==typeof define&&define.amd?define([],a):"object"==typeof exports?exports["powerbi-models"]=a():t["powerbi-models"]=a()}(this,function(){return function(t){function a(e){if(r[e])return r[e].exports;var i=r[e]={exports:{},id:e,loaded:!1};return t[e].call(i.exports,i,i.exports,a),i.loaded=!0,i.exports}var r={};return a.m=t,a.c=r,a.p="",a(0)}([function(t,a,r){function e(t){return n(t)&&!!t.keys}function i(t){return o(t)===$.Basic&&!!t.keyValues}function o(t){if(t.filterType)return t.filterType;var a=t,r=t;return"string"==typeof a.operator&&Array.isArray(a.values)?$.Basic:"string"==typeof r.logicalOperator&&Array.isArray(r.conditions)?$.Advanced:$.Unknown}function l(t){return void 0!==t.table&&void 0!==t.measure}function n(t){return!(!t.table||!t.column||t.aggregationFunction)}function d(t){return!(!(t.table&&t.hierarchy&&t.hierarchyLevel)||t.aggregationFunction)}function u(t){return!!(t.table&&t.hierarchy&&t.hierarchyLevel&&t.aggregationFunction)}function s(t){return!!(t.table&&t.column&&t.aggregationFunction)}function p(t){var a=t.message;return a||(a=t.path+" is invalid. Not meeting "+t.keyword+" constraint"),{message:a}}function c(t){var r=a.Validators.visualSelectorValidator.validate(t);return r?r.map(p):void 0}function f(t){var r=a.Validators.slicerValidator.validate(t);return r?r.map(p):void 0}function V(t){var r=a.Validators.slicerStateValidator.validate(t);return r?r.map(p):void 0}function v(t){var r=a.Validators.playBookmarkRequestValidator.validate(t);return r?r.map(p):void 0}function y(t){var r=a.Validators.addBookmarkRequestValidator.validate(t);return r?r.map(p):void 0}function h(t){var r=a.Validators.applyBookmarkByNameRequestValidator.validate(t);return r?r.map(p):void 0}function m(t){var r=a.Validators.applyBookmarkStateRequestValidator.validate(t);return r?r.map(p):void 0}function g(t){var r=a.Validators.settingsValidator.validate(t);return r?r.map(p):void 0}function w(t){var r=a.Validators.customPageSizeValidator.validate(t);return r?r.map(p):void 0}function _(t){var r=a.Validators.extensionValidator.validate(t);return r?r.map(p):void 0}function b(t){var r=a.Validators.reportLoadValidator.validate(t);return r?r.map(p):void 0}function O(t){var r=a.Validators.reportCreateValidator.validate(t);return r?r.map(p):void 0}function S(t){var r=a.Validators.dashboardLoadValidator.validate(t);return r?r.map(p):void 0}function T(t){var r=a.Validators.tileLoadValidator.validate(t);return r?r.map(p):void 0}function F(t){var r=a.Validators.pageValidator.validate(t);return r?r.map(p):void 0}function R(t){var r=a.Validators.filtersValidator.validate(t);return r?r.map(p):void 0}function k(t){var r=a.Validators.saveAsParametersValidator.validate(t);return r?r.map(p):void 0}function M(t){var r=a.Validators.loadQnaValidator.validate(t);return r?r.map(p):void 0}function j(t){var r=a.Validators.qnaInterpretInputDataValidator.validate(t);return r?r.map(p):void 0}function P(t){var r=a.Validators.exportDataRequestValidator.validate(t);return r?r.map(p):void 0}function A(t){var r=a.Validators.visualHeaderValidator.validate(t);return r?r.map(p):void 0}function C(t){var r=a.Validators.visualSettingsValidator.validate(t);return r?r.map(p):void 0}function x(t){var r=a.Validators.commandsSettingsValidator.validate(t);return r?r.map(p):void 0}function q(t){var r=a.Validators.customThemeValidator.validate(t);return r?r.map(p):void 0}var E=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])};return function(a,r){function e(){this.constructor=a}t(a,r),a.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();Object.defineProperty(a,"__esModule",{value:!0}),a.Validators=r(1).Validators;var N;!function(t){t[t.Information=0]="Information",t[t.Verbose=1]="Verbose",t[t.Warning=2]="Warning",t[t.Error=3]="Error",t[t.ExpectedError=4]="ExpectedError",t[t.UnexpectedError=5]="UnexpectedError",t[t.Fatal=6]="Fatal"}(N=a.TraceType||(a.TraceType={}));var B;!function(t){t[t.Widescreen=0]="Widescreen",t[t.Standard=1]="Standard",t[t.Cortana=2]="Cortana",t[t.Letter=3]="Letter",t[t.Custom=4]="Custom"}(B=a.PageSizeType||(a.PageSizeType={}));var L;!function(t){t[t.FitToPage=0]="FitToPage",t[t.FitToWidth=1]="FitToWidth",t[t.ActualSize=2]="ActualSize"}(L=a.DisplayOption||(a.DisplayOption={}));var D;!function(t){t[t.Default=0]="Default",t[t.Transparent=1]="Transparent"}(D=a.BackgroundType||(a.BackgroundType={}));var U;!function(t){t[t.Visible=0]="Visible",t[t.Hidden=1]="Hidden"}(U=a.VisualContainerDisplayMode||(a.VisualContainerDisplayMode={}));var I;!function(t){t[t.Master=0]="Master",t[t.Custom=1]="Custom",t[t.MobilePortrait=2]="MobilePortrait",t[t.MobileLandscape=3]="MobileLandscape"}(I=a.LayoutType||(a.LayoutType={}));var H;!function(t){t[t.Navigate=0]="Navigate",t[t.NavigateAndRaiseEvent=1]="NavigateAndRaiseEvent",t[t.RaiseEvent=2]="RaiseEvent"}(H=a.HyperlinkClickBehavior||(a.HyperlinkClickBehavior={}));var J;!function(t){t[t.AlwaysVisible=0]="AlwaysVisible",t[t.HiddenInViewMode=1]="HiddenInViewMode"}(J=a.SectionVisibility||(a.SectionVisibility={}));var z;!function(t){t[t.Read=0]="Read",t[t.ReadWrite=1]="ReadWrite",t[t.Copy=2]="Copy",t[t.Create=4]="Create",t[t.All=7]="All"}(z=a.Permissions||(a.Permissions={}));var W;!function(t){t[t.View=0]="View",t[t.Edit=1]="Edit"}(W=a.ViewMode||(a.ViewMode={}));var Q;!function(t){t[t.Aad=0]="Aad",t[t.Embed=1]="Embed"}(Q=a.TokenType||(a.TokenType={}));var K;!function(t){t[t.Bottom=0]="Bottom",t[t.Top=1]="Top"}(K=a.MenuLocation||(a.MenuLocation={}));var Y;!function(t){t[t.Report=0]="Report",t[t.Page=1]="Page",t[t.Visual=2]="Visual"}(Y=a.FiltersLevel||(a.FiltersLevel={}));var $;!function(t){t[t.Advanced=0]="Advanced",t[t.Basic=1]="Basic",t[t.Unknown=2]="Unknown",t[t.IncludeExclude=3]="IncludeExclude",t[t.RelativeDate=4]="RelativeDate",t[t.TopN=5]="TopN",t[t.Tuple=6]="Tuple"}($=a.FilterType||(a.FilterType={}));var G;!function(t){t[t.Days=0]="Days",t[t.Weeks=1]="Weeks",t[t.CalendarWeeks=2]="CalendarWeeks",t[t.Months=3]="Months",t[t.CalendarMonths=4]="CalendarMonths",t[t.Years=5]="Years",t[t.CalendarYears=6]="CalendarYears"}(G=a.RelativeDateFilterTimeUnit||(a.RelativeDateFilterTimeUnit={}));var X;!function(t){t[t.InLast=0]="InLast",t[t.InThis=1]="InThis",t[t.InNext=2]="InNext"}(X=a.RelativeDateOperators||(a.RelativeDateOperators={}));var Z=function(){function t(t,a){this.target=t,this.filterType=a}return t.prototype.toJSON=function(){var t={$schema:this.schemaUrl,target:this.target,filterType:this.filterType};return void 0!==this.displaySettings&&(t.displaySettings=this.displaySettings),t},t}();a.Filter=Z;var tt=function(t){function a(r,e,i){var o=t.call(this,r,$.Unknown)||this;return o.message=e,o.notSupportedTypeName=i,o.schemaUrl=a.schemaUrl,o}return E(a,t),a.prototype.toJSON=function(){var a=t.prototype.toJSON.call(this);return a.message=this.message,a.notSupportedTypeName=this.notSupportedTypeName,a},a.schemaUrl="http://powerbi.com/product/schema#notSupported",a}(Z);a.NotSupportedFilter=tt;var at=function(t){function a(r,e,i){var o=t.call(this,r,$.IncludeExclude)||this;return o.values=i,o.isExclude=e,o.schemaUrl=a.schemaUrl,o}return E(a,t),a.prototype.toJSON=function(){var a=t.prototype.toJSON.call(this);return a.isExclude=this.isExclude,a.values=this.values,a},a.schemaUrl="http://powerbi.com/product/schema#includeExclude",a}(Z);a.IncludeExcludeFilter=at;var rt=function(t){function a(r,e,i,o){var l=t.call(this,r,$.TopN)||this;return l.operator=e,l.itemCount=i,l.schemaUrl=a.schemaUrl,l.orderBy=o,l}return E(a,t),a.prototype.toJSON=function(){var a=t.prototype.toJSON.call(this);return a.operator=this.operator,a.itemCount=this.itemCount,a.orderBy=this.orderBy,a},a.schemaUrl="http://powerbi.com/product/schema#topN",a}(Z);a.TopNFilter=rt;var et=function(t){function a(r,e,i,o,l){var n=t.call(this,r,$.RelativeDate)||this;return n.operator=e,n.timeUnitsCount=i,n.timeUnitType=o,n.includeToday=l,n.schemaUrl=a.schemaUrl,n}return E(a,t),a.prototype.toJSON=function(){var a=t.prototype.toJSON.call(this);return a.operator=this.operator,a.timeUnitsCount=this.timeUnitsCount,a.timeUnitType=this.timeUnitType,a.includeToday=this.includeToday,a},a.schemaUrl="http://powerbi.com/product/schema#relativeDate",a}(Z);a.RelativeDateFilter=et;var it=function(t){function a(r,e){for(var i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];var l=t.call(this,r,$.Basic)||this;if(l.operator=e,l.schemaUrl=a.schemaUrl,0===i.length&&"All"!==e)throw new Error('values must be a non-empty array unless your operator is "All".');return Array.isArray(i[0])?l.values=i[0]:l.values=i,l}return E(a,t),a.prototype.toJSON=function(){var a=t.prototype.toJSON.call(this);return a.operator=this.operator,a.values=this.values,a},a.schemaUrl="http://powerbi.com/product/schema#basic",a}(Z);a.BasicFilter=it;var ot=function(t){function a(a,r,e,i){var o=t.call(this,a,r,e)||this;o.keyValues=i,o.target=a;var l=a.keys?a.keys.length:0;if(l>0&&!i)throw new Error("You should pass the values to be filtered for each key. You passed: no values and "+l+" keys");if(0===l&&i&&i.length>0)throw new Error("You passed key values but your target object doesn't contain the keys to be filtered");for(var n=0;n<o.keyValues.length;n++)if(o.keyValues[n]){var d=o.keyValues[n].length;if(d!==l)throw new Error("Each tuple of key values should contain a value for each of the keys. You passed: "+d+" values and "+l+" keys")}return o}return E(a,t),a.prototype.toJSON=function(){var a=t.prototype.toJSON.call(this);return a.keyValues=this.keyValues,a},a}(it);a.BasicFilterWithKeys=ot;var lt=function(t){function a(r,e,i){var o=t.call(this,r,$.Tuple)||this;return o.operator=e,o.schemaUrl=a.schemaUrl,o.values=i,o}return E(a,t),a.prototype.toJSON=function(){var a=t.prototype.toJSON.call(this);return a.operator=this.operator,a.values=this.values,a.target=this.target,a},a.schemaUrl="http://powerbi.com/product/schema#tuple",a}(Z);a.TupleFilter=lt;var nt=function(t){function a(r,e){for(var i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];var l=t.call(this,r,$.Advanced)||this;if(l.schemaUrl=a.schemaUrl,"string"!=typeof e||0===e.length)throw new Error("logicalOperator must be a valid operator, You passed: "+e);l.logicalOperator=e;var n;if(n=Array.isArray(i[0])?i[0]:i,0===n.length)throw new Error("conditions must be a non-empty array. You passed: "+i);if(n.length>2)throw new Error("AdvancedFilters may not have more than two conditions. You passed: "+i.length);if(1===n.length&&"And"!==e)throw new Error('Logical Operator must be "And" when there is only one condition provided');return l.conditions=n,l}return E(a,t),a.prototype.toJSON=function(){var a=t.prototype.toJSON.call(this);return a.logicalOperator=this.logicalOperator,a.conditions=this.conditions,a},a.schemaUrl="http://powerbi.com/product/schema#advanced",a}(Z);a.AdvancedFilter=nt,a.isFilterKeyColumnsTarget=e,a.isBasicFilterWithKeys=i,a.getFilterType=o,a.isMeasure=l,a.isColumn=n,a.isHierarchyLevel=d,a.isHierarchyLevelAggr=u,a.isColumnAggr=s;var dt;!function(t){t[t.Interactive=0]="Interactive",t[t.ResultOnly=1]="ResultOnly"}(dt=a.QnaMode||(a.QnaMode={}));var ut;!function(t){t[t.Summarized=0]="Summarized",t[t.Underlying=1]="Underlying"}(ut=a.ExportDataType||(a.ExportDataType={}));var st;!function(t){t[t.Off=0]="Off",t[t.Presentation=1]="Presentation"}(st=a.BookmarksPlayMode||(a.BookmarksPlayMode={})),a.CommonErrorCodes={TokenExpired:"TokenExpired",NotFound:"PowerBIEntityNotFound",InvalidParameters:"Invalid parameters",LoadReportFailed:"LoadReportFailed",NotAuthorized:"PowerBINotAuthorizedException",FailedToLoadModel:"ExplorationContainer_FailedToLoadModel_DefaultDetails"},a.TextAlignment={Left:"left",Center:"center",Right:"right"},a.LegendPosition={Top:"Top",Bottom:"Bottom",Right:"Right",Left:"Left",TopCenter:"TopCenter",BottomCenter:"BottomCenter",RightCenter:"RightCenter",LeftCenter:"LeftCenter"};var pt;!function(t){t[t.Ascending=1]="Ascending",t[t.Descending=2]="Descending"}(pt=a.SortDirection||(a.SortDirection={}));var ct=function(){function t(t){this.$schema=t}return t.prototype.toJSON=function(){return{$schema:this.$schema}},t}();a.Selector=ct;var ft=function(t){function a(r){var e=t.call(this,a.schemaUrl)||this;return e.pageName=r,e}return E(a,t),a.prototype.toJSON=function(){var a=t.prototype.toJSON.call(this);return a.pageName=this.pageName,a},a.schemaUrl="http://powerbi.com/product/schema#pageSelector",a}(ct);a.PageSelector=ft;var Vt=function(t){function a(r){var e=t.call(this,a.schemaUrl)||this;return e.visualName=r,e}return E(a,t),a.prototype.toJSON=function(){var a=t.prototype.toJSON.call(this);return a.visualName=this.visualName,a},a.schemaUrl="http://powerbi.com/product/schema#visualSelector",a}(ct);a.VisualSelector=Vt;var vt=function(t){function a(a){var r=t.call(this,Vt.schemaUrl)||this;return r.visualType=a,r}return E(a,t),a.prototype.toJSON=function(){var a=t.prototype.toJSON.call(this);return a.visualType=this.visualType,a},a.schemaUrl="http://powerbi.com/product/schema#visualTypeSelector",a}(ct);a.VisualTypeSelector=vt;var yt=function(t){function a(a){var r=t.call(this,Vt.schemaUrl)||this;return r.target=a,r}return E(a,t),a.prototype.toJSON=function(){var a=t.prototype.toJSON.call(this);return a.target=this.target,a},a.schemaUrl="http://powerbi.com/product/schema#slicerTargetSelector",a}(ct);a.SlicerTargetSelector=yt;var ht;!function(t){t[t.Enabled=0]="Enabled",t[t.Disabled=1]="Disabled",t[t.Hidden=2]="Hidden"}(ht=a.CommandDisplayOption||(a.CommandDisplayOption={}));var mt;!function(t){t[t.Grouping=0]="Grouping",t[t.Measure=1]="Measure",t[t.GroupingOrMeasure=2]="GroupingOrMeasure"}(mt=a.VisualDataRoleKind||(a.VisualDataRoleKind={}));var gt;!function(t){t[t.Measure=0]="Measure",t[t.Grouping=1]="Grouping"}(gt=a.VisualDataRoleKindPreference||(a.VisualDataRoleKindPreference={})),a.validateVisualSelector=c,a.validateSlicer=f,a.validateSlicerState=V,a.validatePlayBookmarkRequest=v,a.validateAddBookmarkRequest=y,a.validateApplyBookmarkByNameRequest=h,a.validateApplyBookmarkStateRequest=m,a.validateSettings=g,a.validateCustomPageSize=w,a.validateExtension=_,a.validateReportLoad=b,a.validateCreateReport=O,a.validateDashboardLoad=S,a.validateTileLoad=T,a.validatePage=F,a.validateFilter=R,a.validateSaveAsParameters=k,a.validateLoadQnaConfiguration=M,a.validateQnaInterpretInputData=j,a.validateExportDataRequest=P,a.validateVisualHeader=A,a.validateVisualSettings=C,a.validateCommandsSettings=x,a.validateCustomTheme=q},function(t,a,r){Object.defineProperty(a,"__esModule",{value:!0});var e=r(2),i=r(3),o=r(5),l=r(6),n=r(7),d=r(8),u=r(9),s=r(10),p=r(11),c=r(12),f=r(13),V=r(14),v=r(15),y=r(16),h=r(17),m=r(18),g=r(19),w=r(20),_=r(21),b=r(22),O=r(23),S=r(24),T=r(25);a.Validators={addBookmarkRequestValidator:new l.AddBookmarkRequestValidator,advancedFilterTypeValidator:new e.EnumValidator([0]),advancedFilterValidator:new n.AdvancedFilterValidator,anyArrayValidator:new e.ArrayValidator([new u.AnyOfValidator([new e.StringValidator,new e.NumberValidator,new e.BooleanValidator])]),anyFilterValidator:new u.AnyOfValidator([new n.BasicFilterValidator,new n.AdvancedFilterValidator,new n.IncludeExcludeFilterValidator,new n.NotSupportedFilterValidator,new n.RelativeDateFilterValidator,new n.TopNFilterValidator]),anyValueValidator:new u.AnyOfValidator([new e.StringValidator,new e.NumberValidator,new e.BooleanValidator]),applyBookmarkByNameRequestValidator:new l.ApplyBookmarkByNameRequestValidator,applyBookmarkStateRequestValidator:new l.ApplyBookmarkStateRequestValidator,applyBookmarkValidator:new u.AnyOfValidator([new l.ApplyBookmarkByNameRequestValidator,new l.ApplyBookmarkStateRequestValidator]),backgroundValidator:new e.EnumValidator([0,1]),basicFilterTypeValidator:new e.EnumValidator([1]),basicFilterValidator:new n.BasicFilterValidator,booleanArrayValidator:new e.BooleanArrayValidator,booleanValidator:new e.BooleanValidator,commandDisplayOptionValidator:new e.EnumValidator([0,1,2]),commandExtensionSelectorValidator:new u.AnyOfValidator([new w.VisualSelectorValidator,new w.VisualTypeSelectorValidator]),commandExtensionValidator:new i.CommandExtensionValidator,commandsSettingsArrayValidator:new e.ArrayValidator([new O.CommandsSettingsValidator]),commandsSettingsValidator:new O.CommandsSettingsValidator,conditionItemValidator:new n.ConditionItemValidator,customLayoutDisplayOptionValidator:new e.EnumValidator([0,1,2]),customLayoutValidator:new m.CustomLayoutValidator,customPageSizeValidator:new V.CustomPageSizeValidator,customThemeValidator:new S.CustomThemeValidator,dashboardLoadValidator:new c.DashboardLoadValidator,datasetBindingValidator:new T.DatasetBindingValidator,displayStateModeValidator:new e.EnumValidator([0,1]),displayStateValidator:new m.DisplayStateValidator,exportDataRequestValidator:new g.ExportDataRequestValidator,extensionArrayValidator:new e.ArrayValidator([new i.ExtensionValidator]),extensionPointsValidator:new i.ExtensionPointsValidator,extensionValidator:new i.ExtensionValidator,fieldRequiredValidator:new d.FieldRequiredValidator,filterColumnTargetValidator:new n.FilterColumnTargetValidator,filterConditionsValidator:new e.ArrayValidator([new n.ConditionItemValidator]),filterHierarchyTargetValidator:new n.FilterHierarchyTargetValidator,filterMeasureTargetValidator:new n.FilterMeasureTargetValidator,filterTargetValidator:new u.AnyOfValidator([new n.FilterColumnTargetValidator,new n.FilterHierarchyTargetValidator,new n.FilterMeasureTargetValidator]),filtersArrayValidator:new e.ArrayValidator([new u.AnyOfValidator([new n.BasicFilterValidator,new n.AdvancedFilterValidator,new n.RelativeDateFilterValidator])]),filtersValidator:new n.FilterValidator,hyperlinkClickBehaviorValidator:new e.EnumValidator([0,1,2]),includeExcludeFilterValidator:new n.IncludeExcludeFilterValidator,includeExludeFilterTypeValidator:new e.EnumValidator([3]),layoutTypeValidator:new e.EnumValidator([0,1,2,3]),loadQnaValidator:new v.LoadQnaValidator,menuExtensionValidator:new i.MenuExtensionValidator,menuLocationValidator:new e.EnumValidator([0,1]),notSupportedFilterTypeValidator:new e.EnumValidator([2]),notSupportedFilterValidator:new n.NotSupportedFilterValidator,numberArrayValidator:new e.NumberArrayValidator,numberValidator:new e.NumberValidator,pageLayoutValidator:new h.MapValidator([new e.StringValidator],[new m.VisualLayoutValidator]),pageSizeTypeValidator:new e.EnumValidator([0,1,2,3,4,5]),pageSizeValidator:new V.PageSizeValidator,pageValidator:new V.PageValidator,pageViewFieldValidator:new V.PageViewFieldValidator,pagesLayoutValidator:new h.MapValidator([new e.StringValidator],[new m.PageLayoutValidator]),permissionsValidator:new e.EnumValidator([0,1,2,4,7]),playBookmarkRequestValidator:new l.PlayBookmarkRequestValidator,qnaInterpretInputDataValidator:new v.QnaInterpretInputDataValidator,qnaSettingValidator:new v.QnaSettingsValidator,relativeDateFilterOperatorValidator:new e.EnumValidator([0,1,2]),relativeDateFilterTimeUnitTypeValidator:new e.EnumValidator([0,1,2,3,4,5,6]),relativeDateFilterTypeValidator:new e.EnumValidator([4]),relativeDateFilterValidator:new n.RelativeDateFilterValidator,reportCreateValidator:new p.ReportCreateValidator,reportLoadValidator:new s.ReportLoadValidator,saveAsParametersValidator:new y.SaveAsParametersValidator,settingsValidator:new o.SettingsValidator,singleCommandSettingsValidator:new O.SingleCommandSettingsValidator,slicerSelectorValidator:new u.AnyOfValidator([new w.VisualSelectorValidator,new w.SlicerTargetSelectorValidator]),slicerStateValidator:new _.SlicerStateValidator,slicerTargetValidator:new u.AnyOfValidator([new n.FilterColumnTargetValidator,new n.FilterHierarchyTargetValidator,new n.FilterMeasureTargetValidator,new n.FilterKeyColumnsTargetValidator,new n.FilterKeyHierarchyTargetValidator]),slicerValidator:new _.SlicerValidator,stringArrayValidator:new e.StringArrayValidator,stringValidator:new e.StringValidator,tileLoadValidator:new f.TileLoadValidator,tokenTypeValidator:new e.EnumValidator([0,1]),topNFilterTypeValidator:new e.EnumValidator([5]),topNFilterValidator:new n.TopNFilterValidator,viewModeValidator:new e.EnumValidator([0,1]),visualCommandSelectorValidator:new u.AnyOfValidator([new w.VisualSelectorValidator,new w.VisualTypeSelectorValidator]),visualHeaderSelectorValidator:new u.AnyOfValidator([new w.VisualSelectorValidator,new w.VisualTypeSelectorValidator]),visualHeaderSettingsValidator:new b.VisualHeaderSettingsValidator,visualHeaderValidator:new b.VisualHeaderValidator,visualHeadersValidator:new e.ArrayValidator([new b.VisualHeaderValidator]),visualLayoutValidator:new m.VisualLayoutValidator,visualSelectorValidator:new w.VisualSelectorValidator,visualSettingsValidator:new b.VisualSettingsValidator,visualTypeSelectorValidator:new w.VisualTypeSelectorValidator}},function(t,a){var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])};return function(a,r){function e(){this.constructor=a}t(a,r),a.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();Object.defineProperty(a,"__esModule",{value:!0});var e=function(){function t(){}return t.prototype.validate=function(t,a,r){return null==t?null:"object"!=typeof t||Array.isArray(t)?[{message:void 0!==r?r+" must be an object":"input must be an object",path:a,keyword:"type"}]:null},t}();a.ObjectValidator=e;var i=function(){function t(t){this.itemValidators=t}return t.prototype.validate=function(t,a,r){if(null==t)return null;if(!Array.isArray(t))return[{message:r+" property is invalid",path:(a?a+".":"")+r,keyword:"type"}];for(var e=0;e<t.length;e++)for(var i=(a?a+".":"")+r+"."+e,o=0,l=this.itemValidators;o<l.length;o++){var n=l[o],d=n.validate(t[e],i,r);if(d)return[{message:r+" property is invalid",path:(a?a+".":"")+r,keyword:"type"}]}return null},t}();a.ArrayValidator=i;var o=function(){function t(t){this.expectedType=t}return t.prototype.validate=function(t,a,r){return null==t?null:typeof t!==this.expectedType?[{message:r+" must be a "+this.expectedType,path:(a?a+".":"")+r,keyword:"type"}]:null},t}();a.TypeValidator=o;var l=function(t){function a(){return t.call(this,"string")||this}return r(a,t),a}(o);a.StringValidator=l;var n=function(t){function a(){return t.call(this,"boolean")||this}return r(a,t),a}(o);a.BooleanValidator=n;var d=function(t){function a(){return t.call(this,"number")||this}return r(a,t),a}(o);a.NumberValidator=d;var u=function(){function t(t){this.possibleValues=t}return t.prototype.validate=function(t,a,r){return null==t?null:this.possibleValues.indexOf(t)<0?[{message:r+" property is invalid",path:(a?a+".":"")+r,keyword:"invalid"}]:null},t}();a.ValueValidator=u;var s=function(t){function a(a){var r=t.call(this,[a])||this;return r.schemaValue=a,r}return r(a,t),a.prototype.validate=function(a,r,e){return t.prototype.validate.call(this,a,r,e)},a}(u);a.SchemaValidator=s;var p=function(t){function a(a){var r=t.call(this)||this;return r.possibleValues=a,r}return r(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var i=t.prototype.validate.call(this,a,r,e);if(i)return i;var o=new u(this.possibleValues);return o.validate(a,r,e)},a}(d);a.EnumValidator=p;var c=function(t){function a(){return t.call(this,[new l])||this}return r(a,t),a.prototype.validate=function(a,r,e){var i=t.prototype.validate.call(this,a,r,e);return i?[{message:e+" must be an array of strings",path:(r?r+".":"")+e,keyword:"type"}]:null},a}(i);a.StringArrayValidator=c;var f=function(t){function a(){return t.call(this,[new n])||this}return r(a,t),a.prototype.validate=function(a,r,e){var i=t.prototype.validate.call(this,a,r,e);return i?[{message:e+" must be an array of booleans",path:(r?r+".":"")+e,keyword:"type"}]:null},a}(i);a.BooleanArrayValidator=f;var V=function(t){function a(){return t.call(this,[new d])||this}return r(a,t),a.prototype.validate=function(a,r,e){var i=t.prototype.validate.call(this,a,r,e);return i?[{message:e+" must be an array of numbers",path:(r?r+".":"")+e,keyword:"type"}]:null},a}(i);a.NumberArrayValidator=V},function(t,a,r){var e=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])};return function(a,r){function e(){this.constructor=a}t(a,r),a.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();Object.defineProperty(a,"__esModule",{value:!0});var i=r(1),o=r(4),l=r(2),n=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"title",validators:[i.Validators.stringValidator]},{field:"icon",validators:[i.Validators.stringValidator]},{field:"menuLocation",validators:[i.Validators.menuLocationValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.MenuExtensionValidator=n;var d=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"visualContextMenu",validators:[i.Validators.menuExtensionValidator]},{field:"visualOptionsMenu",validators:[i.Validators.menuExtensionValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.ExtensionPointsValidator=d;var u=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"name",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]},{field:"extend",validators:[i.Validators.fieldRequiredValidator,i.Validators.extensionPointsValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.ExtensionItemValidator=u;var s=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"title",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]},{field:"icon",validators:[i.Validators.stringValidator]},{field:"selector",validators:[i.Validators.commandExtensionSelectorValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(u);a.CommandExtensionValidator=s;var p=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"command",validators:[i.Validators.commandExtensionValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.ExtensionValidator=p},function(t,a){Object.defineProperty(a,"__esModule",{value:!0});var r=function(){function t(t){this.fieldValidatorsPairs=t}return t.prototype.validate=function(t,a,r){if(!this.fieldValidatorsPairs)return null;for(var e=a?a+"."+r:r,i=0,o=this.fieldValidatorsPairs;i<o.length;i++)for(var l=o[i],n=0,d=l.validators;n<d.length;n++){var u=d[n],s=u.validate(t[l.field],e,l.field);if(s)return s}return null},t}();a.MultipleFieldsValidator=r},function(t,a,r){var e=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])};return function(a,r){function e(){this.constructor=a}t(a,r),a.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();Object.defineProperty(a,"__esModule",{value:!0});var i=r(1),o=r(4),l=r(2),n=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"filterPaneEnabled",validators:[i.Validators.booleanValidator]},{field:"navContentPaneEnabled",validators:[i.Validators.booleanValidator]},{field:"bookmarksPaneEnabled",validators:[i.Validators.booleanValidator]},{field:"useCustomSaveAsDialog",validators:[i.Validators.booleanValidator]},{field:"extensions",validators:[i.Validators.extensionArrayValidator]},{field:"layoutType",validators:[i.Validators.layoutTypeValidator]},{field:"customLayout",validators:[i.Validators.customLayoutValidator]},{field:"background",validators:[i.Validators.backgroundValidator]},{field:"visualSettings",validators:[i.Validators.visualSettingsValidator]},{field:"hideErrors",validators:[i.Validators.booleanValidator]},{field:"commands",validators:[i.Validators.commandsSettingsArrayValidator]},{field:"hyperlinkClickBehavior",validators:[i.Validators.hyperlinkClickBehaviorValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.SettingsValidator=n},function(t,a,r){var e=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])};return function(a,r){function e(){this.constructor=a}t(a,r),a.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();Object.defineProperty(a,"__esModule",{value:!0});var i=r(1),o=r(4),l=r(2),n=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var n=t.prototype.validate.call(this,a,r,e);if(n)return n;var d=[{field:"playMode",validators:[i.Validators.fieldRequiredValidator,new l.EnumValidator([0,1])]}],u=new o.MultipleFieldsValidator(d);return u.validate(a,r,e)},a}(l.ObjectValidator);a.PlayBookmarkRequestValidator=n;var d=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"state",validators:[i.Validators.stringValidator]},{field:"displayName",validators:[i.Validators.stringValidator]},{field:"apply",validators:[i.Validators.booleanValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.AddBookmarkRequestValidator=d;var u=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"name",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.ApplyBookmarkByNameRequestValidator=u;var s=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"state",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.ApplyBookmarkStateRequestValidator=s},function(t,a,r){var e=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])};return function(a,r){function e(){this.constructor=a}t(a,r),a.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();Object.defineProperty(a,"__esModule",{value:!0});var i=r(1),o=r(4),l=r(2),n=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"table",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]
  },{field:"column",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.FilterColumnTargetValidator=n;var d=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"keys",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringArrayValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(n);a.FilterKeyColumnsTargetValidator=d;var u=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"table",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]},{field:"hierarchy",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]},{field:"hierarchyLevel",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.FilterHierarchyTargetValidator=u;var s=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"keys",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringArrayValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(u);a.FilterKeyHierarchyTargetValidator=s;var p=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"table",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]},{field:"measure",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.FilterMeasureTargetValidator=p;var c=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"target",validators:[i.Validators.fieldRequiredValidator,i.Validators.filterTargetValidator]},{field:"operator",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]},{field:"values",validators:[i.Validators.fieldRequiredValidator,i.Validators.anyArrayValidator]},{field:"filterType",validators:[i.Validators.basicFilterTypeValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.BasicFilterValidator=c;var f=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"target",validators:[i.Validators.fieldRequiredValidator,i.Validators.filterTargetValidator]},{field:"logicalOperator",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]},{field:"conditions",validators:[i.Validators.fieldRequiredValidator,i.Validators.filterConditionsValidator]},{field:"filterType",validators:[i.Validators.advancedFilterTypeValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.AdvancedFilterValidator=f;var V=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"target",validators:[i.Validators.fieldRequiredValidator,i.Validators.filterTargetValidator]},{field:"operator",validators:[i.Validators.fieldRequiredValidator,i.Validators.relativeDateFilterOperatorValidator]},{field:"timeUnitsCount",validators:[i.Validators.fieldRequiredValidator,i.Validators.numberValidator]},{field:"timeUnitType",validators:[i.Validators.fieldRequiredValidator,i.Validators.relativeDateFilterTimeUnitTypeValidator]},{field:"includeToday",validators:[i.Validators.fieldRequiredValidator,i.Validators.booleanValidator]},{field:"filterType",validators:[i.Validators.relativeDateFilterTypeValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.RelativeDateFilterValidator=V;var v=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"target",validators:[i.Validators.fieldRequiredValidator,i.Validators.filterTargetValidator]},{field:"operator",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]},{field:"itemCount",validators:[i.Validators.fieldRequiredValidator,i.Validators.numberValidator]},{field:"filterType",validators:[i.Validators.topNFilterTypeValidator]},{field:"orderBy",validators:[i.Validators.fieldRequiredValidator,i.Validators.filterTargetValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.TopNFilterValidator=v;var y=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"target",validators:[i.Validators.filterTargetValidator]},{field:"message",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]},{field:"notSupportedTypeName",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]},{field:"filterType",validators:[i.Validators.notSupportedFilterTypeValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.NotSupportedFilterValidator=y;var h=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"target",validators:[i.Validators.fieldRequiredValidator,i.Validators.filterTargetValidator]},{field:"isExclude",validators:[i.Validators.fieldRequiredValidator,i.Validators.booleanValidator]},{field:"values",validators:[i.Validators.fieldRequiredValidator,i.Validators.anyArrayValidator]},{field:"filterType",validators:[i.Validators.includeExludeFilterTypeValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.IncludeExcludeFilterValidator=h;var m=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(t,a,r){return null==t?null:i.Validators.anyFilterValidator.validate(t,a,r)},a}(l.ObjectValidator);a.FilterValidator=m;var g=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"value",validators:[i.Validators.anyValueValidator]},{field:"operator",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.ConditionItemValidator=g},function(t,a){Object.defineProperty(a,"__esModule",{value:!0});var r=function(){function t(){}return t.prototype.validate=function(t,a,r){return null==t?[{message:r+" is required",path:(a?a+".":"")+r,keyword:"required"}]:null},t}();a.FieldRequiredValidator=r},function(t,a){Object.defineProperty(a,"__esModule",{value:!0});var r=function(){function t(t){this.validators=t}return t.prototype.validate=function(t,a,r){if(null==t)return null;for(var e=!1,i=0,o=this.validators;i<o.length;i++){var l=o[i],n=l.validate(t,a,r);if(!n){e=!0;break}}return e?null:[{message:r+" property is invalid",path:(a?a+".":"")+r,keyword:"invalid"}]},t}();a.AnyOfValidator=r},function(t,a,r){var e=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])};return function(a,r){function e(){this.constructor=a}t(a,r),a.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();Object.defineProperty(a,"__esModule",{value:!0});var i=r(1),o=r(4),l=r(2),n=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"accessToken",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]},{field:"id",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]},{field:"groupId",validators:[i.Validators.stringValidator]},{field:"settings",validators:[i.Validators.settingsValidator]},{field:"pageName",validators:[i.Validators.stringValidator]},{field:"filters",validators:[i.Validators.filtersArrayValidator]},{field:"permissions",validators:[i.Validators.permissionsValidator]},{field:"viewMode",validators:[i.Validators.viewModeValidator]},{field:"tokenType",validators:[i.Validators.tokenTypeValidator]},{field:"bookmark",validators:[i.Validators.applyBookmarkValidator]},{field:"theme",validators:[i.Validators.customThemeValidator]},{field:"embedUrl",validators:[i.Validators.stringValidator]},{field:"datasetBinding",validators:[i.Validators.datasetBindingValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.ReportLoadValidator=n},function(t,a,r){var e=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])};return function(a,r){function e(){this.constructor=a}t(a,r),a.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();Object.defineProperty(a,"__esModule",{value:!0});var i=r(1),o=r(4),l=r(2),n=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"accessToken",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]},{field:"datasetId",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]},{field:"groupId",validators:[i.Validators.stringValidator]},{field:"tokenType",validators:[i.Validators.tokenTypeValidator]},{field:"theme",validators:[i.Validators.customThemeValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.ReportCreateValidator=n},function(t,a,r){var e=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])};return function(a,r){function e(){this.constructor=a}t(a,r),a.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();Object.defineProperty(a,"__esModule",{value:!0});var i=r(1),o=r(4),l=r(2),n=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"accessToken",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]},{field:"id",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]},{field:"groupId",validators:[i.Validators.stringValidator]},{field:"pageView",validators:[i.Validators.pageViewFieldValidator]},{field:"tokenType",validators:[i.Validators.tokenTypeValidator]},{field:"embedUrl",validators:[i.Validators.stringValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.DashboardLoadValidator=n},function(t,a,r){var e=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])};return function(a,r){function e(){this.constructor=a}t(a,r),a.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();Object.defineProperty(a,"__esModule",{value:!0});var i=r(1),o=r(4),l=r(2),n=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"accessToken",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]},{field:"id",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]},{field:"dashboardId",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]},{field:"groupId",validators:[i.Validators.stringValidator]},{field:"pageView",validators:[i.Validators.stringValidator]},{field:"tokenType",validators:[i.Validators.tokenTypeValidator]},{field:"width",validators:[i.Validators.numberValidator]},{field:"height",validators:[i.Validators.numberValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.TileLoadValidator=n},function(t,a,r){var e=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])};return function(a,r){function e(){this.constructor=a}t(a,r),a.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();Object.defineProperty(a,"__esModule",{value:!0});var i=r(1),o=r(4),l=r(2),n=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"type",validators:[i.Validators.fieldRequiredValidator,i.Validators.pageSizeTypeValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.PageSizeValidator=n;var d=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"width",validators:[i.Validators.numberValidator]},{field:"height",validators:[i.Validators.numberValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(n);a.CustomPageSizeValidator=d;var u=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"name",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.PageValidator=u;var s=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var i=t.prototype.validate.call(this,a,r,e);if(i)return i;var o=["actualSize","fitToWidth","oneColumn"];return o.indexOf(a)<0?[{message:'pageView must be a string with one of the following values: "actualSize", "fitToWidth", "oneColumn"'}]:null},a}(l.StringValidator);a.PageViewFieldValidator=s},function(t,a,r){var e=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])};return function(a,r){function e(){this.constructor=a}t(a,r),a.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();Object.defineProperty(a,"__esModule",{value:!0});var i=r(1),o=r(4),l=r(2),n=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"accessToken",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]},{field:"datasetIds",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringArrayValidator]},{field:"question",validators:[i.Validators.stringValidator]},{field:"viewMode",validators:[i.Validators.viewModeValidator]},{field:"settings",validators:[i.Validators.qnaSettingValidator]},{field:"tokenType",validators:[i.Validators.tokenTypeValidator]},{field:"groupId",validators:[i.Validators.stringValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.LoadQnaValidator=n;var d=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"filterPaneEnabled",validators:[i.Validators.booleanValidator]},{field:"hideErrors",validators:[i.Validators.booleanValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.QnaSettingsValidator=d;var u=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"datasetIds",validators:[i.Validators.stringArrayValidator]},{field:"question",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.QnaInterpretInputDataValidator=u},function(t,a,r){var e=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])};return function(a,r){function e(){this.constructor=a}t(a,r),a.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();Object.defineProperty(a,"__esModule",{value:!0});var i=r(1),o=r(4),l=r(2),n=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"name",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.SaveAsParametersValidator=n},function(t,a,r){var e=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])};return function(a,r){function e(){this.constructor=a}t(a,r),a.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();Object.defineProperty(a,"__esModule",{value:!0});var i=r(2),o=function(t){function a(a,r){var e=t.call(this)||this;return e.keyValidators=a,e.valueValidators=r,e}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var i=t.prototype.validate.call(this,a,r,e);if(i)return i;for(var o in a)if(a.hasOwnProperty(o)){for(var l=(r?r+".":"")+e+"."+o,n=0,d=this.keyValidators;n<d.length;n++){var u=d[n];if(i=u.validate(o,l,e))return i}for(var s=0,p=this.valueValidators;s<p.length;s++){var c=p[s];if(i=c.validate(a[o],l,e))return i}}return null},a}(i.ObjectValidator);a.MapValidator=o},function(t,a,r){var e=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])};return function(a,r){function e(){this.constructor=a}t(a,r),a.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();Object.defineProperty(a,"__esModule",{value:!0});var i=r(1),o=r(4),l=r(2),n=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"pageSize",validators:[i.Validators.pageSizeValidator]},{field:"displayOption",validators:[i.Validators.customLayoutDisplayOptionValidator]},{field:"pagesLayout",validators:[i.Validators.pagesLayoutValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.CustomLayoutValidator=n;var d=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"x",validators:[i.Validators.numberValidator]},{field:"y",validators:[i.Validators.numberValidator]},{field:"z",validators:[i.Validators.numberValidator]},{field:"width",validators:[i.Validators.numberValidator]},{field:"height",validators:[i.Validators.numberValidator]},{field:"displayState",validators:[i.Validators.displayStateValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.VisualLayoutValidator=d;var u=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"mode",validators:[i.Validators.displayStateModeValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.DisplayStateValidator=u;var s=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"visualsLayout",validators:[i.Validators.fieldRequiredValidator,i.Validators.pageLayoutValidator]},{field:"defaultLayout",validators:[i.Validators.visualLayoutValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.PageLayoutValidator=s},function(t,a,r){var e=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])};return function(a,r){function e(){this.constructor=a}t(a,r),a.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();Object.defineProperty(a,"__esModule",{value:!0});var i=r(4),o=r(2),l=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"rows",validators:[new o.NumberValidator]},{field:"exportDataType",validators:[new o.EnumValidator([0,1])]}],d=new i.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(o.ObjectValidator);a.ExportDataRequestValidator=l},function(t,a,r){var e=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])};return function(a,r){function e(){this.constructor=a}t(a,r),a.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();Object.defineProperty(a,"__esModule",{value:!0});var i=r(1),o=r(4),l=r(2),n=r(2),d=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var d=[{field:"$schema",validators:[i.Validators.stringValidator,new n.SchemaValidator("http://powerbi.com/product/schema#visualSelector")]},{field:"visualName",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]}],u=new o.MultipleFieldsValidator(d);return u.validate(a,r,e)},a}(l.ObjectValidator);a.VisualSelectorValidator=d;var u=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var d=[{field:"$schema",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator,new n.SchemaValidator("http://powerbi.com/product/schema#visualTypeSelector")]},{field:"visualType",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]}],u=new o.MultipleFieldsValidator(d);return u.validate(a,r,e)},a}(l.ObjectValidator);a.VisualTypeSelectorValidator=u;var s=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var d=[{field:"$schema",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator,new n.SchemaValidator("http://powerbi.com/product/schema#slicerTargetSelector")]},{field:"target",validators:[i.Validators.fieldRequiredValidator,i.Validators.slicerTargetValidator]}],u=new o.MultipleFieldsValidator(d);return u.validate(a,r,e)},a}(l.ObjectValidator);a.SlicerTargetSelectorValidator=s},function(t,a,r){var e=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])};return function(a,r){function e(){this.constructor=a}t(a,r),a.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();Object.defineProperty(a,"__esModule",{value:!0});var i=r(1),o=r(4),l=r(2),n=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"selector",validators:[i.Validators.fieldRequiredValidator,i.Validators.slicerSelectorValidator]},{field:"state",validators:[i.Validators.fieldRequiredValidator,i.Validators.slicerStateValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.SlicerValidator=n;var d=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"filters",validators:[i.Validators.filtersArrayValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.SlicerStateValidator=d},function(t,a,r){var e=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])};return function(a,r){function e(){this.constructor=a}t(a,r),a.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();Object.defineProperty(a,"__esModule",{value:!0});var i=r(1),o=r(4),l=r(2),n=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"visualHeaders",validators:[i.Validators.visualHeadersValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.VisualSettingsValidator=n;var d=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"visible",validators:[i.Validators.booleanValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.VisualHeaderSettingsValidator=d;var u=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"settings",validators:[i.Validators.fieldRequiredValidator,i.Validators.visualHeaderSettingsValidator]},{field:"selector",validators:[i.Validators.visualHeaderSelectorValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.VisualHeaderValidator=u},function(t,a,r){var e=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])};return function(a,r){function e(){this.constructor=a}t(a,r),a.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();Object.defineProperty(a,"__esModule",{value:!0});var i=r(1),o=r(4),l=r(2),n=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"copy",validators:[i.Validators.singleCommandSettingsValidator]},{field:"drill",validators:[i.Validators.singleCommandSettingsValidator]},{field:"drillthrough",validators:[i.Validators.singleCommandSettingsValidator]},{field:"expandCollapse",validators:[i.Validators.singleCommandSettingsValidator]},{field:"exportData",validators:[i.Validators.singleCommandSettingsValidator]},{field:"includeExclude",validators:[i.Validators.singleCommandSettingsValidator]},{field:"removeVisual",validators:[i.Validators.singleCommandSettingsValidator]},{field:"search",validators:[i.Validators.singleCommandSettingsValidator]},{field:"seeData",validators:[i.Validators.singleCommandSettingsValidator]},{field:"sort",validators:[i.Validators.singleCommandSettingsValidator]},{field:"spotlight",validators:[i.Validators.singleCommandSettingsValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.CommandsSettingsValidator=n;var d=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"displayOption",validators:[i.Validators.fieldRequiredValidator,i.Validators.commandDisplayOptionValidator]},{field:"selector",validators:[i.Validators.visualCommandSelectorValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.SingleCommandSettingsValidator=d},function(t,a,r){var e=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])};return function(a,r){function e(){this.constructor=a}t(a,r),a.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();Object.defineProperty(a,"__esModule",{value:!0});var i=r(4),o=r(2),l=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"themeJson",validators:[new o.ObjectValidator]}],d=new i.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(o.ObjectValidator);a.CustomThemeValidator=l},function(t,a,r){var e=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])};return function(a,r){function e(){this.constructor=a}t(a,r),a.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();Object.defineProperty(a,"__esModule",{value:!0});var i=r(1),o=r(4),l=r(2),n=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return e(a,t),a.prototype.validate=function(a,r,e){if(null==a)return null;var l=t.prototype.validate.call(this,a,r,e);if(l)return l;var n=[{field:"datasetId",validators:[i.Validators.fieldRequiredValidator,i.Validators.stringValidator]}],d=new o.MultipleFieldsValidator(n);return d.validate(a,r,e)},a}(l.ObjectValidator);a.DatasetBindingValidator=n}])});