1/*! For license information please see 7722.0a303262.chunk.js.LICENSE.txt */ 2"use strict";(globalThis.webpackChunkknitify_ai=globalThis.webpackChunkknitify_ai||[]).push([[823,2105,5437,7722],{3612(e,t,r){r.d(t,{h:()=>o});var n=r(65153);const a={premium_research_generation:!1,max_research_publications:20,max_products:1,batch_product_import:!1,support_response_time_hours:0,dedicated_account_manager:!1,clinical_trials_deep_research:!1,fda_deep_research:!1,uspto_deep_research:!1,business_intelligence_filters:!1,api_enabled:!1,max_api_keys:0,max_custom_models:0,product_offering_with_research_report:!1,pubmed_batch_data_extraction:!1,signup_bonus_credits:0,overage_price_per_credit:null,extra_import_price:null,research_aibot:!1,product_deep_research_aibot:!1,email_capture:!1,custom_email_signature:!1,ai_chatbot_on_brand_page:!1,premium_content_generation:!1,multilingual_output:!1,custom_branding:!1,max_quality_tier_allowed:"standard",thinking_mode_allowed:!1,lit_discovery_max_publications:60,contact_enrichment_cap_per_month:0,contact_agents_allowed:!1,slider_max_credits:{}},o=()=>{var e,t,r,o,i,s,c;const{user:l}=(0,n.A)(),u=!(!l||!l.effective_features),d=(null===l||void 0===l?void 0:l.effective_features)||a,p="premium"===(null!==(e=d.max_quality_tier_allowed)&&void 0!==e?e:"standard");return{canUsePremiumResearch:p||d.premium_research_generation,maxResearchPublications:d.max_research_publications,maxProducts:d.max_products,canBatchImport:d.batch_product_import,supportResponseHours:d.support_response_time_hours,hasDedicatedManager:d.dedicated_account_manager,canUseDeepResearchClinicalTrials:d.clinical_trials_deep_research,canUseDeepResearchFDA:d.fda_deep_research,canUseDeepResearchUSPTO:d.uspto_deep_research,canUseBusinessIntelligence:d.business_intelligence_filters,canUseAPI:d.api_enabled,maxAPIKeys:d.max_api_keys,maxCustomModels:d.max_custom_models,canUseProductRecommendations:d.product_offering_with_research_report,canUsePubMedBatchDataExtraction:d.pubmed_batch_data_extraction||(null!==(t=d.lit_discovery_max_publications)&&void 0!==t?t:0)>0||null===d.lit_discovery_max_publications,signupBonusCredits:d.signup_bonus_credits,overagePricePerCredit:d.overage_price_per_credit,extraImportPrice:d.extra_import_price,canUseResearchAIBot:d.research_aibot,canUseProductDeepResearchAIBot:d.product_deep_research_aibot,canUseEmailCapture:d.email_capture,canUseCustomEmailSignature:d.custom_email_signature,canUseAIChatbotOnBrandPage:d.ai_chatbot_on_brand_page,canUsePremiumContent:p||d.premium_content_generation,canUseMultilingualOutput:d.multilingual_output,canUseCustomBranding:d.custom_branding,maxQualityTierAllowed:null!==(r=d.max_quality_tier_allowed)&&void 0!==r?r:"standard",canUseThinkingMode:null!==(o=d.thinking_mode_allowed)&&void 0!==o&&o,maxLitDiscoveryPublications:null!==(i=d.lit_discovery_max_publications)&&void 0!==i?i:60,contactEnrichmentCapPerMonth:null!==(s=d.contact_enrichment_cap_per_month)&&void 0!==s?s:0,canUseContactAgents:null!==(c=d.contact_agents_allowed)&&void 0!==c&&c,getSliderMaxCredits:e=>{var t;return null===(t=d.slider_max_credits)||void 0===t?void 0:t[e]},hasFeature:e=>{const t=d[e];return"boolean"===typeof t?t:"number"===typeof t&&t>0},isUnlimitedProducts:-1===d.max_products,isFeaturesLoaded:u,membershipTier:null===l||void 0===l?void 0:l.membership_tier,effectiveFeatures:d}}},84494(e,t,r){r.d(t,{A:()=>n});const n=(0,r(75681).A)("award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]])},99045(e,t,r){r.d(t,{A:()=>n});const n=(0,r(75681).A)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},22224(e,t,r){r.d(t,{A:()=>n});const n=(0,r(75681).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},33975(e,t,r){r.d(t,{A:()=>n});const n=(0,r(75681).A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},28213(e,t,r){r.d(t,{A:()=>n});const n=(0,r(75681).A)("megaphone",[["path",{d:"M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z",key:"q8bfy3"}],["path",{d:"M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14",key:"1853fq"}],["path",{d:"M8 6v8",key:"15ugcq"}]])},41619(e,t,r){r.d(t,{A:()=>n});const n=(0,r(75681).A)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]])},72302(e,t,r){r.d(t,{A:()=>n});
2const n=(0,r(75681).A)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]])},26506(e,t,r){r.d(t,{N:()=>v});var n=r(10422),a=r(92166),o=r(25179),i=r(12679),s=r(19047),c=r(32605),l=r(97212),u=r(81460);function d(e,t){if("function"===typeof e)return e(t);null!==e&&void 0!==e&&(e.current=t)}function p(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.useCallback(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>{let r=!1;const n=t.map(t=>{const n=d(t,e);return r||"function"!==typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<n.length;e++){const r=n[e];"function"===typeof r?r():d(t[e],null)}}}}(...t),t)}class _ extends a.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if((0,l.s)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){const e=t.offsetParent,r=(0,l.s)(e)&&e.offsetWidth||0,n=(0,l.s)(e)&&e.offsetHeight||0,a=getComputedStyle(t),o=this.props.sizeRef.current;o.height=parseFloat(a.height),o.width=parseFloat(a.width),o.top=t.offsetTop,o.left=t.offsetLeft,o.right=r-o.width-o.left,o.bottom=n-o.height-o.top}return null}componentDidUpdate(){}render(){return this.props.children}}function h(e){let{children:t,isPresent:r,anchorX:o,anchorY:i,root:s,pop:c}=e;const l=(0,a.useId)(),d=(0,a.useRef)(null),h=(0,a.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:m}=(0,a.useContext)(u.Q),f=t.props?.ref??t?.ref,g=p(d,f);return(0,a.useInsertionEffect)(()=>{const{width:e,height:t,top:n,left:a,right:u,bottom:p}=h.current;if(r||!1===c||!d.current||!e||!t)return;
2const _="left"===o?`left: ${a}`:`right: ${u}`,f="bottom"===i?`bottom: ${p}`:`top: ${n}`;d.current.dataset.motionPopId=l;const g=document.createElement("style");m&&(g.nonce=m);const y=s??document.head;return y.appendChild(g),g.sheet&&g.sheet.insertRule(`\n [data-motion-pop-id="${l}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${t}px !important;\n ${_}px !important;\n ${f}px !important;\n }\n `),()=>{d.current?.removeAttribute("data-motion-pop-id"),y.contains(g)&&y.removeChild(g)}},[r]),(0,n.jsx)(_,{isPresent:r,childRef:d,sizeRef:h,pop:c,children:!1===c?t:a.cloneElement(t,{ref:g})})}const m=e=>{let{children:t,initial:r,isPresent:o,onExitComplete:s,custom:l,presenceAffectsLayout:u,mode:d,anchorX:p,anchorY:_,root:m}=e;const g=(0,i.M)(f),y=(0,a.useId)();let x=!0,v=(0,a.useMemo)(()=>(x=!1,{id:y,initial:r,isPresent:o,custom:l,onExitComplete:e=>{g.set(e,!0);for(const t of g.values())if(!t)return;s&&s()},register:e=>(g.set(e,!1),()=>g.delete(e))}),[o,g,s]);return u&&x&&(v={...v}),(0,a.useMemo)(()=>{g.forEach((e,t)=>g.set(t,!1))},[o]),a.useEffect(()=>{!o&&!g.size&&s&&s()},[o]),t=(0,n.jsx)(h,{pop:"popLayout"===d,isPresent:o,anchorX:p,anchorY:_,root:m,children:t}),(0,n.jsx)(c.t.Provider,{value:v,children:t})};function f(){return new Map}var g=r(76994);const y=e=>e.key||"";function x(e){const t=[];return a.Children.forEach(e,e=>{(0,a.isValidElement)(e)&&t.push(e)}),t}const v=e=>{let{children:t,custom:r,initial:c=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:d="sync",propagate:p=!1,anchorX:_="left",anchorY:h="top",root:f}=e;const[v,b]=(0,g.xQ)(p),k=(0,a.useMemo)(()=>x(t),[t]),A=p&&!v?[]:k.map(y),P=(0,a.useRef)(!0),w=(0,a.useRef)(k),C=(0,i.M)(()=>new Map),M=(0,a.useRef)(new Set),[U,R]=(0,a.useState)(k),[E,I]=(0,a.useState)(k);(0,s.E)(()=>{P.current=!1,w.current=k;for(let e=0;e<E.length;e++){const t=y(E[e]);A.includes(t)?(C.delete(t),M.current.delete(t)):!0!==C.get(t)&&C.set(t,!1)}},[E,A.length,A.join("-")]);const L=[];if(k!==U){let e=[...k];for(let t=0;t<E.length;t++){const r=E[t],n=y(r);A.includes(n)||(e.splice(t,0,r),L.push(r))}return"wait"===d&&L.length&&(e=L),I(x(e)),R(k),null}const{forceRender:B}=(0,a.useContext)(o.L);return(0,n.jsx)(n.Fragment,{children:E.map(e=>{const t=y(e),a=!(p&&!v)&&(k===E||A.includes(t));return(0,n.jsx)(m,{isPresent:a,initial:!(P.current&&!c)&&void 0,custom:r,presenceAffectsLayout:u,mode:d,root:f,onExitComplete:a?void 0:()=>{if(M.current.has(t))return;if(!C.has(t))return;M.current.add(t),C.set(t,!0);let e=!0;C.forEach(t=>{t||(e=!1)}),e&&(B?.(),I(w.current),p&&b?.(),l&&l())},anchorX:_,anchorY:h,children:e},t)})})}}}]);
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.