PageSourceSearch

https://www.aos.org/_next/static/chunks/6199-34003a3bf40dbd29.js

js aos.org collected 2026-10-01 11:51:58 UTC 10,670 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6199],{6269:(e,i,t)=>{t.d(i,{A:()=>x});var a=t(37876);t(14232);var n=t(80427),r=t(30997),o=t(49289),l=t(38465);let d=()=>(0,a.jsx)(s,{className:"form-block",children:(0,a.jsx)(o.l1,{onSubmit:console.info,initialValues:{itemsPerPage:"20"},children:({handleSubmit:e,handleChange:i,values:t})=>(0,a.jsx)(l.A,{className:"form form-pagination-filter",noValidate:!0,onSubmit:e,autoComplete:"off",children:(0,a.jsxs)(l.A.Group,{className:"form-group",children:[(0,a.jsx)(l.A.Label,{children:"Items per page"}),(0,a.jsxs)(l.A.Select,{name:"itemsPerPage",onChange:e=>{i(e)},value:t.itemsPerPage,children:[(0,a.jsx)("option",{value:"10",children:"10"}),(0,a.jsx)("option",{value:"20",children:"20"}),(0,a.jsx)("option",{value:"50",children:"50"}),(0,a.jsx)("option",{value:"100",children:"100"})]})]})})})}),s=n.Ay.div.withConfig({componentId:"sc-53194e1-0"})([".form-pagination-filter{.form-group{display:flex;align-items:center;}.form-label{flex-shrink:0;order:2;color:var(--textColor);font-family:var(--font-inter);font-size:16px;font-style:normal;font-weight:400;line-height:160%;margin:0 0 0 15px;@media (max-width:991px){display:none;}}.form-select{order:1;height:40px;min-width:100px;cursor:pointer;@media (max-width:991px){min-width:90px;}@media (max-width:767px){min-width:70px;height:35px;font-size:15px;padding:0 15px;}}}"]),x=e=>{let{items:i,currentPage:t,pageSize:n,onPageChange:o,alignment:l="center",perPage:s=!1}=e,x=Array.from(Array(Math.ceil(i/n)||0).keys());return(0,a.jsx)(a.Fragment,{children:i>n&&(0,a.jsxs)(c,{className:`pagination-b alignment-${l}`,children:[(0,a.jsxs)(r.A,{children:[(0,a.jsx)(r.A.First,{className:"arrow",disabled:t==x[0],onClick:()=>o(x[0]),children:(0,a.jsxs)("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M1 5L10 10V0L1 5Z",fill:"#231813"}),(0,a.jsx)("path",{d:"M1 3.93402e-07H0V10H1V3.93402e-07Z",fill:"#231813"})]})}),(0,a.jsx)(r.A.Prev,{className:"arrow",disabled:t==x[0],onClick:()=>o(t-1),children:(0,a.jsx)("svg",{width:"9",height:"10",viewBox:"0 0 9 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M2.18557e-07 5L9 10L9 -3.93402e-07L2.18557e-07 5Z",fill:"#231813"})})}),x?.length<=8&&x?.map(e=>(0,a.jsx)(r.A.Item,{active:e===t,onClick:()=>o(e),children:e+1},e)),x?.length>8&&(0,a.jsxs)(a.Fragment,{children:[x?.slice(0,t<3?3:1).map(e=>(0,a.jsx)(r.A.Item,{active:e===t,onClick:()=>o(e),children:e+1},e)),(0,a.jsx)(r.A.Ellipsis,{}),t>2&&t<x.length-3&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.A.Item,{onClick:()=>o(t-1),children:t}),(0,a.jsx)(r.A.Item,{active:!0,onClick:()=>o(t),children:t+1}),(0,a.jsx)(r.A.Item,{onClick:()=>o(t+2),children:t+2}),(0,a.jsx)(r.A.Ellipsis,{})]}),x?.slice(t>=x.length-3?x.length-3:x.length-1,x.length).map(e=>(0,a.jsx)(r.A.Item,{active:e===t,onClick:()=>o(e),children:e+1},e))]}),(0,a.jsx)(r.A.Next,{className:"arrow",disabled:t==x.length-1,onClick:()=>o(t+1),children:(0,a.jsx)("svg",{width:"9",height:"10",viewBox:"0 0 9 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M9 5L-4.37114e-07 10L0 -3.93402e-07L9 5Z",fill:"#231813"})})}),(0,a.jsx)(r.A.Last,{className:"arrow",disabled:t==x.length-1,onClick:()=>o(x.length-1),children:(0,a.jsxs)("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M9 5L0 10L4.37114e-07 0L9 5Z",fill:"#231813"}),(0,a.jsx)("path",{d:"M9 3.93402e-07H10V10H9V3.93402e-07Z",fill:"#231813"})]})})]}),s&&(0,a.jsx)(d,{})]})})},c=n.Ay.div.withConfig({componentId:"sc-b371efda-0"})(["margin-top:60px;text-align:center;display:flex;align-items:center;@media (max-width:1199px){margin-top:50px;}@media (max-width:767px){margin-top:40px;}@media (max-width:480px){margin-top:30px;}&.alignment-center{justify-content:center;}&.alignment-left{justify-content:flex-start;}&.alignment-right{justify-content:flex-end;}.form-block{margin-left:25px;@media (max-width:991px){margin-left:15px;}@media (max-width:767px){margin-left:10px;}@media (max-width:575px){display:none;}}.pagination{flex-wrap:wrap;margin-bottom:0;.page-link{width:40px;height:40px;line-height:28px;padding:5px;font-size:16px;text-align:center;border-radius:3px;color:var(--textColor);border:1px solid #efe9e3;@media (max-width:767px){width:35px;height:35px;line-height:23px;font-size:15px;}@media (max-width:480px){width:30px;font-size:14px;}}.page-item{margin:5px;@media (max-width:480px){margin:3px;}}.page-link.active,.active > .page-link,.page-link:hover{color:var(--textColor);background-color:var(--whiteBgSecondary);border-color:#efe9e3;}.page-link.disabled,.disabled > .page-link{background-color:transparent;border-color:var(--whiteBgSecondary);span{opacity:0.5;}}.page-item.arrow{.page-link{color:var(--titleColor);}&.disabled{.page-link{color:var(--textColor);}}}}"])},14849:(e,i,t)=>{t.d(i,{A:()=>s});var a=t(37876),n=t(14232),r=t(80427),o=t(49289),l=t(38465),d=t(89099);let s=e=>{let{setFilter:i,layout:t=1,initialOrder:r="relevance"}=e,s=(0,d.useRouter)(),{query:c}
1=s,[p,h]=(0,n.useState)("relevance");return(0,n.useEffect)(()=>{h(c.order||r)},[c]),(0,a.jsx)(x,{className:"form-block",children:(0,a.jsx)(o.l1,{onSubmit:console.info,initialValues:{orderBy:c?.order||"recent"},children:({handleSubmit:e,handleChange:n,values:r})=>(0,a.jsx)(l.A,{className:"form form-post-order-by",noValidate:!0,onSubmit:e,autoComplete:"off",children:(0,a.jsxs)(l.A.Group,{className:"form-group",children:[(0,a.jsx)(l.A.Label,{children:"Order by:"}),1==t&&(0,a.jsxs)(l.A.Select,{name:"orderBy",onChange:e=>{n(e);let i=new URL(location.origin+s.asPath);i.searchParams.set("order",`${e.target.value}`),h(e.target.value),s.push(`${i.search}`)},value:p||r.orderBy,children:[(0,a.jsx)("option",{value:"az",children:"Alphabetical (A -Z)"}),(0,a.jsx)("option",{value:"recent",children:"Most Recent"}),(0,a.jsx)("option",{value:"relevance",children:"Relevance"})]}),2==t&&(0,a.jsxs)(l.A.Select,{name:"orderBy",onChange:e=>{n(e),i(e.target.value)},value:r.orderBy,children:[(0,a.jsx)("option",{value:"az",children:"Alphabetical (A -Z)"}),(0,a.jsx)("option",{value:"recent",children:"Most Recent"})]})]})})})})},x=r.Ay.div.withConfig({componentId:"sc-559c481b-0"}
1)([".form-post-order-by{.form-group{display:flex;align-items:center;}.form-label{flex-shrink:0;margin:0 20px 0 0;@media (max-width:767px){margin:0 15px 0 0;}}.form-select{height:41px;background-color:var(--whiteBgSecondary);padding-right:40px;@media (min-width:576px){min-width:200px;}}}"])},22868:(e,i,t)=>{t.d(i,{A:()=>l});var a=t(37876);t(14232);var n=t(48230),r=t.n(n),o=t(80427);let l=e=>{let{url:i,children:t,size:n,onClick:o,target:l="_self"}=e,s=e.className||"";return(0,a.jsx)(d,{onClick:o,className:`button-b ${"button-disabled"===s?"button-disabled":""}`,children:i?(0,a.jsx)(r(),{href:i,legacyBehavior:!0,children:(0,a.jsx)("a",{className:`button button--${n||"default"} ${s}`,target:l,children:t})}):(0,a.jsx)("a",{className:`button button--${n||"default"} ${s}`,children:t})})},d=o.Ay.div.withConfig({componentId:"sc-7888eeb2-0"})([".button{display:inline-block;font-weight:400;font-size:18px;line-height:26px;text-align:center;cursor:pointer;border-radius:3px;letter-spacing:0.01em;text-transform:uppercase;color:var(--titleColor);padding:15px 20px;text-decoration:none;outline:none;border:1px solid var(--accentColorTertiary);background-color:var(--accentColorTertiary);transition:color 0.3s ease,background-color 0.3s ease,border 0.3s ease;@media (max-width:767px){font-size:17px;line-height:24px;}@media (max-width:575px){font-size:16px;line-height:22px;padding:13px 20px;}@media (max-width:480px){font-size:14px;line-height:18px;padding:11px 15px;}&--sm{font-size:14px;line-height:18px;padding:10px 15px;@media (max-width:480px){font-size:13px;line-height:16px;padding:10px 15px;}}&--md{font-size:16px;line-height:22px;padding:13px 20px;@media (max-width:575px){font-size:15px;line-height:20px;}@media (max-width:480px){font-size:14px;line-height:18px;padding:11px 15px;}}&--large,&--lg{font-size:20px;line-height:30px;padding:15px 25px;@media (max-width:575px){font-size:17px;line-height:20px;}@media (max-width:480px){font-size:15px;line-height:18px;}}&--xl{font-size:22px;line-height:34px;padding:20px 30px;@media (max-width:991px){font-size:20px;line-height:30px;}@media (max-width:575px){font-size:18px;line-height:22px;}@media (max-width:480px){font-size:16px;line-height:18px;}}&--fullwidth{width:100%;}&:hover{color:#fff;border-color:var(--accentColorPrimary);background-color:var(--accentColorPrimary);}&--flat{background-color:transparent;&:hover{color:var(--titleColor);background-color:var(--accentColorTertiary);border-color:var(--accentColorTertiary);}}&--alt{background-color:#e8e2da;border-color:#e8e2da;&:hover{color:var(--titleColor);border:1px solid var(--accentColorTertiary);background-color:var(--accentColorTertiary);}}&.disabled{background-color:#f0edea;border-color:#f0edea;color:#b7b0a8;pointer-events:none;user-select:none;}.button-icon{margin-right:10px;@media (max-width:575px){margin-right:5px;}@media (max-width:480px){display:none;}}}"])},46916:(e,i,t)=>{t.d(i,{d:()=>a});let a=e=>"string"!=typeof e?e:e.replaceAll("\n","</br>")},62059:(e,i,t)=>{t.d(i,{A:()=>x});var a=t(37876);t(14232);var n=t(56311),r=t(80427),o=t(43135),l=t(22868),d=t(46916),s=t(54207);let x=e=>{let{title:i,text:t,button:r,children:x,h1:p=!1}=e,h=e.className||"",m=e.id||"";return(0,a.jsxs)(c,{className:`page-section section-padding section-container ${h}`,id:`${m}`,children:[(0,a.jsx)("div",{className:"page-section__background"}),(0,a.jsxs)(o.A,{children:[i&&(0,a.jsxs)("div",{className:"page-section__header",children:[p?(0,a.jsx)("h1",{className:"h2",children:i}):(0,a.jsx)("h2",{children:i}),t&&(0,a.jsx)("div",{className:"text",dangerouslySetInnerHTML:{__html:(0,d.d)(t)}})]}),(0,a.jsxs)("div",{className:"page-section__body",children:[x,r?.label&&(0,a.jsx)("div",{className:"cta",children:(0,a.jsx)(l.A,{url:n.z(r.link,s.L8)||"/",children:r.label})})]})]})]})},c=r.Ay.section.withConfig({componentId:"sc-16a72ed8-0"})(["& > .page-section__background{background-color:#fff;}&.main-bg{& > .page-section__background{background-color:var(--whiteBgPrimary);}}&.section-container{.text{ul,ol{margin-bottom:25px;@media (max-width:1199px){margin-bottom:20px;}@media (max-width:575px){margin-bottom:15px;}&:last-child{margin-bottom:0;}li{margin-bottom:15px;&::marker{font-weight:bold !important;color:var(--titleColor);}& > ol,& > ul{margin-top:15px;}}}}.cta{text-align:center;
1.button{min-width:200px;@media (max-width:480px){min-width:0;}}}}"])}}]);

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.