-
Notifications
You must be signed in to change notification settings - Fork 12
/
background.bundle.js
3 lines (3 loc) · 76 KB
/
background.bundle.js
1
2
3
!function(){function e(t,r,a){function s(l,u){if(!r[l]){if(!t[l]){var n="function"==typeof require&&require;if(!u&&n)return n(l,!0);if(i)return i(l,!0);var o=new Error("Cannot find module '"+l+"'");throw o.code="MODULE_NOT_FOUND",o}var d=r[l]={exports:{}};t[l][0].call(d.exports,function(e){return s(t[l][1][e]||e)},d,d.exports,e,t,r,a)}return r[l].exports}for(var i="function"==typeof require&&require,l=0;l<a.length;l++)s(a[l]);return s}return e}()({1:[function(e,t,r){"use strict";var a=String.prototype.replace,s=/%20/g;t.exports={default:"RFC3986",formatters:{RFC1738:function(e){return a.call(e,s,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},{}],2:[function(e,t,r){"use strict";var a=e("./stringify"),s=e("./parse"),i=e("./formats");t.exports={formats:i,parse:s,stringify:a}},{"./formats":1,"./parse":3,"./stringify":4}],3:[function(e,t,r){"use strict";var a=e("./utils"),s=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:a.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},l=function(e,t){for(var r={},a=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=t.parameterLimit===1/0?void 0:t.parameterLimit,u=a.split(t.delimiter,l),n=0;n<u.length;++n){var o,d,f=u[n],c=f.indexOf("]="),p=-1===c?f.indexOf("="):c+1;-1===p?(o=t.decoder(f,i.decoder),d=t.strictNullHandling?null:""):(o=t.decoder(f.slice(0,p),i.decoder),d=t.decoder(f.slice(p+1),i.decoder)),s.call(r,o)?r[o]=[].concat(r[o]).concat(d):r[o]=d}return r},u=function(e,t,r){for(var a=t,s=e.length-1;s>=0;--s){var i,l=e[s];if("[]"===l)i=[],i=i.concat(a);else{i=r.plainObjects?Object.create(null):{};var u="["===l.charAt(0)&&"]"===l.charAt(l.length-1)?l.slice(1,-1):l,n=parseInt(u,10);!isNaN(n)&&l!==u&&String(n)===u&&n>=0&&r.parseArrays&&n<=r.arrayLimit?(i=[],i[n]=a):i[u]=a}a=i}return a},n=function(e,t,r){if(e){var a=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/,l=/(\[[^[\]]*])/g,n=i.exec(a),o=n?a.slice(0,n.index):a,d=[];if(o){if(!r.plainObjects&&s.call(Object.prototype,o)&&!r.allowPrototypes)return;d.push(o)}for(var f=0;null!==(n=l.exec(a))&&f<r.depth;){if(f+=1,!r.plainObjects&&s.call(Object.prototype,n[1].slice(1,-1))&&!r.allowPrototypes)return;d.push(n[1])}return n&&d.push("["+a.slice(n.index)+"]"),u(d,t,r)}};t.exports=function(e,t){var r=t?a.assign({},t):{};if(null!==r.decoder&&void 0!==r.decoder&&"function"!=typeof r.decoder)throw new TypeError("Decoder has to be a function.");if(r.ignoreQueryPrefix=!0===r.ignoreQueryPrefix,r.delimiter="string"==typeof r.delimiter||a.isRegExp(r.delimiter)?r.delimiter:i.delimiter,r.depth="number"==typeof r.depth?r.depth:i.depth,r.arrayLimit="number"==typeof r.arrayLimit?r.arrayLimit:i.arrayLimit,r.parseArrays=!1!==r.parseArrays,r.decoder="function"==typeof r.decoder?r.decoder:i.decoder,r.allowDots="boolean"==typeof r.allowDots?r.allowDots:i.allowDots,r.plainObjects="boolean"==typeof r.plainObjects?r.plainObjects:i.plainObjects,r.allowPrototypes="boolean"==typeof r.allowPrototypes?r.allowPrototypes:i.allowPrototypes,r.parameterLimit="number"==typeof r.parameterLimit?r.parameterLimit:i.parameterLimit,r.strictNullHandling="boolean"==typeof r.strictNullHandling?r.strictNullHandling:i.strictNullHandling,""===e||null===e||void 0===e)return r.plainObjects?Object.create(null):{};for(var s="string"==typeof e?l(e,r):e,u=r.plainObjects?Object.create(null):{},o=Object.keys(s),d=0;d<o.length;++d){var f=o[d],c=n(f,s[f],r);u=a.merge(u,c,r)}return a.compact(u)}},{"./utils":5}],4:[function(e,t,r){"use strict";var a=e("./utils"),s=e("./formats"),i={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Date.prototype.toISOString,u={delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,serializeDate:function(e){return l.call(e)},skipNulls:!1,strictNullHandling:!1},n=function e(t,r,s,i,l,n,o,d,f,c,p,v){var y=t;if("function"==typeof o)y=o(r,y);else if(y instanceof Date)y=c(y);else if(null===y){if(i)return n&&!v?n(r,u.encoder):r;y=""}if("string"==typeof y||"number"==typeof y||"boolean"==typeof y||a.isBuffer(y)){if(n){return[p(v?r:n(r,u.encoder))+"="+p(n(y,u.encoder))]}return[p(r)+"="+p(String(y))]}var q=[];if(void 0===y)return q;var h;if(Array.isArray(o))h=o;else{var b=Object.keys(y);h=d?b.sort(d):b}for(var g=0;g<h.length;++g){var j=h[g];l&&null===y[j]||(q=Array.isArray(y)?q.concat(e(y[j],s(r,j),s,i,l,n,o,d,f,c,p,v)):q.concat(e(y[j],r+(f?"."+j:"["+j+"]"),s,i,l,n,o,d,f,c,p,v)))}return q};t.exports=function(e,t){var r=e,l=t?a.assign({},t):{};if(null!==l.encoder&&void 0!==l.encoder&&"function"!=typeof l.encoder)throw new TypeError("Encoder has to be a function.");var o=void 0===l.delimiter?u.delimiter:l.delimiter,d="boolean"==typeof l.strictNullHandling?l.strictNullHandling:u.strictNullHandling,f="boolean"==typeof l.skipNulls?l.skipNulls:u.skipNulls,c="boolean"==typeof l.encode?l.encode:u.encode,p="function"==typeof l.encoder?l.encoder:u.encoder,v="function"==typeof l.sort?l.sort:null,y=void 0!==l.allowDots&&l.allowDots,q="function"==typeof l.serializeDate?l.serializeDate:u.serializeDate,h="boolean"==typeof l.encodeValuesOnly?l.encodeValuesOnly:u.encodeValuesOnly;if(void 0===l.format)l.format=s.default;else if(!Object.prototype.hasOwnProperty.call(s.formatters,l.format))throw new TypeError("Unknown format option provided.");var b,g,j=s.formatters[l.format];"function"==typeof l.filter?(g=l.filter,r=g("",r)):Array.isArray(l.filter)&&(g=l.filter,b=g);var m=[];if("object"!=typeof r||null===r)return"";var _;_=l.arrayFormat in i?l.arrayFormat:"indices"in l?l.indices?"indices":"repeat":"indices";var k=i[_];b||(b=Object.keys(r)),v&&b.sort(v);for(var O=0;O<b.length;++O){var M=b[O];f&&null===r[M]||(m=m.concat(n(r[M],M,k,d,f,c?p:null,g,v,y,q,j,h)))}var T=m.join(o),w=!0===l.addQueryPrefix?"?":"";return T.length>0?w+T:""}},{"./formats":1,"./utils":5}],5:[function(e,t,r){"use strict";var a=Object.prototype.hasOwnProperty,s=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),i=function(e){for(var t;e.length;){var r=e.pop();if(t=r.obj[r.prop],Array.isArray(t)){for(var a=[],s=0;s<t.length;++s)void 0!==t[s]&&a.push(t[s]);r.obj[r.prop]=a}}return t},l=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},a=0;a<e.length;++a)void 0!==e[a]&&(r[a]=e[a]);return r},u=function e(t,r,s){if(!r)return t;if("object"!=typeof r){if(Array.isArray(t))t.push(r);else{if("object"!=typeof t)return[t,r];(s.plainObjects||s.allowPrototypes||!a.call(Object.prototype,r))&&(t[r]=!0)}return t}if("object"!=typeof t)return[t].concat(r);var i=t;return Array.isArray(t)&&!Array.isArray(r)&&(i=l(t,s)),Array.isArray(t)&&Array.isArray(r)?(r.forEach(function(r,i){a.call(t,i)?t[i]&&"object"==typeof t[i]?t[i]=e(t[i],r,s):t.push(r):t[i]=r}),t):Object.keys(r).reduce(function(t,i){var l=r[i];return a.call(t,i)?t[i]=e(t[i],l,s):t[i]=l,t},i)},n=function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},o=function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},d=function(e){if(0===e.length)return e;for(var t="string"==typeof e?e:String(e),r="",a=0;a<t.length;++a){var i=t.charCodeAt(a);45===i||46===i||95===i||126===i||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?r+=t.charAt(a):i<128?r+=s[i]:i<2048?r+=s[192|i>>6]+s[128|63&i]:i<55296||i>=57344?r+=s[224|i>>12]+s[128|i>>6&63]+s[128|63&i]:(a+=1,i=65536+((1023&i)<<10|1023&t.charCodeAt(a)),r+=s[240|i>>18]+s[128|i>>12&63]+s[128|i>>6&63]+s[128|63&i])}return r},f=function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],a=0;a<t.length;++a)for(var s=t[a],l=s.obj[s.prop],u=Object.keys(l),n=0;n<u.length;++n){var o=u[n],d=l[o];"object"==typeof d&&null!==d&&-1===r.indexOf(d)&&(t.push({obj:l,prop:o}),r.push(d))}return i(t)},c=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},p=function(e){return null!==e&&void 0!==e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))};t.exports={arrayToObject:l,assign:n,compact:f,decode:o,encode:d,isBuffer:p,isRegExp:c,merge:u}},{}],6:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function s(e){var t=e&&e.message||e||"unknown";return{text:t,json:{error:t},response:{ok:!1,status:null,statusText:"",headers:{}}}}function i(e,t){var r=e.request,a=e.params;c+=1;var i=c,l=function(e){return t({id:i,payload:e})},u=d.default[r];if(!u)return l(s("unkown handler for "+r));try{u(a,i).then(l).catch(function(e){return l(s(e))})}catch(e){l(s(e.message||e))}}var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u=e("js/config/settings"),n=a(u),o=e("js/requests/all"),d=a(o),f=e("js/requests/control"),c=0;chrome.runtime.onMessage.addListener(function(e,t,r){if("object"===(void 0===e?"undefined":l(e))){if(t.id!==n.default.chromeExtensionId)return void r("no");if(e.request)return i(e,r),!0;try{if(e.cancel)return void(0,f.invoke)(e.cancel,"cancel");if(e.progress)return void r((0,f.invoke)(e.progress,"progress"))}catch(e){console.warn("Error:",e)}}})},{"js/config/settings":8,"js/requests/all":9,"js/requests/control":12}],7:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=e("js/utilities/i18nCore"),s=function(e){return e&&e.__esModule?e:{default:e}}(a),i={competition:{ranges:[{key:"bidiurnally",label:(0,s.default)("competitorsPast48Hours")},{key:"weekly",label:(0,s.default)("competitorsThisWeek")},{key:"monthly",label:(0,s.default)("competitorsThisMonth")},{key:"all",label:(0,s.default)("competitorsAllTime")}],sorts:[{key:"views_per_hour",label:(0,s.default)("competitorsVph")},{key:"views",label:(0,s.default)("competitorsViews")},{key:"date_published_at",label:(0,s.default)("competitorsDateUploaded")}]},hottersearch:{country:"US",language:"en"},rollbar:{accessToken:"70020ecc9ac14f3eacc246113280679e"},research:{ranges:[{key:"now-48H",label:(0,s.default)("researchFilterPast48Hours")},{key:"now-1w",label:(0,s.default)("researchFilterThisWeek")},{key:"now-1M",label:(0,s.default)("researchFilterThisMonth")},{key:"now-6M",label:(0,s.default)("researchFilterPast6Months")}],sorts:[{key:"views_per_hour",label:(0,s.default)("researchFilterVph")},{key:"views",label:(0,s.default)("researchFilterViews")},{key:"true_engagement",label:(0,s.default)("researchFilterEngagements")}],iqScoreRange:[0,100],views:[{key:0,label:(0,s.default)("researchFilterUpTo1k")},{key:1e3,label:(0,s.default)("researchFilterOver1k")},{key:1e4,label:(0,s.default)("researchFilterOver10k")},{key:1e5,label:(0,s.default)("researchFilterOver100k")},{key:1e6,label:(0,s.default)("researchFilterOver1m")},{key:1e7,label:(0,s.default)("researchFilterOver10m")},{key:1e8,label:(0,s.default)("researchFilterOver100m")},{key:1e9,label:(0,s.default)("researchFilterOver1b")}],vphs:[{key:0,label:(0,s.default)("researchFilterUpTo100")},{key:100,label:(0,s.default)("researchFilterOver100")},{key:1e3,label:(0,s.default)("researchFilterOver1k")},{key:5e3,label:(0,s.default)("researchFilterOver5k")},{key:1e4,label:(0,s.default)("researchFilterOver10k")},{key:5e4,label:(0,s.default)("researchFilterOver50k")},{key:1e5,label:(0,s.default)("researchFilterOver100k")}],durations:[{key:0,label:(0,s.default)("researchFilterUpTo30s")},{key:30,label:(0,s.default)("researchFilterOver30s")},{key:60,label:(0,s.default)("researchFilterOver1m")},{key:300,label:(0,s.default)("researchFilterOver5m")},{key:600,label:(0,s.default)("researchFilterOver10m")}],channelSubs:[{key:"graphite",min:0,max:1e3,label:(0,s.default)("researchFilterGraphite")},{key:"opal",min:1e3,max:1e4,label:(0,s.default)("researchFilterOpal")},{key:"bronze",min:1e4,max:1e5,label:(0,s.default)("researchFilterBronze")},{key:"silver",min:1e5,max:1e6,label:(0,s.default)("researchFilterSilver")},{key:"gold",min:1e6,max:null,label:(0,s.default)("researchFilterGold")}]},session:{action:"SAVE_SESSION_TOKEN",app:{domain:"https://app.vidiq.com",iframeId:"app.vidiq.com-iframe",iframeUrl:"https://app.vidiq.com/session-iframe/"}},trendAlerts:{defaultName:(0,s.default)("trendAlertsDefaultName"),previewLength:10,vphThresholds:[{key:100,label:"100"},{key:500,label:"500"},{key:1e3,label:(0,s.default)("trendAlertsFilter1k")},{key:5e3,label:(0,s.default)("trendAlertsFilter5k")},{key:1e4,label:(0,s.default)("trendAlertsFilter10k")}],emailFrequencies:[{key:"daily",label:(0,s.default)("trendAlertsFilterEveryDay")},{key:"bidiurnally",label:(0,s.default)("trendAlertsFilterEvery2Days")},{key:"weekly",label:(0,s.default)("trendAlertsFilterEachWeek")},{key:"monthly",label:(0,s.default)("trendAlertsFilterEachMonth")}],languages:[{key:"any",label:(0,s.default)("allLanguages")},{key:"af",label:(0,s.default)("langAfrikaans")},{key:"sq",label:(0,s.default)("langAlbanian")},{key:"am",label:(0,s.default)("langAmharic")},{key:"ar",label:(0,s.default)("langArabic")},{key:"hy",label:(0,s.default)("langArmenian")},{key:"az",label:(0,s.default)("langAzerbaijani")},{key:"eu",label:(0,s.default)("langBasque")},{key:"be",label:(0,s.default)("langBelarusian")},{key:"bn",label:(0,s.default)("langBengali")},{key:"bs",label:(0,s.default)("langBosnian")},{key:"bg",label:(0,s.default)("langBulgarian")},{key:"my",label:(0,s.default)("langBurmese")},{key:"ca",label:(0,s.default)("langCatalan")},{key:"zh",label:(0,s.default)("langChinese")},{key:"hr",label:(0,s.default)("langCroatian")},{key:"cs",label:(0,s.default)("langCzech")},{key:"da",label:(0,s.default)("langDanish")},{key:"nl",label:(0,s.default)("langDutch")},{key:"en",label:(0,s.default)("langEnglish")},{key:"et",label:(0,s.default)("langEstonian")},{key:"fi",label:(0,s.default)("langFinnish")},{key:"fr",label:(0,s.default)("langFrench")},{key:"gl",label:(0,s.default)("langGalician")},{key:"ka",label:(0,s.default)("langGeorgian")},{key:"de",label:(0,s.default)("langGerman")},{key:"el",label:(0,s.default)("langGreek")},{key:"gu",label:(0,s.default)("langGujarati")},{key:"iw",label:(0,s.default)("langHebrew")},{key:"hi",label:(0,s.default)("langHindi")},{key:"hu",label:(0,s.default)("langHungarian")},{key:"is",label:(0,s.default)("langIcelandic")},{key:"id",label:(0,s.default)("langIndonesian")},{key:"it",label:(0,s.default)("langItalian")},{key:"ja",label:(0,s.default)("langJapanese")},{key:"kn",label:(0,s.default)("langKannada")},{key:"kk",label:(0,s.default)("langKazakh")},{key:"km",label:(0,s.default)("langKhmer")},{key:"ko",label:(0,s.default)("langKorean")},{key:"ky",label:(0,s.default)("langKyrgyz")},{key:"lo",label:(0,s.default)("langLao")},{key:"lv",label:(0,s.default)("langLatvian")},{key:"lt",label:(0,s.default)("langLithuanian")},{key:"mk",label:(0,s.default)("langMacedonian")},{key:"ms",label:(0,s.default)("langMalay")},{key:"ml",label:(0,s.default)("langMalayalam")},{key:"mr",label:(0,s.default)("langMarathi")},{key:"mn",label:(0,s.default)("langMongolian")},{key:"ne",label:(0,s.default)("langNepali")},{key:"no",label:(0,s.default)("langNorwegian")},{key:"fa",label:(0,s.default)("langPersian")},{key:"pl",label:(0,s.default)("langPolish")},{key:"pt",label:(0,s.default)("langPortuguese")},{key:"pa",label:(0,s.default)("langPunjabi")},{key:"ro",label:(0,s.default)("langRomanian")},{key:"ru",label:(0,s.default)("langRussian")},{key:"sr",label:(0,s.default)("langSerbian")},{key:"si",label:(0,s.default)("langSinhala")},{key:"sk",label:(0,s.default)("langSlovak")},{key:"sl",label:(0,s.default)("langSlovenian")},{key:"es",label:(0,s.default)("langSpanish")},{key:"sw",label:(0,s.default)("langSwahili")},{key:"sv",label:(0,s.default)("langSwedish")},{key:"fil",label:(0,s.default)("langTagalog")},{key:"ta",label:(0,s.default)("langTamil")},{key:"te",label:(0,s.default)("langTelugu")},{key:"th",label:(0,s.default)("langThai")},{key:"tr",label:(0,s.default)("langTurkish")},{key:"uk",label:(0,s.default)("langUkrainian")},{key:"ur",label:(0,s.default)("langUrdu")},{key:"uz",label:(0,s.default)("langUzbek")},{key:"vi",label:(0,s.default)("langVietnamese")},{key:"zu",label:(0,s.default)("langZulu")}]},categories:[{key:"any",label:(0,s.default)("categoryAny")},{key:"Autos & Vehicles",label:(0,s.default)("categoryAutosAndVehicles")},{key:"Comedy",label:(0,s.default)("categoryComedy")},{key:"Documentary",label:(0,s.default)("categoryDocumentary")},{key:"Drama",label:(0,s.default)("categoryDrama")},{key:"Education",label:(0,s.default)("categoryEducation")},{key:"Entertainment",label:(0,s.default)("categoryEntertainment")},{key:"Family",label:(0,s.default)("categoryFamily")},{key:"Film & Animation",label:(0,s.default)("categoryFilmAndAnimation")},{key:"Gaming",label:(0,s.default)("categoryGaming")},{key:"Horror",label:(0,s.default)("categoryHorror")},{key:"Howto & Style",label:(0,s.default)("categoryHowtoAndStyle")},{key:"Movies",label:(0,s.default)("categoryMovies")},{key:"Music",label:(0,s.default)("categoryMusic")},{key:"News & Politics",label:(0,s.default)("categoryNewsAndPolitics")},{key:"Nonprofits & Activism",label:(0,s.default)("categoryNonprofitsAndActivism")},{key:"People & Blogs",label:(0,s.default)("categoryPeopleAndBlogs")},{key:"Pets & Animals",label:(0,s.default)("categoryPetsAndAnimals")},{key:"Science & Technology",label:(0,s.default)("categoryScienceAndTechnology")},{key:"Shows",label:(0,s.default)("categoryShows")},{key:"Sports",label:(0,s.default)("categorySports")},{key:"Thriller",label:(0,s.default)("categoryThriller")},{key:"Travel & Events",label:(0,s.default)("categoryTravelAndEvents")}]},l={chromeExtensionId:chrome.runtime.id},u={chromeExtensionId:"pachckjkecffpdphbpmfolblodfkgbhl"},n=chrome.runtime.id===u.chromeExtensionId?u:l,o=Object.assign({},i,n);r.default=o},{"js/utilities/i18nCore":106}],8:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=e("js/utilities/i18nCore"),s=function(e){return e&&e.__esModule?e:{default:e}}(a),i={competition:{ranges:[{key:"bidiurnally",label:(0,s.default)("competitorsPast48Hours")},{key:"weekly",label:(0,s.default)("competitorsThisWeek")},{key:"monthly",label:(0,s.default)("competitorsThisMonth")},{key:"all",label:(0,s.default)("competitorsAllTime")}],sorts:[{key:"views_per_hour",label:(0,s.default)("competitorsVph")},{key:"views",label:(0,s.default)("competitorsViews")},{key:"date_published_at",label:(0,s.default)("competitorsDateUploaded")}]},hottersearch:{country:"US",language:"en"},rollbar:{accessToken:"70020ecc9ac14f3eacc246113280679e"},research:{ranges:[{key:"now-48H",label:(0,s.default)("researchFilterPast48Hours")},{key:"now-1w",label:(0,s.default)("researchFilterThisWeek")},{key:"now-1M",label:(0,s.default)("researchFilterThisMonth")},{key:"now-6M",label:(0,s.default)("researchFilterPast6Months")}],sorts:[{key:"views_per_hour",label:(0,s.default)("researchFilterVph")},{key:"views",label:(0,s.default)("researchFilterViews")},{key:"true_engagement",label:(0,s.default)("researchFilterEngagements")}],iqScoreRange:[0,100],views:[{key:0,label:(0,s.default)("researchFilterUpTo1k")},{key:1e3,label:(0,s.default)("researchFilterOver1k")},{key:1e4,label:(0,s.default)("researchFilterOver10k")},{key:1e5,label:(0,s.default)("researchFilterOver100k")},{key:1e6,label:(0,s.default)("researchFilterOver1m")},{key:1e7,label:(0,s.default)("researchFilterOver10m")},{key:1e8,label:(0,s.default)("researchFilterOver100m")},{key:1e9,label:(0,s.default)("researchFilterOver1b")}],vphs:[{key:0,label:(0,s.default)("researchFilterUpTo100")},{key:100,label:(0,s.default)("researchFilterOver100")},{key:1e3,label:(0,s.default)("researchFilterOver1k")},{key:5e3,label:(0,s.default)("researchFilterOver5k")},{key:1e4,label:(0,s.default)("researchFilterOver10k")},{key:5e4,label:(0,s.default)("researchFilterOver50k")},{key:1e5,label:(0,s.default)("researchFilterOver100k")}],durations:[{key:0,label:(0,s.default)("researchFilterUpTo30s")},{key:30,label:(0,s.default)("researchFilterOver30s")},{key:60,label:(0,s.default)("researchFilterOver1m")},{key:300,label:(0,s.default)("researchFilterOver5m")},{key:600,label:(0,s.default)("researchFilterOver10m")}],channelSubs:[{key:"graphite",min:0,max:1e3,label:(0,s.default)("researchFilterGraphite")},{key:"opal",min:1e3,max:1e4,label:(0,s.default)("researchFilterOpal")},{key:"bronze",min:1e4,max:1e5,label:(0,s.default)("researchFilterBronze")},{key:"silver",min:1e5,max:1e6,label:(0,s.default)("researchFilterSilver")},{key:"gold",min:1e6,max:null,label:(0,s.default)("researchFilterGold")}]},session:{action:"SAVE_SESSION_TOKEN",app:{domain:"https://app.vidiq.com",iframeId:"app.vidiq.com-iframe",iframeUrl:"https://app.vidiq.com/session-iframe/"}},trendAlerts:{defaultName:(0,s.default)("trendAlertsDefaultName"),previewLength:10,vphThresholds:[{key:100,label:"100"},{key:500,label:"500"},{key:1e3,label:(0,s.default)("trendAlertsFilter1k")},{key:5e3,label:(0,s.default)("trendAlertsFilter5k")},{key:1e4,label:(0,s.default)("trendAlertsFilter10k")}],emailFrequencies:[{key:"daily",label:(0,s.default)("trendAlertsFilterEveryDay")},{key:"bidiurnally",label:(0,s.default)("trendAlertsFilterEvery2Days")},{key:"weekly",label:(0,s.default)("trendAlertsFilterEachWeek")},{key:"monthly",label:(0,s.default)("trendAlertsFilterEachMonth")}],languages:[{key:"any",label:(0,s.default)("allLanguages")},{key:"af",label:(0,s.default)("langAfrikaans")},{key:"sq",label:(0,s.default)("langAlbanian")},{key:"am",label:(0,s.default)("langAmharic")},{key:"ar",label:(0,s.default)("langArabic")},{key:"hy",label:(0,s.default)("langArmenian")},{key:"az",label:(0,s.default)("langAzerbaijani")},{key:"eu",label:(0,s.default)("langBasque")},{key:"be",label:(0,s.default)("langBelarusian")},{key:"bn",label:(0,s.default)("langBengali")},{key:"bs",label:(0,s.default)("langBosnian")},{key:"bg",label:(0,s.default)("langBulgarian")},{key:"my",label:(0,s.default)("langBurmese")},{key:"ca",label:(0,s.default)("langCatalan")},{key:"zh",label:(0,s.default)("langChinese")},{key:"hr",label:(0,s.default)("langCroatian")},{key:"cs",label:(0,s.default)("langCzech")},{key:"da",label:(0,s.default)("langDanish")},{key:"nl",label:(0,s.default)("langDutch")},{key:"en",label:(0,s.default)("langEnglish")},{key:"et",label:(0,s.default)("langEstonian")},{key:"fi",label:(0,s.default)("langFinnish")},{key:"fr",label:(0,s.default)("langFrench")},{key:"gl",label:(0,s.default)("langGalician")},{key:"ka",label:(0,s.default)("langGeorgian")},{key:"de",label:(0,s.default)("langGerman")},{key:"el",label:(0,s.default)("langGreek")},{key:"gu",label:(0,s.default)("langGujarati")},{key:"iw",label:(0,s.default)("langHebrew")},{key:"hi",label:(0,s.default)("langHindi")},{key:"hu",label:(0,s.default)("langHungarian")},{key:"is",label:(0,s.default)("langIcelandic")},{key:"id",label:(0,s.default)("langIndonesian")},{key:"it",label:(0,s.default)("langItalian")},{key:"ja",label:(0,s.default)("langJapanese")},{key:"kn",label:(0,s.default)("langKannada")},{key:"kk",label:(0,s.default)("langKazakh")},{key:"km",label:(0,s.default)("langKhmer")},{key:"ko",label:(0,s.default)("langKorean")},{key:"ky",label:(0,s.default)("langKyrgyz")},{key:"lo",label:(0,s.default)("langLao")},{key:"lv",label:(0,s.default)("langLatvian")},{key:"lt",label:(0,s.default)("langLithuanian")},{key:"mk",label:(0,s.default)("langMacedonian")},{key:"ms",label:(0,s.default)("langMalay")},{key:"ml",label:(0,s.default)("langMalayalam")},{key:"mr",label:(0,s.default)("langMarathi")},{key:"mn",label:(0,s.default)("langMongolian")},{key:"ne",label:(0,s.default)("langNepali")},{key:"no",label:(0,s.default)("langNorwegian")},{key:"fa",label:(0,s.default)("langPersian")},{key:"pl",label:(0,s.default)("langPolish")},{key:"pt",label:(0,s.default)("langPortuguese")},{key:"pa",label:(0,s.default)("langPunjabi")},{key:"ro",label:(0,s.default)("langRomanian")},{key:"ru",label:(0,s.default)("langRussian")},{key:"sr",label:(0,s.default)("langSerbian")},{key:"si",label:(0,s.default)("langSinhala")},{key:"sk",label:(0,s.default)("langSlovak")},{key:"sl",label:(0,s.default)("langSlovenian")},{key:"es",label:(0,s.default)("langSpanish")},{key:"sw",label:(0,s.default)("langSwahili")},{key:"sv",label:(0,s.default)("langSwedish")},{key:"fil",label:(0,s.default)("langTagalog")},{key:"ta",label:(0,s.default)("langTamil")},{key:"te",label:(0,s.default)("langTelugu")},{key:"th",label:(0,s.default)("langThai")},{key:"tr",label:(0,s.default)("langTurkish")},{key:"uk",label:(0,s.default)("langUkrainian")},{key:"ur",label:(0,s.default)("langUrdu")},{key:"uz",label:(0,s.default)("langUzbek")},{key:"vi",label:(0,s.default)("langVietnamese")},{key:"zu",label:(0,s.default)("langZulu")}]},categories:[{key:"any",label:(0,s.default)("categoryAny")},{key:"Autos & Vehicles",label:(0,s.default)("categoryAutosAndVehicles")},{key:"Comedy",label:(0,s.default)("categoryComedy")},{key:"Documentary",label:(0,s.default)("categoryDocumentary")},{key:"Drama",label:(0,s.default)("categoryDrama")},{key:"Education",label:(0,s.default)("categoryEducation")},{key:"Entertainment",label:(0,s.default)("categoryEntertainment")},{key:"Family",label:(0,s.default)("categoryFamily")},{key:"Film & Animation",label:(0,s.default)("categoryFilmAndAnimation")},{key:"Gaming",label:(0,s.default)("categoryGaming")},{key:"Horror",label:(0,s.default)("categoryHorror")},{key:"Howto & Style",label:(0,s.default)("categoryHowtoAndStyle")},{key:"Movies",label:(0,s.default)("categoryMovies")},{key:"Music",label:(0,s.default)("categoryMusic")},{key:"News & Politics",label:(0,s.default)("categoryNewsAndPolitics")},{key:"Nonprofits & Activism",label:(0,s.default)("categoryNonprofitsAndActivism")},{key:"People & Blogs",label:(0,s.default)("categoryPeopleAndBlogs")},{key:"Pets & Animals",label:(0,s.default)("categoryPetsAndAnimals")},{key:"Science & Technology",label:(0,s.default)("categoryScienceAndTechnology")},{key:"Shows",label:(0,s.default)("categoryShows")},{key:"Sports",label:(0,s.default)("categorySports")},{key:"Thriller",label:(0,s.default)("categoryThriller")},{key:"Travel & Events",label:(0,s.default)("categoryTravelAndEvents")}]},l={chromeExtensionId:chrome.runtime.id},u={chromeExtensionId:"pachckjkecffpdphbpmfolblodfkgbhl"},n=chrome.runtime.id===u.chromeExtensionId?u:l,o=Object.assign({},i,n);r.default=o},{"js/utilities/i18nCore":106}],9:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var s=e("js/requests/vidiq/addTag"),i=a(s),l=e("js/requests/vidiq/applySessionVerification"),u=a(l),n=e("js/requests/vidiq/event"),o=e("js/requests/vidiq/channels"),d=a(o),f=e("js/requests/vidiq/createSession"),c=a(f),p=e("js/requests/vidiq/createUser"),v=a(p),y=e("js/requests/vidiq/deleteSession"),q=a(y),h=e("js/requests/vidiq/enableVideoOptim"),b=a(h),g=e("js/requests/vidiq/getDemonetizationWords"),j=a(g),m=e("js/requests/vidiq/getSession"),_=a(m),k=e("js/requests/vidiq/getUser"),O=a(k),M=e("js/requests/vidiq/getVideoOptimStatus"),T=a(M),w=e("js/requests/vidiq/requestSessionVerification"),P=a(w),S=e("js/requests/vidiq/resetPassword"),E=a(S),F=e("js/requests/vidiq/shortenUrls"),A=a(F),C=e("js/requests/vidiq/trackChannel"),U=a(C),x=e("js/requests/vidiq/trendy"),D=a(x),G=e("js/requests/vidiq/youtubeChannelPublicStats"),V=a(G),N=e("js/requests/vidiq/youtubeProxy"),I=a(N),L=e("js/requests/vidiq/youtubeDataProxy"),H=a(L),z=e("js/requests/vidiq/getLegacyTextCampaigns"),R=a(z),B=e("js/requests/vidiq/youtubeVideoScores"),J=a(B),K=e("js/requests/vidiq/hottersearch"),Q=a(K),Y=e("js/requests/vidiq/vidiqScore"),W=a(Y),X=e("js/requests/vidiq/massLike"),$=a(X),Z=e("js/requests/vidiq/intercom"),ee=a(Z),te=e("js/requests/vidiq/research"),re=a(te),ae=e("js/requests/vidiq/youtubeChannelThumbnails"),se=a(ae),ie=e("js/requests/vidiq/translation"),le=a(ie),ue=e("js/requests/vidiq/facebookUrlStats"),ne=a(ue),oe=e("js/requests/vidiq/competitorTrendAlert"),de=a(oe),fe=e("js/requests/vidiq/getUserSettings"),ce=a(fe),pe=e("js/requests/vidiq/updateUserSettings"),ve=a(pe),ye=e("js/requests/vidiq/deleteUserSettings"),qe=a(ye),he=e("js/requests/vidiq/rankings"),be=a(he),ge=e("js/requests/vidiq/showCompetitors"),je=a(ge),me=e("js/requests/vidiq/followCompetitor"),_e=a(me),ke=e("js/requests/vidiq/unfollowCompetitor"),Oe=a(ke),Me=e("js/requests/vidiq/createTrendAlert"),Te=a(Me),we=e("js/requests/vidiq/deleteTrendAlert"),Pe=a(we),Se=e("js/requests/vidiq/getTrendAlert"),Ee=a(Se),Fe=e("js/requests/vidiq/getTrendAlerts"),Ae=a(Fe),Ce=e("js/requests/vidiq/youtubeSeoScore"),Ue=a(Ce),xe=e("js/requests/vidiq/createStorageItem"),De=a(xe),Ge=e("js/requests/vidiq/updateStorageItem"),Ve=a(Ge),Ne=e("js/requests/vidiq/batchUpdateStorageItems"),Ie=a(Ne),Le=e("js/requests/vidiq/patchStorageItem"),He=a(Le),ze=e("js/requests/vidiq/getStorageItem"),Re=a(ze),Be=e("js/requests/vidiq/deleteStorageItem"),Je=a(Be),Ke=e("js/requests/vidiq/batchDeleteStorageItems"),Qe=a(Ke),Ye=e("js/requests/vidiq/storageQuery"),We=a(Ye),Xe=e("js/requests/vidiq/startUpload"),$e=a(Xe),Ze=e("js/requests/vidiq/cancelUpload"),et=a(Ze),tt=e("js/requests/vidiq/completeUploadInit"),rt=a(tt),at=e("js/requests/vidiq/completeUploadFinish"),st=a(at),it=e("js/requests/vidiq/createUploadParts"),lt=a(it),ut=e("js/requests/vidiq/getUploadPartsS3Url"),nt=a(ut),ot=e("js/requests/vidiq/createYoutubeVideo"),dt=a(ot),ft=e("js/requests/vidiq/getMasterVideo"),ct=a(ft),pt=e("js/requests/vidiq/createMasterVideo"),vt=a(pt),yt=e("js/requests/vidiq/updateMasterVideo"),qt=a(yt),ht=e("js/requests/vidiq/getFacebookVideo"),bt=a(ht),gt=e("js/requests/vidiq/updateFacebookVideo"),jt=a(gt),mt=e("js/requests/vidiq/startSyndication"),_t=a(mt),kt=e("js/requests/vidiq/createFacebookVideo"),Ot=a(kt),Mt=e("js/requests/vidiq/getYtVideoDownloadTasks"),Tt=a(Mt),wt=e("js/requests/vidiq/createYtVideoDownloadTask"),Pt=a(wt),St=e("js/requests/vidiq/getUploadRecord"),Et=a(St),Ft=e("js/requests/vidiq/getUploadDownloadUrl"),At=a(Ft),Ct=e("js/requests/vidiq/deleteUpload"),Ut=a(Ct),xt=e("js/requests/vidiq/getHistograms"),Dt=a(xt),Gt=e("js/requests/google/webfonts/webfonts"),Vt=a(Gt),Nt=e("js/requests/google/search"),It=a(Nt),Lt=e("js/requests/google/trends"),Ht=a(Lt),zt=e("js/requests/google/suggestQueries"),Rt=a(zt),Bt=e("js/requests/google/recaptcha"),Jt=a(Bt),Kt=e("js/requests/google/conversions"),Qt=a(Kt),Yt=e("js/requests/reddit/search"),Wt=a(Yt),Xt=e("js/requests/twitter/twitter"),$t=a(Xt),Zt=e("js/requests/twitter/oct"),er=a(Zt),tr=e("js/requests/instagram/instagram"),rr=a(tr),ar=e("js/requests/facebook/facebook"),sr=a(ar),ir=e("js/requests/facebook/likes"),lr=a(ir),ur=e("js/requests/chrome/url"),nr=a(ur),or=e("js/requests/aws/s3"),dr=a(or),fr=e("js/requests/other/geoIpLookup"),cr=a(fr),pr=e("js/requests/other/ytimg"),vr=a(pr),yr=e("js/requests/other/leadDyno"),qr=a(yr);r.default={"vidiq.addTag":i.default,"vidiq.applySessionVerification":u.default,"vidiq.audit":n.audit,"vidiq.event":n.event,"vidiq.channels":d.default,"vidiq.createSession":c.default,"vidiq.createUser":v.default,"vidiq.deleteSession":q.default,"vidiq.enableVideoOptim":b.default,"vidiq.getDemonetizationWords":j.default,"vidiq.getSession":_.default,"vidiq.getUser":O.default,"vidiq.getVideoOptimStatus":T.default,"vidiq.requestSessionVerification":P.default,"vidiq.resetPassword":E.default,"vidiq.shortenUrls":A.default,"vidiq.trackChannel":U.default,"vidiq.trendy":D.default,"vidiq.youtubeChannelPublicStats":V.default,"vidiq.youtubeProxy":I.default,"vidiq.youtubeDataProxy":H.default,"vidiq.getLegacyTextCampaigns":R.default,"vidiq.youtubeVideoScores":J.default,"vidiq.hottersearch":Q.default,"vidiq.vidiqScore":W.default,"vidiq.massLike":$.default,"vidiq.intercom":ee.default,"vidiq.research":re.default,"vidiq.youtubeChannelThumbnails":se.default,"vidiq.translation":le.default,"vidiq.facebookUrlStats":ne.default,"vidiq.competitorTrendAlert":de.default,"vidiq.getUserSettings":ce.default,"vidiq.updateUserSettings":ve.default,"vidiq.deleteUserSettings":qe.default,"vidiq.rankings":be.default,"vidiq.showCompetitors":je.default,"vidiq.followCompetitor":_e.default,"vidiq.unfollowCompetitor":Oe.default,
"vidiq.createTrendAlert":Te.default,"vidiq.deleteTrendAlert":Pe.default,"vidiq.getTrendAlert":Ee.default,"vidiq.getTrendAlerts":Ae.default,"vidiq.youtubeSeoScore":Ue.default,"vidiq.createStorageItem":De.default,"vidiq.updateStorageItem":Ve.default,"vidiq.batchUpdateStorageItems":Ie.default,"vidiq.patchStorageItem":He.default,"vidiq.getStorageItem":Re.default,"vidiq.deleteStorageItem":Je.default,"vidiq.batchDeleteStorageItems":Qe.default,"vidiq.storageQuery":We.default,"vidiq.startUpload":$e.default,"vidiq.cancelUpload":et.default,"vidiq.completeUploadInit":rt.default,"vidiq.completeUploadFinish":st.default,"vidiq.createUploadParts":lt.default,"vidiq.getUploadPartsS3Url":nt.default,"vidiq.createYoutubeVideo":dt.default,"vidiq.getMasterVideo":ct.default,"vidiq.createMasterVideo":vt.default,"vidiq.updateMasterVideo":qt.default,"vidiq.getFacebookVideo":bt.default,"vidiq.updateFacebookVideo":jt.default,"vidiq.startSyndication":_t.default,"vidiq.createFacebookVideo":Ot.default,"vidiq.getYtVideoDownloadTasks":Tt.default,"vidiq.createYtVideoDownloadTask":Pt.default,"vidiq.getUploadRecord":Et.default,"vidiq.getUploadDownloadUrl":At.default,"vidiq.deleteUpload":Ut.default,"vidiq.getHistograms":Dt.default,"google.webfonts":Vt.default,"google.search":It.default,"google.trends":Ht.default,"google.suggestQueries":Rt.default,"google.recaptcha":Jt.default,"google.conversions":Qt.default,"twitter.any":$t.default,"twitter.oct":er.default,"reddit.search":Wt.default,"instagram.any":rr.default,"facebook.any":sr.default,"facebook.likes":lr.default,"chrome.url":nr.default,"aws.s3":dr.default,"other.geoIpLookup":cr.default,"other.ytimg":vr.default,"other.leadDyno":qr.default}},{"js/requests/aws/s3":10,"js/requests/chrome/url":11,"js/requests/facebook/facebook":13,"js/requests/facebook/likes":14,"js/requests/google/conversions":16,"js/requests/google/recaptcha":17,"js/requests/google/search":18,"js/requests/google/suggestQueries":19,"js/requests/google/trends":20,"js/requests/google/webfonts/webfonts":21,"js/requests/instagram/instagram":22,"js/requests/other/geoIpLookup":23,"js/requests/other/leadDyno":24,"js/requests/other/ytimg":25,"js/requests/reddit/search":26,"js/requests/twitter/oct":27,"js/requests/twitter/twitter":28,"js/requests/vidiq/addTag":29,"js/requests/vidiq/applySessionVerification":30,"js/requests/vidiq/batchDeleteStorageItems":31,"js/requests/vidiq/batchUpdateStorageItems":32,"js/requests/vidiq/cancelUpload":33,"js/requests/vidiq/channels":34,"js/requests/vidiq/competitorTrendAlert":35,"js/requests/vidiq/completeUploadFinish":36,"js/requests/vidiq/completeUploadInit":37,"js/requests/vidiq/createFacebookVideo":38,"js/requests/vidiq/createMasterVideo":39,"js/requests/vidiq/createSession":40,"js/requests/vidiq/createStorageItem":41,"js/requests/vidiq/createTrendAlert":42,"js/requests/vidiq/createUploadParts":43,"js/requests/vidiq/createUser":44,"js/requests/vidiq/createYoutubeVideo":45,"js/requests/vidiq/createYtVideoDownloadTask":46,"js/requests/vidiq/deleteSession":47,"js/requests/vidiq/deleteStorageItem":48,"js/requests/vidiq/deleteTrendAlert":49,"js/requests/vidiq/deleteUpload":50,"js/requests/vidiq/deleteUserSettings":51,"js/requests/vidiq/enableVideoOptim":52,"js/requests/vidiq/event":53,"js/requests/vidiq/facebookUrlStats":54,"js/requests/vidiq/followCompetitor":56,"js/requests/vidiq/getDemonetizationWords":57,"js/requests/vidiq/getFacebookVideo":58,"js/requests/vidiq/getHistograms":59,"js/requests/vidiq/getLegacyTextCampaigns":60,"js/requests/vidiq/getMasterVideo":61,"js/requests/vidiq/getSession":62,"js/requests/vidiq/getStorageItem":63,"js/requests/vidiq/getTrendAlert":64,"js/requests/vidiq/getTrendAlerts":65,"js/requests/vidiq/getUploadDownloadUrl":66,"js/requests/vidiq/getUploadPartsS3Url":67,"js/requests/vidiq/getUploadRecord":68,"js/requests/vidiq/getUser":69,"js/requests/vidiq/getUserSettings":70,"js/requests/vidiq/getVideoOptimStatus":71,"js/requests/vidiq/getYtVideoDownloadTasks":72,"js/requests/vidiq/hottersearch":73,"js/requests/vidiq/intercom":74,"js/requests/vidiq/massLike":75,"js/requests/vidiq/patchStorageItem":76,"js/requests/vidiq/rankings":77,"js/requests/vidiq/requestSessionVerification":78,"js/requests/vidiq/research":79,"js/requests/vidiq/resetPassword":80,"js/requests/vidiq/shortenUrls":81,"js/requests/vidiq/showCompetitors":82,"js/requests/vidiq/startSyndication":83,"js/requests/vidiq/startUpload":84,"js/requests/vidiq/storageQuery":85,"js/requests/vidiq/trackChannel":86,"js/requests/vidiq/translation":87,"js/requests/vidiq/trendy":88,"js/requests/vidiq/unfollowCompetitor":89,"js/requests/vidiq/updateFacebookVideo":90,"js/requests/vidiq/updateMasterVideo":91,"js/requests/vidiq/updateStorageItem":92,"js/requests/vidiq/updateUserSettings":93,"js/requests/vidiq/vidiqScore":94,"js/requests/vidiq/youtubeChannelPublicStats":95,"js/requests/vidiq/youtubeChannelThumbnails":96,"js/requests/vidiq/youtubeDataProxy":97,"js/requests/vidiq/youtubeProxy":98,"js/requests/vidiq/youtubeSeoScore":99,"js/requests/vidiq/youtubeVideoScores":100}],10:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){var r=e.url,s=e.method,u=e.body,n=e.blob,o=e.blobUrl,d=r.split(l);if(""!==d[0])return Promise.reject("no");var f=d[1],c=o?(0,i.default)(o).catch(function(){return Promise.resolve(null)}):Promise.resolve(null),p=new XMLHttpRequest;return(0,a.controlXHR)(t,p),p.open(s,""+l+f),new Promise(function(e){c.then(function(t){n&&(p.responseType="blob"),p.onreadystatechange=function(){if(4===p.readyState){var t={ok:p.status>=200&&p.status<300,status:p.status,statusText:p.statusText,headers:{"Content-Type":p.getResponseHeader("Content-Type"),ETag:p.getResponseHeader("ETag")}},r=p.response,a="string"==typeof r?r:"",s={};if(a.length>0)try{s=JSON.parse(a)}catch(e){}e({json:s,text:a,blob:n?URL.createObjectURL(r):null,response:t})}},p.onerror=function(){e({response:{ok:!1,status:null,statusText:"",headers:{}},text:"",json:{},blob:null})},p.send(u||t)})})};var a=e("js/requests/control"),s=e("js/utilities/getBlob"),i=function(e){return e&&e.__esModule?e:{default:e}}(s),l="https://s3.amazonaws.com/"},{"js/requests/control":12,"js/utilities/getBlob":102}],11:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.url;return(0,s.default)(chrome.extension.getURL(t),{method:"GET"})};var a=e("js/requests/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/fetch":15}],12:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={},s=(r.invoke=function(e,t){var r=(a[e]||{})[t];return r&&r()},function(e,t){a[e]=Object.assign({_progress:0},t)});r.controlXHR=function(e,t){t.upload.onprogress=function(t){a[e]&&t.lengthComputable&&(a[e]._progress=t.loaded/t.total)},t.onprogress=function(t){a[e]&&t.lengthComputable&&(a[e]._progress=t.loaded/t.total)},s(e,{cancel:function(){return t.abort()},progress:function(){return a[e]._progress}})};r.default=s},{}],13:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.path;return(0,s.default)("https://facebook.com/"+t,{method:"GET"})};var a=e("js/requests/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/fetch":15}],14:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.domain,r=e.href,a=u.default.stringify({action:"like",domain:t,href:r});return(0,i.default)("https://www.facebook.com/v3.0/plugins/like.php?"+a,{method:"GET"})};var s=e("js/requests/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/fetch":15,qs:2}],15:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=e("js/utilities/getHeaders"),s=function(e){return e&&e.__esModule?e:{default:e}}(a),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown";return{text:e,json:{error:e},response:{ok:!1,status:null,headers:{}}}};r.default=function(e,t,r){return new Promise(function(a){return fetch(e,t).then(function(e){var t={ok:e.ok,status:e.status,headers:(0,s.default)(e.headers),statusText:e.statusText};e.text().then(function(s){try{var i=JSON.parse(s),l=r?r(e,i)||{}:{};return void a(Object.assign({json:i,response:t},l))}catch(e){}var u=r?r(e,s)||{}:{};a(Object.assign({text:s,response:t},u))}).catch(function(e){return a(i(e))})}).catch(function(e){a(i(e))})})}},{"js/utilities/getHeaders":104}],16:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){return(0,s.default)("https://www.googleadservices.com/pagead/conversion_async.js",{method:"GET"})};var a=e("js/requests/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/fetch":15}],17:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){return(0,s.default)("https://www.google.com/recaptcha/api.js?render="+i,{method:"GET"})};var a=e("js/requests/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a),i="6Lcl1IMUAAAAACILpzryX4mX9KL3gB-F1eQh4tYj"},{"js/requests/fetch":15}],18:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.transform=void 0;var s=e("qs"),i=a(s),l=e("js/requests/fetch"),u=a(l),n=e("js/utilities/htmlEncoder"),o=a(n),d=e("js/utilities/stripHtml"),f=a(d);r.transform=function(e){var t=(e.match(/<h3 class="r"><a href="(.*?)"/g)||[]).map(function(e){var t=e.substring('<h3 class="r"><a href="'.length,e.length-1);return"/url"===t.substr(0,4)&&(t=decodeURIComponent(t.substr(t.indexOf("http")))),o.default.htmlDecode(t)}),r=e.match(/<h3[^>]*><a[^>]*rwt\([^>]*event\)[^>]*>(?!Cached|Trans)(.*?)<\/a>/g),a=(r||[]).map(function(e){var t=e.replace(/<h3[^>]*><a[^>]*>/,"").replace(/<\/a>/,"");return(0,f.default)(t)}),s=void 0;try{s=e.match(/<[^>]*resultStats[^>]*>(.*?)</).pop().match(/\d/g).join("")}catch(e){}var i=t.map(function(e,t){return{title:a[t],url:e}}),l=parseInt(s,10);return{results:i,resultCount:isFinite(l)?l:0}};r.default=function(e){var t=e.vid,r=e.embed,a={safe:"off",output:"search",sclient:"psy-ab",q:(r?"embed/":"")+t+" -site:youtube.com",btnG:"",sei:"6u34U-emFIreigLbxoCQBQ",gbv:2,gws_rd:"ssl"};return(0,u.default)("https://www.google.com/search?"+i.default.stringify(a),{method:"GET"})}},{"js/requests/fetch":15,"js/utilities/htmlEncoder":105,"js/utilities/stripHtml":107,qs:2}],19:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.query,r=e.languageCode,a=u.default.stringify({q:t,client:"firefox",ds:"yt",hl:r});return(0,i.default)("https://suggestqueries.google.com/complete/search?"+a,{method:"GET"})};var s=e("js/requests/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/fetch":15,qs:2}],20:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.transform=void 0,r.default=function(e){var t=e.path,r=e.params,a=u.default.stringify(r);return(0,i.default)("https://trends.google.com/trends/api/"+t+"?"+a,{method:"GET",credentials:"include"})};var s=e("js/requests/fetch"),i=a(s),l=e("qs"),u=a(l);r.transform=function(e){var t=e.response,r=e.text;if(!t.ok)throw new Error(t.status);var a=r.split("\n")[1];return JSON.parse(a)}},{"js/requests/fetch":15,qs:2}],21:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var s=e("qs"),i=a(s),l=e("js/requests/fetch"),u=a(l);r.default=function(e){var t=Object.assign({},e,{key:"AIzaSyDGpsACYv_PFx9d_b2WZKITYJbxcp0omeA"});return(0,u.default)("https://www.googleapis.com/webfonts/v1/webfonts?"+i.default.stringify(t),{method:"GET"})}},{"js/requests/fetch":15,qs:2}],22:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.path;return(0,s.default)("https://instagram.com/"+t,{method:"GET"})};var a=e("js/requests/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/fetch":15}],23:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){return(0,s.default)("https://json.geoiplookup.io",{method:"GET"})};var a=e("js/requests/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/fetch":15}],24:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){return(0,s.default)("https://static.leaddyno.com/js",{method:"GET"})};var a=e("js/requests/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/fetch":15}],25:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.path,r=""+a+t;return new Promise(function(e){fetch(r,{method:"GET"}).then(function(t){var r={ok:t.ok,status:t.status,statusText:t.statusText};t.blob().then(function(t){e({response:r,blob:URL.createObjectURL(t)})}).catch(function(){e({response:r,blob:null})})})})};var a="https://i.ytimg.com/"},{}],26:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.transform=void 0;var s=e("qs"),i=a(s),l=e("js/requests/fetch"),u=a(l),n=function(e){var t={q:"url:"+e,restrict_sr:"off",sort:"relevance",t:"all"};return"https://www.reddit.com/search.json?"+i.default.stringify(t)};r.transform=function(e,t){return e.data.children.reduce(function(e,t){return{posts:e.posts+1,comments:e.comments+t.data.num_comments,votes:e.votes+t.data.ups-t.data.downs}},{url:n(t),votes:0,posts:0,comments:0})};r.default=function(e){var t=e.vid;return(0,u.default)(n(t),{method:"GET"})}},{"js/requests/fetch":15,qs:2}],27:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){return(0,s.default)("https://platform.twitter.com/oct.js",{method:"GET"})};var a=e("js/requests/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/fetch":15}],28:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.path;return(0,s.default)("https://twitter.com/"+t,{credentials:"omit",method:"GET"})};var a=e("js/requests/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/fetch":15}],29:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.vid,r=e.token,a=e.tags;return(0,i.default)("app0/youtube/channels/"+r+"/videos/"+t+"/add_tags",{method:"POST",body:u.default.stringify({tags:JSON.stringify(a)}),headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],30:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.code;return(0,s.default)("app2/apply_session_verification",{method:"POST",body:t,headers:{"Content-Type":"text/plain"}})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],31:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.storage,r=e.owner,a=e.body,s=u.default.stringify({storage:t,owner:r});return(0,i.default)("app2/kv_storage_batch?"+s,{method:"DELETE",body:JSON.stringify(a),headers:{"Content-Type":"application/json"}})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],32:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.storage,r=e.owner,a=e.body,s=u.default.stringify({storage:t,owner:r});return(0,i.default)("app2/kv_storage_batch?"+s,{method:"PUT",body:JSON.stringify(a),headers:{"Content-Type":"application/json"}})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],33:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.id;return(0,s.default)("app1/uploads/"+t,{method:"DELETE"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],34:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){return(0,s.default)("app0/youtube/channels",{method:"GET",headers:{"Content-Type":"application/json"}})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],35:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.body;return(0,s.default)("app2/competitor_trend_alert",{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json"}})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],36:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.id;return(0,s.default)("app1/uploads/"+t+"/complete",{method:"POST"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],37:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.id;return(0,s.default)("app1/uploads/"+t+"/complete",{method:"GET"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],38:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.body;return(0,s.default)("app1/facebook/videos",{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json"}})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],39:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.body;return(0,s.default)("app1/videos",{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json"}})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],40:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.email,r=e.password;return(0,i.default)("app0/session",{method:"POST",body:u.default.stringify({email:t,passwd:r,type:"new",extended:!0}),headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],41:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.storage,r=e.owner,a=e.body,s=u.default.stringify({storage:t,owner:r});return(0,i.default)("app2/kv_storage_item?"+s,{method:"POST",body:JSON.stringify(a),headers:{"Content-Type":"application/json"}})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],42:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.body;return(0,s.default)("app2/trend_alerts",{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json"}})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],43:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.id;return(0,s.default)("app1/uploads/"+t+"/parts",{method:"POST",headers:{"Content-Type":"application/json"}})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],44:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.email,r=e.password,a=e.name,s=e.token;return(0,i.default)("app0/user",{method:"POST",body:u.default.stringify({email:t,password:r,fullname:a,newsletter:"no",source:"chrome",user_language:window.navigator.language,captcha_response:s}),headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],45:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.body;return(0,s.default)("app1/youtube/videos",{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json"}})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],46:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.cid,r=e.body,a="youtube_channel.mongo_id="+t;return(0,s.default)("app2/youtube_video_download_tasks?"+a,{method:"POST",body:JSON.stringify(r),headers:{"Content-Type":"application/json"}})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],47:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){return(0,s.default)("app0/session",{method:"DELETE"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],48:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.storage,r=e.owner,a=e.id,s=u.default.stringify({storage:t,owner:r,id:a});return(0,i.default)("app2/kv_storage_item?"+s,{method:"DELETE",headers:{"Content-Type":"application/json"}})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],49:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.id;return(0,s.default)("app2/trend_alert?trend_alert_id="+t,{method:"DELETE"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],50:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.id;return(0,s.default)("app1/uploads/"+t,{method:"DELETE"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],51:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.keys;return(0,s.default)("app2/user_settings?keys="+t,{method:"DELETE"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],52:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.vid;return(0,s.default)("app0/video_optim/"+t,{method:"POST"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],53:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function s(e){var t=e.event,r=e.props;return(0,u.default)("app0/event",{method:"POST",body:o.default.stringify({event:t,props:r}),headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}})}function i(e){return s({event:"audit."+e.name,props:e.props})}Object.defineProperty(r,"__esModule",{value:!0}),r.event=s,r.audit=i;var l=e("js/requests/vidiq/fetch"),u=a(l),n=e("qs"),o=a(n)},{"js/requests/vidiq/fetch":55,qs:2}],54:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.url;return(0,s.default)("app2/facebook_url_stats?url="+t,{method:"GET",headers:{"Content-Type":"application/json"}})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],55:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t,r){return new Promise(function(a){var s=e.split("/"),l=s[0],u=s.slice(1).join("/");if(!n[l])throw new Error("Unknown endpoint "+l);var d=!t.skipClient&&"app0"===l&&(u.indexOf("?")>=0?"&client="+o:"?client="+o)||"",f=n[l]+u+d;chrome.storage.local.get("session_token",function(e){var s={"X-Vidiq-Client":"ext "+o},l=e.session_token?{Authorization:"Bearer "+e.session_token}:{},u=Object.assign({},t.headers,s,l),n=Object.assign({},t,{headers:u,mode:"cors",credentials:"omit"});delete n.skipClient,(0,i.default)(f,n,function(e,t){if(403===e.status&&"mfa_required"===t.error)return{interrupt:{action:"mfa"}};var a=r&&r(e.status,t);if(a){if(!a.action)throw new Error("An action must be provided");return{interrupt:a}}}).then(a)})})};var s=e("js/requests/fetch"),i=a(s),l=e("js/utilities/getExtensionType"),u=a(l),n={api:"https://api.vidiq.com/",app0:"https://app.vidiq.com/v0/",app1:"https://app.vidiq.com/v1/",app2:"https://app.vidiq.com/v2/"},o=(0,u.default)()},{"js/requests/fetch":15,"js/utilities/getExtensionType":103}],56:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.cid,r=e.competitor;return(0,s.default)("app0/youtube/competitors/follow/"+t+"/"+r,{method:"GET"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],57:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=e("js/requests/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a);r.default=function(){return(0,s.default)("https://static.vidiq.com/dmws/en.json",{method:"GET"})}},{"js/requests/fetch":15}],58:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.id;return(0,s.default)("app1/facebook/videos/"+t,{method:"GET"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],59:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.token,r=e.timezone;return(0,s.default)("app0/dashboard/widgets/histograms?channel_id="+t+"&timezone="+r,{method:"GET"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],60:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.channelToken;return(0,s.default)("app0/text_campaigns?youtube_channel="+t,{method:"GET"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],61:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.youtubeId,r=u.default.stringify({youtube_video_youtube_id:t});return(0,i.default)("app1/videos?"+r,{method:"GET"})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],62:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){return(0,s.default)("app0/session?extended=true",{method:"GET",headers:{"Content-Type":"application/json"}})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],63:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.storage,r=e.owner,a=e.id,s=u.default.stringify({storage:t,owner:r,id:a});return(0,i.default)("app2/kv_storage_item?"+s,{method:"GET",headers:{"Content-Type":"application/json"}})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],64:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.id;return(0,s.default)("app2/trend_alert?trend_alert_id="+t,{method:"GET"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],65:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){return(0,s.default)("app2/trend_alerts",{method:"GET"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],66:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.url,r=t.match(/\/([0-9]+)\//)[1];return(0,s.default)("app1/uploads/"+r+"/download_url",{method:"GET"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],67:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.id,r=e.number;return(0,s.default)("app1/uploads/"+t+"/parts/"+r,{method:"GET",headers:{"Content-Type":"application/json"}})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],68:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.id;return(0,s.default)("app1/uploads/"+t,{method:"GET"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],69:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){return(0,s.default)("app0/user",{method:"GET",headers:{"Content-Type":"application/json"}})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],70:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.keys;return(0,s.default)("app2/user_settings?keys="+t,{method:"GET"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],71:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.vid;return(0,s.default)("app0/video_optim/"+t,{method:"GET"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],72:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.transform=void 0,r.default=function(e){var t=e.id,r=e.cid,a=u.default.stringify({"youtube_channel.mongo_id":r,youtube_video_id:t});return(0,i.default)("app2/youtube_video_download_tasks?"+a,{method:"GET"})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l);r.transform=function(e){var t=(e.result||[]).slice(-1)[0];if(!t)throw new Error("no task");return t}},{"js/requests/vidiq/fetch":55,qs:2}],73:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.skipRecs,r=e.query,a=e.country,s=e.language,l=e.cid,n=e.client,d=e.payload,f=o.default.stringify(Object.assign({q:r,c:a||i.default.hottersearch.country,l:s||i.default.hottersearch.language,skip_recs:t&&"t",channel_id:l,client:n},d||{}),{arrayFormat:"brackets"});return(0,u.default)("app0/hottersearch?"+f,{method:"GET"})};var s=e("js/config/Settings"),i=a(s),l=e("js/requests/vidiq/fetch"),u=a(l),n=e("qs"),o=a(n)},{"js/config/Settings":7,"js/requests/vidiq/fetch":55,qs:2}],
74:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.message,r=e.blobUrl;return(r?(0,u.default)(r).catch(function(){return Promise.resolve(null)}):Promise.resolve(null)).then(function(e){var r=new FormData;if(e){var a=new File([e],"vidiq-screenshot.png",{type:"image/png"});r.append("image",a)}return r.append("message",t),(0,i.default)("api/intercom/image",{method:"POST",body:r,headers:{"Content-Transfer-Encoding":"base64"}})})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("js/utilities/getBlob"),u=a(l)},{"js/requests/vidiq/fetch":55,"js/utilities/getBlob":102}],75:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.channelToken,r=e.vid,a=e.channels;return(0,i.default)("app0/youtube/channels/"+t+"/videos/"+r+"/mass_like",{method:"POST",body:u.default.stringify({channels:a}),headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],76:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.storage,r=e.owner,a=e.id,s=e.body,l=u.default.stringify({storage:t,owner:r,id:a});return(0,i.default)("app2/kv_storage_item?"+l,{method:"PATCH",body:JSON.stringify(s),headers:{"Content-Type":"application/json"}})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],77:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.cid;return(0,s.default)("api/youtube-channels/"+t+"/rankings",{method:"GET"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],78:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){return(0,s.default)("app2/request_session_verification",{method:"POST"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],79:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.data,r=i.default.stringify(t);return(0,u.default)("app2/research?"+r,{method:"GET",headers:{"Content-Type":"application/json"}})};var s=e("qs"),i=a(s),l=e("js/requests/vidiq/fetch"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],80:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.email;return(0,i.default)("app0/user/reset_password",{body:u.default.stringify({email:t,session_id:""}),method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],81:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.urls;return(0,i.default)("app0/shortener/multi",{method:"POST",body:u.default.stringify({urls:t}),headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],82:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.cid;return(0,s.default)("app0/youtube/competitors/followed/"+t,{method:"GET"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],83:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.id;return(0,s.default)("app1/facebook/videos/"+t+"/start_syndication",{method:"POST"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],84:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.body;return(0,s.default)("app1/uploads",{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json"}})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],85:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.storage,r=e.owner,a=e.order,s=e.limit,l=e.start_key,n=u.default.stringify({storage:t,owner:r,order:a,limit:s,start_key:l});return(0,i.default)("app2/kv_storage_query?"+n,{method:"GET",headers:{"Content-Type":"application/json"}})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],86:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.cid;return(0,i.default)("app2/youtube_channel_tracks",{method:"POST",body:u.default.stringify({youtube_channel_id:t}),headers:{"Content-Type":"application/json"}})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],87:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.title,r=e.description,a=e.source,i=e.target;return(0,s.default)("app2/translation",{method:"POST",body:JSON.stringify({title:t,description:r,source_language:a,target_language:i}),headers:{"Content-Type":"application/json"}})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],88:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.query,r=e.country,a=e.language,s=e.limit,l=u.default.stringify({q:t,c:r,l:a,limit:s||11},{indices:!1});return(0,i.default)("app0/trendy?"+l,{method:"GET"})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],89:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.cid,r=e.competitor;return(0,s.default)("app0/youtube/competitors/unfollow/"+t+"/"+r,{method:"GET"})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],90:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.id,r=e.body;return(0,s.default)("app1/facebook/videos/"+t,{method:"PUT",body:JSON.stringify(r),headers:{"Content-Type":"application/json"}})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],91:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.id,r=e.body;return(0,s.default)("app1/videos/"+t,{method:"PUT",body:JSON.stringify(r),headers:{"Content-Type":"application/json"}})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],92:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.storage,r=e.owner,a=e.body,s=u.default.stringify({storage:t,owner:r});return(0,i.default)("app2/kv_storage_item?"+s,{method:"PUT",body:JSON.stringify(a),headers:{"Content-Type":"application/json"}})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],93:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.body;return(0,s.default)("app2/user_settings",{method:"PATCH",body:JSON.stringify(t),headers:{"Content-Type":"application/json"}})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],94:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.payload;return(0,i.default)("app0/vidiq_score/get",{body:u.default.stringify(t),method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],95:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.cid,r=e.startDate,a=u.default.stringify({youtube_channel_id:t,start_date:r});return(0,i.default)("app2/youtube_channel_public_stats?"+a,{method:"GET",headers:{"Content-Type":"application/json"}},function(e,r){if("404"===e||0===r.values.length)return{action:"trackChannel",cid:t}})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],96:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.channelIds,r=i.default.stringify({youtube_channel_ids:t.join(",")});return(0,u.default)("app2/youtube_channel_thumbnails?"+r,{method:"GET",headers:{"Content-Type":"application/json"}})};var s=e("qs"),i=a(s),l=e("js/requests/vidiq/fetch"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],97:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.type,r=e.params,a=u.default.stringify(r);return(0,i.default)("api/proxy/youtube/v3/"+t+"?"+a,{method:"GET",headers:{"Content-Type":"application/json"}})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],98:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.cid,r=e.params,a=u.default.stringify(Object.assign({ids:"channel=="+t},r));return(0,i.default)("api/youtube/analytics?"+a,{method:"GET",headers:{"Content-Type":"application/json"}})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],99:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.body;return(0,s.default)("app2/youtube_seo_score",{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json"}})};var a=e("js/requests/vidiq/fetch"),s=function(e){return e&&e.__esModule?e:{default:e}}(a)},{"js/requests/vidiq/fetch":55}],100:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.vid,r=u.default.stringify({youtube_video_id:t});return(0,i.default)("app2/youtube_video_scores?"+r,{method:"GET"})};var s=e("js/requests/vidiq/fetch"),i=a(s),l=e("qs"),u=a(l)},{"js/requests/vidiq/fetch":55,qs:2}],101:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){if("string"==typeof e)return e[0].toUpperCase()+e.slice(1)}},{}],102:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return new Promise(function(t,r){var a=new XMLHttpRequest;a.open("GET",e,!0),a.responseType="blob",a.onload=function(){if(200===this.status)return t(this.response);r(this.status)},a.send()})}},{}],103:[function(e,t,r){"use strict";function a(){var e="unknown";try{e=chrome.runtime.getManifest().version}catch(e){}return"vch/"+e}Object.defineProperty(r,"__esModule",{value:!0}),r.default=a},{}],104:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return{"Content-Type":e.get("Content-Type")}}},{}],105:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){function e(e){var t=[],r=[],u=void 0,n=void 0;for(u in e)n=e[u],l[u]=n,i[n]=u,t.push(n),r.push(u);a=new RegExp("("+t.join("|")+")","g"),s=new RegExp("("+r.join("|")+"|&#[0-9]{1,5};)","g")}function t(e){var t=function(e,t){return i[t]};return e?String(e).replace(a,t):e}function r(e){var t=function(e,t){return t in l?l[t]:String.fromCharCode(parseInt(t.substr(2),10))};return e?String(e).replace(s,t):e}var a=void 0,s=void 0,i=void 0,l=void 0;return function(){i={},l={},e({"&":"&",">":">","<":"<",""":'"',"'":"'"})}(),{htmlEncode:t,htmlDecode:r}}()},{}],106:[function(e,t,r){"use strict";function a(e,t){var r=(t||[]).length>0,a=[e].concat(t||[]).join("-"),s=l[a],i=l[e],u=s;if(r&&i&&i.match(/\$/)&&!s&&(u=i.replace(/\$1/,t[0]).replace(/\$2/,t[1]).replace(/\$3/,t[2]).replace(/\$4/,t[3]),l[a]=u),!u){if(!(u=chrome.i18n.getMessage(e,t)))return"["+e+"]";l[e]=u}return u}Object.defineProperty(r,"__esModule",{value:!0});var s=e("js/utilities/capitalize"),i=function(e){return e&&e.__esModule?e:{default:e}}(s),l={};a.lower=function(e,t){return a(e,t).toLowerCase()},a.upper=function(e,t){return a(e,t).toUpperCase()},a.cap=function(e,t){return(0,i.default)(a(e,t))},a.exists=function(e){return!!chrome.i18n.getMessage(e)},a.tryCountryOrLang=function(e){var t=e.replace(/[^A-Za-z0-9]/g,""),r=e;return["lang","country"].forEach(function(e){a.exists(e+t)&&(r=a(e+t))}),r},r.default=a},{"js/utilities/capitalize":101}],107:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return(e||"").replace(/<br( \/)?>/g,"\n").replace(/<[^>]+>/g,"")}},{}]},{},[6]);