AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.117
Web Server : Apache
System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/coopiak/dansnotreville-fr/nice/media/plg_system_nrframework/js/controls/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/dansnotreville-fr/nice/media/plg_system_nrframework/js/controls/phone.js
var TF_Phone_Control=function(){function t(t){void 0===t&&(t=""),this.elem=t,this.initialSelectHTML=this.elem.innerHTML,this.choices=null,this.init(),this.initEvents()}var e=t.prototype;return e.init=function(){var i=this;this.choices=new Choices(this.elem,{allowHTML:!0,classNames:{containerOuter:"choices tf-phone-control--flag"},fuseOptions:{threshold:0},shouldSort:!1,searchPlaceholderValue:"Search",itemSelectText:"",searchFields:["label","value","customProperties.label"],callbackOnCreateTemplates:function(n){var o=this.config.itemSelectText,t=i.elem.closest(".tf-phone-control"),s=t.dataset.flagsBaseUrl,e=t.querySelector(".tf-phone-control--skeleton");return e&&e.remove(),{item:function(t,e){var i=t.classNames;return n('\t\t\t\t\t\t\t<div\t\t\t\t\t\t\t\tclass="'+String(i.item)+" "+String(e.highlighted?i.highlightedState:i.itemSelectable)+'"\t\t\t\t\t\t\t\tdata-item\t\t\t\t\t\t\t\tdata-id="'+String(e.id)+'"\t\t\t\t\t\t\t\tdata-value="'+String(e.value)+'"\t\t\t\t\t\t\t\t'+String(e.active?'aria-selected="true"':"")+"\t\t\t\t\t\t\t\t"+String(e.disabled?'aria-disabled="true"':"")+'\t\t\t\t\t\t\t\t>\t\t\t\t\t\t\t\t\t<img width="27" height="13.5" src="'+s+"/"+e.customProperties.key.toLowerCase()+'.png"></img> <svg class="tf-arrow" xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" width="19"><path fill="currentColor" d="M480-333 240-573l51-51 189 189 189-189 51 51-240 240Z"/></svg><span class="tf-flag-calling-code">+'+e.customProperties.calling_code+"</span>\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t")},choice:function(t,e){var i=t.classNames;return n('\t\t\t\t\t\t\t<div\t\t\t\t\t\t\t\tclass="'+String(i.item)+" "+String(i.itemChoice)+" "+String(e.disabled?i.itemDisabled:i.itemSelectable)+" "+String(e.selected?"tf-selectjs-selected-item":"")+'"\t\t\t\t\t\t\t\tdata-select-text="'+String(o)+'"\t\t\t\t\t\t\t\tdata-choice \t\t\t\t\t\t\t\t'+String(e.disabled?'data-choice-disabled aria-disabled="true"':"data-choice-selectable")+'\t\t\t\t\t\t\t\tdata-id="'+String(e.id)+'"\t\t\t\t\t\t\t\tdata-value="'+String(e.value)+'"\t\t\t\t\t\t\t\t'+String(0<e.groupId?'role="treeitem"':'role="option"')+'\t\t\t\t\t\t\t\t>\t\t\t\t\t\t\t\t\t<img width="27" height="13.5" loading="lazy" src="'+s+"/"+e.customProperties.key.toLowerCase()+'.png"></img> <span class="tf-phonecontrol-label" title="'+e.customProperties.label+'">'+e.customProperties.label+'</span><span class="tf-phonecontrol-code">+'+e.customProperties.calling_code+"</span>\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t")}}}}),this.elem.phonecontrol=this},e.initEvents=function(){this.choices.passedElement.element.addEventListener("choice",function(e){setTimeout(function(){var t=e.target.closest(".tf-phone-control").querySelector(".tf-phone-control--number");t.focus(),t.dispatchEvent(new CustomEvent("change",{bubbles:!0}))},1)}.bind(this)),this.choices.passedElement.element.addEventListener("showDropdown",function(){var t=this.value,e=this.parentElement.parentElement.querySelector('.choices__list--dropdown [data-value="'+t+'"]');e&&(e.classList.add("tf-selectjs-selected-item"),e.parentElement.scrollTop=e.offsetTop-e.parentElement.offsetTop)})},e.reset=function(){this.choices.destroy(),this.elem.innerHTML=this.initialSelectHTML,new t(this.elem)},t}(),TF_Phone_Controls=function(){function t(){this.init()}return t.prototype.init=function(){if(window.IntersectionObserver){var t=document.querySelectorAll(".tf-phone-control--flag--selector:not(.done)");if(0!==t.length){var e=new IntersectionObserver(function(t,e){t.forEach(function(t){t.isIntersecting&&(t.target.classList.add("done"),new TF_Phone_Control(t.target),e.unobserve(t.target))})},{rootMargin:"0px 0px 0px 0px"});t.forEach(function(t){e.observe(t)})}}},t}();"loading"!=document.readyState?new TF_Phone_Controls:document.addEventListener("DOMContentLoaded",function(){new TF_Phone_Controls});


Anon7 - 2022
AnonSec Team