Subida del módulo y tema de PrestaShop

This commit is contained in:
Kaloyan
2026-04-09 18:31:51 +02:00
parent 12c253296f
commit 16b3ff9424
39262 changed files with 7418797 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -0,0 +1,4 @@
<svg width="39" height="44" viewBox="0 0 39 44" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8.7998 8.79993H18.9233C26.1877 8.79993 29.4835 13.8415 29.4835 18.2084C29.4835 22.5753 26.1887 27.6169 18.9233 27.6169H15.7475V35.1989H8.7998V8.79993Z" fill="black"/>
<path d="M15.7191 22.1612H14.3252V20.8459H18.4924V19.5307H17.0985V18.1999H15.7201V16.8847H14.3262V14.2542H15.7201V12.939H21.2656V14.2542H22.6595V15.5694H18.4924V16.8847H19.8707V18.1999H21.2646V19.5307H22.6585V22.1612H21.2646V23.4764H15.7191V22.1612Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 546 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

View File

@@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,41 @@
{#**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*#}
{% extends '@PrestaShop/Admin/layout.html.twig' %}
{% block content %}
<link href="https://assets.prestashop3.com/dst/mbo/v1/mbo-cdc-dependencies-resolver.umd.js" rel=preload as=script>
<script src="https://assets.prestashop3.com/dst/mbo/v1/mbo-cdc-dependencies-resolver.umd.js"></script>
<div id="cdc-container"></div>
{% endblock %}
{% block javascripts %}
<script defer>
const renderMboCdcDependencyResolver = window.mboCdcDependencyResolver.render
const context = {
...{{ dependencies|json_encode|raw }},
onDependenciesResolved: () => location.reload(),
onDependencyResolved: (dependencyData) => console.info('Dependency installed', dependencyData),
onDependencyFailed: (dependencyData) => console.error('Failed to install dependency', dependencyData),
onDependenciesFailed: () => console.error('There are some errors'),
}
renderMboCdcDependencyResolver(context, '#cdc-container')
</script>
{% endblock %}

View File

@@ -0,0 +1,52 @@
{#**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*#}
{% extends '@PrestaShop/Admin/layout.html.twig' %}
{% block content %}
{% include "@Modules/psshipping/views/templates/dist/src/app/settings/index.html" %}
{% endblock %}
{% block stylesheets %}
{{ parent() }}
<style>
body {
background-color: white!important;
}
</style>
<script>
var defaultIsoCode = '{{ defaultIsoCode|raw }}'
var psxShippingApiUrl = '{{ psxShippingApiUrl|raw }}'
var isOnboardingDone = {{ isOnboardingDone|json_encode }}
var contextPsAccounts = {{ contextPsAccounts|json_encode|raw }}
var tokenPsAccounts = '{{ tokenPsAccounts|raw }}'
var psAccountCdnUrl = '{{ psAccountCdnUrl|raw }}'
var psBillingContext = {{ psBillingContext|json_encode|raw }}
var isMultiShopContext = {{ isMultiShopContext|json_encode }}
var shops = {{ shops|json_encode|raw }}
var routes = {{ routes|json_encode|raw }}
var phpVersion = '{{ phpVersion|raw }}'
var moduleVersion = '{{ moduleVersion|raw }}'
var getMerchantIp = '{{ getMerchantIp|raw }}'
var psVersion = '{{ psVersion|raw }}'
var activeHooks = {{ activeHooks|json_encode|raw }}
</script>
{% endblock %}

View File

@@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,45 @@
{#**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*#}
{% trans_default_domain 'Module.Psshipping.Admin' %}
<li class="nav-item">
<a class="nav-link logo-psshipping"
id="psshippingTab"
data-toggle="tab"
href="#psshippingTabContent"
role="tab"
aria-controls="psshippingTabContent"
aria-expanded="true"
aria-selected="false"
>
<img src="{{ psImage }}" width="24" />
{{ 'PrestaShop Shipping'|trans }}
</a>
</li>
{% block stylesheets %}
<style>
.logo-psshipping {
display: flex;
align-items: center;
gap: 10px
}
</style>
{% endblock %}

View File

@@ -0,0 +1,41 @@
{**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*}
<li class="nav-item">
<a class="nav-link"
id="psshippingTab"
data-toggle="tab"
href="#psshippingTabContent"
role="tab"
aria-controls="psshippingTabContent"
aria-expanded="true"
aria-selected="true"
>
<img src="{$psImage|escape:'htmlall':'UTF-8'}" width="24" />
PrestaShop Shipping
</a>
</li>
<style>
#psshippingTab {
display: flex;
align-items: center;
gap: 10px
}
</style>

View File

@@ -0,0 +1,34 @@
{#**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*#}
{% trans_default_domain 'Module.Psshipping.Admin' %}
{% block content %}
<div class="tab-pane fade" id="psshippingTabContent" role="tabpanel" aria-labelledby="psshippingTab">
{% include "@Modules/psshipping/views/templates/dist/src/app/order/index.html" %}
</div>
{% endblock %}
{% block javascript %}
<script>
var shipmentDetail = {{shipmentDetail|json_encode|raw}};
var defaultIsoCode = "{{defaultIsoCode|raw}}";
var contextPsAccounts = {{ contextPsAccounts|json_encode|raw }}
</script>
{% endblock %}

View File

@@ -0,0 +1,22 @@
{**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*}
<div class="tab-pane" id="psshippingTabContent" role="tabpanel" aria-labelledby="psshippingTabContent">
{include file="./../dist/src/app/order/index.html"}
</div>

View File

@@ -0,0 +1,2 @@
import{b2 as b}from"./globals-BVeJWRKG.js";function d(t){var r=t;return!!(r.ctrlKey||r.shiftKey||r.metaKey||r.button&&r.button==1)}function w(t,r){return!!(t.target==="_blank"&&r)}function g(t,r,e,a){var f=this,o=[];return t?(t instanceof Element?o=[t]:"toArray"in t?o=t.toArray():o=t,o.forEach(function(n){n.addEventListener("click",function(i){var c,u,s=r instanceof Function?r(n):r,v=e instanceof Function?e(n):e,h=n.getAttribute("href")||n.getAttributeNS("http://www.w3.org/1999/xlink","href")||n.getAttribute("xlink:href")||((c=n.getElementsByTagName("a")[0])===null||c===void 0?void 0:c.getAttribute("href")),l=b(f.track(s,v,a??{}),(u=f.settings.timeout)!==null&&u!==void 0?u:500);!w(n,h)&&!d(i)&&h&&(i.preventDefault?i.preventDefault():i.returnValue=!1,l.catch(console.error).then(function(){window.location.href=h}).catch(console.error))},!1)}),this):this}function y(t,r,e,a){var f=this;if(!t)return this;t instanceof HTMLFormElement&&(t=[t]);var o=t;return o.forEach(function(n){if(!(n instanceof Element))throw new TypeError("Must pass HTMLElement to trackForm/trackSubmit.");var i=function(u){var s;u.preventDefault?u.preventDefault():u.returnValue=!1;var v=r instanceof Function?r(n):r,h=e instanceof Function?e(n):e,l=b(f.track(v,h,a??{}),(s=f.settings.timeout)!==null&&s!==void 0?s:500);l.catch(console.error).then(function(){n.submit()}).catch(console.error)},c=window.jQuery||window.Zepto;c?c(n).submit(i):n.addEventListener("submit",i,!1)}),this}export{y as form,g as link};
//# sourceMappingURL=auto-track-Pfe7W1oJ.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
import"./modulepreload-polyfill-B5Qt9EMX.js";const l="gelProximityPickupDetails",u="gelProximityBtn",d="gelProximityPickupError";function s(o){const e=document.getElementById(o);if(!e)throw new Error(`Element with ID "${o}" not found.`);return e}function c(o=null){const e=s(d);o&&(e.innerText=o),e.hidden=!1}function p(){s(d).hidden=!0}class h{gelSDK;pickupHandlerMap=new WeakMap;carrierSelectionHandler;constructor(e,t){this.gelSDK=e,this.carrierSelectionHandler=t}setCarrierSelectionHandler(e){this.carrierSelectionHandler=e}createPickupHandler(){return e=>{e.preventDefault(),this.gelSDK.createUIModal({callbackOk:t=>{this.handlePickupPointSelection(t).catch(i=>{c(),console.error(i)})},callbackKo:()=>{}})}}addPickupCarrierListener(e){const t=this.createPickupHandler();e.addEventListener("click",t),this.pickupHandlerMap.set(e,t)}removePickupCarrierListener(e){const t=this.pickupHandlerMap.get(e);t&&(e.removeEventListener("click",t),this.pickupHandlerMap.delete(e))}async handlePickupPointSelection(e){const t=await this.sendPickupPointToServer(e);if(!t.ok)throw new Error(`Failed to send pickup point selection: HTTP error ${t.status}: ${t.statusText}`);const i=await t.json();this.updateDOMWithPickupPointResult(i)}sendPickupPointToServer(e){const t=window.gelProximityConfig,i=new URLSearchParams;return i.append("action","setPickUpPointForCurrentCart"),i.append("status","ok"),i.append("payload",JSON.stringify(e)),fetch(t.ajaxUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:i.toString()})}updateDOMWithPickupPointResult(e){const t=e?.data?.pickupsDetails;if(typeof t=="string"){const i=s(l);i.innerHTML=t,p();const r=s(u);this.addPickupCarrierListener(r),this.carrierSelectionHandler?.updateSubmitOrderButtonState()}else throw new Error("Unexpected response format:"+JSON.stringify(e))}}class f{radio=null;submitButton=null;defaultButtonText=null;defaultButtonIcon=null;pickupCarrierManager;pickupIcon="&#xe558;";constructor(e){this.pickupCarrierManager=e}isSelectionDetailsEmpty(){const e=document.getElementById(l);return!e||e.innerHTML.trim()===""}setSubmitButtonState(e,t,i){e.classList.toggle("disabled",!t),e.disabled=!t;const r=e.querySelector(".material-icons"),n=Array.from(e.childNodes).find(a=>a.nodeType===Node.TEXT_NODE&&a.textContent?.trim());switch(i){case"SELECT_PICKUP":!this.defaultButtonText&&n&&(this.defaultButtonText=n.textContent.trim()),!this.defaultButtonIcon&&r&&(this.defaultButtonIcon=r.innerHTML),n&&r?(n.textContent=window.gelProximityConfig.selectPickupCarrierBtnText,r.innerHTML=this.pickupIcon):e.innerText=window.gelProximityConfig.selectPickupCarrierBtnText,this.pickupCarrierManager.addPickupCarrierListener(e);break;case"DEFAULT":default:this.defaultButtonText&&(n?n.textContent=this.defaultButtonText:e.innerText=this.defaultButtonText),r&&this.defaultButtonIcon&&(r.innerHTML=this.defaultButtonIcon),this.pickupCarrierManager.removePickupCarrierListener(e);break}}findDeliveryRadio(e){const t=[`.js-delivery-option input[value="${e}"]`,`.js-delivery-option input[value="${e},"]`];for(const i of t){const r=document.querySelector(i);if(r)return r}return null}updateSubmitOrderButtonState(e=!1){if(!(!this.radio||!this.submitButton))if(this.radio.checked){const t=this.isSelectionDetailsEmpty()?"SELECT_PICKUP":"DEFAULT";this.setSubmitButtonState(this.submitButton,!e,t)}else this.setSubmitButtonState(this.submitButton,!0,"DEFAULT")}handleCarrierSelection(e){if(this.radio=this.findDeliveryRadio(e.carrierId),!this.radio)return;const t=this.radio.closest(".js-delivery-option");if(!t)return;const i=t.closest("form");if(this.submitButton=i?.querySelector('button[type="submit"], input[type="submit"]')??null,!i||!this.submitButton)return;this.updateSubmitOrderButtonState(),i.querySelectorAll('input[type="radio"]').forEach(n=>n.addEventListener("change",()=>this.updateSubmitOrderButtonState()))}}const m="https://platform.gelproximity.com/sdk/latest.js";document.addEventListener("DOMContentLoaded",()=>{const o=window.pickupCarrierError;if(o)c(o);else try{const e=document.createElement("script"),t=window.gelProximityConfig;e.src=m,e.onload=()=>{const i=new GelSDK({urlEndUser:t.urlEndUser,merchantCode:t.merchantCode,apiKey:t.apiKey,reference:t.reference,redirectMode:"POST",locale:t.locale}),r=new h(i),n=new f(r);r.setCarrierSelectionHandler(n),n.handleCarrierSelection(t);const a=document.getElementById(u);a&&r.addPickupCarrierListener(a)},document.head.appendChild(e)}catch(e){c(),console.error(e)}});
//# sourceMappingURL=gelProximity-CGWwK-Re.js.map

View File

@@ -0,0 +1 @@
.delivery-option:has(input[type=radio]:checked) .js-carrier-extra:has(#gelProximityPickupDetails:not(:empty)){padding-block:0 1rem!important}.carrier-extra-content:has(#gelProximityPickupDetails){padding-block:0!important}.carrier-extra-content:has(#gelProximityPickupDetails:not(:empty)){padding-block:0 1rem!important}.delivery-option__extra:is([data-active]):has(#gelProximityPickupDetails:empty) .delivery-option__extra-content{padding-block:0}.pickup-point{display:flex;flex-wrap:wrap;flex-direction:column;gap:1rem;padding-block:.25rem 0}.pickup-point__button{white-space:initial}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
import{b3 as k,aV as O}from"./globals-BVeJWRKG.js";function f(a,i){return Object.keys(i).reduce(function(e,s){if(s.startsWith(a)){var r=s.substr(a.length);e[r]=i[s]}return e},{})}function q(a,i){var e=document.createElement("a");e.href=i;var s=e.search.slice(1),r=s.split("&").reduce(function(o,P){var j=P.split("="),b=j[0],S=j[1];return o[b]=k(S),o},{}),t=[],p=r.ajs_uid,c=r.ajs_event,m=r.ajs_aid,n=O(a.options.useQueryString)?a.options.useQueryString:{},u=n.aid,l=u===void 0?/.+/:u,_=n.uid,A=_===void 0?/.+/:_;if(m){var d=Array.isArray(r.ajs_aid)?r.ajs_aid[0]:r.ajs_aid;l.test(d)&&a.setAnonymousId(d)}if(p){var v=Array.isArray(r.ajs_uid)?r.ajs_uid[0]:r.ajs_uid;if(A.test(v)){var h=f("ajs_trait_",r);t.push(a.identify(v,h))}}if(c){var y=Array.isArray(r.ajs_event)?r.ajs_event[0]:r.ajs_event,g=f("ajs_prop_",r);t.push(a.track(y,g))}return Promise.all(t)}export{q as queryString};
//# sourceMappingURL=index-5MaUMQc_.js.map

View File

@@ -0,0 +1,2 @@
import{aP as s}from"./globals-BVeJWRKG.js";import{i as c}from"./is-plan-event-enabled-DeNtQvA5.js";function l(r,u){var i,n;if(!r||!Object.keys(r))return{};var o=r.integrations?Object.keys(r.integrations).filter(function(e){return r.integrations[e]===!1}):[],a=[];return((i=u.remotePlugins)!==null&&i!==void 0?i:[]).forEach(function(e){o.forEach(function(t){e.creationName==t&&a.push(e.name)})}),((n=u.remotePlugins)!==null&&n!==void 0?n:[]).reduce(function(e,t){return t.settings.subscriptions&&a.includes(t.name)&&t.settings.subscriptions.forEach(function(f){return e["".concat(t.name," ").concat(f.partnerAction)]=!1}),e},{})}function v(r,u){function i(n){var o=r,a=n.event.event;if(o&&a){var e=o[a];if(c(o,e)){var t=l(e,u);n.updateEvent("integrations",s(s(s({},n.event.integrations),e?.integrations),t))}else return n.updateEvent("integrations",s(s({},n.event.integrations),{All:!1,"Segment.io":!0})),n}return n}return{name:"Schema Filter",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},type:"before",page:i,alias:i,track:i,identify:i,group:i}}export{v as schemaFilter};
//# sourceMappingURL=index-B-5n3K6b.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
import{aH as v,aI as w,aT as g,aK as M,aJ as N}from"./globals-BVeJWRKG.js";function j(s,p,h){var i;return v(this,void 0,void 0,function(){var o,c,l,d,a,b=this;return w(this,function(u){switch(u.label){case 0:return g()?[2,[]]:(o=M(),c=(i=p.enabledMiddleware)!==null&&i!==void 0?i:{},l=Object.entries(c).filter(function(r){r[0];var e=r[1];return e}).map(function(r){var e=r[0];return e}),d=l.map(function(r){return v(b,void 0,void 0,function(){var e,n,m,f;return w(this,function(t){switch(t.label){case 0:e=r.replace("@segment/",""),n=e,h&&(n=btoa(e).replace(/=/g,"")),m="".concat(o,"/middleware/").concat(n,"/latest/").concat(n,".js.gz"),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,N(m)];case 2:return t.sent(),[2,window["".concat(e,"Middleware")]];case 3:return f=t.sent(),s.log("error",f),s.stats.increment("failed_remote_middleware"),[3,4];case 4:return[2]}})})}),[4,Promise.all(d)]);case 1:return a=u.sent(),a=a.filter(Boolean),[2,a]}})})}export{j as remoteMiddlewares};
//# sourceMappingURL=index-CchQJcQ6.js.map

View File

@@ -0,0 +1,3 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index.umd-2-_arkGA.js","assets/globals-BVeJWRKG.js","assets/globals-BsZABlq8.css"])))=>i.map(i=>d[i]);
import{aH as n,aI as a,b1 as o}from"./globals-BVeJWRKG.js";function u(i){return n(this,void 0,void 0,function(){var t;return a(this,function(e){switch(e.label){case 0:return[4,o(()=>import("./index.umd-2-_arkGA.js").then(r=>r.i),__vite__mapDeps([0,1,2]))];case 1:return t=e.sent(),i._plugins=t,[2]}})})}export{u as loadLegacyVideoPlugins};
//# sourceMappingURL=index-nY5xJfBz.js.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
function l(e,d){var o,i;return typeof d?.enabled=="boolean"?d.enabled:(i=(o=e?.__default)===null||o===void 0?void 0:o.enabled)!==null&&i!==void 0?i:!0}export{l as i};
//# sourceMappingURL=is-plan-event-enabled-DeNtQvA5.js.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.navigation__item[data-v-161b508a]{padding-block:1rem .8125rem;padding-inline:.25rem;border-block-end:2px solid transparent;transition:background-color .15s cubic-bezier(.4,0,.2,1);white-space:nowrap}.navigation__item[data-v-161b508a]:hover{color:#1d1d1b;text-decoration:none;background-color:#eee}.navigation__item--active[data-v-161b508a],.navigation__item[data-v-161b508a]:active{border-block-end:.1875rem solid #1d1d1b}.navigation__item[data-v-161b508a]:focus-visible{outline-offset:-.125rem}.navigation[data-v-fee2536a]{font-family:IBM Plex Sans,Open Sans,sans-serif;display:flex;gap:1.5rem;padding-inline:1.5rem;border-top:solid 1px #dddddd;overflow-x:auto}.logo[data-v-0540c5a8]{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo[data-v-0540c5a8]:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.vue[data-v-0540c5a8]:hover{filter:drop-shadow(0 0 2em #42b883aa)}

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View File

@@ -0,0 +1,2 @@
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))i(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function s(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?r.credentials="include":e.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(e){if(e.ep)return;e.ep=!0;const r=s(e);fetch(e.href,r)}})();
//# sourceMappingURL=modulepreload-polyfill-B5Qt9EMX.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 29">
<defs>
<style>
.cls-1, .cls-2 {
stroke-width: 0px;
}
.cls-2 {
fill: #a4dbe8;
}
</style>
</defs>
<path class="cls-1" d="M24.25,8.31h1.97s0-2.15,0-2.15h.9c2.06,0,2.99-1.43,2.99-2.66s-.93-2.66-2.99-2.66h-2.87s0,7.48,0,7.48h0ZM26.22,4.47v-1.96h.71c.79,0,1.16.47,1.16.98s-.37.98-1.16.98h-.71ZM31.14,8.31h1.97s0-2.15,0-2.15h.87s1.03,2.15,1.03,2.15h2.22s-1.34-2.7-1.34-2.7c.73-.53,1.08-1.35,1.08-2.11,0-1.24-.91-2.66-2.97-2.66h-2.86s0,7.48,0,7.48h0ZM33.11,4.47v-1.96h.65c.8,0,1.18.47,1.18.98s-.38.98-1.18.98h-.65ZM38.31,8.31h5.06s0-1.63,0-1.63h-3.09v-1.32h2.54s0-1.63,0-1.63h-2.54v-1.27h2.97s0-1.63,0-1.63h-4.94s0,7.48,0,7.48h0ZM47.61,8.45c1.8,0,3.05-.91,3.05-2.32,0-2.95-4.19-1.81-4.19-3.13,0-.44.39-.62.93-.62.63,0,1.1.39,1.14,1.05h1.99c-.08-1.48-1.11-2.73-3.19-2.73-1.68,0-2.89.91-2.89,2.33,0,2.88,4.19,2.01,4.19,3.1,0,.39-.52.63-1.06.63-.6,0-1.22-.29-1.26-.99h-1.99c.09,1.73,1.33,2.68,3.28,2.68h0ZM53.12,8.31h1.97s0-5.74,0-5.74h2.11s0-1.74,0-1.74h-6.19s0,1.74,0,1.74h2.1v5.73s0,0,0,0ZM56.58,8.31h2.03s.42-1.34.42-1.34h2.66s.42,1.34.42,1.34h2.08s-2.56-7.48-2.56-7.48h-2.46s-2.57,7.48-2.57,7.48h0ZM59.55,5.34l.81-2.56.81,2.56h-1.62s0,0,0,0ZM67.77,8.45c1.8,0,3.05-.91,3.05-2.32,0-2.95-4.19-1.81-4.19-3.13,0-.44.39-.62.93-.62.63,0,1.1.39,1.14,1.05h1.99c-.08-1.48-1.11-2.73-3.19-2.73-1.68,0-2.89.91-2.89,2.33,0,2.88,4.19,2.01,4.19,3.1,0,.39-.52.63-1.06.63-.6,0-1.22-.29-1.26-.99h-1.99c.09,1.73,1.33,2.68,3.28,2.68h0ZM72.02,8.31h1.97s0-2.98,0-2.98h2.66v2.98s1.97,0,1.97,0V.83s-1.97,0-1.97,0v2.87h-2.66V.83s-1.97,0-1.97,0v7.48s0,0,0,0ZM83.46,8.45c2.25,0,3.78-1.57,3.78-3.89s-1.53-3.86-3.78-3.86-3.77,1.56-3.77,3.86,1.53,3.89,3.77,3.89ZM81.72,4.55c0-1.29.71-2.17,1.74-2.17s1.75.88,1.75,2.17-.71,2.2-1.75,2.2-1.74-.9-1.74-2.2ZM88.31,8.31h1.97s0-2.15,0-2.15h.9c2.06,0,2.99-1.43,2.99-2.66s-.93-2.66-2.99-2.66h-2.87s0,7.48,0,7.48h0ZM90.28,4.47v-1.96h.71c.79,0,1.16.47,1.16.98s-.37.98-1.16.98h-.71Z"/>
<g>
<path class="cls-1" d="M24.06,15.96h.93c.02,1.05.94,1.48,2.07,1.48.98,0,1.74-.34,1.74-1.19,0-2.01-4.52-.9-4.52-3.63,0-1.3,1.15-2.06,2.59-2.06s2.59.72,2.75,2.21h-.96c-.16-1.02-.94-1.36-1.8-1.36s-1.64.38-1.64,1.2c0,1.99,4.52.8,4.52,3.63,0,1.35-1.14,2.05-2.7,2.05-1.74,0-2.96-.83-2.99-2.33Z"/>
<path class="cls-1" d="M31.15,10.68h.92v3.27h4.18v-3.27h.92v7.48h-.92v-3.36h-4.18v3.36h-.92v-7.48Z"/>
<path class="cls-1" d="M38.86,10.68h.92v7.48h-.92v-7.48Z"/>
<path class="cls-1" d="M41.46,10.68h2.3c1.74,0,2.63,1.01,2.63,2.29s-.89,2.29-2.63,2.29h-1.38v2.89h-.92v-7.48ZM45.45,12.98c0-.9-.62-1.45-1.77-1.45h-1.3v2.9h1.3c1.15,0,1.77-.55,1.77-1.45Z"/>
<path class="cls-1" d="M47.71,10.68h2.3c1.74,0,2.63,1.01,2.63,2.29s-.89,2.29-2.63,2.29h-1.38v2.89h-.92v-7.48ZM51.71,12.98c0-.9-.62-1.45-1.77-1.45h-1.3v2.9h1.3c1.15,0,1.77-.55,1.77-1.45Z"/>
<path class="cls-1" d="M53.97,10.68h.92v7.48h-.92v-7.48Z"/>
<path class="cls-1" d="M56.57,10.68h.91l4.25,5.92v-5.92h.92v7.48h-.91l-4.25-5.92v5.92h-.92v-7.48Z"/>
<path class="cls-1" d="M63.93,14.42c0-2.29,1.43-3.86,3.51-3.86,1.65,0,2.95,1.01,3.24,2.53h-.95c-.28-.98-1.19-1.63-2.29-1.63-1.52,0-2.56,1.2-2.56,2.96s1.09,2.97,2.69,2.97c1.37,0,2.32-.87,2.32-2.15v-.06h-2.07v-.84h2.99v3.82h-.71l-.09-1.16c-.47.76-1.46,1.28-2.44,1.28-2.16,0-3.63-1.58-3.63-3.87Z"/>
</g>
<polygon class="cls-1" points="25.57 27.09 25.99 25.43 26.23 24.46 26.24 24.46 26.48 25.43 26.89 27.09 27.48 27.09 28.27 23.88 27.76 23.88 27.42 25.43 27.19 26.49 27.18 26.49 26.93 25.43 26.55 23.88 25.97 23.88 25.59 25.43 25.33 26.5 25.31 26.5 25.09 25.43 24.76 23.88 24.23 23.88 24.99 27.09 25.58 27.09 25.57 27.09"/>
<path class="cls-1" d="M29.07,23.67c-.21,0-.3.11-.3.26v.08c0,.15.09.26.3.26s.3-.11.3-.26v-.08c0-.15-.09-.26-.3-.26"/>
<rect class="cls-1" x="28.81" y="24.7" width=".5" height="2.39"/>
<path class="cls-1" d="M31.14,27.09v-.41s-.46,0-.46,0v-1.57h.5s0-.41,0-.41h-.5v-.65s-.45,0-.45,0v.42c0,.17-.06.23-.22.23h-.2s0,.41,0,.41h.37v1.46c0,.33.18.52.53.52h.44,0Z"/>
<path class="cls-1" d="M31.7,23.68v3.41s0,0,0,0h.5s0-1.61,0-1.61c0-.28.26-.41.52-.41.31,0,.45.19.45.56v1.46s.5,0,.5,0v-1.52c0-.59-.29-.93-.78-.93-.37,0-.57.19-.67.45h-.02v-1.41"/>
<path class="cls-1" d="M5.83.83h6.64c4.77,0,6.93,3.31,6.93,6.17s-2.16,6.17-6.93,6.17h-2.08s0,4.98,0,4.98h-4.56s0-17.32,0-17.32h0Z"/>
<path class="cls-2" d="M15.47,5.03c-.05-.09-.12-.15-.21-.21l-2.78-1.61c-.09-.05-.18-.07-.28-.07s-.19.02-.28.07l-2.78,1.61c-.09.05-.16.12-.21.21-.05.09-.07.18-.07.28v3.16c0,.1.02.19.07.28.05.09.12.15.21.21l2.78,1.61c.09.05.18.07.28.07s.19-.02.28-.07l2.78-1.61c.09-.05.16-.12.21-.21.05-.09.07-.18.07-.28v-3.16c0-.1-.02-.19-.07-.28ZM12.2,3.7l2.47,1.43-.75.44s-.02-.02-.03-.03l-2.49-1.38.81-.47ZM11.92,9.91l-2.51-1.45v-2.87l2.51,1.45v2.87ZM12.2,6.57l-2.48-1.44,1.01-.59,2.53,1.4-1.07.62ZM14.98,8.47l-2.51,1.45v-2.87l.93-.54v.95c0,.18.15.33.33.33s.33-.15.33-.33v-1.33l.93-.54v2.88Z"/>
<g>
<g>
<path class="cls-1" d="M39.89,25.93c-.05-.04-.12-.04-.18-.04h-.14v.35h.14c.06,0,.13,0,.18-.03.05-.03.07-.09.07-.14,0-.06-.02-.11-.07-.14Z"/>
<path class="cls-1" d="M39.87,25.66s.06-.07.06-.12c0-.05-.02-.1-.07-.13-.05-.03-.1-.02-.16-.02h-.13v.3h.13c.06,0,.12,0,.17-.03Z"/>
</g>
<rect class="cls-1" x="71.11" y="26.6" width=".45" height=".5"/>
<path class="cls-1" d="M48.25,25.12h0l.32.87h-.65l.33-.87ZM47.93,26.75h-.28l.15-.38h.9l.15.38h-.28v.36h1.08v-.41h-.27l-.89-2.14h-.85v.41h.28l-.74,1.74h-.27v.41h1.04v-.36Z"/>
<polygon class="cls-1" points="50.79 26.7 50.51 26.7 50.51 24.97 50.79 24.97 50.79 24.56 49.75 24.56 49.75 24.97 50.03 24.97 50.03 26.7 49.75 26.7 49.75 27.11 50.79 27.11 50.79 26.7"/>
<polygon class="cls-1" points="52.76 26.34 52.27 26.34 52.27 26.67 51.66 26.67 51.66 24.97 51.93 24.97 51.93 24.56 50.89 24.56 50.89 24.97 51.17 24.97 51.17 26.7 50.89 26.7 50.89 27.11 52.76 27.11 52.76 26.34"/>
<polygon class="cls-1" points="62.32 26.34 61.83 26.34 61.83 26.68 61.19 26.68 61.19 26.01 61.94 26.01 61.94 25.63 61.19 25.63 61.19 24.99 61.83 24.99 61.83 25.33 62.32 25.33 62.32 24.56 60.43 24.56 60.43 24.97 60.71 24.97 60.71 26.7 60.43 26.7 60.43 27.11 62.32 27.11 62.32 26.34"/>
<polygon class="cls-1" points="64.64 24.97 64.92 24.97 64.92 26.7 64.64 26.7 64.64 27.11 66.53 27.11 66.53 26.34 66.04 26.34 66.04 26.68 65.4 26.68 65.4 26.01 66.15 26.01 66.15 25.63 65.4 25.63 65.4 24.99 66.04 24.99 66.04 25.33 66.53 25.33 66.53 24.56 64.64 24.56 64.64 24.97"/>
<polygon class="cls-1" points="67.07 24.99 67.45 24.99 67.45 26.7 67.17 26.7 67.17 27.11 68.22 27.11 68.22 26.7 67.94 26.7 67.94 24.99 68.31 24.99 68.31 25.36 68.7 25.36 68.7 24.56 66.69 24.56 66.69 25.36 67.07 25.36 67.07 24.99"/>
<polygon class="cls-1" points="46.8 24.97 46.8 24.56 45.84 24.56 45.14 26.36 44.45 24.56 43.49 24.56 43.49 24.97 43.77 24.97 43.77 26.7 43.49 26.7 43.49 27.11 44.55 27.11 44.55 26.7 44.26 26.7 44.26 25.22 44.98 27.11 45.33 27.11 46.03 25.22 46.03 26.7 45.76 26.7 45.76 27.11 46.8 27.11 46.8 26.7 46.52 26.7 46.52 24.97 46.8 24.97"/>
<path class="cls-1" d="M69.98,24.97c.28,0,.56.15.7.39h.47v-.82h-.4v.26c-.21-.21-.49-.31-.79-.31-.73,0-1.31.61-1.31,1.32,0,.36.14.7.39.95.24.24.59.39.94.39.55,0,1.07-.37,1.24-.89h-.53c-.16.25-.43.39-.72.39-.46,0-.83-.38-.83-.84s.35-.84.84-.84Z"/>
<path class="cls-1" d="M63.23,26.74c-.24,0-.38-.18-.38-.39h-.44v.76h.39v-.17c.12.15.29.22.49.22.46,0,.81-.34.81-.8,0-.21-.09-.4-.25-.54-.16-.12-.35-.18-.55-.23-.2-.06-.42-.11-.42-.36,0-.2.16-.32.35-.32s.33.14.33.33h.44v-.69h-.37v.14c-.11-.14-.28-.2-.45-.2-.41,0-.77.31-.77.74,0,.23.1.42.28.56.16.12.32.16.5.22.2.06.44.12.44.38,0,.22-.16.35-.38.35Z"/>
<g>
<polygon class="cls-1" points="60.09 26.7 59.38 25.82 60.07 24.97 60.33 24.97 60.33 24.56 59.27 24.56 59.27 24.93 59.51 24.93 59.1 25.48 58.69 24.93 58.92 24.93 58.92 24.56 57.87 24.56 57.87 24.97 58.13 24.97 58.8 25.82 58.09 26.7 57.84 26.7 57.84 27.11 58.89 27.11 58.89 26.73 58.64 26.73 59.1 26.15 59.56 26.73 59.31 26.73 59.31 27.11 60.35 27.11 60.35 26.7 60.09 26.7"/>
<path class="cls-1" d="M54.97,25.74c.22-.1.33-.31.33-.54,0-.2-.07-.38-.24-.51-.15-.11-.34-.13-.53-.13h-1.13v.41h.28v1.74h-.28v.41h1.19c.22,0,.41-.02.59-.17.15-.13.24-.34.24-.54,0-.3-.16-.54-.44-.66ZM54.17,24.97h.25c.1,0,.22,0,.31.05.09.06.13.15.13.25,0,.1-.04.19-.11.24-.1.07-.21.06-.33.06h-.25v-.61ZM54.78,26.62c-.1.07-.24.06-.35.06h-.27v-.71h.27c.13,0,.25,0,.35.07.1.07.14.18.14.29,0,.11-.05.22-.14.28Z"/>
<path class="cls-1" d="M56.74,24.49c-.74,0-1.35.59-1.35,1.34s.6,1.33,1.34,1.33,1.34-.6,1.34-1.35-.6-1.32-1.33-1.32ZM57.51,26.6h-1.53v-1.53h1.53v1.53Z"/>
</g>
<path class="cls-1" d="M36.25,22.74v6.05h6.18v-6.05h-6.18ZM41.85,25.31l-.53.02v-.05h.53s0,.03,0,.03ZM38.28,23.48l2.27.08.1.06-2.73.06c.1-.07.26-.15.36-.2ZM37.48,24.04l3.79.1.07.07-4.07.08c.05-.08.15-.18.21-.25ZM37.04,24.66l4.63.09.03.06-4.76.09c.03-.08.07-.16.11-.24ZM40.65,25.4v.32h.38v.19h-.38v.34h.33v-.17h.25v.38h-.96v-.2h.14v-.87h-.14v-.2h.96v.38h-.25v-.17h-.33ZM39.19,25.38v-.2h.58c.1,0,.19,0,.27.07.08.06.12.15.12.25,0,.12-.06.22-.17.27.14.06.23.18.23.33,0,.1-.04.2-.12.27-.09.07-.19.08-.3.08h-.6v-.2h.14v-.87h-.14ZM39.13,26.25v.2h-.53v-.2h.14v-.74l-.36.94h-.17l-.37-.94v.74h.15v.2h-.54v-.2h.14v-.87h-.14v-.2h.49l.35.9.35-.9h.49v.2h-.14v.87h.14ZM36.86,25.17h.48v.22h-.53c.01-.07.03-.16.05-.22ZM36.79,25.77s0-.07,0-.09h.55v.23h-.56c0-.05,0-.08,0-.14ZM40.55,27.96l-2.27.08c-.1-.05-.27-.14-.37-.21l2.78.05-.14.08ZM41.26,27.4l-3.77.09c-.06-.07-.14-.15-.2-.23l4.02.07-.06.07ZM41.63,26.87l-4.54.09c-.04-.08-.08-.16-.11-.24l4.68.09-.03.06ZM41.82,26.33h-.51s0-.04,0-.04h.51s0,.04,0,.04ZM41.89,25.83h-.58s0-.04,0-.04h.58v.04Z"/>
<path class="cls-1" d="M37.34,26.2h-.52c.01.06.03.14.06.23h.45v-.23Z"/>
<path class="cls-1" d="M43.49,28.02v.77l2.58-.1,2.58-.1.64-.03.64-.03.81-.04.81-.04.79-.04.79-.04,2.07-.06,2.07-.06.46-.02.46-.02.52-.02.54-.02.69-.03h.71s.53-.03.53-.03h.6s.74-.02.74-.02c0,0,1.78-.02,2.03-.03.26-.01,2.41,0,2.41,0h1.02s1.35.05,1.35.05l1.25.03.64.03h.13s.1.01.1.01h.1s.08,0,.08,0h.08s.04,0,.04,0h.04s.03,0,.03,0h.03s.06-.02.06-.02h.03s.01-.03.01-.03v-.02s.02-.03.02-.03v-.05s-.03-.05-.05-.05c-.02,0-.06-.02-.11-.03-.03,0-.13-.01-.13-.01h-.16s-.19-.03-.19-.03h-.17s-.2-.02-.2-.02l-.49-.02h-.29s-.76-.04-.76-.04c0,0-.31-.01-.64-.02-.32-.01-.37-.01-.7-.02-.4-.01-.32,0-.78-.03-.36-.01-.77-.02-.77-.02l-.66-.03h-.94s-1.88-.05-1.88-.05h-1.93s-3.43.02-3.43.02l-3.45.03-2.58.03-2.58.03-1.77.06-1.77.06-1.03.05-1.03.05Z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -0,0 +1 @@
ul::marker{margin-bottom:12px}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
import"./modulepreload-polyfill-B5Qt9EMX.js";import{d as g,g as _,q as k,o as b,z as p,w as c,p as d,u as a,y as u,D as w,x as S,E as x,Q as o,aF as v,k as n,S as y,U as C,V as L,W as M,X as E,Y as I,Z as P,$ as R}from"./globals-BVeJWRKG.js";const V="/modules/psshipping/views/templates/dist/assets/shipping-logo-RXPBuvh5.svg",B={id:"psshipping-app"},j=["src"],N={class:"puik-body-large !sh-mb-0"},$=g({__name:"shipping-promote",setup(e){const{t:s}=_(),r=window.psshippingModuleLink;return(q,A)=>{const f=w,m=x;return b(),k("div",B,[p(m,{class:"sh-mb-2 sh-flex sh-flex-col sh-items-center sh-justify-between sh-px-5 md:sh-flex-row",variant:"blue"},{default:c(()=>[d("img",{src:a(V),alt:"PrestaShop Shipping",width:"250px"},null,8,j),d("p",N,u(a(s)("carriers.cardContent")),1),p(f,{href:a(r),class:"!sh-text-white !sh-no-underline"},{default:c(()=>[S(u(a(s)("carriers.btn")),1)]),_:1},8,["href"])]),_:1})])}}}),z=o.object({psshippingModuleLink:o.string(),defaultIsoCode:o.string(),errors:o.object({hasError:o.boolean(),errors:o.array(o.string())}).optional()});function D(e){const s=z.safeParse(e);return s.success?{error:!1,data:s.data}:{error:!0,data:s.error.issues}}const Q=v("order",()=>{const e=n(),s=n(),r=n({hasError:!1,errors:[]});return{psshippingModuleLink:e,defaultIsoCode:s,errors:r}});function l(e){const s=Q();s.psshippingModuleLink=e.psshippingModuleLink,s.defaultIsoCode=e.defaultIsoCode}document.body.classList.add("no-smb-reskin");const T=y(),t=C($),X=L();t.use(T);t.use(M);t.use(X);t.use(E);t.use(I);t.mount("#shipping-promote");P({app:t,release:"v2.1.1",environment:"production",dsn:"https://c72374acc0a0dbf5eb93e8ea66ad7ff3@o298402.ingest.sentry.io/4505719553851392",integrations:[new R({sessionSampleRate:.1,errorSampleRate:1})],tracesSampleRate:1});const i=D({psshippingModuleLink:window.psshippingModuleLink,defaultIsoCode:window.defaultIsoCode}),h={hasError:!1,errors:[]};i.error===!1?l(i.data):(i.data.forEach(e=>h.errors.push(`${e.path}: ${e.message}`)),h.hasError=!0,l({}));
//# sourceMappingURL=shippingPromote-DBiUchWc.js.map

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

