PageSourceSearch

https://app.instantdm.com/static/js/9091.37ed0d0e.chunk.js

js instantdm.com collected 2026-09-24 09:29:33 UTC 26,985 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkinsta_automate=self.webpackChunkinsta_automate||[]).push([[9091],{96794:(e,t,n)=>{n.r(t),n.d(t,{default:()=>k});var o=n(89379),a=n(65043),r=n(31023),c=n(16569),i=n(68662),l=n(85578),s=n(8354),d=n(64376),m=n(13382),p=n(10898),u=n(42261),h=n(76399),g=n(53722),f=n(75388),y=n(87534),x=n(12499),v=n(4394),b=n(83357),A=n(70579);const{Title:w,Text:j,Paragraph:S}=r.A,C="http://localhost:5001",z=[{key:"name",type:"name",icon:(0,A.jsx)(g.A,{}),question:"\ud83d\udc4b Hey! Before we continue, what's your name?",placeholder:"e.g. Hariesh Kumar"},{key:"email",type:"email",icon:(0,A.jsx)(f.A,{}),question:"\ud83d\udce7 Great! Please share your email for the free guide.",placeholder:"e.g. [email protected]"},{key:"phone",type:"phone",icon:(0,A.jsx)(y.A,{}),question:"\ud83d\udcf1 Last one \u2014 your WhatsApp number for updates?",placeholder:"e.g. +919876543210"}];function k(){const[e,t]=(0,a.useState)(0),[n,r]=(0,a.useState)({}),[g,f]=(0,a.useState)(""),[y,k]=(0,a.useState)(!1),[E,M]=(0,a.useState)(!1),[I,O]=(0,a.useState)(null),[N,B]=(0,a.useState)(""),[P,H]=(0,a.useState)(""),L=()=>{if(!g.trim())return;const a=z[e],c=(0,o.A)((0,o.A)({},n),{},{[a.key]:g.trim()});r(c),f(""),e<z.length-1?t(e+1):k(!0)},T=()=>{t(0),r({}),f(""),k(!1),O(null)};return(0,A.jsxs)("div",{style:{maxWidth:700,margin:"40px auto",padding:"0 20px"},children:[(0,A.jsx)(w,{level:3,children:"\ud83e\uddea Test: Q&A Flow \u2192 Mailchimp"}),(0,A.jsx)(S,{type:"secondary",children:"Simulate an Instagram DM conversation. Answer the questions below, then push all collected data to Mailchimp."}),(0,A.jsxs)(i.A,{size:"small",style:{marginBottom:20,background:"#fafafa"},children:[(0,A.jsx)(j,{strong:!0,children:"Mailchimp Credentials"}),(0,A.jsxs)("div",{style:{display:"flex",gap:10,marginTop:8},children:[(0,A.jsx)(l.A.Password,{placeholder:"Mailchimp API Key (e.g. abc123-us1)",value:N,onChange:e=>{B(e.target.value),e.target.value.includes("-")&&H(e.target.value.split("-").pop())},style:{flex:2}}),(0,A.jsx)(l.A,{placeholder:"Server (auto)",value:P,onChange:e=>H(e.target.value),style:{flex:1}})]})]}),(0,A.jsx)(s.A,{}),(0,A.jsx)(d.A,{current:y?z.length:e,size:"small",style:{marginBottom:24},items:z.map(((e,t)=>({title:e.key.charAt(0).toUpperCase()+e.key.slice(1),icon:n[e.key]?(0,A.jsx)(x.A,{style:{color:"#52c41a"}}):e.icon})))}),(0,A.jsxs)(i.A,{style:{minHeight:300},children:[z.slice(0,y?z.length:e).map(((e,t)=>(0,A.jsxs)("div",{style:{marginBottom:16},children:[(0,A.jsx)("div",{style:{background:"#f0f5ff",padding:"8px 12px",borderRadius:12,borderBottomLeftRadius:4,display:"inline-block",maxWidth:"80%"},children:(0,A.jsx)(j,{children:e.question})}),(0,A.jsx)("div",{style:{textAlign:"right",marginTop:6},children:(0,A.jsx)("div",{style:{background:"#1677ff",color:"#fff",padding:"8px 12px",borderRadius:12,borderBottomRightRadius:4,display:"inline-block",maxWidth:"80%"},children:n[e.key]})})]},e.key))),!y&&(0,A.jsxs)("div",{children:[(0,A.jsx)("div",{style:{background:"#f0f5ff",padding:"8px 12px",borderRadius:12,borderBottomLeftRadius:4,display:"inline-block",maxWidth:"80%",marginBottom:12},children:(0,A.jsx)(j,{children:z[e].question})}),(0,A.jsxs)("div",{style:{display:"flex",gap:8},children:[(0,A.jsx)(l.A,{placeholder:z[e].placeholder,value:g,onChange:e=>f(e.target.value),onPressEnter:L,autoFocus:!0}),(0,A.jsx)(m.Ay,{type:"primary",icon:(0,A.jsx)(v.A,{}),onClick:L,disabled:!g.trim(),children:"Send"})]})]}),y&&!I&&(0,A.jsxs)("div",{style:{textAlign:"center",padding:"20px 0"},children:[(0,A.jsx)("div",{style:{background:"#f0f5ff",padding:"8px 12px",borderRadius:12,display:"inline-block",marginBottom:16},children:(0,A.jsx)(j,{children:"\ud83c\udf89 Thanks! You're all set. Here's your free guide!"})}),(0,A.jsx)(s.A,{}),(0,A.jsx)(w,{level:5,children:"Collected Data"}),(0,A.jsx)("div",{style:{textAlign:"left",background:"#f9f9f9",padding:16,borderRadius:8,marginBottom:16},children:(0,A.jsx)("pre",{style:{margin:0,fontSize:13},children:JSON.stringify(n,null,2)})}),(0,A.jsxs)(p.A,{children:[(0,A.jsx)(m.Ay,{type:"primary",size:"large",icon:(0,A.jsx)(b.A,{}),loading:E,onClick:async()=>
1{if(!N)return void c.Ay.error("Enter your Mailchimp API key first");const e=P||(N.includes("-")?N.split("-").pop():"");if(e){M(!0),O(null);try{const t=await fetch("".concat(C,"/integrations/test-contact"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:"mailchimp",api_key:N,server:e,list_id:"",test_email:n.email,test_name:n.name||n.email.split("@")[0]})}),o=await t.json();O(o),200===o.code?c.Ay.success("Contact pushed to Mailchimp!"):c.Ay.error(o.message||"Failed")}catch(t){O({code:500,message:t.message}),c.Ay.error("Connection failed \u2014 is integrations server running?")}M(!1)}else c.Ay.error("Could not detect server prefix. Enter it manually.")},children:"Push to Mailchimp"}),(0,A.jsx)(m.Ay,{onClick:T,children:"Reset Flow"})]})]}),I&&(0,A.jsxs)("div",{style:{marginTop:16},children:[(0,A.jsx)(u.A,{type:200===I.code?"success":"error",message:200===I.code?"\u2705 Pushed to Mailchimp!":"\u274c Failed",description:(0,A.jsxs)("div",{children:[(0,A.jsx)("p",{children:I.message}),200===I.code&&(0,A.jsxs)("div",{style:{marginTop:8},children:[(0,A.jsxs)(h.A,{color:"blue",children:["Name: ",n.name]}),(0,A.jsxs)(h.A,{color:"green",children:["Email: ",n.email]}),(0,A.jsxs)(h.A,{color:"orange",children:["Phone: ",n.phone]}),(0,A.jsx)(h.A,{color:"purple",children:"Tag: instantdm"})]}),(0,A.jsx)("p",{style:{marginTop:12,fontSize:12,color:"#888"},children:"Check Mailchimp \u2192 Audience \u2192 All contacts to verify."})]}),showIcon:!0}),(0,A.jsx)(m.Ay,{onClick:T,style:{marginTop:12},children:"Test Again"})]})]})]})}},75388:(e,t,n)=>{n.d(t,{A:()=>l});var o=n(58168),a=n(65043);const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z"}}]},name:"mail",theme:"outlined"};var c=n(22172),i=function(e,t){return a.createElement(c.A,(0,o.A)({},e,{ref:t,icon:r}))};const l=a.forwardRef(i)},87534:(e,t,n)=>{n.d(t,{A:()=>l});var o=n(58168),a=n(65043);const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M877.1 238.7L770.6 132.3c-13-13-30.4-20.3-48.8-20.3s-35.8 7.2-48.8 20.3L558.3 246.8c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l89.6 89.7a405.46 405.46 0 01-86.4 127.3c-36.7 36.9-79.6 66-127.2 86.6l-89.6-89.7c-13-13-30.4-20.3-48.8-20.3a68.2 68.2 0 00-48.8 20.3L132.3 673c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l106.4 106.4c22.2 22.2 52.8 34.9 84.2 34.9 6.5 0 12.8-.5 19.2-1.6 132.4-21.8 263.8-92.3 369.9-198.3C818 606 888.4 474.6 910.4 342.1c6.3-37.6-6.3-76.3-33.3-103.4zm-37.6 91.5c-19.5 117.9-82.9 235.5-178.4 331s-213 158.9-330.9 178.4c-14.8 2.5-30-2.5-40.8-13.2L184.9 721.9 295.7 611l119.8 120 .9.9 21.6-8a481.29 481.29 0 00285.7-285.8l8-21.6-120.8-120.7 110.8-110.9 104.5 104.5c10.8 10.8 15.8 26 13.3 40.8z"}}]},name:"phone",theme:"outlined"};var c=n(22172),i=function(e,t){return a.createElement(c.A,(0,o.A)({},e,{ref:t,icon:r}))};const l=a.forwardRef(i)},83357:(e,t,n)=>{n.d(t,{A:()=>l});var o=n(58168),a=n(65043);const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8H864zM762.3 621.4c9.4 14.6 17 30.3 22.5 46.6H700V558.7a211.6 211.6 0 0162.3 62.7zM388 483.1V318.8l124-147 124 147V668H388V483.1zM239.2 668c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668h-84.8zm388.9 116.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5-38.3 0-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM464 400a48 48 0 1096 0 48 48 0 10-96 0z"}}]},name:"rocket",theme:"outlined"};var c=n(22172),i=function(e,t){return a.createElement(c.A,(0,o.A)({},e,{ref:t,icon:r}))};const l=a.forwardRef(i)},4394:(e,t,n)=>{n.d(t,{A:()=>l});var o=n(58168),a=n(65043);const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"};var c=n(22172),i=function(e,t){return a.createElement(c.A,(0,o.A)({},e,{ref:t,icon:r}))};const l=a.forwardRef(i)},53722:(e,t,n)=>{n.d(t,{A:()=>l});var o=n(58168),a=n(65043);const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"};var c=n(22172),i=function(e,t){return a.createElement(c.A,(0,o.A)({},e,{ref:t,icon:r}))};const l=a.forwardRef(i)},15315:(e,t,n)=>{function o(e){return["small","middle","large"].includes(e)}function a(e){return!!e&&("number"===typeof e&&!Number.isNaN(e))}n.d(t,{X:()=>o,m:()=>a})},44210:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(65043);function a(){const[,e]=o.useReducer((e=>e+1),0);return e}},44320:(e,t,n)=>{n.d(t,{Ay:()=>l,ko:()=>s,ye:()=>r});var o=n(65043),a=n(80167);const r=["xxl","xl","lg","md","sm","xs"],c=e=>({xs:"(max-width: ".concat(e.screenXSMax,"px)"),sm:"(min-width: ".concat(e.screenSM,"px)"),md:"(min-width: ".concat(e.screenMD,"px)"),lg:"(min-width: ".concat(e.screenLG,"px)"),xl:"(min-width: ".concat(e.screenXL,"px)"),xxl:"(min-width: ".concat(e.screenXXL,"px)")}),i=e=>{const t=e,n=[].concat(r).reverse();
1return n.forEach(((e,o)=>{const a=e.toUpperCase(),r="screen".concat(a,"Min"),c="screen".concat(a);if(!(t[r]<=t[c]))throw new Error("".concat(r,"<=").concat(c," fails : !(").concat(t[r],"<=").concat(t[c],")"));if(o<n.length-1){const e="screen".concat(a,"Max");if(!(t[c]<=t[e]))throw new Error("".concat(c,"<=").concat(e," fails : !(").concat(t[c],"<=").concat(t[e],")"));const r=n[o+1].toUpperCase(),i="screen".concat(r,"Min");if(!(t[e]<=t[i]))throw new Error("".concat(e,"<=").concat(i," fails : !(").concat(t[e],"<=").concat(t[i],")"))}})),e};function l(){const[,e]=(0,a.Ay)(),t=c(i(e));return o.useMemo((()=>{const e=new Map;let n=-1,o={};return{matchHandlers:{},dispatch:t=>(o=t,e.forEach((e=>e(o))),e.size>=1),subscribe(t){return e.size||this.register(),n+=1,e.set(n,t),t(o),n},unsubscribe(t){e.delete(t),e.size||this.unregister()},unregister(){Object.keys(t).forEach((e=>{const n=t[e],o=this.matchHandlers[n];null===o||void 0===o||o.mql.removeListener(null===o||void 0===o?void 0:o.listener)})),e.clear()},register(){Object.keys(t).forEach((e=>{const n=t[e],a=t=>{let{matches:n}=t;this.dispatch(Object.assign(Object.assign({},o),{[e]:n}))},r=window.matchMedia(n);r.addListener(a),this.matchHandlers[n]={mql:r,listener:a},a(r)}))},responsiveMap:t}}),[e])}const s=(e,t)=>{if(t&&"object"===typeof t)for(let n=0;n<r.length;n++){const o=r[n];if(e[o]&&void 0!==t[o])return t[o]}}},42261:(e,t,n)=>{n.d(t,{A:()=>R});var o=n(65043),a=n(12499),r=n(78528),c=n(53727),i=n(51376),l=n(13888),s=n(98139),d=n.n(s),m=n(50541),p=n(48060),u=n(13758),h=n(12701),g=n(35296),f=n(43944),y=n(94414),x=n(78855);const v=(e,t,n,o,a)=>({background:e,border:"".concat((0,f.zA)(o.lineWidth)," ").concat(o.lineType," ").concat(t),["".concat(a,"-icon")]:{color:n}}),b=e=>{const{componentCls:t,motionDurationSlow:n,marginXS:o,marginSM:a,fontSize:r,fontSizeLG:c,lineHeight:i,borderRadiusLG:l,motionEaseInOutCirc:s,withDescriptionIconSize:d,colorText:m,colorTextHeading:p,withDescriptionPadding:u,defaultPadding:h}=e;return{[t]:Object.assign(Object.assign({},(0,y.dF)(e)),{position:"relative",display:"flex",alignItems:"center",padding:h,wordWrap:"break-word",borderRadius:l,["&".concat(t,"-rtl")]:{direction:"rtl"},["".concat(t,"-content")]:{flex:1,minWidth:0},["".concat(t,"-icon")]:{marginInlineEnd:o,lineHeight:0},"&-description":{display:"none",fontSize:r,lineHeight:i},"&-message":{color:p},["&".concat(t,"-motion-leave")]:{overflow:"hidden",opacity:1,transition:"max-height ".concat(n," ").concat(s,", opacity ").concat(n," ").concat(s,",\n        padding-top ").concat(n," ").concat(s,", padding-bottom ").concat(n," ").concat(s,",\n        margin-bottom ").concat(n," ").concat(s)},["&".concat(t,"-motion-leave-active")]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),["".concat(t,"-with-description")]:{alignItems:"flex-start",padding:u,["".concat(t,"-icon")]:{marginInlineEnd:a,fontSize:d,lineHeight:0},["".concat(t,"-message")]:{display:"block",marginBottom:o,color:p,fontSize:c},["".concat(t,"-description")]:{display:"block",color:m}},["".concat(t,"-banner")]:{marginBottom:0,border:"0 !important",borderRadius:0}}},A=e=>{const{componentCls:t,colorSuccess:n,colorSuccessBorder:o,colorSuccessBg:a,colorWarning:r,colorWarningBorder:c,colorWarningBg:i,colorError:l,colorErrorBorder:s,colorErrorBg:d,colorInfo:m,colorInfoBorder:p,colorInfoBg:u}=e;return{[t]:{"&-success":v(a,o,n,e,t),"&-info":v(u,p,m,e,t),"&-warning":v(i,c,r,e,t),"&-error":Object.assign(Object.assign({},v(d,s,l,e,t)),{["".concat(t,"-description > pre")]:{margin:0,padding:0}})}}},w=e=>{const{componentCls:t,iconCls:n,motionDurationMid:o,marginXS:a,fontSizeIcon:r,colorIcon:c,colorIconHover:i}=e;return{[t]:{"&-action":{marginInlineStart:a},["".concat(t,"-close-icon")]:{marginInlineStart:a,padding:0,overflow:"hidden",fontSize:r,lineHeight:(0,f.zA)(r),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",["".concat(n,"-close")]:{color:c,transition:"color ".concat(o),"&:hover":{color:i}}},"&-close-text":{color:c,transition:"color ".concat(o),"&:hover":{color:i}}}}},j=(0,x.OF)("Alert",(e=>[b(e),A(e),w(e)]),(e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:"".concat(e.paddingContentVerticalSM,"px ").concat(12,"px"),withDescriptionPadding:"".concat(e.paddingMD,"px ").concat(e.paddingContentHorizontalLG,"px")})));var S=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(e);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]])}return n};const C={success:a.A,info:l.A,error:r.A,warning:i.A},z=e=>{const{icon:t,prefixCls:n,type:a}=e,r=C[a]||null;return t?(0,h.fx)(t,o.createElement("span",{className:"".concat(n,"-icon")},t),(()=>({className:d()("".concat(n,"-icon"),t.props.className)}))):o.createElement(r,{className:"".concat(n,"-icon")})},k=e=>{const{isClosable:t,prefixCls:n,closeIcon:a,handleClose:r,ariaProps:i}=e,l=!0===a||void 0===a?o.createElement(c.A,null):a;return t?o.createElement("button",Object.assign({type:"button",onClick:r,className:"".concat(n,"-close-icon"),tabIndex:0},i),l):null},E=o.forwardRef(((e,t)=>{const{description:n,prefixCls:a,message:r,banner:c,className:i,rootClassName:l,style:s,onMouseEnter:h,onMouseLeave:f,onClick:y,afterClose:x,showIcon:v,closable:b,closeText:A,closeIcon:w,action:C,id:E}=e,M=S(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[I,O]=o.useState(!1);const N=o.useRef(null);o.useImperativeHandle(t,(()=>({nativeElement:N.current})));const{getPrefixCls:B,direction:P,closable:H,closeIcon:L,className:T,style:R}=(0,g.TP)("alert"),W=B("alert",a),[G,D,X]=j(W),F=t=>{var n;O(!0),null===(n=e.onClose)||void 0===n||n.call(e,t)},V=o.useMemo((()=>void 0!==e.type?e.type:c?"warning":"info"),[e.type,c]),q=o.useMemo((()=>!("object"!==typeof b||!b.closeIcon)||(!!A||("boolean"===typeof b?b:!1!==w&&null!==w&&void 0!==w||!!H))),[A,w,b,H]),_=!(!c||void 0!==v)||v,K=d()(W,"".concat(W,"-").concat(V),{["".concat(W,"-with-description")]:!!n,["".concat(W,"-no-icon")]:!_,["".concat(W,"-banner")]:!!c,["".concat(W,"-rtl")]:"rtl"===P},T,i,l,X,D),U=(0,p.A)(M,{aria:!0,data:!0}),J=o.useMemo((()=>"object"===typeof b&&b.closeIcon?b.closeIcon:A||(void 0!==w?w:"object"===typeof H&&H.closeIcon?H.closeIcon:L)),[w,b,A,L]),Y=o.useMemo((()=>{const e=null!==b&&void 0!==b?b:H;if("object"===typeof e){const{closeIcon:t}=e;return S(e,["closeIcon"])}return{}}),[b,H]);return G(o.createElement(m.Ay,{visible:!I,motionName:"".concat(W,"-motion"),motionAppear:!1,motionEnter:!1,onLeaveStart:e=>({maxHeight:e.offsetHeight}),onLeaveEnd:x},((t,a)=>{let{className:c,style:i}=t;return o.createElement("div",Object.assign({id:E,ref:(0,u.K4)(N,a),"data-show":!I,className:d()(K,c),style:Object.assign(Object.assign(Object.assign({},R),s),i),onMouseEnter:h,onMouseLeave:f,onClick:y,role:"alert"},U),_?o.createElement(z,{description:n,icon:e.icon,prefixCls:W,type:V}):null,o.createElement("div",{className:"".concat(W,"-content")},r?o.createElement("div",{className:"".concat(W,"-message")},r):null,n?o.createElement("div",{className:"".concat(W,"-description")},n):null),C?o.createElement("div",{className:"".concat(W,"-action")},C):null,o.createElement(k,{isClosable:q,prefixCls:W,closeIcon:J,handleClose:F,ariaProps:Y}))})))}));const M=E;var I=n(23029),O=n(92901),N=n(53954),B=n(52176),P=n(56822);var H=n(85501);const L=function(e){function t(){var e,n,o,a;return(0,I.A)(this,t),n=this,o=t,a=arguments,o=(0,N.A)(o),(e=(0,P.A)(n,(0,B.A)()?Reflect.construct(o,a||[],(0,N.A)(n).constructor):o.apply(n,a))).state={error:void 0,info:{componentStack:""}},e}
1return(0,H.A)(t,e),(0,O.A)(t,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){const{message:e,description:t,id:n,children:a}=this.props,{error:r,info:c}=this.state,i=(null===c||void 0===c?void 0:c.componentStack)||null,l="undefined"===typeof e?(r||"").toString():e,s="undefined"===typeof t?i:t;return r?o.createElement(M,{id:n,type:"error",message:l,description:o.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},s)}):a}}])}(o.Component),T=M;T.ErrorBoundary=L;const R=T},8354:(e,t,n)=>{n.d(t,{A:()=>h});var o=n(65043),a=n(98139),r=n.n(a),c=n(35296),i=n(43944),l=n(94414),s=n(78855),d=n(78446);const m=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:o,lineWidth:a,textPaddingInline:r,orientationMargin:c,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},(0,l.dF)(e)),{borderBlockStart:"".concat((0,i.zA)(a)," solid ").concat(o),"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:"".concat((0,i.zA)(a)," solid ").concat(o)},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:"".concat((0,i.zA)(e.dividerHorizontalGutterMargin)," 0")},["&-horizontal".concat(t,"-with-text")]:{display:"flex",alignItems:"center",margin:"".concat((0,i.zA)(e.dividerHorizontalWithTextGutterMargin)," 0"),color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:"0 ".concat(o),"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:"".concat((0,i.zA)(a)," solid transparent"),borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},["&-horizontal".concat(t,"-with-text-start")]:{"&::before":{width:"calc(".concat(c," * 100%)")},"&::after":{width:"calc(100% - ".concat(c," * 100%)")}},["&-horizontal".concat(t,"-with-text-end")]:{"&::before":{width:"calc(100% - ".concat(c," * 100%)")},"&::after":{width:"calc(".concat(c," * 100%)")}},["".concat(t,"-inner-text")]:{display:"inline-block",paddingBlock:0,paddingInline:r},"&-dashed":{background:"none",borderColor:o,borderStyle:"dashed",borderWidth:"".concat((0,i.zA)(a)," 0 0")},["&-horizontal".concat(t,"-with-text").concat(t,"-dashed")]:{"&::before, &::after":{borderStyle:"dashed none none"}},["&-vertical".concat(t,"-dashed")]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:o,borderStyle:"dotted",borderWidth:"".concat((0,i.zA)(a)," 0 0")},["&-horizontal".concat(t,"-with-text").concat(t,"-dotted")]:{"&::before, &::after":{borderStyle:"dotted none none"}},["&-vertical".concat(t,"-dotted")]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},["&-plain".concat(t,"-with-text")]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},["&-horizontal".concat(t,"-with-text-start").concat(t,"-no-default-orientation-margin-start")]:{"&::before":{width:0},"&::after":{width:"100%"},["".concat(t,"-inner-text")]:{paddingInlineStart:n}},["&-horizontal".concat(t,"-with-text-end").concat(t,"-no-default-orientation-margin-end")]:{"&::before":{width:"100%"},"&::after":{width:0},["".concat(t,"-inner-text")]:{paddingInlineEnd:n}}})}},p=(0,s.OF)("Divider",(e=>{const t=(0,d.oX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[m(t)]}),(e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS})),{unitless:{orientationMargin:!0}});var u=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(e);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]])}return n};const h=e=>{const{getPrefixCls:t,direction:n,className:a,style:i}=(0,c.TP)("divider"),{prefixCls:l,type:s="horizontal",orientation:d="center",orientationMargin:m,className:h,rootClassName:g,children:f,dashed:y,variant:x="solid",plain:v,style:b}=e,A=u(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),w=t("divider",l),[j,S,C]=p(w),z=!!f,k=o.useMemo((()=>"left"===d?"rtl"===n?"end":"start":"right"===d?"rtl"===n?"start":"end":d),[n,d]),E="start"===k&&null!=m,M="end"===k&&null!=m,I=r()(w,a,S,C,"".concat(w,"-").concat(s),{["".concat(w,"-with-text")]:z,["".concat(w,"-with-text-").concat(k)]:z,["".concat(w,"-dashed")]:!!y,["".concat(w,"-").concat(x)]:"solid"!==x,["".concat(w,"-plain")]:!!v,["".concat(w,"-rtl")]:"rtl"===n,["".concat(w,"-no-default-orientation-margin-start")]:E,["".concat(w,"-no-default-orientation-margin-end")]:M},h,g),O=o.useMemo((()=>"number"===typeof m?m:/^\d+$/.test(m)?Number(m):m),[m]),N={marginInlineStart:E?O:void 0,marginInlineEnd:M?O:void 0};return j(o.createElement("div",Object.assign({className:I,style:Object.assign(Object.assign({},i),b)},A,{role:"separator"}),f&&"vertical"!==s&&o.createElement("span",{className:"".concat(w,"-inner-text"),style:N},f)))}}
1,99598:(e,t,n)=>{n.d(t,{A:()=>i});var o=n(65043),a=n(52664),r=n(44210),c=n(44320);const i=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(0,o.useRef)(t),i=(0,r.A)(),l=(0,c.Ay)();return(0,a.A)((()=>{const t=l.subscribe((t=>{n.current=t,e&&i()}));return()=>l.unsubscribe(t)}),[]),n.current}},10898:(e,t,n)=>{n.d(t,{A:()=>f});var o=n(65043),a=n(98139),r=n.n(a),c=n(62149),i=n(15315),l=n(35296),s=n(45132);const d=o.createContext({latestIndex:0}),m=d.Provider,p=e=>{let{className:t,index:n,children:a,split:r,style:c}=e;const{latestIndex:i}=o.useContext(d);return null===a||void 0===a?null:o.createElement(o.Fragment,null,o.createElement("div",{className:t,style:c},a),n<i&&r&&o.createElement("span",{className:"".concat(t,"-split")},r))};var u=n(78309),h=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(e);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]])}return n};const g=o.forwardRef(((e,t)=>{var n;const{getPrefixCls:a,direction:s,size:d,className:g,style:f,classNames:y,styles:x}=(0,l.TP)("space"),{size:v=(null!==d&&void 0!==d?d:"small"),align:b,className:A,rootClassName:w,children:j,direction:S="horizontal",prefixCls:C,split:z,style:k,wrap:E=!1,classNames:M,styles:I}=e,O=h(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[N,B]=Array.isArray(v)?v:[v,v],P=(0,i.X)(B),H=(0,i.X)(N),L=(0,i.m)(B),T=(0,i.m)(N),R=(0,c.A)(j,{keepEmpty:!0}),W=void 0===b&&"horizontal"===S?"center":b,G=a("space",C),[D,X,F]=(0,u.A)(G),V=r()(G,g,X,"".concat(G,"-").concat(S),{["".concat(G,"-rtl")]:"rtl"===s,["".concat(G,"-align-").concat(W)]:W,["".concat(G,"-gap-row-").concat(B)]:P,["".concat(G,"-gap-col-").concat(N)]:H},A,w,F),q=r()("".concat(G,"-item"),null!==(n=null===M||void 0===M?void 0:M.item)&&void 0!==n?n:y.item);let _=0;const K=R.map(((e,t)=>{var n;null!==e&&void 0!==e&&(_=t);const a=(null===e||void 0===e?void 0:e.key)||"".concat(q,"-").concat(t);return o.createElement(p,{className:q,key:a,index:t,split:z,style:null!==(n=null===I||void 0===I?void 0:I.item)&&void 0!==n?n:x.item},e)})),U=o.useMemo((()=>({latestIndex:_})),[_]);if(0===R.length)return null;const J={};return E&&(J.flexWrap="wrap"),!H&&T&&(J.columnGap=N),!P&&L&&(J.rowGap=B),D(o.createElement("div",Object.assign({ref:t,className:V,style:Object.assign(Object.assign(Object.assign({},J),f),k)},O),o.createElement(m,{value:U},K)))}));g.Compact=s.Ay;const f=g}}]);
2//# sourceMappingURL=9091.37ed0d0e.chunk.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.