PageSourceSearch

https://bigs.bet/static/dist/1598.64d90a249ec8cb5c.js

js bigs.bet collected 2026-10-06 17:37:14 UTC 5,507 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwlc_site=self.webpackChunkwlc_site||[]).push([[1598],{41598(R,_,e){e.d(_,{FormControlComponent:()=>P});var m=e(56977),d=e(21413),a=e(30554),f=e(51705),h=e(52892),p=e(43333),g=e(17705),o=e(73664),u=e(27635),v=e(534),C=e(75973);const E=["wlc-form-control",""];function x(t,c){1&t&&o.nrm(0,"div",3)}function O(t,c){if(1&t&&(o.j41(0,"div",2),o.nVh(1,x,1,0,"div",3),o.k0s()),2&t){const n=o.XpG(2);o.R7$(),o.vxM(n.control.valid&&!n.control.pending?1:-1)}}function w(t,c){if(1&t&&(o.j41(0,"div"),o.nVh(1,O,2,1,"div",2),o.k0s()),2&t){const n=o.XpG();o.HbH(o.VkB("",n.className,"__icon form-control__icon")),o.R7$(),o.vxM(!n.isValueEmpty&&n.showValidFieldIcon?1:-1)}}function D(t,c){if(1&t&&(o.j41(0,"div"),o.nrm(1,"div",4),o.k0s()),2&t){const n=o.XpG(),r=o.sdS(3);o.HbH(o.VkB("",n.className,"__icon form-control__icon")),o.R7$(),o.Y8G("tooltip",r)}}function M(t,c){if(1&t&&(o.j41(0,"li"),o.EFF(1),o.nI1(2,"translate"),o.k0s()),2&t){const n=c.$implicit;o.R7$(),o.JRh(o.bMT(2,1,n))}}function b(t,c){if(1&t&&(o.j41(0,"ul",5),o.Z7z(1,M,3,3,"li",null,o.fX1),o.k0s()),2&t){const n=o.XpG();o.R7$(),o.Dyx(n.errors)}}let P=(()=>{class t{get showValidFieldIcon(){return this.useValidIcon??!0}constructor(n,r){this.cdr=n,this.translationService=r,this.$hostClass="form-control",this.errors=[],this.ngUnsubscribe=new d.B}ngOnInit(){this.control&&(this.errors=this.getErrors(),this.control.statusChanges.pipe((0,m.Q)(this.ngUnsubscribe)).subscribe(()=>{this.errors=this.getErrors(),this.control.errors&&!this.errors.length&&this.control.setErrors(null),this.cdr.markForCheck()}))}ngOnDestroy(){this.ngUnsubscribe.next(null),this.ngUnsubscribe.complete()}get isValueEmpty(){return!(0,f.A)(this.control.value).length}getErrors(){const n=[],r=[];return null!==this.control.errors&&Object.keys(this.control.errors).forEach(i=>{this.validatorsAnyOf?.includes(i)?r.push(i):n.push(i)}),n.length?this.errorHandling(n):r.length===this.validatorsAnyOf?.length?[gettext("Check the correctness of the filled in fields")]:[]}errorHandling(n){return n.map(r=>{if("incomingError"===r)return this.control.errors[r];const i=`validator-${this.fieldName}-${r}`,s=this.validators.find(l=>((0,a.A)(l)?l.name:l).toLowerCase()===r.toLowerCase());if((0,a.A)(s)&&s.text){let l=s.text;return new Set(["minLength","maxLength"]).has(s.name)&&s.options&&(l=this.translationService.instant(l,{number:s.options})),l}return this.translationService.instant(i)!==i?i:`validator-${r}`})}static{this.\u0275fac=function(r){return new(r||t)(o.rXU(g.gRc),o.rXU(u.L))}}static{this.\u0275cmp=o.VBU({type:t,selectors:[["","wlc-form-control",""]],hostVars:2,hostBindings:function(r,i){2&r&&o.HbH(i.$hostClass)},inputs:{control:"control",className:"className",fieldName:"fieldName",validators:"validators",validatorsAnyOf:"validatorsAnyOf",useValidIcon:"useValidIcon"},attrs:E,decls:4,vars:1,consts:[["errorsRef",""],[3,"class"],[1,"icon"],["wlc-icon","","iconPath","/wlc/icons/valid.svg",1,"icon-valid"],["wlc-icon","","containerClass","form-control-tooltip tooltip-error","container","form-control","placement","bottom","iconPath","/wlc/icons/invalid.svg",1,"icon-invalid",3,"tooltip"],[1,"form-control__errors"]],template:function(r,i){1&r&&(o.nVh(0,w,2,4,"div",1)(1,D,2,4,"div",1),o.DNE(2,b,3,0,"ng-template",null,0,o.C5r)),2&r&&o.vxM(i.errors.length?i.control.invalid&&i.control.touched&&i.errors.length?1:-1:0)},dependencies:[h.CoreModule,v.dg,p.IconComponent,C.D],styles:['.ng-touched~.form-control .form-control__icon .wlc-icon,.form-control .form-control__icon .wlc-icon{color:transparent}.ng-touched~.form-control .form-control__icon .wlc-icon .wlc-icon-content,.form-control .form-control__icon .wlc-icon .wlc-icon-content{display:flex;align-items:center}.ng-touched.ng-valid:not(.wlc-select__field)~.form-control .form-control__icon .icon-valid,.ng-touched.ng-valid:not(.wlc-select__field)~.wlc-sa-form-control .form-control .form-control__icon .icon-valid{color:var(--mc-success)}.ng-touched.ng-invalid~.form-control,.ng-touched.ng-invalid~.wlc-sa-form-control .form-control{border-color:var(--mc-error)}.ng-touched.ng-invalid~.form-control .form-control__icon .icon-invalid,.ng-touched.ng-invalid~.wlc-sa-form-control .form-control .form-control__icon .icon-invalid{color:var(--mc-error)}.ng-touched.ng-pending~.form-control .form-control__icon .icon,.ng-touched.ng-pending~.wlc-sa-form-control .form-control .form-control__icon .icon{color:transparent}.ng-touched.ng-pending~.form-control .form-control__icon .icon:before,.ng-touched.ng-pending~.wlc-sa-form-control .form-control .form-control__icon .icon:before{top:50%;left:50%;width:12px;height:12px;margin-top:-6px;margin-left:-6px;animation:spin 1s infinite linear;border:2px solid var(--mc-baseContrast);border-left-color:transparent;border-radius:50%}.form-control__icon{position:absolute;top:50%;right:0;display:flex;align-items:center;justify-content:center;width:40px;height:100%;transform:translateY(-50%)}.form-control__icon .icon{position:relative;width:12px;height:12px;border-radius:50%}.form-control__icon .icon:before{content:"";position:absolute}.wlc-textarea .form-control__icon{position:absolute;top:20px;right:15px;width:12px;height:12px;transform:translateY(-50%);border-radius:50%}.wlc-textarea .form-control__icon:before{content:"";position:absolute}.form-control__errors{margin:0;padding:0;list-style:none}.form-control__errors li{margin:3px 0 0}.form-control__errors li:first-child{margin:0}\n'],encapsulation:2,changeDetection:0})}}return t})()}}]);

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.