View File

@@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,287 @@
/* eslint-disable */
/* tslint:disable */
/**
* Mock Service Worker (2.2.0).
* @see https://github.com/mswjs/msw
* - Please do NOT modify this file.
* - Please do NOT serve this file on production.
*/
const INTEGRITY_CHECKSUM = "223d191a56023cd36aa88c802961b911";
const IS_MOCKED_RESPONSE = Symbol("isMockedResponse");
const activeClientIds = new Set();
self.addEventListener("install", function () {
self.skipWaiting();
});
self.addEventListener("activate", function (event) {
event.waitUntil(self.clients.claim());
});
self.addEventListener("message", async function (event) {
const clientId = event.source.id;
if (!clientId || !self.clients) {
return;
}
const client = await self.clients.get(clientId);
if (!client) {
return;
}
const allClients = await self.clients.matchAll({
type: "window",
});
switch (event.data) {
case "KEEPALIVE_REQUEST": {
sendToClient(client, {
type: "KEEPALIVE_RESPONSE",
});
break;
}
case "INTEGRITY_CHECK_REQUEST": {
sendToClient(client, {
type: "INTEGRITY_CHECK_RESPONSE",
payload: INTEGRITY_CHECKSUM,
});
break;
}
case "MOCK_ACTIVATE": {
activeClientIds.add(clientId);
sendToClient(client, {
type: "MOCKING_ENABLED",
payload: true,
});
break;
}
case "MOCK_DEACTIVATE": {
activeClientIds.delete(clientId);
break;
}
case "CLIENT_CLOSED": {
activeClientIds.delete(clientId);
const remainingClients = allClients.filter((client) => {
return client.id !== clientId;
});
// Unregister itself when there are no more clients
if (remainingClients.length === 0) {
self.registration.unregister();
}
break;
}
}
});
self.addEventListener("fetch", function (event) {
const { request } = event;
// Bypass navigation requests.
if (request.mode === "navigate") {
return;
}
// Opening the DevTools triggers the "only-if-cached" request
// that cannot be handled by the worker. Bypass such requests.
if (request.cache === "only-if-cached" && request.mode !== "same-origin") {
return;
}
// Bypass all requests when there are no active clients.
// Prevents the self-unregistered worked from handling requests
// after it's been deleted (still remains active until the next reload).
if (activeClientIds.size === 0) {
return;
}
// Generate unique request ID.
const requestId = crypto.randomUUID();
event.respondWith(handleRequest(event, requestId));
});
async function handleRequest(event, requestId) {
const client = await resolveMainClient(event);
const response = await getResponse(event, client, requestId);
// Send back the response clone for the "response:*" life-cycle events.
// Ensure MSW is active and ready to handle the message, otherwise
// this message will pend indefinitely.
if (client && activeClientIds.has(client.id)) {
(async function () {
const responseClone = response.clone();
sendToClient(
client,
{
type: "RESPONSE",
payload: {
requestId,
isMockedResponse: IS_MOCKED_RESPONSE in response,
type: responseClone.type,
status: responseClone.status,
statusText: responseClone.statusText,
body: responseClone.body,
headers: Object.fromEntries(responseClone.headers.entries()),
},
},
[responseClone.body],
);
})();
}
return response;
}
// Resolve the main client for the given event.
// Client that issues a request doesn't necessarily equal the client
// that registered the worker. It's with the latter the worker should
// communicate with during the response resolving phase.
async function resolveMainClient(event) {
const client = await self.clients.get(event.clientId);
if (client?.frameType === "top-level") {
return client;
}
const allClients = await self.clients.matchAll({
type: "window",
});
return allClients
.filter((client) => {
// Get only those clients that are currently visible.
return client.visibilityState === "visible";
})
.find((client) => {
// Find the client ID that's recorded in the
// set of clients that have registered the worker.
return activeClientIds.has(client.id);
});
}
async function getResponse(event, client, requestId) {
const { request } = event;
// Clone the request because it might've been already used
// (i.e. its body has been read and sent to the client).
const requestClone = request.clone();
function passthrough() {
const headers = Object.fromEntries(requestClone.headers.entries());
// Remove internal MSW request header so the passthrough request
// complies with any potential CORS preflight checks on the server.
// Some servers forbid unknown request headers.
delete headers["x-msw-intention"];
return fetch(requestClone, { headers });
}
// Bypass mocking when the client is not active.
if (!client) {
return passthrough();
}
// Bypass initial page load requests (i.e. static assets).
// The absence of the immediate/parent client in the map of the active clients
// means that MSW hasn't dispatched the "MOCK_ACTIVATE" event yet
// and is not ready to handle requests.
if (!activeClientIds.has(client.id)) {
return passthrough();
}
// Bypass requests with the explicit bypass header.
// Such requests can be issued by "ctx.fetch()".
const mswIntention = request.headers.get("x-msw-intention");
if (["bypass", "passthrough"].includes(mswIntention)) {
return passthrough();
}
// Notify the client that a request has been intercepted.
const requestBuffer = await request.arrayBuffer();
const clientMessage = await sendToClient(
client,
{
type: "REQUEST",
payload: {
id: requestId,
url: request.url,
mode: request.mode,
method: request.method,
headers: Object.fromEntries(request.headers.entries()),
cache: request.cache,
credentials: request.credentials,
destination: request.destination,
integrity: request.integrity,
redirect: request.redirect,
referrer: request.referrer,
referrerPolicy: request.referrerPolicy,
body: requestBuffer,
keepalive: request.keepalive,
},
},
[requestBuffer],
);
switch (clientMessage.type) {
case "MOCK_RESPONSE": {
return respondWithMock(clientMessage.data);
}
case "MOCK_NOT_FOUND": {
return passthrough();
}
}
return passthrough();
}
function sendToClient(client, message, transferrables = []) {
return new Promise((resolve, reject) => {
const channel = new MessageChannel();
channel.port1.onmessage = (event) => {
if (event.data && event.data.error) {
return reject(event.data.error);
}
resolve(event.data);
};
client.postMessage(
message,
[channel.port2].concat(transferrables.filter(Boolean)),
);
});
}
async function respondWithMock(response) {
// Setting response status code to 0 is a no-op.
// However, when responding with a "Response.error()", the produced Response
// instance will have status code set to 0. Since it's not possible to create
// a Response instance with status code 0, handle that use-case separately.
if (response.status === 0) {
return Response.error();
}
const mockedResponse = new Response(response.body, response);
Reflect.defineProperty(mockedResponse, IS_MOCKED_RESPONSE, {
value: true,
enumerable: true,
});
return mockedResponse;
}

