PageSourceSearch

https://alnassrnews.com/175.3274f64ca986d422.js

js alnassrnews.com collected 2026-10-07 05:51:30 UTC 16,227 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunknassrnewsangular=self.webpackChunknassrnewsangular||[]).push([[175],{4175:(at,re,d)=>{d.r(re);var a=d(5861),q=d(3942),Q=d(4859),b=d(908),g=d(2090),h=(d(2833),d(2940)),se=d(9681);const J="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",Y="FCM_MSG";var y=(()=>{return(e=y||(y={}))[e.DATA_MESSAGE=1]="DATA_MESSAGE",e[e.DISPLAY_NOTIFICATION=3]="DISPLAY_NOTIFICATION",y;var e})(),m=(()=>{return(e=m||(m={})).PUSH_RECEIVED="push-received",e.NOTIFICATION_CLICKED="notification-clicked",m;var e})();function p(e){const t=new Uint8Array(e);return btoa(String.fromCharCode(...t)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function de(e){const n=(e+"=".repeat((4-e.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),i=atob(n),o=new Uint8Array(i.length);for(let r=0;r<i.length;++r)o[r]=i.charCodeAt(r);return o}const _="fcm_token_details_db",z="fcm_token_object_Store";function fe(e){return w.apply(this,arguments)}function w(){return w=(0,a.Z)(function*(e){if("databases"in indexedDB&&!(yield indexedDB.databases()).map(r=>r.name).includes(_))return null;let t=null;return(yield(0,h.openDb)(_,5,function(){var i=(0,a.Z)(function*(o){var r;if(o.oldVersion<2||!o.objectStoreNames.contains(z))return;const c=o.transaction.objectStore(z),l=yield c.index("fcmSenderId").get(e);if(yield c.clear(),l)if(2===o.oldVersion){const s=l;if(!s.auth||!s.p256dh||!s.endpoint)return;t={token:s.fcmToken,createTime:null!==(r=s.createTime)&&void 0!==r?r:Date.now(),subscriptionOptions:{auth:s.auth,p256dh:s.p256dh,endpoint:s.endpoint,swScope:s.swScope,vapidKey:"string"==typeof s.vapidKey?s.vapidKey:p(s.vapidKey)}}}else if(3===o.oldVersion){const s=l;t={token:s.fcmToken,createTime:s.createTime,subscriptionOptions:{auth:p(s.auth),p256dh:p(s.p256dh),endpoint:s.endpoint,swScope:s.swScope,vapidKey:p(s.vapidKey)}}}else if(4===o.oldVersion){const s=l;t={token:s.fcmToken,createTime:s.createTime,subscriptionOptions:{auth:p(s.auth),p256dh:p(s.p256dh),endpoint:s.endpoint,swScope:s.swScope,vapidKey:p(s.vapidKey)}}}});return function(o){return i.apply(this,arguments)}}())).close(),yield(0,h.deleteDb)(_),yield(0,h.deleteDb)("fcm_vapid_details_db"),yield(0,h.deleteDb)("undefined"),ge(t)?t:null}),w.apply(this,arguments)}function ge(e){if(!e||!e.subscriptionOptions)return!1;const{subscriptionOptions:t}=e;return"number"==typeof e.createTime&&e.createTime>0&&"string"==typeof e.token&&e.token.length>0&&"string"==typeof t.auth&&t.auth.length>0&&"string"==typeof t.p256dh&&t.p256dh.length>0&&"string"==typeof t.endpoint&&t.endpoint.length>0&&"string"==typeof t.swScope&&t.swScope.length>0&&"string"==typeof t.vapidKey&&t.vapidKey.length>0}const f="firebase-messaging-store";let v=null;function k(){return v||(v=(0,h.openDb)("firebase-messaging-database",1,e=>{0===e.oldVersion&&e.createObjectStore(f)})),v}function S(e){return T.apply(this,arguments)}function T(){return(T=(0,a.Z)(function*(e){const t=M(e),i=yield(yield k()).transaction(f).objectStore(f).get(t);if(i)return i;{const o=yield fe(e.appConfig.senderId);if(o)return yield I(e,o),o}})).apply(this,arguments)}function I(e,t){return E.apply(this,arguments)}function E(){return(E=(0,a.Z)(function*(e,t){const n=M(e),o=(yield k()).transaction(f,"readwrite");return yield o.objectStore(f).put(t,n),yield o.complete,t})).apply(this,arguments)}function me(e){return A.apply(this,arguments)}function A(){return(A=(0,a.Z)(function*(e){const t=M(e),i=(yield k()).transaction(f,"readwrite");yield i.objectStore(f).delete(t),yield i.complete})).apply(this,arguments)}function M({appConfig:e}){return e.appId}const u=new g.LL("messaging","Messaging",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"only-available-in-window":"This method is available in a Window context.","only-available-in-sw":"This method is available in a service worker context.","permission-default":"The notification permission was not granted and dismissed instead.","permission-blocked":"The notification permission was not granted and blocked instead.","unsupported-browser":"This browser doesn't support the API's required to use the Firebase SDK.","indexed-db-unsupported":"This browser doesn't support indexedDb.open() (ex. Safari iFrame, Firefox Private Browsing, etc)","failed-service-worker-registration":"We are unable to register the default service worker. {$browserErrorMessage}","token-subscribe-failed":"A problem occurred while subscribing the user to FCM: {$errorInfo}","token-subscribe-no-token":"FCM returned no token when subscribing the user to push.","token-unsubscribe-failed":"A problem occurred while unsubscribing the user from FCM: {$errorInfo}","token-update-failed":"A problem occurred while updating the user from FCM: {$errorInfo}","token-update-no-token":"FCM returned no token when updating the user to push.","use-sw-after-get-token":"The useServiceWorker() method may only be called once and must be called before calling getToken() to ensure your service worker is used.","invali
1d-sw-registration":"The input to useServiceWorker() must be a ServiceWorkerRegistration.","invalid-bg-handler":"The input to setBackgroundMessageHandler() must be a function.","invalid-vapid-key":"The public VAPID key must be a string.","use-vapid-key-after-get-token":"The usePublicVapidKey() method may only be called once and must be called before calling getToken() to ensure your VAPID key is used."});function _e(e,t){return x.apply(this,arguments)}function x(){return(x=(0,a.Z)(function*(e,t){const n=yield N(e),i=ee(t),o={method:"POST",headers:n,body:JSON.stringify(i)};let r;try{r=yield(yield fetch(C(e.appConfig),o)).json()}catch(c){throw u.create("token-subscribe-failed",{errorInfo:c})}if(r.error)throw u.create("token-subscribe-failed",{errorInfo:r.error.message});if(!r.token)throw u.create("token-subscribe-no-token");return r.token})).apply(this,arguments)}function we(e,t){return D.apply(this,arguments)}function D(){return(D=(0,a.Z)(function*(e,t){const n=yield N(e),i=ee(t.subscriptionOptions),o={method:"PATCH",headers:n,body:JSON.stringify(i)};let r;try{r=yield(yield fetch(`${C(e.appConfig)}/${t.token}`,o)).json()}catch(c){throw u.create("token-update-failed",{errorInfo:c})}if(r.error)throw u.create("token-update-failed",{errorInfo:r.error.message});if(!r.token)throw u.create("token-update-no-token");return r.token})).apply(this,arguments)}function X(e,t){return O.apply(this,arguments)}function O(){return(O=(0,a.Z)(function*(e,t){const i={method:"DELETE",headers:yield N(e)};try{const r=yield(yield fetch(`${C(e.appConfig)}/${t}`,i)).json();if(r.error)throw u.create("token-unsubscribe-failed",{errorInfo:r.error.message})}catch(o){throw u.create("token-unsubscribe-failed",{errorInfo:o})}})).apply(this,arguments)}function C({projectId:e}){return`https://fcmregistrations.googleapis.com/v1/projects/${e}/registrations`}function N(e){return P.apply(this,arguments)}function P(){return(P=(0,a.Z)(function*({appConfig:e,installations:t}){const n=yield t.getToken();return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":e.apiKey,"x-goog-firebase-installations-auth":`FIS ${n}`})})).apply(this,arguments)}function ee({p256dh:e,auth:t,endpoint:n,vapidKey:i}){const o={web:{endpoint:n,auth:t,p256dh:e}};return i!==J&&(o.web.applicationPubKey=i),o}const ve=6048e5;function ke(e){return K.apply(this,arguments)}function K(){return(K=(0,a.Z)(function*(e){const t=yield Te(e.swRegistration,e.vapidKey),n={vapidKey:e.vapidKey,swScope:e.swRegistration.scope,endpoint:t.endpoint,auth:p(t.getKey("auth")),p256dh:p(t.getKey("p256dh"))},i=yield S(e.firebaseDependencies);if(i){if(Ie(i.subscriptionOptions,n))return Date.now()>=i.createTime+ve?Se(e,{token:i.token,createTime:Date.now(),subscriptionOptions:n}):i.token;try{yield X(e.firebaseDependencies,i.token)}catch(o){console.warn(o)}return te(e.firebaseDependencies,n)}return te(e.firebaseDependencies,n)})).apply(this,arguments)}function L(e){return B.apply(this,arguments)}function B(){return(B=(0,a.Z)(function*(e){const t=yield S(e.firebaseDependencies);t&&(yield X(e.firebaseDependencies,t.token),yield me(e.firebaseDependencies));const n=yield e.swRegistration.pushManager.getSubscription();return!n||n.unsubscribe()})).apply(this,arguments)}function Se(e,t){return R.apply(this,arguments)}function R(){return(R=(0,a.Z)(function*(e,t){try{const n=yield we(e.firebaseDependencies,t),i=Object.assign(Object.assign({},t),{token:n,createTime:Date.now()});return yield I(e.firebaseDependencies,i),n}catch(n){throw yield L(e),n}})).apply(this,arguments)}function te(e,t){return j.apply(this,arguments)}function j(){return(j=(0,a.Z)(function*(e,t){const i={token:yield _e(e,t),createTime:Date.now(),subscriptionOptions:t};return yield I(e,i),i.token})).apply(this,arguments)}function Te(e,t){return F.apply(this,arguments)}function F(){return(F=(0,a.Z)(function*(e,t){return(yield e.pushManager.getSubscription())||e.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:de(t)})})).apply(this,arguments)}function Ie(e,t){return t.vapidKey===e.vapidKey&&t.endpoint===e.endpoint&&t.auth===e.auth&&t.p256dh===e.p256dh}function Ee(e){const t={from:e.from,collapseKey:e.collapse_key,messageId:e.fcmMessageId};return function Ae(e,t){if(!t.notification)return;e.notification={};const n=t.notification.title;n&&(e.notification.title=n);const i=t.notification.body;i&&(e.notification.body=i);const o=t.notification.image;o&&(e.notification.image=o)}(t,e),function Me(e,t){!t.data||(e.data=t.data)}(t,e),function xe(e,t){if(!t.fcmOptions)return;e.fcmOptions={};const n=t.fcmOptions.link;n&&(e.fcmOptions.link=n);const i=t.fcmOptions.analytics_label;i&&(e.fcmOptions.analyticsLabel=i)}(t,e),t}function Oe(e){return new Promise(t=>{setTimeout(t,e)})}function Ce(e,t){return Z.apply(this,arguments)}function Z(){return(Z=(0,a.Z)(function*(e,t){const n=Ne(t,yield e.firebaseDependencies.installations.getId());Pe(e,n)})).apply(this,arguments)}function Ne(e,t){var n,i;const o={};return e.from&&(o.project_number=e.from),e.fcmMessageId&&(o.message_id=e.fcmMessageId),o.instance_id=t,o.message_type=e.notification?y.DISPLAY_NOTIFICATION.toString():y.DATA_MESSAGE.toString(),o.sdk_platform=3..toString(),o.package_name=self.origin.replace(/(^\w+:|^)\/\//,""),e.collapse_key&&
1(o.collapse_key=e.collapse_key),o.event=1..toString(),(null===(n=e.fcmOptions)||void 0===n?void 0:n.analytics_label)&&(o.analytics_label=null===(i=e.fcmOptions)||void 0===i?void 0:i.analytics_label),o}function Pe(e,t){const n={};n.event_time_ms=Math.floor(Date.now()).toString(),n.source_extension_json_proto3=JSON.stringify(t),e.logEvents.push(n)}function ne(e,t){const n=[];for(let i=0;i<e.length;i++)n.push(e.charAt(i)),i<t.length&&n.push(t.charAt(i));return n.join("")}function V(){return(V=(0,a.Z)(function*(e,t){var n,i;const{newSubscription:o}=e;if(!o)return void(yield L(t));const r=yield S(t.firebaseDependencies);yield L(t),t.vapidKey=null!==(i=null===(n=null==r?void 0:r.subscriptionOptions)||void 0===n?void 0:n.vapidKey)&&void 0!==i?i:J,yield ke(t)})).apply(this,arguments)}function W(){return(W=(0,a.Z)(function*(e,t){const n=je(e);if(!n)return;t.deliveryMetricsExportedToBigQueryEnabled&&(yield Ce(t,n));const i=yield ie();if(Ze(i))return Ve(i,n);if(n.notification&&(yield We(Re(n))),t&&t.onBackgroundMessageHandler){const o=Ee(n);"function"==typeof t.onBackgroundMessageHandler?t.onBackgroundMessageHandler(o):t.onBackgroundMessageHandler.next(o)}})).apply(this,arguments)}function U(){return(U=(0,a.Z)(function*(e){var t,n;const i=null===(n=null===(t=e.notification)||void 0===t?void 0:t.data)||void 0===n?void 0:n[Y];if(!i)return;if(e.action)return;e.stopImmediatePropagation(),e.notification.close();const o=Ue(i);if(!o)return;const r=new URL(o,self.location.href),c=new URL(self.location.origin);if(r.host!==c.host)return;let l=yield Fe(r);return l?l=yield l.focus():(l=yield self.clients.openWindow(o),yield Oe(3e3)),l?(i.messageType=m.NOTIFICATION_CLICKED,i.isFirebaseMessaging=!0,l.postMessage(i)):void 0})).apply(this,arguments)}function Re(e){const t=Object.assign({},e.notification);return t.data={[Y]:e},t}function je({data:e}){if(!e)return null;try{return e.json()}catch(t){return null}}function Fe(e){return G.apply(this,arguments)}function G(){return(G=(0,a.Z)(function*(e){const t=yield ie();for(const n of t){const i=new URL(n.url,self.location.href);if(e.host===i.host)return n}return null})).apply(this,arguments)}function Ze(e){return e.some(t=>"visible"===t.visibilityState&&!t.url.startsWith("chrome-extension://"))}function Ve(e,t){t.isFirebaseMessaging=!0,t.messageType=m.PUSH_RECEIVED;for(const n of e)n.postMessage(t)}function ie(){return self.clients.matchAll({type:"window",includeUncontrolled:!0})}function We(e){var t;const{actions:n}=e,{maxActions:i}=Notification;return n&&i&&n.length>i&&console.warn(`This browser only supports ${i} actions. The remaining actions will not be displayed.`),self.registration.showNotification(null!==(t=e.title)&&void 0!==t?t:"",e)}function Ue(e){var t,n,i;return(null!==(n=null===(t=e.fcmOptions)||void 0===t?void 0:t.link)&&void 0!==n?n:null===(i=e.notification)||void 0===i?void 0:i.click_action)||(function De(e){return"object"==typeof e&&!!e&&"google.c.a.c_id"in e}(e.data)?self.location.origin:null)}function H(e){return u.create("missing-app-config-values",{valueName:e})}ne("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o"),ne("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");class He{constructor(t,n,i){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const o=function Ge(e){if(!e||!e.options)throw H("App Configuration Object");if(!e.name)throw H("App Name");const t=["projectId","apiKey","appId","messagingSenderId"],{options:n}=e;for(const i of t)if(!n[i])throw H(i);return{appName:e.name,projectId:n.projectId,apiKey:n.apiKey,appId:n.appId,senderId:n.messagingSenderId}}(t);this.firebaseDependencies={app:t,appConfig:o,installations:n,analyticsProvider:i}}_delete(){return Promise.resolve()}}const $e=e=>{const t=new He(e.getProvider("app").getImmediate(),e.getProvider("installations-internal").getImmediate(),e.getProvider("analytics-internal"));return self.addEventListener("push",n=>{n.waitUntil(function Le(e,t){return W.apply(this,arguments)}(n,t))}),self.addEventListener("pushsubscriptionchange",n=>{n.waitUntil(function Ke(e,t){return V.apply(this,arguments)}(n,t))}),self.addEventListener("notificationclick",n=>{n.waitUntil(function Be(e){return U.apply(this,arguments)}(n))}),t};!function qe(){(0,se._registerComponent)(new Q.wA("messaging-sw",$e,"PUBLIC"))}();class oe{constructor(t,n){this.app=t,this._delegate=n,this.app=t,this._delegate=n}getToken(t){var n=this;return(0,a.Z)(function*(){return(0,b.LP)(n._delegate,t)})()}deleteToken(){var t=this;return(0,a.Z)(function*(){return(0,b.pQ)(t._delegate)})()}onMessage(t){return(0,b.ps)(this._delegate,t)}
1onBackgroundMessage(t){return function ze(e,t){return function Je(e,t){if(void 0!==self.document)throw u.create("only-available-in-sw");return e.onBackgroundMessageHandler=t,()=>{e.onBackgroundMessageHandler=null}}(e=(0,g.m9)(e),t)}(this._delegate,t)}}const ot=e=>self&&"ServiceWorkerGlobalScope"in self?new oe(e.getProvider("app-compat").getImmediate(),e.getProvider("messaging-sw").getImmediate()):new oe(e.getProvider("app-compat").getImmediate(),e.getProvider("messaging").getImmediate()),rt={isSupported:function tt(){return self&&"ServiceWorkerGlobalScope"in self?function it(){return(0,g.hl)()&&"PushManager"in self&&"Notification"in self&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")}():function nt(){return"undefined"!=typeof window&&(0,g.hl)()&&(0,g.zI)()&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window&&"fetch"in window&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")}()}};(function st(){q.Z.INTERNAL.registerComponent(new Q.wA("messaging-compat",ot,"PUBLIC").setServiceProps(rt))})(),q.Z.registerVersion("@firebase/messaging-compat","0.1.8")}}]);

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.