PageSourceSearch

https://apl.ninja/_next/static/chunks/pages/%5Busername%5D/%5Bid%5D-b9088a2b624a9726.js

js apl.ninja collected 2026-10-03 20:45:22 UTC 25,077 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6811],{72034:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[username]/[id]",function(){return r(64091)}])},34209:function(e,t,r){"use strict";var n=r(85893),s=r(94184),i=r.n(s),l=r(9225),o=(r(19409),r(86529));r(16494);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){a(e,t,r[t])}))}return e}function d(e,t){if(null==e)return{};var r,n,s=function(e,t){if(null==e)return{};var r,n,s={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(s[r]=e[r]);return s}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}var u={showAuthor:!0,preloadImages:!1,Template:l.Z},m=function(e){var t=e.carouselState,r=(t.deviceType,t.currentSlide),s=t.totalItems,i=t.slidesToShow;return s<i||s===i?null:(0,n.jsx)("div",{className:"absolute bottom-0 bg-gray-200 rounded h-4 lg:h-2 left-24 right-24 lg:left-12 lg:right-12 lg:hidden",children:(0,n.jsx)("div",{className:"bg-picton-blue-500 rounded absolute top-0 transition-all duration-300 w-0 left-0 h-full",style:{width:"".concat(r/(s-i)*100,"%")}})})},f=function(e){e.carouselState;var t=d(e,["carouselState"]);return(0,n.jsx)("span",c({},t,{className:"absolute bg-opacity-90 text-white cursor-pointer right-0 rounded bg-picton-blue-500 px-4 py-8 hover:bg-picton-blue-600",children:(0,n.jsx)("svg",{style:{width:36,fill:"currentcolor",lineHeight:1,stroke:"currentcolor",strokeWidth:0},version:"1.1",viewBox:"0 0 129 129",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"m40.4 121c-0.8 0.8-1.8 1.2-2.9 1.2s-2.1-0.4-2.9-1.2c-1.6-1.6-1.6-4.2 0-5.8l51-51-51-51c-1.6-1.6-1.6-4.2 0-5.8s4.2-1.6 5.8 0l53.9 53.9c1.6 1.6 1.6 4.2 0 5.8z"})})}))},p=function(e){e.carouselState;var t=d(e,["carouselState"]);return(0,n.jsx)("span",c({},t,{className:"absolute bg-opacity-90 text-white cursor-pointer left-0 rounded bg-picton-blue-500 px-4 py-8 hover:bg-picton-blue-600",children:(0,n.jsx)("svg",{style:{width:36,fill:"currentcolor",lineHeight:1,stroke:"currentcolor",strokeWidth:0},version:"1.1",viewBox:"0 0 129 129",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"m88.5 121c0.8 0.8 1.8 1.2 2.9 1.2s2.1-0.4 2.9-1.2c1.6-1.6 1.6-4.2 0-5.8l-51-51 51-51c1.6-1.6 1.6-4.2 0-5.8s-4.2-1.6-5.8 0l-53.9 53.9c-1.6 1.6-1.6 4.2 0 5.8z"})})}))},h=function(e){var t=e.documents,r=e.showAuthor,s=e.deviceType,l=e.preloadImages,a=e.Template,c={desktop:{breakpoint:{max:9e3,min:1024},items:3,slidesToSlide:3},tablet:{breakpoint:{max:1024,min:580},items:2,slidesToSlide:2,partialVisibilityGutter:24},mobile:{breakpoint:{max:580,min:0},items:1,slidesToSlide:1,partialVisibilityGutter:t.length>1?24:0}};return(0,n.jsx)("div",{className:"pt-12 flex flex-wrap -mx-24 lg:-mx-16 select-none",children:(0,n.jsx)(o.default,{ssr:!0,containerClass:"w-full",sliderClass:i()("!py-16"),customRightArrow:(0,n.jsx)(f,{}),customLeftArrow:(0,n.jsx)(p,{}),itemClass:"px-16 flex items-stretch pb-4",deviceType:s,responsive:c,partialVisible:!0,transitionDuration:300,draggable:"desktop"!==s,removeArrowOnDeviceType:"desktop"!==s?["mobile","tablet"]:[],customButtonGroup:(0,n.jsx)(m,{}),children:t.map((function(e,o,d){return(0,n.jsx)(a,{preloadImage:l&&o<c[s].slidesToSlide,showAuthor:r,className:i()({"mr-16":t.length<2,"md:mr-16":t.length<3,"-mr-16 lg:mr-0":o<d.length-1},"ml-16 lg:ml-0 lg:mr-0"),document:e},e._id)}))})})};h.defaultProps=u,t.Z=h},24177:function(e,t,r){"use strict";var n=r(34051),s=r.n(n),i=r(85893),l=r(94184),o=r.n(l),a=r(67294),c=r(1820),d=r(49218),u=r(96486);function m(e,t,r,n,s,i,l){try{var o=e[i](l),a=o.value}catch(c){return void r(c)}o.done?t(a):Promise.resolve(a).then(n,s)}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){if(null==e)return{};var r,n,s=function(e,t){if(null==e)return{};var r,n,s={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(s[r]=e[r]);return s}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}var h=function(e){var t,r=e.id,n=e.document,l=e.datasources,h=e.sources,x=e.disabled,g=e.className,v=p(e,["id","document","datasources","sources","disabled","className"]),b=(0,c.Z)("/scripts/download.min.js"),j=!x&&!(0,u.isNil)(n)&&!(0,u.isNil)(l)&&!(0,u.isNil)(h),y=(0,a.useCallback)((t=s().mark((function e(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([r?fetch("/api/document/".concat(r,"/download")).catch((function(e){console.error(e)})):Promise.resolve()]);case 2:window.download(JSON.stringify({document:n,datasources:l,sources:h},void 0,2),"apl-ninja.json","text/plain;charset=UTF-8");case 3:case"end":return e.stop()}}),e)})),function(){var e=this,r=arguments;return new Promise((function(n,s){var i=t.apply(e,r);function l(e){m(i,n,s,l,o,"next",e)}function o(e){m(i,n,s,l,o,"throw",e)}l(void 0)}))}),[n,l,h]);return(0,d.y1)("ctrl+shift+d",(function(e){e.preventDefault(),y()}),{enabled:j,enableOnTags:["INPUT","SELECT","TEXTAREA"]},[y]),(0,a.useMemo)((function(){return(0,i.jsx)("span",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}
1)))),n.forEach((function(t){f(e,t,r[t])}))}return e}({className:o()(g,{"opacity-50 cursor-not-allowed":!j||"ready"!==b,"cursor-pointer":j&&"ready"===b}).trim()},v,{onClick:function(){j&&y()},children:"Download"}))}),[b,j,g,y])};h.defaultProps={disabled:!1,datasources:{},sources:{}},t.Z=h},34572:function(e,t,r){"use strict";var n=r(85893),s=r(94184),i=r.n(s),l=function(e){var t=e.classNameCircleOutter,r=e.classNameCircleInner,s=e.active;return(0,n.jsx)("span",{className:i()("rounded-full flex items-center justify-center",t,{"border border-picton-blue-500":s}),children:(0,n.jsx)("span",{className:i()("rounded-full inline-block",r,{"bg-picton-blue-500 border border-picton-blue-500":s})})})};l.defaultProps={classNameCircleOutter:"w-16 h-16",classNameCircleInner:"w-10 h-10",active:!1},t.Z=l},64091:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return U}});var n=r(85893),s=r(94184),i=r.n(s),l=r(48612),o=r(34209),a=r(33270),c=r(24177),d=r(21236),u=r(79016),m=r(65298),f=r(59650),p=r(72193),h=r(47142),x=r(34572),g=r(86666),v=r(47697),b=r(57313),j=r(49909),y=r(28279),w=r(20207),N=r(96486),k=r(9008),O=r(41664),E=r(67294),P=r(26662),A=r.n(P),S=(r(16494),r(99612)),_=r(46616),C=r(87385),L=r(53597),T=r(37332),D=r(16573),Z=r(1020),M=r(48137),I=r(66339);function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function H(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function R(e){return function(e){if(Array.isArray(e))return B(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return B(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return B(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var U=!0;t.default=(0,v.aW)((function(e){var t,r=e.currentDocument,s=e.forkedDocuments,P=e.similiarDocuments,B=e.otherDocuments,U=e.deviceType,z=void 0===U?"desktop":U,W=r.meta,G=r.author,V=r.forkedFrom,X=r._id,q=r.imageLarge,F=(0,E.useState)(!1),K=F[0],Q=F[1],Y=(0,v.KE)(),$=Y.context.device,J=Y.setDevice,ee=Y.replay,te=Y.setData,re=(0,E.useState)(!1),ne=re[0],se=re[1];(0,E.useEffect)((function(){var e,t,n;return!(0,N.isNil)(null===(e=r.meta)||void 0===e?void 0:e.defaultDevice)&&(0,l.a)(null===(t=r.meta)||void 0===t?void 0:t.defaultDevice)?J((0,u._v)(r.meta.defaultDevice)):J((0,u.Qu)((n=null===W||void 0===W?void 0:W.viewportProfiles,(0,N.first)(["HUB_LANDSCAPE_LARGE","HUB_LANDSCAPE_EXTRA_LARGE","HUB_LANDSCAPE_MEDIUM","HUB_LANDSCAPE_SMALL","HUB_ROUND_SMALL","TV_LANDSCAPE_XLARGE","MOBILE_LANDSCAPE_LARGE","MOBILE_LANDSCAPE_MEDIUM","MOBILE_PORTRAIT_SMALL","HUB_PORTRAIT_MEDIUM","HUB_WIDGET_MEDIUM"].reduce((function(e,t){return-1!==n.indexOf(t)?e.concat(t):e}),[]))))),te({document:r.document,datasources:r.datasources,datastoreCommands:r.datastore,mocks:r.mocks}),se(!0),function(){return se(!1)}}),[J,se,r,te]);var ie=(0,E.useMemo)((function(){return u.LY.filter((function(e){var t,r=e.id;return-1!==(null===(t=W.viewportProfiles)||void 0===t?void 0:t.indexOf(r))})).map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){H(e,t,r[t])}))}return e}({},e,{devices:e.devices.filter((function(e){return(0,l.a)(e.id)}))})}))}),[W.viewportProfiles]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(k.default,{children:[(0,n.jsx)("title",{children:(null===W||void 0===W?void 0:W.title)?"".concat(W.title):"APL Ninja | An APL document by ".concat(G.name)}),(0,n.jsx)("link",{rel:"canonical",href:"https://apl.ninja/".concat(G.username,"/").concat(r.url||r.alias)}),(0,n.jsx)("meta",{property:"og:url",content:"https://apl.ninja/".concat(G.username,"/").concat(r.url||r.alias)},"url"),(0,n.jsx)("meta",{property:"og:title",content:(null===W||void 0===W?void 0:W.title)?"".concat(W.title):"APL Ninja | An APL document by ".concat(G.name)}
1,"title"),(0,n.jsx)("meta",{property:"og:image",content:"".concat((0,j.$h)(q,X,!1))},"image")]}),(0,n.jsxs)(p.Z,{children:[(0,n.jsx)(m.Z,{className:"pb-56",waves:!0,navigation:!0,children:(0,n.jsx)("div",{className:"pt-40 pb-100",children:(0,n.jsx)("div",{className:"text-picton-blue-500 py-32 pt-16 relative z-30 bg-contain bg-bottom bg-no-repeat",children:(0,n.jsxs)("div",{className:"container mx-auto px-24 relative",children:[(0,n.jsx)("h1",{className:"text-6xl md:text-7xl mb-20 font-overpass font-black max-w-5xl text-white tracking-tighter",children:(0,w.P4)(W.title||"Untitled")}),(0,n.jsx)(A(),{text:"googleoff: all"}),(0,n.jsxs)("span",{className:"text-white font-semibold text-lg mb-16 block max-w-2xl tracking-tight",children:[(0,n.jsx)(O.default,{href:"/"+G.username,passHref:!0,children:(0,n.jsxs)("a",{className:"group inline-flex underline items-center font-bold",children:[G.name," ",(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",className:"transition-transform duration-150 ml-4 group-hover:translate-x-4 group-focus:transform group-focus:translate-x-4",viewBox:"0 0 24 24",fill:"none",stroke:"#000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:{lineHeight:1,stroke:"currentcolor",width:18},children:[(0,n.jsx)("line",{x1:"4",y1:"12",x2:"20",y2:"12"}),(0,n.jsx)("polyline",{points:"14 6 20 12 14 18"})]})]})})," ",(null===V||void 0===V?void 0:V._id)&&(0,n.jsxs)("span",{className:"block text-gray-500",children:["forked from"," ",(0,n.jsx)(O.default,{href:"/".concat(V.author.username,"/").concat(V.url||V.alias),passHref:!0,children:(0,n.jsxs)("a",{className:"group inline-flex underline items-center font-semibold",children:[V.meta.title," ",(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",className:"transition-transform duration-150 ml-4 group-hover:translate-x-4 group-focus:transform group-focus:translate-x-4",viewBox:"0 0 24 24",fill:"none",stroke:"#000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:{lineHeight:1,stroke:"currentcolor",width:18},children:[(0,n.jsx)("line",{x1:"4",y1:"12",x2:"20",y2:"12"}),(0,n.jsx)("polyline",{points:"14 6 20 12 14 18"})]})]})})]})]}),(0,n.jsx)(A(),{text:"googleon: all"})]})})})}),(0,n.jsxs)("div",{className:"container mx-auto py-48 px-24 -mt-200 relative z-10",children:[(0,n.jsxs)("div",{className:"flex flex-wrap lg:flex-nowrap lg:space-x-48",children:[(0,n.jsxs)("div",{className:"w-full lg:w-4/6 flex flex-col",children:[(0,n.jsx)(A(),{text:"googleoff: all"}),(0,n.jsx)(S.ZP,{handleWidth:!0,handleHeight:!0,children:function(e){var t=e.width,s=e.height;return(0,n.jsx)("div",{className:"mb-16",style:{height:"".concat(t/1.454713493530499,"px")},children:ne?(0,n.jsx)(l.Z,{widgetPlaceholders:!0,document:r.document,datastoreCommands:r.datastore,datasources:r.datasources,mocks:r.mocks,width:t,height:s}):(0,n.jsx)(n.Fragment,{})})}}),(0,n.jsxs)("div",{className:"flex w-full mb-16 items-center",children:[(0,n.jsxs)("button",{className:"inline-flex items-center text-md cursor-pointer focus:outline-none",onClick:function(){ee()},children:[(0,n.jsx)("svg",{"aria-hidden":"true",className:"w-32 mr-10 text-picton-blue-500",focusable:"false",version:"1.1",viewBox:"0 0 250 250",xmlns:"http://www.w3.org/2000/svg",style:{fill:"currentcolor",lineHeight:1,stroke:"currentcolor",strokeWidth:4},children:(0,n.jsx)("path",{d:"m114 241c-6.54-0.654-19.7-4.09-27.2-7.11-16.2-6.5-32.8-19.5-43.5-34-9.39-12.6-16.4-29.8-18.7-46-1.57-10.8-0.624-28.5 2.09-39 4.7-18.1 12.8-32.4 25.9-45.8 17.9-18.2 38.6-28.1 63.9-30.5 5.05-0.479 9.74-0.87 10.4-0.871 0.687-3.95e-4 -4.05-5.35-10.5-11.9-6.48-6.54-11.8-12.5-11.8-13.1 0-2.36 2.63-5.07 4.91-5.07 1.76 0 6.08 3.83 20.4 18l18.1 18-18.1 18.1c-14.4 14.4-18.6 18.1-20.4 18.1-2.32 0-4.95-2.69-4.95-5.07 0-0.687 5.68-6.98 12.6-14 6.94-7 12.4-13 12-13.3-1.13-1.13-21.7 1.37-29.2 3.56-33.9 9.83-59.5 38.2-65.5 72.6-8.32 47.5 21.1 93 68.2 106 7.38 1.97 9.98 2.23 22.5 2.23 12.5 0 15.1-0.257 22.5-2.23 41.3-11 69.5-47.2 69.5-89.2 0-28.1-11-51.8-33.3-71.6-3.92-3.49-4.68-6.34-2.3-8.71 2.09-2.09 4.16-1.63 8.68 1.94 15.1 12 28.1 32.7 33.6 53.4 2.65 10.2 3.58 28 2.03 38.7-5.71 39.1-32.9 71-70.6 82.9-12.6 3.98-27.8 5.52-41.2 4.19z"})})," ",(0,n.jsx)("span",{className:"select-none",children:"Replay"})]}),ie.length>1&&ne&&(0,n.jsxs)("div",{className:"inline-flex relative pr-20 ml-32",children:[(0,n.jsxs)("button",{className:"text-md cursor-pointer inline-flex items-center focus:outline-none",onClick:function(){Q(!0)},children:[(0,n.jsx)("svg",{"aria-hidden":"true",className:"w-32 mr-10 text-picton-blue-500",focusable:"false",version:"1.1",viewBox:"0 0 250 250",xmlns:"http://www.w3.org/2000/svg",style:{fill:"currentcolor",lineHeight:1,stroke:"currentcolor",strokeWidth:2},children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"m4 188v-31.2h105v62.5h-105zm121 27.4v-7.81h50.9v-86.1h-160v19.6h-11.6v-31.2h184v109h-62.5zm78.1 0v-7.81h31.3v-164h-219v50.9h-11.6v-62.5h242v187h-42.9z"})})})," ",(0,n.jsx)("span",{className:"select-none",children:$.name})]}),(0,n.jsxs)(d.h_,{align:"custom",className:"top-0 left-full z-999",initialMenu:"viewports",closeDropdown:function(){Q(!1)},visible:K,children:[(0,n.jsx)(d.Qk,{id:"viewports",children:ie.map((function(e){var t=e.name,r=e.id;return(0,n.jsxs)(d.Xi,{goTo:r,children:[t,(0,u.Vt)($.id).id===r&&(0,n.jsx)("span",{className:"text-xs text-gray-600 block",children:$.name})]},r)}))}),ie.map((function(e){var t=e.id,r=e.name,s=e.devices;return(0,n.jsx)(d.Qk,{name:r,id:t,children:s.map((function(e){return(0,n.jsx)(d.Xi,{hover:!0,className:"flex-wrap",onClick:function(){J(e)},children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(x.Z,{classNameCircleOutter:"w-16 h-16 mr-12",active:$.id===e.id})," ",e.name,e.description&&(0,n.jsx)("span",{className:"block w-full text-gray-600 text-xs pl-28",style:{paddingLeft:"28px"},children:e.description})]})},e.id)}))},t)}))]})]})]}),(0,n.jsx)(A(),{text:"googleon: all"}),(0,n.jsx)(h.Z,{markdown:W.description,className:"text-md"})]}),(0,n.jsx)("div",{className:"w-full lg:w-2/6 mt-48 lg:mt-0 lg:relative text-md",children:(0,n.jsxs)("div",{className:"lg:sticky lg:top-24 lg:p-24 lg:rou
1nded lg:shadow-card lg:bg-white",children:[(0,n.jsx)(c.Z,{id:r._id,document:y.i.parse(r.document,{keepWsc:!1}),sources:y.i.parse(r.sources,{keepWsc:!1}),datasources:y.i.parse(r.datasources,{keepWsc:!1}),className:"transition-all border-2 border-picton-blue-500 duration-300 block cursor-pointer text-center hover:border-picton-blue-600 bg-picton-blue-500 items-center hover:bg-picton-blue-600 text-white px-20 py-12 rounded"}),(0,n.jsx)(O.default,{href:"/document/".concat(G.username,"/").concat(r.url||r.alias),passHref:!0,children:(0,n.jsx)("a",{className:"mt-16 block cursor-pointer border-2 rounded border-gray-500 text-gray-600 text-center py-12 px-20 hover:bg-gray-500 hover:text-white transition-all duration-300",children:"Open in Editor"})}),(0,n.jsxs)("div",{className:"flex items-stretch w-full space-x-12 mt-30",children:[(0,n.jsxs)("div",{className:"inline-flex items-center text-sm",children:[(0,n.jsx)("img",{src:"/images/downloads.svg",className:"opacity-50 mr-8",style:{width:"30px"}}),r.downloads]}),(0,n.jsx)(g.Z,{document:r,className:"opacity-50 mr-8",textClassName:"text-sm"}),(0,n.jsxs)("div",{className:"inline-flex items-center text-sm",children:[(0,n.jsx)("img",{src:"/images/comment.svg",className:"opacity-50 mr-8",style:{width:"30px"}}),null===(t=r.comments)||void 0===t?void 0:t.total]}),(0,n.jsx)(f.Z,{document:r,textClassName:"text-sm"})]}),(0,n.jsxs)("div",{className:"mt-30",children:[(0,n.jsx)("strong",{className:"font-medium mb-12 block",children:"Share"}),(0,n.jsxs)("div",{className:"space-x-12",children:[(0,n.jsx)(_.Z,{title:r.meta.title,via:"aplninja",url:"https://apl.ninja/".concat(r.alias),related:["aplninja"],hashtags:["APLNinja","Alexa","APL"],children:(0,n.jsx)(C.Z,{size:32,round:!0})}),(0,n.jsx)(L.Z,{title:r.meta.title,url:"https://apl.ninja/".concat(r.alias),children:(0,n.jsx)(T.Z,{size:32,round:!0})}),(0,n.jsx)(D.Z,{quote:r.meta.title,url:"https://apl.ninja/".concat(r.alias),children:(0,n.jsx)(Z.Z,{size:32,round:!0})}),(0,n.jsx)(M.Z,{subject:r.meta.title,body:"",url:"https://apl.ninja/".concat(r.alias),children:(0,n.jsx)(I.Z,{size:32,round:!0})})]})]}),(0,n.jsxs)("div",{className:"mt-24",children:[(0,n.jsx)("strong",{className:"font-medium mb-12 block",children:"Supported Viewport Profiles"}),(0,n.jsx)("ul",{children:u.LY.filter((function(e){var t,r=e.id;return-1!==(null===(t=W.viewportProfiles)||void 0===t?void 0:t.indexOf(r))})).map((function(e,t){var r=e.id,s=e.name;return(0,n.jsxs)("li",{className:i()("flex items-center",{"mt-6":!!t}),children:[(0,n.jsx)("img",{src:"/images/checkmark.svg",className:"mr-12",style:{width:"16px"}})," ",s]},"viewportProfile"+r)}))})]}),W.minimumRuntimeVersion&&(0,n.jsxs)("div",{className:"mt-24",children:[(0,n.jsx)("strong",{className:"font-medium mb-12 block",children:"Minimum required APL version"}),W.minimumRuntimeVersion]}),(0,n.jsxs)("div",{className:"mt-24",children:[(0,n.jsx)("strong",{className:"font-medium mb-12 block",children:"Tags"}),R(W.tags).concat(R(W.staticTags)).map((function(e,t){return(0,n.jsx)(O.default,{href:"/explore?q=tag:"+encodeURIComponent(e),passHref:!0,children:(0,n.jsx)("a",{className:"mr-8 mt-8 relative text-sm inline-flex items-center leading-sm px-10 py-8 rounded bg-gray-100 text-gray-700 border hover:bg-picton-blue-500 hover:text-white",children:e})},"tagName"+t)}))]})]})})]}),(!!s.length||!!P.length||!!B.length)&&(0,n.jsxs)("div",{className:"mt-60",children:[!!s.length&&(0,n.jsxs)("div",{className:"mt-32",children:[(0,n.jsx)("h2",{className:"text-5xl md:text-6xl font-overpass font-black tracking-tighter",children:"Based on this document"}),(0,n.jsx)(o.Z,{documents:s,deviceType:z})]}),!!P.length&&(0,n.jsxs)("div",{className:"mt-32",children:[(0,n.jsx)("h2",{className:"text-5xl md:text-6xl font-overpass font-black tracking-tighter",children:"Related documents"}),(0,n.jsx)(o.Z,{documents:P,deviceType:z})]}),!!B.length&&(0,n.jsxs)("div",{className:"mt-32",children:[(0,n.jsxs)("div",{className:"flex flex-col lg:flex-row",children:[(0,n.jsxs)("h2",{className:"text-5xl md:text-6xl font-overpass font-black tracking-tighter",children:["More from"," ",(0,n.jsx)("span",{className:"block text-transparent bg-clip-text bg-gradient-to-br from-picton-blue-400 to-picton-blue-600",children:G.name})]}),(0,n.jsx)("div",{className:"mt-16 lg:mt-0 lg:flex lg:items-end lg:ml-auto",children:(0,n.jsx)(O.default,{href:"/"+G.username,passHref:!0,children:(0,n.jsxs)("a",{title:"More from ".concat(G.name),className:"group inline-flex text-md font-bold underline items-center",children:["Explore all documents from ",G.name," ",(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",className:"transition-transform duration-150 ml-4 group-hover:translate-x-4 group-focus:transform group-focus:translate-x-4",viewBox:"0 0 24 24",fill:"none",stroke:"#000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:{lineHeight:1,stroke:"currentcolor",width:18},children:[(0,n.jsx)("line",{x1:"4",y1:"12",x2:"20",y2:"12"}),(0,n.jsx)("polyline",{points:"14 6 20 12 14 18"})]})]})})})]}),(0,n.jsx)(o.Z,{documents:B,deviceType:z,showAuthor:!1})]})]}),(0,n.jsx)(b.XT,{document:r,children:(0,n.jsx)(a.Z,{})})]})]})]})}))},24561:function(e,t,r){"use strict";var n=r(67294),s=function(){return(s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)};var i=function(e){var t=e.animate,r=e.backgroundColor,i=e.backgroundOpacity,l=e.baseUrl,o=e.children,a=e.foregroundColor,c=e.foregroundOpacity,d=e.gradientRatio,u=e.gradientDirection,m=e.uniqueKey,f=e.interval,p=e.rtl,h=e.speed,x=e.style,g=e.title,v=e.beforeMask,b=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(e,n[s])&&(r[n[s]]=e[n[s]])}return r}(e,["animate","backgroundColor","backgroundOpacity","baseUrl","children","foregroundColor","foregroundOpacity","gradientRatio","gradientDirection","uniqueKey","interval","rtl","speed","style","title","beforeMask"]),j=m||Math.random().toString(36).substring(6),y=j+"-diff",w=j+"-animated-diff",N=j+"-aria",k=p?{transform:"scaleX(-1)"}:null,O="0; "+f+"; 1",E=h+"s",P="top-bottom"===u?"rotate(90)":void 0;return(0,n.createElement)("svg",s({"aria-labelledby":N,role:"img",style:s(s({},x),k)},b),g?(0,n.createElement)("title",{id:N},g):null,v&&(0,n.isValidElement)(v)?v:null,(0,n.createElement)("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url("+l+"#"+y+")",style:{fill:"url("+l+"#"+w+")"}}),(0,n.createElement)("defs",null,(0,n.createElement)("clipPath",{id:y},o),(0,n.createElement)("linearGradient",{id:w,gradientTransform:P},(0,n.createElement)("stop",{offset:"0%",stopColor:r,stopOpacity:i},t&&(0,n.createElement)("animate",{attributeName:"offset",values:-d+"; "+-d+";
1 1",keyTimes:O,dur:E,repeatCount:"indefinite"})),(0,n.createElement)("stop",{offset:"50%",stopColor:a,stopOpacity:c},t&&(0,n.createElement)("animate",{attributeName:"offset",values:-d/2+"; "+-d/2+"; "+(1+d/2),keyTimes:O,dur:E,repeatCount:"indefinite"})),(0,n.createElement)("stop",{offset:"100%",stopColor:r,stopOpacity:i},t&&(0,n.createElement)("animate",{attributeName:"offset",values:"0; 0; "+(1+d),keyTimes:O,dur:E,repeatCount:"indefinite"})))))};i.defaultProps={animate:!0,backgroundColor:"#f5f6f7",backgroundOpacity:1,baseUrl:"",foregroundColor:"#eee",foregroundOpacity:1,gradientRatio:2,gradientDirection:"left-right",id:null,interval:.25,rtl:!1,speed:1.2,style:{},title:"Loading...",beforeMask:null};var l=function(e){return e.children?(0,n.createElement)(i,s({},e)):(0,n.createElement)(o,s({},e))},o=function(e){return(0,n.createElement)(l,s({viewBox:"0 0 476 124"},e),(0,n.createElement)("rect",{x:"48",y:"8",width:"88",height:"6",rx:"3"}),(0,n.createElement)("rect",{x:"48",y:"26",width:"52",height:"6",rx:"3"}),(0,n.createElement)("rect",{x:"0",y:"56",width:"410",height:"6",rx:"3"}),(0,n.createElement)("rect",{x:"0",y:"72",width:"380",height:"6",rx:"3"}),(0,n.createElement)("rect",{x:"0",y:"88",width:"178",height:"6",rx:"3"}),(0,n.createElement)("circle",{cx:"20",cy:"20",r:"20"}))};t.ZP=l}},function(e){e.O(0,[1893,4028,5675,1298,9612,8409,622,4056,6662,3891,8174,8612,9225,3059,9774,2888,179],(function(){return t=72034,e(e.s=t);var t}));var t=e.O();_N_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.