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.a8cc2c0c.js

2 lines
28 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(r,s)&&r[s]&&d.push(r[s][0]),r[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 n.push.apply(n,u||[]),i()}function i(){for(var a,e=0;e<n.length;e++){for(var i=n[e],t=!0,o=1;o<i.length;o++){var l=i[o];0!==r[l]&&(t=!1)}t&&(n.splice(e--,1),a=s(s.s=i[0]))}return a}var t={},r={app:0},n=[];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;n.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,r,n=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}},[a._m(0),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=[function(){var a=this,e=a.$createElement,i=a._self._c||e;return i("div",{staticClass:"form-row"},[i("div",{staticClass:"form-row__item"},[i("label",{attrs:{for:"autocleaner"}},[a._v(" Use notification cleaner "),i("input",{attrs:{type:"checkbox",name:"autocleaner",id:"autocleaner"}})])])])}],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}()),p=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"}(r||(r={}));var y,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),r=this.getIdNumPart(),n=this.getGenderPart(a.country,a.gender),s=(this.getControlSum(a.country,e,i,t,r,n),this.getChecksum(n+e+i+t+r));return n+e+i+t+r+s}},{key:"getYearPart",value:function(a){if(!a){var e=(new Date).getFullYear();a=BigInt(p.generate(e-25,e-55))}return String(a).substring(2,4)}},{key:"getMonthPart",value:function(a){return a||(a=BigInt(p.generate(1,12))),a.toString().padStart(2,"0")}},{key:"getDayPart",value:function(a){return a||(a=BigInt(p.generate(1,28))),a.toString().padStart(2,"0")}},{key:"getIdNumPart",value:function(){return p.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),r.MALE===e?String(2*p.generate(1,5)-1):String(2*p.generate(1,4));default:return console.log(e,r.MALE===e),r.MALE===e?"3":"4"}}},{key:"getControlSum",value:function(a,e,i,r,n,s){var o,l;if(t.POLAND===a)return l=+(o=e+i+r+n+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+r+n;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,r=3,n=0,s=0;for(e=0;e<10;e++)i=parseInt(a[e]),n+=i*t,s+=i*r,t++,10===t&&(t=1),r++,10===r&&(r=1);return n%=11,s%=11,n<10?n:s<10?s:0}}]),a}(),b=new f,w=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),r=this.getBankCode(a);switch(a){case t.ESTONIA:return a.toUpperCase()+this.getIbanCheckDigits(r+e+i+"141400")+r+e+i;case t.LITHUANIA:return a.toUpperCase()+this.getIbanCheckDigits(r+e+"212900")+r+e;default:return a.toUpperCase()+this.getIbanCheckDigits(r+e+"252100")+r+e}}},{key:"getBankAccount",value:function(a){var e,i=BigInt(97),r=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-r%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,r=a.length,n=18,s=r-1;s>-1;s--)i[n]=e[n]*+a[s],n--;n=18;for(var o=r-1;o>-1;o--)t-=-i[n],n--;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"],r=["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 r[Math.floor(Math.random()*r.length)]}}},{key:"getIbanCheckDigits",value:function(a){return String(BigInt("98")-BigInt(a)%BigInt("97")).padStart(2,"0")}}]),a}(),A=new w,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="",r=i.toString(),n=0;n<=6;n++)t+=r;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 r.MALE===e?this.plMaleFirstNames[Math.floor(Math.random()*this.plMaleFirstNames.length)]:this.plFemaleFirstNames[Math.floor(Math.random()*this.plFemaleFirstNames.length)];case t.LITHUANIA:return r.MALE===e?this.ltMaleFirstNames[Math.floor(Math.random()*this.ltMaleFirstNames.length)]:this.ltFemaleFirstNames[Math.floor(Math.random()*this.ltFemaleFirstNames.length)];default:return r.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}(),K=new j,N=function a(){Object(l["a"])(this,a),this.day=null,this.month=null,this.year=null},L=function a(){Object(l["a"])(this,a),this.birthday=new N,this.country=t.ESTONIA,this.gender=r.RANDOM},C=i("4eb5"),P=i.n(C);(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"})(y||(y={}));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"})(_||(_={})),d["b"].use(P.a);var D=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 L,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:"copyPersonalId",value:function(){var a=b.generate(this.person);this.copy(a)}},{key:"copyIban",value:function(){var a=A.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(y.PERSONAL_ID,a);var e=A.generate(this.person.country);this.insertValueToNode(y.IBAN,e);var i=z.generate(this.person.country);this.insertValueToNode(y.PHONE,i);var t=S.generate(this.person.country,this.person.gender);this.insertValueToNode(y.FIRST_NAME,t);var r=K.generate(this.person.country);this.insertValueToNode(y.LAST_NAME,r)}},{key:"insertValueToNode",value:function(a,e){I.send({action:_.INSERT,target:a,value:e})}},{key:"cleanNotifications",value:function(){I.send({action:_.CLEAN_NOTIFICATION})}}]),i}(d["b"]);D=Object(k["a"])([d["a"]],D);var O=D,R=O,G=(i("aa64"),i("2877")),V=Object(G["a"])(R,m,v,!1,null,"5e51ebac",null),J=V.exports,T=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"]);T=Object(k["a"])([Object(d["a"])({components:{Main:J}})],T);var F=T,H=F,W=(i("034f"),Object(G["a"])(H,s,o,!1,null,null,null)),x=W.exports,U=i("9483");Object(U["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)}}),n["a"].config.productionTip=!1,new n["a"]({render:function(a){return a(x)}}).$mount("#app")}});
//# sourceMappingURL=app.a8cc2c0c.js.map