PageSourceSearch

https://images-cdn.curipod.com/d-02611290/_next/static/chunks/5670-c0f0abc71b10c1aa.js

js curipod.com collected 2026-10-01 12:17:07 UTC 34,515 bytes, 2 lines download raw bytes

1(function(){try{var g=typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};g["__faroBundleId_curipod"]="d-02611290"}catch(l){}})();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5670],{42509:function(n,e,t){var o=t(85893);e.Z=function(n){var e=n.color;return(0,o.jsx)("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M6.83 5.28995L2.59 1.04995C2.49704 0.95622 2.38644 0.881826 2.26458 0.831057C2.14272 0.780288 2.01202 0.75415 1.88 0.75415C1.74799 0.75415 1.61729 0.780288 1.49543 0.831057C1.37357 0.881826 1.26297 0.95622 1.17 1.04995C0.983753 1.23731 0.879211 1.49076 0.879211 1.75495C0.879211 2.01913 0.983753 2.27259 1.17 2.45995L4.71 5.99995L1.17 9.53995C0.983753 9.72731 0.879211 9.98076 0.879211 10.2449C0.879211 10.5091 0.983753 10.7626 1.17 10.9499C1.26344 11.0426 1.37426 11.116 1.4961 11.1657C1.61794 11.2155 1.7484 11.2407 1.88 11.2399C2.01161 11.2407 2.14207 11.2155 2.26391 11.1657C2.38575 11.116 2.49656 11.0426 2.59 10.9499L6.83 6.70995C6.92373 6.61699 6.99813 6.50638 7.04889 6.38453C7.09966 6.26267 7.1258 6.13196 7.1258 5.99995C7.1258 5.86794 7.09966 5.73723 7.04889 5.61537C6.99813 5.49351 6.92373 5.38291 6.83 5.28995Z",fill:e||"currentColor"})})}},61988:function(n,e,t){t.d(e,{I:function(){return O}});var o=t(14251),r=t(32692),i=t(85893),a=t(94199),l=t(95301),u=t(81029),c=t(70458),s=t(43718),d=t(15619),f=t.n(d),p=t(67294),h=t(70643),g=t(50767),v=t(52901),m=t(37993),y=t(10368);function x(){var n=(0,r.Z)(["\n  cursor: ",";\n  svg {\n    height: ",";\n    width: ",";\n    ",";\n  }\n"]);return x=function(){return n},n}function b(){var n=(0,r.Z)(["\n      &.ant-input-affix-wrapper {\n        box-shadow: 0px 2px 20px rgba(222, 157, 163, 0.15);\n        border-radius: 10px;\n        border: none;\n        padding-left: 25px;\n      }\n    "]);return b=function(){return n},n}function Z(){var n=(0,r.Z)(["\n      border-color: ",";\n\n      &:hover,\n      &:focus {\n        border-color: ",";\n      }\n    "]);return Z=function(){return n},n}function w(){var n=(0,r.Z)(["\n      & .ant-input-prefix {\n        margin-right: 13px;\n      }\n\n      &.ant-input-affix-wrapper-focused {\n        background-color: #fbfbfc;\n        border-color: #d9d9d9;\n        box-shadow: none;\n\n        input {\n          background-color: #fbfbfc;\n        }\n      }\n\n      & .anticon {\n        color: #a5a5a5;\n      }\n    "]);return w=function(){return n},n}function C(){var n=(0,r.Z)(["\n        height: 100%;\n      "]);return C=function(){return n},n}function j(){var n=(0,r.Z)(["\n          & .ant-input-suffix {\n            margin-right: 10px;\n          }\n        "]);return j=function(){return n},n}function z(){var n=(0,r.Z)(["\n  border: ","; \n  border-radius: 5px;\n\n\n\n\n  ","\n\n  &,\n  & > input {\n    color: ",";\n    font-family: 'Nunito';\n    font-style: normal;\n    font-weight: normal;\n    font-size: 16px;\n    line-height: 130%;\n    padding: 10px 15px;\n    mix-blend-mode: normal;\n  }\n\n  &:hover {\n    border-color: ",";\n    box-shadow: none;\n  }\n\n  &:focus {\n    background-color: #fff;\n    border-color: #d9d9d9;\n    box-shadow: none;\n  }\n\n  &::placeholder,\n  & > input::placeholder {\n    color: #a5a5a5;\n  }\n\n  input {\n    &:focus {\n      ::placeholder,\n      ::-webkit-input-placeholder {\n        color: transparent;\n      }\n      :-ms-input-placeholder {\n        color: transparent;\n      }\n    }\n  }\n\n\n  ","\n\n  ","\n\n    ","\n      ","\n"]);return z=function(){return n},n}function P(){var n=(0,r.Z)(["\n  &:hover {\n    color: #000000;\n  }\n"]);return P=function(){return n},n}function S(){var n=(0,r.Z)(["\n      height: 100%;\n    "]);return S=function(){return n},n}function I(){var n=(0,r.Z)(["\n  ","\n"]);return I=function(){return n},n}function T(){var n=(0,r.Z)(["\n  color: #a5a5a5;\n  font-family: 'Nunito';\n  font-style: normal;\n  font-weight: 500;\n  font-size: 12px;\n  line-height: 14px;\n"]);return T=function(){return n},n}function N(){var n=(0,r.Z)(["\n  color: ",";\n  font-family: 'Nunito';\n  font-style: normal;\n  font-weight: 500;\n  font-size: 12px;\n  line-height: 14px;\n"]);return N=function(){return n},n}var k=(0,u.joinShortcodes)(c,[s]),O=function(n){var e=n.className,t=n.disabled,r=n.fluid,l=n.label,u=n.tabIndex,c=n.error,s=n.tooltip,d=n.help,h=n.placeholder,v=n.icon,x=n.clearable,b=n.value,Z=n.onChange,w=n.onPressEnter,C=n.onKeyPress,j=n.onClear,z=n.borderLess,P=void 0!==z&&z,S=n.style,I=n.max,T=n.min,N=n.inputStyle,O=n.type,M=n.autoFocus,F=n.labelStyle,D=n.id,A=n.maxLength,B=n.onBlur,W=(0,p.useRef)(null),H=(0,p.useState)(""),U=H[0],q=H[1],K=(0,m.B)(),Y=(0,p.useState)(1),G=Y[0],J=Y[1],Q=void 0!==r&&r,X=void 0!==c,nn=void 0!==x&&x,en=void 0!==v;(0,p.useEffect)((function(){if(void 0!==b){if("number"===typeof b){if(I&&b>I)return;if(T&&b<T)return}q(b)}}),[I,T,b]);var tn=nn&&void 0!==b&&b?{suffix:(0,i.jsx)(_,{onClick:j})}:{};(0,p.useEffect)((function(){var n;if(document.activeElement===(null===(n=W.current)||void 0===n?void 0:n.input)&&"number"!==typeof U){var e=U.match(f());
1e&&U.includes(e[0]+" ")&&e&&e.length&&k.forEach((function(n){if(n.emoticon&&n.emoticon===e[0]){var t,o=U.replace(e[0],n.unicode),r=null===(t=W.current)||void 0===t?void 0:t.input;if(null!==r&&void 0!==r){var i,a,l=null===(i=Object.getOwnPropertyDescriptor(r,"value"))||void 0===i?void 0:i.set,u=Object.getPrototypeOf(r),c=null===(a=Object.getOwnPropertyDescriptor(u,"value"))||void 0===a?void 0:a.set;l&&l!==c&&c?c.call(r,o):l&&l.call(r,o),r.dispatchEvent(new Event("input",{bubbles:!0}))}!function(){if(W&&"current"in W&&W.current){var n=W.current;n.input.setSelectionRange&&(setTimeout((function(){n.input.setSelectionRange(G,G),n.input.focus()}),1e-5),n.input.blur())}}()}}))}}),[G,U,K]);var on=(0,p.useCallback)((function(n){var e=n.clipboardData.getData("text");(0,y.RG)(e)&&n.preventDefault()}),[]);return(0,i.jsx)(R,{$fluid:Q,style:S,className:e,id:D,children:(0,i.jsxs)("span",{translate:"no",children:[l&&(0,i.jsxs)(E,{style:F||{},children:[l," ",s?(0,i.jsx)(a.Z,{title:s,children:(0,i.jsx)($,{children:(0,i.jsx)(g.tD,{height:"20px",width:"10px"})})}):null]}),(0,i.jsx)(L,(0,o.Z)({onKeyPress:C,$withIcon:en,$borderLess:P,$fluid:Q,$error:X,$clearable:nn,ref:W,tabIndex:u,style:N,disabled:t,prefix:v,placeholder:h,value:U,max:I,min:T,type:O,onPaste:on,autoFocus:M,onChange:function(n){var e;q(n.target.value),Z&&Z(n),document.activeElement===(null===(e=W.current)||void 0===e?void 0:e.input)&&function(){if(W&&"current"in W&&W.current){var n=W.current;J(n.input.selectionStart||0)}}()},onPressEnter:w,maxLength:A,onBlur:B},tn)),c&&(0,i.jsx)(V,{children:c}),d&&!c&&(0,i.jsx)(E,{children:d})]})})},$=h.ZP.span.withConfig({componentId:"sc-95de26c1-0"})(x(),(function(n){var e=n.cursor;return e||"pointer"}),(function(n){var e=n.height;return e||"16px"}),(function(n){var e=n.width;return e||"16px"}),(function(n){var e=n.color;return e&&"color: ".concat(e)})),L=(0,h.ZP)(l.Z).withConfig({componentId:"sc-95de26c1-1"})(z(),(function(n){return n.$borderLess?"none":"1px solid #d9d9d9"}),(function(n){return n.$borderLess&&(0,h.iv)(b())}),v.ZP.colors.black,v.ZP.colors.green,(function(n){return n.$error&&(0,h.iv)(Z(),v.ZP.colors.red,v.ZP.colors.red)}),(function(n){return n.$withIcon&&(0,h.iv)(w())}),(function(n){return n.$fluid&&(0,h.iv)(C())}),(function(n){return n.$clearable&&(0,h.iv)(j())})),_=(0,h.ZP)(g.er).withConfig({componentId:"sc-95de26c1-2"})(P()),R=h.ZP.div.withConfig({componentId:"sc-95de26c1-3"})(I(),(function(n){return n.$fluid&&(0,h.iv)(S())})),E=h.ZP.label.withConfig({componentId:"sc-95de26c1-4"})(T()),V=h.ZP.label.withConfig({componentId:"sc-95de26c1-5"})(N(),v.ZP.colors.red);l.Z.Search},3072:function(n,e,t){var o=t(32692),r=t(85893),i=t(34729),a=t(94199),l=t(70643),u=t(50767),c=t(52901);function s(){var n=(0,o.Z)(["\n        width: 100%;\n      "]);return s=function(){return n},n}function d(){var n=(0,o.Z)(["\n        border: 1px solid transparent;\n        box-shadow: ",";\n      "]);return d=function(){return n},n}function f(){var n=(0,o.Z)(["\n        font-weight: 700;\n      "]);return f=function(){return n},n}function p(){var n=(0,o.Z)(["\n      height: 100%;\n    "]);return p=function(){return n},n}function h(){var n=(0,o.Z)(["\n  cursor: pointer;\n  .ant-select {\n    width: 100%;\n  }\n  &&& .ant-select .ant-select-selector {\n    border: 1px solid #d9d9d9;\n    border-radius: 5px;\n    height: 42px;\n    display: flex;\n    align-items: center;\n    font-size: 16px;\n    ","\n    ","\n  }\n  .ant-select-selection-item {\n    height: 100%;\n    align-items: center;\n    display: flex;\n    ","\n  }\n\n  .ant-select-selection-search {\n    margin-top: 5px;\n  }\n  ","\n"]);return h=function(){return n},n}function g(){var n=(0,o.Z)(["\n  color: #a5a5a5;\n  font-family: 'Nunito';\n  font-style: normal;\n  font-weight: 500;\n  font-size: 12px;\n  line-height: 18px;\n  margin-bottom: 4px;\n  display: flex;\n  align-items: center;\n"]);return g=function(){return n},n}function v(){var n=(0,o.Z)(["\n  cursor: pointer;\n  margin-left: 5px;\n  height: 16px;\n  display: inline-block;\n  svg {\n    height: 16px;\n    width: 16px;\n  }\n"]);return v=function(){return n},n}var m=i.Z.Option,y=l.ZP.div.withConfig({componentId:"sc-cec3bcd3-0"})(h(),(function(n){return n.$fluid&&(0,l.iv)(s())}),(function(n){return n.$noBorder&&(0,l.iv)(d(),c.ZP.effects.floatingCreatorElementShadow)}),(function(n){return n.$noBorder&&(0,l.iv)(f())}),(function(n){return n.$fluid&&(0,l.iv)(p())})),x=l.ZP.div.withConfig({componentId:"sc-cec3bcd3-1"})(g()),b=l.ZP.span.withConfig({componentId:"sc-cec3bcd3-2"})(v());e.Z=function(n){var e=n.value,t=n.iconValue,o=n.onSelect,l=n.options,c=n.label,s=n.labelStyle,d=n.placeholder,f=n.fluid,p=n.style,h=n.disabled,g=n.showSearch,v=n.onSearch,Z=n.filterOption,w=n.optionFilterProp,C=n.tooltipText,j=n.className,z=n.noBorder,P=void 0!==z&&z,S=n.onOptionMouseEnter,I=n.onOptionMouseLeave;return(0,r.jsxs)(y,{$fluid:f,style:p,$noBorder:P,children:[c&&(0,r.jsxs)(x,{style:s||{},children:[c,C&&(0,r.jsx)(a.Z,{title:C,children:(0,r.jsx)(b,{children:(0,r.jsx)(u.tD,{})})})]}),(0,r.jsx)(i.Z,{value:e,disabled:h,onSelect:function(n,e){return o&&o(e.value)},suffixIcon:t,className:j,style:{cursor:"pointer"},showSearch:g,onSearch:v,filterOption:Z,optionFilterProp:w,placeholder:d,children:l.map((function(n){return(0,r.jsx)(m,{value:n.value,disabled:n.disabled,style:{display:"flex",fontWeight:P?700:400},children:(0,r.jsxs)("div",{style:{justifyContent:"space-between",display:"flex",alignItems:"center"},onMouseEnter:S?function(){return S(n.value)}:void 0,onMouseLeave:I?function(){return I(n.value)}:void 0,children:[n.displayName,n.icon&&n.value!==e&&(0,r.jsx)("span",{style:{marginRight:8,padding:0},children:n.icon})]})},!0===n.value?"true":!1===n.value?"false":n.value)}))})]})}},62076:function(n,e,t){t.d(e,{Z:function(){return dn}});var o=t(34727),r=t(14251),i=t(52875),a=t(32692),l=t(69779),u=t(43038),c=t(85893),s=t(1451),d=t(67294),f=t(70643),p=t(52901),h=t(77979),g=t(37993),v=t(23188),m=t
1(75815),y=t(9669),x=t.n(y),b=new(function(){function n(){(0,m.Z)(this,n)}var e=n.prototype;return e.autocomplete=function(n,e){return(0,o.Z)((function(){var t;return(0,u.__generator)(this,(function(o){switch(o.label){case 0:return t=new URLSearchParams({input:n,language:"en",types:"(cities)"}),e&&t.set("limit",e.toString()),[4,x().get("/api/places/autocomplete?".concat(t))];case 1:return[2,o.sent().data.predictions]}}))}))()},e.getDetails=function(n){return(0,o.Z)((function(){var e,t,o,r,i,a,l,c,s,d,f,p,h,g,v,m,y,b,Z,w;return(0,u.__generator)(this,(function(u){switch(u.label){case 0:return r=new URLSearchParams({place_id:n,fields:"address_components,geometry"}),[4,x().get("/api/places/details?".concat(r))];case 1:return i=u.sent(),a=i.data.result.address_components,l=null===(e=a.find((function(n){return n.types.includes("country")})))||void 0===e?void 0:e.short_name,c=null===(t=a.find((function(n){return n.types.includes("administrative_area_level_1")})))||void 0===t?void 0:t.short_name,d=null===(o=null!==(s=a.find((function(n){return n.types.includes("locality")})))&&void 0!==s?s:a.find((function(n){return n.types.includes("administrative_area_level_3")})))||void 0===o?void 0:o.long_name,"US"!==l?[3,3]:(f=null===(h=a.find((function(n){return n.types.includes("postal_code")})))||void 0===h?void 0:h.short_name,g=i.data.result.geometry.location,p=g,f||!p?[3,3]:(m=p.lat,y=p.lng,[4,x().get("/api/geocode/details?".concat(new URLSearchParams({latlng:"".concat(m,",").concat(y),result_type:"postal_code"})))]));case 2:b=u.sent(),Z=b.data.results,w=(null===Z||void 0===Z?void 0:Z.length)>0?Z[0].address_components:[],f=null===(v=w.find((function(n){return n.types.includes("postal_code")})))||void 0===v?void 0:v.short_name,u.label=3;case 3:return[2,{country:l,region:c,city:d,zipCode:f,geolocation:p}]}}))}))()},n}()),Z=t(61988),w=t(3072),C=t(44747),j=t(11382),z=t(95301),P=t(16012),S=t(91296),I=t.n(S);function T(){var n=(0,a.Z)(["\n  display: flex;\n  flex-direction: column;\n  width: ",";\n  position: relative;\n  margin-bottom: 10px;\n"]);return T=function(){return n},n}function N(){var n=(0,a.Z)(["\n  position: relative;\n  width: 100%;\n"]);return N=function(){return n},n}function k(){var n=(0,a.Z)(["\n          border-color: ",";\n\n          &:focus,\n          &:hover {\n            border-color: ",";\n          }\n        "]);return k=function(){return n},n}function O(){var n=(0,a.Z)(["\n          border-color: ",";\n\n          background-color: rgba(1, 0, 0, 0.05);\n\n          &:focus,\n          &:hover {\n            border-color: ",";\n          }\n        "]);return O=function(){return n},n}function $(){var n=(0,a.Z)(["\n  width: ",";\n  height: 36px;\n  border-radius: 4px;\n  background-color: ",";\n  ","\n  ","\n"]);return $=function(){return n},n}function L(){var n=(0,a.Z)(["\n  position: absolute;\n  z-index: 1000;\n  width: 100%;\n  max-height: 200px;\n  overflow-y: auto;\n  background-color: ",";\n  border: 1px solid ",";\n  border-radius: 4px;\n  margin-top: 2px;\n  padding: 0;\n  list-style: none;\n  display: ",";\n  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);\n"]);return L=function(){return n},n}function _(){var n=(0,a.Z)(["\n      background-color: ",";\n    "]);return _=function(){return n},n}function R(){var n=(0,a.Z)(["\n      background-color: ",";\n      color: ",";\n    "]);return R=function(){return n},n}function E(){var n=(0,a.Z)(["\n  padding: 8px 12px;\n  cursor: pointer;\n\n  ","\n\n  ","\n"]);return E=function(){return n},n}function V(){var n=(0,a.Z)(["\n  font-size: 14px;\n  font-weight: 500;\n  color: ",";\n  margin-bottom: 5px;\n"]);return V=function(){return n},n}function M(){var n=(0,a.Z)(["\n  color: ",";\n  font-size: 12px;\n  margin-top: 4px;\n"]);return M=function(){return n},n}function F(){var n=(0,a.Z)(["\n  min-width: 24px;\n  min-height: 24px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n"]);return F=function(){return n},n}function D(){var n=(0,a.Z)(["\n  padding: 8px 12px;\n  color: ",";\n  font-style: italic;\n  text-align: center;\n"]);return D=function(){return n},n}function A(){var n=(0,a.Z)(["\n  padding: 4px 12px;\n  color: ",";\n  font-style: italic;\n  text-align: center;\n  font-size: 12px;\n"]);return A=function(){return n},n}function B(){var n=(0,a.Z)(["\n  padding: 8px 12px;\n  border-top: 1px solid ",";\n  outline: none;\n"]);return B=function(){return n},n}function W(n,e,t){return n.filter((function(n){return t(n).toLowerCase().includes(e.toLowerCase())}))}function H(n,e){var t=n.items,a=void 0===t?[]:t,l=n.itemToString,f=n.MenuItemChildren,h=n.onSelect,g=n.onChange,v=n.label,m=n.placeholder,y=n.className,x=n.style,b=n.labelStyle,Z=n.disabled,w=void 0!==Z&&Z,z=n.showClearButton,S=void 0!==z&&z,T=n.onClear,N=n.onFetchError,k=n.error,O=n.fluid,$=void 0!==O&&O,L=n.initialSelectedItem,_=void 0===L?null:L,R=n.initialInputValue,E=void 0===R?"":R,V=n.filterItems,M=void 0===V?W:V,F=n.fetchSuggestions,D=n.debounceMs,A=void 0===D?3
100:D,B=n.minChars,H=void 0===B?2:B,U=n.showResultsHeader,Y=void 0!==U&&U,ln=n.showNoResultsMessage,un=void 0===ln||ln,cn=n.footerComponent,sn=n.maxResults,dn=void 0===sn?10:sn,fn=(0,d.useState)(a),pn=fn[0],hn=fn[1],gn=(0,d.useState)(!1),vn=gn[0],mn=gn[1],yn=(0,d.useState)(!1),xn=yn[0],bn=yn[1],Zn=(0,d.useMemo)((function(){return I()(function(){var n=(0,o.Z)((function(n){var e,t;return(0,u.__generator)(this,(function(o){switch(o.label){case 0:if(!F||n.length<H)return[2];mn(!0),o.label=1;case 1:return o.trys.push([1,3,4,5]),[4,F(n,dn)];case 2:return e=o.sent(),hn(e),bn(!0),[3,5];case 3:return t=o.sent(),console.error("Error fetching suggestions:",t),N&&N({query:n,maxResults:dn},t),[3,5];case 4:return mn(!1),[7];case 5:return[2]}}))}));return function(e){return n.apply(this,arguments)}}(),A)}),[F,H,A,dn,N]);(0,d.useEffect)((function(){return function(){Zn.cancel()}}),[Zn]);var wn,Cn=(0,P.Kb)({items:pn,itemToString:l,initialSelectedItem:_,initialInputValue:E,onSelectedItemChange:function(n){var e=n.selectedItem;h(e)},onInputValueChange:function(n){var e=n.inputValue;if(F)e&&e.length>=H?Zn(e):(hn([]),bn(!1));else{var t=M(a,e||"",l);hn(t),bn(!0)}g&&g(e||"")}}),jn=Cn.isOpen,zn=Cn.reset,Pn=Cn.openMenu,Sn=Cn.closeMenu,In=Cn.toggleMenu,Tn=Cn.selectItem,Nn=Cn.setHighlightedIndex,kn=Cn.setInputValue,On=Cn.getMenuProps,$n=Cn.getInputProps,Ln=Cn.highlightedIndex,_n=Cn.selectedItem,Rn=Cn.inputValue,En=Cn.getItemProps,Vn=(0,d.useRef)(null),Mn={reset:zn,openMenu:Pn,closeMenu:Sn,toggleMenu:In,selectItem:Tn,setHighlightedIndex:Nn,setInputValue:kn};(0,d.useImperativeHandle)(e,(function(){return{input:null!==(wn=Vn.current)&&void 0!==wn?wn:void 0,dropdown:Mn}}));var Fn=jn&&(pn.length>0||xn&&Rn&&Rn.length>=H||cn&&xn&&Rn&&Rn.length>=H),Dn=$n(),An=Dn.ref,Bn=(0,C.Z)(Dn,["ref"]);return(0,c.jsxs)(q,{$fluid:$,className:y,style:x,children:[v&&(0,c.jsx)(nn,{style:b,children:v}),(0,c.jsxs)(K,{children:[(0,c.jsx)(J,(0,i.Z)((0,r.Z)({},Bn),{ref:G(Vn,An),placeholder:m,disabled:w||S,$disabled:w||S,$error:!!k,$fluid:$,suffix:S?(0,c.jsx)("a",{onClick:T,style:{color:p.ZP.colors.blue},children:(0,c.jsx)(s.T,{keyName:"Change",defaultValue:"Change"})}):(0,c.jsx)(tn,{children:vn?(0,c.jsx)(j.Z,{size:"small"}):(0,c.jsx)("span",{style:{width:"16px",height:"16px"}})})})),(0,c.jsx)(Q,(0,i.Z)((0,r.Z)({},On()),{$isOpen:jn,$hasContent:Fn,children:jn&&(0,c.jsxs)(c.Fragment,{children:[pn.length>0?(0,c.jsxs)(c.Fragment,{children:[Y&&(0,c.jsx)(rn,{children:(0,c.jsx)(s.T,{keyName:"Top results ({count})",defaultValue:"Top results ({count})",params:{count:pn.length}})}),pn.map((function(n,e){return(0,c.jsx)(X,(0,i.Z)((0,r.Z)({$highlighted:Ln===e,$selected:_n===n},En({item:n,index:e})),{children:f?(0,c.jsx)(f,{item:n,inputValue:Rn}):l(n)}),"".concat(l(n),"-").concat(e))}))]}):xn&&Rn&&Rn.length>=H&&un&&(0,c.jsx)(on,{children:(0,c.jsx)(s.T,{keyName:"No results found",defaultValue:"No results found"})}),cn&&xn&&Rn&&Rn.length>=H&&(0,c.jsx)(an,{tabIndex:-1,onKeyDown:function(n){n.stopPropagation()},children:cn})]})}))]}),k&&(0,c.jsx)(en,{children:k})]})}var U=d.forwardRef(H),q=f.ZP.div.withConfig({componentId:"sc-59f904fc-0"})(T(),(function(n){return n.$fluid?"100%":"auto"})),K=f.ZP.div.withConfig({componentId:"sc-59f904fc-1"})(N()),Y=(0,f.ZP)(z.Z).withConfig({componentId:"sc-59f904fc-2"})($(),(function(n){return n.$fluid?"100%":"250px"}),p.ZP.colors.white,(function(n){var e=n.$error,t=n.$disabled;return e&&!t?(0,f.iv)(k(),p.ZP.colors.red,p.ZP.colors.red):null}),(function(n){var e=n.$error,t=n.$disabled;return e&&t?(0,f.iv)(O(),p.ZP.colors.red,p.ZP.colors.red):null}));function G(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return function(n){e.forEach((function(e){"function"===typeof e?e(n):e&&"object"===typeof e&&(e.current=n)}))}}var J=(0,d.forwardRef)((function(n,e){return(0,c.jsx)(Y,(0,i.Z)((0,r.Z)({},n),{ref:e}))}));J.displayName="EnhancedInput";var Q=f.ZP.ul.withConfig({componentId:"sc-59f904fc-3"})(L(),p.ZP.colors.white,p.ZP.colors.grey,(function(n){var e=n.$isOpen,t=n.$hasContent;return e&&t?"block":"none"})),X=f.ZP.li.withConfig({componentId:"sc-59f904fc-4"})(E(),(function(n){return n.$highlighted&&(0,f.iv)(_(),p.ZP.colors.grey)}),(function(n){return n.$selected&&(0,f.iv)(R(),p.ZP.colors.blue,p.ZP.colors.white)})),nn=f.ZP.label.withConfig({componentId:"sc-59f904fc-5"})(V(),p.ZP.colors.grey),en=f.ZP.span.withConfig({componentId:"sc-59f904fc-6"})(M(),p.ZP.colors.red),tn=f.ZP.div.withConfig({componentId:"sc-59f904fc-7"})(F()),on=f.ZP.div.withConfig({componentId:"sc-59f904fc-8"})(D(),p.ZP.colors.grey),rn=f.ZP.div.withConfig({componentId:"sc-59f904fc-9"})(A(),p.ZP.colors.grey),an=f.ZP.div.withConfig({componentId:"sc-59f904fc-10"})(B(),p.ZP.colors.grey);function ln(){var n=(0,a.Z)(["\n  display: flex;\n  flex-direction: column;\n  width: ",";\n  gap: 10px;\n  min-height: 150px;\n  max-width: 400px;\n\n  /* Ensure consistent spacing between sections */\n  & > div.section {\n    margin-bottom: 10px;\n  }\n\n  /* Remove margin from the last section */\n  & > div.section:last-child {\n    margin-bottom: 0;\n  }\n\n  @media (max-width: 700px) {\n    gap: 15px;\n\n    & > div.section {\n      margin-bottom: 15px;\n    }\n  }\n"]);return ln=function(){return n},n}function un(){var n=(0,a.Z)(["\n  display: flex;\n  flex-direction: column;\n  margin-top: 10px;\n  a {\n    color: ",";\n    cursor: pointer;\n  }\n"]);return un=function(){return n},n}function cn(){var n=(0,a.Z)(["\n  display: flex;\n  flex-direction: column;\n  width: 100%;\n  margin-bottom: 0;\n\n  input:disabled {\n    color: ",";\n    cursor: default;\n  }\n\n  /* Override TypeAheadInput's margin to ensure consistent spacing */\n  & > div {\n    margin-bottom: 0;\n  }\n"]);return cn=function(){return n},n}function sn(){var n=(0,a.Z)(["\n  margin: -8px -12px;\n  padding: 8px 12px;\n\n  font-size: 12px;\n\n  a {\n    color: ",";\n  }\n"]);return sn=function(){return n},n}function dn(n){var e=n.className,t=n.organizationType,a=n.onSelectOrganizationType,f=n.selectedLocation,m=n.onSelectLocation,y=n.selectedOrganization,x=n.onSelectOrganization,C=n.customOrganizationName,j=n.onSetCustomOrganizationName,z=n.needsCustomOrganizationName,P=n.onSetNeedsCustomOrganizationName,S=n.locationFetchError,I=n.onLocationFetchError,T=n.hideOrganizationTypePicker,N=n.style,k=n.fluid,O=void 0===k||k,$=n.metricEventNamePrefix,L=n.disableSearchRetry,_=(0,g.B)(!0),R=(0,d.useState)(!1),E=R[0],V=R[1],M=function(n,e){var o={selectedLocation:f,organizationType:t,selectedOrganization:y},i=(0,l.Z)($?[$]:[]).concat(["OrganizationSelector",n]).join(".");_.logEvent(i,(0,r.Z)({},o,e))},F=(0,d.useRef)(null),D=(0,d.useRef)(null),A=(0,s.qM)().t,B=(0,d.useMemo)((function(){return[{displayName:A("School","School"),value:h.$B.School},{displayName:A("District","District"),value:h.$B.District}]}),[]),W=function(){var n=(0,o.Z)((function(n,e){return(0,u.__generator)(this,(function(t){switch(t.label){case 0:return[4,b.autocomplete(n,e)];case 1:return[2,t.sent()]}}))}));return function(e,t){return n.apply(this,arguments)}}(),H=function(){var n=(0,o.Z)((function(n){return(0,u.__generator)(this,(function(e){switch(e.label){case 0:return[4,b.getDetails(n)];case 1:return[2,e.sent()]}}))}));return function(e){return n.apply(this,arguments)}}(),q=function(){var n=(0,o.Z)((function(n,e){var o,r,i,a,l,c,s,d;return(0,u.__generator)(this,(function(u){switch(u.label){case 0:if(o=[],!(null===f||void 0===f?void 0:f.place))return[2,o];if(r=f.place,i=r.country,a=r.zipCode,l=r.city,c=r.region,"US"!==i||!a||!l||!t||!c)return[2,o];u.label=1;case 1:return u.trys.push([1,3,4,5]),[4,v.ZP.instance.organizations.autocomplete({query:n,type:t,country:i,region:c,city:l,zipCode:a,limit:e})];case 2:return(s=u.sent())||M("FetchOrganizations.NoResults",{query:n,type:t,country:i,region:c,city:l,zipCode:a,limit:e}),o=s,[3,5];case 3:return d=u.sent(),console.error(d),[3,5];case 4:return V(!0),[7];case 5:return[2,o]}}))}));return function(e,t){return n.apply(this,arguments)}}(),K=function(){P(!0)},Y=function(){var n,e,t,o,r;G(),P(!1),m(null),null===(n=F.current)||void 0===n||null===(e=n.dropdown)||void 0===e||e.selectItem(null);var i,a,l=null===(t=F.current)||void 0===t||null===(o=t.input)||void 0===o||null===(r=o.input)||void 0===r?void 0:r.value;l&&(null===(i=F.current)||void 0===i||null===(a=i.dropdown)||void 0===a||a.setInputValue(l));setTimeout((function(){var n,e,t,o;null===(n=F.current)||void 0===n||null===(e=n.input)||void 0===e||e.focus(),null===(t=F.current)||void 0===t||null===(o=t.input)||void 0===o||o.select()}
1))},G=function(){var n,e,t,o,r,i,a,l=z?C:null===(n=D.current)||void 0===n||null===(e=n.input)||void 0===e||null===(t=e.input)||void 0===t?void 0:t.value;(x(null),P(!1),j(void 0),null===(o=D.current)||void 0===o||null===(r=o.dropdown)||void 0===r||r.selectItem(null),l)&&(null===(i=D.current)||void 0===i||null===(a=i.dropdown)||void 0===a||a.setInputValue(l));setTimeout((function(){var n,e,t,o;null===(n=D.current)||void 0===n||null===(e=n.input)||void 0===e||e.focus(),null===(t=D.current)||void 0===t||null===(o=t.input)||void 0===o||o.select()}))},J=function(){I(A("Oops, we are having an issue searching for your city Please proceed entering your school manually","Oops, we are having an issue searching for your city. Please proceed entering your school manually.")),P(!0)},Q=function(){return t?A("{organizationType} Name","{organizationType} Name",{organizationType:A(t,t)}):A("Organization Name","Organization Name")},X=function(n){return(null===n||void 0===n?void 0:n.split(" ").map((function(n){return n.trim()})).filter((function(n){return n})))||[]},nn=function(n,e){if(!e.length)return n;var t=new RegExp(e.map((function(n){return n.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")})).join("|"),"gi"),o=n.split(t);return(0,c.jsx)(c.Fragment,{children:o.map((function(e,o){var r,i=null===(r=n.match(t))||void 0===r?void 0:r[o];return(0,c.jsxs)(d.Fragment,{children:[e,i&&(0,c.jsx)("span",{style:{backgroundColor:"#e6d5c0",fontWeight:"bold"},children:i})]},o)}))})},en=function(n){if(!n)return"";var e=n.name,t=n.city,o=n.region;return"".concat(e,", ").concat(t,", ").concat(o)},tn=function(){var n;return"US"!==(null===f||void 0===f||null===(n=f.place)||void 0===n?void 0:n.country)&&!S};return(0,c.jsxs)(fn,{className:e,style:N,$fluid:O,children:[!T&&(0,c.jsx)(hn,{className:"section",children:(0,c.jsx)(w.Z,{label:A("Organization Level","Organization Level"),labelStyle:{fontSize:14,color:p.ZP.colors.black,fontWeight:"bold"},options:B,value:t,onSelect:function(n){var e,t,o,r,i;M("OrganizationLevel.Changed",{choice:n}),a(n),m(null),null===(e=F.current)||void 0===e||null===(t=e.dropdown)||void 0===t||t.setInputValue(""),null===(o=F.current)||void 0===o||null===(r=o.input)||void 0===r||null===(i=r.input)||void 0===i||i.focus()},fluid:O,placeholder:A("Select organization level","Select organization level")})}),t&&(0,c.jsx)(hn,{className:"section",children:(0,c.jsx)(U,{ref:F,fetchSuggestions:W,itemToString:function(n){return n?n.description:""},initialInputValue:null===f||void 0===f?void 0:f.placeAutocomplete.description,initialSelectedItem:null===f||void 0===f?void 0:f.placeAutocomplete,onFetchError:J,error:S,disabled:!!S,onSelect:function(){var n=(0,o.Z)((function(n){var e;return(0,u.__generator)(this,(function(t){switch(t.label){case 0:if(M("Location.Changed",{choice:n}),!n)return m(null),[2];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,H(n.place_id)];case 2:return e=t.sent(),m({place:e,placeAutocomplete:n}),[3,4];case 3:return t.sent(),J(),[3,4];case 4:return[2]}}
1))}));return function(e){return n.apply(this,arguments)}}(),placeholder:A("Search for a city","Search for a city..."),label:t?(console.log("organizationType",t),A("Your {organizationType}'s City (if unsure, try approximate)","Your {organizationType}'s City (if unsure, try approximate)",{organizationType:A(t,t).toLocaleLowerCase()})):A("City (if unsure, try approximate)","City (if unsure, try approximate)"),showClearButton:!!f,onClear:Y,fluid:O,minChars:1,debounceMs:500,labelStyle:{fontSize:14,color:p.ZP.colors.black,fontWeight:"bold"},showResultsHeader:!0,maxResults:10,showNoResultsMessage:!0,footerComponent:(0,c.jsx)(gn,{children:(0,c.jsx)("span",{children:A("Not seeing your city? Try searching for a different nearby city If your {organizationType} is in a neighborhood of a larger city, try searching for the larger city","Not seeing your city? Try searching for a different nearby city. If your {organizationType} is in a neighborhood of a larger city, try searching for the larger city.",{organizationType:A(t,t).toLowerCase()})})})})}),t&&(f||S)&&(z||tn())&&(0,c.jsxs)(hn,{className:"section",children:[(0,c.jsx)(Z.I,{label:"Enter ".concat(Q()),labelStyle:{fontSize:14,color:p.ZP.colors.black,fontWeight:"bold"},className:"customInput",value:C,onChange:function(n){!function(n){var e=n.target.value;if(j(e),(null===f||void 0===f?void 0:f.place)&&t){var o=f.place,r=o.city,i=o.region,a=o.country;x(e?{organization:{id:"00000000-0000-0000-0000-000000000000",name:e.trim(),type:t,city:r,region:i,country:a,custom:!0}}:null)}}(n)}}),(0,c.jsxs)("span",{style:{fontWeight:"normal"},children:[!tn()&&C?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("p",{children:(0,c.jsx)(s.T,{keyName:"You will be added to {organizationType}: <b>{customOrganizationName}</b>",defaultValue:"You will be added to {organizationType}: <b>{customOrganizationName}</b>",params:{b:(0,c.jsx)("b",{}),organizationType:A(t,t).toLocaleLowerCase(),customOrganizationName:C}})}),(0,c.jsx)("p",{children:A("Try to be as accurate as possible in order for us to get you to {organizationType}'s benefits and privileges!","Try to be as accurate as possible in order for us to get you to {organizationType}'s benefits and privileges!",{organizationType:A(t,t).toLocaleLowerCase()})})]}):null,tn()||C?null:(0,c.jsx)(c.Fragment,{children:(0,c.jsx)("p",{children:A("Try to be as accurate as possible in order for us to get you to {organizationType}'s benefits and privileges!","Try to be as accurate as possible in order for us to get you to {organizationType}'s benefits and privileges!",{organizationType:A(t,t).toLocaleLowerCase()})})}),tn()||L||S?null:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("b",{children:(0,c.jsx)("a",{onClick:function(){M("OrganizationSearchRetry.Clicked"),G()},style:{color:p.ZP.colors.blue},children:A("Retry your search","Retry your search")})})," ",A("if you'd like to try finding your {organizationType} again","if you'd like to try finding your {organizationType} again.",{organizationType:A(t,t).toLocaleLowerCase()})]})]})]}),t&&f&&!z&&!tn()&&(0,c.jsxs)(hn,{className:"section",children:[(0,c.jsx)(U,{ref:D,fetchSuggestions:q,itemToString:en,initialInputValue:en(null===y||void 0===y?void 0:y.organizationAutocomplete),initialSelectedItem:null===y||void 0===y?void 0:y.organizationAutocomplete,MenuItemChildren:function(n){var e=n.item,t=n.inputValue;return(0,c.jsxs)("span",{className:"item-name",style:{fontWeight:"normal"},children:[nn(e.name,X(t))," ",(0,c.jsxs)("i",{className:"item-location",style:{fontStyle:"italic",color:p.ZP.colors.greyDark},children:[e.city,", ",e.region]})]})},onSelect:function(){var n=(0,o.Z)((function(n){return(0,u.__generator)(this,(function(e){return M("Organization.Changed",{choice:n}),n?(x({organization:(0,i.Z)((0,r.Z)({},n),{custom:!1,type:t}),organizationAutocomplete:n}),[2]):(x(null),[2])}))}));return function(e){return n.apply(this,arguments)}}(),placeholder:A("Search for a {organizationType}","Search for a {organizationType}...",{organizationType:A(t,t).toLowerCase()}),showClearButton:!!y,onClear:function(){M("OrganizationClear.Clicked"),G()},label:Q(),labelStyle:{fontSize:14,color:p.ZP.colors.black,fontWeight:"bold"},fluid:O,minChars:1,debounceMs:500,showResultsHeader:!0,maxResults:50,showNoResultsMessage:!0,footerComponent:(0,
1c.jsx)(gn,{children:(0,c.jsxs)("span",{children:[(0,c.jsx)(s.T,{keyName:"Not seeing your {organizationType}?",defaultValue:"Not seeing your {organizationType}?",params:{organizationType:A(t,t).toLowerCase()}})," ",(0,c.jsx)("a",{onClick:function(){M("OrganizationAddDetails.Clicked"),function(){var n,e,t,o;P(!1),null===(n=D.current)||void 0===n||null===(e=n.input)||void 0===e||e.focus(),null===(t=D.current)||void 0===t||null===(o=t.input)||void 0===o||o.select()}()},children:(0,c.jsx)(s.T,{keyName:"Add a more detailed {organizationType} name",defaultValue:"Add a more detailed {organizationType} name",params:{organizationType:A(t,t).toLowerCase()}})})," ","or"," ",(0,c.jsx)("a",{onClick:function(){M("OrganizationAdjustLocation.Clicked"),Y()},children:(0,c.jsx)(s.T,{keyName:"try adjusting your city",defaultValue:"try adjusting your city"})}),"."," ",(0,c.jsx)(s.T,{keyName:"If you're still unable to find your school",defaultValue:"If you're still unable to find your school"})," ",(0,c.jsx)("a",{onClick:function(){M("OrganizationAdjustLocation.Clicked"),K()},children:(0,c.jsx)(s.T,{keyName:"click here",defaultValue:"click here"})}),"."]})})}),E&&!y&&(0,c.jsx)(pn,{children:(0,c.jsxs)("p",{children:[(0,c.jsx)(s.T,{keyName:"If you're still unable to find your school",defaultValue:"If you're still unable to find your school"})," ",(0,c.jsx)("a",{onClick:function(){M("OrganizationAdjustLocation.Clicked"),K()},children:(0,c.jsx)(s.T,{keyName:"click here",defaultValue:"click here"})}),"."]})})]})]})}var fn=f.ZP.div.withConfig({componentId:"sc-43461ea9-0"})(ln(),(function(n){return n.$fluid?"100%":"auto"})),pn=f.ZP.div.withConfig({componentId:"sc-43461ea9-1"})(un(),p.ZP.colors.blue),hn=f.ZP.div.withConfig({componentId:"sc-43461ea9-2"})(cn(),p.ZP.colors.black),gn=f.ZP.div.withConfig({componentId:"sc-43461ea9-3"})(sn(),p.ZP.colors.blue)},10368:function(n,e,t){t.d(e,{RG:function(){return l}});var o=t(34727),r=t(43038),i=t(17426),a=(t(72782),["1.0","2.0"]),l=function(n){try{var e=JSON.parse(n);return a.includes(e.curipodCopySlideVersion)}catch(t){return!1}};!function(){var n=(0,o.Z)((function(n){var e,t,o,a;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:e=n.rounds,t=n.tenantId,r.label=1;case 1:return r.trys.push([1,3,,4]),l={rounds:e,tenantId:t},o=JSON.stringify({curipodCopySlideVersion:"1.0",value:l}),[4,navigator.clipboard.writeText(o)];case 2:return r.sent(),[2,!0];case 3:return a=r.sent(),(0,i.Fk)(a,"Error while copying a slide"),[2,!1];case 4:return[2]}var l}))}))}()}}]);
2//# sourceMappingURL=5670-c0f0abc71b10c1aa.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.