PageSourceSearch

https://www.immoregion.fr/client-pro/js/2d76ff5d069aa526ae8e.js

js immoregion.fr collected 2026-09-24 13:08:56 UTC 16,850 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklu_athome_web_pro=self.webpackChunklu_athome_web_pro||[]).push([[584],{3022:(e,r,t)=>{t.d(r,{c:()=>n});var n=function(){return 1048576*(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1)}},7904:(e,r,t)=>{t.d(r,{P:()=>i});var n=t(7425),i=(e,r)=>{var t=""===e,{errors:i,touched:l}=(0,n.useFormikContext)(),a=t?null:(0,n.getIn)(i,e),o=a&&a.id?a.id:a;if(r)return{shouldRenderError:Boolean(a),messageId:o,error:a};var s=(0,n.getIn)(l,e);return{shouldRenderError:a&&s,messageId:o,error:a}}},9391:(e,r,t)=>{var n=t(46518),i=t(96395),l=t(80550),a=t(79039),o=t(97751),s=t(94901),c=t(2293),u=t(93438),d=t(36840),m=l&&l.prototype;if(n({target:"Promise",proto:!0,real:!0,forced:!!l&&a(function(){m.finally.call({then:function(){}},function(){})})},{finally:function(e){var r=c(this,o("Promise")),t=s(e);return this.then(t?function(t){return u(r,e()).then(function(){return t})}:e,t?function(t){return u(r,e()).then(function(){throw t})}:e)}}),!i&&s(l)){var f=o("Promise").prototype.finally;m.finally!==f&&d(m,"finally",f,{unsafe:!0})}},13256:(e,r,t)=>{t.d(r,{$:()=>i});var n=t(74848),i=e=>{var{children:r,onClick:t}=e;return(0,n.jsx)("button",{onClick:t,className:"btn border border-slate-200 hover:border-slate-300 shadow-sm bg-white text-arsenic duration-150 ease-in-out",children:r})}},21224:(e,r,t)=>{t.d(r,{A:()=>c});t(23792),t(62953);var n=t(7904),i=t(52426),l=t(46942),a=t.n(l),o=t(74848),s=e=>{var{hasBorder:r,children:t,className:n}=e;return(0,o.jsx)("div",{className:a()({error:r},n),children:t})};const c=function(e){var{className:r,children:t=null,name:l,hideError:a=!1,withoutTouchedLogic:c}=e,{shouldRenderError:u,messageId:d,error:m}=(0,n.P)(l,c);return(0,o.jsxs)(s,{className:r,hasBorder:u,children:[t,u&&!a&&(0,o.jsx)(i.$,{messageId:d,values:m.values})]})}},35369:(e,r,t)=>{t.d(r,{I:()=>s});t(89463);var n=t(46942),i=t.n(n),l=t(58065),a=t(75766),o=t(74848),s=e=>{var{isCancelHidden:r,description:t}=e,{isSubmitted:n,handleSubmit:s,handleCancel:c,isCancelDisabled:u,isNextDisabled:d,hasErrors:m}=(0,a.F)(),f=n?"IDS_GLOBAL_changes-saved":"IDS_GLOBAL_save-changes";return(0,o.jsx)("footer",{children:(0,o.jsxs)("div",{className:"flex flex-col pt-6 mt-12 border-t border-slate-200",children:[t,(0,o.jsxs)("div",{className:"flex self-end",children:[r?null:(0,o.jsx)("button",{disabled:u,onClick:c,className:"btn border-slate-200 hover:border-slate-300 text-slate-600",children:(0,o.jsx)(l.A,{id:"IDS_GLOBAL_cancel"})}),(0,o.jsx)("button",{disabled:d,onClick:s,className:i()("btn bg-athome-100 hover:bg-athome-200 text-white ml-3",{"bg-green-600 hover:bg-green-500":n,"bg-gray-600 hover:bg-gray-500":m}),children:(0,o.jsx)(l.A,{id:f})})]})]})})}},43192:(e,r,t)=>{t.d(r,{n:()=>l});t(74423),t(27495),t(90906),t(21699);var n=t(42243),i=t(20627),l=(e,r)=>i.mixed().test({message:{id:"IDS_GLOBAL_FORM_FIELD_invalid-format-of-file"},test:(e,t)=>{if((0,n.gD_)(e))return null==t?void 0:t.createError();if("string"==typeof e)return!0;var i=e.name.split(".").pop(),l=r.includes(i);return l||null==t||t.createError(),l}}).test({message:{id:"IDS_GLOBAL_FORM_FIELD_invalid-size-of-file"},test:r=>"string"==typeof r||(null==r?void 0:r.size)<e})},52426:(e,r,t)=>{t.d(r,{$:()=>l});t(23792),t(62953),t(96540);var n=t(58065),i=t(74848),l=e=>{var{messageId:r,values:t}=e;return(0,i.jsx)("div",{className:"error-message mt-1 text-xs text-athome-100",children:(0,i.jsx)(n.A,{id:r,values:t})})}},75766:(e,r,t)=>{t.d(r,{F:()=>a});t(74423),t(23792),t(21699),t(62953);var n=t(7425),i=t(42243),l=t(96540),a=()=>{var{errors:e,isSubmitting:r,touched:t,values:a,initialValues:o,resetForm:s,submitForm:c}=(0,n.useFormikContext)(),[u,d]=(0,l.useState)(!1),[m,f]=(0,l.useState)(!1),b=!(0,i.aIS)(a,o),p=!(0,i.Ime)(t),h=!(0,i.Ime)(e)&&p;return{isCancelDisabled:!b||r||m,isNextDisabled:h||r||m,isSending:m,isSubmitted:u,hasErrors:h,handleCancel:()=>{s()},handleSubmit:()=>(f(!0),c().then(e=>{var r;if(!e||null!=e&&null!==(r=e.type)&&void 0!==r&&r.includes("/rejected"))throw f(!1),e;d(!0),setTimeout(()=>{d(!1),f(!1)},3e3)}))}}},80388:(e,r,t)=>{t.d(r,{t:()=>s});t(89463),t(16280),t(44114);var n=t(96540),i=t(74848);function l(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function a(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};
1r%2?l(Object(t),!0).forEach(function(r){o(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):l(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function o(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var s=(0,n.forwardRef)((e,r)=>(0,i.jsx)("input",a(a({},e),{},{ref:r,className:"w-0 h-0 opacity-0 absolute bottom-0"})))},90906:(e,r,t)=>{t(27495);var n,i,l=t(46518),a=t(69565),o=t(94901),s=t(28551),c=t(655),u=(n=!1,(i=/[ac]/).exec=function(){return n=!0,/./.exec.apply(this,arguments)},!0===i.test("abc")&&n),d=/./.test;l({target:"RegExp",proto:!0,forced:!u},{test:function(e){var r=s(this),t=c(e),n=r.exec;if(!o(n))return a(d,r,t);var i=a(n,r,t);return null!==i&&(s(i),!0)}})},91498:(e,r,t)=>{t.d(r,{l:()=>m});t(89463),t(16280),t(44114);var n=t(46942),i=t.n(n),l=t(7425),a=t(42243),o=t(6442),s=t(74848);function c(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function u(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?c(Object(t),!0).forEach(function(r){d(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function d(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var m=e=>{var{selectedValue:r,options:t,onChange:n,id:c,className:d,disabled:m,name:f,isFullWidth:b,shouldDisplayPlaceholder:p}=e,{formatMessage:h}=(0,o.A)(),g=t.findIndex(e=>(0,a.aIS)(e.value,r)),v={disabled:m,id:c,className:i()("form-select",d,{"w-full":b})},x=t.map((e,r)=>{var t;return(0,s.jsx)("option",{value:n?r:null!==(t=e.value)&&void 0!==t?t:"",children:e.title},r)}),j=(0,s.jsxs)(s.Fragment,{children:[p?(0,s.jsx)("option",{value:"",disabled:!0,hidden:!!r,children:h({id:"IDS_GLOBAL_select-placeholder"})}):null,x]});return f?(0,s.jsx)(l.Field,u(u({name:f,as:"select"},v),{},{children:j})):(0,s.jsx)("select",u(u({value:-1!==g?g:"",onChange:e=>n&&n(t[Number(e.target.value)])},v),{},{children:j}))}},92974:(e,r,t)=>{t.r(r),t.d(r,{default:()=>R});t(89463),t(16280),t(23792),t(44114),t(3362),t(62953);var n=t(7425),i=t(42243),l=t(58065),a=t(2896),o=t(32584),s=t(50494),c=t(12197),u=t(97643),d=t(36030),m=(t(3296),t(48408),t(98721),t(46942)),f=t.n(m),b=t(96540),p=t(21224),h=t(80388),g=t(13256),v=t(74848),x=e=>{var{name:r,sectionClassName:t,titleClassName:a,descriptionId:o,descriptionClassName:s,imageClassName:c,imageAlt:u,hasShadow:d=!0}=e,{values:m,setFieldTouched:x,setFieldValue:j}=(0,n.useFormikContext)(),y=m[r],N=(0,b.useRef)(null);return(0,v.jsxs)("section",{className:t||"",children:[(0,v.jsx)("h3",{className:a,children:(0,v.jsx)(l.A,{id:"IDS_AGENCY_BRANDING-upload-your-logo"})}),(0,v.jsxs)("p",{className:f()("text-slate-600 text-sm",s),children:[(0,v.jsx)(l.A,{id:o||"IDS_AGENCY_BRANDING-use-svg-transparent-png-or-jpg-image"}),(0,v.jsx)("br",{}),(0,v.jsx)(l.A,{id:"IDS_AGENCY_BRANDING-logo-quality"})]}),(0,v.jsxs)("div",{className:"flex items-end flex-wrap gap-4",children:[(0,v.jsx)("div",{className:d?"shadow-lg rounded overflow-hidden":"",children:(0,v.jsx)("img",{className:c,src:"string"!=typeof y?URL.createObjectURL(y):y,alt:u||""})}),(0,v.jsx)("div",{children:(0,v.jsx)(g.$,{onClick:()=>{var e;null===(e=N.current)||void 0===e||e.click()},children:(0,v.jsx)(l.A,{id:(0,i.Ime)(y)?"IDS_AGENCY_BRANDING-upload":"IDS_AGENCY_BRANDING-change"})})}),(0,v.jsx)(h.t,{onChange:e=>{var{currentTarget:{files:t}}=e;t&&t[0]&&(x(r,!0),j(r,t[0],!0))},ref:N,type:"file"})]}),(0,v.jsx)(p.A,{name:r})]})},j=t(91498);function y(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function N(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};
1r%2?y(Object(t),!0).forEach(function(r){O(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):y(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function O(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var w=()=>{var e=(0,b.useRef)(null),{values:{brandColor:r,textColor:t},setFieldValue:i}=(0,n.useFormikContext)(),[a]=(0,n.useField)("brandColor"),o={backgroundColor:r};return(0,v.jsxs)("section",{children:[(0,v.jsx)("h3",{className:"text-xl leading-snug text-slate-800 font-bold mb-2",children:(0,v.jsx)(l.A,{id:"IDS_AGENCY_BRANDING-change-primary-color"})}),(0,v.jsx)("p",{className:"text-slate-600 text-sm mb-7",children:(0,v.jsx)(l.A,{id:"IDS_AGENCY_BRANDING-color-you-select-will-appear"})}),(0,v.jsxs)("div",{className:"flex items-end flex-wrap gap-6 max-w-xl",children:[(0,v.jsxs)("div",{className:"flex items-end gap-4",children:[(0,v.jsxs)("div",{className:"relative",children:[(0,v.jsx)("div",{onClick:()=>{var r;null===(r=e.current)||void 0===r||r.click()},className:"w-16 h-16 rounded-md bg-athome-100 shrink-0",style:o}),(0,v.jsx)(h.t,{onChange:e=>{i("brandColor",e.target.value)},ref:e,type:"color"})]}),(0,v.jsx)(p.A,{name:"brandColor",children:(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("label",{className:"block text-sm font-medium mb-1",htmlFor:"hexcode",children:(0,v.jsx)(l.A,{id:"IDS_AGENCY_BRANDING-hex-code"})}),(0,v.jsx)("input",N(N({},a),{},{name:"brandColor",id:"hexcode",className:"form-input w-full sm:w-32",type:"text"}))]})})]}),(0,v.jsxs)("div",{className:"",children:[(0,v.jsx)("label",{className:"block text-sm font-medium mb-1",htmlFor:"btn-text-color",children:(0,v.jsx)(l.A,{id:"IDS_AGENCY_BRANDING-button-text-color"})}),(0,v.jsx)(j.l,{className:"w-36",selectedValue:t,onChange:e=>{i("textColor",e.value)},id:"btn-text-color",options:[{title:(0,v.jsx)(l.A,{id:"IDS_AGENCY_BRANDING-white"}),value:"#fff"},{title:(0,v.jsx)(l.A,{id:"IDS_AGENCY_BRANDING-black"}),value:"#000"}]})]}),(0,v.jsx)("div",{className:"md:ml-auto shrink-0",children:(0,v.jsx)("button",{className:"btn-lg bg-[#E4002B] hover:bg-[#E4002B]/[.6] text-white",style:N(N({},o),{},{color:t}),children:(0,v.jsx)(l.A,{id:"IDS_AGENCY_BRANDING-sample-button"})})})]})]})},A=t(35369),D=()=>{var{values:{backgroundUrl:e},setFieldTouched:r,setFieldValue:t}=(0,n.useFormikContext)(),a=(0,b.useRef)(null);return(0,v.jsxs)("section",{children:[(0,v.jsx)("h3",{className:"text-xl leading-snug text-slate-800 font-bold mb-2",children:(0,v.jsx)(l.A,{id:"IDS_AGENCY_BRANDING-edit-your-background-picture"})}),(0,v.jsxs)("p",{className:"text-slate-600 text-sm mb-7",children:[(0,v.jsx)(l.A,{id:"IDS_AGENCY_BRANDING-this-background-picture-will-make-page-unique"}),(0,v.jsx)("br",{}),(0,v.jsx)(l.A,{id:"IDS_AGENCY_BRANDING-format-png-of-jpg"})]}),(0,v.jsxs)("div",{className:"flex items-end flex-wrap gap-4",children:[(0,v.jsx)("div",{children:(0,v.jsx)("img",{className:"w-[280px] h-[154px] object-cover",src:"string"!=typeof e?URL.createObjectURL(e):e,alt:""})}),(0,v.jsx)("div",{children:(0,v.jsx)(g.$,{onClick:()=>{var e;null===(e=a.current)||void 0===e||e.click()},children:(0,v.jsx)(l.A,{id:(0,i.Ime)(e)?"IDS_AGENCY_BRANDING-upload":"IDS_AGENCY_BRANDING-change"})})}),(0,v.jsx)(h.t,{onChange:e=>{var{currentTarget:{files:n}}=e;n&&n[0]&&(r("backgroundUrl",!0),t("backgroundUrl",n[0],!0))},ref:a,type:"file"})]}),(0,v.jsx)(p.A,{name:"backgroundUrl"})]})},C=t(20627),I=t(3022),_=t(43192),P=C.object().shape({logo:(0,_.n)((0,I.c)(),["svg","jpg","jpeg","png"]),brandColor:C.string().matches(/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i,{message:{id:"IDS_AGENCY_BRANDING-the-code-inserted-is-not-valid"}}),backgroundUrl:(0,_.n)((0,I.c)(5),["jpg","jpeg","png"])}),S=["logo","backgroundUrl"];function k(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function E(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};
1r%2?k(Object(t),!0).forEach(function(r){G(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):k(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function G(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function B(e,r,t,n,i,l,a){try{var o=e[l](a),s=o.value}catch(e){return void t(e)}o.done?r(s):Promise.resolve(s).then(n,i)}const R=()=>{var e=(0,a.d4)(d.wu),r=(0,s.j)(),{agencyLogoPrefix:t,backgroundUrlAgenciesPrefix:m,defaultBackgroundImageOfAgency:f}=(0,c.UK)(),b={logo:e.logoUrl?"".concat(t).concat(e.logoUrl):"",textColor:e.textColor,brandColor:e.brandColor,backgroundUrl:e.backgroundUrl?"".concat(m).concat(e.backgroundUrl):f},p=function(){var e,t=(e=function*(e){var{logo:t,backgroundUrl:n}=e,l=function(e,r){if(null==e)return{};var t,n,i=function(e,r){if(null==e)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==r.indexOf(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)t=l[n],-1===r.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,S),a=[!(0,i.aIS)((0,i.UpN)(["textColor","brandColor"],b),l)&&(yield r((0,u.Id)(E({},l)))),"object"==typeof t&&(yield r((0,u.Vf)(t))),"object"==typeof n&&(yield r((0,u.gB)(n)))].filter(Boolean);return Promise.all(a).then(()=>r((0,u.l2)()))},function(){var r=this,t=arguments;return new Promise(function(n,i){var l=e.apply(r,t);function a(e){B(l,n,i,a,o,"next",e)}function o(e){B(l,n,i,a,o,"throw",e)}a(void 0)})});return function(e){return t.apply(this,arguments)}}();return(0,v.jsx)(o.A,{hasSidebar:!0,children:(0,v.jsx)("div",{className:"relative",children:(0,v.jsxs)("div",{className:"px-4 md:px-6 lg:px-8 py-8 w-full max-w-5xl mx-auto",children:[(0,v.jsx)("div",{className:"md:flex md:justify-between md:items-end mb-8 gap-4",children:(0,v.jsx)("div",{className:"mb-4 md:mb-0 shrink-0",children:(0,v.jsx)("h1",{className:"text-2xl md:text-3xl text-slate-800 font-bold",children:(0,v.jsx)(l.A,{id:"IDS_AGENCY_BRANDING-title"})})})}),(0,v.jsx)(n.Formik,{enableReinitialize:!0,onSubmit:p,validationSchema:P,validateOnChange:!1,validateOnBlur:!0,initialValues:b,children:(0,v.jsxs)("div",{className:"bg-white shadow-lg rounded-lg px-4 sm:px-6 md:px-12 lg:px-16 xl:px-20 py-8 lg:py-12",children:[(0,v.jsxs)("div",{className:"space-y-10",children:[(0,v.jsx)(x,{imageClassName:"w-[135px] h-[60px] object-cover",descriptionClassName:"mb-7",titleClassName:"text-xl leading-snug text-slate-800 font-bold mb-2",name:"logo",imageAlt:"agency image"}),(0,v.jsx)(w,{}),(0,v.jsx)(D,{})]}),(0,v.jsx)(A.I,{})]})})]})})})}}}]);

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.