PageSourceSearch

https://yumzy.in/4069-es2015.d572e8d01ca0d508156c.js

js yumzy.in collected 2026-09-26 20:45:17 UTC 4,615 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkyumzy=self.webpackChunkyumzy||[]).push([[4069],{44069:function(e,t,n){n.r(t),n.d(t,{startInputShims:function(){return y}});var o=n(8239),r=n(71567);const i=new WeakMap,s=(e,t,n,o=0)=>{i.has(e)!==n&&(n?l(e,t,o):c(e,t))},a=e=>e===e.getRootNode().activeElement,l=(e,t,n)=>{const o=t.parentNode,r=t.cloneNode(!1);r.classList.add("cloned-input"),r.tabIndex=-1,o.appendChild(r),i.set(e,r);const s="rtl"===e.ownerDocument.dir?9999:-9999;e.style.pointerEvents="none",t.style.transform=`translate3d(${s}px,${n}px,0) scale(0)`},c=(e,t)=>{const n=i.get(e);n&&(i.delete(e),n.remove()),e.style.pointerEvents="",t.style.transform=""},d="input, textarea, [no-blur], [contenteditable]",u=(e,t,n,o)=>{const r=e.top,i=e.bottom,s=t.top,a=s+15,l=.75*Math.min(t.bottom,o-n)-i,c=a-r,d=Math.round(l<0?-l:c>0?-c:0),u=Math.min(d,r-s),m=Math.abs(u)/.3;return{scrollAmount:u,scrollDuration:Math.min(400,Math.max(150,m)),scrollPadding:n,inputSafeY:4-(r-a)}},m=function(){var e=(0,o.Z)(function*(e,t,n,i,a){if(!n&&!i)return;const l=((e,t,n)=>{const o=e.closest("ion-item,[ion-item]")||e;return u(o.getBoundingClientRect(),t.getBoundingClientRect(),n,e.ownerDocument.defaultView.innerHeight)})(e,n||i,a);if(n&&Math.abs(l.scrollAmount)<4)t.focus();else if(s(e,t,!0,l.inputSafeY),t.focus(),(0,r.r)(()=>e.click()),"undefined"!=typeof window){let r;const i=function(){var c=(0,o.Z)(function*(){void 0!==r&&clearTimeout(r),window.removeEventListener("ionKeyboardDidShow",a),window.removeEventListener("ionKeyboardDidShow",i),n&&(yield n.scrollByPoint(0,l.scrollAmount,l.scrollDuration)),s(e,t,!1,l.inputSafeY),t.focus()});return function(){return c.apply(this,arguments)}}(),a=()=>{window.removeEventListener("ionKeyboardDidShow",a),window.addEventListener("ionKeyboardDidShow",i)};if(n){const e=yield n.getScrollElement(),o=e.scrollHeight-e.clientHeight;if(l.scrollAmount>o-e.scrollTop)return"password"===t.type?(l.scrollAmount+=50,window.addEventListener("ionKeyboardDidShow",a)):window.addEventListener("ionKeyboardDidShow",i),void(r=setTimeout(i,1e3))}i()}});return function(t,n,o,r,i){return e.apply(this,arguments)}}(),f=(e,t,n)=>{if(t&&n){const o=t.x-n.x,r=t.y-n.y;return o*o+r*r>e*e}return!1},p="$ionPaddingTimer",h=(e,t)=>{if("INPUT"!==e.tagName||e.parentElement&&"ION-INPUT"===e.parentElement.tagName||e.parentElement&&e.parentElement.parentElement&&"ION-SEARCHBAR"===e.parentElement.parentElement.tagName)return;const n=e.closest("ion-content");if(null===n)return;const o=n[p];o&&clearTimeout(o),t>0?n.style.setProperty("--keyboard-offset",`${t}px`):n[p]=setTimeout(()=>{n.style.setProperty("--keyboard-offset","0px")},120)},y=e=>{const t=document,n=e.getNumber("keyboardHeight",290),i=e.getBoolean("scrollAssist",!0),l=e.getBoolean("hideCaretOnScroll",!0),c=e.getBoolean("inputBlurring",!0),u=e.getBoolean("scrollPadding",!0),p=Array.from(t.querySelectorAll("ion-input, ion-textarea")),y=new WeakMap,v=new WeakMap,E=function(){var e=(0,o.Z)(function*(e){yield new Promise(t=>(0,r.c)(e,t));const t=e.shadowRoot||e,o=t.querySelector("input")||t.querySelector("textarea"),c=e.closest("ion-content"),d=c?null:e.closest("ion-footer");if(o){if(c&&l&&!y.has(e)){const t=((e,t,n)=>{if(!n||!t)return()=>{};const o=n=>{a(t)&&s(e,t,n)},i=()=>s(e,t,!1),l=()=>o(!0),c=()=>o(!1);return(0,r.a)(n,"ionScrollStart",l),(0,r.a)(n,"ionScrollEnd",c),t.addEventListener("blur",i),()=>{(0,r.b)(n,"ionScrollStart",l),(0,r.b)(n,"ionScrollEnd",c),t.addEventListener("ionBlur",i)}})(e,o,c);y.set(e,t)}if((c||d)&&i&&!v.has(e)){const t=((e,t,n,o,i)=>{let s;const l=e=>{s=(0,r.p)(e)},c=l=>{if(!s)return;const c=(0,r.p)(l);!f(6,s,c)&&!a(t)&&(l.stopPropagation(),m(e,t,n,o,i))};return e.addEventListener("touchstart",l,!0),e.addEventListener("touchend",c,!0),()=>{e.removeEventListener("touchstart",l,!0),e.removeEventListener("touchend",c,!0)}})(e,o,c,d,n);v.set(e,t)}}});return function(t){return e.apply(this,arguments)}}();c&&(()=>{let e=!0,t=!1;const n=document,o=()=>{t=!0},i=()=>{e=!0},s=o=>{if(t)return void(t=!1);const r=n.activeElement;if(!r||r.matches(d))return;const i=o.target;i!==r&&(i.matches(d)||i.closest(d)||(e=!1,setTimeout(()=>{e||r.blur()},50)))};(0,r.a)(n,"ionScrollStart",o),n.addEventListener("focusin",i,!0),n.addEventListener("touchend",s,!1)})(),u&&(e=>{const t=document,n=t=>{h(t.target,e)},o=e=>{h(e.target,0)};t.addEventListener("focusin",n),t.addEventListener("focusout",o)})(n);for(const o of p)E(o);t.addEventListener("ionInputDidLoad",e=>{E(e.detail)}),t.addEventListener("ionInputDidUnload",e=>{(e=>{if(l){const t=y.get(e);t&&t(),y.delete(e)}if(i){const t=v.get(e);t&&t(),v.delete(e)}})(e.detail)})}}}]);

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.