1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1246],{11821:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/images/marketplace",function(){return n(40464)}])},55987:function(e,t,n){"use strict";var a=n(85893),r=n(67294),s=n(11163),o=n(82785),l=n(98008),i=n(67421),u=n(4298),c=n.n(u);let d=(0,r.memo)(()=>{var e;let{t}=(0,i.$G)("common"),[n,u]=(0,r.useState)(!1),d=(0,s.useRouter)(),p=(null===(e=d.query)||void 0===e?void 0:e.campaign_id)==="openaimusic";(0,r.useEffect)(()=>{if(!1!==d.isReady){if(localStorage.getItem("cookieConsent")){window.uetq?window.uetq.push("consent","update",{ad_storage:"granted"}):setTimeout(()=>{window.uetq&&window.uetq.push("consent","update",{ad_storage:"granted"})},1e3),window.clarity?window.clarity("consent"):setTimeout(()=>{window.clarity&&window.clarity("consent")},1e3);return}p||(0,o.getJson)("/api/geoip").then(e=>{e.country?e.country&&["AT","BE","BG","CY","CZ","DE","DK","EE","ES","FI","FR","GR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK","UK","CH"].includes(e.country)?u(!0):m():u(!0)}).catch(()=>u(!0))}},[d.isReady,p]);let m=()=>{localStorage.setItem("cookieConsent","true"),u(!1),window.clarity&&window.clarity("consent")};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c(),{id:"msads",strategy:"afterInteractive",children:'(function(w,d,t,r,u)\n {\n var f,n,i;\n w[u]=w[u]||[],f=function()\n {\n var o={ti:"343110090", enableAutoSpaTracking: true};\n o.q=w[u],w[u]=new UET(o),\n w[u].push(\'consent\', \'default\', {\n \'ad_storage\': \'denied\'\n })\n w[u].push("pageLoad") \n },\n n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function()\n {\n var s=this.readyState;\n s&&s!=="loaded"&&s!=="complete"||(f(),n.onload=n.onreadystatechange=null)\n },\n i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)\n })\n (window,document,"script","//bat.bing.com/bat.js","uetq");\n '}),n&&(0,a.jsxs)(l.Z,{show:n,onHide:()=>u(!1),centered:!0,children:[(0,a.jsx)(l.Z.Header,{closeButton:!0,style:{background:"var(--background)"}}),(0,a.jsx)(l.Z.Body,{children:(0,a.jsxs)("center",{children:[t("cookie-consent"),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsx)("button",{className:"submit-btn-2",onClick:m,children:t("accept")})]})})]})]})});d.displayName="CookieConsentEU",t.Z=d},32602:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},noSSR:function(){return o}});let a=n(10260);n(85893),n(67294);let r=a._(n(35491));function s(e){return{default:(null==e?void 0:e.default)||e}}function o(e,t){return delete t.webpack,delete t.modules,e(t)}function l(e,t){let n=r.default,a={loading:e=>{let{error:t,isLoading:n,pastDelay:a}=e;return null}};e instanceof Promise?a.loader=()=>e:"function"==typeof e?a.loader=e:"object"==typeof e&&(a={...a,...e});let l=(a={...a,...t}).loader;return(a.loadableGenerated&&(a={...a,...a.loadableGenerated},delete a.loadableGenerated),"boolean"!=typeof a.ssr||a.ssr)?n({...a,loader:()=>null!=l?l().then(s):Promise.resolve(s(()=>null))}):(delete a.webpack,delete a.modules,o(n,a))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1159:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return a}});let a=n(10260)._(n(67294)).default.createContext(null)},35491:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});let a=n(10260)._(n(67294)),r=n(1159),s=[],o=[],l=!1;function i(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e}
1,this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function c(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),s=null;function i(){if(!s){let t=new u(e,n);s={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return s.promise()}if(!l){let e=n.webpack?n.webpack():n.modules;e&&o.push(t=>{for(let n of e)if(t.includes(n))return i()})}function c(e,t){!function(){i();let e=a.default.useContext(r.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}();let o=a.default.useSyncExternalStore(s.subscribe,s.getCurrentValue,s.getCurrentValue);return a.default.useImperativeHandle(t,()=>({retry:s.retry}),[]),a.default.useMemo(()=>{var t;return o.loading||o.error?a.default.createElement(n.loading,{isLoading:o.loading,pastDelay:o.pastDelay,timedOut:o.timedOut,error:o.error,retry:s.retry}):o.loaded?a.default.createElement((t=o.loaded)&&t.default?t.default:t,e):null},[e,o])}return c.preload=()=>i(),c.displayName="LoadableComponent",a.default.forwardRef(c)}(i,e)}function d(e,t){let n=[];for(;e.length;){let a=e.pop();n.push(a(t))}return Promise.all(n).then(()=>{if(e.length)return d(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{d(s).then(e,t)}),c.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(l=!0,t());d(o,e).then(n,n)})),window.__NEXT_PRELOADREADY=c.preloadReady;let p=c},40464:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return u},default:function(){return c}});var a=n(85893),r=n(67294),s=n(82785),o=n(76735),l=n(6611),i=n(55987),u=!0;function c(e){let[t,u]=(0,r.useState)(!0),[c,d]=(0,r.useState)(),[p,m]=(0,r.useState)(),[g,f]=(0,r.useState)(),[h,y]=(0,r.useState)(),[b,x]=(0,r.useState)(!1),[_,j]=(0,r.useState)(),[w,k]=(0,r.useState)(),[v,S]=(0,r.useState)(),[T,C]=(0,r.useState)(),[E,N]=(0,r.useState)();(0,r.useEffect)(()=>{x(I(g))},[g]);let I=e=>!(!e||e.includes("cazlv.com"))&&/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),A=async()=>{d(!0);let e="".concat(n.g.serverUrl,"/feedback");await (0,s.uz)(e,{source:"imagemarketplace",userId:h,feedback:"Sign Up for early access"})},O=async()=>{m(!0);let e="".concat(n.g.serverUrl,"/feedback");await (0,s.uz)(e,{source:"imagemarketplace",userId:h,feedback:"Sign Up for early access form",buysell:_,quantity:w,subscription:v,price:T,question:E})};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.Z,{addMSAds:!0}),(0,a.jsx)(l.Z,{subtitle:"Tangra AI Image Marketplace",path:"images-api",skipFooter:!0,content:(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"images-bg"}),(0,a.jsx)("center",{children:(0,a.jsxs)("div",{className:"generate-container",style:{maxWidth:"500px",display:"flex",height:"calc(100vh - 387px)",flexDirection:"column",justifyContent:"center"},children:[(0,a.jsx)("div",{style:{display:"flex",width:"100%",alignItems:"center"},children:(0,a.jsx)("div",{style:{width:"100%"},children:(0,a.jsx)("center",{children:(0,a.jsxs)("h1",{className:"images-title",children:[(0,a.jsx)("span",{className:"gradient-text",children:"Tangra AI"})," Image Marketplace"]})})})}),(0,a.jsx)("br",{}),t?(0,a.jsx)(o.Z,{onSuccess:e=>{y(e),u(!1)},office:{},simpleView:!0,passwordless:!0}):c?p?"Thank you for signing up for early access to the Marketplace!":(0,a.jsxs)(a.Fragment,{children:["Are you looking to buy or sell? ",(0,a.jsx)("input",{className:"form-control gradient-input",style:{padding:"10px"},value:_,onChange:e=>j(e.target.value),onBlur:e=>j(e.target.value)}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),"How many images do you plan to buy/sell?",(0,a.jsx)("input",{className:"form-control gradient-input",style:{padding:"10px"},value:w,onChange:e=>k(e.target.value),onBlur:e=>k(e.target.value)}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),"Are you interested to buy/sell a single image or you think a monthly subscription is better?",(0,a.jsx)("input",{className:"form-control gradient-input",style:{padding:"10px"}
1,value:v,onChange:e=>S(e.target.value),onBlur:e=>S(e.target.value)}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),"What do you consider a fair price per month/per image?",(0,a.jsx)("input",{className:"form-control gradient-input",style:{padding:"10px"},value:T,onChange:e=>C(e.target.value),onBlur:e=>C(e.target.value)}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),"Why you should get an early access?",(0,a.jsx)("textarea",{className:"form-control gradient-input",style:{padding:"10px",minHeight:"200px"},value:E,onChange:e=>N(e.target.value),onBlur:e=>N(e.target.value)}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsx)("button",{className:"generate-outside-input",onClick:O,title:"Submit",disabled:!(_&&w&&v&&T),children:"Submit"})]}):(0,a.jsx)("button",{className:"generate-outside-input",onClick:A,title:"Sign up for Early Access",children:"Sign up for Early Access"})]})})]}),customMetaTags:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("title",{children:"Tangra AI Image Marketplace"}),(0,a.jsx)("meta",{name:"description",content:"Tangra AI Image Marketplace"}),(0,a.jsx)("meta",{name:"robots",content:"index"}),(0,a.jsx)("link",{rel:"canonical",href:"https://tangra.link/images/marketplace"}),(0,a.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,a.jsx)("meta",{property:"og:type",content:"website"}),(0,a.jsx)("meta",{property:"og:title",content:"Tangra AI Image Marketplace"}),(0,a.jsx)("meta",{property:"og:description",content:"Tangra AI Image Marketplace"}),(0,a.jsx)("meta",{property:"og:url",content:"https://tangra.link/images/marketplace"}),(0,a.jsx)("meta",{property:"og:site_name",content:"Tangra AI"}),(0,a.jsx)("meta",{property:"og:image",content:"https://d13ebz8fhj4h1z.cloudfront.net/music/TheJoyfulKitten.png"}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{name:"twitter:creator",content:"@TangraLink"}),(0,a.jsx)("meta",{name:"twitter:site",content:"@TangraLink"})]})})]})}},5152:function(e,t,n){e.exports=n(32602)}},function(e){e.O(0,[4885,7603,9510,1265,4133,1284,9755,8100,3319,1106,820,7192,9390,6735,6273,4243,5363,7581,6047,2888,9774,179],function(){return e(e.s=11821)}),_N_E=e.O()}]);
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.