View File

@@ -0,0 +1,4 @@
<script type="module" crossorigin src="/modules/psshipping/views/templates/dist/assets/gelProximity-CGWwK-Re.js"></script>
<link rel="modulepreload" crossorigin href="/modules/psshipping/views/templates/dist/assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="stylesheet" crossorigin href="/modules/psshipping/views/templates/dist/assets/gelProximity-DLfesCrz.css">
<div id="gel-proximity"></div>

View File

@@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,7 @@
<script type="module" crossorigin src="/modules/psshipping/views/templates/dist/assets/shippingLabel-Cc-Ojmvs.js"></script>
<link rel="modulepreload" crossorigin href="/modules/psshipping/views/templates/dist/assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="/modules/psshipping/views/templates/dist/assets/globals-BVeJWRKG.js">
<link rel="modulepreload" crossorigin href="/modules/psshipping/views/templates/dist/assets/index-BKcJu8c2.js">
<link rel="stylesheet" crossorigin href="/modules/psshipping/views/templates/dist/assets/globals-BsZABlq8.css">
<link rel="stylesheet" crossorigin href="/modules/psshipping/views/templates/dist/assets/shippingLabel-BXbb9kHy.css">
<div id="shipping-label"></div>

View File

@@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,5 @@
<script type="module" crossorigin src="/modules/psshipping/views/templates/dist/assets/shippingPromote-DBiUchWc.js"></script>
<link rel="modulepreload" crossorigin href="/modules/psshipping/views/templates/dist/assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="/modules/psshipping/views/templates/dist/assets/globals-BVeJWRKG.js">
<link rel="stylesheet" crossorigin href="/modules/psshipping/views/templates/dist/assets/globals-BsZABlq8.css">
<div id="shipping-promote"></div>

