PageSourceSearch

https://www.smartnotepad.ai/_next/static/chunks/228-0847fcd20da32267.js

js smartnotepad.ai collected 2026-10-05 15:06:35 UTC 7,593 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[228],{2743:()=>{},5228:(e,t,s)=>{"use strict";s.d(t,{A:()=>h});var n=s(7876),r=s(4232),i=s(5062),l=s.n(i);s(2743);let o=e=>{let{columns:t,groups:s}=e;return(0,n.jsx)("div",{className:"blog-table-container",children:(0,n.jsxs)("table",{className:"blog-table",children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{}),t.map((e,t)=>(0,n.jsx)("th",{className:e.logo?"transkriptor-header":"competitor-header",children:e.logo?(0,n.jsx)("img",{src:e.logo,alt:e.label,style:{height:24,verticalAlign:"middle"}}):e.label},t))]})}),(0,n.jsx)("tbody",{children:s.map((e,s)=>(0,n.jsxs)(r.Fragment,{children:[(0,n.jsx)("tr",{className:"group-row",children:(0,n.jsx)("td",{colSpan:t.length+1,className:"group-title",children:e.group})}),e.criteria.map((e,s)=>(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:"criteria-label",children:e.label}),t.map((t,s)=>{let r=e[t.label.toLowerCase().replace(/\s+/g,"_")];return void 0===r&&void 0!==e[t.label]&&(r=e[t.label]),("check"===r||"✅"===r)&&(r="✅"),("cross"===r||"❌"===r)&&(r="❌"),(0,n.jsx)("td",{className:"criteria-value",children:void 0!==r?r:""},s)})]},s))]},s))})]})})};o.propTypes={columns:l().array.isRequired,groups:l().array.isRequired},s(7440);let a=e=>{let{table:t}=e,[s,i]=(0,r.useState)(!1),l=(0,r.useRef)(null);if(!t||!t.header||!t.rows)return null;let o=(0,n.jsx)("button",{onClick:()=>i(!0),style:{position:"absolute",top:8,right:8,zIndex:10,background:"rgba(255,255,255,0.9)",border:"none",borderRadius:"50%",width:36,height:36,display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 1px 4px rgba(0,0,0,0.08)",cursor:"pointer",padding:0},"aria-label":"Open fullscreen table",children:(0,n.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M3 8V3H8",stroke:"#333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M17 8V3H12",stroke:"#333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M3 12V17H8",stroke:"#333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M17 12V17H12",stroke:"#333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}),a=(0,n.jsx)("div",{className:"custom-table-wrapper",children:(0,n.jsxs)("table",{className:"custom-table",children:[(0,n.jsx)("thead",{children:(0,n.jsx)("tr",{children:t.header.map((e,t)=>(0,n.jsx)("th",{children:e},t))})}),(0,n.jsx)("tbody",{children:t.rows.map((e,t)=>(0,n.jsx)("tr",{children:e.map((e,t)=>(0,n.jsx)("td",{children:e},t))},t))})]})});return(0,n.jsxs)("div",{style:{position:"relative"},children:[o,a,s&&(0,n.jsx)("div",{style:{position:"fixed",top:0,left:0,width:"100vw",height:"100vh",background:"rgba(0,0,0,0.7)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:2e3},onClick:e=>{l.current&&!l.current.contains(e.target)&&i(!1)},children:(0,n.jsxs)("div",{ref:l,style:{position:"relative",background:"#fff",padding:32,borderRadius:10,maxHeight:"90vh",maxWidth:"95vw",overflow:"auto",minWidth:320,boxShadow:"0 2px 32px rgba(0,0,0,0.25)",width:"fit-content"},onClick:e=>e.stopPropagation(),children:[(0,n.jsx)("button",{onClick:()=>i(!1),style:{position:"absolute",top:12,right:12,zIndex:10,background:"rgba(255,255,255,0.9)",border:"none",borderRadius:"50%",width:36,height:36,display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 1px 4px rgba(0,0,0,0.08)",cursor:"pointer",padding:0},"aria-label":"Close fullscreen table",children:(0,n.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("line",{x1:"5",y1:"5",x2:"15",y2:"15",stroke:"#333",strokeWidth:"2",strokeLinecap:"round"}),(0,n.jsx)("line",{x1:"15",y1:"5",x2:"5",y2:"15",stroke:"#333",strokeWidth:"2",strokeLinecap:"round"})]})}),a]})})]})};a.propTypes={table:l().shape({header:l().arrayOf(l().string).isRequired,rows:l().arrayOf(l().arrayOf(l().string)).isRequired}).isRequired};let c=e=>{let{content:t,lang:s,blogPostUrls:r}=e,i=Array.isArray(t)?t:[];return(0,n.jsx)(n.Fragment,{children:i.map((e,t)=>{if(e.p)return(0,n.jsx)("p",{children:d(e.p,s,r)},t);if(e.h2){let i=e.id||e.h2.toLowerCase().replace(/\s+/g,"-");return(0,n.jsxs)("div",{children:[(0,n.jsx)("h2",{id:i,style:{paddingTop:"1rem",paddingBottom:"0.67rem"},children:d(e.h2,s,r)}),e.sections&&(0,n.jsx)(c,{content:e.sections,lang:s,blogPostUrls:r})]},t)}if(e.h3)return(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{id:e.id,style:{paddingTop:"0.75rem",paddingBottom:"0.5rem"},children:d(e.h3,s,r)}),e.sections&&(0,n.jsx)(c,{content:e.sections,lang:s,blogPostUrls:r})]},t);
1if(e.h4){let i=e.id||e.h4.toLowerCase().replace(/\s+/g,"-");return(0,n.jsxs)("div",{children:[(0,n.jsx)("h4",{id:i,style:{paddingTop:"0.5rem",paddingBottom:"0.33rem"},children:d(e.h4,s,r)}),e.sections&&(0,n.jsx)(c,{content:e.sections,lang:s,blogPostUrls:r})]},t)}return e.info?(0,n.jsxs)("div",{className:"info-callout",children:[(0,n.jsx)("h5",{className:"info-heading",children:d(e.info,s,r)}),e.sections&&(0,n.jsx)(c,{content:e.sections,lang:s,blogPostUrls:r})]},t):e.ol?(0,n.jsx)("ol",{children:(0,n.jsx)(c,{content:e.ol.sections,lang:s,blogPostUrls:r})},t):e.ul?(0,n.jsx)("ul",{children:(0,n.jsx)(c,{content:e.ul.sections,lang:s,blogPostUrls:r})},t):e.li?"object"==typeof e.li&&e.li.sections?(0,n.jsx)("li",{children:(0,n.jsx)(c,{content:e.li.sections,lang:s,blogPostUrls:r})},t):(0,n.jsx)("li",{children:d(e.li,s,r)},t):e.table?(0,n.jsx)(a,{table:e.table},t):e.img?(0,n.jsx)("img",{src:"/images/".concat(e.img.id,".jpg"),alt:e.img.id,style:{maxWidth:"100%",height:"auto"}},t):e.cta?(0,n.jsxs)("button",{className:"cta-button",children:["Call to Action: ",e.cta.id]},t):e.html?(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:e.html}},t):e.blogComparisonTable?(0,n.jsx)("div",{className:"blog-table-wrapper",children:(0,n.jsx)(o,{columns:e.blogComparisonTable.columns,groups:e.blogComparisonTable.groups})},t):null})})};function d(e,t,s){let r,i="https://www.smartnotepad.ai",l=[],o=0,a=/\[([^\]]+)\]\[(strong|italic|highlight|link:[^\]]+)\]/g;for(;null!==(r=a.exec(e));){let a=r.index,c=r[0],d=r[1],h=r[2];if(o<a&&l.push(e.slice(o,a)),"strong"===h)l.push((0,n.jsx)("strong",{children:d},a));else if("italic"===h)l.push((0,n.jsx)("em",{children:d},a));else if("highlight"===h)l.push((0,n.jsx)("span",{style:{color:"var(--theme-color)"},children:d},a));else if(h.startsWith("link:")){let e=h.slice(5);if("/"===e)l.push(d);else{let r,o=e;if(e.startsWith("http"))try{let s=new URL(e),n=s.hostname;if("smartnotepad.ai"===n||"www.smartnotepad.ai"===n)o=s.pathname;else if("app.smartnotepad.ai"===n)if("en"===t)r=e;else{let s=e.includes("?")?"&":"?";r="".concat(e).concat(s,"lang=").concat(t)}else r=e}catch(t){r=e}if(!r)if((o=o.replace(/^\/|\/$/g,"")+"/").startsWith("app/"))if("en"===t)r=e;else{let s=e.includes("?")?"&":"?";r="".concat(e).concat(s,"lang=").concat(t)}else if("/"===o)r="en"===t?"".concat(i,"/"):"".concat(i,"/").concat(t,"/");else if(s&&s[o]){let e=s[o][t];r=e?"en"===t?"".concat(i,"/").concat(o):"".concat(i,"/").concat(t,"/").concat(e):"".concat(i,"/").concat(o)}else r="en"===t?"".concat(i,"/").concat(o):"".concat(i,"/").concat(t,"/").concat(o);l.push((0,n.jsx)("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"text-decoration-none text-primary",children:d},a))}}o=a+c.length}return o<e.length&&l.push(e.slice(o)),l}c.propTypes={content:l().array.isRequired,lang:l().string.isRequired,blogPostUrls:l().object};let h=c},7440:()=>{}}]);

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.