(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[79217],{21276:function(e,a,t){"use strict";t.d(a,{Z:function(){return o}}),t(67294);var n=t(35944);function o(){return(0,n.tZ)("div",{className:"modal-loading",children:(0,n.tZ)("div",{className:"loading-indicator",children:(0,n.tZ)("div",{className:"loadingIndicator-dot -large"})})})}},48100:function(e,a,t){"use strict";t.d(a,{Z:function(){return m}});var n=t(59499),o=t(90116),r=t(67294),i=t(9008),d=t.n(i),E=t(11163),s=t(35005),c=t(45363),l=t(40130),T=t.n(l),A=t(54401),_=t(54614),R=t(4181),N=t(27001),B=t(35944);function Z(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function m(){var e=(0,E.useRouter)(),a=(0,r.useContext)(A.Z),t=(0,r.useContext)(_.Z),n=t.siteName||"Asana",i=(null===(p=t.meta)||void 0===p?void 0:p.title)||t.title,c=t.pageNumber&&1!==t.pageNumber?"".concat(a.microcopy["resources.pagination.page"]," ").concat(t.pageNumber):"",l=t.seo_title||i,Z=t.socialTitle,m=RegExp("\\[\\d{4}\\]");if("resourceArticle"===t._template||"templateTemplatesPage"===t._template){var p,u,O,I,v,g,f,L,K,h,S,G,D,b,y=new Date(t.pageTemplate.publishDate||t.pageTemplate.resourceCard.publishDateRaw).getFullYear();isNaN(y)||m.test(l)||(l+=" [".concat(y,"]")),!isNaN(y)&&Z&&(Z+=" [".concat(y,"]"))}var F=[l,t.title_addon,c,n].filter(function(e){return!!e}).join(" • "),P=(0,s.Tc)(null!==(u=null!==(O=null===(I=t.meta)||void 0===I?void 0:I.description)&&void 0!==O?O:t.description)&&void 0!==u?u:a.global_site_description);Z=Z||F;var w=t.socialDescription||P,H="https://asana.com".concat((0,R.prependLanguagePath)(e.locale,e.asPath)),M=!0===a.isEnglishFallback?"https://asana.com".concat((0,R.prependLanguagePath)(N.DEFAULT_LANGUAGE,e.asPath)):(0,R.cleanPath)((null===(v=t.meta)||void 0===v?void 0:v.canonical)||t.canonical||H),Y=t.share_url||H,U=(null===(g=t.meta)||void 0===g?void 0:g.share_image)||t.share_image||a.global_site_share_image,z=e.asPath.split("/").slice(1);return(0,B.BX)(d(),{children:[(0,B.tZ)("meta",{charSet:"utf-8"}),(0,B.tZ)("title",{children:(0,s.Tc)(F)}),(0,B.tZ)("meta",{httpEquiv:"X-UA-Compatible",content:"IE=edge,chrome=1"}),((null===(f=t.meta)||void 0===f?void 0:f.noIndex)||(null===(L=t.meta)||void 0===L?void 0:L.noFollow)||t.norobots||t._is_hidden)&&(0,B.tZ)("meta",{name:"ROBOTS",content:"NOINDEX,NOFOLLOW"}),t.structuredData&&(0,B.tZ)("script",{type:"application/ld+json",children:JSON.stringify(t.structuredData)}),(0,B.tZ)("meta",{name:"zd-site-verification",content:"oywgyiggh7v8kawrvgcr"}),(0,B.tZ)("meta",{name:"yandex-verification",content:"e3482b364e00d0a0"}),(0,B.tZ)("meta",{name:"naver-site-verification",content:"5c6fd36e7d95d9f0d1ecb0ca29f9834d56b3cec3"}),(0,B.tZ)("meta",{itemProp:"name",content:F}),(0,B.tZ)("meta",{property:"og:title",content:Z}),(0,B.tZ)("meta",{name:"twitter:title",content:Z}),(0,B.tZ)("link",{rel:"canonical",href:M}),(0,B.tZ)("link",{itemProp:"url",href:Y}),(0,B.tZ)("meta",{property:"og:url",content:Y}),(0,B.tZ)("meta",{name:"twitter:url",content:Y}),(0,B.tZ)("meta",{name:"description",content:P}),(0,B.tZ)("meta",{itemProp:"description",content:P}),(0,B.tZ)("meta",{name:"twitter:description",content:w}),(0,B.tZ)("meta",{property:"og:description",content:w}),(null===(K=t.meta)||void 0===K?void 0:K.seoKeywords)&&(0,B.tZ)("meta",{name:"keywords",content:t.meta.seoKeywords}),(0,B.tZ)("meta",{property:"author",content:"Asana"}),(0,B.tZ)("meta",{property:"og:site_name",content:n}),(0,B.tZ)("meta",{property:"fb:app_id",content:a.global_site_fb_app_id}),(0,B.tZ)("meta",{name:"twitter:site",content:"@asana"}),(0,B.tZ)("meta",{name:"twitter:creator",content:"@asana"}),(0,B.tZ)("meta",{name:"theme-color",content:"#2e3c54"}),(0,B.tZ)("meta",{name:"msapplication-navbutton-color",content:"#2e3c54"}),(0,B.tZ)("meta",{itemProp:"image",content:U}),(0,B.tZ)("meta",{property:"og:image",content:U}),(0,B.tZ)("meta",{name:"twitter:image",content:U}),(0,B.tZ)("meta",{name:"twitter:image:src",content:U}),(0,B.tZ)("link",{itemProp:"thumbnailUrl",href:U}),t.breadcrumbs&&(0,B.tZ)(C,{data:t.breadcrumbs}),t.share_app?(0,B.BX)(B.HY,{children:[(0,B.tZ)("meta",{name:"twitter:card",content:"app"}),(0,B.tZ)("meta",{name:"twitter:app:name:iphone",content:(0,s.Tc)(a.global_meta_desc)}),(0,B.tZ)("meta",{name:"twitter:app:id:iphone",content:"489969512"}),(0,B.tZ)("meta",{name:"twitter:app:name:ipad",content:(0,s.Tc)(a.global_meta_desc)}),(0,B.tZ)("meta",{name:"twitter:app:id:ipad",content:"489969512"}),(0,B.tZ)("meta",{name:"twitter:app:name:googleplay",content:(0,s.Tc)(a.global_meta_title)}),(0,B.tZ)("meta",{name:"twitter:app:id:googleplay",content:"com.asana.app"}),(0,B.tZ)("meta",{property:"al:ios:app_store_id",content:"489969512"}),(0,B.tZ)("meta",{property:"al:ios:app_name",content:(0,s.Tc)(a.global_meta_desc)}),(0,B.tZ)("meta",{property:"al:android:app_name",content:(0,s.Tc)(a.global_meta_title)}),(0,B.tZ)("meta",{property:"al:android:package",content:"com.asana.app"}),(0,B.tZ)("meta",{itemProp:"screenshot",content:"http://a5.mzstatic.com/us/r30/Purple3/v4/f9/19/5e/f9195e1d-504e-9777-514d-8de51ec87e15/screen568x568.jpeg"}),(0,B.tZ)("meta",{itemProp:"screenshot",content:"http://a3.mzstatic.com/us/r30/Purple4/v4/52/93/49/529349dc-61de-6232-ca64-5d543fa8b8d4/screen568x568.jpeg"}),(0,B.tZ)("meta",{itemProp:"downloadUrl",content:"https://play.google.com/store/apps/details?id=com.asana.app"}),(0,B.tZ)("meta",{itemProp:"applicationCategory",content:"Task Management"}),(0,B.tZ)("meta",{itemProp:"applicationCategory",content:"Productivity"}),(0,B.tZ)("meta",{itemProp:"operatingSystem",content:"Android 2.2+, iOS6+"}),(0,B.tZ)("meta",{itemProp:"device",content:"Android, iOS"})]}):t.share_video?(0,B.BX)(B.HY,{children:[(0,B.tZ)("meta",{property:"og:type",content:"video.movie"}),(0,B.tZ)("meta",{name:"twitter:card",content:"player"}),(0,B.tZ)("meta",{name:"twitter:player",content:t.player}),(0,B.tZ)("link",{itemProp:"embedURL",href:t.player}),(0,B.tZ)("meta",{property:"og:video",content:"http:".concat(t.share_video)}),(0,B.tZ)("meta",{property:"og:video:secure_url",content:"https:".concat(t.share_video)}),(0,B.tZ)("meta",{property:"og:video:type",content:"application/x-shockwave-flash"}),(0,B.tZ)("meta",{itemProp:"playerType",content:"Flash"}),(0,B.tZ)("meta",{property:"og:video:width",content:"640"}),(0,B.tZ)("meta",{property:"og:video:height",content:"360"}),(0,B.tZ)("meta",{itemProp:"width",content:"640"}),(0,B.tZ)("meta",{itemProp:"height",content:"360"}),(0,B.tZ)("meta",{name:"twitter:player:width",content:"435"}),(0,B.tZ)("meta",{name:"twitter:player:height",content:"245"})]}):(0,B.BX)(B.HY,{children:[(0,B.tZ)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,B.tZ)("meta",{property:"og:type",content:"article"})]}),"asanapedia"===z[0]?T().dev_environment_favicons_notrans.map(function(e,a){return(0,B.tZ)("link",{rel:e.rel,sizes:e.sizes,type:"image/png",href:e.href},a)}):(0,B.BX)(B.HY,{children:[T().prod_environment_favicons_notrans.map(function(e,a){return(0,B.tZ)("link",{rel:e.rel,sizes:e.sizes,type:"image/png",href:e.href},a)}),(0,B.tZ)("link",{rel:"shortcut icon",href:T().shortcut_icon_notrans})]}),(0,B.tZ)("meta",{name:"apple-itunes-app",content:"app-id=489969512"}),(0,B.tZ)("meta",{name:"twitter:app:name:iphone",content:(0,s.Tc)(a.global_meta_desc)}),(0,B.tZ)("meta",{name:"twitter:app:id:iphone",content:"489969512"}),(0,B.tZ)("meta",{name:"twitter:app:name:ipad",content:(0,s.Tc)(a.global_meta_desc)}),(0,B.tZ)("meta",{name:"twitter:app:id:ipad",content:"489969512"}),(0,B.tZ)("meta",{name:"twitter:app:name:googleplay",content:a.global_meta_title}),(0,B.tZ)("meta",{name:"twitter:app:id:googleplay",content:"com.asana.app"}),(0,B.tZ)("meta",{name:"google-site-verification",content:"DxotoqlMTfSRrxiKGMd-XA44xVkuFK-hBE6Fb1s_sos"}),(0,B.tZ)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),C({data:{"@context":"http://schema.org","@type":"Organization",url:"https://asana.com",logo:"https://assets.asana.biz/m/5f083bc48e06e1e2/original/asana-logo-1200x1200.png",sameAs:["http://facebook.com/asana","http://www.twitter.com/asana","http://instagram.com/teamasana","https://www.linkedin.com/company/asana","https://www.youtube.com/user/AsanaTeam"]}}),C({data:{"@context":"http://schema.org","@type":"WebSite",name:n,url:"https://asana.com",potentialAction:{"@type":"SearchAction",target:"https://asana.com/guide/search#stq={search_term_string}","query-input":"required name=search_term_string"}}}),"resourceArticle"===t._template&&C({data:{"@context":"http://schema.org","@id":Y,"@type":"NewsArticle",headline:(0,s.Tc)(F),image:"https://assets.asana.biz/m/5f083bc48e06e1e2/original/asana-logo-1200x1200.png",datePublished:"".concat((null===(h=t.pageTemplate)||void 0===h||null===(h=h.resourceCard)||void 0===h?void 0:h.publishDateRaw)||"","T11:00:00+0000"),dateModified:"".concat((null===(S=t.pageTemplate)||void 0===S||null===(S=S.resourceCard)||void 0===S?void 0:S.publishDateRaw)||"","T11:00:00+0000"),author:{"@type":"Person",name:(null===(G=t.pageTemplate)||void 0===G||null===(G=G.resourceCard)||void 0===G||null===(G=G.contributor)||void 0===G?void 0:G.fullName)||"",url:"https://asana.com"},publisher:{"@type":"Organization",name:"Asana",url:"https://asana.com",logo:{"@type":"ImageObject",url:"https://assets.asana.biz/m/5f083bc48e06e1e2/original/asana-logo-1200x1200.png",width:1200,height:1200},sameAs:["https://www.facebook.com/asana/","https://www.linkedin.com/company/asana/","https://twitter.com/asana"].concat((0,o.Z)(null!==(D=null==t||null===(b=t.meta)||void 0===b?void 0:b.sameAs)&&void 0!==D?D:[]))}}})]})}function C(e){var a=e.data;return(0,B.tZ)("script",function(e){for(var a=1;a0&&t.height>0}):[];0!==e.length&&(r.current=e[0],i.current=e[e.length-1],r.current&&r.current.focus())};return(0,o.useEffect)(function(){var e=function(e){e.shiftKey?document.activeElement===r.current&&(e.preventDefault(),i.current.focus()):document.activeElement===i.current&&(e.preventDefault(),r.current.focus())},a=function(a){"Escape"===a.key&&(a.preventDefault(),t.onClose(),window.location.hash="#close"),"Tab"===a.key&&e(a)},o=function(e){var a;null!==(a=n.current)&&void 0!==a&&a.contains(e.target)||(t.onClose(),window.location.hash="#close")};return window.addEventListener("click",o),window.addEventListener("keydown",a),d(),function(){window.removeEventListener("click",o),window.removeEventListener("keydown",a)}},[]),(0,s.BX)("div",{id:t.modal_id_notrans,className:"modal -".concat(t.modal_class_notrans," -active"),tabindex_origin:t.tabindex_origin,children:[(0,s.tZ)("a",{"data-modal-close":!0,href:"#close",className:"modal-logo",children:(0,s.tZ)("span",{className:"sr-only",children:"Close Modal"})}),(0,s.tZ)("a",{"data-modal-close":!0,href:"#close",className:"modal-close modal-close-background",children:(0,s.tZ)("span",{className:"sr-only",children:"Close Modal"})}),(0,s.BX)("div",{className:"modal-container",ref:n,children:[(0,s.tZ)("a",{"data-modal-close":!0,href:"#close",className:"modal-close icon icon--x js-modal-close",onClick:t.onClose,children:(0,s.tZ)("span",{className:"sr-only",children:"Close modal"})}),a]})]})}var T=t(35005),A=["children"];function _(e){var a=e.children,t=(0,E.Z)(e,A);return(0,s.BX)(s.HY,{children:[t.modal_img_src&&(0,s.tZ)("div",{className:"modal-img",children:(0,s.tZ)("img",{alt:"",src:t.modal_img_src})}),t.modal_title&&(0,s.tZ)("h3",{className:"modal-header",children:(0,s.tZ)(T.ZP,{html:t.modal_title})}),(0,s.BX)("div",{className:"modal-content",children:[t.modal_content&&(0,s.tZ)("p",{children:(0,s.tZ)(T.ZP,{html:t.modal_content})}),a]})]})}var R=t(8706),N=["children"];function B(e){var a=e.children,t=(0,E.Z)(e,N);return(0,s.BX)(s.HY,{children:[(0,s.BX)("div",{className:"signup-modal",children:[t.modal_img_src&&(0,s.tZ)("div",{className:"modal-img",children:(0,s.tZ)(R.default,{src:t.modal_img_src})}),t.modal_title&&(0,s.tZ)("h3",{className:"modal-header",children:(0,s.tZ)(T.ZP,{html:t.modal_title})}),(0,s.BX)("div",{className:"modal-content",children:[t.modal_content&&(0,s.tZ)("p",{children:(0,s.tZ)(T.ZP,{html:t.modal_content})}),a]})]}),(0,s.tZ)("div",{className:"premium-reminder-modal-overlay",children:(0,s.BX)("aside",{className:"premium-reminder-modal",children:[t.premium_reminder_label&&(0,s.tZ)("h3",{className:"premium-reminder-label",children:t.premium_reminder_label}),t.premium_reminder_title&&(0,s.tZ)("p",{className:"premium-reminder-title",children:t.premium_reminder_title}),t.premium_reminder_image_src&&(0,s.tZ)("section",{className:"premium-reminder-image-container",children:(0,s.tZ)(R.default,{src:t.premium_reminder_image_src})}),t.premium_reminder_premium_cta&&(0,s.BX)("div",{className:"premium-reminder-cta-container",children:[(0,s.BX)("button",{className:"button -large -border signupForm-submit -basic",onClick:function(e){AsanaHelpers.tier.setTierFree(),AsanaHelpers.recordTrialIntent(),AsanaHelpers.signupWithEmail(document.querySelector(".signupForm.-modal-signup")),AsanaSignupUtils.signupButtons.request(e.target)},children:[(0,s.tZ)("span",{className:"signupForm-submit-icon",children:(0,s.tZ)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",children:(0,s.tZ)("circle",{cx:"8",cy:"8",r:"7.5"})})}),(0,s.BX)("span",{className:"signupForm-submit-text",children:[(0,s.tZ)("span",{children:t.premium_reminder_premium_cta}),(0,s.tZ)("span",{className:"signupForm-premium-progress-text",children:t.global_CTAsignupProgress})]})]}),(0,s.BX)("a",{className:"button -large premium-reminder-basic-button signupForm-submit -basic js-signup-button",href:"#",onClick:function(e){e.preventDefault(),AsanaHelpers.enterFreeSignupFlow(),AsanaHelpers.signupWithEmail(document.querySelector(".signupForm.-modal-signup")),AsanaSignupUtils.signupButtons.request(e.target)},children:[(0,s.tZ)("span",{className:"signupForm-submit-icon",children:(0,s.tZ)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",children:(0,s.tZ)("circle",{cx:"8",cy:"8",r:"7.5"})})}),(0,s.BX)("span",{className:"signupForm-submit-text",children:[(0,s.tZ)("span",{children:t.premium_reminder_basic_cta}),(0,s.tZ)("span",{children:t.global_CTAsignupProgress})]})]})]})]})})]})}var Z=t(17674),m=["children"];function C(e){e.children;var a,t=(0,E.Z)(e,m),n=((null===(a=window.AsanaHelpers.currentModal)||void 0===a?void 0:a.data)||{}).is_invalid_email_domain_provider,o=void 0!==n&&n?[t.modal_error_invalid_email_domain_provider.modal_title||t.modal_title,t.modal_error_invalid_email_domain_provider.modal_content||t.modal_content]:[t.modal_title,t.modal_content],r=(0,Z.Z)(o,2),i=r[0],d=r[1];return(0,s.BX)(s.HY,{children:[i&&(0,s.tZ)("h3",{className:"modal-header",children:(0,s.tZ)(T.ZP,{html:i})}),(0,s.tZ)("div",{className:"modal-content",children:d&&(0,s.tZ)("p",{children:(0,s.tZ)(T.ZP,{html:d})})})]})}var p=t(18781),u=t(80991),O=t(73033),I=t(21276),v=t(55319),g=t(60615),f=t(74883);t(54614);var L=function(e){var a,t=(0,o.useState)(!1),n=t[0],r=t[1],i=null===(a=window.AsanaHelpers.currentModal)||void 0===a?void 0:a.data.user_email,d=(0,v.Z)("div",{target:"e1n5dym51"})("display:flex;flex-flow:row nowrap;button:first-of-type{margin-right:",f.N.SPACING_16,";}padding-bottom:",f.N.SPACING_16,";"),E=(0,v.Z)("div",{target:"e1n5dym50"})({name:"1yc9uo8",styles:"overflow-wrap:break-word"});return(0,s.tZ)(s.HY,{children:(0,s.BX)(E,{children:[(0,s.tZ)("h4",{children:"".concat(i," is already associated with an Asana account")}),(0,s.tZ)("p",{children:"Do you want to use this account to connect to the Align plan?"}),(0,s.tZ)("ul",{children:["Your account will become HIPAA compliant","You'll get real-time data from Align via an integration","Any existing data won't be moved or lost"].map(function(e,a){return(0,s.tZ)("li",{children:e},a)})}),(0,s.BX)("p",{children:["If you have any questions,"," ",(0,s.tZ)("a",{href:"https://form.jotform.com/220864619371056",target:"_blank",children:"contact support"}),"."]}),(0,s.BX)(d,{children:[(0,s.tZ)(g.default,{isButton:!0,isSecondary:!0,onClick:e.onClose,disabled:n,text:"Cancel"}),(0,s.tZ)(g.default,{id:"align-self-serve__use-this-account",isButton:!0,isSecondary:!1,onClick:function(e){e.preventDefault(),e.stopPropagation(),r(!0);var a,t=null===(a=window.AsanaHelpers.currentModal)||void 0===a?void 0:a.data.user_email,n=AsanaHelpers.getOrCreateXsrfToken();window.location=AsanaHelpers.appUrl("/-/domain_channel_signup?email=".concat(encodeURIComponent(t),"&channel=align&xsrf_token=").concat(n))},disabled:n,text:"Use this account"})]})]})})},K=function(e){var a,t=null===(a=window.AsanaHelpers.currentModal)||void 0===a?void 0:a.data.user_email,n=(0,v.Z)("div",{target:"e1oh2cky1"})("display:flex;flex-flow:row nowrap;button:first-of-type{margin-right:",f.N.SPACING_16,";}padding-bottom:",f.N.SPACING_16,";"),o=(0,v.Z)("div",{target:"e1oh2cky0"})({name:"1yc9uo8",styles:"overflow-wrap:break-word"});return(0,s.tZ)(s.HY,{children:(0,s.BX)(o,{children:[(0,s.tZ)("h4",{children:"".concat(t," is already associated with an Asana account")}),(0,s.tZ)("p",{children:"If you want to use this account to connect to the Align plan, you will need to contact Align support to have this account migrated."}),(0,s.BX)(n,{children:[(0,s.tZ)(g.default,{isButton:!0,isSecondary:!0,onClick:e.onClose,text:"Cancel"}),(0,s.tZ)(g.default,{isButton:!0,isSecondary:!1,href:"https://form.jotform.com/220864619371056",text:"Contact support",target:"_blank"})]})]})})},h=function(e){var a,t=null===(a=window.AsanaHelpers.currentModal)||void 0===a?void 0:a.data.user_email,n=(0,v.Z)("div",{target:"e1qffnnu1"})("display:flex;flex-flow:row nowrap;button:first-of-type{margin-right:",f.N.SPACING_16,";}padding-bottom:",f.N.SPACING_16,";"),o=(0,v.Z)("div",{target:"e1qffnnu0"})({name:"1yc9uo8",styles:"overflow-wrap:break-word"});return(0,s.tZ)(s.HY,{children:(0,s.BX)(o,{children:[(0,s.tZ)("h4",{children:"".concat(t," is associated with an existing domain already set up in Asana.")}),(0,s.tZ)("p",{children:"If you want to use this email to signup, you will need to contact support to have the domain migrated over. Our support team will guide you through the steps to make this happen."}),(0,s.BX)(n,{children:[(0,s.tZ)(g.default,{isButton:!0,isSecondary:!0,onClick:e.onClose,text:"Cancel"}),(0,s.tZ)(g.default,{isButton:!0,isSecondary:!1,href:"https://form.jotform.com/220864619371056",text:"Contact support",target:"_blank"})]})]})})},S=function(e){var a=(0,v.Z)("div",{target:"ejun9jx1"})("display:flex;flex-flow:row nowrap;button:first-of-type{margin-right:",f.N.SPACING_16,";}padding-bottom:",f.N.SPACING_16,";"),t=(0,v.Z)("div",{target:"ejun9jx0"})({name:"1yc9uo8",styles:"overflow-wrap:break-word"});return(0,s.tZ)(s.HY,{children:(0,s.BX)(t,{children:[(0,s.tZ)("h4",{children:"We encountered an error"}),(0,s.tZ)("p",{children:"Please contact support."}),(0,s.BX)(a,{children:[(0,s.tZ)(g.default,{isButton:!0,isSecondary:!0,onClick:e.onClose,text:"Cancel"}),(0,s.tZ)(g.default,{isButton:!0,isSecondary:!1,href:"/support",text:"Contact support",target:"_blank"})]})]})})},G=t(50390);function D(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function b(e){for(var a=1;a