UNPKG

74 kBJavaScriptView Raw
1!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}({0:function(e,t,n){e.exports=n(263)},263:function(e,t,n){window.jsCommon,window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;window.jsCommon=window.jsCommon||{},window.powerbi=window.powerbi||{},window.debug=window.debug||{},window.InJs=window.InJs||{},n(264)},264:function(e,t,n){window.jsCommon,window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(275),n(276),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(289),n(290),n(291),n(292),n(293),n(294),n(295),n(296),n(297),n(298),n(288),n(299),n(300),n(301),n(302)},265:function(e,t){window.jsCommon,window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft},266:function(e,t){var n,n=window.jsCommon;window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){var t;!function(e){e.escKeyCode=27,e.enterKeyCode=13,e.tabKeyCode=9,e.upArrowKeyCode=38,e.downArrowKeyCode=40,e.leftArrowKeyCode=37,e.rightArrowKeyCode=39,e.homeKeyCode=36,e.endKeyCode=35,e.backSpaceKeyCode=8,e.deleteKeyCode=46,e.spaceKeyCode=32,e.shiftKeyCode=16,e.ctrlKeyCode=17,e.altKeyCode=18,e.aKeyCode=65,e.cKeyCode=67,e.sKeyCode=83,e.vKeyCode=86,e.wKeyCode=87,e.xKeyCode=88,e.yKeyCode=89,e.zKeyCode=90,e.DocumentBody="body",e.Anchor="a",e.EditableTextElements=":text, textarea",e.EditableNumericElements='[type="number"]',e.disabledAttributeOrValue="disabled",e.readonlyAttributeOrValue="readonly",e.idAttribute="id",e.styleAttribute="style",e.hrefAttribute="href",e.targetAttribute="target",e.blankValue="_blank",e.selfValue="_self",e.classAttribute="class",e.titleAttribute="title",e.srcAttribute="src",e.contextmenuEventName="contextmenu",e.blurEventName="blur",e.keyUpEventName="keyup",e.inputEventName="input",e.changeEventName="change",e.cutEventName="cut",e.keyDownEventName="keydown",e.mouseMoveEventName="mousemove",e.mouseDownEventName="mousedown",e.mouseEnterEventName="mouseenter",e.mouseLeaveEventName="mouseleave",e.mouseOverEventName="mouseover",e.mouseOutEventName="mouseout",e.mouseClickEventName="click",e.pasteEventName="paste",e.scrollEventName="scroll",e.dropEventName="drop",e.focusEventName="focus",e.focusInEventName="focusin",e.focusOutEventName="focusout",e.selectEventName="select",e.messageEventName="message",e.loadEventName="load",e.beforeUnload="beforeunload",e.inputAndSelectEventNames="input, select"}(t=e.DOMConstants||(e.DOMConstants={}))}(n||(n={}))},267:function(e,t){var n,n=(window.jsCommon,window.powerbi);window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){e.RS_AccessDeniedDueToRLSGroup="rsAccessDeniedDueToRLSGroup",e.RS_CannotRetrieveModel="rsCannotRetrieveModel",function(e){e[e.ResourceCodeReference=0]="ResourceCodeReference",e[e.EmbeddedString=1]="EmbeddedString"}(e.PowerBIErrorResourceType||(e.PowerBIErrorResourceType={}));var t=e.PowerBIErrorResourceType,n=function(){function e(e){this.m_serviceError=e}return Object.defineProperty(e.prototype,"code",{get:function(){return e.codeName},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ignorable",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"requestId",{get:function(){return this.httpRequestId},set:function(e){this.httpRequestId=e},enumerable:!0,configurable:!0}),e.prototype.getDetails=function(e){var t;return t=6===this.m_serviceError.statusCode?r.GetDetailsFromTransformError(e,this.m_serviceError):r.GetDetailsFromServerError(e,this.m_serviceError),r.addAdditionalInfo(t,this.m_serviceError.errorDetails,e),r.addDebugErrorInfo(t,this.code,this.m_serviceError.message||null,this.m_serviceError.stackTrace||null),t},e.codeName="ServiceErrorToClientError",e}();e.ServiceErrorToClientError=n;var r=function(){function n(){}return n.addAdditionalInfo=function(e,r,o){if(r)for(var i=0;i<r.length;i++){var a=r[i],s=o.getOptional(n.serverErrorPrefix+a.code),u={errorInfoKey:s?s:a.code,errorInfoValue:a.detail.type===t.ResourceCodeReference?o.get(n.serverErrorPrefix+a.detail.value):a.detail.value};e.displayableErrorInfo.push(u)}return e},n.addDebugErrorInfo=function(t,n,r,o){return t.debugErrorInfo=t.debugErrorInfo||[],n&&t.debugErrorInfo.push({errorInfoKey:e.ClientErrorStrings.ClientErrorCode,errorInfoValue:n}),r&&t.debugErrorInfo.push({errorInfoKey:e.ClientErrorStrings.ErrorDetails,errorInfoValue:r}),o&&t.debugErrorInfo.push({errorInfoKey:e.ClientErrorStrings.StackTrace,errorInfoValue:o}),t},n.GetDetailsFromTransformError=function(e,t){var n=e.get("ServiceError_CannotLoadVisual"),r=e.get("ServiceError_CannotLoadVisual"),o=t.message,i=[];i.push({errorInfoKey:r,errorInfoValue:o});var a={message:n,displayableErrorInfo:i};return a},n.GetDetailsFromServerError=function(t,n){var r="",o="",i="",a=!1;switch(n.errorCode){case e.RS_AccessDeniedDueToRLSGroup:r=t.get("ServiceError_ModelCannotLoad"),o=t.get("ServiceError_ModelFetchingFailureKey"),i=t.get("DsrError_NoPermissionDueToRLSGroupMessage"),a=!0;break;case e.RS_CannotRetrieveModel:r=t.get("ServiceError_ModelCannotLoad"),o=t.get("ServiceError_ModelFetchingFailureKey"),i=t.get("DsrError_CanNotRetrieveModelMessage"),a=!0}if(!a)switch(n.statusCode){case 2:r=t.get("ServiceError_ModelCannotLoad"),o=t.get("ServiceError_ModelConvertFailureKey"),i=t.get("ServiceError_ModelConvertFailureValue");break;case 3:r=t.get("ServiceError_ModelCannotLoad"),o=t.get("ServiceError_ModelCreationFailureKey"),i=t.get("ServiceError_ModelCreationFailureValue");break;case 1:r=t.get("ServiceError_ModelCannotLoad"),o=t.get("ServiceError_ModelFetchingFailureKey"),i=t.get("ServiceError_ModelFetchingFailureValue");break;case 4:r=t.get("ServiceError_CannotLoadVisual"),o=t.get("ServiceError_ExecuteSemanticQueryErrorKey"),i=t.get("ServiceError_ExecuteSemanticQueryErrorValue");break;case 5:r=t.get("ServiceError_CannotLoadVisual"),o=t.get("ServiceError_ExecuteSemanticQueryInvalidStreamFormatKey"),i=t.get("ServiceError_ExecuteSemanticQueryInvalidStreamFormatValue");break;case 0:default:r=t.get("ServiceError_GeneralError"),o=t.get("ServiceError_GeneralErrorKey"),i=t.get("ServiceError_GeneralErrorValue")}var s=[];s.push({errorInfoKey:o,errorInfoValue:i});var u={message:r,displayableErrorInfo:s};return u},n.serverErrorPrefix="ServerError_",n}();e.PowerBIErrorDetailHelper=r}(n||(n={}))},268:function(e,t){var n,n=(window.jsCommon,window.powerbi);window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){}(n||(n={}))},269:function(e,t){var n,n=(window.jsCommon,window.powerbi);window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){function t(e){return new r(e)}e.CategoryTypes={Address:"Address",City:"City",Continent:"Continent",CountryRegion:"Country",County:"County",Longitude:"Longitude",Latitude:"Latitude",Place:"Place",PostalCode:"PostalCode",StateOrProvince:"StateOrProvince"},e.createGeoTaggingAnalyzerService=t;var n={GeotaggingString_Continent:"continent",GeotaggingString_Continents:"continents",GeotaggingString_Country:"country",GeotaggingString_Countries:"countries",GeotaggingString_State:"state",GeotaggingString_States:"states",GeotaggingString_City:"city",GeotaggingString_Cities:"cities",GeotaggingString_Town:"town",GeotaggingString_Towns:"towns",GeotaggingString_Province:"province",GeotaggingString_Provinces:"provinces",GeotaggingString_County:"county",GeotaggingString_Counties:"counties",GeotaggingString_Village:"village",GeotaggingString_Villages:"villages",GeotaggingString_Post:"post",GeotaggingString_Zip:"zip",GeotaggingString_Code:"code",GeotaggingString_Place:"place",GeotaggingString_Places:"places",GeotaggingString_Address:"address",GeotaggingString_Addresses:"addresses",GeotaggingString_Street:"street",GeotaggingString_Streets:"streets",GeotaggingString_Longitude:"longitude",GeotaggingString_Longitude_Short:"lon",GeotaggingString_Longitude_Short2:"long",GeotaggingString_Latitude:"latitude",GeotaggingString_Latitude_Short:"lat",GeotaggingString_PostalCode:"postal code",GeotaggingString_PostalCodes:"postal codes",GeotaggingString_ZipCode:"zip code",GeotaggingString_ZipCodes:"zip codes",GeotaggingString_Territory:"territory",GeotaggingString_Territories:"territories",GeotaggingString_VRMBackCompat_CountryRegion:"CountryRegion",GeotaggingString_VRMBackCompat_StateOrProvince:"StateOrProvince"},r=function(){function t(e){this.GeotaggingString_VRMBackCompat_CountryRegion="CountryRegion",this.GeotaggingString_VRMBackCompat_StateOrProvince="StateOrProvince",this.GeotaggingString_Continent=e("GeotaggingString_Continent").toLowerCase(),this.GeotaggingString_Continents=e("GeotaggingString_Continents").toLowerCase(),this.GeotaggingString_Country=e("GeotaggingString_Country").toLowerCase(),this.GeotaggingString_Countries=e("GeotaggingString_Countries").toLowerCase(),this.GeotaggingString_State=e("GeotaggingString_State").toLowerCase(),this.GeotaggingString_States=e("GeotaggingString_States").toLowerCase(),this.GeotaggingString_City=e("GeotaggingString_City").toLowerCase(),this.GeotaggingString_Cities=e("GeotaggingString_Cities").toLowerCase(),this.GeotaggingString_Town=e("GeotaggingString_Town").toLowerCase(),this.GeotaggingString_Towns=e("GeotaggingString_Towns").toLowerCase(),this.GeotaggingString_Province=e("GeotaggingString_Province").toLowerCase(),this.GeotaggingString_Provinces=e("GeotaggingString_Provinces").toLowerCase(),this.GeotaggingString_County=e("GeotaggingString_County").toLowerCase(),this.GeotaggingString_Counties=e("GeotaggingString_Counties").toLowerCase(),this.GeotaggingString_Village=e("GeotaggingString_Village").toLowerCase(),this.GeotaggingString_Villages=e("GeotaggingString_Villages").toLowerCase(),this.GeotaggingString_Post=e("GeotaggingString_Post").toLowerCase(),this.GeotaggingString_Zip=e("GeotaggingString_Zip").toLowerCase(),this.GeotaggingString_Code=e("GeotaggingString_Code").toLowerCase(),this.GeotaggingString_Place=e("GeotaggingString_Place").toLowerCase(),this.GeotaggingString_Places=e("GeotaggingString_Places").toLowerCase(),this.GeotaggingString_Address=e("GeotaggingString_Address").toLowerCase(),this.GeotaggingString_Addresses=e("GeotaggingString_Addresses").toLowerCase(),this.GeotaggingString_Street=e("GeotaggingString_Street").toLowerCase(),this.GeotaggingString_Streets=e("GeotaggingString_Streets").toLowerCase(),this.GeotaggingString_Longitude=e("GeotaggingString_Longitude").toLowerCase(),this.GeotaggingString_Longitude_Short=e("GeotaggingString_Longitude_Short").toLowerCase(),this.GeotaggingString_Longitude_Short2=e("GeotaggingString_Longitude_Short2").toLowerCase(),this.GeotaggingString_Latitude=e("GeotaggingString_Latitude").toLowerCase(),this.GeotaggingString_Latitude_Short=e("GeotaggingString_Latitude_Short").toLowerCase(),this.GeotaggingString_PostalCode=e("GeotaggingString_PostalCode").toLowerCase(),this.GeotaggingString_PostalCodes=e("GeotaggingString_PostalCodes").toLowerCase(),this.GeotaggingString_ZipCode=e("GeotaggingString_ZipCode").toLowerCase(),this.GeotaggingString_ZipCodes=e("GeotaggingString_ZipCodes").toLowerCase(),this.GeotaggingString_Territory=e("GeotaggingString_Territory").toLowerCase(),this.GeotaggingString_Territories=e("GeotaggingString_Territories").toLowerCase()}return t.prototype.isLongitudeOrLatitude=function(e){return this.isLongitude(e)||this.isLatitude(e)},t.prototype.isGeographic=function(e){return this.isLongitudeOrLatitude(e)||this.isGeocodable(e)},t.prototype.isGeocodable=function(e){return this.isAddress(e)||this.isCity(e)||this.isContinent(e)||this.isCountry(e)||this.isCounty(e)||this.isStateOrProvince(e)||this.isPlace(e)||this.isPostalCode(e)||this.isTerritory(e)},t.prototype.isGeoshapable=function(e){return this.isCity(e)||this.isCountry(e)||this.isCounty(e)||this.isStateOrProvince(e)||this.isPostalCode(e)||this.isTerritory(e)||this.isGeoshapableEnglish(e)},t.prototype.isGeoshapableEnglish=function(e){return this.isEnglishCity(e)||this.isEnglishCountry(e)||this.isEnglishCounty(e)||this.isEnglishStateOrProvince(e)||this.isEnglishPostalCode(e)||this.isEnglishTerritory(e)},t.prototype.isAddress=function(e){return t.hasMatches(e,[this.GeotaggingString_Address,this.GeotaggingString_Addresses,this.GeotaggingString_Street,this.GeotaggingString_Streets])},t.prototype.isPlace=function(e){return t.hasMatches(e,[this.GeotaggingString_Place,this.GeotaggingString_Places])},t.prototype.isCity=function(e){return t.hasMatches(e,[this.GeotaggingString_City,this.GeotaggingString_Cities,this.GeotaggingString_Town,this.GeotaggingString_Towns,this.GeotaggingString_Village,this.GeotaggingString_Villages])},t.prototype.isStateOrProvince=function(e){return t.hasMatches(e,[this.GeotaggingString_State,this.GeotaggingString_States,this.GeotaggingString_Province,this.GeotaggingString_Provinces,this.GeotaggingString_VRMBackCompat_StateOrProvince])},t.prototype.isCountry=function(e){return t.hasMatches(e,[this.GeotaggingString_Country,this.GeotaggingString_Countries,this.GeotaggingString_VRMBackCompat_CountryRegion])},t.prototype.isCounty=function(e){return t.hasMatches(e,[this.GeotaggingString_County,this.GeotaggingString_Counties])},t.prototype.isContinent=function(e){return t.hasMatches(e,[this.GeotaggingString_Continent,this.GeotaggingString_Continents])},t.prototype.isPostalCode=function(e){var n=t.hasMatches(e,[this.GeotaggingString_Post,this.GeotaggingString_Zip])&&t.hasMatches(e,[this.GeotaggingString_Code])||t.hasMatches(e,[this.GeotaggingString_PostalCode,this.GeotaggingString_PostalCodes,this.GeotaggingString_ZipCode,this.GeotaggingString_ZipCodes]);if(!n){var r=/\s+/,o=e.replace(r,"");n=t.hasMatches(o,[this.GeotaggingString_PostalCode.replace(r,""),this.GeotaggingString_PostalCodes.replace(r,""),this.GeotaggingString_ZipCode.replace(r,""),this.GeotaggingString_ZipCodes.replace(r,"")])}return n},t.prototype.isLongitude=function(e){return t.hasMatches(e,[this.GeotaggingString_Longitude])||t.hasMatches(e,[this.GeotaggingString_Longitude_Short],!0)||t.hasMatches(e,[this.GeotaggingString_Longitude_Short2],!0)},t.prototype.isLatitude=function(e){return t.hasMatches(e,[this.GeotaggingString_Latitude])||t.hasMatches(e,[this.GeotaggingString_Latitude_Short],!0)},t.prototype.isTerritory=function(e){return t.hasMatches(e,[this.GeotaggingString_Territory,this.GeotaggingString_Territories])},t.hasMatches=function(e,t,n){for(var r=/\W/,o=e.toLowerCase(),i=0,a=t.length;a>i;i++){var s=t[i].toLowerCase();if(n){var u=o.indexOf(s);if(u>-1){var g=void 0,c=void 0;if(g=c=!0,u-1>0&&(c=r.test(o[u-1])),u+s.length<o.length&&(g=r.test(o[u+s.length])),c&&g)return!0}}else if(o.indexOf(s)>-1)return!0}return!1},t.prototype.getFieldType=function(t){return null!=t?this.isLatitude(t)?e.CategoryTypes.Latitude:this.isLongitude(t)?e.CategoryTypes.Longitude:this.isPostalCode(t)?e.CategoryTypes.PostalCode:this.isAddress(t)?e.CategoryTypes.Address:this.isPlace(t)?e.CategoryTypes.Place:this.isCity(t)?e.CategoryTypes.City:this.isCountry(t)?e.CategoryTypes.CountryRegion:this.isCounty(t)?e.CategoryTypes.County:this.isStateOrProvince(t)?e.CategoryTypes.StateOrProvince:this.isContinent(t)?e.CategoryTypes.Continent:this.getEnglishFieldType(t):void 0},t.prototype.isEnglishAddress=function(e){return t.hasMatches(e,[n.GeotaggingString_Address,n.GeotaggingString_Addresses,n.GeotaggingString_Street,n.GeotaggingString_Streets])},t.prototype.isEnglishPlace=function(e){return t.hasMatches(e,[n.GeotaggingString_Place,n.GeotaggingString_Places])},t.prototype.isEnglishCity=function(e){return t.hasMatches(e,[n.GeotaggingString_City,n.GeotaggingString_Cities,n.GeotaggingString_Town,n.GeotaggingString_Towns,n.GeotaggingString_Village,n.GeotaggingString_Villages])},t.prototype.isEnglishStateOrProvince=function(e){return t.hasMatches(e,[n.GeotaggingString_State,n.GeotaggingString_States,n.GeotaggingString_Province,n.GeotaggingString_Provinces,n.GeotaggingString_VRMBackCompat_StateOrProvince])},t.prototype.isEnglishCountry=function(e){return t.hasMatches(e,[n.GeotaggingString_Country,n.GeotaggingString_Countries,n.GeotaggingString_VRMBackCompat_CountryRegion])},t.prototype.isEnglishCounty=function(e){return t.hasMatches(e,[n.GeotaggingString_County,n.GeotaggingString_Counties])},t.prototype.isEnglishContinent=function(e){return t.hasMatches(e,[n.GeotaggingString_Continent,n.GeotaggingString_Continents])},t.prototype.isEnglishPostalCode=function(e){var r=t.hasMatches(e,[n.GeotaggingString_Post,n.GeotaggingString_Zip])&&t.hasMatches(e,[this.GeotaggingString_Code])||t.hasMatches(e,[n.GeotaggingString_PostalCode,n.GeotaggingString_PostalCodes,n.GeotaggingString_ZipCode,n.GeotaggingString_ZipCodes]);if(!r){var o=new RegExp("s");r=t.hasMatches(e,[n.GeotaggingString_PostalCode.replace(o,""),n.GeotaggingString_PostalCodes.replace(o,""),n.GeotaggingString_ZipCode.replace(o,""),n.GeotaggingString_ZipCodes.replace(o,"")])}return r},t.prototype.isEnglishLongitude=function(e){return t.hasMatches(e,[n.GeotaggingString_Longitude])||t.hasMatches(e,[n.GeotaggingString_Longitude_Short],!0)||t.hasMatches(e,[n.GeotaggingString_Longitude_Short2],!0)},t.prototype.isEnglishLatitude=function(e){return t.hasMatches(e,[n.GeotaggingString_Latitude])||t.hasMatches(e,[n.GeotaggingString_Latitude_Short],!0)},t.prototype.isEnglishTerritory=function(e){return t.hasMatches(e,[n.GeotaggingString_Territory,n.GeotaggingString_Territories])},t.prototype.getEnglishFieldType=function(t){return null!=t?this.isEnglishLatitude(t)?e.CategoryTypes.Latitude:this.isEnglishLongitude(t)?e.CategoryTypes.Longitude:this.isEnglishPostalCode(t)?e.CategoryTypes.PostalCode:this.isEnglishAddress(t)?e.CategoryTypes.Address:this.isEnglishPlace(t)?e.CategoryTypes.Place:this.isEnglishCity(t)?e.CategoryTypes.City:this.isEnglishCountry(t)?e.CategoryTypes.CountryRegion:this.isEnglishCounty(t)?e.CategoryTypes.County:this.isEnglishStateOrProvince(t)?e.CategoryTypes.StateOrProvince:this.isEnglishContinent(t)?e.CategoryTypes.Continent:void 0:void 0},t}();e.GeoTaggingAnalyzerService=r}(n||(n={}))},270:function(e,t,n){window.jsCommon,window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft},271:function(e,t){var n,n=(window.jsCommon,window.powerbi);window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){var t;!function(e){e.ClientErrorCode="Client Error Code",e.ErrorCode="Error Code",e.ErrorDetails="Error Details",e.HttpRequestId="HTTP Request Id",e.JobId="Job Id",e.ODataErrorMessage="OData Error Message",e.StackTrace="Stack Trace"}(t=e.ClientErrorStrings||(e.ClientErrorStrings={}));var n=function(){function e(e){this.errorCode=e}return Object.defineProperty(e.prototype,"code",{get:function(){return this.errorCode},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ignorable",{get:function(){return!1},enumerable:!0,configurable:!0}),e.prototype.getDetails=function(e){var n={message:e.get("ClientError_UnknownClientErrorValue"),displayableErrorInfo:[{errorInfoKey:e.get("ClientError_UnknownClientErrorKey"),errorInfoValue:e.get("ClientError_UnknownClientErrorValue")}],debugErrorInfo:[{errorInfoKey:t.ClientErrorCode,errorInfoValue:this.code}]};return n},e}();e.UnknownClientError=n;var r=function(){function e(e,t){this.httpStatusCode=e,this.httpRequestId=t}return Object.defineProperty(e.prototype,"code",{get:function(){return"HttpClientError"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ignorable",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"requestId",{get:function(){return this.httpRequestId},enumerable:!0,configurable:!0}),e.prototype.getDetails=function(e){var n={message:null,displayableErrorInfo:[{errorInfoKey:e.get("DsrError_Key"),errorInfoValue:e.get("DsrError_UnknownErrorValue")},{errorInfoKey:e.get("ClientError_HttpResponseStatusCodeKey"),errorInfoValue:this.httpStatusCode.toString()}],debugErrorInfo:[{errorInfoKey:t.HttpRequestId,errorInfoValue:this.httpRequestId},{errorInfoKey:t.ClientErrorCode,errorInfoValue:this.code}]};return n},e}();e.HttpClientError=r;var o=function(){function e(){}return Object.defineProperty(e.prototype,"code",{get:function(){return"IgnorableClientError"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ignorable",{get:function(){return!0},enumerable:!0,configurable:!0}),e.prototype.getDetails=function(e){var t={message:"",displayableErrorInfo:[]};return t},e}();e.IgnorableClientError=o}(n||(n={}))},272:function(e,t){var n,n=window.jsCommon;window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){var t;!function(e){function t(e,t){for(var n=[],r=e.length-1;r>=0;--r)-1!==t.indexOf(e[r])&&n.push(e[r]);return n}function n(e,t){for(var n=[],r=e.length-1;r>=0;--r){var o=e[r];-1===t.indexOf(o)&&n.push(o)}return n}function r(e){for(var t=[],n=0,r=e.length;r>n;n++){var o=e[n];-1===t.indexOf(o)&&t.push(o)}return t}function o(e,t){for(var n=0,r=t.length;r>n;++n)i(e,t[n])}function i(e,t){e.indexOf(t)<0&&e.push(t)}function a(e,t,n){for(var r=[],o=t;n>=o;++o)r.push(e[o]);return r}function s(e,t){for(var n=[],r=0;t>r;++r)n.push(e[r]);return n}function u(e){return s(e,e.length)}function g(e,t,n){if(e||(e=null),t||(t=null),e===t)return!0;if(!!e!=!!t)return!1;var r=e.length;if(r!==t.length)return!1;for(var o=0;r>o&&n(e[o],t[o]);)++o;return o===r}function c(e){return e&&0===e.length?null:e}function d(e,t){for(var n=0,r=e.length;r>n;++n)if(t(e[n]))return n;return-1}function l(e,t){if(0===t)return e.slice();var n=e.slice(t);return Array.prototype.push.apply(n,e.slice(0,t)),n}function f(){return w([])}function w(e){var t=e;return t.withId=h,t}function p(e,t){for(var n=0,r=e.length;r>n;n++){var o=e[n];if(o.id===t)return o}}function h(t){return e.findWithId(this,t)}function m(){return v([])}function v(e){var t=e;return t.withName=E,t}function y(e,t){var n=S(e,t);return n>=0?e[n]:void 0}function S(e,t){for(var n=0,r=e.length;r>n;n++){var o=e[n];if(o.name===t)return n}return-1}function C(e,t){for(var n=e.length,r=n-1;r>=0;r--){var o=e[r]-t;if(0===o)return!1;if(!(o>0))return e.splice(r+1,0,t),!0}return e.unshift(t),!0}function b(e,t){var n=e.indexOf(t);return 0>n?!1:(e.splice(n,1),!0)}function E(e){var t=this;return y(t,e)}function T(e){if(e)for(;e.length>0;)e.pop()}function x(e){return!e||0===e.length}function I(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function G(e,t,n){return _.any(e,function(e){return n(e,t)})}function M(e){for(var t=e;null!=t;){if(_.isArray(t))return!0;t=Object.getPrototypeOf(t)}return!1}function P(e,t){var n=e.length;if(n>=2)for(var r=1;n>r;r++)if(t(e[r-1],e[r])>0)return!1;return!0}function O(e,t){var n=t?function(e,t){return t-e}:function(e,t){return e-t};return P(e,n)}e.intersect=t,e.diff=n,e.distinct=r,e.union=o,e.unionSingle=i,e.range=a,e.take=s,e.copy=u,e.sequenceEqual=g,e.emptyToNull=c,e.indexOf=d,e.rotate=l,e.createWithId=f,e.extendWithId=w,e.findWithId=p,e.createWithName=m,e.extendWithName=v,e.findItemWithName=y,e.indexWithName=S,e.insertSorted=C,e.removeFirst=b,e.clear=T,e.isUndefinedOrEmpty=x,e.swap=I,e.isInArray=G,e.isArrayOrInheritedArray=M,e.isSorted=P,e.isSortedNumeric=O}(t=e.ArrayExtensions||(e.ArrayExtensions={}))}(n||(n={}))},273:function(e,t){var n,n=(window.jsCommon,window.powerbi,window.powerbitests,window.InJs);window.debug,window.jasmine,window.Microsoft;!function(e){var t;!function(e){function t(){return $("<div/>")}function n(){return $("<span/>")}function r(){return $('<input type="checkbox"/>')}function o(){return $("<ul/>")}function i(){return $("<li/>")}function a(){return $('<input type="button"/>')}function s(){return $("<select/>")}function u(){return $('<input type="text"/>')}function g(){return $("<img/>")}function c(){return $("<iframe/>")}e.div=t,e.span=n,e.checkbox=r,e.ul=o,e.li=i,e.button=a,e.select=s,e.textBox=u,e.img=g,e.iframe=c}(t=e.DomFactory||(e.DomFactory={}))}(n||(n={}))},274:function(e,t){var n,n=(window.jsCommon,window.powerbi);window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){function t(e,t){return void 0!==e?e:t}var n;!function(e){function n(t){return t>=0?t<e.POSITIVE_POWERS.length?e.POSITIVE_POWERS[t]:1/0:(t=-t,t>0&&t<e.NEGATIVE_POWERS.length?e.NEGATIVE_POWERS[t]:0)}function r(t){if(t>1&&1e16>t)return 1e8>t?1e4>t?100>t?10>t?0:1:1e3>t?2:3:1e6>t?1e5>t?4:5:1e7>t?6:7:1e12>t?1e10>t?1e9>t?8:9:1e11>t?10:11:1e14>t?1e13>t?12:13:1e15>t?14:15;if(t>1e-16&&1>t)return 1e-8>t?1e-12>t?1e-14>t?1e-15>t?-16:-15:1e-13>t?-14:-13:1e-10>t?1e-11>t?-12:-11:1e-9>t?-10:-9:1e-4>t?1e-6>t?1e-7>t?-8:-7:1e-5>t?-6:-5:.01>t?.001>t?-4:-3:.1>t?-2:-1;var n=Math.log(t)/e.LOG_E_10;return e.floorWithPrecision(n)}function o(t,n){if(void 0===n&&(n=e.DEFAULT_PRECISION_IN_DECIMAL_DIGITS),t){var r=e.log10(Math.abs(t));if(r<e.MIN_EXP)return 0;var o=Math.max(r-n,-e.NEGATIVE_POWERS.length+1);return e.pow10(o)}}function i(n,r,o){return o=t(o,e.DEFAULT_PRECISION),n===r||Math.abs(n-r)<o}function a(n,r,o){return o=t(o,e.DEFAULT_PRECISION),r>n&&Math.abs(n-r)>o}function s(n,r,o){return o=t(o,e.DEFAULT_PRECISION),r>n||Math.abs(n-r)<o}function u(n,r,o){return o=t(o,e.DEFAULT_PRECISION),n>r&&Math.abs(n-r)>o}function g(n,r,o){return o=t(o,e.DEFAULT_PRECISION),n>r||Math.abs(n-r)<o}function c(n,r){r=t(r,e.DEFAULT_PRECISION);var o=Math.round(n);return Math.abs(n-o)<r?o:Math.floor(n)}function d(n,r){r=t(r,e.DEFAULT_PRECISION);var o=Math.round(n);return Math.abs(n-o)<r?o:Math.ceil(n)}function l(n,r){return r=t(r,e.DEFAULT_PRECISION),0===r||0===n?n:Math.floor(n/r)*r}function f(n,r){return r=t(r,e.DEFAULT_PRECISION),0===r||0===n?n:Math.ceil(n/r)*r}function w(n,r){if(r=t(r,e.DEFAULT_PRECISION),0===r||0===n)return n;var o=Math.round(n/r)*r,i=Math.round(e.log10(Math.abs(n))-e.log10(r))+1;return i>0&&16>i&&(o=parseFloat(o.toPrecision(i))),o}function p(e,t,n){return void 0===e||null===e?e:t>e?t:e>n?n:e}function h(e){return.5+e<<0}function m(e,t,n,r,o){if(0===n||0===o)return e>=t&&t+n>=e?r:NaN;var i=(e-t)/n,a=r+i*o;return a}function v(e){return w(e,o(e))}function y(e){return null!==e&&e%1===0}function S(e,t){return Math.round(e/t)*t}e.MIN_VALUE=-Number.MAX_VALUE,e.MAX_VALUE=Number.MAX_VALUE,e.MIN_EXP=-308,e.MAX_EXP=308,e.EPSILON=1e-323,e.DEFAULT_PRECISION=1e-4,e.DEFAULT_PRECISION_IN_DECIMAL_DIGITS=12,e.LOG_E_10=Math.log(10),e.POSITIVE_POWERS=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13,1e14,1e15,1e16,1e17,1e18,1e19,1e20,1e21,1e22,1e23,1e24,1e25,1e26,1e27,1e28,1e29,1e30,1e31,1e32,1e33,1e34,1e35,1e36,1e37,1e38,1e39,1e40,1e41,1e42,1e43,1e44,1e45,1e46,1e47,1e48,1e49,1e50,1e51,1e52,1e53,1e54,1e55,1e56,1e57,1e58,1e59,1e60,1e61,1e62,1e63,1e64,1e65,1e66,1e67,1e68,1e69,1e70,1e71,1e72,1e73,1e74,1e75,1e76,1e77,1e78,1e79,1e80,1e81,1e82,1e83,1e84,1e85,1e86,1e87,1e88,1e89,1e90,1e91,1e92,1e93,1e94,1e95,1e96,1e97,1e98,1e99,1e100,1e101,1e102,1e103,1e104,1e105,1e106,1e107,1e108,1e109,1e110,1e111,1e112,1e113,1e114,1e115,1e116,1e117,1e118,1e119,1e120,1e121,1e122,1e123,1e124,1e125,1e126,1e127,1e128,1e129,1e130,1e131,1e132,1e133,1e134,1e135,1e136,1e137,1e138,1e139,1e140,1e141,1e142,1e143,1e144,1e145,1e146,1e147,1e148,1e149,1e150,1e151,1e152,1e153,1e154,1e155,1e156,1e157,1e158,1e159,1e160,1e161,1e162,1e163,1e164,1e165,1e166,1e167,1e168,1e169,1e170,1e171,1e172,1e173,1e174,1e175,1e176,1e177,1e178,1e179,1e180,1e181,1e182,1e183,1e184,1e185,1e186,1e187,1e188,1e189,1e190,1e191,1e192,1e193,1e194,1e195,1e196,1e197,1e198,1e199,1e200,1e201,1e202,1e203,1e204,1e205,1e206,1e207,1e208,1e209,1e210,1e211,1e212,1e213,1e214,1e215,1e216,1e217,1e218,1e219,1e220,1e221,1e222,1e223,1e224,1e225,1e226,1e227,1e228,1e229,1e230,1e231,1e232,1e233,1e234,1e235,1e236,1e237,1e238,1e239,1e240,1e241,1e242,1e243,1e244,1e245,1e246,1e247,1e248,1e249,1e250,1e251,1e252,1e253,1e254,1e255,1e256,1e257,1e258,1e259,1e260,1e261,1e262,1e263,1e264,1e265,1e266,1e267,1e268,1e269,1e270,1e271,1e272,1e273,1e274,1e275,1e276,1e277,1e278,1e279,1e280,1e281,1e282,1e283,1e284,1e285,1e286,1e287,1e288,1e289,1e290,1e291,1e292,1e293,1e294,1e295,1e296,1e297,1e298,1e299,1e300,1e301,1e302,1e303,1e304,1e305,1e306,1e307,1e308],e.NEGATIVE_POWERS=[1,.1,.01,.001,1e-4,1e-5,1e-6,1e-7,1e-8,1e-9,1e-10,1e-11,1e-12,1e-13,1e-14,1e-15,1e-16,1e-17,1e-18,1e-19,1e-20,1e-21,1e-22,1e-23,1e-24,1e-25,1e-26,1e-27,1e-28,1e-29,1e-30,1e-31,1e-32,1e-33,1e-34,1e-35,1e-36,1e-37,1e-38,1e-39,1e-40,1e-41,1e-42,1e-43,1e-44,1e-45,1e-46,1e-47,1e-48,1e-49,1e-50,1e-51,1e-52,1e-53,1e-54,1e-55,1e-56,1e-57,1e-58,1e-59,1e-60,1e-61,1e-62,1e-63,1e-64,1e-65,1e-66,1e-67,1e-68,1e-69,1e-70,1e-71,1e-72,1e-73,1e-74,1e-75,1e-76,1e-77,1e-78,1e-79,1e-80,1e-81,1e-82,1e-83,1e-84,1e-85,1e-86,1e-87,1e-88,1e-89,1e-90,1e-91,1e-92,1e-93,1e-94,1e-95,1e-96,1e-97,1e-98,1e-99,1e-100,1e-101,1e-102,1e-103,1e-104,1e-105,1e-106,1e-107,1e-108,1e-109,1e-110,1e-111,1e-112,1e-113,1e-114,1e-115,1e-116,1e-117,1e-118,1e-119,1e-120,1e-121,1e-122,1e-123,1e-124,1e-125,1e-126,1e-127,1e-128,1e-129,1e-130,1e-131,1e-132,1e-133,1e-134,1e-135,1e-136,1e-137,1e-138,1e-139,1e-140,1e-141,1e-142,1e-143,1e-144,1e-145,1e-146,1e-147,1e-148,1e-149,1e-150,1e-151,1e-152,1e-153,1e-154,1e-155,1e-156,1e-157,1e-158,1e-159,1e-160,1e-161,1e-162,1e-163,1e-164,1e-165,1e-166,1e-167,1e-168,1e-169,1e-170,1e-171,1e-172,1e-173,1e-174,1e-175,1e-176,1e-177,1e-178,1e-179,1e-180,1e-181,1e-182,1e-183,1e-184,1e-185,1e-186,1e-187,1e-188,1e-189,1e-190,1e-191,1e-192,1e-193,1e-194,1e-195,1e-196,1e-197,1e-198,1e-199,1e-200,1e-201,1e-202,1e-203,1e-204,1e-205,1e-206,1e-207,1e-208,1e-209,1e-210,1e-211,1e-212,1e-213,1e-214,1e-215,1e-216,1e-217,1e-218,1e-219,1e-220,1e-221,1e-222,1e-223,1e-224,1e-225,1e-226,1e-227,1e-228,1e-229,1e-230,1e-231,1e-232,1e-233,1e-234,1e-235,1e-236,1e-237,1e-238,1e-239,1e-240,1e-241,1e-242,1e-243,1e-244,1e-245,1e-246,1e-247,1e-248,1e-249,1e-250,1e-251,1e-252,1e-253,1e-254,1e-255,1e-256,1e-257,1e-258,1e-259,1e-260,1e-261,1e-262,1e-263,1e-264,1e-265,1e-266,1e-267,1e-268,1e-269,1e-270,1e-271,1e-272,1e-273,1e-274,1e-275,1e-276,1e-277,1e-278,1e-279,1e-280,1e-281,1e-282,1e-283,1e-284,1e-285,1e-286,1e-287,1e-288,1e-289,1e-290,1e-291,1e-292,1e-293,1e-294,1e-295,1e-296,1e-297,1e-298,1e-299,1e-300,1e-301,1e-302,1e-303,1e-304,1e-305,1e-306,1e-307,1e-308,1e-309,1e-310,1e-311,1e-312,1e-313,1e-314,1e-315,1e-316,1e-317,1e-318,1e-319,1e-320,1e-321,1e-322,1e-323,0],e.pow10=n,e.log10=r,e.getPrecision=o,e.equalWithPrecision=i,e.lessWithPrecision=a,e.lessOrEqualWithPrecision=s,e.greaterWithPrecision=u,e.greaterOrEqualWithPrecision=g,e.floorWithPrecision=c,e.ceilWithPrecision=d,e.floorToPrecision=l,e.ceilToPrecision=f,e.roundToPrecision=w,e.ensureInRange=p,e.round=h,e.project=m,e.removeDecimalNoise=v,e.isInteger=y,e.toIncrement=S}(n=e.Double||(e.Double={}))}(n||(n={}))},275:function(e,t){var n,n=window.jsCommon,r=window.powerbi;window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){var t,n=r.Double;!function(e){function t(e,t){if(0===t)return e;var n=o(e),r=i(n),u=s(r,t),g=a(u);return c(g)}function r(e){var t=o(e);return c(t)}function o(e){if(e.indexOf("#")>=0){if(7===e.length){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);if(null==t||t.length<4)return;return{R:parseInt(t[1],16),G:parseInt(t[2],16),B:parseInt(t[3],16)}}if(4===e.length){var t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i.exec(e);if(null==t||t.length<4)return;return{R:parseInt(t[1]+t[1],16),G:parseInt(t[2]+t[2],16),B:parseInt(t[3]+t[3],16)}}}else{if(e.indexOf("rgb(")>=0){var t=/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/.exec(e);if(null==t||t.length<4)return;return{R:parseInt(t[1],10),G:parseInt(t[2],10),B:parseInt(t[3],10)}}if(e.indexOf("rgba(")>=0){var t=/^rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d*(?:\.\d+)?)\)$/.exec(e);if(null==t||t.length<5)return;return{R:parseInt(t[1],10),G:parseInt(t[2],10),B:parseInt(t[3],10),A:parseFloat(t[4])}}}}function i(e){var t,n,r=e.R/255,o=e.G/255,i=e.B/255,a=Math.min(r,Math.min(o,i)),s=Math.max(r,Math.max(o,i)),u=s,g=s-a;
2return 0===s||0===g?(t=0,n=0):(t=g/s,n=r===s?(o-i)/g:o===s?2+(i-r)/g:4+(r-o)/g),n/=6,0>n&&(n+=1),{H:n,S:t,V:u}}function a(e){var t,n,r,o=e.H,i=e.S,a=e.V;if(0===i)t=a,n=a,r=a;else{var s=void 0,u=void 0,g=void 0,c=void 0,d=void 0,l=void 0;switch(l=6*o,d=Math.floor(l),c=l-d,s=a*(1-i),u=a*(1-i*c),g=a*(1-i*(1-c)),d){case 0:t=a,n=g,r=s;break;case 1:t=u,n=a,r=s;break;case 2:t=s,n=a,r=g;break;case 3:t=s,n=u,r=a;break;case 4:t=g,n=s,r=a;break;case 5:t=a,n=s,r=u}}return{R:Math.floor(255*t),G:Math.floor(255*n),B:Math.floor(255*r)}}function s(e,t){var n=e.H+t;return{H:n>1?n-1:n,S:e.S,V:e.V}}function u(e,t){var n=Math.floor(t);return{R:Math.max(0,e.R-n),G:Math.max(0,e.G-n),B:Math.max(0,e.B-n)}}function g(e){return null==e.A?"rgb("+e.R+","+e.G+","+e.B+")":"rgba("+e.R+","+e.G+","+e.B+","+e.A+")"}function c(e){return"#"+w(e.R)+w(e.G)+w(e.B)}function d(e,t,n){return c(l(o(e),t,o(n)))}function l(e,t,r){return t=n.ensureInRange(t,0,1),{R:f(e.R,t,r.R),G:f(e.G,t,r.G),B:f(e.B,t,r.B)}}function f(e,t,r){return t=n.ensureInRange(t,0,1),e=n.ensureInRange(e,0,255),r=n.ensureInRange(r,0,255),Math.round(t*e+(1-t)*r)}function w(e){var t=n.ensureInRange(e,0,255),r=t.toString(16).toUpperCase();return 1===r.length?"0"+r:r}e.rotate=t,e.normalizeToHexString=r,e.parseColorString=o,e.darken=u,e.rgbString=g,e.hexString=c,e.hexBlend=d,e.rgbBlend=l,e.channelBlend=f}(t=e.Color||(e.Color={}))}(n||(n={}))},276:function(e,t){var n,n=window.jsCommon;window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){var t;!function(e){function t(e){return{"class":e,selector:"."+e}}e.createClassAndSelector=t,e.styleAttribute="style",e.pixelUnits="px",e.heightProperty="height",e.widthProperty="width",e.topProperty="top",e.bottomProperty="bottom",e.leftProperty="left",e.rightProperty="right",e.marginTopProperty="margin-top",e.marginLeftProperty="margin-left",e.displayProperty="display",e.backgroundProperty="background",e.backgroundColorProperty="background-color",e.backgroundRepeatProperty="background-repeat",e.backgroundSizeProperty="background-size",e.backgroundImageProperty="background-image",e.textShadowProperty="text-shadow",e.textAlignProperty="text-align",e.borderTopWidthProperty="border-top-width",e.borderBottomWidthProperty="border-bottom-width",e.borderLeftWidthProperty="border-left-width",e.borderRightWidthProperty="border-right-width",e.fontSizeProperty="font-size",e.fontWeightProperty="font-weight",e.colorProperty="color",e.opacityProperty="opacity",e.paddingLeftProperty="padding-left",e.paddingRightProperty="padding-right",e.positionProperty="position",e.maxWidthProperty="max-width",e.minWidthProperty="min-width",e.overflowProperty="overflow",e.overflowXProperty="overflow-x",e.overflowYProperty="overflow-y",e.transformProperty="transform",e.webkitTransformProperty="-webkit-transform",e.cursorProperty="cursor",e.visibilityProperty="visibility",e.absoluteValue="absolute",e.zeroPixelValue="0px",e.autoValue="auto",e.hiddenValue="hidden",e.noneValue="none",e.blockValue="block",e.inlineBlockValue="inline-block",e.transparentValue="transparent",e.boldValue="bold",e.visibleValue="visible",e.tableRowValue="table-row",e.coverValue="cover",e.pointerValue="pointer",e.scrollValue="scroll"}(t=e.CssConstants||(e.CssConstants={}))}(n||(n={}))},277:function(e,t){var n,n=(window.jsCommon,window.powerbi,window.powerbitests,window.InJs,window.debug);window.jasmine,window.Microsoft;!function(e){function t(e,t){e!==!0&&i(t||"condition: "+e)}function n(e,t){null!==e&&void 0!==e||i(t||"condition: "+e)}function r(e,t){null!=e&&e.length>0||i(t||"condition: "+e)}function o(e,t){}function i(t){(e.assertFailFunction||alert)("Debug Assert failed: "+t)}e.assert=t,e.assertValue=n,e.assertNonEmpty=r,e.assertAnyValue=o,e.assertFail=i}(n||(n={}))},278:function(e,t){var n,n=window.jsCommon;window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){function t(e){void 0===e&&(e=1);var t,n;try{throw new Error}catch(r){t=r.stack,null!=t&&(n=t.split("\n"),n.splice(1,e),t=n.join("\n"))}return t}var n;!function(e){function n(){return{name:"infoNavAppAlreadyPresent",message:"Cannot initialize embedded scenario when the InfoNav App is already present in this context",stack:c()}}function r(e){return{name:"invalidOperation",message:e,stack:c()}}function o(e,t){return{name:"invalidArgumentError",argument:e,message:t,stack:c()}}function i(e){return{name:"argumentNull",argument:e,message:"Argument was null",stack:c()}}function a(e){return{name:"argumentUndefined",argument:e,message:"Argument was undefined",stack:c()}}function s(e){return{name:"argumentOutOfRange",argument:e,message:"Argument was out of range",stack:c()}}function u(e,t){return{name:"pureVirtualMethodException",message:"This method must be overriden by the derived class:"+e+"."+t,stack:c()}}function g(e){return{name:"notImplementedException",message:e,stack:c()}}function c(){return t(2)}e.infoNavAppAlreadyPresent=n,e.invalidOperation=r,e.argument=o,e.argumentNull=i,e.argumentUndefined=a,e.argumentOutOfRange=s,e.pureVirtualMethodException=u,e.notImplementedException=g}(n=e.Errors||(e.Errors={})),e.getStackTrace=t}(n||(n={}))},279:function(e,t){var n=window.jsCommon;window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;$.fn.multiline=function(e){return this.text(e),this.html(this.html().replace(/\n/g,"<br/>")),this},$.fn.togglePanelControl=function(){return this.each(function(){$(this).addClass("ui-accordion ui-accordion-icons ui-widget ui-helper-reset").find(".accordionHeader").addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-top ui-corner-bottom").hover(function(){$(this).toggleClass("ui-state-hover")}).prepend('<span class="ui-icon ui-icon-triangle-1-e"></span>').click(function(){return $(this).toggleClass("ui-accordion-header-active ui-state-active ui-state-default ui-corner-bottom").find("> .ui-icon").toggleClass("ui-icon-triangle-1-e ui-icon-triangle-1-s").end().next().slideToggle(),!1}).next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide()})};var n;!function(e){var t;!function(e){e.VisibleSelector=":visible"}(t=e.JQueryConstants||(e.JQueryConstants={}))}(n||(n={}))},280:function(e,t){var n,n=window.jsCommon;window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){var t=function(){function t(t){e.Utility.throwIfNullOrUndefined(t,this,"constructor","factoryMethod"),this.factoryMethod=t}return t.prototype.getValue=function(){return null!==this.factoryMethod&&(this.value=this.factoryMethod(),this.factoryMethod=null),this.value},t}();e.Lazy=t}(n||(n={}))},281:function(e,t){var n,n=(window.jsCommon,window.powerbi);window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){var t;!function(e){function t(e,t){function n(){}n.prototype=e;var r=new n;return t&&t(r),r}function n(e){var n=Object.getPrototypeOf(e);return n!==Object.prototype&&n!==Array.prototype||(e=t(e)),e}function r(e,n){if(e){for(var r,o=0,i=e.length;i>o;o++){var a=n(e[o]);a&&(r||(r=t(e)),r[o]=a)}return r}}e.inherit=t,e.inheritSingle=n,e.overrideArray=r}(t=e.Prototype||(e.Prototype={}))}(n||(n={}))},282:function(e,t){window.jsCommon,window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft},283:function(e,t){window.jsCommon,window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft},284:function(e,t){var n,n=window.jsCommon;window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){var t;!function(e){function t(e,t,n){switch(t){case"m":t="M";break;case"O":case"o":t="yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'fff'0000'";break;case"R":case"r":e=new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t="ddd, dd MMM yyyy HH':'mm':'ss 'GMT'";break;case"s":t="S";break;case"u":e=new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t="yyyy'-'MM'-'dd HH':'mm':'ss'Z'";break;case"U":e=new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t="F";break;case"y":case"Y":switch(n){case"default":case"en":case"en-US":t="MMMM, yyyy";break;default:t="Y"}}return{value:e,format:t}}function n(e){if(e=e.replace(/%K/g,"zzz"),e=e.replace(/K/g,"zzz"),e=e.replace(/fffffff/g,"fff0000"),e=e.replace(/ffffff/g,"fff000"),e=e.replace(/fffff/g,"fff00"),e=e.replace(/ffff/g,"fff0"),e=e.replace(/yyyyy/g,"0yyyy"),e=e.replace(/(^y|^)yyy(^y|$)/g,"yyyy"),r||(r=["d","f","F","g","h","H","K","m","M","s","t","y","z",":","/"].map(function(e){return{r:new RegExp("%"+e+"(?!"+e+")","g"),s:e}})),-1!==e.indexOf("%")&&e.length>2)for(var t=0;t<r.length;t++)e=e.replace(r[t].r,r[t].s);return e}var r;e.findDateFormat=t,e.fixDateTimeFormat=n}(t=e.Formatting||(e.Formatting={}))}(n||(n={}))},285:function(e,t){var n,n=window.jsCommon;window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){function t(e,t){void 0===t&&(t=$.noop),n(e.cssFiles||[]);var o=e.javaScriptFilesWithCallback||[];if(e.javaScriptFiles)for(var i=0,a=e.javaScriptFiles.length;a>i;++i)o.push({javascriptFile:e.javaScriptFiles[i]});r(o,t)}function n(e){e.forEach(function(e){-1===S.indexOf(e)&&(S.push(e),o(e))})}function r(e,t){function n(){--o||g(e,s)}function r(){--a||t()}var o=e.length,a=o,s=[];e.forEach(function(e,t){var o=e.javascriptFile;-1===C.indexOf(o)?o in b?b[o].push(function(){n(),r()}):(b[o]=[function(){r()}],d(o)?(s[t]=e,n()):i(o,function(e){s[t]={javascriptFile:e},n()})):(n(),r())})}function o(e){var t=v.cloneNode();t.href=e,m?h.insertBefore(t,m):h.appendChild(t)}function i(e,t){c(e,function(){t(this.responseText)})}function a(e,t){if(void 0===t&&(t=$.noop),!e)return void t();var n=e.javascriptFile,r=t;if(e.onLoadCallback){var o=function(){e.onLoadCallback().then(t)};r=o}d(n)?u(n,r):s(n,r)}function s(e,t){void 0===t&&(t=$.noop);var n;e&&(n=y.cloneNode(),n.setAttribute("type","text/javascript"),n.innerHTML=e,h.appendChild(n)),setTimeout(t,0)}function u(e,t){var n;e&&(n=y.cloneNode(),n.setAttribute("src",e),n.setAttribute("charset","utf-8"),n.onload=t,h.appendChild(n))}function g(e,t){w(t,a,function(){e.forEach(function(e){var t=e.javascriptFile,n=b[t];n&&n.forEach(function(e){e()}),delete b[t],-1===C.indexOf(t)&&C.push(t)})})}function c(e,t,n){var r=new XMLHttpRequest;try{r.open("GET",e,!0),r.onload=t,r.onerror=n,r.send(null)}catch(o){}}function d(e){var t=location.protocol+"//"+location.host+"/";return/^http[s]?:\/\/.+/i.test(e)&&0!==e.indexOf(t)}function l(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t]}function f(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];if(0!==e.length){for(var n=[],r=e.length;r--;)!function(t){n[t]=function(){e[t](n[t+1]||l)}}(r);n[0]()}}function w(e,t,n){for(var r=[],o=0,i=e.length;i-1>o;o++)!function(n){r[n]=function(r){t(e[n],r)}}(o);r[i-1]=function(r){t(e[i-1],n)},f.apply(null,r)}var p=document,h=p.head,m=h.getElementsByTagName("script")[0],v=p.createElement("link"),y=p.createElement("script"),S=[],C=[],b=[];v.setAttribute("rel","stylesheet"),e.requires=t}(n||(n={}))},286:function(e,t){var n,n=(window.jsCommon,window.powerbi);window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){function t(){return new n}e.createJQueryPromiseFactory=t;var n=function(){function e(){}return e.prototype.defer=function(){return new r($.Deferred())},e.prototype.reject=function(e){var t=this.defer();return t.reject(e),t.promise},e.prototype.resolve=function(e){var t=this.defer();return t.resolve(e),t.promise},e.prototype.all=function(e){var t=jQuery.map(e,function(e){return e&&e.promise?e.promise:e});return new o($.when.apply($,t))},e.prototype.allSettled=function(e){var t=this.defer(),n=e.length;if(n>0)for(var r=0,o=[],i=function(i){e[i].then(function(e){o[i]={value:e,type:0}})["catch"](function(e){o[i]={value:e,type:1}})["finally"](function(){r++,r===n&&t.resolve(o)})},a=0;n>a;a++)i(a);else t.resolve([]);return t.promise},e.prototype.when=function(e){var t=e&&e.promise?e.promise:e;return new o($.when(t))},e}(),r=function(){function e(e){this.deferred=e,this.promise=new o(e.promise())}return e.prototype.resolve=function(e){this.deferred.resolve(e)},e.prototype.reject=function(e){this.deferred.reject(e)},e}(),o=function(){function e(e){this.promise=e}return e.prototype.then=function(t,n){return new e(this.promise.then(e.wrapCallback(t),e.wrapCallback(n)))},e.prototype["catch"]=function(e){return this.then(null,e)},e.prototype["finally"]=function(t){return this.promise.always(e.wrapCallback(t)),this},e.wrapCallback=function(t){return t?function(n){var r=t(n);return r instanceof e?r.promise:r}:t},e}()}(n||(n={}))},287:function(e,t){var n,n=(window.jsCommon,window.powerbi);window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){var t=function(){function e(){}return e.prototype.getData=function(e){try{if(localStorage){var t=localStorage[e];if(t)return JSON.parse(t)}}catch(n){}return null},e.prototype.setData=function(e,t){try{localStorage&&(localStorage[e]=JSON.stringify(t))}catch(n){}},e}(),n=function(){function e(t){this.cache={},this.clearCacheInterval=null!=t?t:e.defaultClearCacheInterval,this.clearCache()}return e.prototype.getData=function(e){return this.cache[e]},e.prototype.setData=function(e,t){var n=this;this.cache[e]=t,null==this.clearCacheTimerId&&(this.clearCacheTimerId=setTimeout(function(){return n.clearCache()},this.clearCacheInterval))},e.prototype.clearCache=function(){this.cache={},this.clearCacheTimerId=void 0},e.defaultClearCacheInterval=864e5,e}();e.EphemeralStorageService=n,e.localStorageService=new t,e.ephemeralStorageService=new n}(n||(n={}))},288:function(e,t){var n,n=window.jsCommon;window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){var t;!function(e){function t(e,t,n){if(n){for(var o=e-1;o>-1;o--)if(r(t[o]))return o+1}else for(var o=e,i=t.length;i>o;o++)if(r(t[o]))return o;return n?0:t.length}function n(e,n){var r={start:0,end:0};return 0===n.length?r:(r.start=t(e,n,!0),r.end=t(e,n,!1),r)}function r(e){return d.lastIndex=0,d.test(e)}function o(e){var t=1;for(d.lastIndex=0,d.exec(e);0!==d.lastIndex;)t++,d.exec(e);return t}function i(e,t,n){for(var r=a(e),o=0,i=0,s=r;i<s.length;i++){var u=s[i];n.text=u,o=Math.max(o,t(n))}return o}function a(e){return e.split(d)}function s(e,t,n){return t.text=e,n(t)}function u(e,t,n,r){return t.text=e,n(t,r)}function g(e,t,n,r,o,i){i=i?i:function(e,t){return e.text};for(var g=[],d=a(e),l=0,f=[],w=0,p=d;w<p.length;w++){var h=p[w];if(o>0&&g.length>=o-1)f.push(h);else{var m=0===f.length?s(h,t,n):s(c+h,t,n);if(l+m>r){if(0===f.length){g.push(u(h,t,i,r)),l=0,f=[];continue}g.push(u(f.join(c),t,i,r)),l=0,f=[]}f.push(h),l+=m}}return _.isEmpty(f)||g.push(u(f.join(c),t,i,r)),g}var c=" ",d=/[\s\n]+/g;e.find=n,e.hasBreakers=r,e.wordCount=o,e.getMaxWordWidth=i,e.splitByWidth=g}(t=e.WordBreaker||(e.WordBreaker={}))}(n||(n={}))},289:function(e,t){var n,r=window.jsCommon,n=window.powerbi;window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){var t;!function(t){function n(){y||(y=$("<span/>"),$("body").append(y),S=d3.select($("body").get(0)).append("svg").style({height:"0px",width:"0px",position:"absolute"}).append("text"),C=$("<canvas/>").get(0).getContext("2d"),b=window.getComputedStyle(S.node()).fontFamily)}function o(){y&&y.remove&&y.remove(),y=null}function i(e,t){return n(),C.font=(e.fontStyle||"")+" "+(e.fontVariant||"")+" "+(e.fontWeight||"")+" "+e.fontSize+" "+(e.fontFamily||b),C.measureText(t||e.text).width}function a(e,t){return n(),S.style(null),S.text(t||e.text).attr({visibility:"hidden","font-family":e.fontFamily||b,"font-variant":e.fontVariant,"font-size":e.fontSize,"font-weight":e.fontWeight,"font-style":e.fontStyle,"white-space":e.whiteSpace||"nowrap"}),S.node().getBBox()}function s(e,t){return a(e,t).height}function u(n){var r=n.fontFamily+n.fontSize,o=e.ephemeralStorageService.getData(r);if(null==o){var i={fontFamily:n.fontFamily,fontSize:n.fontSize,text:"M"};o=t.measureSvgTextRect(i),o.height>0&&e.ephemeralStorageService.setData(r,o)}return o}function g(e){var t=u(e);return t.y+t.height}function c(e,t){void 0===t&&(t=!1);var n=u(e).height;return t&&(n*=.7),n}function d(e){return i(f(e))}function l(e){return{text:e.val()||e.text(),fontFamily:e.css("font-family"),fontSize:e.css("font-size"),fontWeight:e.css("font-weight"),fontStyle:e.css("font-style"),fontVariant:e.css("font-variant"),whiteSpace:e.css("white-space")}}function f(e){var t=window.getComputedStyle(e,null);return{text:e.textContent,fontFamily:t.fontFamily,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontVariant:t.fontVariant,whiteSpace:t.whiteSpace}}function w(e){return getComputedStyle(e[0]).width}function p(t,r){n();var o=t.text.length;if(0===o)return t.text;var a=i(t);if(r>a)return t.text;for(var s=e.Prototype.inherit(t),u=s.text=E+s.text,g=1,c=u.length,d=E.length;c>=g;)if(d=(g+c)/2|0,s.text=u.substr(0,d),a=i(s),r>a)g=d+1;else{if(!(a>r))break;c=d-1}return s.text=u.substr(0,d),a=i(s),a>r&&d--,u.substr(E.length,d-E.length)+E}function h(e,t){var n=f(e),r=n.text,o=p(n,t);r!==o&&(e.textContent=o)}function m(e,t,n,o){void 0===o&&(o=0);var a=f(e),s=c(a)+o,u=Math.max(1,Math.floor(n/s)),g=d3.select(e),d=g.attr("y"),l=e.textContent;e.textContent=null;for(var w=r.WordBreaker.splitByWidth(l,a,i,t,u),h=0,m=w.length;m>h;h++)a.text=w[h],g.append("tspan").attr({x:0,dy:0===h?d:s}).text(p(a,t))}function v(e,t,n,o){void 0===o&&(o=0);var a=f(e),s=c(a)+o,u=Math.max(1,Math.floor(n/s)),g=e.textContent;e.textContent=null;var d=r.WordBreaker.splitByWidth(g,a,i,t,u),l=d3.select(e).selectAll(_.selector).data(d,function(e){return $.inArray(e,d)});l.enter().append("span").classed(_["class"],!0).text(function(e){return e}).style("width",r.PixelConverter.toString(t))}var y,S,C,b,E="…",_=r.CssConstants.createClassAndSelector("overflowingText");t.removeSpanElement=o,t.measureSvgTextWidth=i,t.measureSvgTextRect=a,t.measureSvgTextHeight=s,t.estimateSvgTextBaselineDelta=g,t.estimateSvgTextHeight=c,t.measureSvgTextElementWidth=d,t.getMeasurementProperties=l,t.getSvgMeasurementProperties=f,t.getDivElementWidth=w,t.getTailoredTextOrDefault=p,t.svgEllipsis=h,t.wordBreak=m,t.wordBreakOverflowingText=v}(t=e.TextMeasurementService||(e.TextMeasurementService={}))}(n||(n={}))},290:function(e,t){var n,n=window.jsCommon;window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){var t,n=e.DOMConstants;!function(e){function t(e){return e===n.downArrowKeyCode||e===n.upArrowKeyCode||e===n.leftArrowKeyCode||e===n.rightArrowKeyCode}function r(e){return e===n.aKeyCode||e===n.cKeyCode||e===n.xKeyCode||e===n.vKeyCode}function o(e){return e===n.shiftKeyCode}e.isArrowKey=t,e.isCtrlDefaultKey=r,e.isNudgeModifierKey=o}(t=e.KeyUtils||(e.KeyUtils={}))}(n||(n={}))},291:function(e,t){var n,n=window.jsCommon;window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){var t=function(){function t(t){this.timerFactory=e.TimerPromiseFactory.instance,this.delay=0,t&&(this.delay=t)}return t.prototype.run=function(e){var t=this;this.fn?this.fn=e:(this.fn=e,this.timerFactory.create(this.delay).done(function(){return t.timerComplete(t.fn)}))},t.prototype.timerComplete=function(e){e(),this.fn=null},t}();e.ThrottleUtility=t}(n||(n={}))},292:function(e,t){var n,n=window.jsCommon;window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){var t=function(){function e(){}return e.prototype.create=function(e){var t=$.Deferred();return window.setTimeout(function(){return t.resolve()},e),t},e.instance=new e,e}();e.TimerPromiseFactory=t}(n||(n={}))},293:function(e,t){var n,n=window.jsCommon;window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){!function(e){e[e.OK=200]="OK",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.Forbidden=403]="Forbidden",e[e.RequestEntityTooLarge=413]="RequestEntityTooLarge"}(e.HttpStatusCode||(e.HttpStatusCode={}));var t;e.HttpStatusCode;!function(e){e.ApplicationOctetStream="application/octet-stream",e.MultiPartFormData="multipart/form-data"}(t=e.HttpConstants||(e.HttpConstants={}));var n;!function(e){function t(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var n=e[0];if(c(n))return n;for(var r=0;r<e.length-1;r++){var o=new RegExp("\\{"+r+"\\}","gm");n=n.replace(o,e[r+1])}return n}function n(t,n){return e.normalizeCase(t)===e.normalizeCase(n)}function o(t,n){var r=e.normalizeCase(n);return 0===e.normalizeCase(t).indexOf(r)}function i(e,t){return 0===e.indexOf(t)}function a(e,t){return null==e?!1:-1!==e.indexOf(t)}function s(e,t){return null==e?!1:a(u(e),u(t))}function u(t){return r.throwIfNullOrUndefined(t,e,"normalizeCase","value"),t.toUpperCase()}function g(e){return null==e||0===e.length}function c(t){return e.isNullOrEmpty(t)||e.isNullOrEmpty(t.trim())}function d(e){r.throwIfNullOrUndefined(e,this,"containsWhitespace","str");var t=/\s/;return t.test(e)}function l(e){return r.throwIfNullOrUndefined(e,this,"isWhitespace","str"),""===e.trim()}function f(e){return r.throwIfNullOrUndefined(e,this,"trimTrailingWhitespace","str"),e.replace(/\s+$/,"")}function w(e){return r.throwIfNullOrUndefined(e,this,"trimWhitespace","str"),e.replace(/^\s+/,"").replace(/\s+$/,"")}function p(e,t){return r.throwIfNullOrUndefined(e,this,"getLengthDifference","left"),r.throwIfNullOrUndefined(t,this,"getLengthDifference","right"),Math.abs(e.length-t.length)}function h(e,t){for(var n="",r=0;t>r;r++)n+=e;return n}function m(e,t,n){if(!t)return e;var r=C(t);return e.replace(new RegExp(r,"gi"),n)}function v(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];t[o]=!1}for(var i=[],a=0,s=e;a<s.length;a++){var u=s[a],g=u;if(t[g])for(var c=0;void 0!==t[g];)g=u+"."+ ++c;i.push(g),t[g]=!0}return i}function y(e,t){for(var n=0,r=t;e[r];)r=t+ ++n;return r}function S(t,n,r){if(!t||0===t.length)return"";null!==r&&void 0!==r||(r=Number.MAX_VALUE);for(var o=Math.min(r,t.length),i=[],a=0;2>a;a++)for(var s="{"+a+"}",u="_|_<"+a+">_|_",g=0;o>g;g++)t[g].indexOf(s)>-1&&(t[g]=t[g].replace(s,u),i.push({targetValue:s,replaceValue:u}));for(var c="",g=0;o>g;g++)c=0===g?t[g]:e.format(n.get("FilterRestatement_Comma"),c,t[g]);for(var g=0;g<i.length;g++)c=c.replace(i[g].replaceValue,i[g].targetValue);return c}function C(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1")}function b(e){return e.replace(/[\<\>\:"\/\\\|\?*]/g,"")}function E(e){return JSON.stringify(e)}function _(e,t){var n=e.replace(/^[^A-Za-z]*/g,"").replace(/[ :\.\/\\\-\u00a0\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000]/g,"_").replace(/[\W]/g,"");return n.length>0?n:t}function T(e){return e.replace(x,"")}var x=new RegExp("[<>]","g");e.format=t,e.equalIgnoreCase=n,e.startsWithIgnoreCase=o,e.startsWith=i,e.contains=a,e.containsIgnoreCase=s,e.normalizeCase=u,e.isNullOrEmpty=g,e.isNullOrUndefinedOrWhiteSpaceString=c,e.containsWhitespace=d,e.isWhitespace=l,e.trimTrailingWhitespace=f,e.trimWhitespace=w,e.getLengthDifference=p,e.repeat=h,e.replaceAll=m,e.ensureUniqueNames=v,e.findUniqueName=y,e.constructCommaSeparatedList=S,e.escapeStringForRegex=C,e.normalizeFileName=b,e.stringifyAsPrettyJSON=E,e.deriveClsCompliantName=_,e.stripTagDelimiters=T}(n=e.StringExtensions||(e.StringExtensions={}));var r=function(){function r(){}return r.throwIfNullOrUndefined=function(t,n,o,i){null===t?r.throwException(e.Errors.argumentNull(r.getComponentName(n)+o+"."+i)):typeof t===r.Undefined&&r.throwException(e.Errors.argumentUndefined(r.getComponentName(n)+o+"."+i))},r.throwIfNullOrEmpty=function(t,n,o,i){r.throwIfNullOrUndefined(t,n,o,i),t.length||r.throwException(e.Errors.argumentOutOfRange(r.getComponentName(n)+o+"."+i))},r.throwIfNullOrEmptyString=function(t,n,o,i){r.throwIfNullOrUndefined(t,n,o,i),t.length<1&&r.throwException(e.Errors.argumentOutOfRange(r.getComponentName(n)+o+"."+i))},r.throwIfNullEmptyOrWhitespaceString=function(t,o,i,a){r.throwIfNullOrUndefined(t,o,i,a),n.isNullOrUndefinedOrWhiteSpaceString(t)&&r.throwException(e.Errors.argumentOutOfRange(r.getComponentName(o)+i+"."+a))},r.throwIfNotTrue=function(t,n,o,i){t||r.throwException(e.Errors.argument(i,r.getComponentName(n)+o+"."+i))},r.isString=function(e){return"string"==typeof e},r.isBoolean=function(e){return"boolean"==typeof e},r.isNumber=function(e){return"number"==typeof e},r.isDate=function(e){return r.isObject(e)&&e instanceof Date},r.isObject=function(e){return null!=e&&"object"==typeof e},r.isNullOrUndefined=function(e){return null===e||typeof e===r.Undefined},r.valueOrDefault=function(e,t){return null!=e?e:t},r.urlCombine=function(e,t){if(r.throwIfNullOrUndefined(e,null,"urlCombine","baseUrl"),r.throwIfNullOrUndefined(t,null,"urlCombine","path"),n.isNullOrUndefinedOrWhiteSpaceString(t))return e;if(n.isNullOrUndefinedOrWhiteSpaceString(e))return t;var o=e;return"/"===o.charAt(o.length-1)?"/"===t.charAt(0)&&(t=t.slice(1)):"/"!==t.charAt(0)&&(t="/"+t),o+t},r.getAbsoluteUri=function(e){r.throwIfNullOrUndefined(e,null,"getAbsoluteUri","path");var t=e;return t&&-1===t.indexOf("http")&&(t=r.urlCombine(clusterUri,t)),t},r.getStaticResourceUri=function(t){r.throwIfNullOrUndefined(t,null,"getStaticResourceUri","path");var n=t;return n&&-1===n.indexOf("http")&&(n=e.Utility.urlCombine(r.staticContentLocation,n)),n},r.getComponentName=function(e){return e?(typeof e).toString()+".":""},r.throwException=function(t){throw e.Trace.error(n.format("Throwing exception: {0}",JSON.stringify(t)),null==t.stack),t},r.createClassSelector=function(e){return r.throwIfNullOrEmptyString(e,null,"CreateClassSelector","className"),"."+e},r.createIdSelector=function(e){return r.throwIfNullOrEmptyString(e,null,"CreateIdSelector","id"),"#"+e},r.generateGuid=function(){var e="",t=0;for(t=0;32>t;t+=1){var n=16*Math.random()|0;switch(t){case 8:case 12:case 16:case 20:e+="-"}e+=n.toString(16)}return e},r.getCookieValue=function(e){for(var t=document.cookie.split(";"),n=0;n<t.length;n++){var r=t[n],o=r.split("=");if(o.length>0&&o[0].trim()===e)return r.substr(r.indexOf("=")+1)}return null},r.getDomainForUrl=function(e){var t=r.getHrefObjectFromUrl(e);return t.prop("protocol")+"//"+t.prop("hostname")},r.getHostNameForUrl=function(e){var t=r.getHrefObjectFromUrl(e);return r.urlCombine(t.prop("hostname"),t.prop("pathname"))},r.getUrlWithoutQueryString=function(e){var t=r.getHrefObjectFromUrl(e);return t.prop("protocol")+"//"+r.urlCombine(t.prop("host"),t.prop("pathname"))},r.getProtocolFromUrl=function(e){return r.getHrefObjectFromUrl(e).prop("protocol").replace(":","")},r.getHrefObjectFromUrl=function(e){var t=$("<a>");return t=t.prop("href",e)},r.convertWcfToJsDictionary=function(e){for(var t={},n=0;n<e.length;n++){var r=e[n];t[r.Key]=r.Value}return t},r.getDateFromWcfJsonString=function(e,t){if(n.isNullOrEmpty(e))return null;var r=e.indexOf("("),o=e.indexOf(")");if(-1!==r&&-1!==o){var i=parseInt(e.substring(r+1,o),10);if(t)return new Date(i);var a=new Date(0);return a.setUTCMilliseconds(i),a}return null},r.getOuterHtml=function(e){return $("<div>").append(e).html()},r.compareInt=function(e,t){return e-t},r.getIndexOfMinValue=function(e){for(var t=0,n=e[0],r=0;r<e.length;r++)e[r]<n&&(n=e[r],t=r);return t},r.extractUrlFromCssBackgroundImage=function(e){return e.replace(/"/g,"").replace(/url\(|\)$/gi,"")},r.isValidImageDataUrl=function(e){var t=new RegExp("data:(image/(png|jpg|jpeg|gif|svg))");return t.test(e)},r.isLocalUrl=function(e){return _.startsWith(e,"data:")||_.startsWith(e,"blob:")},r.saveAsFile=function(e,n){var r=new Blob([e],{type:t.ApplicationOctetStream}),o=window.webkitURL||URL,i=o.createObjectURL(r),a=n||i;if(window.navigator.msSaveOrOpenBlob)return void window.navigator.msSaveOrOpenBlob(r,a);var s=document.createElement("a");s.href=i,s.target="_blank",s.download=a,document.body.appendChild(s),s.click(),document.body.removeChild(s)},r.getType=function(t){r.throwIfNullEmptyOrWhitespaceString(t.__type,this,"getType","obj");var n=t.__type.split(":");return 2!==n.length&&e.Errors.argument("obj.__type","Type String not in expected format [Type]#[Namespace]: "+t.__type),n[1]!==r.TypeNamespace&&e.Errors.argument("obj.__type","Type Namespace not expected: "+n[1]),n[0]},r.isEventSupported=function(e,t){e="on"+e;var n=e in t;return n||(t.setAttribute||(t=document.createElement("div")),t.setAttribute&&t.removeAttribute&&(t.setAttribute(e,""),n="function"==typeof t[e],"undefined"!=typeof t[e]&&(t[e]=null),t.removeAttribute(e))),t=null,n},r.toPixel=function(t){return r.throwIfNullOrUndefined(t,this,"toPixel","pixelAmount"),t.toString()+e.CssConstants.pixelUnits},r.getPropertyCount=function(e){return r.throwIfNullOrUndefined(e,this,"getPropertyCount","object"),Object.getOwnPropertyNames(e).length},r.getFileExtension=function(e){if(e){var t=e.lastIndexOf(".");if(t>=0)return e.substr(t+1)}return""},r.extractFileNameFromPath=function(e){return e.replace(/^.*[\\\/]/,"")},r.canUseClipboard=function(){return"undefined"==typeof MSApp},r.is64BitOperatingSystem=function(){return-1!==navigator.userAgent.indexOf("WOW64")||-1!==navigator.userAgent.indexOf("Win64")},r.parseNumber=function(e,t){if(null===e)return null;if(void 0===e)return t;var n=Number(e);return isFinite(n)?n:isNaN(n)&&"number"!=typeof e&&"NaN"!==e?t:n},r.getURLParamValue=function(e){var t=new RegExp("[?&]"+e+"=([^&#]*)").exec(window.location.href);return null==t?null:t[1]||0},r.getLocalTimeZoneString=function(){var e,t=new Date(Date.UTC(2005,6,30,0,0,0,0)),n=-1*t.getTimezoneOffset(),r=new Date(Date.UTC(2005,12,30,0,0,0,0)),o=-1*r.getTimezoneOffset();return e=-720===n&&-720===o?"Dateline Standard Time":-660===n&&-660===o?"UTC-11":-660===n&&-660===o?"Samoa Standard Time":-600===n&&-600===o?"Hawaiian Standard Time":-480===n&&-540===o?"Alaskan Standard Time":-420===n&&-480===o?"Pacific Standard Time":-420===n&&-420===o?"US Mountain Standard Time":-360===n&&-420===o?"Mountain Standard Time":-360===n&&-360===o?"Central America Standard Time":-300===n&&-360===o?"Central Standard Time":-300===n&&-300===o?"SA Pacific Standard Time":-240===n&&-300===o?"Eastern Standard Time":-270===n&&-270===o?"Venezuela Standard Time":-240===n&&-240===o?"SA Western Standard Time":-240===n&&-180===o?"Central Brazilian Standard Time":-180===n&&-240===o?"Atlantic Standard Time":-180===n&&-180===o?"Montevideo Standard Time":-180===n&&-120===o?"E. South America Standard Time":-150===n&&-210===o?"Mid-Atlantic Standard Time":-120===n&&-120===o?"SA Eastern Standard Time":0===n&&0===o?"UTC":60===n&&0===o?"GMT Standard Time":60===n&&120===o?"Namibia Standard Time":120===n&&60===o?"Romance Standard Time":120===n&&120===o?"South Africa Standard Time":180===n&&120===o?"GTB Standard Time":180===n&&180===o?"E. Africa Standard Time":240===n&&180===o?"Russian Standard Time":240===n&&240===o?"Arabian Standard Time":270===n&&210===o?"Iran Standard Time":270===n&&270===o?"Afghanistan Standard Time":300===n&&240===o?"Pakistan Standard Time":300===n&&300===o?"West Asia Standard Time":330===n&&330===o?"India Standard Time":345===n&&345===o?"Nepal Standard Time":360===n&&300===o?"N. Central Asia Standard Time":360===n&&360===o?"Central Asia Standard Time":390===n&&390===o?"Myanmar Standard Time":420===n&&360===o?"North Asia Standard Time":420===n&&420===o?"SE Asia Standard Time":480===n&&420===o?"North Asia East Standard Time":480===n&&480===o?"China Standard Time":540===n&&480===o?"Yakutsk Standard Time":540===n&&540===o?"Tokyo Standard Time":570===n&&570===o?"Cen. Australia Standard Time":600===n&&600===o?"E. Australia Standard Time":600===n&&660===o?"AUS Eastern Standard Time":660===n&&600===o?"Tasmania Standard Time":660===n&&660===o?"West Pacific Standard Time":690===n&&690===o?"Central Pacific Standard Time":720===n&&660===o?"Magadan Standard Time":720===n&&720===o?"Fiji Standard Time":720===n&&780===o?"New Zealand Standard Time":780===n&&780===o?"Tonga Standard Time":"UTC";
3},r.TypeNamespace="http://schemas.microsoft.com/sqlbi/2013/01/NLRuntimeService",r.JsonContentType="application/json",r.JpegContentType="image/jpeg",r.XJavascriptContentType="application/x-javascript",r.JsonDataType="json",r.BlobDataType="blob",r.HttpGetMethod="GET",r.HttpPostMethod="POST",r.HttpPutMethod="PUT",r.HttpDeleteMethod="DELETE",r.HttpContentTypeHeader="Content-Type",r.HttpAcceptHeader="Accept",r.Undefined="undefined",r.staticContentLocation=window.location.protocol+"//"+window.location.host,r}();e.Utility=r;var o=function(){function e(){}return e.compareVersions=function(e,t){for(var n=e.split(".").map(parseFloat),r=t.split(".").map(parseFloat),o=Math.max(n.length,r.length),i=0;o>i;i++){var a=n[i]||0,s=r[i]||0;if(a>s)return 1;if(s>a)return-1}return 0},e}();e.VersionUtility=o;var i;!function(e){function t(e){return new n(e)}var n=function(){function e(t){this._name=t,this._start=e.begin(t)}return e.begin=function(e){return void 0!==window.performance&&void 0!==performance.mark?(console.time,e="Begin "+e,performance.mark(e),e):void 0},e.prototype.end=function(){if(void 0!==window.performance&&void 0!==performance.mark&&void 0!==performance.measure){var e=this._name,t="End "+e;performance.mark(t),performance.measure(e,this._start,t),console.timeEnd}},e}();e.PerfMarker=n,e.create=t}(i=e.PerformanceUtil||(e.PerformanceUtil={}));var a;!function(e){function t(e){var t,n,r;return window.requestAnimationFrame||(window.requestAnimationFrame=function(e){return setTimeout(e,20)}),function(){t||(t=!0,n=arguments,r=this,window.requestAnimationFrame(function(){t=!1,e.apply(r,n)}))}}e.deferUntilNextFrame=t}(a=e.DeferUtility||(e.DeferUtility={}))}(n||(n={}))},294:function(e,t){var n,n=window.jsCommon;window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){var t=function(){function t(e,t,n,r){this.text=e,this.type=t,this.sessionId=n,this.requestId=r,this.timeStamp=new Date}return t.prototype.toString=function(){var n="";return n+=e.StringExtensions.format("{0} ({1}): {2}",t.traceTypeStrings[this.type],this.timeStamp.toUTCString(),this.text),this.requestId&&(n+="\n(Request id: "+this.requestId+")"),n},t.traceTypeStrings=["INFORMATION","VERBOSE","WARNING","ERROR","EXPECTEDERROR","UNEXPECTEDERROR","FATAL"],t}();e.TraceItem=t}(n||(n={}))},295:function(e,t){var n,n=window.jsCommon;window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){var t;!function(t){function n(t){if(e.StringExtensions.isNullOrEmpty(t))return!1;var n=e.RegExpExtensions.run(a,t);return!(!n||0!==n.index)}function r(e){return n(e)}function o(t){if(e.StringExtensions.isNullOrEmpty(t))return[];for(var n,r=[],o=0;null!==(n=e.RegExpExtensions.run(a,t,o));){var i=n[0],s=n.index+i.length;r.push({start:n.index,end:s,text:i}),o=s}return r}function i(e){if(0!==e.indexOf("data:"))throw new Error("Expected data uri");var t=";base64,",n=e.indexOf(t);if(0>n)throw new Error("Expected base 64 content in data url");var r=n+t.length;return e.substr(r,e.length-r)}var a=/http[s]?:\/\/(\S)+/gi;t.isValidUrl=n,t.isValidImageUrl=r,t.findAllValidUrls=o,t.getBase64ContentFromDataUri=i}(t=e.UrlUtils||(e.UrlUtils={}))}(n||(n={}))},296:function(e,t){var n,n=window.jsCommon;window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){var t;!function(e){function t(){var e=window.navigator.vendor||"",t=window.navigator.userAgent.toLowerCase();return e.toLowerCase().indexOf("google")>-1&&t.indexOf("chrome")>-1&&-1===t.indexOf("edge")&&-1===t.indexOf("opr")}function n(){var e=window.navigator.userAgent.toLowerCase();return e.indexOf("msie")>-1||e.indexOf("trident")>-1||e.indexOf("edge")>-1}function r(){var e=0;if("Microsoft Internet Explorer"===navigator.appName||window.navigator.userAgent.indexOf("MSIE")>=0){var t=new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})"),n=t.exec(window.navigator.userAgent);n&&(e=parseFloat(n[1]))}return e}function o(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1}e.isChrome=t,e.isInternetExplorerOrEdge=n,e.getInternetExplorerVersion=r,e.isFirefox=o}(t=e.BrowserUtils||(e.BrowserUtils={}))}(n||(n={}))},297:function(e,t){var n,n=window.jsCommon;window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){var t;!function(e){function t(e,t){return(e&t)===t}function n(e,t){return e|=t}function r(e,t){return e&=~t}function o(e,t){return e[t]}e.hasFlag=t,e.setFlag=n,e.resetFlag=r,e.toString=o}(t=e.EnumExtensions||(e.EnumExtensions={}));var n;!function(e){function t(e,t){return-1!==e.indexOf(t,e.length-t.length)}e.endsWith=t}(n=e.StringExtensions||(e.StringExtensions={}));var r;!function(e){function t(e,t){return(e||t)&&!(e&&t)}e.XOR=t}(r=e.LogicExtensions||(e.LogicExtensions={}));var o;!function(e){function t(e,t){return e===t?!0:JSON.stringify(e)===JSON.stringify(t)}e.equals=t}(o=e.JsonComparer||(e.JsonComparer={}));var i;!function(e){function t(t){return(t-e.TextSizeMin)/n}e.TextSizeMin=8,e.TextSizeMax=40;var n=e.TextSizeMax-e.TextSizeMin;e.getScale=t}(i=e.TextSizeDefaults||(e.TextSizeDefaults={}));var a;!function(e){function t(e){return e+a}function n(e){return t(r(e))}function r(e){return i*e}function o(e){return e/i}var i=4/3,a="px";e.toString=t,e.fromPoint=n,e.fromPointToPixel=r,e.toPoint=o}(a=e.PixelConverter||(e.PixelConverter={}));var s;!function(e){function t(e,t,n){return e.lastIndex=n||0,e.exec(t)}e.run=t}(s=e.RegExpExtensions||(e.RegExpExtensions={}))}(n||(n={}))},298:function(e,t){var n,n=(window.jsCommon,window.powerbi);window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){var t;!function(e){var t;!function(e){var t;!function(e){function t(e){var t=e.get(0).style,n=t.transform||t.webkitTransform;if(n){var r=n.match(/rotate\((-?\d+(?:\.\d*)?)deg\)/);if(r)return parseFloat(r[1])}return 0}function n(e){var t=e.get(0).style,n=t.transform||t.webkitTransform,r={x:0,y:0};if(n&&n.length>0){var o=n.match(/translate\((-?\d+(?:\.\d*)?)px, (-?\d+(?:\.\d*)?)px\)/);o&&(r.x=parseFloat(o[1]),r.y=parseFloat(o[2]))}return r}function r(e){return e?{left:parseFloat(e.css("padding-left"))||0,right:parseFloat(e.css("padding-right"))||0,top:parseFloat(e.css("padding-top"))||0,bottom:parseFloat(e.css("padding-bottom"))||0}:void 0}e.getRotateAngleFromElement=t,e.getTranslateTransformFromElement=n,e.getPadding=r}(t=e.StyleUtils||(e.StyleUtils={}))}(t=e.utility||(e.utility={}))}(t=e.visuals||(e.visuals={}))}(n||(n={}))},299:function(e,t,n){var r,r=window.jsCommon;window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){var t=function(){function t(){}return t.prototype.logTrace=function(t){switch(t.type){case e.TraceType.Information:break;case e.TraceType.UnexpectedError:case e.TraceType.Error:case e.TraceType.Fatal:break;case e.TraceType.ExpectedError:case e.TraceType.Warning:break;case e.TraceType.Verbose:}},t}();e.ConsoleTracer=t;var n;!function(n){function r(t,n){f(new e.TraceItem(t,e.TraceType.Warning,n))}function o(t,n,r){n&&(t=e.StringExtensions.format("{0}.\nStack:\n{1}",t,e.getStackTrace())),f(new e.TraceItem(t,e.TraceType.Error,r))}function i(t,n){f(new e.TraceItem(t,e.TraceType.Verbose,n))}function a(e){v.push(e)}function s(e){var t=v.indexOf(e);t>=0&&v.splice(t,1)}function u(){v=new Array(m)}function g(){h=-1}function c(){if(!(0>h)){for(var e=new Array(h+1),t=0;h>=t;t++)e[t]=p[t];return e}}function d(){s(m)}function l(){a(m)}function f(e){h+1>=w&&g(),p[++h]=e;for(var t=0,n=v.length;n>t;t++)v[t].logTrace(e)}var w=1e3,p=new Array(w),h=-1,m=new t,v=new Array(m);n.warning=r,n.error=o,n.verbose=i,n.addListener=a,n.removeListener=s,n.resetListeners=u,n.reset=g,n.getTraces=c,n.disableDefaultListener=d,n.enableDefaultListener=l}(n=e.Trace||(e.Trace={}))}(r||(r={}))},300:function(e,t){var n,n=window.jsCommon;window.powerbi,window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){!function(e){e[e.Information=0]="Information",e[e.Verbose=1]="Verbose",e[e.Warning=2]="Warning",e[e.Error=3]="Error",e[e.ExpectedError=4]="ExpectedError",e[e.UnexpectedError=5]="UnexpectedError",e[e.Fatal=6]="Fatal"}(e.TraceType||(e.TraceType={}));e.TraceType}(n||(n={}))},301:function(e,t){var n,n=window.jsCommon,r=window.powerbi;window.powerbitests,window.InJs,window.debug,window.jasmine,window.Microsoft;!function(e){function t(t){void 0===t&&(t=_.noop),e.requires(g,t)}function n(t,n){var o=r.Prototype.inherit(c);if(!_.isEmpty(t)){var i=t.split("-",2);o.javaScriptFilesWithCallback[0].javascriptFile=a.concat("&mkt="+t+"&ur="+(i.length>1?i[1]:t))}e.requires(o,n)}function o(){s=!0,u&&(u.resolve(),u=void 0)}function i(){var e;return s?(e=$.Deferred(),e.resolve()):e=u=$.Deferred(),e.promise()}var a="https://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0&s=1&onscriptload=globalMapControlLoaded",s=!1,u=null,g={javaScriptFiles:[r.build+"/externals/pv/webclient.js"],cssFiles:[r.build+"/externals/pv/Styles/_all.css"],javaScriptFilesWithCallback:[{javascriptFile:a,onLoadCallback:i}]};e.ensurePowerView=t;var c={javaScriptFilesWithCallback:[{javascriptFile:a,onLoadCallback:i}]};e.ensureMap=n,e.mapControlLoaded=o,e.waitForMapControlLoaded=i}(n||(n={})),globalMapControlLoaded=function(){n.mapControlLoaded()}},302:function(e,t){var n,n=(window.jsCommon,window.powerbi,window.powerbitests,window.InJs);window.debug,window.jasmine,window.Microsoft;!function(e){!function(e){e[e.information=0]="information",e[e.verbose=1]="verbose",e[e.warning=2]="warning",e[e.error=3]="error",e[e.expectedError=4]="expectedError",e[e.unexpectedError=5]="unexpectedError",e[e.fatal=6]="fatal"}(e.TraceType||(e.TraceType={}));e.TraceType}(n||(n={}))}});
\No newline at end of file