1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="d9835357-e5ab-3c67-0639-9e2eb1e4cdd8")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,506385,e=>{"use strict";let t=(0,e.i(369547).default)("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);e.s(["MessageCircle",0,t],506385)},603754,e=>{"use strict";var t=e.i(191788),r=e.i(235541),s=e.i(677613),n=e.i(232493),i=e.i(229286),o=e.i(872407);let a={hideContentToggle:!1};e.s(["useContentSettingsControl",0,function(){let e=(0,r.useUnleashClient)(),{flagsReady:l}=(0,r.useFlagsStatus)(),{contextUpdated:c}=(0,n.useUnleashStatus)(),u=(0,o.useNewUserAccessControl)(),{content:d}=(0,i.useDualWebFeatureControl)();return(0,t.useMemo)(()=>{let t;if(d.hideContentSettingToggle)return{shouldHideContentSetting:!0,isReady:!0};if(u)return{shouldHideContentSetting:!1,isReady:!0};if(!e||!l||!c)return{shouldHideContentSetting:!1,isReady:!1};try{let r=e.getVariant(s.FEATURE_FLAGS.WEB_CONTENT_SETTINGS_CONTROL);t=r?.payload?.value}catch{t=void 0}let{hideContentToggle:r}=function(e){let t;if(!e)return{...a};try{t=JSON.parse(e)}catch{return{...a}}if(!t||"object"!=typeof t)return{...a};let r=t;return{hideContentToggle:"boolean"==typeof r.hideContentToggle?r.hideContentToggle:a.hideContentToggle}}(t);return{shouldHideContentSetting:r,isReady:!0}},[e,l,c,u,d.hideContentSettingToggle])}])},516505,e=>{"use strict";var t=e.i(391398),r=e.i(261576),s=e.i(353533);e.s(["NsfwIcon",0,function(e){let n,i,o,a,l,c,u=(0,r.c)(9),{className:d,size:h}=e,m=void 0===h?24:h;return u[0]!==d?(n=(0,s.cn)("",d),u[0]=d,u[1]=n):n=u[1],u[2]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("path",{d:"M15.163 17.8558C14.2417 18.2547 13.2262 18.5 12.1223 18.5C7.39162 18.5 4.2874 13.9952 3.24452 12.2132C3.11832 11.9975 3.05522 11.8897 3.0199 11.7234C2.99337 11.5985 2.99337 11.4015 3.0199 11.2766C3.05522 11.1103 3.11832 11.0025 3.24452 10.7868C4.2874 9.00484 7.39162 4.5 12.1223 4.5C16.2855 4.5 19.1891 7.98906 20.5366 10.0406",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),o=(0,t.jsx)("path",{d:"M12 14.5001C13.6569 14.5001 15 13.157 15 11.5001C15 9.84327 13.6569 8.50012 12 8.50012C10.3431 8.50012 9 9.84327 9 11.5001C9 13.157 10.3431 14.5001 12 14.5001Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),a=(0,t.jsx)("path",{d:"M19.5 18.5C18.9348 18.5 18.4639 18.0667 18.417 17.5035L18.1246 13.9948C18.0575 13.1901 18.6925 12.5 19.5 12.5C20.3075 12.5 20.9425 13.1901 20.8754 13.9948L20.583 17.5035C20.5361 18.0667 20.0652 18.5 19.5 18.5Z",fill:"currentColor"}),l=(0,t.jsx)("circle",{cx:"19.5",cy:"20.75",r:"1.25",fill:"currentColor"}),u[2]=i,u[3]=o,u[4]=a,u[5]=l):(i=u[2],o=u[3],a=u[4],l=u[5]),u[6]!==m||u[7]!==n?(c=(0,t.jsxs)("svg",{width:m,height:m,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,children:[i,o,a,l]}),u[6]=m,u[7]=n,u[8]=c):c=u[8],c}])},398003,e=>{"use strict";var t=e.i(391398),r=e.i(261576),s=e.i(353533);e.s(["ImageBotBadgeIcon",0,function(e){let n,i,o,a,l=(0,r.c)(8),{className:c,size:u,style:d}=e,h=void 0===u?24:u;return l[0]!==c?(n=(0,s.cn)("",c),l[0]=c,l[1]=n):n=l[1],l[2]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("g",{clipPath:"url(#clip0_imagebot_badge)",children:(0,t.jsx)("path",{d:"M9.2499 11.2871L12.7129 14.7501M8.3102 20.227C7.05726 21.48 4.66659 21.1667 2.83325 21.1667C3.77293 19.3334 2.51999 16.9427 3.77293 15.6898C5.02586 14.4368 7.05726 14.4368 8.3102 15.6898C9.56313 16.9427 9.56313 18.9741 8.3102 20.227ZM11.9281 15.5976L20.3037 6.55191C21.0414 5.75517 21.0177 4.51787 20.2499 3.75008C19.4821 2.98228 18.2448 2.9585 17.448 3.69621L8.40231 12.0719C7.93487 12.5047 7.70115 12.7211 7.56484 12.9519C7.23797 13.5054 7.22481 14.1896 7.53017 14.7552C7.65751 14.9911 7.88274 15.2163 8.3332 15.6667C8.78366 16.1172 9.0089 16.3424 9.24477 16.4698C9.81037 16.7751 10.4946 16.762 11.048 16.4351C11.2788 16.2988 11.4952 16.0651 11.9281 15.5976Z",stroke:"currentColor",strokeWidth:"1.71875",strokeLinecap:"round",strokeLinejoin:"round"})}),l[2]=i):i=l[2],l[3]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"clip0_imagebot_badge",children:(0,t.jsx)("rect",{width:"20",height:"20",fill:"white",transform:"translate(22 22.0001) rotate(-180)"})})}),l[3]=o):o=l[3],l[4]!==h||l[5]!==d||l[6]!==n?(a=(0,t.jsxs)("svg",{width:h,height:h,viewB
2ox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,style:d,children:[i,o]}),l[4]=h,l[5]=d,l[6]=n,l[7]=a):a=l[7],a}])},217358,(e,t,r)=>{},492237,(e,t,r)=>{var s=e.i(350461);e.r(217358);var n=e.r(191788),i=n&&"object"==typeof n&&"default"in n?n:{default:n},o=void 0!==s.default&&s.default.env&&!0,a=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,r=t.name,s=void 0===r?"stylesheet":r,n=t.optimizeForSpeed,i=void 0===n?o:n;c(a(s),"`name` must be a string"),this._name=s,this._deletedRulePlaceholder="#"+s+"-deleted-rule____{}",c("boolean"==typeof i,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=i,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l="u">typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t,r=e.prototype;return r.setOptimizeForSpeed=function(e){c("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),c(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},r.isOptimizeForSpeed=function(){return this._optimizeForSpeed},r.inject=function(){var e=this;if(c(!this._injected,"sheet already injected"),this._injected=!0,"u">typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(o||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},r.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},r.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},r.insertRule=function(e,t){if(c(a(e),"`insertRule` accepts only strings"),"u"<typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return o||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var s=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,s))}return this._rulesCount++},r.replaceRule=function(e,t){if(this._optimizeForSpeed||"u"<typeof window){var r="u">typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(s){o||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var s=this._tags[e];c(s,"old rule at index `"+e+"` not found"),s.textContent=t}return e},r.deleteRule=function(e){if("u"<typeof window)return void this._serverSheet.deleteRule(e);if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];c(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},r.flush=function(){this._injected=!1,this._rulesCount=0,"u">
2typeof window?(this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},r.cssRules=function(){var e=this;return"u"<typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},r.makeStyleTag=function(e,t,r){t&&c(a(t),"makeStyleTag accepts only strings as second parameter");var s=document.createElement("style");this._nonce&&s.setAttribute("nonce",this._nonce),s.type="text/css",s.setAttribute("data-"+e,""),t&&s.appendChild(document.createTextNode(t));var n=document.head||document.getElementsByTagName("head")[0];return r?n.insertBefore(s,r):n.appendChild(s),s},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}(e.prototype,t),e}();function c(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var u=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},d={};function h(e,t){if(!t)return"jsx-"+e;var r=String(t),s=e+r;return d[s]||(d[s]="jsx-"+u(e+"-"+r)),d[s]}function m(e,t){"u"<typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var r=e+t;return d[r]||(d[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),d[r]}var f=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,s=void 0===r?null:r,n=t.optimizeForSpeed,i=void 0!==n&&n;this._sheet=s||new l({name:"styled-jsx",optimizeForSpeed:i}),this._sheet.inject(),s&&"boolean"==typeof i&&(this._sheet.setOptimizeForSpeed(i),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"u">typeof window&&!this._fromServer&&(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),s=r.styleId,n=r.rules;if(s in this._instancesCounts){this._instancesCounts[s]+=1;return}var i=n.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[s]=i,this._instancesCounts[s]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var s=this._fromServer&&this._fromServer[r];s?(s.parentNode.removeChild(s),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],s=e[1];return i.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:s}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,s=e.id;if(r){var n=h(s,r);return{styleId:n,rules:Array.isArray(t)?t.map(function(e){return m(n,e)}):[m(n,t)]}}return{styleId:h(s),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),p=n.createContext(null);function x(){return new f}function g(){return n.useContext(p)}p.displayName="StyleSheetContext";var v=i.default.useInsertionEffect||i.default.useLayoutEffect,y="u">typeof window?x():void 0;function b(e){var t=y||g();return t&&("u"<typeof window?t.add(e):v(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}b.dynamic=function(e){return e.map(function(e){return h(e[0],e[1])}).join(" ")},r.StyleRegistry=function(e){var t=e.registry,r=e.children,s=n.useContext(p),o=n.useState(function(){return s||t||x()})[0];return i.default.createElement(p.Provider,{value:o},r)},r.createStyleRegistry=x,r.style=b,r.useStyleRegistry=g},145246,(e,t,r)=>{t.exports=e.r(492237).style},248579,e=>{"use strict";var t=e.i(391398),r=e.i(261576),s=e.i(353533);e.s(["SearchIcon",0,function(e){let n,i,o,a=(0,r.c)(7),{className:l,size:c,style:u}=e,d=void 0===c?24:c;return a[0]!==l?(n=(0,s.cn)("",l),a[0]=l,a[1]=n):n=a[1],a[2]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("path",{d:"M19.9998 20L16.1331 16.1333M18.222 11.1111C18.222 15.0385 15.0382 18.2222 11.1109 18.2222C7.18351 18.2222 3.99976 15.0385 3.99976 11.1111C3.99976 7.18375 7.18351 4 11.1109 4C15.0382 4 18.222 7.18375 18.222 11.1111Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),a[2]=i):i=a[2],a[3]!==d||a[4]!==u||a[5]!==n?(o=(0,t.jsx)("svg",{width:d,height:d,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,style:u,children:i}),a[3]=d,a[4]=u,a[5]=n,a[6]=o):o=a[6],o}])},227041,94815,484776,e=>{"use strict";var t=e.i(391398),r=e.i(145246),s=e.i(261576),n=e.i(459632),i=e.i(191788),o=e.i(730943),a=e.i(296202),l=e.i(555655),c=e.i(248579),u=e.i(516505),d=e.i(398003),h=e.i(551836),m=e.i(506385),f=e.i(353533),p=e.i(692584);function x(e){let r,n,i=(0,s.c)(5),{size:o}=e,a=void 0===o?32:o;i[0]!==a?(r=Math.round(a/16),i[0]=a,i[1]=r):r=i[1];let l=Math.max(2,r),c=`${l}px solid hsl(var(--border))`;return i[2]!==a||i[3]!==c?(n=(0,t.jsx)("div",{role:"status","aria-label":"Loading",style:{width:a,height:a,borderRadius:"50%",border:c,borderTopColor:"hsl(var(--muted-foreground))",animation:"media-loading-spinner-rotate 0.9s linear infinite"}}),i[2]=a,i[3]=c,i[4]=n):n=i[4],n}e.s(["MediaLoadingSpinner",0,x],94815);var g=e.i(906915),v=e.i(466823),y=e.i(152597),b=e.i(30691),_=e.i(789032);function S(e){let r,n,o,a,l,c,u,d,h=(0,s.c)(22),{candidates:m,alt:f,className:p,loading:x}=e;h[0]!==m?(r=m??[],h[0]=m,h[1]=r):r=h[1],h[2]!==r?(n=r.filter(j),h[2]=r,h[3]=n):n=h[3];let g=n;h[4]!==g?(o=g.join("\n"),h[4]=g,h[5]=o):o=h[5];let v=o;h[6]!==v?(a={key:v,index:0},h[6]=v,h[7]=a):a=h[7];let[y,b]=(0,i.useState)(a);y.key!==v&&b({key:v,index:0});let _=y.key===v?y.index:0,S=_<g.length?g[_]:"/placeholder.svg";h[8]!==v||h[9]!==g?(l=e=>{b(t=>{if(t.key!==v||t.index>=g.length)return t;let r=e?g.findIndex(t=>(function(e){try{return new URL(e,"u">typeof document?document.baseURI:void 0).href}catch{return e}})(t)===e):-1,s=(r>=0?r:t.index)+1;return s>t.index?{key:v,index:s}:t})},h[8]=v,h[9]=g,h[10]=l):l=h[10];let C=l;h[11]!==C?(c=e=>
2{e&&e.complete&&0===e.naturalWidth&&C(e.currentSrc||e.src)},h[11]=C,h[12]=c):c=h[12];let w=c;return h[13]!==C?(u=e=>C(e.currentTarget.currentSrc||e.currentTarget.src),h[13]=C,h[14]=u):u=h[14],h[15]!==f||h[16]!==w||h[17]!==p||h[18]!==x||h[19]!==S||h[20]!==u?(d=(0,t.jsx)("img",{ref:w,src:S,alt:f,className:p,loading:x,onError:u}),h[15]=f,h[16]=w,h[17]=p,h[18]=x,h[19]=S,h[20]=u,h[21]=d):d=h[21],d}function j(e){return"string"==typeof e&&e.length>0}e.s(["ImageBotAvatar",0,S],484776);var C=e.i(229286),w=e.i(603754);function N(e){let r,n,i,o=(0,s.c)(5),{size:a,className:l}=e,c=void 0===a?24:a;return o[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsxs)("g",{clipPath:"url(#ai-search-clip)",children:[(0,t.jsx)("path",{d:"M18.5 19.5L14.875 15.875M11.5 4.633a6.7 6.7 0 0 0-1.334-.133c-3.682 0-6.666 2.985-6.666 6.667s2.984 6.667 6.666 6.667a6.66 6.66 0 0 0 5.775-3.334",stroke:"currentColor",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M16.334 3.667l-1.171 2.83-2.829 1.17 2.829 1.171 1.17 2.829 1.172-1.17 2.829-1.172-2.83-1.17-1.17-2.83z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M20.159 2.586a.333.333 0 0 0-.485 0l-.326.787a.333.333 0 0 1-.142.142l-.787.326a.333.333 0 0 0 0 .485l.787.326c.064.026.116.078.142.142l.326.787a.333.333 0 0 0 .485 0l.326-.787a.333.333 0 0 1 .142-.142l.787-.326a.333.333 0 0 0 0-.485l-.787-.326a.333.333 0 0 1-.142-.142l-.326-.787z",fill:"currentColor"})]}),o[0]=r):r=o[0],o[1]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"ai-search-clip",children:(0,t.jsx)("rect",{width:20,height:20,fill:"white",transform:"translate(22 22) rotate(-180)"})})}),o[1]=n):n=o[1],o[2]!==l||o[3]!==c?(i=(0,t.jsxs)("svg",{width:c,height:c,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:l,children:[r,n]}),o[2]=l,o[3]=c,o[4]=i):i=o[4],i}async function k(e,t){let r=await fetch(e,{credentials:"include",...t});if(!r.ok)throw Error(`Failed to fetch image bots: ${r.status}`);return r.json()}function R(e){let r,n,i,o,a,l,c,u,h,x,g,v,y,b,j=(0,s.c)(37),{bot:C,nsfwBlurMode:w,onSelect:N}=e,k=C.isNSFW&&w===_.BLUR_MODE_HIDE;e:{if(k){let e;j[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],j[0]=e):e=j[0],r=e;break e}if(w===_.BLUR_MODE_HIDE){let e;j[1]!==C.sampleImages?(e=C.sampleImages.filter(F),j[1]=C.sampleImages,j[2]=e):e=j[2],r=e;break e}r=C.sampleImages}let R=r;return j[3]!==C.avatarCandidates||j[4]!==C.name?(n=(0,t.jsx)(S,{candidates:C.avatarCandidates,alt:C.name,className:"w-10 h-10 rounded-lg object-cover flex-shrink-0"}),j[3]=C.avatarCandidates,j[4]=C.name,j[5]=n):n=j[5],j[6]!==C.name?(i=(0,t.jsx)("span",{className:"text-white font-semibold text-sm truncate",children:C.name}),j[6]=C.name,j[7]=i):i=j[7],j[8]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(d.ImageBotBadgeIcon,{size:16,className:"flex-shrink-0",style:{color:"var(--imagebot-badge-color)"}}),j[8]=o):o=j[8],j[9]!==C.isNSFW?(a=C.isNSFW&&(0,t.jsx)("span",{className:"text-[10px] font-bold text-[var(--imagebot-badge-color)] bg-[var(--imagebot-badge-color)]/15 px-1.5 py-0.5 rounded flex-shrink-0 ml-auto",children:"18+"}),j[9]=C.isNSFW,j[10]=a):a=j[10],j[11]!==i||j[12]!==a?(l=(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[i,o,a]}),j[11]=i,j[12]=a,j[13]=l):l=j[13],j[14]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)(m.MessageCircle,{className:"h-3.5 w-3.5"}),j[14]=c):c=j[14],j[15]!==C.interactionCount?(u=(0,p.formatInteractionCount)(C.interactionCount),j[15]=C.interactionCount,j[16]=u):u=j[16],j[17]!==u?(h=(0,t.jsxs)("div",{className:"flex items-center gap-1 text-gray-300 text-[13px] mt-0.5",children:[c,(0,t.jsx)("span",{children:u})]}),j[17]=u,j[18]=h):h=j[18],j[19]!==l||j[20]!==h?(x=(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[l,h]}),j[19]=l,j[20]=h,j[21]=x):x=j[21],j[22]!==x||j[23]!==n?(g=(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[n,x]}),j[22]=x,j[23]=n,j[24]=g):g=j[24],j[25]!==C.subtitle?(v=C.subtitle&&(0,t.jsx)("p",{className:"text-gray-300 text-[13px] mt-2 line-clamp-2",children:C.subtitle}),j[25]=C.subtitle,j[26]=v):v=j[26],j[27]!==C.isNSFW||j[28]!==C.requiresBlur||j[29]!==w||j[30]!==R?(y=R.length>0&&(0,t.jsx)("div",{className:"mt-2 flex gap-2 overflow-x-auto scrollbar-hide",children:R.map((e,r)=>{let s=((C.requiresBlur??C.isNSFW)||e.isSuggestive)&&w===_.BLUR_MODE_BLUR;return(0,t.jsx)("div",{className:"flex-shrink-0 rounded-xl overflow-hidden",style:{width:"calc((100% - 16px) / 3)"},children:(0,t.jsx)("img",{src:e.url,alt:"",className:(0,f.cn)("w-full aspect-[3/4] object-cover",s&&"blur-2xl scale-110"),loading:"lazy"})},r)})}),j[27]=C.isNSFW,j[28]=C.requiresBlur,j[29]=w,j[30]=R,j[31]=y):y=j[31],j[32]!==N||j[33]!==g||j[34]!==v||j[35]!==y?(b=(0,t.jsxs)("button",{onClick:N,className:"w-full bg-[var(--surface-2,#1E1
2F21)] rounded-xl p-3 text-left hover:bg-[var(--surface-3,#2A2B2D)] transition-colors cursor-pointer",children:[g,v,y]}),j[32]=N,j[33]=g,j[34]=v,j[35]=y,j[36]=b):b=j[36],b}function F(e){return!e.isSuggestive}e.s(["ImageGeneratorSelectorModal",0,function({open:e,onOpenChange:s,onSelect:d}){let m=(0,b.useIsMobile)(),p=(0,l.useLocalizedRouter)(),{isAuthenticated:S,showLoginModal:j}=(0,g.useAuth)(),{profile:F,updateProfile:z}=(0,v.useProfile)(),{fetchWithAuth:B}=(0,y.useAuthenticatedApi)(),{content:E,search:L}=(0,C.useDualWebFeatureControl)(),{shouldHideContentSetting:I}=(0,w.useContentSettingsControl)(),M=F?.nsfwBlurMode??_.BLUR_MODE_BLUR,[T,A]=(0,i.useState)(""),[P,O]=(0,i.useState)([]),[D,U]=(0,i.useState)([]),[W,H]=(0,i.useState)(!1),[Z,q]=(0,i.useState)(!1),[G,$]=(0,i.useState)(!1),[J,K]=(0,i.useState)(!1),V=(0,i.useRef)(null),Q=(0,i.useRef)(()=>{}),X=(0,i.useRef)(null),Y=(0,i.useRef)(S),ee=(0,i.useCallback)(async()=>{H(!0);try{let e=S?await B("/api/imagebots/recommended"):await k("/api/imagebots/recommended");if(Y.current!==S)return;O(e.imagebots||[]),$(e.hasFilteredImageBots??!1)}catch(e){}finally{Y.current===S&&H(!1)}},[B,S]),[et,er]=(0,i.useState)(e);e!==et&&(er(e),e||(A(""),U([])));let[es,en]=(0,i.useState)(S);S!==es&&(en(S),O([]),$(!1),U([]),A(""),K(!1)),(0,i.useEffect)(()=>{if(!e||0!==P.length)return;let t=requestAnimationFrame(()=>ee());return()=>cancelAnimationFrame(t)},[e,ee,P.length]);let ei=(0,i.useCallback)(async e=>{if(!e.trim())return void U([]);X.current&&X.current.abort();let t=new AbortController;X.current=t,q(!0);try{let r=`/api/imagebots/search?search_term=${encodeURIComponent(e)}`,s=S?await B(r,{signal:t.signal}):await k(r,{signal:t.signal});t.signal.aborted||Y.current!==S||(U(s.imagebots||[]),K(s.hasFilteredImageBots??!1))}catch(e){e?.name}finally{t.signal.aborted||q(!1)}},[B,S]);(0,i.useEffect)(()=>{Q.current=ei}),(0,i.useEffect)(()=>{Y.current=S});let eo=(0,i.useCallback)(e=>{A(e),K(!1),V.current&&clearTimeout(V.current),V.current=setTimeout(()=>Q.current(e),300)},[]);(0,i.useEffect)(()=>()=>{V.current&&clearTimeout(V.current)},[]);let ea=!!T.trim(),el=ea?D:P,ec=ea?Z:W,eu=ea?J:G,ed=(0,i.useMemo)(()=>el.some(e=>e.isNSFW||e.sampleImages.some(e=>e.isSuggestive)),[el]),eh=(0,i.useCallback)(e=>{z({nsfwBlurMode:e}),B("/api/profile/mature-content",{method:"PUT",body:JSON.stringify({nsfwBlurMode:e})})},[z,B]),em=eu&&E.showNsfwFilterBanners,ef=S&&F?.show_all_images&&ed&&!eu&&!E.autoEnableMatureContent,ep=(0,t.jsxs)(t.Fragment,{children:[L.imageGeneratorSearchEnabled&&(0,t.jsx)("div",{className:"px-3 pb-4 flex-shrink-0",children:(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)("div",{style:{height:"44px"},className:"jsx-3693a57f733b6d17 flex items-center px-3 bg-[var(--surface-2,#1E1F21)] rounded-xl flex-1",children:[(0,t.jsx)("div",{style:{width:"32px",height:"32px",borderRadius:"50%",backgroundColor:"var(--dark-bg, #18181b)"},className:"jsx-3693a57f733b6d17 flex items-center justify-center flex-shrink-0",children:(0,t.jsx)(c.SearchIcon,{size:18,className:"text-gray-400"})}),(0,t.jsx)("input",{type:"text",placeholder:"Search",value:T,onChange:e=>eo(e.target.value),style:{fontSize:"16px",height:"34px"},autoFocus:!m,className:"jsx-3693a57f733b6d17 ml-3 flex-1 bg-transparent text-white font-medium outline-none"}),(0,t.jsx)(r.default,{id:"3693a57f733b6d17",children:"input.jsx-3693a57f733b6d17::placeholder{color:#717274;font-weight:500}"}),T&&(0,t.jsx)("button",{onClick:()=>eo(""),style:{width:"24px",height:"24px",borderRadius:"50%",backgroundColor:"var(--dark-bg, #18181b)"},className:"jsx-3693a57f733b6d17 flex items-center justify-center flex-shrink-0 text-gray-400 hover:text-white cursor-pointer",children:(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",className:"jsx-3693a57f733b6d17",children:(0,t.jsx)("path",{d:"M10.5 3.5L3.5 10.5M3.5 3.5L10.5 10.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"jsx-3693a57f733b6d17"})})})]}),T&&(0,t.jsx)("button",{onClick:()=>eo(""),className:"text-sm font-semibold cursor-pointer flex-shrink-0",style:{color:"var(--link-color)"},children:"Cancel"})]})}),(0,t.jsxs)("div",{className:"flex-1 min-h-0 overflow-y-auto",children:[em&&(0,t.jsx)("div",{className:"px-3 pb-3",children:(0,t.jsxs)("div",{className:"flex items-start gap-3 bg-[var(--surface-2,#1E1
2F21)] rounded-xl p-3",children:[(0,t.jsx)(u.NsfwIcon,{className:"w-5 h-5 text-gray-300 flex-shrink-0 mt-0.5"}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("p",{className:"text-sm font-bold text-gray-100",children:"Mature results hidden"}),(0,t.jsx)("p",{className:"text-sm text-gray-400 mt-1",children:S?I?(0,t.jsx)(t.Fragment,{children:"Potentially sensitive content hidden."}):(0,t.jsxs)(t.Fragment,{children:["Potentially sensitive content hidden. Update your"," ",(0,t.jsx)("button",{onClick:()=>p.push("/content-setting"),className:"text-[var(--link-color)] hover:text-[var(--link-color-hover)] underline font-medium transition-colors cursor-pointer",children:"content settings"})," ","to view."]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{onClick:()=>j(),className:"text-[var(--link-color)] hover:text-[var(--link-color-hover)] underline font-medium transition-colors cursor-pointer",children:"Sign in"})," ","and update your content settings to view."]})})]})]})}),ef&&(0,t.jsx)("div",{className:"px-3 pb-3",children:(0,t.jsxs)("div",{className:"bg-[var(--surface-2,#1E1F21)] rounded-xl p-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[(0,t.jsx)(u.NsfwIcon,{className:"w-5 h-5 text-gray-200"}),(0,t.jsx)("span",{className:"text-sm font-bold text-gray-100",children:"Mature images"})]}),(0,t.jsx)("div",{className:"flex items-center gap-2 mt-2 mb-2",children:[{mode:_.BLUR_MODE_BLUR,label:"Blur"},{mode:_.BLUR_MODE_SHOW,label:"Show"},{mode:_.BLUR_MODE_HIDE,label:"Hide"}].map(({mode:e,label:r})=>(0,t.jsx)("button",{onClick:()=>eh(e),className:(0,f.cn)("flex-1 py-1.5 rounded-lg text-sm font-medium transition-all cursor-pointer",M===e?"bg-white text-black":"bg-[var(--surface-3,#2A2B2D)] text-gray-300 hover:bg-[#363739]"),children:r},e))}),(0,t.jsx)("p",{className:"text-sm font-medium text-gray-400",children:"Display potentially sensitive images from AI's"})]})}),(em||ef)&&(0,t.jsx)("div",{className:"px-3",children:(0,t.jsx)("div",{className:"border-t border-[#2A2B2D]"})}),!(ea&&Z)&&(el.length>0||ec)&&(0,t.jsx)("div",{className:"px-4 pt-3 pb-2",children:(0,t.jsx)("span",{className:"text-gray-400 text-sm font-semibold tracking-wide",children:ea?"All AI results":"Recommended"})}),(0,t.jsx)("div",{className:"px-3 pb-6 space-y-3",children:ec?(0,t.jsx)("div",{className:"flex items-center justify-center py-12",children:(0,t.jsx)(x,{size:40})}):0===el.length?(0,t.jsxs)("div",{className:"flex flex-col items-center pt-32",children:[(0,t.jsx)("div",{className:"w-16 h-16 rounded-full bg-[#E5E5EA] flex items-center justify-center mb-4",children:(0,t.jsx)(N,{size:36,className:"text-[#8E8E93]"})}),(0,t.jsx)("span",{className:"text-[#8E8E93] text-base font-semibold",children:"No Results"})]}):el.map(e=>(0,t.jsx)(R,{bot:e,nsfwBlurMode:M,onSelect:()=>{d(e),s(!1)}},e.id))})]})]});return m?!e||"u"<typeof document?null:(0,o.createPortal)((0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{style:{zIndex:n.Z.criticalPanelBase},className:"fixed inset-0 bg-black/20",onClick:e=>{e.stopPropagation(),s(!1)},onPointerDown:e=>e.stopPropagation()}),(0,t.jsxs)("div",{style:{zIndex:n.Z.criticalPanelBaseContent},className:(0,f.cn)("fixed top-0 bottom-0 right-0 w-full","bg-[var(--dark-bg)]","flex flex-col"),onPointerDown:e=>e.stopPropagation(),onTouchStart:e=>e.stopPropagation(),onClick:e=>e.stopPropagation(),children:[(0,t.jsxs)("div",{className:"flex items-center justify-between p-4",children:[(0,t.jsx)("button",{type:"button","aria-label":"Close image generator",className:"flex items-center cursor-pointer",onClick:e=>{e.stopPropagation(),s(!1)},children:(0,t.jsx)(h.ChevronLeft,{className:"h-6 w-6 text-white"})}),(0,t.jsx)("div",{className:"font-semibold text-white text-base leading-none",children:"Change image generator"}),(0,t.jsx)("div",{className:"w-6"})]}),ep]})]}),document.body):(0,t.jsx)(a.Dialog,{open:e,onOpenChange:s,children:(0,t.jsxs)(a.DialogContent,{className:"bg-[var(--dark-bg)] border-none text-white max-w-lg h-[80vh] flex flex-col p-0 gap-0 rounded-[var(--center-modal-radius)] overflow-hidden",hideCloseButton:!0,style:{zIndex:n.Z.criticalPanelBaseContent},overlayStyle:{zIndex:n.Z.criticalPanelBase},children:[(0,t.jsx)(a.DialogHeader,{className:"px-4 pt-5 pb-3",children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("button",{type:"button",className:"flex items-center cursor-pointer text-white hover:opacity-70 transition-opacity",onClick:()=>s(!1),"aria-label":"Close",children:(0,t.jsx)(h.ChevronLeft,{className:"h-5 w-5"})}),(0,t.jsx)(a.DialogTitle,{className:"text-white text-base font-semibold",children:"Change image generator"}),(0,t.jsx)("div",{className:"w-5"})]})}),ep]})})}],227041)}]); 3 4//# debugId=d9835357-e5ab-3c67-0639-9e2eb1e4cdd8
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.