PageSourceSearch

https://www.wispa.org/dist/c6448ed54ea86f825c0e.js

js wispa.org collected 2026-10-02 10:32:54 UTC 40,647 bytes, 2 lines download raw bytes

1(self.webpackChunkPylot_Frontend=self.webpackChunkPylot_Frontend||[]).push([[905,1381,2133,2861,2879,3286,5260,5556,5667,6601,6895,8048,8982,9276],{2694:(e,n,t)=>{"use strict";var r=t(6925);function o(){}function l(){}l.resetWarningCache=o,e.exports=function(){function e(e,n,t,o,l,i){if(i!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:l,resetWarningCache:o};return t.PropTypes=t,t}},5556:(e,n,t)=>{e.exports=t(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},16895:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>u});var r=t(58168),o=t(53986),l=t(96540),i=t(47767),a=t(52376),c=t(15474),s=t(29255),d=["process","path","url","type","target","isExternal","children","ariaLabel"];const u=function(e){var n,t,u,g,f,p,v,h,b,y=e.process,_=e.path,w=e.url,x=e.type,k=e.target,E=e.isExternal,C=e.children,A=e.ariaLabel,N=(0,o.A)(e,d),O=(0,i.Zp)(),j=!1,S=!1;if(w&&"/"!=w.charAt(0)&&"#"!=w.charAt(0)&&"tel:"!=w.substr(0,4)&&"mailto:"!=w.substr(0,7)?w=null!==(b=w)&&void 0!==b&&b.includes("http")?w:"https://".concat(w):w&&m(w)&&("/"==w.charAt(0)||"#"==w.charAt(0))&&(w="https://".concat(c.A.domain).concat(w)),!w||"/"!=w.charAt(0)&&"#"!=w.charAt(0)||null!=_||null!=N&&null!==(n=N.class)&&void 0!==n&&n.toLowerCase().includes("mvk-absolute")||(_=w),w&&!m(w)&&null!==(t=w)&&void 0!==t&&t.includes("http")&&null!==(u=w)&&void 0!==u&&u.includes(c.A.domain)&&(null==N||null===(g=N.class)||void 0===g||null===(g=g.toLowerCase())||void 0===g||!g.includes("mvk-absolute")))try{var I=new URL(w);_=I.pathname,j=I.hash||!1,S=I.search||!1}catch(e){console.error(e)}if(null!=N&&null!==(f=N.class)&&void 0!==f&&f.toLowerCase().includes("mvk-absolute")&&(w=w.includes("http")?w:"https://".concat(c.A.domain).concat(w)),"_blank"===k&&(E="true"),w&&(null===(p=w)||void 0===p||!p.includes("mypylot"))&&null!==(v=w)&&void 0!==v&&v.includes("http")&&(null===(h=w)||void 0===h||!h.includes(c.A.domain.replace("www.","")))){var P;E="true";var L=Array.isArray(C)?"string"==typeof C[0]?C[0]:null===(P=C[0])||void 0===P||null===(P=P.props)||void 0===P?void 0:P.children:"";N["aria-label"]="".concat(L||""," opens in a new tab")}A&&(N["aria-label"]=A),E&&(k=E||"true"==E?"_blank":"_self");var T=function(e){if(e.target.focus(),e.stopPropagation(),e.preventDefault(),y&&y.call(e),_&&E){var n="https://".concat(c.A.domain).concat(_).replace(/\/?$/,"/");window.open(n,k)}else if(_&&"#"==_.charAt(0))(0,s.m)(_,70,"smooth");else if(_)O("".concat(_.replace(/\/?$/,"/")).concat(j||"").concat(S||"")),document.body.scrollTop=0,document.documentElement.scrollTop=0;else if(w&&k){var t;n=null!==(t=w)&&void 0!==t&&t.includes("http")?(0,a.decode)(w):"http://".concat((0,a.decode)(w)),window.open((0,a.decode)(n),k).focus()}else{if(!w)return;var r,o;n=null!==(r=w)&&void 0!==r&&r.includes("http")||null!==(o=w)&&void 0!==o&&o.includes("#")?w:"http://".concat(w),window.location.href=(0,a.decode)(w)}N.closeModal&&N.closeModal(),N.closeBanner&&N.closeBanner()};return"button"==x||"submit"==x||"reset"==x?l.createElement("button",(0,r.A)({type:x,onClick:T},N),C):w&&"mailto:"==w.substr(0,7)?l.createElement("a",(0,r.A)({href:w,target:k},N),C):"anchor"==x?l.createElement("a",(0,r.A)({href:(0,a.decode)(w),target:k,onClick:T},N),C):l.createElement("div",(0,r.A)({onClick:T},N),C)};function m(e){var n;return!!e&&(null==e||null===(n=e.split("/"))||void 0===n||null===(n=n.pop())||void 0===n?void 0:n.indexOf("."))>-1}},29255:(e,n,t)=>{"use strict";t.d(n,{m:()=>r});var r=function(e,n,t){"string"==typeof e&&(e=(e="#"===e.charAt()?e.split("#")[1]:e).endsWith("/")?e.split("/")[0]:e,e=document.getElementById(e)),e&&window.scrollTo({behavior:t,top:e.getBoundingClientRect().top-document.body.getBoundingClientRect().top-n})}},29733:(e,n,t)=>{"use strict";t.d(n,{k:()=>i,o:()=>a});var r=t(80296),o=t(96540),l=t(51653),i=(0,o.createContext)(),a=function(e){var n,t,a,c=(0,l.I)(),s=(0,o.useState)({manufacturer:(null===(n=c.get("manufacturer"))||void 0===n?void 0:n.split(","))||[],model:(null===(t=c.get("model"))||void 0===t?void 0:t.split(","))||[],cabin_class:(null===(a=c.get("cabin_class"))||void 0===a?void 0:a.split(","))||[],sold:c.get("sold")||!1,show_filters:!1,reset:!1,search:c.get("search")||!1}),d=(0,r.A)(s,2),u=d[0],m=d[1];return o.createElement(i.Provider,{value:[u,m]},e.children)}},30905:(e,n,t)=>{"use strict";t.d(n,{Nf:()=>b,Q1:()=>m,VH:()=>i,VS:()=>s,i0:()=>p,lx:()=>v,sK:()=>h,vB:()=>y});var r=t(80296),o=t(96540),l=t(94518),i=function(e,n){return e&&"dark"===e.toLowerCase()?c(n):a(n)},a=function(e){var n,t,i,a,c,s,d,u,m,g,f,p,v,h=(0,o.useContext)(l.lj),b=(0,r.A)(h,2),y=b[0];switch(b[1],e){case"solid-fill-primary":case"outline-primary":case"solid-fill-monochrome-primary":case"outline-monochrome-primary":return"".concat(null!==(n=y.mvk_theme_config.other)&&void 0!==n&&n.button_outline_width?null===(t=y.mvk_theme_config.other)||void 0===t?void 0:t.button_outline_width:"3","px solid ").concat(null===(i=y.design)||void 0===i||null===(i=i.colors)||void 0===i?void 0:i.primary_color);case"solid-fill-secondary":case"outline-secondary":case"solid-fill-monochrome-secondary":case"outline-monochrome-secondary":return"".concat(null!==(a=y.mvk_theme_config.other)&&void 0!==a&&a.button_outline_width?null===(c=y.mvk_theme_config.other)||void 0===c?void 0:c.button_outline_width:"3","px solid ").concat(null===(s=y.design)||void 0===s||null===(s=s.colors)||void 0===s?void 0:s.secondary_color);case"solid-fill-tertiary":case"outline-tertiary":return"".concat(null!==(d=y.mvk_theme_config.other)&&void 0!==d&&d.button_outline_width?null===(u=y.mvk_theme_config.other)||void 0===u?void 0:u.button_outline_width:"3","px solid ").concat(null===(m=y.design)||void 0===m||null===(m=m.colors)||void 0===m?void 0:m.tertiary_color);case"solid-fill-gradient":return"".concat(null!==(g=y.mvk_theme_config.other)&&void 0!==g&&g.button_outline_width?null===(f=y.mvk_theme_config.other)||void 0===f?void 0:f.button_outline_width:"3","px solid transparent");case"outline-gradient":case"outline-gradient-persistent":return"linear-gradient(90deg, ".concat(null===(p=y.design)||void 0===p||null===(p=p.colors)||void 0===p?void 0:p.gradient_color_1,", ").concat(null===(v=y.design)||void 0===v||null===(v=v.colors)||void 0===v?void 0:v.gradient_color_2,")");default:return"none"}},c=function(e){var n,t,i,a,c=(0,o.useContext)(l.lj),s=(0,r.A)(c,2),d=s[0];switch(s[1],e){case"solid-fill-primary":case"solid-fill-secondary":case"solid-fill-tertiary":case"solid-fill-monochrome-primary":case"solid-fill-monochrome-secondary":case"outline-primary":case"outline-secondary":case"outline-tertiary":case"outline-gradient":case"outline-monochrome-primary":case"outline-monochrome-secondary":return"".concat(null!==(n=d.mvk_theme_config.other)&&void 0!==n&&n.button_outline_width?null===(t=d.mvk_theme_config.other)||void 0===t?void 0:t.button_outline_width:"3","px solid white");case"outline-gradient-persistent":return"linear-gradient(90deg, ".concat(null===(i=d.design)||void 0===i||null===(i=i.colors)||void 0===i?void 0:i.gradient_color_1,", ").concat(null===(a=d.design)||void 0===a||null===(a=a.colors)||void 0===a?void 0:a.gradient_color_2,")");default:return"none"}},s=function(e,n){return"dark"===e?u(n):d(n)},d=function(e){var n,t,i,a,c,s=(0,o.useContext)(l.lj),d=(0,r.A)(s,2),u=d[0];switch(d[1],e){case"solid-fill-primary":case"solid-fill-monochrome-primary":return"".concat(null===(n=u.design)||void 0===n||null===(n=n.colors)||void 0===n?void 0:n.primary_color);case"solid-fill-secondary":case"solid-fill-monochrome-secondary":return"".concat(null===(t=u.design)||void 0===t||null===(t=t.colors)||void 0===t?void 0:t.secondary_color);case"solid-fill-tertiary":return"".concat(null===(i=u.design)||void 0===i||null===(i=i.colors)||void 0===i?void 0:i.tertiary_color);case"solid-fill-gradient":case"solid-fill-gradient-persistent":return"linear-gradient(to right, ".concat(null===(a=u.design)||void 0===a||null===(a=a.colors)||void 0===a?void 0:a.gradient_color_1,", ").concat(null===(c=u.design)||void 0===c||null===(c=c.colors)||void 0===c?void 0:c.gradient_color_2,")");case"outline-primary":case"outline-secondary":case"outline-tertiary":case"outline-gradient":case"outline-gradient-persistent":case"outline-monochrome-primary":case"outline-monochrome-secondary":return"transparent";default:return"white"}},u=function(e){var n,t,i=(0,o.useContext)(l.lj),a=(0,r.A)(i,2),c=a[0];switch(a[1],e){case"solid-fill-primary":case"solid-fill-secondary":case"solid-fill-tertiary":case"solid-fill-gradient":case"solid-fill-monochrome-primary":case"solid-fill-monochrome-secondary":default:return"white";case"solid-fill-gradient-persistent":return"linear-gradient(to right, ".concat(null===(n=c.design)||void 0===n||null===(n=n.colors)||void 0===n?void 0:n.gradient_color_1,", ").concat(null===(t=c.design)||void 0===t||null===(t=t.colors)||void 0===t?void 0:t.gradient_color_2,")");case"outline-primary":case"outline-secondary":case"outline-tertiary":case"outline-gradient":case"outline-gradient-persistent":case"outline-monochrome-primary":case"outline-monochrome-secondary":return"transparent"}},m=function(e,n){return"dark"===e?f(n):g(n)},g=function(e){var n,t,i,a=(0,o.useContext)(l.lj),c=(0,r.A)(a,2),s=c[0];switch(c[1],e){case"solid-fill-primary":case"solid-fill-secondary":case"solid-fill-monochrome-primary":case"solid-fill-monochrome-secondary":default:return"white";case"solid-fill-tertiary":case"outline-primary":case"outline-secondary":case"outline-tertiary":case"outline-gradient":case"outline-gradient-persistent":return"".concat(null===(n=s.design)||void 0===n||null===(n=n.colors)||void 0===n?void 0:n.body_copy_color);case"outline-monochrome-primary":return"".concat(null===(t=s.design)||void 0===t||null===(t=t.colors)||void 0===t?void 0:t.primary_color);case"outline-monochrome-secondary":return"".concat(null===(i=s.design)||void 0===i||null===(i=i.colors)||void 0===i?void 0:i.secondary_color)}},f=function(e){var n,t,i,a=(0,o.useContext)(l.lj),c=(0,r.A)(a,2),s=c[0];switch(c[1],e){case"solid-fill-primary":case"solid-fill-secondary":case"solid-fill-tertiary":case"solid-fill-gradient":return"".concat(null===(n=s.design)||void 0===n||null===(n=n.colors)||void 0===n?void 0:n.body_copy_color);case"solid-fill-monochrome-primary":return"".concat(null===(t=s.design)||void 0===t||null===(t=t.colors)||void 0===t?void 0:t.primary_color);case"solid-fill-monochrome-secondary":return"".concat(null===(i=s.design)||void 0===i||null===(i=i.colors)||void 0===i?void 0:i.secondary_color);default:return"white"}},p=function(e){var n,t,i,a,c,s=(0,o.useContext)(l.lj),d=(0,r.A)(s,2),u=d[0];switch(d[1],e){case"background_color":return"".concat(null===(n=u.design)||void 0===n||null===(n=n.colors)||void 0===n?void 0:n.background_color);case"primary_color":return"".concat(null===(t=u.design)||void 0===t||null===(t=t.colors)||void 0===t?void 0:t.primary_color);case"secondary_color":return"".concat(null===(i=u.design)||void 0===i||null===(i=i.colors)||void 0===i?void 0:i.secondary_color);case"tertiary_color":return"".concat(null===(a=u.design)||void 0===a||null===(a=a.colors)||void 0===a?void 0:a.tertiary_color);case"body_copy_color":return"".concat(null===(c=u.design)||void 0===c||null===(c=c.colors)||void 0===c?void 0:c.body_copy_color);default:return""}},v=function(e){switch(e){case"background_color":return"background-bg";case"primary_color":return"primary-bg";case"secondary_color":return"secondary-bg";case"tertiary_color":return"tertiary-bg";case"body_copy_color":return"body-copy-bg";case"white":return"white-bg";default:return""}},h=function(e){switch(e){case"dark":return"white-txt";case"light":return"body-copy-txt";default:return""}},b=function(e){var n,t,i,a,c,s=(0,o.useContext)(l.lj),d=(0,r.A)(s,2),u=d[0];switch(d[1],e){case"primary-bg":return"".concat(null===(n=u.design)||void 0===n||null===(n=n.colors)||void 0===n?void 0:n.primary_color);case"secondary-bg":return"".concat(null===(t=u.design)||void 0===t||null===(t=t.colors)||void 0===t?void 0:t.secondary_color);case"tertiary-bg":return"".concat(null===(i=u.design)||void 0===i||null===(i=i.colors)||void 0===i?void 0:i.tertiary_color);
1case"custom":return"".concat(null===(a=u.mvk_theme_config.other)||void 0===a?void 0:a.cs_custom_color);default:return"".concat(null===(c=u.design)||void 0===c||null===(c=c.colors)||void 0===c?void 0:c.body_copy_color)}},y=function(e){switch(e){case"solid-fill-primary":return"outline-primary";case"solid-fill-secondary":return"outline-secondary";case"solid-fill-tertiary":return"outline-tertiary";case"solid-fill-gradient":return"outline-gradient";case"solid-fill-gradient-persistent":return"outline-gradient-persistent";case"solid-fill-monochrome-primary":return"outline-monochrome-primary";case"solid-fill-monochrome-secondary":return"outline-monochrome-secondary";case"outline-primary":return"solid-fill-primary";case"outline-secondary":return"solid-fill-secondary";case"outline-tertiary":return"solid-fill-tertiary";case"outline-gradient":return"solid-fill-gradient";case"outline-gradient-persistent":return"solid-fill-gradient-persistent";case"outline-monochrome-primary":return"solid-fill-monochrome-primary";case"outline-monochrome-secondary":return"solid-fill-monochrome-secondary"}}},38298:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>O});var r=t(64467),o=t(80296),l=t(96540),i=t(20982),a=t(66188),c=t(52376),s=t(85692),d=t(76564),u=t(26564),m=t(29733),g=t(47169),f=t(16895),p=t(28610),v=t(91798);function h(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function b(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?h(Object(t),!0).forEach((function(n){(0,r.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):h(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var y=l.lazy((function(){return t.e(3994).then(t.bind(t,83994))})),_=l.lazy((function(){return t.e(5190).then(t.bind(t,95190))})),w=function(e){var n,t=e.data,r=e.settings;return l.createElement(v.Fu,{className:"cabin-class-filters".concat("image"===t.cf_background_type?" add-bg-image":""),bgColor:(0,d.GG)(t.cf_background_color,r),bgImage:t.cf_background_image,textColor:"dark"===t.cf_background_value?"#fff":null===(n=r.design)||void 0===n||null===(n=n.colors)||void 0===n?void 0:n.body_copy_color},l.createElement("div",{className:"grid-container"},l.createElement("div",{className:"grid-x grid-margin-x"},l.createElement("div",{className:"cell"},l.createElement("h2",null,"Search Aircraft by Cabin Class")),l.createElement(y,{filter:"cabin_class"}))))},x=function(e){var n=e.data,t=e.settings,r=(0,l.useContext)(m.k),c=(0,o.A)(r,2),s=c[0],d=c[1],u=(0,l.useState)(n.results),g=(0,o.A)(u,2),f=g[0],p=g[1];return(0,l.useEffect)((function(){p((function(){return n.results.filter((function(e){return"aircraft"===n.listing_source?function(e){var t,r=!s.search||e.title.toLowerCase().includes(s.search.toLowerCase()),o=!s.sold||e.sold,l=!s.cabin_class.length||s.cabin_class.includes(null===(t=e.category)||void 0===t?void 0:t.cabin_class),i=!s.manufacturer.length||s.manufacturer.includes(e.category.manufacturer)||s.model.includes(e.category.model),a=!s.model.length||s.model.includes(e.category.model)||s.manufacturer.includes(e.category.manufacturer)&&s.model.some((function(t){return n.reduced_cats[e.category.manufacturer].includes(e.category.model)})),c=s.model.map((function(e){return Object.keys(n.reduced_cats).find((function(t){return n.reduced_cats[t].includes(e)}))}));s.manufacturer=s.manufacturer.filter((function(e){return!c.includes(e)}));var d=s.manufacturer.flatMap((function(e){return n.reduced_cats[e]}));return s.model=s.model.filter((function(e){return!d.includes(e)})),r&&o&&l&&i&&a}(e):(t=e,!s.search||t.title.toLowerCase().includes(s.search.toLowerCase()));var t}))}))}),[s]),l.createElement(v.w8,null,(n.add_filters||n.add_search)&&l.createElement("div",{className:"grid-container filter-container"},l.createElement("div",{className:"grid-x grid-margin-x filter-wrapper"},n.add_search&&l.createElement(N,{data:n,settings:t}),n.add_filters&&"aircraft"===n.listing_source&&l.createElement(l.Fragment,null,l.createElement("div",{className:"filter-toggle-wrapper cell medium-3 large-2"},l.createElement("div",{className:"filter-toggle",onClick:function(){return d(b(b({},s),{show_filters:!s.show_filters}))}},l.createElement(i.g,{icon:a._$s}),"Filter Aircraft")),l.createElement("div",{className:"sold checkbox cell medium-3 large-2"},l.createElement("label",{class:"sold-filter",for:"sold-filter"},l.createElement("input",{type:"checkbox",id:"sold-filter",name:"sold-filter",onClick:function(){return d(b(b({},s),{sold:!s.sold}))},checked:s.sold,"aria-checked":s.sold,tabIndex:0}),l.createElement("span",null,"Show Only Sold")))))),n.add_filters&&"aircraft"===n.listing_source&&l.createElement(_,{data:n,settings:t,resultCount:f.length}),l.createElement("div",{className:"grid-container"},"aircraft"===n.listing_source&&l.createElement(k,{data:n,settings:t,results:f}),"market_reports"===n.listing_source&&l.createElement(C,{data:n,settings:t,results:f})))},k=function(e){var n,t=e.data,r=e.settings,i=e.results,a=parseInt(t.quantity)>-1?parseInt(t.quantity):10,c=null===(n=i)||void 0===n?void 0:n.length,s=(0,l.useState)(a),d=(0,o.A)(s,2),u=d[0],m=d[1];return t.see_more&&(i=i.slice(0,parseInt(u))),l.createElement(v.lf,{className:"aircraft-results ".concat(null==t?void 0:t.listing_style," grid-x grid-margin-x")},i.map((function(e){return l.createElement(E,{card:e,settings:r,data:t})})),(!i||!i.length)&&l.createElement("div",{className:"no-results cell"},l.createElement("h3",null,"No results found.")),t.see_more&&u<c?l.createElement(v.w1,{className:"cell load-more",onClick:function(){return m(u+a)}},"SEE MORE"):null)},E=function(e){var n,t,r,o,i,a,s,d,u,m,g,h,b=e.card,y=e.settings,_=e.data;return l.createElement(v.dI,{key:b.title,className:"aircraft-card cell ".concat("two_col_cards"===(null==_?void 0:_.listing_style)?"large-6":"large-12"," ").concat(null!=b&&b.sold?"sold":null),textColor:null==y||null===(n=y.design)||void 0===n||null===(n=n.colors)||void 0===n?void 0:n.body_copy_color},l.createElement(f.default,{className:"wrapper-link",type:b.sold?null:"anchor",url:b.sold?null:b.url,ariaLabel:"link to ".concat((0,c.decode)(b.title))},l.createElement("div",{className:"details-container"}
1,l.createElement("div",{className:"inner-card"},l.createElement("div",{className:"title"},"two_col_cards"===(null==_?void 0:_.listing_style)?l.createElement("h5",null,(0,c.decode)(b.title)):l.createElement("h3",null,(0,c.decode)(b.title))),l.createElement("hr",null),l.createElement("div",{className:"details"},(null===(t=b.category)||void 0===t?void 0:t.passengers)&&l.createElement("div",{className:"passengers"},(null===(r=y.aircraft)||void 0===r?void 0:r.passenger_icon)&&l.createElement(p.default,{className:"icon",data:null===(o=y.aircraft)||void 0===o?void 0:o.passenger_icon}),"two_col_cards"===(null==_?void 0:_.listing_style)?null===(i=b.category)||void 0===i?void 0:i.passengers:l.createElement(l.Fragment,null,l.createElement("span",null,"Passenger Count:"),null===(a=b.category)||void 0===a?void 0:a.passengers)),b.location&&l.createElement("div",{className:"location"},(null===(s=y.aircraft)||void 0===s?void 0:s.location_icon)&&l.createElement(p.default,{className:"icon",data:null===(d=y.aircraft)||void 0===d?void 0:d.location_icon}),"two_col_cards"===(null==_?void 0:_.listing_style)?b.location:l.createElement(l.Fragment,null,l.createElement("span",null,"Location:"),b.location)),l.createElement("div",{className:"programs"},(null===(u=y.aircraft)||void 0===u?void 0:u.engine_program_icon)&&l.createElement(p.default,{className:"icon",data:null===(m=y.aircraft)||void 0===m?void 0:m.engine_program_icon}),l.createElement(l.Fragment,null,l.createElement("span",null,"Programs:"),b.engine_program?"Yes":"No")),b.total_time&&l.createElement("div",{className:"total-time"},(null===(g=y.aircraft)||void 0===g?void 0:g.total_time_icon)&&l.createElement(p.default,{className:"icon",data:null===(h=y.aircraft)||void 0===h?void 0:h.total_time_icon}),"two_col_cards"===(null==_?void 0:_.listing_style)?b.total_time:l.createElement(l.Fragment,null,l.createElement("span",null,"Total Time:"),b.total_time))))),b.featured_image&&l.createElement("div",{className:"featured-image"},l.createElement(p.default,{data:b.featured_image}),b.sold&&l.createElement("div",{className:"sold-flag"},"SOLD")),"full_width_cards"===(null==_?void 0:_.listing_style)&&l.createElement("div",{class:"aircraft-features"},l.createElement("h5",null,"Aircraft Features"),l.createElement("hr",null),b.aircraft_features_for_listings&&l.createElement("div",{className:"features",dangerouslySetInnerHTML:{__html:b.aircraft_features_for_listings}}))))},C=function(e){var n,t=e.data,r=e.settings,i=e.results,a=parseInt(t.quantity)>-1?parseInt(t.quantity):10,c=null===(n=i)||void 0===n?void 0:n.length,s=(0,l.useState)(a),d=(0,o.A)(s,2),u=d[0],m=d[1];return t.see_more&&(i=i.slice(0,parseInt(u))),l.createElement(v.YF,{className:"market-report-results grid-x grid-margin-x grid-margin-y"},i.map((function(e){return l.createElement(A,{data:t,card:e,settings:r})})),(!i||!i.length)&&l.createElement("div",{className:"no-results cell"},l.createElement("h3",null,"No results found.")),t.see_more&&u<c?l.createElement(v.w1,{className:"cell load-more",onClick:function(){return m(u+a)}},"SEE MORE"):null)},A=function(e){var n,t=e.data,r=e.card,o=e.settings,i={url:r.featured_image,alt:"featured image for ".concat(r.title," market report"),height:250};return l.createElement(v.VQ,{key:r.title,className:"market-report-card cell small-6 medium-4 large-3",textColor:"dark"===t.background_value?"#fff":null==o||null===(n=o.design)||void 0===n||null===(n=n.colors)||void 0===n?void 0:n.body_copy_color},l.createElement(f.default,{type:"anchor",url:r.url,ariaLabel:"link to ".concat((0,c.decode)(r.title))},r.featured_image&&l.createElement("div",{className:"featured-image"},l.createElement(p.default,{data:i})),l.createElement("div",{className:"title"},l.createElement("h4",null,(0,c.decode)(r.title))),l.createElement("div",{className:"view-details"},"VIEW DETAILS >")))},N=function(e){var n,t,r=e.data,i=e.settings,a=(0,l.useContext)(m.k),c=(0,o.A)(a,2),s=c[0],d=c[1],u=function(e){var n;null==e||e.preventDefault();var t=null===(n=document)||void 0===n||null===(n=n.getElementById("aircraft-search"))||void 0===n?void 0:n.value;d(b(b({},s),t&&null!=t?{search:t}:{search:!1}))};return l.createElement("div",{className:"search-wrapper cell medium-6 large-4"},l.createElement(v.VS,{className:"search-icon",filterColor:"dark"===r.background_value?"#fff":null==i||null===(n=i.design)||void 0===n||null===(n=n.colors)||void 0===n?void 0:n.body_copy_color,onClick:u,version:"1.1",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-label":"search icon"},l.createElement("g",{id:"info"}),l.createElement("g",{id:"icons"},l.createElement("path",{d:"M22.4,19.6l-4.8-4.8c0.9-1.4,1.4-3,1.4-4.8c0-5-4-9-9-9s-9,4-9,9s4,9,9,9c1.8,0,3.4-0.5,4.8-1.4l4.8,4.8   c0.4,0.4,0.9,0.6,1.4,0.6c1.1,0,2-0.9,2-2C23,20.4,22.8,19.9,22.4,19.6z M5,10c0-2.8,2.2-5,5-5s5,2.2,5,5s-2.2,5-5,5S5,12.8,5,10z",id:"icon-search"}))),l.createElement("form",{id:"filter-search",method:"post",action:"#",autocomplete:"off",onSubmit:u,onChange:u,class:"flex-child-grow",role:"search","aria-label":"aircraft"},l.createElement("label",{htmlFor:"aircraft-search"},l.createElement(v.DO,{id:"aircraft-search",filterColor:"dark"===r.background_value?"#fff":null==i||null===(t=i.design)||void 0===t||null===(t=t.colors)||void 0===t?void 0:t.body_copy_color,type:"text",className:"search",value:s.search?s.search:"",placeholder:"".concat("aircraft"===r.listing_source?"Search Aircraft":"Search Market Reports")}))))};const O=function(e){var n,t,r,o,i=e.data,a=e.settings,f=(0,s.Wx)({triggerOnce:!0,fallbackInView:!0,threshold:0}),p=f.ref,h=f.inView;return l.createElement(m.o,null,l.createElement(v.fA,{ref:p,className:"aircraft-market-report-listing".concat(h&&"image"===i.background_type?" add-bg-image":""),bgColor:(0,d.GG)(i.background_color,a),bgImage:i.background_image,textColor:"dark"===i.background_value?"#fff":null===(n=a.design)||void 0===n||null===(n=n.colors)||void 0===n?void 0:n.body_copy_color},h?l.createElement(l.Fragment,null,"aircraft"===i.listing_source&&i.add_filters&&l.createElement(w,{data:i,settings:a}),l.createElement("div",{className:"title-container grid-container"},(i.title||i.blurb)&&l.createElement("div",{className:"grid-x"},i.title&&l.createElement("div",{className:"cell module-title ".concat(i.title_alignment)},l.createElement("h2",null,(0,c.decode)(i.title))),i.blurb&&l.createElement("div",{className:"cell blurb"},l.createElement(u.default,{html:i.blurb})))),l.createElement(x,{data:i,settings:a}),i.row_button&&l.createElement("div",{class:"grid-container"},l.createElement("div",{class:"grid-x"},l.createElement("div",{class:"cell ".concat(null==i?void 0:i.title_alignment)},l.createElement(g.default,{class:"module-button below",title:null==i||null===(t=i.row_button)||void 0===t?void 0:t.t
1itle,url:null==i||null===(r=i.row_button)||void 0===r?void 0:r.url,target:null==i||null===(o=i.row_button)||void 0===o?void 0:o.target,tone:i.background_value,type:null==i?void 0:i.row_button_style}))))):null))}},91798:(e,n,t)=>{"use strict";t.d(n,{Cu:()=>k,DO:()=>E,Fu:()=>w,VQ:()=>_,VS:()=>C,YF:()=>y,dI:()=>b,fA:()=>v,lf:()=>h,w1:()=>A,w8:()=>x});var r,o,l,i,a,c,s,d,u,m,g,f=t(57528),p=t(21250),v=p.Ay.div(r||(r=(0,f.A)(["\n    background-color: ",";\n    color: ",";\n    &.add-bg-image {\n        background-image: url('",'\');\n        background-position: center center;\n        background-size: cover;\n    }\n    .title-container {\n        padding-top: 2rem !important;\n    }\n    input[type="checkbox"] {\n        /* Add if not using autoprefixer */\n        -webkit-appearance: none;\n        appearance: none;\n        appearance: none;\n        background-color: #fff;\n        margin: 0 .5rem 0 0;\n        font: inherit;\n        color: currentColor;\n        width: 1em;\n        height: 1em;\n        border: 0.15em solid currentColor;\n        border-radius: 0.15em;\n        // transform: translateY(-0.075em);\n        display: grid;\n        place-content: center;\n        &::before {\n            content: "";\n            transform-origin: bottom left;\n            clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);\n            width: 0.5em;\n            height: 0.5em;\n            transform: scale(0);\n            transition: 120ms transform ease-in-out;\n            box-shadow: inset 1em 1em var(--form-control-color);\n        }\n        &:checked::before {\n            transform: scale(1);\n            background: currentColor;\n        }\n    }\n    .module-button {\n        margin-bottom: 2rem;\n    }\n    .cabin-class-filters {\n        svg {\n            fill: ',";\n        }\n\n        .cabin-class-title {\n            margin-bottom: unset;\n        }\n    }\n"])),(function(e){return e.bgColor}),(function(e){return e.textColor}),(function(e){var n;return null===(n=e.bgImage)||void 0===n?void 0:n.url}),(function(e){return e.textColor})),h=p.Ay.div(o||(o=(0,f.A)(["\n    ","\n    &.two_col_cards {\n        .aircraft-card {\n            .wrapper-link {\n                @media (max-width: 639px) {\n                    display: block;\n                    padding: 1rem .75rem 1.5rem;\n                }\n            }\n            &:not(.sold) {\n                &:hover, &:focus {\n                    box-shadow: rgba(0, 0, 0, 0.5) 4px 7px 15px;\n                }\n            }\n        }\n    }\n    &.full_width_cards {\n        .aircraft-card {\n            border: 1px solid black;\n            box-shadow: rgba(0, 0, 0, 0.25) 2px 2px 8px;\n            padding: 1rem .75rem;\n            &:not(.sold) {\n                &:hover, &:focus {\n                    box-shadow: rgba(0, 0, 0, 0.5) 4px 7px 15px;\n                }\n            }\n\n            @media (max-width: 639px) {\n                width: fit-content;\n            }\n\n            @media (min-width: 640px) {\n                padding: unset;\n                margin-bottom: 3rem;\n            }\n        }\n\n        .details-container {\n            @media (min-width: 640px) {\n                width: 25%;\n            }\n        }\n\n        .inner-card {\n            padding-bottom: .5rem;\n\n            @media (min-width: 640px) {\n                padding-bottom: unset;\n            }\n        }\n\n        .details {\n            flex-flow: column nowrap;\n            ","\n        }\n\n        .featured-image {\n            padding-bottom: 1rem;\n\n            img {\n                width: 100%;\n            }\n\n            @media (min-width: 640px) {\n                width: 45%;\n            }\n        }\n\n        .aircraft-features {\n            h5 {\n                margin-bottom: 0.5rem;\n                word-break: break-word;\n            }\n            @media (max-width: 639px) {\n                .features {\n                    p:last-child {\n                        margin: 0;\n                    }\n                }\n            }\n            @media (min-width: 640px) {\n                padding: .75rem;\n                width: 30%;\n            }\n        }\n    }\n"])),"",""),b=p.Ay.div(l||(l=(0,f.A)(["\n    margin-bottom: 2rem;\n    background: #fff;\n    position: relative;\n    overflow: hidden;\n    color: ",";\n\n    .wrapper-link {\n        color: ",";\n        &:focus {\n            text-decoration: none;\n        }\n        @media (min-width: 640px) {\n            display: flex;\n            height: 100%;\n        }\n    }\n    .title {\n        position: relative;\n        h3 {\n            margin-bottom: .5rem;\n            word-break: break-word;\n        }\n        h5 {\n            margin-bottom: .25rem;\n            word-break: break-word;\n        }\n    }\n    hr {\n        background: #b2b2b2 !important;\n        height: 2px !important;\n        margin-bottom: 1rem;\n    }\n    .details {\n        & > * {\n            display: flex;\n            flex-wrap: wrap;\n            align-items: center;\n            margin: .5rem 0;\n            img {\n                width: 18px;\n                margin-right: .5rem;\n            }\n            span {\n                font-weight: bold;\n                margin-right: .25rem;\n            }\n        }\n    }\n    .featured-image {\n        display: flex;\n        justify-content: center;\n        position: relative;\n        overflow: hidden;\n        img {\n            width: 100%;\n        }\n    }\n    .view-details {\n        text-align: center;\n        padding: 1rem 0;\n    }\n    .sold-flag {\n        background: #4f4f4f;\n        color: #fff;\n        position: absolute;\n        left: -40px;\n        top: 30px;\n        transform: rotate(-45deg);\n        width: 175px;\n        text-align: center;\n        font-size: 1.25rem;\n        z-index: 1;\n        @media (min-width: 640px) {\n            top: 34px;\n        }\n    }\n    @media (min-width: 640px) {\n        padding: 0;\n        box-shadow: 2px 2px 8px rgba(0,0,0,.25);\n        transition: .3s;\n        .wrapper-link {\n            padding: 0;\n        }\n        .details-container {\n            width: 25%;\n            padding: .75rem;\n            ","\n            .title {\n                text-align: left;\n                &:after {\n                    width: 100%;\n                    bottom: -.5rem;\n                }\n            }\n            .details {\n               \n                & > * {\n                    width: 100%;\n                    margin: .5rem 0;\n                }\n            }\n        }\n        .featured-image {\n            width: 75%;\n            position: relative;\n            overflow: hidden;\n            img {\n                width: 100%;\n                width: 100%;\n                height: 100%;\n                position: absolute;\n                object-fit: cover;\n                transition: .3s;\n            }\n        }\n        .view-details {\n            padding: 0;\n            display: flex;\n            align-self: flex-end;\n        }\n        &.sold {\n            &:hover, &:focus {\n                box-shadow: 2px 2px 8px rgba(0,0,0,.25);\n            }\n            .featured-image {\n                img {\n                    transform: unset;\n                }\n            }\n        }\n    }\n\n    &.sold {\n        .featured-image {\n            img {\n                opacity: .5;\n            }\n        }\n    }\n"])),(function(e){return e.textColor}),(function(e){return e.textColor}),""),y=p.Ay.div(i||(i=(0,f.A)(["\n    margin-top: 2rem;\n    @media (min-width: 640px) {\n        margin-top: 4rem;\n    }\n"]))),_=p.Ay.div(a||(a=(0,f.A)(["\n    a {\n        color: ",";\n    }\n    .featured-image {\n        margin-bottom: .75rem;\n        position: relative;\n        height: 200px;\n        overflow: hidden;\n        img {\n            position: absolute;\n            width: 100%;\n            height: 100%;\n            object-fit: cover;\n            transition: .3s;\n        }\n    }\n    .title h4 {\n        margin: .5rem 0;\n    }\n    @media (min-width: 640px) {\n        &:hover {\n            .featured-image {\n                img {\n                    transform: scale(1.1);\n                }\n            }\n        }\n    }\n    @media (min-width: 1024px) {\n        margin-bottom: 2.5rem;\n        .featured-image {\n            height: 275px;\n            margin-bottom: 1rem;\n        }\n        .title h4 {\n            margin: 1rem 0;\n        }\n    }\n"])),(function(e){return e.textColor})),w=p.Ay.div(c||(c=(0,f.A)(["\n    padding: 1rem 0;\n    background-color: ",";\n    color: ",";\n    &.add-bg-image {\n        background-image: url('",'\');\n        background-position: center center;\n        background-size: cover;\n    }\n    label {\n        display: flex;\n        margin-bottom: 1rem;\n        span {\n            width: 95%;\n        }\n    }\n    input[type="checkbox"] {\n        &:checked::before {\n            background: #000;\n        }\n    }\n'])),(function(e){return e.bgColor}),(function(e){return e.textColor}),(function(e){var n;return null===(n=e.bgImage)||void 0===n?void 0:n.url})),x=p.Ay.div(s||(s=(0,f.A)(["\n    position: relative;\n    padding: 2rem 0;\n\n    .filter-container {\n        margin-bottom: 2rem;\n    \n        @media (min-width: 640px) {\n            margin-bottom: 4rem;\n        }\n    }\n    \n    .search-wrapper {\n        display: flex;
1\n        svg.search-icon {\n            width: 20px;\n            height: 25px;\n            margin-right: .5rem;\n        }\n        @media (max-width: 639px) {\n            margin-bottom: 1rem;\n        }\n    }\n    .filter-wrapper {\n       align-items: center; \n    }\n    .sold-filter {\n        display: flex;\n    }\n    .filter-toggle-wrapper {\n        display: flex;\n        align-items:center;\n        .filter-toggle {\n            cursor: pointer;\n            svg {\n                margin-right: .5rem;\n            }\n        }    \n        @media (max-width: 639px) {\n            margin-bottom: 1rem;\n        }\n    }\n    \n"]))),k=p.Ay.div(d||(d=(0,f.A)(["\n    color: ",';\n    position: fixed;\n    top: 42%;\n    transform: translateY(-42%);\n    background: #fff;\n    width: 100%;\n    padding: 2rem 1rem;\n    box-sizing: border-box;\n    border: 1px solid #000;\n    left: -100%;\n    transition: .3s;\n    z-index: 10;\n    &.show {\n        left: 0;\n    }\n    .close-button {\n        position: absolute;\n        right: 10px;\n        top: 8px;\n        width: 25px;\n        height: 25px;\n        opacity: 0.5;\n        transition: .3s;\n        cursor: pointer;\n        &:hover {\n            opacity: 1;\n        }\n        &:before, &:after {\n            position: absolute;\n            left: 15px;\n            content: " ";\n            height: 25px;\n            width: 2px;\n            background-color: ',';\n        }\n        &:before {\n            transform: rotate(45deg);\n        }\n        &:after {\n            transform: rotate(-45deg);\n        }          \n    }\n    .category-filters {\n        margin: 2rem 0;\n        font-size: 1.25rem;\n        .children {\n            margin-left: 1.5rem;\n        }\n        .cat-group {\n            margin: .75rem 0;\n            &.parent {\n                .inner-wrapper {\n                    display: flex;\n                    align-items: center;\n                    position: relative;\n                }\n                .plusminus {\n                    position: absolute;\n                    width: 20px;\n                    height: 20px;\n                    cursor: pointer;\n                    right: 0;\n                    \n                    &:before , &:after {\n                        content: "";\n                        display: block;\n                        background-color: currentColor;\n                        position: absolute;\t\t\n                        top: 50%; left: 0;\n                        transition: .35s;\n                        width: 100%;\n                        height: 3px;\n                    }\n                    \n                    &:before {\t\t\n                        transform: translatey(-50%);\n                    }\n                    \n                    &:after {\n                        transform: translatey(-50%) rotate(90deg);\n                    }\n                    \n                } \n                &.selected .plusminus {\n                    &:before {\n                        transform: translatey(-50%) rotate(-90deg);\n                        opacity: 0;\n                    }\n                    &:after {\n                        transform: translatey(-50%) rotate(0);\n                    }\n                }\n                & > .inner-wrapper input[type="checkbox"] {\n                    &::before {\n                        transform-origin: none;\n                        clip-path: none;\n                    }\n                    &:checked::before {\n                        transform: scale(1);\n                        background: currentColor;\n                    }\n                }\n\n                :has(.children input[type="checkbox"]:checked) {\n                    > .inner-wrapper label > input[type="checkbox"]::before {\n                        height: 0.1em;\n                        transform: scale(1);\n                        background: currentcolor;\n                    } \n                }\n            }\n        }\n        .cat-group:not(.selected) .children {\n            display: none;\n        }\n    }\n    .sold.checkbox {\n        margin-bottom: 2rem;\n        font-size: 1.25rem;\n    }\n    @media (max-width: 767px) {\n        button { \n            margin-bottom: 1rem;\n        }\n    }\n    @media (min-width: 768px) {\n        width: 550px;\n        padding: 2rem 2.5rem;\n        button {\n            margin-right: 1rem;\n        }\n    }\n\n    label {\n        display: flex;\n        align-items: center;\n        position: relative;\n        cursor: pointer;\n    }\n    \n'])),(function(e){return e.textColor}),(function(e){return e.textColor})),E=p.Ay.input(u||(u=(0,f.A)(["\n    border-color: "," !important;\n    color: ",";\n    border-radius: 0;\n    -webkit-appearance: none;\n    &::placeholder {\n        color: ",";\n    }\n"])),(function(e){return null==e?void 0:e.filterColor}),(function(e){return null==e?void 0:e.filterColor}),(function(e){return null==e?void 0:e.filterColor})),C=p.Ay.svg(m||(m=(0,f.A)(["\n    fill: ",";\n"])),(function(e){return null==e?void 0:e.filterColor})),A=p.Ay.div(g||(g=(0,f.A)(["\n        padding-top: 1rem;\n        padding-bottom: 2rem;\n        text-align: center;\n        cursor: pointer;
1\n"])))}}]);
2//# sourceMappingURL=c6448ed54ea86f825c0e.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.