PageSourceSearch

https://reseau.produitenbretagne.bzh/chunk-XV2IUHO4.js

js produitenbretagne.bzh collected 2026-10-02 07:15:07 UTC 4,438 bytes, 1 lines download raw bytes

1import{a as d}from"./chunk-Y4PALJV5.js";import{a as M,b as D}from"./chunk-UHTTHE54.js";import{a as I}from"./chunk-7WPJ2HWG.js";import{Za as T}from"./chunk-YJU66GPG.js";import{a as L}from"./chunk-3EANULH5.js";import{$b as x,Ca as h,Fa as v,Ib as C,Ja as S,Jb as _,Ka as g,Kb as p,Ob as k,Rb as E,_b as b,ac as P,fb as w,gb as s,pc as j,xb as y}from"./chunk-TQDHZIBV.js";import{i as m}from"./chunk-Y47AOV4Z.js";function R(i,r){let t=d(i),e=d(r);return+t<+e}var ee=(()=>{class i{transform(t,e){let n=new Date(t),o=new Date(e);return R(n,o)}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275pipe=v({name:"dateBefore",type:i,pure:!0,standalone:!0})}}return i})();var O="https://js.stripe.com/v3",G=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,W="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",Q=function(){for(var r=document.querySelectorAll('script[src^="'.concat(O,'"]')),t=0;t<r.length;t++){var e=r[t];if(G.test(e.src))return e}return null},A=function(r){var t=r&&!r.advancedFraudSignals?"?advancedFraudSignals=false":"",e=document.createElement("script");e.src="".concat(O).concat(t);var n=document.head||document.body;if(!n)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return n.appendChild(e),e},U=function(r,t){!r||!r._registerWrapper||r._registerWrapper({name:"stripe-js",version:"3.4.1",startTime:t})},a=null,l=null,u=null,X=function(r){return function(){r(new Error("Failed to load Stripe.js"))}},z=function(r,t){return function(){window.Stripe?r(window.Stripe):t(new Error("Stripe.js not available"))}},K=function(r){return a!==null?a:(a=new Promise(function(t,e){if(typeof window>"u"||typeof document>"u"){t(null);return}if(window.Stripe&&r&&console.warn(W),window.Stripe){t(window.Stripe);return}try{var n=Q();if(n&&r)console.warn(W);else if(!n)n=A(r);else if(n&&u!==null&&l!==null){var o;n.removeEventListener("load",u),n.removeEventListener("error",l),(o=n.parentNode)===null||o===void 0||o.removeChild(n),n=A(r)}u=z(t,e),l=X(e),n.addEventListener("load",u),n.addEventListener("error",l)}catch(f){e(f);return}}),a.catch(function(t){return a=null,Promise.reject(t)}))},H=function(r,t,e){if(r===null)return null;var n=r.apply(void 0,t);return U(n,e),n},c,V=!1,B=function(){return c||(c=K(null).catch(function(r){return c=null,Promise.reject(r)}),c)};Promise.resolve().then(function(){return B()}).catch(function(i){V||console.warn(i)});var F=function(){for(var r=arguments.length,t=new Array(r),e=0;e<r;e++)t[e]=arguments[e];V=!0;var n=Date.now();return B().then(function(o){return H(o,t,n)})};var J=["checkoutWrapper"],N=()=>({width:"24px",height:"24px"}),pe=(()=>{class i{constructor(t,e,n){this.dialogRef=t,this.data=e,this.appConfiguration=n,this.clientSecret="",this.checkout=null,this.clientSecret=this.data.clientSecret}ngOnInit(){this.initStripe()}ngOnDestroy(){this.checkout&&this.checkout.destroy()}close(){this.dialogRef.close()}initStripe(){return m(this,null,function*(){let t=yield F(this.appConfiguration.stripePublishableKey);this.checkout=yield t.initEmbeddedCheckout({clientSecret:this.clientSecret,onComplete:()=>{this.dialogRef.close({success:!0})}}),this.checkout.mount(this.checkoutWrapper.nativeElement)})}static{this.\u0275fac=function(e){return new(e||i)(s(M),s(D),s(T))}}static{this.\u0275cmp=h({type:i,selectors:[["peb-stripe-checkout-modal"]],viewQuery:function(e,n){if(e&1&&b(J,7),e&2){let o;x(o=P())&&(n.checkoutWrapper=o.first)}},decls:4,vars:2,consts:[["checkoutWrapper",""],["peb-icon-button","",1,"stripe-checkout-modal__close",3,"click"],["src","assets/icons/cross-light.svg",3,"svgStyle"],[1,"stripe-checkout-modal__wrapper"]],template:function(e,n){if(e&1){let o=k();C(0,"button",1),E("click",function(){return S(o),g(n.close())}),p(1,"svg-icon",2),_(),p(2,"div",3,0)}e&2&&(w(),y("svgStyle",j(1,N)))},dependencies:[L,I],styles:["[_nghost-%COMP%]{position:relative;display:block;height:100%;padding:2rem;overflow:auto;background:#0062ac}.stripe-checkout-modal__close[_ngcontent-%COMP%]{position:absolute;top:1rem;right:1rem;z-index:999;display:flex;align-items:center;justify-content:center;width:30px;height:30px;color:#000;color:#fff;border-radius:50%}
1.stripe-checkout-modal__wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;min-height:100%}"]})}}return i})();export{R as a,pe as b,ee as c};

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.