PageSourceSearch

https://assets.allocine.fr/js/website/edit-profile-card-modal.6c9398c8a471d9c1c572.js

js allocine.fr collected 2026-09-24 08:31:29 UTC 6,948 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkallocine_js=self.webpackChunkallocine_js||[]).push([[9146],{25665:function(e,a,t){var l=t(5338),i=t(25948);const n=new WeakMap,r=e=>(n.has(e)||n.set(e,(0,l.H)(e)),n.get(e));a.A=(e,a,t=i.A,l=i.A)=>({name:e,render:(e,t,l,i,n)=>{if(e){const o=r(e),c=a(t,l,i,n);o?.render(c)}},remove:e=>{const a=r(e);a?.unmount(),n.delete(e)},onClose:t,onOpen:l})},40183:function(e,a,t){t.d(a,{A:function(){return w}});var l=t(58168),i=t(46942),n=t.n(i),r=t(96540),o=t(62134),c=t(85072),s=t.n(c),m=t(97825),d=t.n(m),f=t(77659),g=t.n(f),h=t(55056),u=t.n(h),p=t(10540),v=t.n(p),k=t(41113),b=t.n(k),y=t(98020),A={};A.styleTagTransform=b(),A.setAttributes=u(),A.insert=g().bind(null,"head"),A.domAPI=d(),A.insertStyleElement=v(),s()(y.A,A);var E=y.A&&y.A.locals?y.A.locals:void 0,w=({className:e,image:a,imageWidth:t,imageHeight:i,title:c,children:s,size:m,preventClose:d,backgroundImage:f,fallback:g,pagination:h,...u})=>{const p=(0,r.createRef)();(0,r.useEffect)((()=>{g&&p.current&&(0,o.A)(p.current).then((e=>{e||g()}))}),[g,p]);const v=n()("modal",{[`modal-${m}`]:!!m,[E.modalWithBackground]:!!f},e),k=r.createElement(r.Fragment,null,r.createElement("header",{className:"modal-header",id:"modal-header"},h,(a||c)&&r.createElement("div",{className:"modal-header-content"},a?r.createElement("img",{src:a,width:t,height:i,className:"modal-header-image"}):null,c?r.createElement("h2",{className:"titlebar-title titlebar-title-sm",dangerouslySetInnerHTML:{__html:c}}):null),!d&&r.createElement("button",{type:"button",className:"modal-close icon icon-cross light js-trigger-overlay-close"},r.createElement("span",{className:"no-icon"},"X"))),r.createElement("div",{className:"modal-content"},s));return r.createElement(r.Fragment,null,r.createElement("div",{className:n()("modal-layer",{"js-trigger-overlay-close":!d})}),r.createElement("div",(0,l.A)({className:v,ref:p},u),f?r.createElement(r.Fragment,null,r.createElement("img",{className:E.modalLeft,src:f}),r.createElement("div",{className:E.modalRight},k)):k))}},45819:function(e,a,t){t.r(a),t.d(a,{default:function(){return _}});
1var l=t(96540),i=t(77992),n=t(25665),r=t(92022),o=t(762),c=t(46942),s=t.n(c),m=t(30507),d=t(40183),f=t(85072),g=t.n(f),h=t(97825),u=t.n(h),p=t(77659),v=t.n(p),k=t(55056),b=t.n(k),y=t(10540),A=t.n(y),E=t(41113),w=t.n(E),N=t(61525),x={};x.styleTagTransform=w(),x.setAttributes=b(),x.insert=v().bind(null,"head"),x.domAPI=u(),x.insertStyleElement=A(),g()(N.A,x);var X=N.A&&N.A.locals?N.A.locals:void 0,D=({title:e,sections:a,navigation:t,onCancel:i,cancelLabel:n=(0,r.default)("generic.cancel"),size:o="medium",className:c})=>l.createElement(d.A,{size:o,title:e,className:c??X.sectionModal},t?l.createElement("div",{className:X.navigation,role:"navigation"},t):null,l.createElement("div",{className:s()(X.sections,"section-modal__sections")},a.map((e=>l.createElement("div",{key:e.id,className:X.section,"data-section-id":e.id},l.createElement("div",{className:s()(X.sectionPreview,{[X.sectionPreviewCircle]:"circle"===e.shape})},e.imageUrl?l.createElement("img",{src:e.imageUrl,alt:e.imageAlt??e.label,className:X.sectionImage}):l.createElement("div",{className:X.sectionPlaceholder})),l.createElement("span",{className:X.sectionLabel},e.label),l.createElement(m.Ay,{theme:"inverse",type:"full",size:"sm",className:X.sectionAction,onClick:e.onActionClick},e.actionLabel))))),l.createElement("div",{className:s()(X.footer,"section-modal__footer")},l.createElement(m.Ay,{theme:"default",type:"full",size:"sm",className:X.footerButton,onClick:i},n)));const L=({closeModal:e,params:a})=>{const{avatarImageUrl:t,backgroundImageUrl:i}=a??{},n=[{id:"avatar",label:(0,r.default)("userprofile.edit-card.modal.avatar"),imageUrl:t,imageAlt:(0,r.default)("userprofile.edit-card.modal.avatar"),shape:"circle",actionLabel:(0,r.default)("userprofile.edit-card.modal.modify"),onActionClick:()=>{(0,o.zu)({mode:"avatar",categories:[],items:[]})}},{id:"background",label:(0,r.default)("userprofile.edit-card.modal.background"),imageUrl:i,imageAlt:(0,r.default)("userprofile.edit-card.modal.background"),actionLabel:(0,r.default)("userprofile.edit-card.modal.modify"),onActionClick:()=>{(0,o.zu)({mode:"background",categories:[],items:[]})}}];return l.createElement(D,{title:(0,r.default)("userprofile.user-cover.edit-card.label"),sections:n,onCancel:e,cancelLabel:(0,r.default)("common.finish"),size:"medium"})};var _=(0,n.A)(i.IJ,((e,a)=>l.createElement(L,{closeModal:a,params:e})))},98020:function(e,a,t){var l=t(31601),i=t.n(l),n=t(76314),r=t.n(n)()(i());r.push([e.id,".xMFhR7TX8akeV_KDDfXk{position:relative;display:flex}.xMFhR7TX8akeV_KDDfXk .modal-header,.xMFhR7TX8akeV_KDDfXk .modal-content{padding-right:1.875rem;padding-left:1.875rem}.xMFhR7TX8akeV_KDDfXk .modal-header{position:relative}.oS36iX8mxDcLYGfk1nU7{display:none;width:auto;height:100%}.jLYdac7WhChWhq6Y49rQ{position:relative;background-color:#fff;width:100%}@media all and (min-width: 37.625em){.oS36iX8mxDcLYGfk1nU7{display:block}.xMFhR7TX8akeV_KDDfXk .modal-header{padding-top:5rem}.jLYdac7WhChWhq6Y49rQ{width:auto}}",""]),r.locals={modalWithBackground:"xMFhR7TX8akeV_KDDfXk",modalLeft:"oS36iX8mxDcLYGfk1nU7",modalRight:"jLYdac7WhChWhq6Y49rQ"},a.A=r},61525:function(e,a,t){var l=t(31601),i=t.n(l),n=t(76314),r=t.n(n)()(i());r.push([e.id,".OAXhSQEbWNXeF8o57Nc7 .modal-content{display:flex;flex-direction:column;gap:3.125rem;max-width:28rem;margin:0 auto;padding:4.375rem 3.125rem 1.875rem 3.125rem}.xmpvlzJ7DLj3PKRI3h5c{margin-bottom:.5rem}.JpD519BwIs8Vyh0h410s{display:grid;grid-template-columns:repeat(2, 1fr);gap:2.5rem;flex:1}@media(max-width: 31.25rem){.JpD519BwIs8Vyh0h410s{gap:2rem}}.cfrFEgOY_Yt84D0YvkQD{display:flex;flex-direction:column;align-items:center;gap:.75rem;cursor:default}.By_PR64HiycIW67gwXwk{width:100%;aspect-ratio:1;overflow:hidden;border-radius:.5rem;background-color:var(--color-grey-5, #f0f0f0)}.ljXJLm1fJA2jni8hgOpN{border-radius:50%}.dBfVY293HCjg3ovItWWP{width:100%;height:100%;object-fit:cover}.dji468JKHccVxilfVvXR{width:100%;height:100%;background-color:var(--color-grey-5, #f0f0f0)}.BBW1fFxVZdcHiL_vGEf7{font-weight:700;font-size:.875rem;text-transform:uppercase}.T_cgW10nqFgP8JIvsVbq{width:100%;max-width:12rem}
1.Asef09evCaF0XyJtmL7U{display:flex;justify-content:center;align-items:center;width:100%;gap:1.25rem;padding-top:1.875rem;border-top:1px solid var(--color-grey-6, #e5e5e5);margin-top:.25rem}._ixU4vjt3fyZMZhpZXNw{max-width:12rem}",""]),r.locals={sectionModal:"OAXhSQEbWNXeF8o57Nc7",navigation:"xmpvlzJ7DLj3PKRI3h5c",sections:"JpD519BwIs8Vyh0h410s",section:"cfrFEgOY_Yt84D0YvkQD",sectionPreview:"By_PR64HiycIW67gwXwk",sectionPreviewCircle:"ljXJLm1fJA2jni8hgOpN",sectionImage:"dBfVY293HCjg3ovItWWP",sectionPlaceholder:"dji468JKHccVxilfVvXR",sectionLabel:"BBW1fFxVZdcHiL_vGEf7",sectionAction:"T_cgW10nqFgP8JIvsVbq",footer:"Asef09evCaF0XyJtmL7U",footerButton:"_ixU4vjt3fyZMZhpZXNw"},a.A=r}}]);
2//# sourceMappingURL=edit-profile-card-modal.6c9398c8a471d9c1c572.js.map

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.