You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
sveak-chrome-extension/popup/dist/js/app.9bdde6bd.js

2 lines
29 KiB

(function(a){function e(e){for(var t,s,o=e[0],l=e[1],u=e[2],k=0,d=[];k<o.length;k++)s=o[k],Object.prototype.hasOwnProperty.call(n,s)&&n[s]&&d.push(n[s][0]),n[s]=0;for(t in l)Object.prototype.hasOwnProperty.call(l,t)&&(a[t]=l[t]);c&&c(e);while(d.length)d.shift()();return r.push.apply(r,u||[]),i()}function i(){for(var a,e=0;e<r.length;e++){for(var i=r[e],t=!0,o=1;o<i.length;o++){var l=i[o];0!==n[l]&&(t=!1)}t&&(r.splice(e--,1),a=s(s.s=i[0]))}return a}var t={},n={app:0},r=[];function s(e){if(t[e])return t[e].exports;var i=t[e]={i:e,l:!1,exports:{}};return a[e].call(i.exports,i,i.exports,s),i.l=!0,i.exports}s.m=a,s.c=t,s.d=function(a,e,i){s.o(a,e)||Object.defineProperty(a,e,{enumerable:!0,get:i})},s.r=function(a){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},s.t=function(a,e){if(1&e&&(a=s(a)),8&e)return a;if(4&e&&"object"===typeof a&&a&&a.__esModule)return a;var i=Object.create(null);if(s.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:a}),2&e&&"string"!=typeof a)for(var t in a)s.d(i,t,function(e){return a[e]}.bind(null,t));return i},s.n=function(a){var e=a&&a.__esModule?function(){return a["default"]}:function(){return a};return s.d(e,"a",e),e},s.o=function(a,e){return Object.prototype.hasOwnProperty.call(a,e)},s.p="/";var o=window["webpackJsonp"]=window["webpackJsonp"]||[],l=o.push.bind(o);o.push=e,o=o.slice();for(var u=0;u<o.length;u++)e(o[u]);var c=l;r.push([0,"chunk-vendors"]),i()})({0:function(a,e,i){a.exports=i("cd49")},"034f":function(a,e,i){"use strict";i("85ec")},"620b":function(a,e,i){},"85ec":function(a,e,i){},aa64:function(a,e,i){"use strict";i("620b")},cd49:function(a,e,i){"use strict";i.r(e);i("e260"),i("e6cf"),i("cca6"),i("a79d");var t,n,r=i("2b0e"),s=function(){var a=this,e=a.$createElement,i=a._self._c||e;return i("div",{attrs:{id:"app"}},[i("Main",{attrs:{msg:"Welcome to Your Vue.js + TypeScript App"}})],1)},o=[],l=i("d4ec"),u=i("262e"),c=i("2caf"),k=i("9ab4"),d=i("1b40"),m=function(){var a=this,e=a.$createElement,i=a._self._c||e;return i("div",{staticClass:"container"},[i("div",{staticClass:"wrapper"},[i("div",{staticClass:"tab-panel"},[i("div",{staticClass:"tab-panel__item",class:{"tab-panel__item_active":"person"===a.tab},on:{click:function(e){a.tab="person"}}},[a._v("Person ")]),i("div",{staticClass:"tab-panel__item",class:{"tab-panel__item_active":"ember"===a.tab},on:{click:function(e){a.tab="ember"}}},[a._v(" Ember ")])]),i("div",{staticClass:"tab-page"},[i("div",{staticClass:"tab-page__item",class:{"tab-page__item_show":"person"===a.tab}},[i("div",{staticClass:"form-row"},[i("div",{staticClass:"form-row__item"},[i("input",{directives:[{name:"model",rawName:"v-model",value:a.person.birthday.day,expression:"person.birthday.day"}],staticClass:"form-row__item-input",attrs:{title:"Day",type:"text",placeholder:"Day"},domProps:{value:a.person.birthday.day},on:{input:function(e){e.target.composing||a.$set(a.person.birthday,"day",e.target.value)}}})]),i("div",{staticClass:"form-row__item"},[i("select",{directives:[{name:"model",rawName:"v-model",value:a.person.birthday.month,expression:"person.birthday.month"}],attrs:{title:"Month"},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(a){return a.selected})).map((function(a){var e="_value"in a?a._value:a.value;return e}));a.$set(a.person.birthday,"month",e.target.multiple?i:i[0])}}},a._l(a.allowedMonths,(function(e){return i("option",{domProps:{value:e}},[a._v(a._s(e))])})),0)]),i("div",{staticClass:"form-row__item"},[i("select",{directives:[{name:"model",rawName:"v-model",value:a.person.birthday.year,expression:"person.birthday.year"}],attrs:{title:"Year"},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(a){return a.selected})).map((function(a){var e="_value"in a?a._value:a.value;return e}));a.$set(a.person.birthday,"year",e.target.multiple?i:i[0])}}},a._l(a.allowedYears,(function(e){return i("option",{domProps:{value:e}},[a._v(a._s(e))])})),0)])]),i("div",{staticClass:"form-row"},[i("div",{staticClass:"form-row__item"},[i("label",[a._v(" Country "),i("select",{directives:[{name:"model",rawName:"v-model",value:a.person.country,expression:"person.country"}],on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(a){return a.selected})).map((function(a){var e="_value"in a?a._value:a.value;return e}));a.$set(a.person,"country",e.target.multiple?i:i[0])}}},[i("option",{attrs:{value:"ee"}},[a._v("Estonia")]),i("option",{attrs:{value:"lt"}},[a._v("Lithuania")])])])]),i("div",{staticClass:"form-row__item"},[i("label",[a._v(" Gender "),i("select",{directives:[{name:"model",rawName:"v-model",value:a.person.gender,expression:"person.gender"}],on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(a){return a.selected})).map((function(a){var e="_value"in a?a._value:a.value;return e}));a.$set(a.person,"gender",e.target.multiple?i:i[0])}}},[i("option",{attrs:{value:"male"}},[a._v("Male")]),i("option",{attrs:{value:"female"}},[a._v("Female")]),i("option",{attrs:{value:"random"}},[a._v("Random")])])])])]),i("div",{staticClass:"form-row"},[i("div",{staticClass:"form-row__item copy-button",attrs:{"data-clipboard-text":"text1"},on:{click:a.autocomplete}},[i("button",[a._v("Autocomplete")])]),i("div",{staticClass:"form-row__item copy-button",attrs:{"data-clipboard-text":"text2"},on:{click:a.copyPersonalId}},[i("button",[a._v("PersonalId")])]),i("div",{staticClass:"form-row__item copy-button",attrs:{"data-clipboard-text":"text3"},on:{click:a.copyIban}},[i("button",[a._v("Iban")])]),i("div",{staticClass:"form-row__item copy-button",attrs:{"data-clipboard-text":"text3"},on:{click:a.copyPhone}},[i("button",[a._v("Phone")])])])]),i("div",{staticClass:"tab-page__item",class:{"tab-page__item_show":"ember"===a.tab}},[i("div",{staticClass:"form-row"},[i("div",{staticClass:"form-row__item"},[i("label",{attrs:{for:"autocleaner"}},[a._v(" Use notification cleaner "),i("input",{directives:[{name:"model",rawName:"v-model",value:a.isAutoCleaner,expression:"isAutoCleaner"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(a.isAutoCleaner)?a._i(a.isAutoCleaner,null)>-1:a.isAutoCleaner},on:{change:[function(e){var i=a.isAutoCleaner,t=e.target,n=!!t.checked;if(Array.isArray(i)){var r=null,s=a._i(i,r);t.checked?s<0&&(a.isAutoCleaner=i.concat([r])):s>-1&&(a.isAutoCleaner=i.slice(0,s).concat(i.slice(s+1)))}else a.isAutoCleaner=n},a.onChangeAutoCleaner]}})])])]),i("div",{staticClass:"form-row"},[i("div",{staticClass:"form-row__item"},[i("button",{on:{click:a.cleanNotifications}},[a._v("Clean")])])])])]),i("div",{staticClass:"memory-panel"},[a._v("Memory: "+a._s(a.copyText))])])])},v=[],h=i("bee2"),g=(i("d3b7"),i("25f0"),i("4d90"),function(){function a(){Object(l["a"])(this,a)}return Object(h["a"])(a,[{key:"generate",value:function(a,e){return Math.floor(Math.random()*(e-a+1)+a)}}]),a}()),y=new g;(function(a){a["ESTONIA"]="ee",a["LITHUANIA"]="lt",a["POLAND"]="pl"})(t||(t={})),function(a){a["MALE"]="male",a["FEMALE"]="female",a["RANDOM"]="random"}(n||(n={}));var p,f=function(){function a(){Object(l["a"])(this,a)}return Object(h["a"])(a,[{key:"generate",value:function(a){var e=this.getYearPart(a.birthday.year),i=this.getMonthPart(a.birthday.month),t=this.getDayPart(a.birthday.day),n=this.getIdNumPart(),r=this.getGenderPart(a.country,a.gender),s=(this.getControlSum(a.country,e,i,t,n,r),this.getChecksum(r+e+i+t+n));return r+e+i+t+n+s}},{key:"getYearPart",value:function(a){if(!a){var e=(new Date).getFullYear();a=BigInt(y.generate(e-25,e-55))}return String(a).substring(2,4)}},{key:"getMonthPart",value:function(a){return a||(a=BigInt(y.generate(1,12))),a.toString().padStart(2,"0")}},{key:"getDayPart",value:function(a){return a||(a=BigInt(y.generate(1,28))),a.toString().padStart(2,"0")}},{key:"getIdNumPart",value:function(){return y.generate(1,999).toString().padStart(3,"0")}},{key:"getGenderPart",value:function(a,e){switch(console.log(a,e),a){case t.POLAND:return console.log(a),n.MALE===e?String(2*y.generate(1,5)-1):String(2*y.generate(1,4));default:return console.log(e,n.MALE===e),n.MALE===e?"3":"4"}}},{key:"getControlSum",value:function(a,e,i,n,r,s){var o,l;if(t.POLAND===a)return l=+(o=e+i+n+r+s)[0]+3*+o[1]+7*+o[2]+9*+o[3]+ +o[4]+3*+o[5]+7*+o[6]+9*+o[7]+ +o[8]+3*+o[9],0!==(l%=10)&&(l=10-l),l=String(l),l;var u=0,c=0;o=s+e+i+n+r;for(var k=1,d=3,m=0;m<10;m++){var v=+o[m];v*k,v*d,10===++k&&(k=1),10===++d&&(d=1)}return c%=11,(u%=11)<10?String(u):String(c<10?c:0)}},{key:"getChecksum",value:function(a){var e,i,t=1,n=3,r=0,s=0;for(e=0;e<10;e++)i=parseInt(a[e]),r+=i*t,s+=i*n,t++,10===t&&(t=1),n++,10===n&&(n=1);return r%=11,s%=11,r<10?r:s<10?s:0}}]),a}(),b=new f,A=function(){function a(){Object(l["a"])(this,a)}return Object(h["a"])(a,[{key:"generate",value:function(a){var e=this.getBankAccount(a),i=this.getNationalCheckDigit(e),n=this.getBankCode(a);switch(a){case t.ESTONIA:return a.toUpperCase()+this.getIbanCheckDigits(n+e+i+"141400")+n+e+i;case t.LITHUANIA:return a.toUpperCase()+this.getIbanCheckDigits(n+e+"212900")+n+e;default:return a.toUpperCase()+this.getIbanCheckDigits(n+e+"252100")+n+e}}},{key:"getBankAccount",value:function(a){var e,i=BigInt(97),n=BigInt((e=t.POLAND===a?Math.floor(9999999*Math.random()).toString().padStart(7,"0")+Math.floor(9999999*Math.random()).toString().padStart(7,"0"):Math.floor(99999*Math.random()).toString().padStart(5,"0")+Math.floor(9999*Math.random()).toString().padStart(4,"0"))+"00");return e+String(i-n%i).padStart(2,"0")}},{key:"getNationalCheckDigit",value:function(a){for(var e=[7,1,3,7,1,3,7,1,3,7,1,3,7,1,3,7,1,3,7],i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0,n=a.length,r=18,s=n-1;s>-1;s--)i[r]=e[r]*+a[s],r--;r=18;for(var o=n-1;o>-1;o--)t-=-i[r],r--;return String(t%10!==0?10-t%10:0)}},{key:"getBankCode",value:function(a){var e=["16000003","11602231","10301612","18900002","15002240","19401018","19101152"],i=["2200","1010","3300","7700","1700","4204"],n=["20900","72900","74000","40100","21200","72300","21700","21400","70440","71800","73000"];switch(a){case t.POLAND:return e[Math.floor(Math.random()*e.length)];case t.ESTONIA:return i[Math.floor(Math.random()*i.length)];default:return n[Math.floor(Math.random()*n.length)]}}},{key:"getIbanCheckDigits",value:function(a){return String(BigInt("98")-BigInt(a)%BigInt("97")).padStart(2,"0")}}]),a}(),w=new A,M=function(){function a(){Object(l["a"])(this,a)}return Object(h["a"])(a,[{key:"generate",value:function(a){switch(a){case t.POLAND:return this.getPlPhoneNum();case t.LITHUANIA:return this.getLtPhoneNum();default:return this.getEePhoneNum()}}},{key:"getPlPhoneNum",value:function(){for(var a=["45","50","51","53","57","60","66","69","72","73","78","79","88"],e=this.getBasePhone(),i=0;i<=8;i++){for(var t="",n=i.toString(),r=0;r<=6;r++)t+=n;e===t&&(e=e.substring(0,6)+"9")}return a[Math.floor(Math.random()*a.length)]+e}},{key:"getLtPhoneNum",value:function(){return"6"+this.getBasePhone()}},{key:"getEePhoneNum",value:function(){return"5"+this.getBasePhone()}},{key:"getBasePhone",value:function(){return Math.floor(9999999*Math.random()).toString().padStart(7,"0")}}]),a}(),z=new M,B=function(){function a(){Object(l["a"])(this,a),this.plMaleFirstNames=["Adamek","Adaś","Aleksander","Alfons","Alojzy","Ambroży","Andrzej","Antoni","Arkadiusz","Artur","Baltazar","Barnaba","Bartek","Bartłomiej","Bartosz","Bernard","Biernat","Bogumił","Bogurad","Bogusław","Boguś","Bolek","Bolesław","Bonawentura","Bonifacy","Borys","Bronisław","Cezary","Cyryl","Czesław","Damian","Daniel","Dariusz","Dawid","Domarad","Domaradz","Dominik","Dzierżykraj","Edward","Emil","Eryk","Ezdrasz","Fabian","Filip","Franciszek","Gabriel","Gniewosz","Gocław","Gracjan","Grzegorz","Grzesiek","Grześ","Gustaw","Habakuk","Henryk","Hubert","Igor","Igorek","Ildefons","Ireneusz","Iwan","Izajasz","Jacek","Jakub","Jan","Janusz","Jarosław","Jaruś","Jasiek","Jerzy","Jonatan","Józef","Judasz","Juliusz","Jurek","Juruś","Justyn","Kacper","Kamil","Karol","Kazimierz","Klaudiusz","Kochan","Konrad","Krystian","Krzysztof","Krzyś","Ksawery","Lasota","Lech","Lesław","Leszek","Lew","Lucek","Lucjan","Lucjusz","Ludwik","Łukasz","Maciej","Marcel","Marcin","Marek","Marian","Mariusz","Mateusz","Maurycy","Michał","Michałek","Michaś","Mieczysław","Mieszko","Mietek","Mikołaj","Miłosz","Mirosław","Nawoj","Niemir","Nierod","Norbert","Olaf","Oleg","Olek","Olgierd","Oliwer","Oliwier","Oskar","Paweł","Pawełek","Piotr","Piotrek","Piotruś","Poniat","Przemysław","Racibor","Racław","Radek","Radosław","Radzim","Radzisław","Rafał","Recław","Remigiusz","Robert","Roman","Romek","Ryszard","Ryś","Sambor","Sebastian","Sergiusz","Seweryn","Sławomir","Stanisław","Staś","Stefan","Sulejman","Sulich","Sylwester","Szczepan","Szczęsny","Szymek","Szymon","Szymuś","Tadeusz","Tomasz","Tytus","Ulryk","Wacław","Waldek","Waldemar","Waleriusz","Wawrzyniec","Wiesław","Wiktor","Wincenty","Wit","Witek","Witold","Witosław","Władysław","Włodek","Włodzimierz","Wojciech","Wojcik","Wojsław","Wojtas","Wojtasz","Wojtek","Wojtuś","Wszerad","Zachariasz","Zbigniew","Zbylut","Zbyszek","Zdzisław","Zygmunt","Zyguś","Żegota"],this.plFemaleFirstNames=["Agata","Agnieszka","Agusia","Aleksandra","Alicja","Amanda","Anastazja","Aneta","Ania","Anka","Anna","Apolonia","Asia","Barbara","Basia","Beata","Benedykta","Bernadeta","Bogdana","Bogumiła","Bolesława","Bożena","Bożenka","Bronisława","Brygida","Cecylia","Celestyna","Czesława","Dagmara","Danuta","Dobrosława","Dominika","Dorota","Dorotka","Edwarda","Edyta","Ela","Eleonora","Elżbieta","Emilia","Emilka","Ewa","Ewelina","Ewka","Ewunia","Franciszka","Gabriela","Genowefa","Gosia","Grażyna","Halina","Hania","Hanna","Helena","Henryka","Hildegarda","Honorata","Iga","Irena","Iwana","Iwona","Iwonka","Izabela","Jadwiga","Jadzia","Jagoda","Janina","Joanna","Joasia","Jolanta","Judyta","Julia","Justyna","Kamila","Karolina","Kasia","Katarzyna","Kazimiera","Klara","Klaudia","Klotylda","Krysia","Krystyna","Kunegunda","Lena","Łucja","Magda","Magdalena","Malina","Małgorzata","Maria","Marianna","Mariola","Mariolka","Marta","Martyna","Marycha","Maryla","Marylka","Marysia","Marzena","Matylda","Melania","Michalina","Monika","Nadia","Natalia","Oliwia","Patrycja","Paulina","Renata","Róża","Stanisława","Stefania","Sylwia","Szarlota","Teresa","Urszula","Wanda","Weronika","Wiesława","Wiktoria","Wioleta","Zofia","Zuzanna","Żaneta"],this.ltMaleFirstNames=["Adolfas","Aivaras","Albinas","Aleksandras","Alfonsas","Alfredas","Algimantas","Algirdas ","Algis","Alvydas","Andrius","Antanas","Antons","Arnoldas","Arturas","Arunas","Arvydas","Audrius","Aurelijus","Aurimas","Balys","Benas","Benjaminas","Bernardas","Bronislovas","Bronius","Ceslovas","Dainius","Danas","Darius","Daumantas","Deimantas","Deividas","Domantas","Donatas","Edgaras","Edmundas","Eduardas","Edvardas","Edvinas","Egidijus","Eimantas","Ernestas","Eugenijus","Evaldas","Feliksas","Gediminas","Giedrius","Gintaras","Gintautas","Henrikas","Ignas","Isakas","Jeronimas","Jokubas","Jonas","Juozapas","Juozas","Jurgis","Justas","Justinas","Karolis","Kazimieras","Kazys","Kestutis","Laurynas","Leonardas","Leonas","Linas","Lionginas","Liudvikas","Lukas","Mantas","Marijonas","Marius ","Markas","Martynas","Mikalojus","Mindaugas ","Modestas","Mykolas","Nerijus","Osvaldas","Ovidijus","Paulius","Petras","Povilas","Pranas","Raimundas","Ramunas","Remigijus","Ricardas","Rimantas","Rimas","Rimvydas","Robertas","Rolandas","Romanas","Romualdas","Rytis","Sarunas","Saulius","Sigitas","Silvestras","Simas","Simonas","Stasys","Steponas","Svajunas","Tadas ","Tauras","Tautvilas","Teodoras","Tomas","Urbonas","Vaidas","Vaidotas ","Valdas","Valdemaras","Vidmantas","Viktoras","Vincas","Virgilijus","Virginijus","Vladas","Vygantas","Vytautas","Vytenis ","Zenonas","Zigmas","Zydrunas","Zygimantas"],this.ltFemaleFirstNames=["Agne","Akvile","Aldona","Aukse","Ausra","Ausrine","Austeja","Austra","Biruta","Brigita","Daina","Dalia","Danguole","Danute","Deimante","Diana","Edita","Egle","Elena","Eugenija","Gabija","Gabriele","Genovaite","Gintare","Grazina","Ieva","Indre","Inga","Ingrida","Irena","Irene","Irina","Jolanta","Jurate","Jurga","Justina","Kristina","Laima","Laura","Lilija","Lina","Loreta","Magdalena","Marija","Milda","Monika","Nijole","Olga","Ona","Paulina","Raminta","Ramune","Rasa","Ruta","Salomeja","Sigita","Silvija","Sofija","Sonata","Ugne","Urte","Vaida","Vaiva","Vanda","Veronica","Viktorija","Vilija","Vilma","Violeta","Virginija","Vitalija","Zita","Zivile"],this.eeMaleFirstNames=["Aadu","Aarne","Ado","Ago","Ain","Aivar","Aksel","Alar","Albert","Allar","Alo","Andreas","Andres","Andrus","Anti","Anto","Anton","Ants","Ardo","Argo","Arno","Arnold","Artur","Arvi","Arvo","Asko","August","Avo","Eduard","Eerik","Eero","Egon","Eiko","Einar","Eino","Elmar","Elmo","Emil","Endel","Enn","Erki","Erkki","Erni","Ervin","Evald","Georg","Gert","Gunnar","Gustav","Hannes","Harald","Harri","Heiki","Heino","Hendrik","Henrik","Hillar","Illimar","Ilmar","Imre","Indrek","Ingmar","Innar","Ivar","Ivo","Jaagup","Jaak","Jaan","Jaanus","Jan","Janar","Johannes","Joonas","Joosep","Juhan","Juho","Jürgen","Jüri","Kaarel","Kaido","Kalev","Kaljo","Kalju","Kalle","Kalmer","Kaspar","Kasper","Kert","Koit","Kristjan","Kristo","Lauri","Laurits","Leho","Lembit","Lennart","Madis","Magnus","Mait","Marek","Margus","Marko","Märt","Mart","Martin","Mati","Mattias","Meelis","Mihkel","Mikk","Neeme","Niilo","Olari","Olev","Oscar","Osvald","Ott","Paavo","Paul","Peep","Peeter","Priidu","Priit","Ragnar","Raimo","Rain","Rainer","Rait","Raivo","Rasmus","Raul","Rauno","Rein","Riho","Risto","Robert","Roland","Sander","Siim","Silver","Sten","Sulev","Sven","Taavi","Tanel","Tarmo","Tauno","Teet","Tiit","Timo","Toivo","Tõnis","Tõnu","Toomas","Uku","Ülar","Üllar","Ülo","Ulrik","Uno","Urmas","Uuno","Vahur","Vaino","Valdo","Vallo","Valter","Veiko","Vello","Viljar","Viljo","Villem","Villu","Voldemar"],this.eeFemaleFirstNames=["Agnes","Aili","Aino","Airi","Alma","Anna","Anne","Anneli","Anni","Annika","Anu","Asta","Astrid","Birgit","Dagmar","Eeva","Elina","Ellen","Elli","Elsa","Ene","Epp","Erika","Erna","Ester","Eva","Eve","Evelin","Evi","Gerli","Getter","Grete","Heidi","Hele","Helene","Helge","Heli","Helmi","Herta","Hilda","Hilja","Ida","Iiris","Ilse","Imbi","Ines","Inge","Ingrid","Ita","Jaana","Johanna","Kadri","Kaia","Kaija","Kaili","Kaire","Kaisa","Kaja","Karin","Karoliina","Katariina","Kätlin","Katrin","Kersti","Ketlin","Kirsti","Klaudia","Koidu","Krista","Kristel","Kristiina","Kulli","Laine","Laura","Lenna","Liina","Liis","Liisa","Liisi","Lilli","Linda","Lotte","Maarja","Maia","Mare","Maret","Margit","Mari","Maria","Meeli","Merike","Merle","Meta","Miina","Minna","Mirjam","Monika","Piia","Piret","Raine","Riin","Riina","Rita","Saara","Salme","Selma","Signe","Silvia","Sirje","Terje","Tiina","Tiiu","Triin","Tuuli","Ülle","Ulvi","Urve","Valve","Vilma","Virve"]}return Object(h["a"])(a,[{key:"generate",value:function(a,e){switch(a){case t.POLAND:return n.MALE===e?this.plMaleFirstNames[Math.floor(Math.random()*this.plMaleFirstNames.length)]:this.plFemaleFirstNames[Math.floor(Math.random()*this.plFemaleFirstNames.length)];case t.LITHUANIA:return n.MALE===e?this.ltMaleFirstNames[Math.floor(Math.random()*this.ltMaleFirstNames.length)]:this.ltFemaleFirstNames[Math.floor(Math.random()*this.ltFemaleFirstNames.length)];default:return n.MALE===e?this.eeMaleFirstNames[Math.floor(Math.random()*this.eeMaleFirstNames.length)]:this.eeFemaleFirstNames[Math.floor(Math.random()*this.eeFemaleFirstNames.length)]}}}]),a}(),S=new B,j=function(){function a(){Object(l["a"])(this,a),this.plLastNames=["Abgarowicz","Abrahamowicz","Abramczyk","Abramowicz","Adamczak","Adamczyk","Adamiak","Adamiec","Adamowski","Adamski","Aleksandrowicz","Ambroziak","Anczok","Andrzejewski","Ankwicz","Antek","Araszkiewicz","Babiuch","Bachleda","Baginski","Bąk","Bakula","Balcerzak","Balicki","Banasiak","Baranowska","Baranowski","Barański","Bargiel","Bartnicki","Barton","Bartosiewicz","Bednarek","Bednarski","Beksiński","Beres","Berezovsky","Białas","Bialik","Białkowski","Biały","Bieganski","Bielawski","Bielecki","Bieliński","Bielski","Bierut","Biesiadecki","Bieszczad","Biskupski","Błaszczyk","Blechacz","Bobak","Bobrowski","Bochenek","Bogusz","Bojarski","Boniecki","Bonikowski","Bonk","Borkowski","Borowicz","Borowiec","Borowiecki","Borowski","Bortkiewicz","Borysewicz","Borzym","Bratkowski","Brodnicki","Brodowski","Brodzki","Bronikowski","Bronowski","Brózda","Brożyna","Brzechwa","Brzeziński","Brzozowski","Brzyski","Buczkowski","Bujak","Bujwid","Bukowski","Burzyński","Butkiewicz","Bystron","Bytnar","Cebertowicz","Chadaj","Chalupa","Chałupa","Chlapowski","Chłapowski","Chmara","Chmiel","Chmielewski","Chmielowski","Chojnacki","Cholewa","Chorążycki","Chrobak","Chrzanowski","Cichocki","Cichy","Ciechanowski","Cieplak","Ciesielski","Cieśla","Cieślak","Cieślar","Cieślik","Ciołek","Ciszewski","Cuch","Cukier","Cybulka","Cybulska","Cybulski","Cygan","Cyrankiewicz","Czachowski","Czajkowski","Czaplic","Czapski","Czarnecki","Czarniecki","Czarny","Czechowicz","Czerniak","Czerwonka","Czyż","Czyżewski","Dąbrowski","Danilowicz","Dawidowicz","Dawidowska","Dawidowski","Dębicki","Dębski","Dembski","Długosz","Dobrowolski","Dolniak","Domagała","Dombrovsky","Dombrowski","Drozd","Dryja","Drzyzga","Duczyński","Dudek","Dunajewski","Dunin","Dus","Dzięcioł","Dziedzic","Dzikowski","Dziuba","Fedorowicz","Filipowicz","Flatau","Frąckowiak","Frankowski","Gałecki","Galecki","Gąsienica","Gąsior","Geremek","Giedroyć","Gielgud","Gierczak","Gierek","Giertych","Gieysztor","Ginter","Głowacki","Gminski","Godlewski","Gojowczyk","Gołąb","Golomb","Gomułka","Górski","Grabarczyk","Grabowski","Graczyk","Grinevsky","Grochowiak","Grochowski","Gronkowski","Grudziński","Grunitzky","Gruszka","Grycz","Grzyb","Grzybowski","Grzywacz","Gudowicz"],this.ltLastNames=["Abramavicius","Abromavicius","Adomaitis","Aleliunas","Andrijauskas","Andriukaitis","Andriuskevicius","Andrulis","Antanavicius","Arlauskas","Arlauskiene","Astrauskas","Baciulis","Bagdonas","Bakaitis","Balciunas","Balsys","Baranauskas","Bartkevicius","Bartkus","Bartulis","Basanavicius","Berankis","Bernotas","Brazauskas","Brazdauskis","Briedis","Budrys","Butkevicius","Butkus","Butrym","Cesnauskis","Dagys","Daukantaite","Daukantas","Daukantiene","Dauksa","Daumantas","Dirgela","Donelaitis","Garsva","Gerulaitis","Giedraitis","Grazulis","Grinius","Grybauskas","Gudaitis","Gustaitis","Gylys","Ilgauskas","Ivanauskas","Jakubenas","Jankauskas","Jankunas","Janonis","Jasaitis","Jasikevicius","Javtokas","Jovaisa","Juknevicius","Jurevicius","Kacinskas","Kairys","Kalinauskas","Kaminskas","Karnisovas","Karosas","Karvelis","Katelynas","Kaukenas","Kavaliauskas","Kiedis","Kleiza","Klimaitis","Klimas","Klimavicius","Kubilius","Kudirka","Kundrotas","Kuprevicius","Kuris","Laurinavicius","Leonas","Liepa","Lozoraitis","Lupeikis","Macijauskas","Maciulis","Mackevicius","Malinauskas","Mamontovas","Marcinkeviciene","Marcinkevicius","Marcinkeviciute","Marciulionis","Markevicius","Martinaitis","Masiulis","Matonis","Matulevicius","Mazeika","Mekas","Mickevicius","Mikenas","Mikutavicius","Miskinis","Motiejunas","Navickas","Noreika","Norkus","Novickis","Pakalniskis","Paleckis","Palubinskas","Paulauskas","Petkevicius","Petraitis","Petrauskas","Petrulis","Pleckaitis","Pocius","Poskus","Pozela","Prudius","Rackauskas","Ramanauskas","Rimas","Rimkus","Rimsa","Sabonis","Sabutis","Sakalauskas","Saltenis","Saulys","Savickas","Sernas","Sidlauskas","Simkus","Simonavicius","Sinkevicius","Skema","Smetona","Songaila","Stankevicius","Stauskas","Steponavicius","Stonkus","Stonys","Sulskis","Sutkus","Svedas","Urbonas","Urbonavicius","Vaisvila","Vaitkevicius","Vaitkus","Valaitis","Valantinas","Valinskas","Vanagas","Varnas","Vasiliauskas","Venclova","Venskus","Vilkaitis","Vilkas","Visinskis","Vysniauskas","Zemaitis","Ziemelis","Zikaras","Zilinskas","Zukauskas"],this.eeLastNames=["Aare","Aarma","Aas","Aasmäe","Aav","Aavik","Allik","Alver","Aru","Eenpalu","Eensaar","Eskola","Härma","Ilves","Jääger","Jakobson","Jänes","Järve","Järvis","Jõgi","Kaaleste","Kaasik","Käbin","Kalda","Kaljulaid","Kaljurand","Kallas","Kallaste","Kangro","Kangur","Kapp","Kärner","Kask","Käsper","Kass","Keres","Keskküla","Kesküla","Kikkas","Kingsepp","Kirs","Kirsipuu","Kivi","Klavan","Kõiv","Kokk","Kontaveit","Koppel","Korjus","Kotkas","Kreek","Kross","Kruus","Kukk","Kütt","Kuusik","Kuusk","Laar","Laht","Lass","Laur","Laurits","Lemsalu","Lepik","Lepmets","Lepp","Levandi","Liiv","Lill","Lindmaa","Linna","Lipp","Lippmaa","Lõhmus","Loo","Lõoke","Luik","Luts","Mägi","Mälk","Mänd","Männik","Margiste","Mark","Masing","Mets","Must","Nõmmik","Nurme","Nurmsalu","Oja","Olesk","Öpik","Orav","Pääsuke","Padar","Pärn","Peebo","Peetre","Pihlak","Piho","Piip","Põder","Põld","Poska","Puhvel","Pütsep","Puusepp","Raag","Rand","Raud","Raudsepp","Rebane","Reek","Reinsalu","Rooba","Roolaid","Rootare","Rummo","Rüütel","Rüütli","Saar","Salumäe","Sepp","Sibul","Siimar","Simm","Sirel","Sisask","Sokk","Soosaar","Susi","Talts","Talvik","Tamm","Tamme","Tarvas","Teder","Toom","Toome","Toots","Vaher","Vahtra","Vaino","Vainola","Välbe","Valdma","Väljas","Valk","Vesik","Veski","Viiding","Visnapuu","Vitsut","Võigemast","Võsu"]}return Object(h["a"])(a,[{key:"generate",value:function(a){switch(a){case t.POLAND:return this.plLastNames[Math.floor(Math.random()*this.plLastNames.length)];case t.LITHUANIA:return this.ltLastNames[Math.floor(Math.random()*this.ltLastNames.length)];default:return this.eeLastNames[Math.floor(Math.random()*this.eeLastNames.length)]}}}]),a}(),C=new j,K=function a(){Object(l["a"])(this,a),this.day=null,this.month=null,this.year=null},N=function a(){Object(l["a"])(this,a),this.birthday=new K,this.country=t.ESTONIA,this.gender=n.RANDOM},P=i("4eb5"),L=i.n(P);(function(a){a["PERSONAL_ID"]="personal_id",a["IBAN"]="iban",a["PHONE"]="phone",a["FIRST_NAME"]="first_name",a["LAST_NAME"]="last_name",a["PASSWORD"]="password"})(p||(p={}));var _,E=function(){function a(){Object(l["a"])(this,a)}return Object(h["a"])(a,[{key:"send",value:function(a){"undefined"!==typeof chrome&&chrome.tabs.query({active:!0,currentWindow:!0},(function(e){chrome.tabs.sendMessage(e[0].id,a,(function(a){console.log(a)}))}))}}]),a}(),I=new E;(function(a){a["INSERT"]="insert",a["CLEAN_NOTIFICATION"]="clean_notification"})(_||(_={}));var D=function(){function a(){Object(l["a"])(this,a)}return Object(h["a"])(a,[{key:"enable",value:function(){chrome.storage.sync.set({"need-clean-notification":!0},(function(){console.log("need-clean-notification: "+!0)}))}},{key:"disable",value:function(){chrome.storage.sync.set({"need-clean-notification":!1},(function(){console.log("need-clean-notification: "+!1)}))}},{key:"state",value:function(){return new Promise((function(a,e){chrome.storage.sync.get(["need-clean-notification"],(function(e){console.log("Value currently is "+e["need-clean-notification"]),a(e["need-clean-notification"]||!1)}))}))}}]),a}(),O=new D;d["b"].use(L.a);var R=function(a){Object(u["a"])(i,a);var e=Object(c["a"])(i);function i(){var a;return Object(l["a"])(this,i),a=e.apply(this,arguments),a.tab="person",a.person=new N,a.isAutoCleaner=!1,a.copyText="",a}return Object(h["a"])(i,[{key:"allowedMonths",get:function(){for(var a=[],e=1;e<=12;e++)a.push(e);return a}},{key:"allowedYears",get:function(){for(var a=[],e=(new Date).getFullYear(),i=1960;i<=e;i++)a.push(i);return a}},{key:"mounted",value:function(){var a=this;O.state().then((function(e){a.isAutoCleaner=e,console.log("this.isAutoCleaner = "+e)}))}},{key:"copyPersonalId",value:function(){var a=b.generate(this.person);this.copy(a)}},{key:"copyIban",value:function(){var a=w.generate(this.person.country);this.copy(a)}},{key:"copyPhone",value:function(){var a=z.generate(this.person.country);this.copy(a)}},{key:"copy",value:function(a){this.copyText=a,this.$copyText(a)}},{key:"autocomplete",value:function(){var a=b.generate(this.person);this.insertValueToNode(p.PERSONAL_ID,a);var e=w.generate(this.person.country);this.insertValueToNode(p.IBAN,e);var i=z.generate(this.person.country);this.insertValueToNode(p.PHONE,i);var t=S.generate(this.person.country,this.person.gender);this.insertValueToNode(p.FIRST_NAME,t);var n=C.generate(this.person.country);this.insertValueToNode(p.LAST_NAME,n)}},{key:"insertValueToNode",value:function(a,e){I.send({action:_.INSERT,target:a,value:e})}},{key:"cleanNotifications",value:function(){I.send({action:_.CLEAN_NOTIFICATION})}},{key:"onChangeAutoCleaner",value:function(){console.log(this.isAutoCleaner),this.isAutoCleaner?O.enable():O.disable()}}]),i}(d["b"]);R=Object(k["a"])([d["a"]],R);var V=R,G=V,J=(i("aa64"),i("2877")),T=Object(J["a"])(G,m,v,!1,null,"5e51ebac",null),F=T.exports,H=function(a){Object(u["a"])(i,a);var e=Object(c["a"])(i);function i(){return Object(l["a"])(this,i),e.apply(this,arguments)}return i}(d["b"]);H=Object(k["a"])([Object(d["a"])({components:{Main:F}})],H);var W=H,x=W,U=(i("034f"),Object(J["a"])(x,s,o,!1,null,null,null)),Z=U.exports,$=i("9483");Object($["a"])("".concat("/","service-worker.js"),{ready:function(){console.log("App is being served from cache by a service worker.\nFor more details, visit https://goo.gl/AFskqB")},registered:function(){console.log("Service worker has been registered.")},cached:function(){console.log("Content has been cached for offline use.")},updatefound:function(){console.log("New content is downloading.")},updated:function(){console.log("New content is available; please refresh.")},offline:function(){console.log("No internet connection found. App is running in offline mode.")},error:function(a){console.error("Error during service worker registration:",a)}}),r["a"].config.productionTip=!1,new r["a"]({render:function(a){return a(Z)}}).$mount("#app")}});
//# sourceMappingURL=app.9bdde6bd.js.map