PageSourceSearch

https://vendor.nexgentaxes.com/9216.ce11f103fa2acf3b.js

js nexgentaxes.com collected 2026-10-05 04:13:55 UTC 10,820 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9216],{61208:(V,x,d)=>{d.d(x,{_8:()=>a,on:()=>_,wd:()=>O});var a=function(u){return u.Prompt="PROMPT",u.Camera="CAMERA",u.Photos="PHOTOS",u}(a||{}),O=function(u){return u.Rear="REAR",u.Front="FRONT",u}(O||{}),_=function(u){return u.Uri="uri",u.Base64="base64",u.DataUrl="dataUrl",u}(_||{})},26400:(V,x,d)=>{d.d(x,{C_:()=>y,Yr:()=>p,w8:()=>W});var a=d(73448);typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"&&global;var A=function(n){return n.Unimplemented="UNIMPLEMENTED",n.Unavailable="UNAVAILABLE",n}(A||{});class p extends Error{constructor(e,t,o){super(e),this.message=e,this.code=t,this.data=o}}const w=n=>{var e,t,o,s,r;const l=n.CapacitorCustomPlatform||null,i=n.Capacitor||{},m=i.Plugins=i.Plugins||{},c=n.CapacitorPlatforms,D=(null===(e=c?.currentPlatform)||void 0===e?void 0:e.getPlatform)||(()=>null!==l?l.name:(n=>{var e,t;return n?.androidBridge?"android":null!==(t=null===(e=n?.webkit)||void 0===e?void 0:e.messageHandlers)&&void 0!==t&&t.bridge?"ios":"web"})(n)),ce=(null===(t=c?.currentPlatform)||void 0===t?void 0:t.isNativePlatform)||(()=>"web"!==D()),ue=(null===(o=c?.currentPlatform)||void 0===o?void 0:o.isPluginAvailable)||(f=>{const g=Z.get(f);return!(!g?.platforms.has(D())&&!te(f))}),te=(null===(s=c?.currentPlatform)||void 0===s?void 0:s.getPluginHeader)||(f=>{var g;return null===(g=i.PluginHeaders)||void 0===g?void 0:g.find(R=>R.name===f)}),Z=new Map,ve=(null===(r=c?.currentPlatform)||void 0===r?void 0:r.registerPlugin)||((f,g={})=>{const R=Z.get(f);if(R)return console.warn(`Capacitor plugin "${f}" already registered. Cannot register plugins twice.`),R.proxy;const T=D(),I=te(f);let L;const pe=function(){var h=(0,a.c)(function*(){return!L&&T in g?L=L="function"==typeof g[T]?yield g[T]():g[T]:null!==l&&!L&&"web"in g&&(L=L="function"==typeof g.web?yield g.web():g.web),L});return function(){return h.apply(this,arguments)}}(),N=h=>{let v;const C=(...k)=>{const j=pe().then(b=>{const B=((h,v)=>{var C,k;if(!I){if(h)return null===(k=h[v])||void 0===k?void 0:k.bind(h);throw new p(`"${f}" plugin is not implemented on ${T}`,A.Unimplemented)}{const j=I?.methods.find(b=>v===b.name);if(j)return"promise"===j.rtype?b=>i.nativePromise(f,v.toString(),b):(b,B)=>i.nativeCallback(f,v.toString(),b,B);if(h)return null===(C=h[v])||void 0===C?void 0:C.bind(h)}})(b,h);if(B){const G=B(...k);return v=G?.remove,G}throw new p(`"${f}.${h}()" is not implemented on ${T}`,A.Unimplemented)});return"addListener"===h&&(j.remove=(0,a.c)(function*(){return v()})),j};return C.toString=()=>`${h.toString()}() { [capacitor code] }`,Object.defineProperty(C,"name",{value:h,writable:!1,configurable:!1}),C},ne=N("addListener"),re=N("removeListener"),be=(h,v)=>{const C=ne({eventName:h},v),k=function(){var b=(0,a.c)(function*(){const B=yield C;re({eventName:h,callbackId:B},v)});return function(){return b.apply(this,arguments)}}(),j=new Promise(b=>C.then(()=>b({remove:k})));return j.remove=(0,a.c)(function*(){console.warn("Using addListener() without 'await' is deprecated."),yield k()}),j},q=new Proxy({},{get(h,v){switch(v){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return I?be:ne;case"removeListener":return re;default:return N(v)}}});return m[f]=q,Z.set(f,{name:f,proxy:q,platforms:new Set([...Object.keys(g),...I?[T]:[]])}),q});return i.convertFileSrc||(i.convertFileSrc=f=>f),i.getPlatform=D,i.handleError=f=>n.console.error(f),i.isNativePlatform=ce,i.isPluginAvailable=ue,i.pluginMethodNoop=(f,g,R)=>Promise.reject(`${R} does not have an implementation of "${g}".`),i.registerPlugin=ve,i.Exception=p,i.DEBUG=!!i.DEBUG,i.isLoggingEnabled=!!i.isLoggingEnabled,i.platform=i.getPlatform(),i.isNative=i.isNativePlatform(),i},P=(n=>n.Capacitor=w(n))(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),y=P.registerPlugin;class W{constructor(e){this.listeners={},this.windowListeners={},e&&(console.warn(`Capacitor WebPlugin "${e.name}" config object was deprecated in v3 and will be removed in v4.`),this.config=e)}addListener(e,t){var o=this;this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t);const r=this.windowListeners[e];r&&!r.registered&&this.addWindowListener(r);const l=function(){var m=(0,a.c)(function*(){return o.removeListener(e,t)});return function(){return m.apply(this,arguments)}}(),i=Promise.resolve({remove:l});return Object.defineProperty(i,"remove",{value:(m=(0,a.c)(function*(){console.warn("Using addListener() without 'await' is deprecated."),yield l()}),function(){return m.apply(this,arguments)})}),i;var m}removeAllListeners(){var e=this;return(0,a.c)(function*(){e.listeners={};for(const t in e.windowListeners)e.removeWindowListener(e.windowListeners[t]);e.windowListeners={}})()}notifyListeners(e,t){const o=this.listeners[e];o&&o.forEach(s=>s(t))}hasListeners(e){return!!this.listeners[e].length}registerWindowListener(e,t){this.windowListeners[t]={registered:!1,windowEventName:e,pluginEventName:t,handler:o=>{this.notifyListeners(t,o)}}}unimplemented(e="not implemented"){return new P.Exception(e,A.Unimplemented)}unavailable(e="not available"){return new P.Exception(e,A.Unavailable)}removeListener(e,t){var o=this;return(0,a.c)(function*(){const s=o.listeners[e];if(!s)return;const r=s.indexOf(t);o.listeners[e].splice(r,1),o.listeners[e].length||o.removeWindowListener(o.windowListeners[e])})()}addWindowListener(e){window.addEventListener(e.windowEventName,e.handler),e.registered=!0}removeWindowListener(e){e&&(window.removeEventListener(e.windowEventName,e.handler),e.registered=!1)}}const H=n=>
1encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),F=n=>n.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class J extends W{getCookies(){return(0,a.c)(function*(){const e=document.cookie,t={};return e.split(";").forEach(o=>{if(o.length<=0)return;let[s,r]=o.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");s=F(s).trim(),r=F(r).trim(),t[s]=r}),t})()}setCookie(e){return(0,a.c)(function*(){try{const t=H(e.key),o=H(e.value),s=`; expires=${(e.expires||"").replace("expires=","")}`,r=(e.path||"/").replace("path=",""),l=null!=e.url&&e.url.length>0?`domain=${e.url}`:"";document.cookie=`${t}=${o||""}${s}; path=${r}; ${l};`}catch(t){return Promise.reject(t)}})()}deleteCookie(e){return(0,a.c)(function*(){try{document.cookie=`${e.key}=; Max-Age=0`}catch(t){return Promise.reject(t)}})()}clearCookies(){return(0,a.c)(function*(){try{const e=document.cookie.split(";")||[];for(const t of e)document.cookie=t.replace(/^ +/,"").replace(/=.*/,`=;expires=${(new Date).toUTCString()};path=/`)}catch(e){return Promise.reject(e)}})()}clearAllCookies(){var e=this;return(0,a.c)(function*(){try{yield e.clearCookies()}catch(t){return Promise.reject(t)}})()}}y("CapacitorCookies",{web:()=>new J});const X=function(){var n=(0,a.c)(function*(e){return new Promise((t,o)=>{const s=new FileReader;s.onload=()=>{const r=s.result;t(r.indexOf(",")>=0?r.split(",")[1]:r)},s.onerror=r=>o(r),s.readAsDataURL(e)})});return function(t){return n.apply(this,arguments)}}();class le extends W{request(e){return(0,a.c)(function*(){const t=((n,e={})=>{const t=Object.assign({method:n.method||"GET",headers:n.headers},e),s=((n={})=>{const e=Object.keys(n);return Object.keys(n).map(s=>s.toLocaleLowerCase()).reduce((s,r,l)=>(s[r]=n[e[l]],s),{})})(n.headers)["content-type"]||"";if("string"==typeof n.data)t.body=n.data;else if(s.includes("application/x-www-form-urlencoded")){const r=new URLSearchParams;for(const[l,i]of Object.entries(n.data||{}))r.set(l,i);t.body=r.toString()}else if(s.includes("multipart/form-data")||n.data instanceof FormData){const r=new FormData;if(n.data instanceof FormData)n.data.forEach((i,m)=>{r.append(m,i)});else for(const i of Object.keys(n.data))r.append(i,n.data[i]);t.body=r;const l=new Headers(t.headers);l.delete("content-type"),t.headers=l}else(s.includes("application/json")||"object"==typeof n.data)&&(t.body=JSON.stringify(n.data));return t})(e,e.webFetchExtra),o=((n,e=!0)=>n?Object.entries(n).reduce((o,s)=>{const[r,l]=s;let i,m;return Array.isArray(l)?(m="",l.forEach(c=>{i=e?encodeURIComponent(c):c,m+=`${r}=${i}&`}),m.slice(0,-1)):(i=e?encodeURIComponent(l):l,m=`${r}=${i}`),`${o}&${m}`},"").substr(1):null)(e.params,e.shouldEncodeUrlParams),s=o?`${e.url}?${o}`:e.url,r=yield fetch(s,t),l=r.headers.get("content-type")||"";let m,c,{responseType:i="text"}=r.ok?e:{};switch(l.includes("application/json")&&(i="json"),i){case"arraybuffer":case"blob":c=yield r.blob(),m=yield X(c);break;case"json":m=yield r.json();break;default:m=yield r.text()}const K={};return r.headers.forEach((D,Y)=>{K[Y]=D}),{data:m,headers:K,status:r.status,url:r.url}})()}get(e){var t=this;return(0,a.c)(function*(){return t.request(Object.assign(Object.assign({},e),{method:"GET"}))})()}post(e){var t=this;return(0,a.c)(function*(){return t.request(Object.assign(Object.assign({},e),{method:"POST"}))})()}put(e){var t=this;return(0,a.c)(function*(){return t.request(Object.assign(Object.assign({},e),{method:"PUT"}))})()}patch(e){var t=this;return(0,a.c)(function*(){return t.request(Object.assign(Object.assign({},e),{method:"PATCH"}))})()}delete(e){var t=this;return(0,a.c)(function*(){return t.request(Object.assign(Object.assign({},e),{method:"DELETE"}))})()}}y("CapacitorHttp",{web:()=>new le})},94292:(V,x,d)=>{d.d(x,{s:()=>A});var a=d(73448),O=d(26400),_=d(61208);const u=(0,O.C_)("Camera",{web:()=>d.e(9028).then(d.bind(d,9028)).then(p=>new p.CameraWeb)});var S=d(36716),U=d(32116),z=d(97048);let A=(()=>{class p{http;constructor(w){this.http=w}uploadPhoto(w,E=!1){var P=this;return new Promise((y,M)=>{u.getPhoto({resultType:_.on.Base64,width:400,allowEditing:!1,quality:100,direction:_.wd.Rear}).then(function(){var $=(0,a.c)(function*(W){const ee=(new Date).valueOf(),H=w+"_"+ee+".png",F=P.dataURItoBlob(W.base64String),J=new File([F],H,{type:"image/png"}),Q=new FormData;Q.append("fi",J);const X=yield P.uploadPhotoToS3(Q);y(X.Location)});return function(W){return $.apply(this,arguments)}}(),$=>{M("Canceled Photo Upload")})})}uploadPhotoToS3(w){return new Promise((E,P)=>{this.http.post(S.O.apiBase+"api/upload",w).subscribe(M=>{E(M)},M=>{P(M)})})}dataURItoBlob(w){const E=window.atob(w),P=new ArrayBuffer(E.length),y=new Uint8Array(P);for(let $=0;$<E.length;$++)y[$]=E.charCodeAt($);return new Blob([y],{type:"image/png"})}static \u0275fac=function(E){return new(E||p)(U.CoB(z.KK))};static \u0275prov=U.wxM({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})()},48396:(V,x,d)=>{d.d(x,{S:()=>S});var a=d(91368),O=d(83068),_=d(89192),u=d(32116);let S=(()=>{class U{static \u0275fac=function(p){return new(p||U)};static \u0275mod=u.a4G({type:U});static \u0275inj=u.s3X({imports:[O.wZ,a.MD,_.qQ]})}return U})()}}]);

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.