This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*! For license information please see bundle.js.LICENSE.txt */ | |
| !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Terra=e():t.Terra=e()}(self,(function(){return(()=>{var t={9669:(t,e,r)=>{t.exports=r(1609)},5448:(t,e,r)=>{"use strict";var n=r(4867),o=r(6026),i=r(4372),a=r(5327),s=r(4097),u=r(4109),c=r(7985),f=r(5061);t.exports=function(t){return new Promise((function(e,r){var d=t.data,h=t.headers;n.isFormData(d)&&delete h["Content-Type"];var l=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";h.Authorization="Basic "+btoa(p+":"+b)}var v=s(t.baseURL,t.url);if(l.open(t.method.toUpperCase(),a(v,t.params,t.paramsSerializer),!0),l.timeout=t.timeout,l.onreadystatechange=function(){if(l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in l?u(l.getAllResponseHeader |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Essentially we'll create a map of our own which will keep | |
| // track of tabId and the URL which is currently open in this tab | |
| // Example: | |
| // const tabIdUrlMap = { | |
| // 1: "http://www.facebook.com", | |
| // 2: "http://www.reddit.com" | |
| // } | |
| // | |
| const tabIdUrlMap = {}; |