modify landing page

This commit is contained in:
Bkk1234 committed 2026-11-16 01:39:59 +07:00
commit dd232b1c02
2599 files changed
+226992

No files matched your search

@@ -0,0 +1 @@
(window["webpackJsonp-ae-fe/cosmos-1"]=window["webpackJsonp-ae-fe/cosmos-1"]||[]).push([[8],{1081:function(e,t,n){"use strict";n.r(t);var i=n(0),r=n.n(i),a=n(1),o=n.n(a),s=n(8),u=n(28),c=n.n(u),l=n(45),p=n(58),f=n(53),d=n.n(f),h=n(41),_=n.n(h),m=(decodeURIComponent(location.href),_.a.getBuyerLocale()),g=["he_IL","ar_SA","iw_IL","ar_MA"].indexOf(m)>=0,v=n(692),b=n.n(v),w=(s.util.tracker,function(e){return d.a.request({api:"mtop.global.ug.webpush.subscribe",v:"1.0",appKey:24815441,timeout:4e3,type:"POST",data:e})}),k=function(e){var t,n,i;function r(e){return e.replace(/_/g,"-").toLowerCase()}return null!==(t=null===b.a||void 0===b.a||null===(n=b.a[r(m)])||void 0===n?void 0:n[e])&&void 0!==t?t:null===b.a||void 0===b.a||null===(i=b.a[r("en_US")])||void 0===i?void 0:i[e]},y=n(747),x=n.n(y),C=function(e){var t,n,i=Object(u.useCallback)((function(t){e.destroy(t)}),[]);return Object(p.e)()?(n=(null===(t=window.__webpushConfig)||void 0===t?void 0:t.lang)||{},c.a.createElement("div",{className:x.a["webpush-msite-mask"]},c.a.createElement("div",{className:x.a["webpush-msite"]},c.a.createElement("div",{className:x.a["webpush-msite-title"]},n.title||"Get order and savings updates"),c.a.createElement("div",{className:x.a["webpush-msite-desc"]},n.subTitle||"We’ll notify you about order status, special savings, store events and more."),c.a.createElement("div",{className:x.a["webpush-msite-tips"]},n.btnTips||"Notifications can be turned off later"),c.a.createElement("div",{className:x.a["webpush-msite-button"],onClick:function(){var e,t;i("auth"),null===(e=window.__webpushConfig)||void 0===e||null===(t=e.onClick)||void 0===t||t.call(e)}},n.btnContext||"Get notifications"),c.a.createElement("div",{className:x.a["webpush-msite-cancel"],onClick:function(){var e,t;i("reject"),null===(e=window.__webpushConfig)||void 0===e||null===(t=e.onClose)||void 0===t||t.call(e)}},n.cancelBtnText||"Maybe later")))):c.a.createElement("div",{className:x.a["webpush-ui"]+" "+(g?x.a.rtl:"")},c.a.createElement("div",{className:x.a["webpush-ui__logo"]},c.a.createElement("img",{src:"https://img.alicdn.com/tfs/TB1OQux3hD1gK0jSZFsXXbldVXa-134-32.png",alt:"aliexpress"})),c.a.createElement("div",{className:x.a["webpush-ui-info"]},c.a.createElement("div",{className:""+x.a["webpush-ui-info__title"]},k("title")),c.a.createElement("div",{className:x.a["webpush-ui-info__subTitle"]},k("sub-title")),c.a.createElement("div",{className:x.a["webpush-ui-info__operate"]},c.a.createElement("div",{className:(x.a.allow||"")+" "+x.a["web-push-info__base"],onClick:i.bind(null,"auth")},k("Allow")),c.a.createElement("div",{className:x.a.prohibit+" "+x.a["web-push-info__base"],onClick:i.bind(null,"reject")},k("Prohibit")))),c.a.createElement("img",{className:x.a["web-push-ui__close"],onClick:i.bind(null,"close"),src:"https://img.alicdn.com/tfs/TB1GSux3fb2gK0jSZK9XXaEgFXa-21-21.png",alt:""}))};var A=n(4),F=n.n(A),P=n(6);n(431);var S="postMessage"in window;function E(e,t,n){var i="";if(arguments.length<2?i="target error - target and name are both required":"object"!=typeof e?i="target error - target itself must be window object":"string"!=typeof t&&(i="target error - target name must be string type"),i)throw new Error(i);this.target=e,this.name=t,this.prefix=n}function O(e,t){this.targets={},this.name=e,this.listenFunc=[],this.prefix=t||"[PROJECT_NAME]",this.initListen()}E.prototype.send=S?function(e){this.target.postMessage(this.prefix+"|"+this.name+"__Messenger__"+e,"*")}:function(e){var t=window.navigator[this.prefix+this.name];if("function"!=typeof t)throw new Error("target callback function is not defined");t(this.prefix+e,window)},O.prototype.addTarget=function(e,t){var n=new E(e,t,this.prefix);this.targets[t]=n},O.prototype.initListen=function(){var e=this,t=function(t){if("object"==typeof t&&t.data&&t.data.indexOf&&t.data.indexOf("__Messenger__")>=0)for(var n=(t=t.data).split("__Messenger__"),i=(t=n[1],n[0].split("|")),r=i[0],a=i[1],o=0;o<e.listenFunc.length;o++)r+a===e.prefix+e.name&&e.listenFunc[o](t)};S?"addEventListener"in document?window.addEventListener("message",t,!1):"attachEvent"in document&&window.attachEvent("onmessage",t):window.navigator[this.prefix+this.name]=t},O.prototype.listen=function(e){for(var t=0,n=this.listenFunc.length,i=!1;t<n;t++)if(this.listenFunc[t]==e){i=!0;break}i||this.listenFunc.push(e)},O.prototype.clear=function(){this.listenFunc=[]},O.prototype.send=function(e){var t,n=this.targets;for(t in n)n.hasOwnProperty(t)&&n[t].send(e)};var N,I=new O("webpush-client-v1-parent",void 0),j=function(e,t){I.send(JSON.stringify({type:e,payload:t}))},U=2592e5,$=s.util.tracker;!function(e){e.granted="granted",e.denied="denied",e.default="default"}(N||(N={}));var z,D,M,T,L,R,B=function(e){throw $.clk({ae_button_type:"msite.webpush.suberror",ae_object_value:e||""}),j("store",{token:"",expired:+new Date+U,status:N.denied}),new Error(e)},X=function(e){var t=e.getKey?e.getKey("p256dh"):"",n=e.getKey?e.getKey("auth"):"";return{endpoint:e.endpoint,p256Line truncated