View File

@@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,7 @@
<script type="module" crossorigin src="/modules/psshipping/views/templates/dist/assets/main-DK-zb7gb.js"></script>
<link rel="modulepreload" crossorigin href="/modules/psshipping/views/templates/dist/assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="/modules/psshipping/views/templates/dist/assets/globals-BVeJWRKG.js">
<link rel="modulepreload" crossorigin href="/modules/psshipping/views/templates/dist/assets/index-BKcJu8c2.js">
<link rel="stylesheet" crossorigin href="/modules/psshipping/views/templates/dist/assets/globals-BsZABlq8.css">
<link rel="stylesheet" crossorigin href="/modules/psshipping/views/templates/dist/assets/main-BT3bhzhc.css">
<div id="psshipping-settings"></div>

View File

@@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,30 @@
{**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*}
<div class="gel-proximity-container">
{include file="../dist/src/app/gelProximity/index.html"}
<div id="gelProximityPickupError" hidden class="notifications-container container">
<div class="alert alert-danger" role="alert" data-alert="danger">
{$pickupSelectionError}
</div>
</div>
{* Keep the following <div> on a single line to ensure it is truly empty, so the :empty selector works correctly *}
<div id="gelProximityPickupDetails">{if isset($pickupPointDetail)}{$pickupPointDetail nofilter}{/if}</div>
</div>

