PageSourceSearch

https://www.aguttes.com/_next/static/chunks/1820-3dff83d1ebe3c5c3.js

js aguttes.com collected 2026-10-02 10:17:51 UTC 15,150 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1820],{540:(e,n,t)=>{t.d(n,{Zp:()=>h,cI:()=>d});var i=t(4930),a=t(1841),r=t(8026),o=t(618),s=t(2755),l=t(7656);let c=["/profile","/identity-verification","/favorite-lots","/bidder-registrations","/my-telephone-commission-bids","/my-bids","/invoices","/items","/settlements"];function d(){let e=(0,a.useRouter)(),[n,t]=(0,r.useState)(""),[i,o]=(0,r.useState)(null),s=e.asPath.includes("/artisio"),l="fr"===e.locale?"":"/".concat(e.locale),d=n.replace(/\/$/,""),h=c.includes(d);return(0,r.useEffect)(()=>{if(!e.asPath.includes("/artisio"))return;let n=e=>{let n=(window.location.hash||"").split("?")[1];return n?new URLSearchParams(n).get(e):null};t((window.location.hash||"").replace(/^#/,"").split("?")[0]),o(n("q"));let i=e=>{var i,a,r;(null==(i=e.detail)?void 0:i.hash)!==void 0&&t(e.detail.hash),(null==(r=e.detail)||null==(a=r.queryParams)?void 0:a.q)!==void 0?o(e.detail.queryParams.q):o(n("q"))};return window.addEventListener("artisio-hash-change",i),()=>{window.removeEventListener("artisio-hash-change",i)}},[e.asPath]),{currentHash:n,searchTerm:i,isArtisio:s,displayProfileMenu:h,showProfileNav:s&&h,basePath:l,normalizedHash:d}}function h(e){let{forceShow:n=!1}=e,t=(0,a.useRouter)(),r=(0,o.c)(),{currentHash:c,showProfileNav:h,basePath:u}=d(),p="".concat(u,"/artisio/#"),m={href:"".concat(p,"/sign-out"),labelKey:"common.header.artisio_logout"};return h||n?(0,i.jsx)("div",{className:"container",children:(0,i.jsx)("div",{className:"border-b border-t border-grey-filet/30 relative",children:(0,i.jsxs)("nav",{className:"c-artisio-nav flex items-center gap-x-1 md:gap-y-2 flex-wrap","aria-label":"Artisio",children:[(0,i.jsx)("div",{className:"flex md:flex-nowrap items-center gap-x-4 md:gap-x-6 md:shrink-0 overflow-x-auto md:overflow-visible pt-2 pb-3 md:pt-0 md:pb-0",children:[{key:"profile",labelKey:"common.header.artisio_menu_profile",items:[{href:"".concat(p,"/profile"),labelKey:"common.header.artisio_profile",hash:"profile"},{href:"".concat(p,"/identity-verification"),labelKey:"common.header.artisio_identity_verification",hash:"identity-verification"}]},{href:"".concat(p,"/favorite-lots"),labelKey:"common.header.artisio_favorite",hash:"favorite-lots"},{href:"".concat(p,"/bidder-registrations"),labelKey:"common.header.artisio_bidder_registration",hash:"bidder-registrations"},{href:"".concat(p,"/my-telephone-commission-bids"),labelKey:"common.header.artisio_phone_bids",hash:"my-telephone-commission-bids"},{href:"".concat(p,"/my-bids?lot_status=all"),labelKey:"common.header.artisio_auction_bids",hash:"my-bids"},{key:"bordereaux",labelKey:"common.header.artisio_menu_bordereaux",items:[{href:"".concat(p,"/items"),labelKey:"common.header.artisio_items",hash:"items"}]},{href:"".concat(u,"/regler-mon-lot"),labelKey:"common.header.online_payment",hash:null}].map((e,n)=>{var a;if(Array.isArray(e.items)){let n=e.items.find(e=>null!=e.hash&&c===e.hash),t=n?n.href:"",a=e.items.map(e=>({value:e.href,label:r(e.labelKey)}));return(0,i.jsxs)("div",{className:"relative inline-flex shrink-0 gap-4 ".concat(""),children:[(0,i.jsx)(l.l,{value:t,defaultLabel:r(e.labelKey),options:a,onChange:e=>{e&&(window.location.href=e)},className:"c-artisio-nav__item c-artisio-nav__item--select hidden md:inline-block md:py-3 ".concat(n?"active ":"")}),null==a?void 0:a.map(e=>(0,i.jsx)("div",{className:"inline-flex items-center shrink-0 md:hidden",children:(0,i.jsx)("a",{href:e.value,className:"c-artisio-nav__item md:py-3",children:(0,i.jsx)(s.o,{text:e.label,variant:"body-2"})})},e.value))]},e.key)}let o=t.asPath.split("?")[0].split("#")[0].replace(/\/$/,"")||"/",d=(e.href||"").split("?")[0].split("#")[0].replace(/\/$/,"")||"/",h=c?null!=e.hash&&c===e.hash||null!=e.href&&e.href.includes(c):o===d||o.length>1&&((null==(a=e.href)?void 0:a.endsWith(o))||d.endsWith(o));return(0,i.jsx)("div",{className:"inline-flex items-center shrink-0",children:(0,i.jsx)("a",{href:e.href,className:"\n                      c-artisio-nav__item relative\n                      inline-block py-1 md:py-3 font-helvetica font-regular transition-colors duration-150 whitespace-nowrap hover:text-black focus:outline-none \n                      ".concat(h?"active":"","\n                    "),children:(0,i.jsx)(s.o,{text:r(e.labelKey),variant:"body-2",className:""})})},e.href)})}),(0,i.jsx)("div",{className:"ml-auto shrink-0 inline-flex items-center mb-[-2px]",children:(0,i.jsx)("a",{href:m.href,className:"c-artisio-nav__item relative inline-block py-1 md:py-3 rounded text-grey hover:text-black transition-colors duration-150 whitespace-nowrap focu
1s:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-gray-400",children:(0,i.jsx)(s.o,{text:r(m.labelKey),variant:"body-3"})})})]})})}):null}},1820:(e,n,t)=>{t.d(n,{A:()=>u});var i=t(4930),a=t(1841),r=t(9959),o=t.n(r),s=t(8026);t(7581);var l=t(1181),c=t(618);t(2755);var d=t(540),h=t(1925);let u=()=>{let e=(0,a.useRouter)(),n=(0,c.c)(),{currentHash:t,searchTerm:r,isArtisio:u}=(0,d.cI)(),[p,m]=(0,s.useState)(!1);(0,s.useEffect)(()=>{if(e.asPath.includes("/artisio")){let e="",n=document.getElementById("artisioTimedAuctions"),t=null;return n&&(t=new ResizeObserver(n=>{let t=n[0];t&&t.target.innerText.slice(0,50)!==e.slice(0,50)&&(e=t.target.innerText,window.scrollTo(0,0))})).observe(n),()=>{t&&t.disconnect()}}},[e.asPath]),(0,s.useEffect)(()=>{var n,t,i,a;if(e.asPath.includes("/artisio")){if(null==(n=window.artisio)?void 0:n.app)if(document.getElementById("artisio"))null==(i=window.artisio)||i.destroy(),null==(a=window.artisio)||a.init();else{window.artisioWebApp=(0,l.VY)(null==e?void 0:e.locale),console.warn("Artisio script not loaded");let n=document.createElement("script");n.src="https://cdn.artisio.co/v1.16.1/js/app.js",n.id="artisio",document.body.appendChild(n)}else null==(t=window.artisio)||t.init();return()=>{}}},[null==e?void 0:e.locale]),(0,s.useEffect)(()=>{let n=n=>{if(!n.includes("/artisio")&&!e.asPath.includes("/artisio"))return;let t=document.getElementById("artisio");t&&t.remove()},t=n=>{var t,i,a,r;if(n.includes("/artisio"))if(null==(t=window.artisio)?void 0:t.app)if(document.getElementById("artisio"))null==(a=window.artisio)||a.destroy(),null==(r=window.artisio)||r.init();else{window.artisioWebApp=(0,l.VY)(null==e?void 0:e.locale),console.warn("Artisio script not loaded");let n=document.createElement("script");n.src="https://cdn.artisio.co/v1.16.1/js/app.js",n.id="artisio",document.body.appendChild(n)}else null==(i=window.artisio)||i.init()};return e.events.on("routeChangeComplete",t),e.events.on("routeChangeStart",n),()=>{e.events.off("routeChangeComplete",t),e.events.off("routeChangeStart",n)}},[e.events]);let f="/artisio#/lots"===e.asPath||e.asPath.startsWith("/artisio#/lots?");return(0,i.jsxs)("div",{className:"c-artisio-webapp w-full",children:[f&&(0,i.jsxs)("div",{className:"container",children:[r?(0,i.jsxs)("p",{className:"h4 font-ivar py-10 uppercase md:py-20 text-center",children:[n("search.results_display_term")," ",(0,i.jsxs)("span",{className:"text-grey",children:['"',r,'"']})]}):(0,i.jsx)("p",{className:"h4 font-ivar py-10 uppercase md:py-20 text-center",children:n("search.results_display_term_no_search")}),(0,i.jsx)("div",{className:"flex gap-2 md:gap-6 border-b border-grey-filet justify-center",children:(0,i.jsxs)("div",{className:"c-lots-type-switch flex gap-2 md:gap-6 mb-4 md:mb-6",children:[(0,i.jsx)("button",{className:"flex ui-2 py-3 !font-regular c-lots-type-switch-btn ".concat(p?"cursor-wait":""),onClick:()=>{e.push(r?"/search?keyword=".concat(r):"/search"),m(!0)},children:n("search.past_lots_option")}),(0,i.jsx)("button",{className:"flex ui-2 py-3 c-lots-type-switch-btn active ".concat(p?"cursor-wait":""),children:n("search.upcoming_lots_option")})]})})]}),(0,i.jsx)(d.Zp,{}),(0,i.jsx)("div",{id:"artisioTimedAuctions",className:"w-full ".concat(u?"":"hidden"),"data-lenis-prevent":!0}),(0,i.jsx)(o(),{id:"artisio-lot-accordion",children:'\n          function handleAccordionToggle(el) {\n            if (el) {\n              const isActive = el.classList.contains("active");\n              el.classList.toggle("active");\n        \n              // Get the next sibling element\n              var content = el.nextElementSibling;\n        \n              // If the content is already shown, hide it\n              // if (content.style.display === "block") {\n              //   content.style.display = "none";\n              // } else {\n              //   // If the content is hidden, show it\n              //   content.style.display = "block";\n              // }\n            }\n          }\n          function handleSeeMoreLess(el) {\n            if (el) {        \n              // Get the next sibling element\n              var content = el.previousElementSibling;\n\n              const isExpanded = content.classList.contains("expanded");\n              content.classList.toggle("expanded");\n            }\n          }\n\n          function handleConsignFormClick(el) {\n            if (el) {\n              // Meme regle que devLog() (utils/devLog.js), que ce script inline ne peut pas importer.\n              try {\n                if ('.concat(!1,' || localStorage.getItem("').concat(h.ze,'") === "1") {\n                  console.log("Consign form link", el);\n                }\n              } catch (e) {}\n\n              event.preventDefault();\n              const url = new URL(el.href);\n              url.searchParams.set(\'form\', \'f57d290c-6b2d-4c23-8870-8cd5f590d6d8\');\n              el.href = url.toString();\n              window.location.href = el.href;\n            }\n          }\n        ')}),e.asPath.includes("/artisio")&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o(),{id:"artisio-hash-observer",strategy:"afterInteractive",children:"\n              (function() {\
1n                var lastHash = '';\n                function parseHash() {\n                  var hash = window.location.hash || '';\n                  var withoutHash = hash.replace(/^#/, '');\n                  var path = withoutHash.split('?')[0];\n                  var query = withoutHash.split('?')[1] || '';\n                  var params = {};\n                  if (query) {\n                    query.split('&').forEach(function(pair) {\n                      var i = pair.indexOf('=');\n                      if (i !== -1) params[decodeURIComponent(pair.slice(0, i))] = decodeURIComponent(pair.slice(i + 1));\n                    });\n                  }\n                  return { path: path, queryParams: params, fullHash: hash };\n                }\n                function dispatchIfChanged() {\n                  var current = window.location.hash || '';\n                  if (current === lastHash) return;\n                  lastHash = current;\n                  var parsed = parseHash();\n                  window.dispatchEvent(new CustomEvent('artisio-hash-change', {\n                    detail: { hash: parsed.path, queryParams: parsed.queryParams, fullHash: parsed.fullHash }\n                  }));\n                }\n                var originalPushState = history.pushState;\n                var originalReplaceState = history.replaceState;\n                history.pushState = function() {\n                  originalPushState.apply(this, arguments);\n                  if (window.location.pathname.indexOf('artisio') !== -1) setTimeout(dispatchIfChanged, 0);\n                };\n                history.replaceState = function() {\n                  originalReplaceState.apply(this, arguments);\n                  if (window.location.pathname.indexOf('artisio') !== -1) setTimeout(dispatchIfChanged, 0);\n                };\n                window.addEventListener('hashchange', dispatchIfChanged);\n                dispatchIfChanged();\n                var pollTimer;\n                function schedulePoll() {\n                  if (pollTimer) { clearInterval(pollTimer); pollTimer = null; }\n                  if (document.visibilityState === 'visible') {\n                    pollTimer = setInterval(dispatchIfChanged, 1500);\n                  }\n                }\n                document.addEventListener('visibilitychange', schedulePoll);\n                schedulePoll();\n              })();\n            "}),(0,i.jsx)(o(),{id:"artisio",strategy:"lazyOnload",src:"https://cdn.artisio.co/v1.16.1/js/app.js"})]})]})}},7656:(e,n,t)=>{t.d(n,{l:()=>l});var i=t(4930),a=t(6507),r=t(8026),o=t(8309),s=t(1752);let l=e=>{var n;let{onChange:t,options:l,defaultLabel:c,loading:d,className:h,controlStyles:u,...p}=e,[m,f]=(0,r.useState)(null!=(n=p.value)?n:""),[v,b]=(0,r.useState)(!1),[y,g]=(0,r.useState)(!1),w=(0,r.useRef)(null),x=(0,r.useRef)(!1);(0,r.useEffect)(()=>{if(null===w.current){var e;w.current=null!=(e=p.value)?e:""}},[]);let _=[l[0],{value:"",label:"Loading...",disabled:!0}];(0,r.useEffect)(()=>{f(p.value)},[p.value]);let j=null!==p.value&&void 0!==p.value&&""!==p.value?l.find(e=>{var n;return(null==(n=e.value)?void 0:n.toString())===(null==m?void 0:m.toString())}):void 0,k=!x.current&&"all"===w.current&&"all"===m,S=null===p.value||void 0===p.value||""===p.value||k,C=(0,r.useRef)(void 0),N=(0,r.useRef)(void 0),I="all"===m?"":m,P=l.findIndex(e=>{var n;return(null==(n=e.value)?void 0:n.toString())===(null==I?void 0:I.toString())});return(0,i.jsx)("div",{className:"relative inline-block ".concat(h," ").concat(P>0?"font-bold":""),"data-lenis-prevent":!0,children:(0,i.jsx)(o.Ay,{ref:N,styles:{control:(e,n)=>({...e,border:"none",backgroundColor:"transparent",borderRadius:"0",boxShadow:"none",":hover":{border:"none",boxShadow:"none",cursor:"pointer"},":focus":{border:"none",boxShadow:"none"},minHeight:"auto",...u||{}}),indicatorSeparator:(e,n)=>({...e,display:"none"}),indicatorsContainer:(e,n)=>({...e,transform:"translateY(-1px)"}),dropdownIndicator:(e,n)=>({...e,padding:"0"}),valueContainer:(e,n)=>({...e,padding:"0"}),menu:(e,n)=>({...e,width:"max-content",maxWidth:"min(300px, calc(100vw - 24px))",borderColor:"transparent",border:"none",borderRadius:"0",position:"absolute",left:"0",...v&&{right:0}}),menuList:e=>({...e,maxWidth:"100%"}),option:(e,n)=>({...e,backgroundColor:"transparent",fontWeight:n.isSelected?"bold":"normal",color:"black",overflowWrap:"break-word",wordBreak:"break-word",":hover":{backgroundColor:"rgb(243, 244, 246)",cursor:"pointer"}})},classNamePrefix:"rs",isSearchable:!1,value:S?null:null!=j?j:null,theme:e=>({...e,colors:{...e.colors,primary:"black",primary25:"rgb(243, 244, 246)"}}),onMenuOpen:()=>{g(!0);let e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],{boundingClientRect:n,intersectionRect:t}=e[0];b(n.left<0||n.right>window.innerWidth)};setTimeout(()=>{var n;let t=null==(n=N.current)?void 0:n.menuListRef;
1C.current=new IntersectionObserver(e),t&&C.current.observe(t)},1)},onMenuClose:()=>{g(!1),b(!1),C.current&&C.current.disconnect()},menuIsOpen:y,placeholder:c,components:{DropdownIndicator:e=>(0,i.jsx)(s.c.DropdownIndicator,{...e,children:(0,i.jsx)(a.A,{icon:"chevron_down",className:" text-black"})})},options:d?_:l,onChange:e=>{e.value!==m&&(x.current=!0,t(e.value),f(e.value))}})})}}}]);

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.