PageSourceSearch

https://conta.yelly.com.br/319.9d70629d18e71cb5.js

js yelly.com.br collected 2026-09-24 11:44:32 UTC 24,871 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkproject=self.webpackChunkproject||[]).push([[319],{2720:(mt,J,x)=>{x.d(J,{$:()=>Z});var P=x(7340),t=x(4650),p=x(4006),q=x(3369),R=x(13),k=x(8250),S=x(6152),A=x(6895),I=x(43),L=x(2542),F=x(5019);function K(M,W){if(1&M){const a=t.EpF();t.TgZ(0,"form",16)(1,"div",17)(2,"div",18)(3,"label",19),t._uU(4,"N\xfamero do cart\xe3o"),t.qZA(),t._UZ(5,"input",20),t.qZA()(),t.TgZ(6,"div",17)(7,"div",18)(8,"label",21),t._uU(9," CPF do titular do cart\xe3o "),t.qZA(),t._UZ(10,"input",22),t.qZA(),t.TgZ(11,"div",18)(12,"div")(13,"label",23),t._uU(14,"Nome impresso no cart\xe3o"),t.qZA(),t._UZ(15,"app-icon",24),t.qZA(),t._UZ(16,"input",25),t.qZA()(),t.TgZ(17,"div",17)(18,"div",26)(19,"label",27),t._uU(20,"Validade"),t.qZA(),t._UZ(21,"input",28),t.qZA(),t.TgZ(22,"div",29)(23,"label",30),t._uU(24,"\xa0"),t.qZA(),t._UZ(25,"input",31),t.qZA(),t.TgZ(26,"div",32)(27,"label",33),t._uU(28,"C\xf3digo de seguran\xe7a"),t.qZA(),t.TgZ(29,"div",34),t.NdJ("focusin",function(){t.CHM(a);const l=t.oxw();return t.KtG(l.turnCardIn())})("focusout",function(){t.CHM(a);const l=t.oxw();return t.KtG(l.turnCardOut())}),t._UZ(30,"input",35),t.TgZ(31,"button",36),t.NdJ("click",function(){t.CHM(a);const l=t.oxw();return t.KtG(l.visiblePass())}),t._UZ(32,"app-icon",37),t.qZA()()()()()}if(2&M){const a=t.oxw();t.Q6J("formGroup",a.form),t.xp6(15),t.Q6J("matTooltipPosition","above"),t.xp6(14),t.ekj("invalid",a.form.get("security_code").invalid&&(a.form.get("security_code").dirty||a.form.get("security_code").touched))("valid",a.form.get("security_code").valid&&(a.form.get("security_code").dirty||a.form.get("security_code").touched)),t.xp6(1),t.s9C("type",a.showPass?"text":"password"),t.xp6(2),t.Q6J("icon",a.showPass?"interface-preview":"interface-no-preview")}}let Z=(()=>{class M{constructor(a){this.formBuilder=a,this.turnCards="inactive",this.flag="business-credit-card",this.today=new Date,this.showPass=!1,this.brandName="OTHERS",this.cvvShowValue="",this.color="default",this.type="horizontal",this.getCardFormValues=new t.vpe}ngOnInit(){this.limitYear=String((0,q.Z)(this.today)).substring(2,4),this.setForm(),this.initialValues&&this.applyInitialValues(this.initialValues),this.form.get("number").valueChanges.subscribe(m=>{this.setCardNumber(m),m||this.form.get("security_code").setValue("")}),this.form.get("security_code")?.valueChanges.subscribe(m=>{const l="number"==typeof m?String(m):m;this.cvvShowValue=this.showPass?l:l?.replace(/[0-9]/g,"*")}),this.form.get("holder_name").valueChanges.subscribe(m=>{this.formatName()}),this.initialValues?.number&&(this.form.get("number").setValue(this.initialValues?.number),this.form.get("expiration_month").setValue(this.initialValues?.expiration_month),this.form.get("expiration_year").setValue(this.initialValues?.expiration_year),this.form.get("security_code").setValue(this.initialValues?.security_code),this.form.get("holder_name").setValue(this.initialValues?.holder_name),this.form.get("holder_document").setValue(this.initialValues?.holder_document));let a=!1;this.form.valueChanges.pipe((0,R.b)(1e3)).subscribe(m=>{const l={...m,holder_name:m.holder_name?.trim()};this.form.valid&&(a=!0),a&&this.getCardFormValues.emit({form:l,brandName:this.brandName,valid:this.form.valid})})}ngOnChanges(a){a.initialValues&&this.form&&this.applyInitialValues(a.initialValues.currentValue)}applyInitialValues(a){!a||!this.form||this.form.patchValue({number:a.number??"",expiration_month:a.expiration_month??"",expiration_year:a.expiration_year??"",security_code:a.security_code??"",holder_name:a.holder_name??"",holder_document:a.holder_document??""})}setForm(){this.form=this.formBuilder.group({number:["",p.kI.required],holder_name:["",[p.kI.required,(0,S.qg)(),(0,S.Bc)()]],holder_document:["",[p.kI.required,k.K.validate()]],expiration_month:["",[p.kI.required,p.kI.min(1),p.kI.max(12)]],expiration_year:["",[p.kI.required,p.kI.min(this.limitYear)]],security_code:["",[p.kI.required,p.kI.minLength(3),p.kI.maxLength(4)]]})}setCardNumber(a){this.form.get("security_code")?.setValue("");let m=a.replace(/ /g,""),l={VISA:/^4[0-9]{12}(?:[0-9]{3})?$/,MASTER:/^5[1-5][0-9]{14}$/,AMEX:/^3[47][0-9]{13}$/,INTERPAYMENT:/^(636)\d+$/,ELO:/^((((636368)|(438935)|(504175)|(451416)|(636297))\d{0,10})|((5067)|(4576)|(4011)|(509))\d{0,12})$/,AURA:/^(5078\d{2})(\d{2})(\d{11})$/,JCB:/^(?:2131|1800|35\d{3})\d{11}$/,DINERS:/^3(?:0[0-5]|[68][0-9])[0-9]{11}$/,UNIONPAY:/^(62|88)\d+$/,DISCOVERY:/^6(?:011|5[0-9]{2})[0-9]{12}$/,HIPERCARD:/^(606282\d{10}(\d{3})?)|(3841\d{15})$/,ELECTRON:/^(4026|417500|4405|4508|4844|4913|4917)\d+$/,MAESTRO:/^(5018|5020|5038|5612|5893|6304|6759|6761|6762|6763|0604|6390)\d+$/,DANKORT:/^(5019)\d+$/};if(m){for(let y in l)if(l[y].test(m))switch(y){case"MASTER":this.flag="card-master-alt",this.color="master-card",this.brandName="MASTERCARD";break;case"VISA":this.flag="card-visa",this.color="visa-card",this.brandName="VISA";break;case"AMEX":this.flag="card-amex",this.color="american-ex",this.brandName="AMERICAN EXPRESS";break;case"DINERS":this.flag="card-diners",this.color="dinners",this.brandName="OTHERS";break;case"DISCOVERY":this.flag="card-discover",this.color="discovery",this.brandName="OTHERS";break;case"JCB":this.flag="card-jcb",this.color="jcb-card",this.brandName="OTHERS";break;case"HIPERCARD":this.flag="card-hipercard",this.color="hipercard",this.brandName="HIPER / HIPERCARD";break;case"ELO":this.flag="card-elo-alt",this.color="elo-card",this.brandName="ELO";break;default:this.flag="business-credit-card",this.color="default",this.brandName="OTHERS"}}else this.flag="business-credit-card",this.color="default"}formatName(){let a=this.form.get("holder_name")?.value.split(" ");a.forEach((l,y)=>{y>0&&y<a.length-1&&(a[y]="da"!==l&&"das"!==l&&"do"!==l&&"dos"!==l&&"de"!==l?l.substring(0,1):l)});const m=a[a.length-1];a.join(" ").length>18&&m.length>2?(a=`${a[0]} ${m}`,this.showName=a):this.showName=a.join(" ")}turnCardIn(){this.turnCards="active"}turnCardOut(){this.turnCards="inactive"}toggleFlip(){}formatCardNumber(){let a=this.form.get("number")?.value;return a.length<=14?"0000 000000 0000":15===a.length?"0000 000000 00000":"0000 0000 0000 0000"}visiblePass(){this.showPass=!this.showPass;const a=this.form.get("security_code")?.value;this.cvvShowValue=this.showPass?a:a?.replace(/[0-9]/g,"*")}static#t=this.\u0275fac=function(m){return new(m||M)(t.Y36(p.QS))};static#e=this.\u0275cmp=t.Xpm({type:M,selectors:[["app-animated-card"]],inputs:{color:"color",type:"type",initialValues:"initialValues"},outputs:{getCardFormValues:"getCardFormValues"},features:[t.TTD],decls:30,vars:22,consts:[[3,"formGroup",4,"ngIf"],[1,"tp-wrapper"],[1,"tp-box",3,"click","mouseenter","mouseleave"],[1,"tp-box__side","tp-box__front"],[1,"container-data"],[1,"two-in-row"],["icon","business-chip","size","x2",2,"align-self","flex-start"],["size","x2",2,"vertical-align","top",3,"icon","color"],[1,"card-number"],[1,"two-in-row","mb-3"],[1,"elipse","holder-name"],[1,"container-card-back"],[1,"container-data-back"],[1,"black-belt"],[1,"flex-row"],[1,"white-belt"],[3,"formGroup"],[1,"row","form-row"],[1,"col-md-6","form-group"],["for","number",1,"form-label","required"],["type","text","formControlName","number","inputmode","numeric","placeholder","0000 0000 0000 0000","mask","0000 000000 0000 ||0000 000000 00000||0000 0000 0000 0000",1,"form-control"],["for","holder_document",1,"form-label","required","mr-3"],["type","text","formControlName","holder_document","placeholder","000.000.000-00","inputmode","numeric","mask","000.000.000-00",1,"form-control"],["for","holder_name",1,"form-label","required"],["icon","signals-alert","size","md","color","custom-primary","matTooltip","Digite exatamente como est\xe1 impresso no cart\xe3o.",1,"mx-3",3,"matTooltipPosition"],["type","text","formControlName","holder_name","placeholder","Nome como aparece no cart\xe3o",1,"form-control"],[1,"col-6","col-md-4"],["for","expiration_month",1,"form-label","required"],["type","text","formControlName","expiration_month","placeholder","MM","inputmode","numeric","mask","00",1,"form-control"],[1,"col-6","col-md-4","form-group"],["for","expiration_year",1,"form-label"],["type","text","formControlName","expiration_year","placeholder","AA","inputmode","numeric","mask","00",1,"form-control"],[1,"col-sm-12","col-md-4","form-group"],["for","security_code",1,"form-label","required"],[1,"input-group",3,"focusin","focusout"],["formControlName","security_code","inputmode","numeric","placeholder","000","mask","0*","maxlength","4",1,"form-control",3,"type"],["type","button",1,"input-group-text","bg-white","cursor",3,"click"],["size","x1","color","custom-primary",3,"icon"]],template:function(m,l){if(1&m&&(t.TgZ(0,"div"),t.YNc(1,K,33,8,"form",0),t.TgZ(2,"div",1)(3,"div",2),t.NdJ("click",function(){return l.toggleFlip()})("mouseenter",function(){return"only-card"===l.type&&l.turnCardIn()})("mouseleave",function(){return"only-card"===l.type&&l.turnCardOut()}
1),t.TgZ(4,"div",3)(5,"div")(6,"div",4)(7,"div",5),t._UZ(8,"app-icon",6)(9,"app-icon",7),t.qZA(),t.TgZ(10,"div",8)(11,"h1"),t._uU(12),t.ALo(13,"mask"),t.qZA()(),t.TgZ(14,"div",9)(15,"div")(16,"h1",10),t._uU(17),t.ALo(18,"uppercase"),t.qZA()(),t.TgZ(19,"div")(20,"h1"),t._uU(21),t.qZA()()()()()(),t.TgZ(22,"div")(23,"div",11)(24,"div",12),t._UZ(25,"div",13),t.TgZ(26,"div",14),t._UZ(27,"div",15),t.TgZ(28,"h1"),t._uU(29),t.qZA()()()()()()()()),2&m){let y,j;t.Tol(l.type),t.xp6(1),t.Q6J("ngIf","vertical"===l.type||"horizontal"===l.type),t.xp6(2),t.Q6J("@flipState",l.turnCards),t.xp6(2),t.Gre("container-card ",l.color," "),t.xp6(4),t.s9C("icon",l.flag),t.s9C("color","default"===l.color?"gray-light":""),t.xp6(3),t.hij(" ",t.xi3(13,17,null==(y=l.form.get("number"))?null:y.value,l.formatCardNumber())||"**** **** **** ****"," "),t.xp6(5),t.hij(" ",t.lcZ(18,20,l.showName)," "),t.xp6(4),t.AsE(" ",null==(j=l.form.get("expiration_month"))?null:j.value,"/",null==(j=l.form.get("expiration_year"))?null:j.value," "),t.xp6(1),t.Gre("tp-box__side tp-box__back ",l.color,""),t.xp6(7),t.hij(" ",l.cvvShowValue," ")}},dependencies:[A.O5,p._Y,p.Fj,p.JJ,p.JL,p.nD,p.sg,p.u,I.hx,L.Kd,F.o,A.gd,I.Iq],styles:["form[_ngcontent-%COMP%]{flex:1}.container-card[_ngcontent-%COMP%]{width:262px;height:160px;background:#cccccc;border-radius:6px;padding:15px}.container-data[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;justify-content:space-between}.container-data-back[_ngcontent-%COMP%]{height:100%}.two-in-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between}.paytime[_ngcontent-%COMP%]{transition:background-color .5s linear .1s;background-color:var(--custom-primary-color)!important}.visa-card[_ngcontent-%COMP%]{transition:background-color .5s linear .1s;background-color:#1e90ff!important}.master-card[_ngcontent-%COMP%]{transition:background-color .5s linear .1s;background-color:#902d2d!important}.elo-card[_ngcontent-%COMP%]{transition:background-color .5s linear .1s;background-color:#383535!important}.dinners[_ngcontent-%COMP%]{transition:background-color .5s linear .1s;background-color:#0d6d2d!important}.american-ex[_ngcontent-%COMP%]{transition:background-color .5s linear .1s;background-color:#016fd0!important}.discovery[_ngcontent-%COMP%]{transition:background-color .5s linear .1s;background-color:#deb887!important}.jcb-card[_ngcontent-%COMP%]{transition:background-color .5s linear .1s;background-color:#5f9ea0!important}.hipercard[_ngcontent-%COMP%]{transition:background-color .5s linear .1s;background-color:#b22222!important}.default[_ngcontent-%COMP%]{transition:background-color .5s linear .1s;background-color:#ccc!important}h1[_ngcontent-%COMP%]{font-weight:500;font-size:16px;line-height:21px;align-items:center;color:#fff;margin:0}.elipse[_ngcontent-%COMP%]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:18ch}.tp-box[_ngcontent-%COMP%]{position:relative;width:262px;height:160px;transform-style:preserve-3d;transform:transform 1s}.tp-box__side[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;backface-visibility:hidden;color:#fff;text-align:center;line-height:80px;font-size:24px;font-weight:700;-webkit-user-select:none;user-select:none;box-shadow:0 3px 16px #00000059;border-radius:8px}.tp-box__front[_ngcontent-%COMP%]{transform:rotateY(0)}.tp-box__back[_ngcontent-%COMP%]{transform:rotateY(-180deg);border-radius:6px;background:#cccccc}.black-belt[_ngcontent-%COMP%]{height:35px;background:rgb(44,43,43);margin-top:15px}.white-belt[_ngcontent-%COMP%]{height:25px;background:white;margin-top:25px;width:75%;margin-left:10px}.flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.flex-row[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:14px;align-self:flex-end;margin-left:10px}.card-number[_ngcontent-%COMP%]{align-self:flex-start;margin-bottom:5px}.holder-name[_ngcontent-%COMP%]{font-size:13px;font-weight:600}  .tp-wrapper .mat-icon{vertical-align:top;width:40px!important}.vertical[_ngcontent-%COMP%]{flex-direction:column-reverse;display:flex}.vertical[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{margin-top:2rem}.vertical[_ngcontent-%COMP%]   .tp-wrapper[_ngcontent-%COMP%]{align-self:center}.horizontal[_ngcontent-%COMP%]{display:flex}.horizontal[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{margin-right:2rem}.only-card[_ngcontent-%COMP%]{margin-bottom:1rem}.mr-3[_ngcontent-%COMP%]{margin-right:1rem}@media (max-width: 1224px){.horizontal[_ngcontent-%COMP%]{flex-direction:column-reverse}.horizontal[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{margin-right:0}.tp-wrapper[_ngcontent-%COMP%]{align-self:center;margin-bottom:20px}}.input-group[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{border-right:none!important}"],data:{animation:[(0,P.X$)("flipState",[(0,P.SB)("active",(0,P.oB)({transform:"rotateY(180deg)"})),(0,P.SB)("inactive",(0,P.oB)({transform:"rotateY(0)"})),(0,P.eR)("active => inactive",(0,P.jt)("500ms ease-out")),(0,P.eR)("inactive => active",(0,P.jt)("500ms ease-in"))])]}})}return M})()},4626:(mt,J,x)=>{function P(o,s,u,i,g,_,b){try{var C=o[_](b),f=C.value}catch(E){return void u(E)}C.done?s(f):Promise.resolve(f).then(i,g)}function t(o){return function(){var s=this,u=arguments;return new Promise(function(i,g){var _=o.apply(s,u);function b(f){P(_,i,g,b,C,"next",f)}function C(f){P(_,i,g,b,C,"throw",f)}b(void 0)})}}function p(o,s,u){return(s="symbol"==typeof(g=function(_,b){if("object"!=typeof _||!_)return _;var C=_[Symbol.toPrimitive];
vendor: 5,407 bytes, line 1
1if(void 0!==C){var f=C.call(_,"string");if("object"!=typeof f)return f;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(_)}(s))?g:g+"")in o?Object.defineProperty(o,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):o[s]=u,o;var g}function q(o,s){var u=Object.keys(o);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(o);s&&(i=i.filter(function(g){return Object.getOwnPropertyDescriptor(o,g).enumerable})),u.push.apply(u,i)}return u}function R(o){for(var s=1;s<arguments.length;s++){var u=null!=arguments[s]?arguments[s]:{};s%2?q(Object(u),!0).forEach(function(i){p(o,i,u[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(u)):q(Object(u)).forEach(function(i){Object.defineProperty(o,i,Object.getOwnPropertyDescriptor(u,i))})}return o}function k(){k=function(){return s};var o,s={},u=Object.prototype,i=u.hasOwnProperty,g=Object.defineProperty||function(r,e,n){r[e]=n.value},_="function"==typeof Symbol?Symbol:{},b=_.iterator||"@@iterator",C=_.asyncIterator||"@@asyncIterator",f=_.toStringTag||"@@toStringTag";function E(r,e,n){return Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),r[e]}try{E({},"")}catch{E=function(e,n,d){return e[n]=d}}function st(r,e,n,d){var h=Object.create((e&&e.prototype instanceof et?e:et).prototype),v=new it(d||[]);return g(h,"_invoke",{value:_t(r,n,v)}),h}function tt(r,e,n){try{return{type:"normal",arg:r.call(e,n)}}catch(d){return{type:"throw",arg:d}}}s.wrap=st;var lt="suspendedStart",gt="suspendedYield",ut="executing",$="completed",T={};function et(){}function Y(){}function D(){}var rt={};E(rt,b,function(){return this});var nt=Object.getPrototypeOf,G=nt&&nt(nt(at([])));G&&G!==u&&i.call(G,b)&&(rt=G);var U=D.prototype=et.prototype=Object.create(rt);function dt(r){["next","throw","return"].forEach(function(e){E(r,e,function(n){return this._invoke(e,n)})})}function z(r,e){function n(c,h,v,w){var O=tt(r[c],r,h);if("throw"!==O.type){var V=O.arg,B=V.value;return B&&"object"==typeof B&&i.call(B,"__await")?e.resolve(B.__await).then(function(N){n("next",N,v,w)},function(N){n("throw",N,v,w)}):e.resolve(B).then(function(N){V.value=N,v(V)},function(N){return n("throw",N,v,w)})}w(O.arg)}var d;g(this,"_invoke",{value:function(c,h){function v(){return new e(function(w,O){n(c,h,w,O)})}return d=d?d.then(v,v):v()}})}function _t(r,e,n){var d=lt;return function(c,h){if(d===ut)throw Error("Generator is already running");if(d===$){if("throw"===c)throw h;return{value:o,done:!0}}for(n.method=c,n.arg=h;;){var v=n.delegate;if(v){var w=ft(v,n);if(w){if(w===T)continue;return w}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(d===lt)throw d=$,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);d=ut;var O=tt(r,e,n);if("normal"===O.type){if(d=n.done?$:gt,O.arg===T)continue;return{value:O.arg,done:n.done}}"throw"===O.type&&(d=$,n.method="throw",n.arg=O.arg)}}}function ft(r,e){var n=e.method,d=r.iterator[n];if(d===o)return e.delegate=null,"throw"===n&&r.iterator.return&&(e.method="return",e.arg=o,ft(r,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),T;var c=tt(d,r.iterator,e.arg);if("throw"===c.type)return e.method="throw",e.arg=c.arg,e.delegate=null,T;var h=c.arg;return h?h.done?(e[r.resultName]=h.value,e.next=r.nextLoc,"return"!==e.method&&(e.method="next",e.arg=o),e.delegate=null,T):h:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,T)}function vt(r){var e={tryLoc:r[0]};1 in r&&(e.catchLoc=r[1]),2 in r&&(e.finallyLoc=r[2],e.afterLoc=r[3]),this.tryEntries.push(e)}function ot(r){var e=r.completion||{};e.type="normal",delete e.arg,r.completion=e}function it(r){this.tryEntries=[{tryLoc:"root"}],r.forEach(vt,this),this.reset(!0)}function at(r){if(r||""===r){var e=r[b];if(e)return e.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var n=-1,d=function c(){for(;++n<r.length;)if(i.call(r,n))return c.value=r[n],c.done=!1,c;return c.value=o,c.done=!0,c};return d.next=d}}throw new TypeError(typeof r+" is not iterable")}return Y.prototype=D,g(U,"constructor",{value:D,configurable:!0}),g(D,"constructor",{value:Y,configurable:!0}),Y.displayName=E(D,f,"GeneratorFunction"),s.isGeneratorFunction=function(r){var e="function"==typeof r&&r.constructor;return!!e&&(e===Y||"GeneratorFunction"===(e.displayName||e.name))},s.mark=function(r){return Object.setPrototypeOf?Object.setPrototypeOf(r,D):(r.__proto__=D,E(r,f,"GeneratorFunction")),r.prototype=Object.create(U),r},s.awrap=function(r){return{__await:r}},dt(z.prototype),E(z.prototype,C,function(){return this}),s.AsyncIterator=z,s.async=function(r,e,n,d,c){void 0===c&&(c=Promise);var h=new z(st(r,e,n,d),c);return s.isGeneratorFunction(e)?h:h.next().then(function(v){return v.done?v.value:h.next()})},dt(U),E(U,f,"Generator"),E(U,b,function(){return this}),E(U,"toString",function(){return"[object Generator]"}),s.keys=function(r){var e=Object(r),n=[];for(var d in e)n.push(d);return n.reverse(),function c(){for(;n.length;){var h=n.pop();if(h in e)return c.value=h,c.done=!1,c}return c.done=!0,c}},s.values=at,it.prototype={constructor:it,reset:function(r){if(this.prev=0,this.next=0,this.sent=this._sent=o,this.done=!1,this.delegate=null,this.method="next",this.arg=o,this.tryEntries.forEac
vendor: 1,058 bytes, line 1
1h(ot),!r)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=o)},stop:function(){this.done=!0;var r=this.tryEntries[0].completion;if("throw"===r.type)throw r.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var e=this;function n(O,V){return h.type="throw",h.arg=r,e.next=O,V&&(e.method="next",e.arg=o),!!V}for(var d=this.tryEntries.length-1;d>=0;--d){var c=this.tryEntries[d],h=c.completion;if("root"===c.tryLoc)return n("end");if(c.tryLoc<=this.prev){var v=i.call(c,"catchLoc"),w=i.call(c,"finallyLoc");if(v&&w){if(this.prev<c.catchLoc)return n(c.catchLoc,!0);if(this.prev<c.finallyLoc)return n(c.finallyLoc)}else if(v){if(this.prev<c.catchLoc)return n(c.catchLoc,!0)}else{if(!w)throw Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return n(c.finallyLoc)}}}},abrupt:function(r,e){for(var n=this.tryEntries.length-1;n>=0;--n){var d=this.tryEntries[n];if(d.tryLoc<=this.prev&&i.call(d,"finallyLoc")&&this.prev<d.finallyLoc){var c=d;break}}c&&("break"===r||"continue"===r)&&c.tr
1yLoc<=e&&e<=c.finallyLoc&&(c=null);var h=c?c.completion:{};return h.type=r,h.arg=e,c?(this.method="next",this.next=c.finallyLoc,T):this.complete(h)},complete:function(r,e){if("throw"===r.type)throw r.arg;return"break"===r.type||"continue"===r.type?this.next=r.arg:"return"===r.type?(this.rval=this.arg=r.arg,this.method="return",this.next="end"):"normal"===r.type&&e&&(this.next=e),T},finish:function(r){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===r)return this.complete(n.completion,n.afterLoc),ot(n),T}},catch:function(r){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===r){var d=n.completion;if("throw"===d.type){var c=d.arg;ot(n)}return c}}throw Error("illegal catch attempt")},delegateYield:function(r,e,n){return this.delegate={iterator:at(r),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=o),T}},s}x.d(J,{Vn:()=>pt});var S,A,I,L,o,F="2.1.2",K=!1,Z=!1,M="REDIRECT",W="SILENT",a="prod",m=p(p(p({},"dev","https://idpay-dev.unico.io"),"uat","https://idpay-uat.unico.io"),a,"https://idpay.unico.io"),y=function(){if(L)return Promise.resolve();(L=document.createElement("script")).src="".concat(A,"/sdk-assets/index.js");var o=new Promise(function(s){L.onload=s});return document.body.appendChild(L),Promise.all([o])},j=function(){var o=document.createElement("link");o.setAttribute("href","".concat(A,"/sdk-assets/assets/styles.css")),o.setAttribute("rel","stylesheet");var s=new Promise(function(u){o.onload=u});return document.head.appendChild(o),Promise.all([s])},H=(o=t(k().mark(function s(u){var i,_,b,C;return k().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return i=u.token,b=void 0===(_=u.env)?a:_,S=void 0===(C=u.type)?"IFRAME":C,A=u.useCurrentOrigin?window.location.origin:m[b],f.next=5,y();case 5:UnicoSDKAssets.trackEvent(UnicoSDKAssets.EVENT_TYPES.INITIALIZE),f.t0=S,f.next=f.t0===W?9:f.t0===M?13:14;break;case 9:return f.next=11,UnicoSDKAssets.clientBoxControl.initSilent();case 11:return I=f.sent,f.abrupt("break",17);case 13:return f.abrupt("break",17);case 14:return f.next=16,j();case 16:UnicoSDKAssets.clientBoxControl.create({host:A,token:i,sdkVersion:F});case 17:if(K=!0,Z&&ct(Z),!I){f.next=21;break}return f.abrupt("return",I);case 21:case"end":return f.stop()}},s)})),function(s){return o.apply(this,arguments)}),Q=(t(k().mark(function s(u){return k().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return console.warn("Warning: The `init()` function is deprecated and will be removed in future versions. Please initialize directly on the product object, e.g., `IDPaySDK.init({ ... })` or `ByUnicoSDK.init({ ... })`. See our documentation for more details."),i.abrupt("return",H(u));case 2:case"end":return i.stop()}},s)})),function(o){var s=o.transactionId,u=o.token,i={transactionId:s,token:u,onFinish:o.onFinish,host:A,sdkVersion:F,collectionId:I};if(console.log("open",i),K)switch(UnicoSDKAssets.trackEvent(UnicoSDKAssets.EVENT_TYPES.START_FLOW,i),S){case W:UnicoSDKAssets.clientBoxControl.verify(i);break;case M:UnicoSDKAssets.clientBoxControl.redirect(s,u,A,F);break;default:UnicoSDKAssets.clientBoxControl.open(i)}else Z=i}),ct=function(o){Q({transactionId:o.transactionId,token:o.token,onFinish:o.onFinish})},pt=(t(k().mark(function s(u){return k().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return console.log(">>> initByUnicoSDK > options:",u),i.abrupt("return",H(R({},u)));case 2:case"end":return i.stop()}},s)})),{init:function(){var o=t(k().mark(function s(u){return k().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return console.log(">>> initIDPaySDK > options:",u),i.abrupt("return",H(R(R({},u),{},{token:null})));case 2:case"end":return i.stop()}},s)}));return function(s){return o.apply(this,arguments)}}(),close:function(){console.log(">>> reset"),S=void 0,A=void 0,K=!1,Z=!1,I=void 0,UnicoSDKAssets.clientBoxControl.close()},open:function(o){Q({transactionId:o.transactionId,token:o.token,onFinish:o.onFinish})}})}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.