View File

@@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,35 @@
{**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*}
{if isset($pickupPoint)}
<div class="pickup-point">
{if isset($btnText)}
<button id="gelProximityBtn" class="btn btn-primary pickup-point__button">
{$btnText}
</button>
{/if}
<p class="h3 mb-0">{$detailsTitle} {$pickupPoint.description}</p>
<address class="mb-0">
{$pickupPoint.address}<br>
{$pickupPoint.zipCode} {$pickupPoint.city}{if !empty($pickupPoint.department)} {$pickupPoint.department}{/if}<br>
{$pickupPoint.country}
</address>
</div>
{/if}

View File

@@ -0,0 +1,31 @@
{**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*}
{if isset($pickupPoint)}
<div class="card border-1 mb-4">
<div class="card-body">
<h2>{$detailsTitle} {$pickupPoint.description}</h2>
<address class="mb-0">
{$pickupPoint.address}<br>
{$pickupPoint.zipCode} {$pickupPoint.city}{if !empty($pickupPoint.department)} {$pickupPoint.department}{/if}<br>
{$pickupPoint.country}
</address>
</div>
</div>
{/if}

View File

@@ -0,0 +1,34 @@
{**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*}
{include file="../dist/src/app/promote/index.html"}
<script>
document.addEventListener('DOMContentLoaded', function () {
const contentMessageBox = document.querySelector('#content-message-box');
if (!contentMessageBox) {
return;
}
const content = document.querySelector('#shipping-promote');
contentMessageBox.appendChild(content);
});
</script>

View File

@@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;