{"version":3,"sources":["inoMsEtfSummary.js","inoMsEtfSummary.tmpl.js","inoMsEtfDistributions.js","inoMsEtfDistributions.tmpl.js"],"names":["inovestor","ms","etf","summary","config","apiRelativeUrl","ko","viewModels","summaryViewModel","plugin","self","this","pdfReportUrl","options","pdfHandler","observable","resources","hasError","isInvalidIdentifier","hasValidData","computed","formattedLowHighWeeks","low","low52Weeks","high","high52Weeks","bindingHandlers","currency","format","formattedDayRange","formattedBidAsk","bid","ask","formattedVolume","volume","avgVolume","averageVolume30Days","number","updateResources","currentResource","core","currentLanguage","isNullOrUndefined","downloadPdf","libRef","jQuery","$","pluginName","Plugin","element","_name","_defaults","fn","inoMsEtfSummary","defaults","extend","_viewModel","symbol","init","prototype","fileName","fileCacheKey","instances","register","update","templatePaths","filePath","isEmptyString","templateRootUrl","match","getTemplate","then","template","html","buildCache","bindEvents","render","bindModel","search","always","$element","trigger","destroy","unbindEvents","removeData","on","onReady","call","off","apiErrorHandler","apiError","onError","result","generateError","errors","invalidIdentifierHandler","invalidIdentifier","etfSummaryUrl","stringFormat","ajaxApi","type","contentType","error","data","requestStatus","valueHasMutated","applyBindings","each","asOf","assetClass","bidAsk","totalAssetInfo","dataDelayedBy","dataRealTime","dayRange","dividend","earningsPerShareTTM","fiftyTwoWeek","previousClose","riskRating","category","managementFeesRatio","managementFees","aum","ranking","inceptionDate","open","totalAssests","currentYield","unitsOutstanding","distributionYield","distributionYieldInfo","riskRatings","lowToMedium","medium","mediumToHigh","null","window","distributions","distributionsViewModel","dateTimeReviver","key","value","exec","Date","overview","observableArray","pageLimit","currentPageIndex","currentPageItems","pureComputed","startIndex","slice","currentPageInfo","start","end","length","total","pagination","paginationInfo","setData","numPages","$pagination","stringifiedData","JSON","stringify","model","parse","dataLength","twbsPagination","totalPages","visiblePages","initiateStartPageClick","startPage","first","firstPage","prev","previousPage","next","nextPage","last","lastPage","onPageClick","event","page","reset","getFrequencyName","frequency","frequencies","monthly","quarterly","triAnnual","semiAnnual","annual","inoMsEtfDistributions","url","_renderChart","chartConfig","chartData","map","distribution","payDate","getTime","amount","sort","a","b","series","name","highcharts","chart","height","xAxis","legend","enabled","plotOptions","dataLabels","tooltip","xDateFormat","pointFormatter","color","y","distributionHistory","distributionTtm","exDate","payoutRatios","payoutRatiosOnEarningsTtm","payoutRatiosOnCashFlowTtm","period","noDataFound"],"mappings":"AAAA,CAAA,SAAAA,GAKAA,EAAAC,GAAAC,IAAAF,EAAAC,GAAAC,KAAA,EACA,EAAAF,SAAA,EAWAA,UAAAC,GAAAC,IANAC,QAAA,CACAC,OAAA,CACAC,eAAA,8BACA,CACA,EAKA,SAAAC,EAAAN,GACAA,EAAAC,GAAAC,IAAAC,QAAAI,WAAA,GAEAP,EAAAC,GAAAC,IAAAC,QAAAI,WAAAC,iBAAA,SAAAC,GACA,IAAAC,EAAAC,KAEAD,EAAAE,aAAAH,EAAAI,QAAAD,aACAF,EAAAI,WAAAL,EAAAI,QAAAC,WAEAJ,EAAAP,QAAAG,EAAAS,WAAA,EACAL,EAAAM,UAAAV,EAAAS,WAAA,EACAL,EAAAO,SAAAX,EAAAS,WAAA,CAAA,CAAA,EACAL,EAAAQ,oBAAAZ,EAAAS,WAAA,CAAA,CAAA,EACAL,EAAAS,aAAAb,EAAAc,SAAA,WACA,MAAA,CAAAV,EAAAO,SAAA,GAAA,CAAAP,EAAAQ,oBAAA,GAAA,MAAAR,EAAAP,QAAA,CACA,EAAAQ,IAAA,EAEAD,EAAAW,sBAAAf,EAAAc,SAAA,WACA,IAAAE,EAAAZ,EAAAP,QAAA,GAAAoB,WACAC,EAAAd,EAAAP,QAAA,GAAAsB,YAEA,OAAA,OAAAH,GAAA,OAAAE,EACA,IAEAlB,EAAAoB,gBAAAC,SAAAC,OAAAN,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA,EAAA,MAAAhB,EAAAoB,gBAAAC,SAAAC,OAAAJ,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CACA,C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A,EACAjC,WAAA,CACAC,eAAA,wDACAoB,SAAA,WACAF,aAAA,YACAF,UAAA,UACAM,SAAA,SACA,EACAoB,QAAA,kBACA2B,OAAA,YACAC,YAAA,uCACA,CACA,EAAArO,UAAAC,GAAAC,GAAA,EC7DAuI,OAAA,oBAAAA,OAAA,qBAAA,GACAA,OAAA,oBAAA,4CAAA","file":"../inoMsEtfDistributions.min.js","sourcesContent":["; (function (inovestor, undefined) {\n // Setup dependencies for this plugin\n // Normally we would add jQuery and knockout but ms-core, which we depend on, already register them so it's useless\n\n // Create plugin namespace with any desired config variable\n inovestor.ms.etf = inovestor.ms.etf || {};\n})(inovestor);\n\n\n; (function (etf, undefined) {\n // Create plugin namespace with any desired config variable\n etf.summary = {\n config: {\n apiRelativeUrl: 'etfs/summary?symbol={symbol}',\n }\n };\n\n})(inovestor.ms.etf);\n\n\n; (function ($, ko, inovestor, undefined) {\n inovestor.ms.etf.summary.viewModels = {};\n\n inovestor.ms.etf.summary.viewModels.summaryViewModel = function (plugin) {\n var self = this;\n\n self.pdfReportUrl = plugin.options.pdfReportUrl;\n self.pdfHandler = plugin.options.pdfHandler;\n\n self.summary = ko.observable();\n self.resources = ko.observable();\n self.hasError = ko.observable(false);\n self.isInvalidIdentifier = ko.observable(false);\n self.hasValidData = ko.computed(function () {\n return !self.hasError() && !self.isInvalidIdentifier() && self.summary() != null;\n }, this);\n\n self.formattedLowHighWeeks = ko.computed(function () {\n var low = self.summary()?.low52Weeks;\n var high = self.summary()?.high52Weeks;\n\n if (low === null && high === null) {\n return '-';\n }\n return ko.bindingHandlers.currency.format(low, true, true, false, 2) + \" - \" + ko.bindingHandlers.currency.format(high, true, true, false, 2)\n });\n\n self.formattedDayRange = ko.computed(function () {\n var low = self.summary()?.low\n var high = self.summary()?.high\n\n if (low === null && high === null) {\n return '-'\n }\n\n return ko.bindingHandlers.currency.format(low, true, true, false, 2) + \" - \" + ko.bindingHandlers.currency.format(high, true, true, false, 2)\n })\n self.formattedBidAsk = ko.computed(function () {\n var bid = self.summary()?.bid\n var ask = self.summary()?.ask\n\n if (bid === null && ask === null) {\n return '-'\n }\n\n return ko.bindingHandlers.currency.format(bid, true, true, false, 2) + \" - \" + ko.bindingHandlers.currency.format(ask, true, true, false, 2)\n })\n self.formattedVolume = ko.computed(function () {\n var volume = self.summary()?.volume\n var avgVolume = self.summary()?.averageVolume30Days\n\n if (volume === null && avgVolume === null) {\n return '-'\n }\n \n return ko.bindingHandlers.number.format(volume, true, 2, true, 1, true) + \" / \" + ko.bindingHandlers.number.format(avgVolume, true, 2, true, 1, true)\n })\n\n self.updateResources = function () {\n // Update main resources\n var currentResource = inovestor.ms.etf.summary.resources[inovestor.ms.core.currentLanguage];\n if (inovestor.ms.core.isNullOrUndefined(currentResource))\n currentResource = null;\n self.resources(currentResource);\n };\n\n self.downloadPdf = function () {\n\n };\n }\n\n})(inovestor.ms.libRef.jQuery, inovestor.ms.libRef.ko, inovestor);\n; (function ($, ko, inovestor, undefined) {\n\n var pluginName = 'inoMsEtfSummary';\n\n // Create the plugin constructor\n function Plugin(element, options) {\n\n this.element = element;\n this._name = pluginName;\n this._defaults = $.fn.inoMsEtfSummary.defaults;\n \n // Merge options with defaults\n this.options = $.extend({}, this._defaults, options);\n\n this._viewModel = new inovestor.ms.etf.summary.viewModels.summaryViewModel(this);\n\n // Make sure required variables are set\n if (inovestor.ms.core.isNullOrUndefined(this.options.symbol))\n throw \"symbol is required\";\n\n // Call init\n this.init();\n }\n\n $.extend(Plugin.prototype, {\n\n // Initialization logic\n init: function () {\n var plugin = this;\n\n // Setup what plugin needs to do on language change\n inovestor.ms.core.instances.register(this, function () {\n plugin.update();\n });\n\n // Plugin overrides for template = cacheKey and path are the same\n var fileCacheKey = plugin.options.templatePaths.summary;\n var filePath = plugin.options.templatePaths.summary;\n // Default behavior (if no template path is set by plugin)\n if (inovestor.ms.core.isEmptyString(fileCacheKey)) {\n var fileName = 'summary.html';\n fileCacheKey = pluginName + '.' + fileName;\n filePath = (inovestor.ms.core.isEmptyString(inovestor.ms.core.config.templateRootUrl) ? '' : inovestor.ms.core.config.templateRootUrl) +\n (inovestor.ms.core.isEmptyString(inovestor.ms.core.config.templateRootUrl) || inovestor.ms.core.config.templateRootUrl.match(/\\/$/) != null ? '' : '/') + // check if templateRootUrl ends in slash\n (this._name + '/' + fileName);\n }\n\n // Get main template file\n inovestor.ms.core.getTemplate(fileCacheKey, filePath).then(function (template) {\n $(plugin.element).html(template);\n plugin.buildCache();\n plugin.bindEvents();\n plugin.render();\n plugin.bindModel();\n }).then(function () {\n // Call Search\n plugin.search(plugin.options.symbol).always(function () {\n // When search is completed, trigger onReady event\n plugin.$element.trigger('ready' + '.' + plugin._name);\n });\n });\n },\n\n // Remove plugin instance completely\n destroy: function () {\n this.unbindEvents();\n this.$element.removeData();\n },\n\n // Cache DOM nodes for performance\n buildCache: function () {\n this.$element = $(this.element);\n },\n\n // Bind events that trigger methods\n bindEvents: function () {\n var plugin = this;\n plugin.$element.on('ready' + '.' + plugin._name, function () {\n var onReady = plugin.options.onReady;\n if (typeof onReady === 'function')\n onReady.call(plugin.$element);\n });\n },\n\n // Unbind events that trigger methods\n unbindEvents: function () {\n this.$element.off('.' + this._name);\n },\n\n // API error handler\n apiErrorHandler: function (apiError) {\n var plugin = this;\n var onError = plugin.options.onError;\n if (typeof onError === 'function') {\n var result = onError.call(inovestor.ms.core.generateError(inovestor.ms.core.errors.apiError, apiError, plugin));\n // If callback returns false, do not execute default behavior\n if (!inovestor.ms.core.isNullOrUndefined(result) && result === false)\n return;\n }\n\n plugin._viewModel.hasError(true);\n },\n\n // Invalid Identifier error handler\n invalidIdentifierHandler: function () {\n var plugin = this;\n var onError = plugin.options.onError;\n if (typeof onError === 'function') {\n var result = onError.call(inovestor.ms.core.generateError(inovestor.ms.core.errors.invalidIdentifier, null, plugin));\n // If callback returns false, do not execute default behavior\n if (!inovestor.ms.core.isNullOrUndefined(result) && result === false)\n return;\n }\n\n plugin._viewModel.isInvalidIdentifier(true);\n },\n\n // Search for a particular etf\n search: function (symbol) {\n var plugin = this;\n\n // Make sure required variables are set\n if (inovestor.ms.core.isNullOrUndefined(symbol))\n throw \"symbol is required\";\n\n // Update options\n plugin.options.symbol = symbol;\n\n // Setup API url with term\n var etfSummaryUrl = inovestor.ms.core.stringFormat(inovestor.ms.etf.summary.config.apiRelativeUrl, { symbol: symbol });\n //var etfSummaryUrl = inovestor.ms.core.stringFormat(inovestor.ms.etf.summary.config.apiRelativeUrl, {});\n\n // Reset relevant Data before calling API\n plugin._viewModel.summary(null);\n plugin._viewModel.hasError(false);\n plugin._viewModel.isInvalidIdentifier(false);\n\n // Call API and bind model\n var options = { type: 'GET', contentType: 'application/json', error: function (error) { plugin.apiErrorHandler(error); } };\n return inovestor.ms.core.ajaxApi(etfSummaryUrl, options).then(function (data) {\n if (!inovestor.ms.core.isNullOrUndefined(data)) {\n if (data.requestStatus === 'invalidIdentifier')\n plugin.invalidIdentifierHandler();\n plugin._viewModel.summary(data);\n\n }\n plugin.update();\n });\n },\n\n // Renders html template and binds model (should be called once)\n render: function () {\n var plugin = this;\n plugin._viewModel.updateResources();\n },\n\n // Update resources\n update: function () {\n var plugin = this;\n // Update view model resources\n plugin._viewModel.updateResources();\n plugin._viewModel.summary.valueHasMutated();\n },\n\n // Applies knockout bindings to element. (Should be done only once)\n bindModel: function () {\n var plugin = this;\n ko.applyBindings(plugin._viewModel, plugin.element);\n },\n });\n\n // JQuery Plugin wrapper\n $.fn.inoMsEtfSummary = function (options) {\n this.each(function () {\n if (!$.data(this, pluginName)) {\n // Store instance of plugin in \"$.data\"\n $.data(this, pluginName, new Plugin(this, options));\n }\n });\n\n // return plugin to support JQuery chaining\n return this;\n };\n\n // Default options for plugin\n $.fn.inoMsEtfSummary.defaults = {\n symbol: null,\n onError: null,\n onReady: null,\n pdfReportUrl: null,\n pdfHandler: null,\n templatePaths: {\n summary: null\n }\n };\n\n})(inovestor.ms.libRef.jQuery, inovestor.ms.libRef.ko, inovestor);\n; (function (etf, undefined) {\n etf.summary.resources = etf.summary.resources || {};\n etf.summary.resources[\"en\"] = {\n asOf: 'As of',\n assetClass: 'Asset Class',\n bidAsk: 'Bid / Ask',\n currency: 'Currency',\n totalAssetInfo: 'For this ETF Series only',\n dataDelayedBy: 'Data delayed by {minutes} minutes',\n dataRealTime: 'Real-time data',\n dayRange: \"Day Range\",\n dividend: \"Dividend (yield)\",\n earningsPerShareTTM: 'Earnings / Share',\n fiftyTwoWeek: \"52-Week Range\",\n previousClose: \"Previous Close\",\n riskRating: \"Risk Rating\",\n volume: \"Vol / Avg\",\n category: 'Category',\n managementFeesRatio: \"MER\",\n managementFees: \"Management Fees\",\n aum: 'AUM',\n ranking: \"Ranking\",\n inceptionDate: \"Inception Date\",\n open: \"Open\",\n totalAssests: \"Total Assets\",\n currentYield: \"Current Yield\",\n unitsOutstanding: \"Units Outstanding\",\n distributionYield: \"Distribution\\r\\nYield (TTM)\",\n distributionYieldInfo: \"TTM Distribution Yield refers to trailing twelve months distribution divided by the previous day close.\",\n downloadPdf: \"DOWNLOAD PDF\",\n riskRatings: {\n low: 'Low',\n lowToMedium: 'Low to Medium',\n medium: 'Medium',\n mediumToHigh: 'Medium to High',\n high: 'High',\n null: '-'\n }\n };\n})(inovestor.ms.etf);\n\n; (function (etf, undefined) {\n etf.summary.resources = etf.summary.resources || {};\n etf.summary.resources[\"fr\"] = {\n asOf: 'Au',\n assetClass: 'Classe d\\'actifs',\n bidAsk: 'Cours achet. / Cours vend.',\n currency: 'Devise',\n totalAssetInfo: 'Pour cette série de FNB seulement',\n dataDelayedBy: 'Données différées de {minutes} minutes',\n dataRealTime: 'Données en temps réel',\n dayRange: \"Var. jour\",\n dividend: \"Dividende (rendement)\",\n earningsPerShareTTM: 'Bénéfice par action',\n fiftyTwoWeek: \"Var. 52 semaines\",\n previousClose: \"Clôture\",\n riskRating: \"Cote de risque\",\n volume: \"Vol / Moy.\",\n category: \"Catégorie\",\n managementFeesRatio: \"RFG\",\n managementFees: \"Frais de gestion\",\n aum: 'Actifs sous gestion',\n ranking: \"Classement\",\n inceptionDate: \"Date de création\",\n open: \"Ouverture\",\n totalAssests: \"Actifs\",\n currentYield: \"Revenu actuel\",\n unitsOutstanding: \"Parts en circulation\",\n distributionYield: \"Revenu de distribution (DDM)\",\n distributionYieldInfo: \"Rendement des distributions sur 12 mois (TTM) fait référence à la distribution des douze derniers mois, divisée par la clôture de la veille.\",\n downloadPdf: \"TÉLÉCHARGER PDF\",\n riskRatings: {\n low: 'Faible',\n lowToMedium: 'Faible à moyen',\n medium: 'Moyen',\n mediumToHigh: 'Moyen à élevé',\n high: 'Élevé',\n null: '-'\n }\n };\n})(inovestor.ms.etf);","window[\"inoMsTemplatesCache\"] = window[\"inoMsTemplatesCache\"] || {};\nwindow[\"inoMsTemplatesCache\"][\"inoMsEtfSummary.summary.html\"] = \" ()
() |