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E,GAC5C,EAEOP,CACT,IAEApT,EAAGF,OAAO,qBAAqB,IAE5B,WA80BD,MA70BiB,CACf,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,KACV,EAAU,KACV,EAAU,KACV,EAAU,KACV,EAAU,KACV,EAAU,KACV,EAAU,KACV,EAAU,KACV,EAAU,KACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,KACV,EAAU,KACV,EAAU,KACV,EAAU,KACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,KACV,EAAU,KACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,KACV,EAAU,KACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,KACV,EAAU,KACV,EAAU,KACV,EAAU,KACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,KACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,KACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,KACV,EAAU,KACV,EAAU,KACV,EAAU,KACV,EAAU,KACV,EAAU,KACV,EAAU,KACV,EAAU,KACV,EAAU,KACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,KACV,EAAU,KACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,KACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,KACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,KACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,KACV,EAAU,KACV,EAAU,KACV,EAAU,KACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,KACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,KACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,EA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cAAcvqF,MAC/BqqF,GAAW,CACf,IAAI3xD,EAAUp0C,EAASq/B,qBAAqB,UAC5C,GAAG+U,EAAQl0C,OAEV,IADA,IAAI6E,EAAIqvC,EAAQl0C,OAAS,EAClB6E,GAAK,IAAMghG,GAAWA,EAAY3xD,EAAQrvC,KAAK2W,GAExD,CAID,IAAKqqF,EAAW,MAAM,IAAI/vF,MAAM,yDAChC+vF,EAAYA,EAAU/+F,QAAQ,OAAQ,IAAIA,QAAQ,QAAS,IAAIA,QAAQ,YAAa,KACpFu+F,EAAoB7uF,EAAIqvF,yBClBxBpmG,EAAA,OACAA,EAAA,OAGAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OAGAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OAEAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OAEAA,EAAA,OACAA,EAAA,OACAA,EAAA,MACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA,OACAA,EAAA","sources":["webpack://MHG/./src/WellnessTeaser/js/customSelects.js","webpack://MHG/./src/WellnessTeaser/js/emailSignUpValidation.js","webpack://MHG/./src/WellnessTeaser/js/form.js","webpack://MHG/./src/WellnessTeaser/js/helper.js","webpack://MHG/./src/WellnessTeaser/js/homepageVideo.js","webpack://MHG/./src/WellnessTeaser/js/index-wellnessteaser.js","webpack://MHG/./src/WellnessTeaser/js/isCMSMode.js","webpack://MHG/./src/WellnessTeaser/js/keyboardInterupts.js","webpack://MHG/./src/WellnessTeaser/js/smoothScrolling-wellness-teaser.js","webpack://MHG/./src/libs/select2.js","webpack://MHG/./node_modules/jquery/dist/jquery.js","webpack://MHG/./node_modules/locomotive-scroll/dist/locomotive-scroll.esm.js","webpack://MHG/./node_modules/lodash/lodash.js","webpack://MHG/webpack/bootstrap","webpack://MHG/webpack/runtime/define property getters","webpack://MHG/webpack/runtime/global","webpack://MHG/webpack/runtime/hasOwnProperty shorthand","webpack://MHG/webpack/runtime/make namespace object","webpack://MHG/webpack/runtime/node module decorator","webpack://MHG/webpack/runtime/publicPath","webpack://MHG/./src/WellnessTeaser/index-wellnessteaser.js"],"sourcesContent":["import $ from 'jquery';\r\nimport select2 from '../../libs/select2';\r\n\r\n$(document).ready(function () {\r\n // Payment form selects are handled by the gulpfile code\r\n if ($('#payment-form-page').length == 0) {\r\n\r\n function setAriaLabelledByValueFromParentID() {\r\n\r\n const episerverFormMainBody = document.querySelector('.Form__MainBody');\r\n\r\n if (episerverFormMainBody) {\r\n\r\n const select2 = document.querySelectorAll('.select2');\r\n\r\n select2.forEach((select) => {\r\n const parent = select.parentElement;\r\n const labelID = parent.querySelector('label')?.id;\r\n\r\n const formSelect2Combobox = parent.querySelector('.select2-selection');\r\n if (labelID) {\r\n formSelect2Combobox.setAttribute('aria-labelledby', labelID);\r\n }\r\n });\r\n }\r\n }\r\n\r\n $('.Form__MainBody select').each(function (index, elem) {\r\n var container = $(this).parents(\".FormSelection\");\r\n $(this).select2({\r\n minimumResultsForSearch: Infinity,\r\n dropdownParent: container\r\n }).on('select2:open', function (e) {\r\n document.body.classList.add('select2-dropdown-open');\r\n }).on('select2:close', function (e) {\r\n document.body.classList.remove('select2-dropdown-open');\r\n document.body.classList.remove('mouse-select2-hovered-over');\r\n\r\n const event = new CustomEvent('prevent-select2-scroll-on');\r\n document.dispatchEvent(event);\r\n }).on('select2:select', function (e) {\r\n document.body.classList.remove('select2-dropdown-open');\r\n document.body.classList.remove('mouse-select2-hovered-over');\r\n\r\n const event = new CustomEvent('prevent-select2-scroll-on');\r\n document.dispatchEvent(event);\r\n });\r\n\r\n setAriaLabelledByValueFromParentID();\r\n });\r\n\r\n $('.FormTextbox__Input, form.EPiServerForms ').prop(\"autocomplete\", \"chrome-off\");\r\n\r\n\r\n\r\n // Detect when select is hovered over or not\r\n document.querySelectorAll('.FormSelection').forEach(select2Elem => {\r\n select2Elem.addEventListener('mouseover', (e) => {\r\n if (!e.target) return;\r\n\r\n const target = e.target.closest(\".select2-dropdown\");\r\n if (target) {\r\n document.body.classList.add('mouse-select2-hovered-over');\r\n\r\n const event = new CustomEvent('prevent-select2-scroll-off');\r\n document.dispatchEvent(event);\r\n }\r\n });\r\n\r\n select2Elem.addEventListener('mouseout', (e) => {\r\n if (!e.target) return;\r\n\r\n const target = e.target.closest(\".select2-dropdown\");\r\n if (target) {\r\n document.body.classList.remove('mouse-select2-hovered-over');\r\n\r\n const event = new CustomEvent('prevent-select2-scroll-on');\r\n document.dispatchEvent(event);\r\n }\r\n });\r\n });\r\n\r\n }\r\n});","import $ from 'jquery';\r\nimport { debounce } from 'lodash';\r\n\r\n$(document).ready(function () {\r\n const $emailNewsletterField = $('#newsletter-email');\r\n const $emailNewsletterSignup = $('#newsletter-signup');\r\n const $error = $('#emailSignupBlockRequired');\r\n\r\n $emailNewsletterSignup.click(function (event) {\r\n event.preventDefault();\r\n\r\n const $form = $(this).closest('form');\r\n\r\n if (validateEmail($emailNewsletterField.val())) {\r\n $error.removeClass('d-block');\r\n $emailNewsletterField.removeClass('invalid');\r\n window.location.href = $form.attr('action') + '?email=' + $emailNewsletterField.val();\r\n } else {\r\n $emailNewsletterField.addClass('invalid');\r\n $error.addClass('d-block');\r\n }\r\n });\r\n \r\n $emailNewsletterField.on('input', function (event) {\r\n debounceValidate();\r\n });\r\n\r\n const debounceValidate = debounce(validate, 300);\r\n\r\n function validate() {\r\n if (validateEmail($emailNewsletterField.val())) {\r\n $error.removeClass('d-block');\r\n $emailNewsletterField.removeClass('invalid');\r\n } else {\r\n $emailNewsletterField.addClass('invalid');\r\n $error.addClass('d-block');\r\n }\r\n }\r\n\r\n function validateEmail(email) {\r\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n return re.test(String(email).toLowerCase());\r\n }\r\n});","import $ from 'jquery';\r\n\r\n$(document).ready(function () {\r\n checkInputsForValue();\r\n\r\n $(\".FormTextbox input, .FormTextbox textarea\").on(\"focus\", (e) => {\r\n $(e.target).parent().addClass(\"animated-label\");\r\n }).on(\"blur\", (e) => {\r\n const inputValue = e.target.value;\r\n if (inputValue == \"\") {\r\n $(e.target).parent().removeClass(\"animated-label\");\r\n }\r\n })\r\n});\r\n\r\nfunction checkInputsForValue() {\r\n $(\".FormTextbox input, .FormTextbox textarea\").each(function () {\r\n if ($(this).val() != \"\") {\r\n $(this).parent().addClass(\"animated-label\");\r\n }\r\n });\r\n}","const MOBILE_MAX_BREAKPOINT = 767;\r\nconst TABLET_MIN_BREAKPOINT = 768;\r\nconst TABLET_MAX_BREAKPOINT = 992;\r\n\r\nfunction isMobile() {\r\n return (window.outerWidth < MOBILE_MAX_BREAKPOINT);\r\n}\r\n\r\nfunction isTablet() {\r\n return (window.outerWidth >= TABLET_MIN_BREAKPOINT && window.outerWidth < TABLET_MAX_BREAKPOINT);\r\n}\r\n\r\nfunction isVisible(elem) {\r\n return !!(elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length);\r\n}\r\n\r\n// This function is a substitute for the jQuery parents function.\r\nfunction parentsUntil(el, selector) {\r\n const parents = [];\r\n while ((el = el.parentNode) && el !== document) {\r\n if (!selector || el.matches(selector)) parents.push(el);\r\n }\r\n return parents;\r\n}\r\n\r\nfunction nextSibling(elem, selector) {\r\n const nextSibling = elem.nextElementSibling;\r\n\r\n while (nextSibling) {\r\n if (nextSibling.matches(selector)) return nextSibling;\r\n nextSibling = nextSibling.nextElementSibling;\r\n }\r\n\r\n return false;\r\n}\r\n\r\nfunction debounce(func, wait, immediate) {\r\n var timeout;\r\n return function () {\r\n var context = this, args = arguments;\r\n var later = function () {\r\n timeout = null;\r\n if (!immediate) func.apply(context, args);\r\n };\r\n var callNow = immediate && !timeout;\r\n clearTimeout(timeout);\r\n timeout = setTimeout(later, wait);\r\n if (callNow) func.apply(context, args);\r\n };\r\n}\r\n\r\n/**\r\n * Get a cookie\r\n * @param name - cookie name\r\n * @returns string\r\n */\r\nfunction getCookie(name) {\r\n name = name + \"=\";\r\n const cookieStr = document.cookie.split(';');\r\n\r\n for (let i = 0; i < cookieStr.length; i++) {\r\n let cookie = cookieStr[i];\r\n while (cookie.charAt(0) == ' ') {\r\n cookie = cookie.substring(1);\r\n }\r\n if (cookie.indexOf(name) == 0) {\r\n return cookie.substring(name.length, cookie.length);\r\n }\r\n }\r\n return \"\";\r\n}\r\n\r\n/**\r\n * Set a cookie\r\n * @param name - cookie name\r\n * @param value - cookie value\r\n * @param expireDays - expiry in days\r\n */\r\nfunction setCookie(name, value, expireDays) {\r\n const currentDate = new Date();\r\n currentDate.setTime(currentDate.getTime() + (expireDays * 24 * 60 * 60 * 1000));\r\n const expires = \"expires=\" + currentDate.toUTCString();\r\n document.cookie = name + \"=\" + value + \";\" + expires + \";path=/\";\r\n}\r\n\r\n/**\r\n * @description Gets a list of query strings from the Url.\r\n * @return {array}\r\n */\r\nfunction getQueryStrings() {\r\n const queryParams = [];\r\n const queryStrings = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');\r\n\r\n for (let i = 0; i < queryStrings.length; i++) {\r\n const hash = queryStrings[i].split('=');\r\n queryParams.push(hash[0]);\r\n queryParams[hash[0]] = hash[1];\r\n }\r\n\r\n return queryParams;\r\n}\r\n\r\n/**\r\n * @description Gets the value of a query string parameter\r\n * @param {string} Name of the query string parameter\r\n * @return {string}\r\n */\r\nfunction getQueryString(name) {\r\n return getQueryStrings()[name];\r\n}\r\n\r\n/**\r\n * @description Swaps text around in elements (typically buttons). data-current-state=\"\" and data-next-state=\"\" must be on the element for this to work. \r\n */\r\nfunction swapButtonStates(element) {\r\n const currentState = element.getAttribute(\"current-state\");\r\n const nextState = element.getAttribute(\"next-state\");\r\n\r\n if (currentState == null || nextState == null) return false;\r\n\r\n // Swap the buttons text around between 'more' and 'less'\r\n let elementHTML = element.innerHTML;\r\n elementHTML.replace(currentState, nextState);\r\n element.innerHTML(elementHTML);\r\n\r\n element.setAttribute(\"current-state\", nextState);\r\n element.setAttribute(\"next-state\", currentState);\r\n}\r\n\r\nfunction deviceHasTouchSupport() {\r\n let supportsTouch = false;\r\n\r\n if ('ontouchstart' in window) // iOS & android\r\n supportsTouch = true;\r\n else if (window.navigator.msPointerEnabled) // Win8\r\n supportsTouch = true;\r\n else if ('ontouchstart' in document.documentElement)\r\n supportsTouch = true;\r\n\r\n return supportsTouch;\r\n}\r\n\r\nexport {\r\n isMobile,\r\n isTablet,\r\n parentsUntil,\r\n nextSibling,\r\n debounce,\r\n getCookie,\r\n setCookie,\r\n getQueryString,\r\n getQueryStrings,\r\n swapButtonStates,\r\n deviceHasTouchSupport,\r\n isVisible\r\n}","\r\nwindow.addEventListener('load', function (event) {\r\n const videoBannerDateElem = document.querySelector('.videoBanner__date');\r\n if (document.querySelectorAll(\".videoBanner\").length > 0) videoRemovalInit();\r\n\r\n if (videoBannerDateElem) {\r\n const setVideoDate = () => {\r\n const videoDate = new LocalDate('Europe/London', 'London', videoBannerDateElem);\r\n videoDate.setDate();\r\n\r\n videoBannerDateElem.classList.add('videoBanner__date_fadeIn');\r\n\r\n }\r\n \r\n setInterval(setVideoDate, 1000);\r\n\r\n }\r\n});\r\n\r\nfunction addClass() {\r\n const body = document.body;\r\n body.classList.add(\"js--hide-video\");\r\n}\r\n\r\nfunction removeClass() {\r\n const body = document.body;\r\n body.classList.remove(\"js--hide-video\");\r\n}\r\n\r\nfunction videoRemovalInit() {\r\n\r\n const viewPortWidth = window.innerWidth || document.documentElement.clientWidth;\r\n\r\n document.addEventListener('scroll', (event) => {\r\n if (document.documentElement.scrollTop > 1400 && viewPortWidth < 991) {\r\n addClass()\r\n }\r\n else {\r\n removeClass();\r\n }\r\n });\r\n}\r\n\r\nclass LocalDate {\r\n constructor(dateLocale, locationText, element) {\r\n this._localDateElem = element;\r\n this._dateLocale = dateLocale;\r\n this._locationText = locationText;\r\n this._currentDate = new Date();\r\n this._date = this._currentDate.toLocaleDateString('en-GB').replaceAll('/', '.');\r\n this._time = this._currentDate.toLocaleTimeString('en-GB', {\r\n timeZone: this._dateLocale,\r\n hour: '2-digit',\r\n minute: '2-digit'\r\n }).replaceAll(',', '');\r\n }\r\n\r\n setDate() {\r\n if (this._localDateElem) {\r\n this._localDateElem.innerHTML = `${this._locationText} ${this._time} ${this._date}`;\r\n }\r\n }\r\n}","\r\n// Custom\r\nimport './customSelects';\r\nimport './smoothScrolling-wellness-teaser';\r\nimport './emailSignUpValidation';\r\n//import './fileUpload';\r\nimport './isCMSMode';\r\nimport './homepageVideo';\r\nimport './form';\r\nimport { init as initKeyboardInterupts } from './keyboardInterupts';\r\n\r\ninitKeyboardInterupts();\r\n\r\nwindow.site = 'wellness-teaser';\r\n\r\nwindow.addEventListener('load', (event) => {\r\n const videoBanner = document.querySelector('.videoBanner');\r\n const header = document.querySelector('.header');\r\n\r\n if (!videoBanner && header) {\r\n header.classList.add('header--white');\r\n header.classList.remove('header--transparent');\r\n header.querySelector('.header__logo-link').classList.remove('d-none');\r\n } else {\r\n header.classList.remove('header--white');\r\n header.classList.add('header--transparent');\r\n }\r\n});\r\n\r\n","window.addEventListener('load', (event) => {\r\n if (isCMSMode()) {\r\n document.querySelector('body').classList.add('isCMSMode');\r\n }\r\n});\r\n\r\n\r\nfunction isCMSMode() {\r\n return (window.location !== window.parent.location);\r\n}\r\n\r\nmodule.exports = isCMSMode;\r\n","const onKeyDown = (e) => {\r\n preventScrollWhenSelect2Open(e);\r\n}\r\n\r\n// This code is used to stop the page from scrolling up/down if the user has a select2 open. This is checked using a class that is applied to the body.\r\nconst preventScrollWhenSelect2Open = (e) => {\r\n if (e.key == 'ArrowUp' || e.key == 'ArrowDown') {\r\n const isSelect2Open = document.body.classList.contains('select2-dropdown-open');\r\n if (isSelect2Open == false) return;\r\n\r\n e.preventDefault();\r\n e.stopPropagation();\r\n return false;\r\n }\r\n}\r\n\r\nconst init = () => {\r\n document.addEventListener('keydown', onKeyDown);\r\n}\r\n\r\nexport {\r\n init,\r\n}","import LocomotiveScroll from 'locomotive-scroll';\r\nimport isCMSMode from './isCMSMode';\r\nimport { debounce } from 'lodash';\r\nimport { isVisible } from './helper';\r\nlet oldHeaderSizeScrollLocation = -1;\r\n\r\nif (document.querySelectorAll('[data-scroll-container]').length && isCMSMode() == false) {\r\n const locoScrollOptions = {\r\n el: document.querySelector('[data-scroll-container]'),\r\n smooth: true,\r\n smartphone: { smooth: false },\r\n tablet: { smooth: true },\r\n lerp: 0.1,\r\n reloadOnContextChange: true,\r\n }\r\n\r\n let locoScroll = new LocomotiveScroll(locoScrollOptions);\r\n\r\n const targetNode = document.getElementById('scroll-container');\r\n\r\n const config = { attributes: false, childList: true, subtree: true };\r\n\r\n const callback = function (mutationsList, observer) {\r\n let updateScroll = false;\r\n for (const mutation of mutationsList) {\r\n if (mutation.type === 'childList') {\r\n updateScroll = true;\r\n }\r\n }\r\n if (updateScroll) {\r\n setTimeout(function () { locoScroll.update() }, 1000);\r\n }\r\n };\r\n\r\n const observer = new MutationObserver(callback);\r\n const videoBanner = document.querySelector('.videoBanner');\r\n const header = document.querySelector('.header');\r\n const headerLogo = document.querySelector('.header__logo');\r\n const exploreButton = document.querySelector('.videoBanner__explore');\r\n const videoBannerLogo = document.querySelector('.videoBanner__logo');\r\n let headerLogoDefaultSize = null;\r\n const htmlTag = document.documentElement;\r\n\r\n // Detect whether loco scroll has stopped scrolling\r\n const isScrollingObserver = new MutationObserver(function (mutations) {\r\n mutations.forEach(function (mutationRecord) {\r\n // If the has-scrolling has has been removed\r\n if (mutationRecord.oldValue.includes('has-scroll-scrolling') && mutationRecord.target.classList.contains('has-scroll-scrolling') === false) {\r\n const event = new Event('LocoScrollStoppedScrolling', { bubbles: true, cancelable: true });\r\n window.dispatchEvent(event);\r\n }\r\n });\r\n });\r\n\r\n window.addEventListener(\"load\", () => {\r\n headerLogoDefaultSize = headerLogo.getBoundingClientRect().height;\r\n locoScroll.update();\r\n resizeHeaderLogo(0);\r\n observer.observe(targetNode, config);\r\n bookingMenuOnClick();\r\n scrollToFirstValidationError();\r\n\r\n returnToPreviousScrollPosition();\r\n\r\n\r\n // Detect whether loco scroll has stopped scrolling by checking classes on html tag\r\n isScrollingObserver.observe(htmlTag, { attributes: true, attributeFilter: ['class'], attributeOldValue: true });\r\n\r\n\r\n });\r\n\r\n // When the orientation is changed, reload the page\r\n //window.addEventListener(\"orientationchange\", () => {\r\n // setTimeout(function () {\r\n // window.location.reload(true);\r\n // }, 250);\r\n //});\r\n\r\n window.addEventListener(\"recalculateScroll\", () => {\r\n locoScroll.update();\r\n });\r\n\r\n window.addEventListener('LocoScrollStoppedScrolling', () => {\r\n resizeHeaderLogo(window['scrolInstance'].scroll.instance.scroll);\r\n window['scrolInstance'].update();\r\n });\r\n\r\n document.addEventListener('scrollend', () => {\r\n resizeHeaderLogo(window.scrollY);\r\n });\r\n\r\n document.addEventListener('prevent-select2-scroll-on', () => {\r\n window['scrolInstance'].start();\r\n });\r\n\r\n document.addEventListener('prevent-select2-scroll-off', () => {\r\n window['scrolInstance'].stop();\r\n });\r\n\r\n const restartLocomotiveScroll = debounce(() => {\r\n window['scrolInstance'].update();\r\n }, 200);\r\n\r\n window.addEventListener(\"resize\", () => {\r\n restartLocomotiveScroll();\r\n })\r\n\r\n function isInViewport(element) {\r\n const rect = element.getBoundingClientRect();\r\n\r\n // Check to make sure top is above 0 to fix issue where videos were being classed as inview when they werent\r\n return (\r\n rect.top > 0 && rect.top <= (window.innerHeight || document.documentElement.clientHeight)\r\n );\r\n }\r\n\r\n function bookingButtonClick() {\r\n locoScroll.stop();\r\n }\r\n\r\n function closeBookingClick() {\r\n locoScroll.start();\r\n }\r\n\r\n function bookingMenuOnClick() {\r\n const bookingButtons = document.querySelectorAll('.js-room-button');\r\n bookingButtons.forEach(button => {\r\n button.addEventListener('click', bookingButtonClick)\r\n })\r\n\r\n const closeBookingButton = document.querySelector('.js-booking-close')\r\n if (closeBookingButton) {\r\n closeBookingButton.addEventListener('click', closeBookingClick)\r\n }\r\n }\r\n\r\n function returnToPreviousScrollPosition() {\r\n\r\n if (localStorage.getItem(window.location.pathname) != null) {\r\n const scrollPosition = parseInt(localStorage.getItem(window.location.pathname));\r\n\r\n if (window.performance && window.performance.navigation.type === window.performance.navigation.TYPE_BACK_FORWARD) {\r\n window['scrolInstance'].scrollTo(scrollPosition, { duration: 1000 });\r\n }\r\n }\r\n }\r\n\r\n function scrollToFirstValidationError() {\r\n\r\n var selectButton = document.querySelector('.FormSubmitButton ');\r\n\r\n if (selectButton) {\r\n selectButton.addEventListener('click', function (e) {\r\n setTimeout(() => {\r\n const visibleErrors = Array.from(document.querySelectorAll('.Form__Element__ValidationError')).filter(elem => isVisible(elem) === true);\r\n if (visibleErrors.length > 0) {\r\n const headerHeight = document.querySelector('header.header').clientHeight || 0;\r\n const scrollLocation = visibleErrors[0].parentNode.getBoundingClientRect().top + window['scrolInstance'].scroll.instance.scroll.y - headerHeight;\r\n window['scrolInstance'].scrollTo(scrollLocation, { duration: 1000 });\r\n }\r\n }, 250); // Delay is to allow DOM elements to be updated visually\r\n });\r\n }\r\n }\r\n\r\n function carouselExpand(heroImage, distanceToTop) {\r\n\r\n const heightFromTop = heroImage.getBoundingClientRect().top;\r\n const transformValue = (((distanceToTop - heightFromTop) / (distanceToTop)) * 100);\r\n\r\n const defaultWidth = 91\r\n const updatedTransform = !transformValue.toString().includes(\"-\") ? transformValue : 0;\r\n const widthPercentage = (updatedTransform / (100 - defaultWidth));\r\n\r\n if (widthPercentage < 9) {\r\n heroImage.style['-webkit-mask-size'] = 91 + widthPercentage + '% 100%';\r\n } else if (widthPercentage >= 9) {\r\n heroImage.style['-webkit-mask-size'] = '101% 100%';\r\n }\r\n }\r\n\r\n let distanceToTop = [];\r\n let heroImages = document.querySelectorAll('.hero-image, .promoBlock__video');\r\n\r\n document.addEventListener(\"VideoVueComponentMounted\", () => {\r\n heroImages = document.querySelectorAll('.hero-image, .promoBlock__video');\r\n });\r\n\r\n\r\n function lerp(a, b, alpha) {\r\n return a + alpha * (b - a);\r\n }\r\n\r\n function clamp(num, min, max) {\r\n return Math.min(Math.max(num, min), max);\r\n }\r\n\r\n function resizeHeaderLogo(scrollY) {\r\n if (Math.abs(scrollY - oldHeaderSizeScrollLocation) < 0.01) return; // Check to make sure we have actually scrolled a credible amount\r\n if (videoBanner) return; // We only want to run this function if we are not on the homepage\r\n\r\n // Things we need to update:\r\n // HeaderTopPadding\r\n // Main content pushdown padding so it sits under header\r\n // Logo size\r\n \r\n // These are px values\r\n const headerTopPaddingLargeDesktop = 64;\r\n const headerTopPaddingSmallDesktop = 17;\r\n const headerTopPaddingLargeMobile = 64;\r\n const headerTopPaddingSmallMobile = 17;\r\n\r\n const mainContentPusherTopPaddingLargeDesktop = 237;\r\n const mainContentPusherTopPaddingSmallDesktop = 150;\r\n const mainContentPusherTopPaddingLargeMobile = 237;\r\n const mainContentPusherTopPaddingSmallMobile = 150;\r\n\r\n const logoSmallSizeDesktop = 62;\r\n const logoLargeSizeDesktop = 122.7;\r\n const logoSmallSizeMobile = 62;\r\n const logoLargeSizeMobile = 86;\r\n\r\n const headerRevealThreshold = 0.15; // How far are you scrolled down the page %\r\n\r\n const viewportHeight = window.innerHeight;\r\n\r\n // This threshold is to reduce the area the user scrolls, its based on the viewport height and some offset\r\n const scrollRevealThresholdHeight = Math.floor(viewportHeight * headerRevealThreshold);\r\n\r\n // DEBUG\r\n document.documentElement.style.setProperty('--header-scroll-threshold', scrollRevealThresholdHeight + 'px');\r\n\r\n const percentageScrolledThroughViewport = scrollY / scrollRevealThresholdHeight;\r\n const hasScrolledPastThreshold = (percentageScrolledThroughViewport > 1.2); // This is over 1 to allow for a little extra processing so we dont end up with values not at minimums\r\n\r\n if (hasScrolledPastThreshold) {\r\n if (document.body.classList.contains('header-loco-recalculated') == false) {\r\n restartLocomotiveScroll();\r\n document.body.classList.add('header-loco-recalculated')\r\n }\r\n\r\n // #156644: This check has been added to see if we have gone past 3 times the scroll limit, this \r\n // is to avoid an issue where we return early, and the user can end up with a broker header if they are able to\r\n // scroll past the threhold in one swipe prior to the code being ran.\r\n if (percentageScrolledThroughViewport > 3) {\r\n return;\r\n }\r\n\r\n }\r\n\r\n let headerTopPaddingAmount, mainContentPusherPaddingAmount, logoScaleAmount;\r\n\r\n // Lerp between the min and max values based on how far we are scrolled through\r\n if (window.innerWidth >= 992) {\r\n headerTopPaddingAmount = lerp(headerTopPaddingLargeDesktop, headerTopPaddingSmallDesktop, percentageScrolledThroughViewport);\r\n headerTopPaddingAmount = clamp(headerTopPaddingAmount, headerTopPaddingSmallDesktop, headerTopPaddingLargeDesktop);\r\n\r\n mainContentPusherPaddingAmount = lerp(mainContentPusherTopPaddingLargeDesktop, mainContentPusherTopPaddingSmallDesktop, percentageScrolledThroughViewport);\r\n mainContentPusherPaddingAmount = clamp(mainContentPusherPaddingAmount, mainContentPusherTopPaddingSmallDesktop, mainContentPusherTopPaddingLargeDesktop);\r\n\r\n logoScaleAmount = lerp(logoLargeSizeDesktop, logoSmallSizeDesktop, percentageScrolledThroughViewport);\r\n logoScaleAmount = clamp(logoScaleAmount, logoSmallSizeDesktop, logoLargeSizeDesktop);\r\n } else {\r\n headerTopPaddingAmount = lerp(headerTopPaddingLargeMobile, headerTopPaddingSmallMobile, percentageScrolledThroughViewport);\r\n headerTopPaddingAmount = clamp(headerTopPaddingAmount, headerTopPaddingSmallMobile, headerTopPaddingLargeMobile);\r\n\r\n mainContentPusherPaddingAmount = lerp(mainContentPusherTopPaddingLargeMobile, mainContentPusherTopPaddingSmallMobile, percentageScrolledThroughViewport);\r\n mainContentPusherPaddingAmount = clamp(mainContentPusherPaddingAmount, mainContentPusherTopPaddingSmallMobile, mainContentPusherTopPaddingLargeMobile);\r\n\r\n logoScaleAmount = lerp(logoLargeSizeMobile, logoSmallSizeMobile, percentageScrolledThroughViewport);\r\n logoScaleAmount = clamp(logoScaleAmount, logoSmallSizeMobile, logoLargeSizeMobile);\r\n }\r\n\r\n header.style.paddingTop = `${headerTopPaddingAmount}px`;\r\n headerLogo.style.height = `${logoScaleAmount}px`;\r\n restartLocomotiveScroll();\r\n\r\n const mainPaddingPushDownElem = document.querySelector('main > .container-fixed-header');\r\n if (mainPaddingPushDownElem) {\r\n mainPaddingPushDownElem.style.paddingTop = `${mainContentPusherPaddingAmount}px`;\r\n }\r\n\r\n oldHeaderSizeScrollLocation = scrollY;\r\n\r\n }\r\n\r\n function resizeHomepageVideoLogo(scrollY) {\r\n if (Math.abs(scrollY - oldHeaderSizeScrollLocation) < 0.01) return; // Check to make sure we have actually scrolled a credible amount\r\n if (videoBannerLogo == null) return;\r\n\r\n // These are the sizes of the logo and are used to match the header logo size, this assumes its the same logo file and that its being scaled down to match\r\n const logoSmallSizeScale = 0.2897;\r\n const logoLargeSizeScale = 1;\r\n\r\n \r\n // Percentage %, this threshold is based on current design where the lgoo stays in the middle of the screen until it hits the top of the screen\r\n const headerRevealThreshold = 0.5; \r\n\r\n // This is used so we can factor in the height of the logo / header into calculation\r\n const headerPadding = parseInt(window.getComputedStyle(header, null).getPropertyValue('padding-top'));\r\n const logoHalfHeight = videoBannerLogo.getBoundingClientRect().height / 2;\r\n \r\n const headerOffset = logoHalfHeight + headerPadding;\r\n const videoBannerHeight = videoBanner.clientHeight;\r\n\r\n // This threshold is to reduce the area the user scrolls, its based on the video height and some offset\r\n const headerRevealThresholdHeight = Math.floor((videoBannerHeight * headerRevealThreshold) - headerOffset);\r\n\r\n const percentageScrolledThroughVideo = scrollY / headerRevealThresholdHeight;\r\n const hasScrolledPastThreshold = (percentageScrolledThroughVideo > 1);\r\n\r\n // If we've scrolled past our value we want to display the header by swapping classes\r\n if (hasScrolledPastThreshold) {\r\n // Fade in header\r\n header.classList.remove('header--transparent');\r\n header.classList.add('header--white');\r\n\r\n // Timeout is used to force the browser to split these two tasks up rather than batching, this is to avoid a timing issue\r\n setTimeout(() => {\r\n videoBannerLogo.classList.add('hide');\r\n });\r\n\r\n if (document.body.classList.contains('header-loco-recalculated') == false) {\r\n restartLocomotiveScroll();\r\n document.body.classList.add('header-loco-recalculated')\r\n }\r\n\r\n return;\r\n }\r\n else {\r\n videoBannerLogo.classList.remove('hide');\r\n\r\n setTimeout(() => {\r\n header.classList.remove('header--white');\r\n header.classList.add('header--transparent');\r\n });\r\n }\r\n\r\n \r\n const activeScrollRangeMax = lerp(logoLargeSizeScale, logoSmallSizeScale, percentageScrolledThroughVideo);\r\n videoBannerLogo.style.scale = activeScrollRangeMax;\r\n }\r\n\r\n locoScroll.on('scroll', (args) => {\r\n resizeHeaderLogo(args.scroll.y);\r\n\r\n if (heroImages.length > 0) {\r\n\r\n heroImages.forEach(function (image, index) {\r\n\r\n if (image.classList.contains(\"video--mobile\") && window.innerWidth > 768) return;\r\n if (image.classList.contains(\"video--desktop\") && window.innerWidth < 768) return;\r\n\r\n if (distanceToTop.length < index + 1 && isInViewport(image)) {\r\n const distanceTopTopValue = image.getBoundingClientRect().top\r\n distanceToTop.push(distanceTopTopValue);\r\n }\r\n\r\n carouselExpand(image, distanceToTop[index]);\r\n });\r\n\r\n if (args.scroll.y !== 0) {\r\n localStorage.setItem(window.location.pathname, args.scroll.y);\r\n }\r\n\r\n\r\n }\r\n if (videoBanner !== null) {\r\n resizeHomepageVideoLogo(args.scroll.y);\r\n\r\n let videoBannerPosition = videoBanner.getBoundingClientRect();\r\n if (exploreButton != null) {\r\n if ((args.scroll.y) >= videoBannerPosition.top + 200 && args.scroll.y >= videoBannerPosition.top) {\r\n exploreButton.classList.add('is-hidden')\r\n } else {\r\n exploreButton.classList.remove('is-hidden');\r\n }\r\n }\r\n\r\n // if (!header.classList.contains('header--mobilenav-open')) {\r\n // if ((args.scroll.y <= 250\r\n // && args.scroll.y >= videoBannerPosition.top) || (window.scrollY < 50 && window.outerWidth < 992)\r\n // ) {\r\n // header.classList.remove('header--white');\r\n // header.classList.add('header--transparent');\r\n\r\n // // anime({\r\n // // targets: header,\r\n // // backgroundColor: \"rgba(253, 251, 247, 0)\"\r\n // // });\r\n\r\n // } else {\r\n // header.classList.remove('header--transparent');\r\n // header.classList.add('header--white');\r\n\r\n\r\n // // anime({\r\n // // targets: header,\r\n // // backgroundColor: \"rgba(253, 251, 247, 1)\"\r\n // // });\r\n // }\r\n // }\r\n\r\n\r\n }\r\n\r\n //console.log(\"Progress\", args.currentElements['section0'].progress);\r\n });\r\n\r\n window['scrolInstance'] = locoScroll;\r\n\r\n // Accordion scrollTo attempt - Only triggering once?\r\n //const scrollTarget = document.querySelector('.card-header');\r\n //const accordionToggle = document.querySelector('.collapse__toggle');\r\n\r\n\r\n\r\n //accordionToggle.addEventListener('click', function (e) {\r\n // if (!event.target.matches('.collapse__toggle')) return;\r\n // event.preventDefault();\r\n\r\n // //locoScroll.scrollTo(\r\n // // scrollTarget, {\r\n // // offset: -1000,\r\n // // disableLerp: true\r\n // //});\r\n\r\n // setTimeout(function () {\r\n // locoScroll.scrollTo(scrollTarget);\r\n // });\r\n // locoScroll.update();\r\n //});\r\n\r\n if (exploreButton) {\r\n\r\n exploreButton.addEventListener('click', () => {\r\n const exploreButtonTarget = document.querySelector('#scroll-target');\r\n const options = { offset: -20 };\r\n\r\n if (window.site === 'emory') {\r\n options.offset = 0;\r\n }\r\n\r\n locoScroll.scrollTo(exploreButtonTarget, options);\r\n\r\n })\r\n }\r\n\r\n // Recalculate heights for locoscroll after videos have loaded.\r\n const splitVideos = document.querySelectorAll(\".splitVideo__video\");\r\n splitVideos.forEach(video => {\r\n video.addEventListener(\"playing\", (event) => {\r\n if (event.target.classList.contains('has-played') == false) {\r\n const customScrollEvent = new Event('recalculateScroll');\r\n window.dispatchEvent(customScrollEvent);\r\n event.target.classList.add('has-played');\r\n }\r\n });\r\n });\r\n}","// This file is locally referenced an manually updated as we are having issues consitently updating the aria / roles.\r\n\r\n/*!\r\n * Select2 4.1.0-rc.0\r\n * https://select2.github.io\r\n *\r\n * Released under the MIT license\r\n * https://github.com/select2/select2/blob/master/LICENSE.md\r\n */\r\n;(function (factory) {\r\n if (typeof define === 'function' && define.amd) {\r\n // AMD. Register as an anonymous module.\r\n define(['jquery'], factory);\r\n } else if (typeof module === 'object' && module.exports) {\r\n // Node/CommonJS\r\n module.exports = function (root, jQuery) {\r\n if (jQuery === undefined) {\r\n // require('jQuery') returns a factory that requires window to\r\n // build a jQuery instance, we normalize how we use modules\r\n // that require this pattern but the window provided is a noop\r\n // if it's defined (how jquery works)\r\n if (typeof window !== 'undefined') {\r\n jQuery = require('jquery');\r\n }\r\n else {\r\n jQuery = require('jquery')(root);\r\n }\r\n }\r\n factory(jQuery);\r\n return jQuery;\r\n };\r\n } else {\r\n // Browser globals\r\n factory(jQuery);\r\n }\r\n } (function (jQuery) {\r\n // This is needed so we can catch the AMD loader configuration and use it\r\n // The inner file should be wrapped (by `banner.start.js`) in a function that\r\n // returns the AMD loader references.\r\n var S2 =(function () {\r\n // Restore the Select2 AMD loader so it can be used\r\n // Needed mostly in the language files, where the loader is not inserted\r\n if (jQuery && jQuery.fn && jQuery.fn.select2 && jQuery.fn.select2.amd) {\r\n var S2 = jQuery.fn.select2.amd;\r\n }\r\n var S2;(function () { if (!S2 || !S2.requirejs) {\r\n if (!S2) { S2 = {}; } else { require = S2; }\r\n /**\r\n * @license almond 0.3.3 Copyright jQuery Foundation and other contributors.\r\n * Released under MIT license, http://github.com/requirejs/almond/LICENSE\r\n */\r\n //Going sloppy to avoid 'use strict' string cost, but strict practices should\r\n //be followed.\r\n /*global setTimeout: false */\r\n \r\n var requirejs, require, define;\r\n (function (undef) {\r\n var main, req, makeMap, handlers,\r\n defined = {},\r\n waiting = {},\r\n config = {},\r\n defining = {},\r\n hasOwn = Object.prototype.hasOwnProperty,\r\n aps = [].slice,\r\n jsSuffixRegExp = /\\.js$/;\r\n \r\n function hasProp(obj, prop) {\r\n return hasOwn.call(obj, prop);\r\n }\r\n \r\n /**\r\n * Given a relative module name, like ./something, normalize it to\r\n * a real name that can be mapped to a path.\r\n * @param {String} name the relative name\r\n * @param {String} baseName a real name that the name arg is relative\r\n * to.\r\n * @returns {String} normalized name\r\n */\r\n function normalize(name, baseName) {\r\n var nameParts, nameSegment, mapValue, foundMap, lastIndex,\r\n foundI, foundStarMap, starI, i, j, part, normalizedBaseParts,\r\n baseParts = baseName && baseName.split(\"/\"),\r\n map = config.map,\r\n starMap = (map && map['*']) || {};\r\n \r\n //Adjust any relative paths.\r\n if (name) {\r\n name = name.split('/');\r\n lastIndex = name.length - 1;\r\n \r\n // If wanting node ID compatibility, strip .js from end\r\n // of IDs. Have to do this here, and not in nameToUrl\r\n // because node allows either .js or non .js to map\r\n // to same file.\r\n if (config.nodeIdCompat && jsSuffixRegExp.test(name[lastIndex])) {\r\n name[lastIndex] = name[lastIndex].replace(jsSuffixRegExp, '');\r\n }\r\n \r\n // Starts with a '.' so need the baseName\r\n if (name[0].charAt(0) === '.' && baseParts) {\r\n //Convert baseName to array, and lop off the last part,\r\n //so that . matches that 'directory' and not name of the baseName's\r\n //module. For instance, baseName of 'one/two/three', maps to\r\n //'one/two/three.js', but we want the directory, 'one/two' for\r\n //this normalization.\r\n normalizedBaseParts = baseParts.slice(0, baseParts.length - 1);\r\n name = normalizedBaseParts.concat(name);\r\n }\r\n \r\n //start trimDots\r\n for (i = 0; i < name.length; i++) {\r\n part = name[i];\r\n if (part === '.') {\r\n name.splice(i, 1);\r\n i -= 1;\r\n } else if (part === '..') {\r\n // If at the start, or previous value is still ..,\r\n // keep them so that when converted to a path it may\r\n // still work when converted to a path, even though\r\n // as an ID it is less than ideal. In larger point\r\n // releases, may be better to just kick out an error.\r\n if (i === 0 || (i === 1 && name[2] === '..') || name[i - 1] === '..') {\r\n continue;\r\n } else if (i > 0) {\r\n name.splice(i - 1, 2);\r\n i -= 2;\r\n }\r\n }\r\n }\r\n //end trimDots\r\n \r\n name = name.join('/');\r\n }\r\n \r\n //Apply map config if available.\r\n if ((baseParts || starMap) && map) {\r\n nameParts = name.split('/');\r\n \r\n for (i = nameParts.length; i > 0; i -= 1) {\r\n nameSegment = nameParts.slice(0, i).join(\"/\");\r\n \r\n if (baseParts) {\r\n //Find the longest baseName segment match in the config.\r\n //So, do joins on the biggest to smallest lengths of baseParts.\r\n for (j = baseParts.length; j > 0; j -= 1) {\r\n mapValue = map[baseParts.slice(0, j).join('/')];\r\n \r\n //baseName segment has config, find if it has one for\r\n //this name.\r\n if (mapValue) {\r\n mapValue = mapValue[nameSegment];\r\n if (mapValue) {\r\n //Match, update name to the new value.\r\n foundMap = mapValue;\r\n foundI = i;\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n \r\n if (foundMap) {\r\n break;\r\n }\r\n \r\n //Check for a star map match, but just hold on to it,\r\n //if there is a shorter segment match later in a matching\r\n //config, then favor over this star map.\r\n if (!foundStarMap && starMap && starMap[nameSegment]) {\r\n foundStarMap = starMap[nameSegment];\r\n starI = i;\r\n }\r\n }\r\n \r\n if (!foundMap && foundStarMap) {\r\n foundMap = foundStarMap;\r\n foundI = starI;\r\n }\r\n \r\n if (foundMap) {\r\n nameParts.splice(0, foundI, foundMap);\r\n name = nameParts.join('/');\r\n }\r\n }\r\n \r\n return name;\r\n }\r\n \r\n function makeRequire(relName, forceSync) {\r\n return function () {\r\n //A version of a require function that passes a moduleName\r\n //value for items that may need to\r\n //look up paths relative to the moduleName\r\n var args = aps.call(arguments, 0);\r\n \r\n //If first arg is not require('string'), and there is only\r\n //one arg, it is the array form without a callback. Insert\r\n //a null so that the following concat is correct.\r\n if (typeof args[0] !== 'string' && args.length === 1) {\r\n args.push(null);\r\n }\r\n return req.apply(undef, args.concat([relName, forceSync]));\r\n };\r\n }\r\n \r\n function makeNormalize(relName) {\r\n return function (name) {\r\n return normalize(name, relName);\r\n };\r\n }\r\n \r\n function makeLoad(depName) {\r\n return function (value) {\r\n defined[depName] = value;\r\n };\r\n }\r\n \r\n function callDep(name) {\r\n if (hasProp(waiting, name)) {\r\n var args = waiting[name];\r\n delete waiting[name];\r\n defining[name] = true;\r\n main.apply(undef, args);\r\n }\r\n \r\n if (!hasProp(defined, name) && !hasProp(defining, name)) {\r\n throw new Error('No ' + name);\r\n }\r\n return defined[name];\r\n }\r\n \r\n //Turns a plugin!resource to [plugin, resource]\r\n //with the plugin being undefined if the name\r\n //did not have a plugin prefix.\r\n function splitPrefix(name) {\r\n var prefix,\r\n index = name ? name.indexOf('!') : -1;\r\n if (index > -1) {\r\n prefix = name.substring(0, index);\r\n name = name.substring(index + 1, name.length);\r\n }\r\n return [prefix, name];\r\n }\r\n \r\n //Creates a parts array for a relName where first part is plugin ID,\r\n //second part is resource ID. Assumes relName has already been normalized.\r\n function makeRelParts(relName) {\r\n return relName ? splitPrefix(relName) : [];\r\n }\r\n \r\n /**\r\n * Makes a name map, normalizing the name, and using a plugin\r\n * for normalization if necessary. Grabs a ref to plugin\r\n * too, as an optimization.\r\n */\r\n makeMap = function (name, relParts) {\r\n var plugin,\r\n parts = splitPrefix(name),\r\n prefix = parts[0],\r\n relResourceName = relParts[1];\r\n \r\n name = parts[1];\r\n \r\n if (prefix) {\r\n prefix = normalize(prefix, relResourceName);\r\n plugin = callDep(prefix);\r\n }\r\n \r\n //Normalize according\r\n if (prefix) {\r\n if (plugin && plugin.normalize) {\r\n name = plugin.normalize(name, makeNormalize(relResourceName));\r\n } else {\r\n name = normalize(name, relResourceName);\r\n }\r\n } else {\r\n name = normalize(name, relResourceName);\r\n parts = splitPrefix(name);\r\n prefix = parts[0];\r\n name = parts[1];\r\n if (prefix) {\r\n plugin = callDep(prefix);\r\n }\r\n }\r\n \r\n //Using ridiculous property names for space reasons\r\n return {\r\n f: prefix ? prefix + '!' + name : name, //fullName\r\n n: name,\r\n pr: prefix,\r\n p: plugin\r\n };\r\n };\r\n \r\n function makeConfig(name) {\r\n return function () {\r\n return (config && config.config && config.config[name]) || {};\r\n };\r\n }\r\n \r\n handlers = {\r\n require: function (name) {\r\n return makeRequire(name);\r\n },\r\n exports: function (name) {\r\n var e = defined[name];\r\n if (typeof e !== 'undefined') {\r\n return e;\r\n } else {\r\n return (defined[name] = {});\r\n }\r\n },\r\n module: function (name) {\r\n return {\r\n id: name,\r\n uri: '',\r\n exports: defined[name],\r\n config: makeConfig(name)\r\n };\r\n }\r\n };\r\n \r\n main = function (name, deps, callback, relName) {\r\n var cjsModule, depName, ret, map, i, relParts,\r\n args = [],\r\n callbackType = typeof callback,\r\n usingExports;\r\n \r\n //Use name if no relName\r\n relName = relName || name;\r\n relParts = makeRelParts(relName);\r\n \r\n //Call the callback to define the module, if necessary.\r\n if (callbackType === 'undefined' || callbackType === 'function') {\r\n //Pull out the defined dependencies and pass the ordered\r\n //values to the callback.\r\n //Default to [require, exports, module] if no deps\r\n deps = !deps.length && callback.length ? ['require', 'exports', 'module'] : deps;\r\n for (i = 0; i < deps.length; i += 1) {\r\n map = makeMap(deps[i], relParts);\r\n depName = map.f;\r\n \r\n //Fast path CommonJS standard dependencies.\r\n if (depName === \"require\") {\r\n args[i] = handlers.require(name);\r\n } else if (depName === \"exports\") {\r\n //CommonJS module spec 1.1\r\n args[i] = handlers.exports(name);\r\n usingExports = true;\r\n } else if (depName === \"module\") {\r\n //CommonJS module spec 1.1\r\n cjsModule = args[i] = handlers.module(name);\r\n } else if (hasProp(defined, depName) ||\r\n hasProp(waiting, depName) ||\r\n hasProp(defining, depName)) {\r\n args[i] = callDep(depName);\r\n } else if (map.p) {\r\n map.p.load(map.n, makeRequire(relName, true), makeLoad(depName), {});\r\n args[i] = defined[depName];\r\n } else {\r\n throw new Error(name + ' missing ' + depName);\r\n }\r\n }\r\n \r\n ret = callback ? callback.apply(defined[name], args) : undefined;\r\n \r\n if (name) {\r\n //If setting exports via \"module\" is in play,\r\n //favor that over return value and exports. After that,\r\n //favor a non-undefined return value over exports use.\r\n if (cjsModule && cjsModule.exports !== undef &&\r\n cjsModule.exports !== defined[name]) {\r\n defined[name] = cjsModule.exports;\r\n } else if (ret !== undef || !usingExports) {\r\n //Use the return value from the function.\r\n defined[name] = ret;\r\n }\r\n }\r\n } else if (name) {\r\n //May just be an object definition for the module. Only\r\n //worry about defining if have a module name.\r\n defined[name] = callback;\r\n }\r\n };\r\n \r\n requirejs = require = req = function (deps, callback, relName, forceSync, alt) {\r\n if (typeof deps === \"string\") {\r\n if (handlers[deps]) {\r\n //callback in this case is really relName\r\n return handlers[deps](callback);\r\n }\r\n //Just return the module wanted. In this scenario, the\r\n //deps arg is the module name, and second arg (if passed)\r\n //is just the relName.\r\n //Normalize module name, if it contains . or ..\r\n return callDep(makeMap(deps, makeRelParts(callback)).f);\r\n } else if (!deps.splice) {\r\n //deps is a config object, not an array.\r\n config = deps;\r\n if (config.deps) {\r\n req(config.deps, config.callback);\r\n }\r\n if (!callback) {\r\n return;\r\n }\r\n \r\n if (callback.splice) {\r\n //callback is an array, which means it is a dependency list.\r\n //Adjust args if there are dependencies\r\n deps = callback;\r\n callback = relName;\r\n relName = null;\r\n } else {\r\n deps = undef;\r\n }\r\n }\r\n \r\n //Support require(['a'])\r\n callback = callback || function () {};\r\n \r\n //If relName is a function, it is an errback handler,\r\n //so remove it.\r\n if (typeof relName === 'function') {\r\n relName = forceSync;\r\n forceSync = alt;\r\n }\r\n \r\n //Simulate async callback;\r\n if (forceSync) {\r\n main(undef, deps, callback, relName);\r\n } else {\r\n //Using a non-zero value because of concern for what old browsers\r\n //do, and latest browsers \"upgrade\" to 4 if lower value is used:\r\n //http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#dom-windowtimers-settimeout:\r\n //If want a value immediately, use require('id') instead -- something\r\n //that works in almond on the global level, but not guaranteed and\r\n //unlikely to work in other AMD implementations.\r\n setTimeout(function () {\r\n main(undef, deps, callback, relName);\r\n }, 4);\r\n }\r\n \r\n return req;\r\n };\r\n \r\n /**\r\n * Just drops the config on the floor, but returns req in case\r\n * the config return value is used.\r\n */\r\n req.config = function (cfg) {\r\n return req(cfg);\r\n };\r\n \r\n /**\r\n * Expose module registry for debugging and tooling\r\n */\r\n requirejs._defined = defined;\r\n \r\n define = function (name, deps, callback) {\r\n if (typeof name !== 'string') {\r\n throw new Error('See almond README: incorrect module build, no module name');\r\n }\r\n \r\n //This module may not have dependencies\r\n if (!deps.splice) {\r\n //deps is not an array, so probably means\r\n //an object literal or factory function for\r\n //the value. Adjust args.\r\n callback = deps;\r\n deps = [];\r\n }\r\n \r\n if (!hasProp(defined, name) && !hasProp(waiting, name)) {\r\n waiting[name] = [name, deps, callback];\r\n }\r\n };\r\n \r\n define.amd = {\r\n jQuery: true\r\n };\r\n }());\r\n \r\n S2.requirejs = requirejs;S2.require = require;S2.define = define;\r\n }\r\n }());\r\n S2.define(\"almond\", function(){});\r\n \r\n /* global jQuery:false, $:false */\r\n S2.define('jquery',[],function () {\r\n var _$ = jQuery || $;\r\n \r\n if (_$ == null && console && console.error) {\r\n console.error(\r\n 'Select2: An instance of jQuery or a jQuery-compatible library was not ' +\r\n 'found. Make sure that you are including jQuery before Select2 on your ' +\r\n 'web page.'\r\n );\r\n }\r\n \r\n return _$;\r\n });\r\n \r\n S2.define('select2/utils',[\r\n 'jquery'\r\n ], function ($) {\r\n var Utils = {};\r\n \r\n Utils.Extend = function (ChildClass, SuperClass) {\r\n var __hasProp = {}.hasOwnProperty;\r\n \r\n function BaseConstructor () {\r\n this.constructor = ChildClass;\r\n }\r\n \r\n for (var key in SuperClass) {\r\n if (__hasProp.call(SuperClass, key)) {\r\n ChildClass[key] = SuperClass[key];\r\n }\r\n }\r\n \r\n BaseConstructor.prototype = SuperClass.prototype;\r\n ChildClass.prototype = new BaseConstructor();\r\n ChildClass.__super__ = SuperClass.prototype;\r\n \r\n return ChildClass;\r\n };\r\n \r\n function getMethods (theClass) {\r\n var proto = theClass.prototype;\r\n \r\n var methods = [];\r\n \r\n for (var methodName in proto) {\r\n var m = proto[methodName];\r\n \r\n if (typeof m !== 'function') {\r\n continue;\r\n }\r\n \r\n if (methodName === 'constructor') {\r\n continue;\r\n }\r\n \r\n methods.push(methodName);\r\n }\r\n \r\n return methods;\r\n }\r\n \r\n Utils.Decorate = function (SuperClass, DecoratorClass) {\r\n var decoratedMethods = getMethods(DecoratorClass);\r\n var superMethods = getMethods(SuperClass);\r\n \r\n function DecoratedClass () {\r\n var unshift = Array.prototype.unshift;\r\n \r\n var argCount = DecoratorClass.prototype.constructor.length;\r\n \r\n var calledConstructor = SuperClass.prototype.constructor;\r\n \r\n if (argCount > 0) {\r\n unshift.call(arguments, SuperClass.prototype.constructor);\r\n \r\n calledConstructor = DecoratorClass.prototype.constructor;\r\n }\r\n \r\n calledConstructor.apply(this, arguments);\r\n }\r\n \r\n DecoratorClass.displayName = SuperClass.displayName;\r\n \r\n function ctr () {\r\n this.constructor = DecoratedClass;\r\n }\r\n \r\n DecoratedClass.prototype = new ctr();\r\n \r\n for (var m = 0; m < superMethods.length; m++) {\r\n var superMethod = superMethods[m];\r\n \r\n DecoratedClass.prototype[superMethod] =\r\n SuperClass.prototype[superMethod];\r\n }\r\n \r\n var calledMethod = function (methodName) {\r\n // Stub out the original method if it's not decorating an actual method\r\n var originalMethod = function () {};\r\n \r\n if (methodName in DecoratedClass.prototype) {\r\n originalMethod = DecoratedClass.prototype[methodName];\r\n }\r\n \r\n var decoratedMethod = DecoratorClass.prototype[methodName];\r\n \r\n return function () {\r\n var unshift = Array.prototype.unshift;\r\n \r\n unshift.call(arguments, originalMethod);\r\n \r\n return decoratedMethod.apply(this, arguments);\r\n };\r\n };\r\n \r\n for (var d = 0; d < decoratedMethods.length; d++) {\r\n var decoratedMethod = decoratedMethods[d];\r\n \r\n DecoratedClass.prototype[decoratedMethod] = calledMethod(decoratedMethod);\r\n }\r\n \r\n return DecoratedClass;\r\n };\r\n \r\n var Observable = function () {\r\n this.listeners = {};\r\n };\r\n \r\n Observable.prototype.on = function (event, callback) {\r\n this.listeners = this.listeners || {};\r\n \r\n if (event in this.listeners) {\r\n this.listeners[event].push(callback);\r\n } else {\r\n this.listeners[event] = [callback];\r\n }\r\n };\r\n \r\n Observable.prototype.trigger = function (event) {\r\n var slice = Array.prototype.slice;\r\n var params = slice.call(arguments, 1);\r\n \r\n this.listeners = this.listeners || {};\r\n \r\n // Params should always come in as an array\r\n if (params == null) {\r\n params = [];\r\n }\r\n \r\n // If there are no arguments to the event, use a temporary object\r\n if (params.length === 0) {\r\n params.push({});\r\n }\r\n \r\n // Set the `_type` of the first object to the event\r\n params[0]._type = event;\r\n \r\n if (event in this.listeners) {\r\n this.invoke(this.listeners[event], slice.call(arguments, 1));\r\n }\r\n \r\n if ('*' in this.listeners) {\r\n this.invoke(this.listeners['*'], arguments);\r\n }\r\n };\r\n \r\n Observable.prototype.invoke = function (listeners, params) {\r\n for (var i = 0, len = listeners.length; i < len; i++) {\r\n listeners[i].apply(this, params);\r\n }\r\n };\r\n \r\n Utils.Observable = Observable;\r\n \r\n Utils.generateChars = function (length) {\r\n var chars = '';\r\n \r\n for (var i = 0; i < length; i++) {\r\n var randomChar = Math.floor(Math.random() * 36);\r\n chars += randomChar.toString(36);\r\n }\r\n \r\n return chars;\r\n };\r\n \r\n Utils.bind = function (func, context) {\r\n return function () {\r\n func.apply(context, arguments);\r\n };\r\n };\r\n \r\n Utils._convertData = function (data) {\r\n for (var originalKey in data) {\r\n var keys = originalKey.split('-');\r\n \r\n var dataLevel = data;\r\n \r\n if (keys.length === 1) {\r\n continue;\r\n }\r\n \r\n for (var k = 0; k < keys.length; k++) {\r\n var key = keys[k];\r\n \r\n // Lowercase the first letter\r\n // By default, dash-separated becomes camelCase\r\n key = key.substring(0, 1).toLowerCase() + key.substring(1);\r\n \r\n if (!(key in dataLevel)) {\r\n dataLevel[key] = {};\r\n }\r\n \r\n if (k == keys.length - 1) {\r\n dataLevel[key] = data[originalKey];\r\n }\r\n \r\n dataLevel = dataLevel[key];\r\n }\r\n \r\n delete data[originalKey];\r\n }\r\n \r\n return data;\r\n };\r\n \r\n Utils.hasScroll = function (index, el) {\r\n // Adapted from the function created by @ShadowScripter\r\n // and adapted by @BillBarry on the Stack Exchange Code Review website.\r\n // The original code can be found at\r\n // http://codereview.stackexchange.com/q/13338\r\n // and was designed to be used with the Sizzle selector engine.\r\n \r\n var $el = $(el);\r\n var overflowX = el.style.overflowX;\r\n var overflowY = el.style.overflowY;\r\n \r\n //Check both x and y declarations\r\n if (overflowX === overflowY &&\r\n (overflowY === 'hidden' || overflowY === 'visible')) {\r\n return false;\r\n }\r\n \r\n if (overflowX === 'scroll' || overflowY === 'scroll') {\r\n return true;\r\n }\r\n \r\n return ($el.innerHeight() < el.scrollHeight ||\r\n $el.innerWidth() < el.scrollWidth);\r\n };\r\n \r\n Utils.escapeMarkup = function (markup) {\r\n var replaceMap = {\r\n '\\\\': '\',\r\n '&': '&',\r\n '<': '<',\r\n '>': '>',\r\n '\"': '"',\r\n '\\'': ''',\r\n '/': '/'\r\n };\r\n \r\n // Do not try to escape the markup if it's not a string\r\n if (typeof markup !== 'string') {\r\n return markup;\r\n }\r\n \r\n return String(markup).replace(/[&<>\"'\\/\\\\]/g, function (match) {\r\n return replaceMap[match];\r\n });\r\n };\r\n \r\n // Cache objects in Utils.__cache instead of $.data (see #4346)\r\n Utils.__cache = {};\r\n \r\n var id = 0;\r\n Utils.GetUniqueElementId = function (element) {\r\n // Get a unique element Id. If element has no id,\r\n // creates a new unique number, stores it in the id\r\n // attribute and returns the new id with a prefix.\r\n // If an id already exists, it simply returns it with a prefix.\r\n \r\n var select2Id = element.getAttribute('data-select2-id');\r\n \r\n if (select2Id != null) {\r\n return select2Id;\r\n }\r\n \r\n // If element has id, use it.\r\n if (element.id) {\r\n select2Id = 'select2-data-' + element.id;\r\n } else {\r\n select2Id = 'select2-data-' + (++id).toString() +\r\n '-' + Utils.generateChars(4);\r\n }\r\n \r\n element.setAttribute('data-select2-id', select2Id);\r\n \r\n return select2Id;\r\n };\r\n \r\n Utils.StoreData = function (element, name, value) {\r\n // Stores an item in the cache for a specified element.\r\n // name is the cache key.\r\n var id = Utils.GetUniqueElementId(element);\r\n if (!Utils.__cache[id]) {\r\n Utils.__cache[id] = {};\r\n }\r\n \r\n Utils.__cache[id][name] = value;\r\n };\r\n \r\n Utils.GetData = function (element, name) {\r\n // Retrieves a value from the cache by its key (name)\r\n // name is optional. If no name specified, return\r\n // all cache items for the specified element.\r\n // and for a specified element.\r\n var id = Utils.GetUniqueElementId(element);\r\n if (name) {\r\n if (Utils.__cache[id]) {\r\n if (Utils.__cache[id][name] != null) {\r\n return Utils.__cache[id][name];\r\n }\r\n return $(element).data(name); // Fallback to HTML5 data attribs.\r\n }\r\n return $(element).data(name); // Fallback to HTML5 data attribs.\r\n } else {\r\n return Utils.__cache[id];\r\n }\r\n };\r\n \r\n Utils.RemoveData = function (element) {\r\n // Removes all cached items for a specified element.\r\n var id = Utils.GetUniqueElementId(element);\r\n if (Utils.__cache[id] != null) {\r\n delete Utils.__cache[id];\r\n }\r\n \r\n element.removeAttribute('data-select2-id');\r\n };\r\n \r\n Utils.copyNonInternalCssClasses = function (dest, src) {\r\n var classes;\r\n \r\n var destinationClasses = dest.getAttribute('class').trim().split(/\\s+/);\r\n \r\n destinationClasses = destinationClasses.filter(function (clazz) {\r\n // Save all Select2 classes\r\n return clazz.indexOf('select2-') === 0;\r\n });\r\n \r\n var sourceClasses = src.getAttribute('class').trim().split(/\\s+/);\r\n \r\n sourceClasses = sourceClasses.filter(function (clazz) {\r\n // Only copy non-Select2 classes\r\n return clazz.indexOf('select2-') !== 0;\r\n });\r\n \r\n var replacements = destinationClasses.concat(sourceClasses);\r\n \r\n dest.setAttribute('class', replacements.join(' '));\r\n };\r\n \r\n return Utils;\r\n });\r\n \r\n S2.define('select2/results',[\r\n 'jquery',\r\n './utils'\r\n ], function ($, Utils) {\r\n function Results ($element, options, dataAdapter) {\r\n this.$element = $element;\r\n this.data = dataAdapter;\r\n this.options = options;\r\n \r\n Results.__super__.constructor.call(this);\r\n }\r\n \r\n Utils.Extend(Results, Utils.Observable);\r\n \r\n Results.prototype.render = function () {\r\n var $results = $(\r\n ''\r\n );\r\n \r\n if (this.options.get('multiple')) {\r\n $results.attr('aria-multiselectable', 'true');\r\n }\r\n \r\n this.$results = $results;\r\n \r\n return $results;\r\n };\r\n \r\n Results.prototype.clear = function () {\r\n this.$results.empty();\r\n };\r\n \r\n Results.prototype.displayMessage = function (params) {\r\n var escapeMarkup = this.options.get('escapeMarkup');\r\n \r\n this.clear();\r\n this.hideLoading();\r\n \r\n var $message = $(\r\n '
  • '\r\n );\r\n \r\n var message = this.options.get('translations').get(params.message);\r\n \r\n $message.append(\r\n escapeMarkup(\r\n message(params.args)\r\n )\r\n );\r\n \r\n $message[0].className += ' select2-results__message';\r\n \r\n this.$results.append($message);\r\n };\r\n \r\n Results.prototype.hideMessages = function () {\r\n this.$results.find('.select2-results__message').remove();\r\n };\r\n \r\n Results.prototype.append = function (data) {\r\n this.hideLoading();\r\n \r\n var $options = [];\r\n \r\n if (data.results == null || data.results.length === 0) {\r\n if (this.$results.children().length === 0) {\r\n this.trigger('results:message', {\r\n message: 'noResults'\r\n });\r\n }\r\n \r\n return;\r\n }\r\n \r\n data.results = this.sort(data.results);\r\n \r\n for (var d = 0; d < data.results.length; d++) {\r\n var item = data.results[d];\r\n \r\n var $option = this.option(item);\r\n \r\n $options.push($option);\r\n }\r\n \r\n this.$results.append($options);\r\n };\r\n \r\n Results.prototype.position = function ($results, $dropdown) {\r\n var $resultsContainer = $dropdown.find('.select2-results');\r\n $resultsContainer.append($results);\r\n };\r\n \r\n Results.prototype.sort = function (data) {\r\n var sorter = this.options.get('sorter');\r\n \r\n return sorter(data);\r\n };\r\n \r\n Results.prototype.highlightFirstItem = function () {\r\n var $options = this.$results\r\n .find('.select2-results__option--selectable');\r\n \r\n var $selected = $options.filter('.select2-results__option--selected');\r\n \r\n // Check if there are any selected options\r\n if ($selected.length > 0) {\r\n // If there are selected options, highlight the first\r\n $selected.first().trigger('mouseenter');\r\n } else {\r\n // If there are no selected options, highlight the first option\r\n // in the dropdown\r\n $options.first().trigger('mouseenter');\r\n }\r\n \r\n this.ensureHighlightVisible();\r\n };\r\n \r\n Results.prototype.setClasses = function () {\r\n var self = this;\r\n \r\n this.data.current(function (selected) {\r\n var selectedIds = selected.map(function (s) {\r\n return s.id.toString();\r\n });\r\n \r\n var $options = self.$results\r\n .find('.select2-results__option--selectable');\r\n \r\n $options.each(function () {\r\n var $option = $(this);\r\n \r\n var item = Utils.GetData(this, 'data');\r\n \r\n // id needs to be converted to a string when comparing\r\n var id = '' + item.id;\r\n \r\n if ((item.element != null && item.element.selected) ||\r\n (item.element == null && selectedIds.indexOf(id) > -1)) {\r\n this.classList.add('select2-results__option--selected');\r\n $option.attr('aria-selected', 'true');\r\n } else {\r\n this.classList.remove('select2-results__option--selected');\r\n $option.attr('aria-selected', 'false');\r\n }\r\n });\r\n \r\n });\r\n };\r\n \r\n Results.prototype.showLoading = function (params) {\r\n this.hideLoading();\r\n \r\n var loadingMore = this.options.get('translations').get('searching');\r\n \r\n var loading = {\r\n disabled: true,\r\n loading: true,\r\n text: loadingMore(params)\r\n };\r\n var $loading = this.option(loading);\r\n $loading.className += ' loading-results';\r\n \r\n this.$results.prepend($loading);\r\n };\r\n \r\n Results.prototype.hideLoading = function () {\r\n this.$results.find('.loading-results').remove();\r\n };\r\n \r\n Results.prototype.option = function (data) {\r\n var option = document.createElement('li');\r\n option.classList.add('select2-results__option');\r\n option.classList.add('select2-results__option--selectable');\r\n \r\n var attrs = {\r\n 'role': 'option'\r\n };\r\n \r\n var matches = window.Element.prototype.matches ||\r\n window.Element.prototype.msMatchesSelector ||\r\n window.Element.prototype.webkitMatchesSelector;\r\n \r\n if ((data.element != null && matches.call(data.element, ':disabled')) ||\r\n (data.element == null && data.disabled)) {\r\n attrs['aria-disabled'] = 'true';\r\n \r\n option.classList.remove('select2-results__option--selectable');\r\n option.classList.add('select2-results__option--disabled');\r\n }\r\n \r\n if (data.id == null) {\r\n option.classList.remove('select2-results__option--selectable');\r\n }\r\n \r\n if (data._resultId != null) {\r\n option.id = data._resultId;\r\n }\r\n \r\n if (data.title) {\r\n option.title = data.title;\r\n }\r\n \r\n if (data.children) {\r\n attrs.role = 'group';\r\n attrs['aria-label'] = data.text;\r\n \r\n option.classList.remove('select2-results__option--selectable');\r\n option.classList.add('select2-results__option--group');\r\n }\r\n \r\n for (var attr in attrs) {\r\n var val = attrs[attr];\r\n \r\n option.setAttribute(attr, val);\r\n }\r\n \r\n if (data.children) {\r\n var $option = $(option);\r\n \r\n var label = document.createElement('strong');\r\n label.className = 'select2-results__group';\r\n \r\n this.template(data, label);\r\n \r\n var $children = [];\r\n \r\n for (var c = 0; c < data.children.length; c++) {\r\n var child = data.children[c];\r\n \r\n var $child = this.option(child);\r\n \r\n $children.push($child);\r\n }\r\n \r\n var $childrenContainer = $('', {\r\n 'class': 'select2-results__options select2-results__options--nested',\r\n 'role': 'none'\r\n });\r\n \r\n $childrenContainer.append($children);\r\n \r\n $option.append(label);\r\n $option.append($childrenContainer);\r\n } else {\r\n this.template(data, option);\r\n }\r\n \r\n Utils.StoreData(option, 'data', data);\r\n \r\n return option;\r\n };\r\n \r\n Results.prototype.bind = function (container, $container) {\r\n var self = this;\r\n \r\n var id = container.id + '-results';\r\n \r\n this.$results.attr('id', id);\r\n \r\n container.on('results:all', function (params) {\r\n self.clear();\r\n self.append(params.data);\r\n \r\n if (container.isOpen()) {\r\n self.setClasses();\r\n self.highlightFirstItem();\r\n }\r\n });\r\n \r\n container.on('results:append', function (params) {\r\n self.append(params.data);\r\n \r\n if (container.isOpen()) {\r\n self.setClasses();\r\n }\r\n });\r\n \r\n container.on('query', function (params) {\r\n self.hideMessages();\r\n self.showLoading(params);\r\n });\r\n \r\n container.on('select', function () {\r\n if (!container.isOpen()) {\r\n return;\r\n }\r\n \r\n self.setClasses();\r\n \r\n if (self.options.get('scrollAfterSelect')) {\r\n self.highlightFirstItem();\r\n }\r\n });\r\n \r\n container.on('unselect', function () {\r\n if (!container.isOpen()) {\r\n return;\r\n }\r\n \r\n self.setClasses();\r\n \r\n if (self.options.get('scrollAfterSelect')) {\r\n self.highlightFirstItem();\r\n }\r\n });\r\n \r\n container.on('open', function () {\r\n // When the dropdown is open, aria-expended=\"true\"\r\n self.$results.attr('aria-expanded', 'true');\r\n self.$results.attr('aria-hidden', 'false');\r\n \r\n self.setClasses();\r\n self.ensureHighlightVisible();\r\n });\r\n \r\n container.on('close', function () {\r\n // When the dropdown is closed, aria-expended=\"false\"\r\n self.$results.attr('aria-expanded', 'false');\r\n self.$results.attr('aria-hidden', 'true');\r\n // self.$results.removeAttr('aria-activedescendant'); // Appius removal\r\n });\r\n \r\n container.on('results:toggle', function () {\r\n var $highlighted = self.getHighlightedResults();\r\n \r\n if ($highlighted.length === 0) {\r\n return;\r\n }\r\n \r\n $highlighted.trigger('mouseup');\r\n });\r\n \r\n container.on('results:select', function () {\r\n var $highlighted = self.getHighlightedResults();\r\n \r\n if ($highlighted.length === 0) {\r\n return;\r\n }\r\n \r\n var data = Utils.GetData($highlighted[0], 'data');\r\n \r\n if ($highlighted.hasClass('select2-results__option--selected')) {\r\n self.trigger('close', {});\r\n } else {\r\n self.trigger('select', {\r\n data: data\r\n });\r\n }\r\n });\r\n \r\n container.on('results:previous', function () {\r\n var $highlighted = self.getHighlightedResults();\r\n \r\n var $options = self.$results.find('.select2-results__option--selectable');\r\n \r\n var currentIndex = $options.index($highlighted);\r\n \r\n // If we are already at the top, don't move further\r\n // If no options, currentIndex will be -1\r\n if (currentIndex <= 0) {\r\n return;\r\n }\r\n \r\n var nextIndex = currentIndex - 1;\r\n \r\n // If none are highlighted, highlight the first\r\n if ($highlighted.length === 0) {\r\n nextIndex = 0;\r\n }\r\n \r\n var $next = $options.eq(nextIndex);\r\n \r\n $next.trigger('mouseenter');\r\n \r\n var currentOffset = self.$results.offset().top;\r\n var nextTop = $next.offset().top;\r\n var nextOffset = self.$results.scrollTop() + (nextTop - currentOffset);\r\n \r\n if (nextIndex === 0) {\r\n self.$results.scrollTop(0);\r\n } else if (nextTop - currentOffset < 0) {\r\n self.$results.scrollTop(nextOffset);\r\n }\r\n });\r\n \r\n container.on('results:next', function () {\r\n var $highlighted = self.getHighlightedResults();\r\n \r\n var $options = self.$results.find('.select2-results__option--selectable');\r\n \r\n var currentIndex = $options.index($highlighted);\r\n \r\n var nextIndex = currentIndex + 1;\r\n \r\n // If we are at the last option, stay there\r\n if (nextIndex >= $options.length) {\r\n return;\r\n }\r\n \r\n var $next = $options.eq(nextIndex);\r\n \r\n $next.trigger('mouseenter');\r\n \r\n var currentOffset = self.$results.offset().top +\r\n self.$results.outerHeight(false);\r\n var nextBottom = $next.offset().top + $next.outerHeight(false);\r\n var nextOffset = self.$results.scrollTop() + nextBottom - currentOffset;\r\n \r\n if (nextIndex === 0) {\r\n self.$results.scrollTop(0);\r\n } else if (nextBottom > currentOffset) {\r\n self.$results.scrollTop(nextOffset);\r\n }\r\n });\r\n \r\n container.on('results:focus', function (params) {\r\n params.element[0].classList.add('select2-results__option--highlighted');\r\n params.element[0].setAttribute('aria-selected', 'true');\r\n });\r\n \r\n container.on('results:message', function (params) {\r\n self.displayMessage(params);\r\n });\r\n \r\n if ($.fn.mousewheel) {\r\n this.$results.on('mousewheel', function (e) {\r\n var top = self.$results.scrollTop();\r\n \r\n var bottom = self.$results.get(0).scrollHeight - top + e.deltaY;\r\n \r\n var isAtTop = e.deltaY > 0 && top - e.deltaY <= 0;\r\n var isAtBottom = e.deltaY < 0 && bottom <= self.$results.height();\r\n \r\n if (isAtTop) {\r\n self.$results.scrollTop(0);\r\n \r\n e.preventDefault();\r\n e.stopPropagation();\r\n } else if (isAtBottom) {\r\n self.$results.scrollTop(\r\n self.$results.get(0).scrollHeight - self.$results.height()\r\n );\r\n \r\n e.preventDefault();\r\n e.stopPropagation();\r\n }\r\n });\r\n }\r\n \r\n this.$results.on('mouseup', '.select2-results__option--selectable',\r\n function (evt) {\r\n var $this = $(this);\r\n \r\n var data = Utils.GetData(this, 'data');\r\n \r\n if ($this.hasClass('select2-results__option--selected')) {\r\n if (self.options.get('multiple')) {\r\n self.trigger('unselect', {\r\n originalEvent: evt,\r\n data: data\r\n });\r\n } else {\r\n self.trigger('close', {});\r\n }\r\n \r\n return;\r\n }\r\n \r\n self.trigger('select', {\r\n originalEvent: evt,\r\n data: data\r\n });\r\n });\r\n \r\n this.$results.on('mouseenter', '.select2-results__option--selectable',\r\n function (evt) {\r\n var data = Utils.GetData(this, 'data');\r\n \r\n self.getHighlightedResults()\r\n .removeClass('select2-results__option--highlighted')\r\n .attr('aria-selected', 'false');\r\n \r\n self.trigger('results:focus', {\r\n data: data,\r\n element: $(this)\r\n });\r\n });\r\n };\r\n \r\n Results.prototype.getHighlightedResults = function () {\r\n var $highlighted = this.$results\r\n .find('.select2-results__option--highlighted');\r\n \r\n return $highlighted;\r\n };\r\n \r\n Results.prototype.destroy = function () {\r\n this.$results.remove();\r\n };\r\n \r\n Results.prototype.ensureHighlightVisible = function () {\r\n var $highlighted = this.getHighlightedResults();\r\n \r\n if ($highlighted.length === 0) {\r\n return;\r\n }\r\n \r\n var $options = this.$results.find('.select2-results__option--selectable');\r\n \r\n var currentIndex = $options.index($highlighted);\r\n \r\n var currentOffset = this.$results.offset().top;\r\n var nextTop = $highlighted.offset().top;\r\n var nextOffset = this.$results.scrollTop() + (nextTop - currentOffset);\r\n \r\n var offsetDelta = nextTop - currentOffset;\r\n nextOffset -= $highlighted.outerHeight(false) * 2;\r\n \r\n if (currentIndex <= 2) {\r\n this.$results.scrollTop(0);\r\n } else if (offsetDelta > this.$results.outerHeight() || offsetDelta < 0) {\r\n this.$results.scrollTop(nextOffset);\r\n }\r\n };\r\n \r\n Results.prototype.template = function (result, container) {\r\n var template = this.options.get('templateResult');\r\n var escapeMarkup = this.options.get('escapeMarkup');\r\n \r\n var content = template(result, container);\r\n \r\n if (content == null) {\r\n container.style.display = 'none';\r\n } else if (typeof content === 'string') {\r\n container.innerHTML = escapeMarkup(content);\r\n } else {\r\n $(container).append(content);\r\n }\r\n };\r\n \r\n return Results;\r\n });\r\n \r\n S2.define('select2/keys',[\r\n \r\n ], function () {\r\n var KEYS = {\r\n BACKSPACE: 8,\r\n TAB: 9,\r\n ENTER: 13,\r\n SHIFT: 16,\r\n CTRL: 17,\r\n ALT: 18,\r\n ESC: 27,\r\n SPACE: 32,\r\n PAGE_UP: 33,\r\n PAGE_DOWN: 34,\r\n END: 35,\r\n HOME: 36,\r\n LEFT: 37,\r\n UP: 38,\r\n RIGHT: 39,\r\n DOWN: 40,\r\n DELETE: 46\r\n };\r\n \r\n return KEYS;\r\n });\r\n \r\n S2.define('select2/selection/base',[\r\n 'jquery',\r\n '../utils',\r\n '../keys'\r\n ], function ($, Utils, KEYS) {\r\n function BaseSelection ($element, options) {\r\n this.$element = $element;\r\n this.options = options;\r\n \r\n BaseSelection.__super__.constructor.call(this);\r\n }\r\n \r\n Utils.Extend(BaseSelection, Utils.Observable);\r\n \r\n BaseSelection.prototype.render = function () {\r\n var $selection = $(\r\n '' +\r\n ''\r\n );\r\n \r\n this._tabindex = 0;\r\n \r\n if (Utils.GetData(this.$element[0], 'old-tabindex') != null) {\r\n this._tabindex = Utils.GetData(this.$element[0], 'old-tabindex');\r\n } else if (this.$element.attr('tabindex') != null) {\r\n this._tabindex = this.$element.attr('tabindex');\r\n }\r\n \r\n $selection.attr('title', this.$element.attr('title'));\r\n $selection.attr('tabindex', this._tabindex);\r\n $selection.attr('aria-disabled', 'false');\r\n \r\n this.$selection = $selection;\r\n \r\n return $selection;\r\n };\r\n \r\n BaseSelection.prototype.bind = function (container, $container) {\r\n var self = this;\r\n \r\n var resultsId = container.id + '-results';\r\n \r\n this.container = container;\r\n \r\n this.$selection.on('focus', function (evt) {\r\n self.trigger('focus', evt);\r\n });\r\n \r\n this.$selection.on('blur', function (evt) {\r\n self._handleBlur(evt);\r\n });\r\n \r\n this.$selection.on('keydown', function (evt) {\r\n self.trigger('keypress', evt);\r\n \r\n if (evt.which === KEYS.SPACE) {\r\n evt.preventDefault();\r\n }\r\n });\r\n \r\n container.on('results:focus', function (params) {\r\n // self.$selection.attr('aria-activedescendant', params.data._resultId); // Appius removal\r\n });\r\n \r\n container.on('selection:update', function (params) {\r\n self.update(params.data);\r\n });\r\n \r\n container.on('open', function () {\r\n // When the dropdown is open, aria-expanded=\"true\"\r\n self.$selection.attr('aria-expanded', 'true');\r\n self.$selection.attr('aria-controls', resultsId);\r\n \r\n self._attachCloseHandler(container);\r\n });\r\n \r\n container.on('close', function () {\r\n // When the dropdown is closed, aria-expanded=\"false\"\r\n self.$selection.attr('aria-expanded', 'false');\r\n // self.$selection.removeAttr('aria-activedescendant'); // Appius removal\r\n // self.$selection.removeAttr('aria-owns'); // Appius removal\r\n self.$selection.trigger('focus');\r\n \r\n self._detachCloseHandler(container);\r\n });\r\n \r\n container.on('enable', function () {\r\n self.$selection.attr('tabindex', self._tabindex);\r\n self.$selection.attr('aria-disabled', 'false');\r\n });\r\n \r\n container.on('disable', function () {\r\n self.$selection.attr('tabindex', '-1');\r\n self.$selection.attr('aria-disabled', 'true');\r\n });\r\n };\r\n \r\n BaseSelection.prototype._handleBlur = function (evt) {\r\n var self = this;\r\n \r\n // This needs to be delayed as the active element is the body when the tab\r\n // key is pressed, possibly along with others.\r\n window.setTimeout(function () {\r\n // Don't trigger `blur` if the focus is still in the selection\r\n if (\r\n (document.activeElement == self.$selection[0]) ||\r\n ($.contains(self.$selection[0], document.activeElement))\r\n ) {\r\n return;\r\n }\r\n \r\n self.trigger('blur', evt);\r\n }, 1);\r\n };\r\n \r\n BaseSelection.prototype._attachCloseHandler = function (container) {\r\n \r\n $(document.body).on('mousedown.select2.' + container.id, function (e) {\r\n var $target = $(e.target);\r\n \r\n var $select = $target.closest('.select2');\r\n \r\n var $all = $('.select2.select2-container--open');\r\n \r\n $all.each(function () {\r\n if (this == $select[0]) {\r\n return;\r\n }\r\n \r\n var $element = Utils.GetData(this, 'element');\r\n \r\n $element.select2('close');\r\n });\r\n });\r\n };\r\n \r\n BaseSelection.prototype._detachCloseHandler = function (container) {\r\n $(document.body).off('mousedown.select2.' + container.id);\r\n };\r\n \r\n BaseSelection.prototype.position = function ($selection, $container) {\r\n var $selectionContainer = $container.find('.selection');\r\n $selectionContainer.append($selection);\r\n };\r\n \r\n BaseSelection.prototype.destroy = function () {\r\n this._detachCloseHandler(this.container);\r\n };\r\n \r\n BaseSelection.prototype.update = function (data) {\r\n throw new Error('The `update` method must be defined in child classes.');\r\n };\r\n \r\n /**\r\n * Helper method to abstract the \"enabled\" (not \"disabled\") state of this\r\n * object.\r\n *\r\n * @return {true} if the instance is not disabled.\r\n * @return {false} if the instance is disabled.\r\n */\r\n BaseSelection.prototype.isEnabled = function () {\r\n return !this.isDisabled();\r\n };\r\n \r\n /**\r\n * Helper method to abstract the \"disabled\" state of this object.\r\n *\r\n * @return {true} if the disabled option is true.\r\n * @return {false} if the disabled option is false.\r\n */\r\n BaseSelection.prototype.isDisabled = function () {\r\n return this.options.get('disabled');\r\n };\r\n \r\n return BaseSelection;\r\n });\r\n \r\n S2.define('select2/selection/single',[\r\n 'jquery',\r\n './base',\r\n '../utils',\r\n '../keys'\r\n ], function ($, BaseSelection, Utils, KEYS) {\r\n function SingleSelection () {\r\n SingleSelection.__super__.constructor.apply(this, arguments);\r\n }\r\n \r\n Utils.Extend(SingleSelection, BaseSelection);\r\n \r\n SingleSelection.prototype.render = function () {\r\n var $selection = SingleSelection.__super__.render.call(this);\r\n \r\n $selection[0].classList.add('select2-selection--single');\r\n \r\n $selection.html(\r\n '' +\r\n '' +\r\n '' +\r\n ''\r\n );\r\n \r\n return $selection;\r\n };\r\n \r\n SingleSelection.prototype.bind = function (container, $container) {\r\n var self = this;\r\n \r\n SingleSelection.__super__.bind.apply(this, arguments);\r\n \r\n var id = container.id + '-container';\r\n \r\n this.$selection.find('.select2-selection__rendered')\r\n .attr('id', id)\r\n .attr('role', 'textbox')\r\n .attr('aria-readonly', 'true');\r\n this.$selection.attr('aria-labelledby', id);\r\n this.$selection.attr('aria-controls', id);\r\n \r\n this.$selection.on('mousedown', function (evt) {\r\n // Only respond to left clicks\r\n if (evt.which !== 1) {\r\n return;\r\n }\r\n \r\n self.trigger('toggle', {\r\n originalEvent: evt\r\n });\r\n });\r\n \r\n this.$selection.on('focus', function (evt) {\r\n // User focuses on the container\r\n });\r\n \r\n this.$selection.on('blur', function (evt) {\r\n // User exits the container\r\n });\r\n \r\n container.on('focus', function (evt) {\r\n if (!container.isOpen()) {\r\n self.$selection.trigger('focus');\r\n }\r\n });\r\n };\r\n \r\n SingleSelection.prototype.clear = function () {\r\n var $rendered = this.$selection.find('.select2-selection__rendered');\r\n $rendered.empty();\r\n $rendered.removeAttr('title'); // clear tooltip on empty\r\n };\r\n \r\n SingleSelection.prototype.display = function (data, container) {\r\n var template = this.options.get('templateSelection');\r\n var escapeMarkup = this.options.get('escapeMarkup');\r\n \r\n return escapeMarkup(template(data, container));\r\n };\r\n \r\n SingleSelection.prototype.selectionContainer = function () {\r\n return $('');\r\n };\r\n \r\n SingleSelection.prototype.update = function (data) {\r\n if (data.length === 0) {\r\n this.clear();\r\n return;\r\n }\r\n \r\n var selection = data[0];\r\n \r\n var $rendered = this.$selection.find('.select2-selection__rendered');\r\n var formatted = this.display(selection, $rendered);\r\n \r\n $rendered.empty().append(formatted);\r\n \r\n var title = selection.title || selection.text;\r\n \r\n if (title) {\r\n $rendered.attr('title', title);\r\n } else {\r\n $rendered.removeAttr('title');\r\n }\r\n };\r\n \r\n return SingleSelection;\r\n });\r\n \r\n S2.define('select2/selection/multiple',[\r\n 'jquery',\r\n './base',\r\n '../utils'\r\n ], function ($, BaseSelection, Utils) {\r\n function MultipleSelection ($element, options) {\r\n MultipleSelection.__super__.constructor.apply(this, arguments);\r\n }\r\n \r\n Utils.Extend(MultipleSelection, BaseSelection);\r\n \r\n MultipleSelection.prototype.render = function () {\r\n var $selection = MultipleSelection.__super__.render.call(this);\r\n \r\n $selection[0].classList.add('select2-selection--multiple');\r\n \r\n $selection.html(\r\n ''\r\n );\r\n \r\n return $selection;\r\n };\r\n \r\n MultipleSelection.prototype.bind = function (container, $container) {\r\n var self = this;\r\n \r\n MultipleSelection.__super__.bind.apply(this, arguments);\r\n \r\n var id = container.id + '-container';\r\n this.$selection.find('.select2-selection__rendered').attr('id', id);\r\n \r\n this.$selection.on('click', function (evt) {\r\n self.trigger('toggle', {\r\n originalEvent: evt\r\n });\r\n });\r\n \r\n this.$selection.on(\r\n 'click',\r\n '.select2-selection__choice__remove',\r\n function (evt) {\r\n // Ignore the event if it is disabled\r\n if (self.isDisabled()) {\r\n return;\r\n }\r\n \r\n var $remove = $(this);\r\n var $selection = $remove.parent();\r\n \r\n var data = Utils.GetData($selection[0], 'data');\r\n \r\n self.trigger('unselect', {\r\n originalEvent: evt,\r\n data: data\r\n });\r\n }\r\n );\r\n \r\n this.$selection.on(\r\n 'keydown',\r\n '.select2-selection__choice__remove',\r\n function (evt) {\r\n // Ignore the event if it is disabled\r\n if (self.isDisabled()) {\r\n return;\r\n }\r\n \r\n evt.stopPropagation();\r\n }\r\n );\r\n };\r\n \r\n MultipleSelection.prototype.clear = function () {\r\n var $rendered = this.$selection.find('.select2-selection__rendered');\r\n $rendered.empty();\r\n $rendered.removeAttr('title');\r\n };\r\n \r\n MultipleSelection.prototype.display = function (data, container) {\r\n var template = this.options.get('templateSelection');\r\n var escapeMarkup = this.options.get('escapeMarkup');\r\n \r\n return escapeMarkup(template(data, container));\r\n };\r\n \r\n MultipleSelection.prototype.selectionContainer = function () {\r\n var $container = $(\r\n '
  • ' +\r\n '' +\r\n '' +\r\n '
  • '\r\n );\r\n \r\n return $container;\r\n };\r\n \r\n MultipleSelection.prototype.update = function (data) {\r\n this.clear();\r\n \r\n if (data.length === 0) {\r\n return;\r\n }\r\n \r\n var $selections = [];\r\n \r\n var selectionIdPrefix = this.$selection.find('.select2-selection__rendered')\r\n .attr('id') + '-choice-';\r\n \r\n for (var d = 0; d < data.length; d++) {\r\n var selection = data[d];\r\n \r\n var $selection = this.selectionContainer();\r\n var formatted = this.display(selection, $selection);\r\n \r\n var selectionId = selectionIdPrefix + Utils.generateChars(4) + '-';\r\n \r\n if (selection.id) {\r\n selectionId += selection.id;\r\n } else {\r\n selectionId += Utils.generateChars(4);\r\n }\r\n \r\n $selection.find('.select2-selection__choice__display')\r\n .append(formatted)\r\n .attr('id', selectionId);\r\n \r\n var title = selection.title || selection.text;\r\n \r\n if (title) {\r\n $selection.attr('title', title);\r\n }\r\n \r\n var removeItem = this.options.get('translations').get('removeItem');\r\n \r\n var $remove = $selection.find('.select2-selection__choice__remove');\r\n \r\n $remove.attr('title', removeItem());\r\n $remove.attr('aria-label', removeItem());\r\n $remove.attr('aria-describedby', selectionId);\r\n \r\n Utils.StoreData($selection[0], 'data', selection);\r\n \r\n $selections.push($selection);\r\n }\r\n \r\n var $rendered = this.$selection.find('.select2-selection__rendered');\r\n \r\n $rendered.append($selections);\r\n };\r\n \r\n return MultipleSelection;\r\n });\r\n \r\n S2.define('select2/selection/placeholder',[\r\n \r\n ], function () {\r\n function Placeholder (decorated, $element, options) {\r\n this.placeholder = this.normalizePlaceholder(options.get('placeholder'));\r\n \r\n decorated.call(this, $element, options);\r\n }\r\n \r\n Placeholder.prototype.normalizePlaceholder = function (_, placeholder) {\r\n if (typeof placeholder === 'string') {\r\n placeholder = {\r\n id: '',\r\n text: placeholder\r\n };\r\n }\r\n \r\n return placeholder;\r\n };\r\n \r\n Placeholder.prototype.createPlaceholder = function (decorated, placeholder) {\r\n var $placeholder = this.selectionContainer();\r\n \r\n $placeholder.html(this.display(placeholder));\r\n $placeholder[0].classList.add('select2-selection__placeholder');\r\n $placeholder[0].classList.remove('select2-selection__choice');\r\n \r\n var placeholderTitle = placeholder.title ||\r\n placeholder.text ||\r\n $placeholder.text();\r\n \r\n this.$selection.find('.select2-selection__rendered').attr(\r\n 'title',\r\n placeholderTitle\r\n );\r\n \r\n return $placeholder;\r\n };\r\n \r\n Placeholder.prototype.update = function (decorated, data) {\r\n var singlePlaceholder = (\r\n data.length == 1 && data[0].id != this.placeholder.id\r\n );\r\n var multipleSelections = data.length > 1;\r\n \r\n if (multipleSelections || singlePlaceholder) {\r\n return decorated.call(this, data);\r\n }\r\n \r\n this.clear();\r\n \r\n var $placeholder = this.createPlaceholder(this.placeholder);\r\n \r\n this.$selection.find('.select2-selection__rendered').append($placeholder);\r\n };\r\n \r\n return Placeholder;\r\n });\r\n \r\n S2.define('select2/selection/allowClear',[\r\n 'jquery',\r\n '../keys',\r\n '../utils'\r\n ], function ($, KEYS, Utils) {\r\n function AllowClear () { }\r\n \r\n AllowClear.prototype.bind = function (decorated, container, $container) {\r\n var self = this;\r\n \r\n decorated.call(this, container, $container);\r\n \r\n if (this.placeholder == null) {\r\n if (this.options.get('debug') && window.console && console.error) {\r\n console.error(\r\n 'Select2: The `allowClear` option should be used in combination ' +\r\n 'with the `placeholder` option.'\r\n );\r\n }\r\n }\r\n \r\n this.$selection.on('mousedown', '.select2-selection__clear',\r\n function (evt) {\r\n self._handleClear(evt);\r\n });\r\n \r\n container.on('keypress', function (evt) {\r\n self._handleKeyboardClear(evt, container);\r\n });\r\n };\r\n \r\n AllowClear.prototype._handleClear = function (_, evt) {\r\n // Ignore the event if it is disabled\r\n if (this.isDisabled()) {\r\n return;\r\n }\r\n \r\n var $clear = this.$selection.find('.select2-selection__clear');\r\n \r\n // Ignore the event if nothing has been selected\r\n if ($clear.length === 0) {\r\n return;\r\n }\r\n \r\n evt.stopPropagation();\r\n \r\n var data = Utils.GetData($clear[0], 'data');\r\n \r\n var previousVal = this.$element.val();\r\n this.$element.val(this.placeholder.id);\r\n \r\n var unselectData = {\r\n data: data\r\n };\r\n this.trigger('clear', unselectData);\r\n if (unselectData.prevented) {\r\n this.$element.val(previousVal);\r\n return;\r\n }\r\n \r\n for (var d = 0; d < data.length; d++) {\r\n unselectData = {\r\n data: data[d]\r\n };\r\n \r\n // Trigger the `unselect` event, so people can prevent it from being\r\n // cleared.\r\n this.trigger('unselect', unselectData);\r\n \r\n // If the event was prevented, don't clear it out.\r\n if (unselectData.prevented) {\r\n this.$element.val(previousVal);\r\n return;\r\n }\r\n }\r\n \r\n this.$element.trigger('input').trigger('change');\r\n \r\n this.trigger('toggle', {});\r\n };\r\n \r\n AllowClear.prototype._handleKeyboardClear = function (_, evt, container) {\r\n if (container.isOpen()) {\r\n return;\r\n }\r\n \r\n if (evt.which == KEYS.DELETE || evt.which == KEYS.BACKSPACE) {\r\n this._handleClear(evt);\r\n }\r\n };\r\n \r\n AllowClear.prototype.update = function (decorated, data) {\r\n decorated.call(this, data);\r\n \r\n this.$selection.find('.select2-selection__clear').remove();\r\n this.$selection[0].classList.remove('select2-selection--clearable');\r\n \r\n if (this.$selection.find('.select2-selection__placeholder').length > 0 ||\r\n data.length === 0) {\r\n return;\r\n }\r\n \r\n var selectionId = this.$selection.find('.select2-selection__rendered')\r\n .attr('id');\r\n \r\n var removeAll = this.options.get('translations').get('removeAllItems');\r\n \r\n var $remove = $(\r\n ''\r\n );\r\n $remove.attr('title', removeAll());\r\n $remove.attr('aria-label', removeAll());\r\n $remove.attr('aria-describedby', selectionId);\r\n Utils.StoreData($remove[0], 'data', data);\r\n \r\n this.$selection.prepend($remove);\r\n this.$selection[0].classList.add('select2-selection--clearable');\r\n };\r\n \r\n return AllowClear;\r\n });\r\n \r\n S2.define('select2/selection/search',[\r\n 'jquery',\r\n '../utils',\r\n '../keys'\r\n ], function ($, Utils, KEYS) {\r\n function Search (decorated, $element, options) {\r\n decorated.call(this, $element, options);\r\n }\r\n \r\n Search.prototype.render = function (decorated) {\r\n var searchLabel = this.options.get('translations').get('search');\r\n var $search = $(\r\n '' +\r\n '' +\r\n ''\r\n );\r\n \r\n this.$searchContainer = $search;\r\n this.$search = $search.find('textarea');\r\n \r\n this.$search.prop('autocomplete', this.options.get('autocomplete'));\r\n this.$search.attr('aria-label', searchLabel());\r\n \r\n var $rendered = decorated.call(this);\r\n \r\n this._transferTabIndex();\r\n $rendered.append(this.$searchContainer);\r\n \r\n return $rendered;\r\n };\r\n \r\n Search.prototype.bind = function (decorated, container, $container) {\r\n var self = this;\r\n \r\n var resultsId = container.id + '-results';\r\n var selectionId = container.id + '-container';\r\n \r\n decorated.call(this, container, $container);\r\n \r\n self.$search.attr('aria-describedby', selectionId);\r\n \r\n container.on('open', function () {\r\n self.$search.attr('aria-controls', resultsId);\r\n self.$search.trigger('focus');\r\n });\r\n \r\n container.on('close', function () {\r\n self.$search.val('');\r\n self.resizeSearch();\r\n self.$search.removeAttr('aria-controls');\r\n // self.$search.removeAttr('aria-activedescendant'); // Appius removal\r\n self.$search.trigger('focus');\r\n });\r\n \r\n container.on('enable', function () {\r\n self.$search.prop('disabled', false);\r\n \r\n self._transferTabIndex();\r\n });\r\n \r\n container.on('disable', function () {\r\n self.$search.prop('disabled', true);\r\n });\r\n \r\n container.on('focus', function (evt) {\r\n self.$search.trigger('focus');\r\n });\r\n \r\n // Appius removal\r\n //container.on('results:focus', function (params) {\r\n // if (params.data._resultId) {\r\n // self.$search.attr('aria-activedescendant', params.data._resultId);\r\n // } else {\r\n // self.$search.removeAttr('aria-activedescendant');\r\n // }\r\n //});\r\n \r\n this.$selection.on('focusin', '.select2-search--inline', function (evt) {\r\n self.trigger('focus', evt);\r\n });\r\n \r\n this.$selection.on('focusout', '.select2-search--inline', function (evt) {\r\n self._handleBlur(evt);\r\n });\r\n \r\n this.$selection.on('keydown', '.select2-search--inline', function (evt) {\r\n evt.stopPropagation();\r\n \r\n self.trigger('keypress', evt);\r\n \r\n self._keyUpPrevented = evt.isDefaultPrevented();\r\n \r\n var key = evt.which;\r\n \r\n if (key === KEYS.BACKSPACE && self.$search.val() === '') {\r\n var $previousChoice = self.$selection\r\n .find('.select2-selection__choice').last();\r\n \r\n if ($previousChoice.length > 0) {\r\n var item = Utils.GetData($previousChoice[0], 'data');\r\n \r\n self.searchRemoveChoice(item);\r\n \r\n evt.preventDefault();\r\n }\r\n }\r\n });\r\n \r\n this.$selection.on('click', '.select2-search--inline', function (evt) {\r\n if (self.$search.val()) {\r\n evt.stopPropagation();\r\n }\r\n });\r\n \r\n // Try to detect the IE version should the `documentMode` property that\r\n // is stored on the document. This is only implemented in IE and is\r\n // slightly cleaner than doing a user agent check.\r\n // This property is not available in Edge, but Edge also doesn't have\r\n // this bug.\r\n var msie = document.documentMode;\r\n var disableInputEvents = msie && msie <= 11;\r\n \r\n // Workaround for browsers which do not support the `input` event\r\n // This will prevent double-triggering of events for browsers which support\r\n // both the `keyup` and `input` events.\r\n this.$selection.on(\r\n 'input.searchcheck',\r\n '.select2-search--inline',\r\n function (evt) {\r\n // IE will trigger the `input` event when a placeholder is used on a\r\n // search box. To get around this issue, we are forced to ignore all\r\n // `input` events in IE and keep using `keyup`.\r\n if (disableInputEvents) {\r\n self.$selection.off('input.search input.searchcheck');\r\n return;\r\n }\r\n \r\n // Unbind the duplicated `keyup` event\r\n self.$selection.off('keyup.search');\r\n }\r\n );\r\n \r\n this.$selection.on(\r\n 'keyup.search input.search',\r\n '.select2-search--inline',\r\n function (evt) {\r\n // IE will trigger the `input` event when a placeholder is used on a\r\n // search box. To get around this issue, we are forced to ignore all\r\n // `input` events in IE and keep using `keyup`.\r\n if (disableInputEvents && evt.type === 'input') {\r\n self.$selection.off('input.search input.searchcheck');\r\n return;\r\n }\r\n \r\n var key = evt.which;\r\n \r\n // We can freely ignore events from modifier keys\r\n if (key == KEYS.SHIFT || key == KEYS.CTRL || key == KEYS.ALT) {\r\n return;\r\n }\r\n \r\n // Tabbing will be handled during the `keydown` phase\r\n if (key == KEYS.TAB) {\r\n return;\r\n }\r\n \r\n self.handleSearch(evt);\r\n }\r\n );\r\n };\r\n \r\n /**\r\n * This method will transfer the tabindex attribute from the rendered\r\n * selection to the search box. This allows for the search box to be used as\r\n * the primary focus instead of the selection container.\r\n *\r\n * @private\r\n */\r\n Search.prototype._transferTabIndex = function (decorated) {\r\n this.$search.attr('tabindex', this.$selection.attr('tabindex'));\r\n this.$selection.attr('tabindex', '-1');\r\n };\r\n \r\n Search.prototype.createPlaceholder = function (decorated, placeholder) {\r\n this.$search.attr('placeholder', placeholder.text);\r\n };\r\n \r\n Search.prototype.update = function (decorated, data) {\r\n var searchHadFocus = this.$search[0] == document.activeElement;\r\n \r\n this.$search.attr('placeholder', '');\r\n \r\n decorated.call(this, data);\r\n \r\n this.resizeSearch();\r\n if (searchHadFocus) {\r\n this.$search.trigger('focus');\r\n }\r\n };\r\n \r\n Search.prototype.handleSearch = function () {\r\n this.resizeSearch();\r\n \r\n if (!this._keyUpPrevented) {\r\n var input = this.$search.val();\r\n \r\n this.trigger('query', {\r\n term: input\r\n });\r\n }\r\n \r\n this._keyUpPrevented = false;\r\n };\r\n \r\n Search.prototype.searchRemoveChoice = function (decorated, item) {\r\n this.trigger('unselect', {\r\n data: item\r\n });\r\n \r\n this.$search.val(item.text);\r\n this.handleSearch();\r\n };\r\n \r\n Search.prototype.resizeSearch = function () {\r\n this.$search.css('width', '25px');\r\n \r\n var width = '100%';\r\n \r\n if (this.$search.attr('placeholder') === '') {\r\n var minimumWidth = this.$search.val().length + 1;\r\n \r\n width = (minimumWidth * 0.75) + 'em';\r\n }\r\n \r\n this.$search.css('width', width);\r\n };\r\n \r\n return Search;\r\n });\r\n \r\n S2.define('select2/selection/selectionCss',[\r\n '../utils'\r\n ], function (Utils) {\r\n function SelectionCSS () { }\r\n \r\n SelectionCSS.prototype.render = function (decorated) {\r\n var $selection = decorated.call(this);\r\n \r\n var selectionCssClass = this.options.get('selectionCssClass') || '';\r\n \r\n if (selectionCssClass.indexOf(':all:') !== -1) {\r\n selectionCssClass = selectionCssClass.replace(':all:', '');\r\n \r\n Utils.copyNonInternalCssClasses($selection[0], this.$element[0]);\r\n }\r\n \r\n $selection.addClass(selectionCssClass);\r\n \r\n return $selection;\r\n };\r\n \r\n return SelectionCSS;\r\n });\r\n \r\n S2.define('select2/selection/eventRelay',[\r\n 'jquery'\r\n ], function ($) {\r\n function EventRelay () { }\r\n \r\n EventRelay.prototype.bind = function (decorated, container, $container) {\r\n var self = this;\r\n var relayEvents = [\r\n 'open', 'opening',\r\n 'close', 'closing',\r\n 'select', 'selecting',\r\n 'unselect', 'unselecting',\r\n 'clear', 'clearing'\r\n ];\r\n \r\n var preventableEvents = [\r\n 'opening', 'closing', 'selecting', 'unselecting', 'clearing'\r\n ];\r\n \r\n decorated.call(this, container, $container);\r\n \r\n container.on('*', function (name, params) {\r\n // Ignore events that should not be relayed\r\n if (relayEvents.indexOf(name) === -1) {\r\n return;\r\n }\r\n \r\n // The parameters should always be an object\r\n params = params || {};\r\n \r\n // Generate the jQuery event for the Select2 event\r\n var evt = $.Event('select2:' + name, {\r\n params: params\r\n });\r\n \r\n self.$element.trigger(evt);\r\n \r\n // Only handle preventable events if it was one\r\n if (preventableEvents.indexOf(name) === -1) {\r\n return;\r\n }\r\n \r\n params.prevented = evt.isDefaultPrevented();\r\n });\r\n };\r\n \r\n return EventRelay;\r\n });\r\n \r\n S2.define('select2/translation',[\r\n 'jquery',\r\n 'require'\r\n ], function ($, require) {\r\n function Translation (dict) {\r\n this.dict = dict || {};\r\n }\r\n \r\n Translation.prototype.all = function () {\r\n return this.dict;\r\n };\r\n \r\n Translation.prototype.get = function (key) {\r\n return this.dict[key];\r\n };\r\n \r\n Translation.prototype.extend = function (translation) {\r\n this.dict = $.extend({}, translation.all(), this.dict);\r\n };\r\n \r\n // Static functions\r\n \r\n Translation._cache = {};\r\n \r\n Translation.loadPath = function (path) {\r\n if (!(path in Translation._cache)) {\r\n var translations = require(path);\r\n \r\n Translation._cache[path] = translations;\r\n }\r\n \r\n return new Translation(Translation._cache[path]);\r\n };\r\n \r\n return Translation;\r\n });\r\n \r\n S2.define('select2/diacritics',[\r\n \r\n ], function () {\r\n var diacritics = {\r\n '\\u24B6': 'A',\r\n '\\uFF21': 'A',\r\n '\\u00C0': 'A',\r\n '\\u00C1': 'A',\r\n '\\u00C2': 'A',\r\n '\\u1EA6': 'A',\r\n '\\u1EA4': 'A',\r\n '\\u1EAA': 'A',\r\n '\\u1EA8': 'A',\r\n '\\u00C3': 'A',\r\n '\\u0100': 'A',\r\n '\\u0102': 'A',\r\n '\\u1EB0': 'A',\r\n '\\u1EAE': 'A',\r\n '\\u1EB4': 'A',\r\n '\\u1EB2': 'A',\r\n '\\u0226': 'A',\r\n '\\u01E0': 'A',\r\n '\\u00C4': 'A',\r\n '\\u01DE': 'A',\r\n '\\u1EA2': 'A',\r\n '\\u00C5': 'A',\r\n '\\u01FA': 'A',\r\n '\\u01CD': 'A',\r\n '\\u0200': 'A',\r\n '\\u0202': 'A',\r\n '\\u1EA0': 'A',\r\n '\\u1EAC': 'A',\r\n '\\u1EB6': 'A',\r\n '\\u1E00': 'A',\r\n '\\u0104': 'A',\r\n '\\u023A': 'A',\r\n '\\u2C6F': 'A',\r\n '\\uA732': 'AA',\r\n '\\u00C6': 'AE',\r\n '\\u01FC': 'AE',\r\n '\\u01E2': 'AE',\r\n '\\uA734': 'AO',\r\n '\\uA736': 'AU',\r\n '\\uA738': 'AV',\r\n '\\uA73A': 'AV',\r\n '\\uA73C': 'AY',\r\n '\\u24B7': 'B',\r\n '\\uFF22': 'B',\r\n '\\u1E02': 'B',\r\n '\\u1E04': 'B',\r\n '\\u1E06': 'B',\r\n '\\u0243': 'B',\r\n '\\u0182': 'B',\r\n '\\u0181': 'B',\r\n '\\u24B8': 'C',\r\n '\\uFF23': 'C',\r\n '\\u0106': 'C',\r\n '\\u0108': 'C',\r\n '\\u010A': 'C',\r\n '\\u010C': 'C',\r\n '\\u00C7': 'C',\r\n '\\u1E08': 'C',\r\n '\\u0187': 'C',\r\n '\\u023B': 'C',\r\n '\\uA73E': 'C',\r\n '\\u24B9': 'D',\r\n '\\uFF24': 'D',\r\n '\\u1E0A': 'D',\r\n '\\u010E': 'D',\r\n '\\u1E0C': 'D',\r\n '\\u1E10': 'D',\r\n '\\u1E12': 'D',\r\n '\\u1E0E': 'D',\r\n '\\u0110': 'D',\r\n '\\u018B': 'D',\r\n '\\u018A': 'D',\r\n '\\u0189': 'D',\r\n '\\uA779': 'D',\r\n '\\u01F1': 'DZ',\r\n '\\u01C4': 'DZ',\r\n '\\u01F2': 'Dz',\r\n '\\u01C5': 'Dz',\r\n '\\u24BA': 'E',\r\n '\\uFF25': 'E',\r\n '\\u00C8': 'E',\r\n '\\u00C9': 'E',\r\n '\\u00CA': 'E',\r\n '\\u1EC0': 'E',\r\n '\\u1EBE': 'E',\r\n '\\u1EC4': 'E',\r\n '\\u1EC2': 'E',\r\n '\\u1EBC': 'E',\r\n '\\u0112': 'E',\r\n '\\u1E14': 'E',\r\n '\\u1E16': 'E',\r\n '\\u0114': 'E',\r\n '\\u0116': 'E',\r\n '\\u00CB': 'E',\r\n '\\u1EBA': 'E',\r\n '\\u011A': 'E',\r\n '\\u0204': 'E',\r\n '\\u0206': 'E',\r\n '\\u1EB8': 'E',\r\n '\\u1EC6': 'E',\r\n '\\u0228': 'E',\r\n '\\u1E1C': 'E',\r\n '\\u0118': 'E',\r\n '\\u1E18': 'E',\r\n '\\u1E1A': 'E',\r\n '\\u0190': 'E',\r\n '\\u018E': 'E',\r\n '\\u24BB': 'F',\r\n '\\uFF26': 'F',\r\n '\\u1E1E': 'F',\r\n '\\u0191': 'F',\r\n '\\uA77B': 'F',\r\n '\\u24BC': 'G',\r\n '\\uFF27': 'G',\r\n '\\u01F4': 'G',\r\n '\\u011C': 'G',\r\n '\\u1E20': 'G',\r\n '\\u011E': 'G',\r\n '\\u0120': 'G',\r\n '\\u01E6': 'G',\r\n '\\u0122': 'G',\r\n '\\u01E4': 'G',\r\n '\\u0193': 'G',\r\n '\\uA7A0': 'G',\r\n '\\uA77D': 'G',\r\n '\\uA77E': 'G',\r\n '\\u24BD': 'H',\r\n '\\uFF28': 'H',\r\n '\\u0124': 'H',\r\n '\\u1E22': 'H',\r\n '\\u1E26': 'H',\r\n '\\u021E': 'H',\r\n '\\u1E24': 'H',\r\n '\\u1E28': 'H',\r\n '\\u1E2A': 'H',\r\n '\\u0126': 'H',\r\n '\\u2C67': 'H',\r\n '\\u2C75': 'H',\r\n '\\uA78D': 'H',\r\n '\\u24BE': 'I',\r\n '\\uFF29': 'I',\r\n '\\u00CC': 'I',\r\n '\\u00CD': 'I',\r\n '\\u00CE': 'I',\r\n '\\u0128': 'I',\r\n '\\u012A': 'I',\r\n '\\u012C': 'I',\r\n '\\u0130': 'I',\r\n '\\u00CF': 'I',\r\n '\\u1E2E': 'I',\r\n '\\u1EC8': 'I',\r\n '\\u01CF': 'I',\r\n '\\u0208': 'I',\r\n '\\u020A': 'I',\r\n '\\u1ECA': 'I',\r\n '\\u012E': 'I',\r\n '\\u1E2C': 'I',\r\n '\\u0197': 'I',\r\n '\\u24BF': 'J',\r\n '\\uFF2A': 'J',\r\n '\\u0134': 'J',\r\n '\\u0248': 'J',\r\n '\\u24C0': 'K',\r\n '\\uFF2B': 'K',\r\n '\\u1E30': 'K',\r\n '\\u01E8': 'K',\r\n '\\u1E32': 'K',\r\n '\\u0136': 'K',\r\n '\\u1E34': 'K',\r\n '\\u0198': 'K',\r\n '\\u2C69': 'K',\r\n '\\uA740': 'K',\r\n '\\uA742': 'K',\r\n '\\uA744': 'K',\r\n '\\uA7A2': 'K',\r\n '\\u24C1': 'L',\r\n '\\uFF2C': 'L',\r\n '\\u013F': 'L',\r\n '\\u0139': 'L',\r\n '\\u013D': 'L',\r\n '\\u1E36': 'L',\r\n '\\u1E38': 'L',\r\n '\\u013B': 'L',\r\n '\\u1E3C': 'L',\r\n '\\u1E3A': 'L',\r\n '\\u0141': 'L',\r\n '\\u023D': 'L',\r\n '\\u2C62': 'L',\r\n '\\u2C60': 'L',\r\n '\\uA748': 'L',\r\n '\\uA746': 'L',\r\n '\\uA780': 'L',\r\n '\\u01C7': 'LJ',\r\n '\\u01C8': 'Lj',\r\n '\\u24C2': 'M',\r\n '\\uFF2D': 'M',\r\n '\\u1E3E': 'M',\r\n '\\u1E40': 'M',\r\n '\\u1E42': 'M',\r\n '\\u2C6E': 'M',\r\n '\\u019C': 'M',\r\n '\\u24C3': 'N',\r\n '\\uFF2E': 'N',\r\n '\\u01F8': 'N',\r\n '\\u0143': 'N',\r\n '\\u00D1': 'N',\r\n '\\u1E44': 'N',\r\n '\\u0147': 'N',\r\n '\\u1E46': 'N',\r\n '\\u0145': 'N',\r\n '\\u1E4A': 'N',\r\n '\\u1E48': 'N',\r\n '\\u0220': 'N',\r\n '\\u019D': 'N',\r\n '\\uA790': 'N',\r\n '\\uA7A4': 'N',\r\n '\\u01CA': 'NJ',\r\n '\\u01CB': 'Nj',\r\n '\\u24C4': 'O',\r\n '\\uFF2F': 'O',\r\n '\\u00D2': 'O',\r\n '\\u00D3': 'O',\r\n '\\u00D4': 'O',\r\n '\\u1ED2': 'O',\r\n '\\u1ED0': 'O',\r\n '\\u1ED6': 'O',\r\n '\\u1ED4': 'O',\r\n '\\u00D5': 'O',\r\n '\\u1E4C': 'O',\r\n '\\u022C': 'O',\r\n '\\u1E4E': 'O',\r\n '\\u014C': 'O',\r\n '\\u1E50': 'O',\r\n '\\u1E52': 'O',\r\n '\\u014E': 'O',\r\n '\\u022E': 'O',\r\n '\\u0230': 'O',\r\n '\\u00D6': 'O',\r\n '\\u022A': 'O',\r\n '\\u1ECE': 'O',\r\n '\\u0150': 'O',\r\n '\\u01D1': 'O',\r\n '\\u020C': 'O',\r\n '\\u020E': 'O',\r\n '\\u01A0': 'O',\r\n '\\u1EDC': 'O',\r\n '\\u1EDA': 'O',\r\n '\\u1EE0': 'O',\r\n '\\u1EDE': 'O',\r\n '\\u1EE2': 'O',\r\n '\\u1ECC': 'O',\r\n '\\u1ED8': 'O',\r\n '\\u01EA': 'O',\r\n '\\u01EC': 'O',\r\n '\\u00D8': 'O',\r\n '\\u01FE': 'O',\r\n '\\u0186': 'O',\r\n '\\u019F': 'O',\r\n '\\uA74A': 'O',\r\n '\\uA74C': 'O',\r\n '\\u0152': 'OE',\r\n '\\u01A2': 'OI',\r\n '\\uA74E': 'OO',\r\n '\\u0222': 'OU',\r\n '\\u24C5': 'P',\r\n '\\uFF30': 'P',\r\n '\\u1E54': 'P',\r\n '\\u1E56': 'P',\r\n '\\u01A4': 'P',\r\n '\\u2C63': 'P',\r\n '\\uA750': 'P',\r\n '\\uA752': 'P',\r\n '\\uA754': 'P',\r\n '\\u24C6': 'Q',\r\n '\\uFF31': 'Q',\r\n '\\uA756': 'Q',\r\n '\\uA758': 'Q',\r\n '\\u024A': 'Q',\r\n '\\u24C7': 'R',\r\n '\\uFF32': 'R',\r\n '\\u0154': 'R',\r\n '\\u1E58': 'R',\r\n '\\u0158': 'R',\r\n '\\u0210': 'R',\r\n '\\u0212': 'R',\r\n '\\u1E5A': 'R',\r\n '\\u1E5C': 'R',\r\n '\\u0156': 'R',\r\n '\\u1E5E': 'R',\r\n '\\u024C': 'R',\r\n '\\u2C64': 'R',\r\n '\\uA75A': 'R',\r\n '\\uA7A6': 'R',\r\n '\\uA782': 'R',\r\n '\\u24C8': 'S',\r\n '\\uFF33': 'S',\r\n '\\u1E9E': 'S',\r\n '\\u015A': 'S',\r\n '\\u1E64': 'S',\r\n '\\u015C': 'S',\r\n '\\u1E60': 'S',\r\n '\\u0160': 'S',\r\n '\\u1E66': 'S',\r\n '\\u1E62': 'S',\r\n '\\u1E68': 'S',\r\n '\\u0218': 'S',\r\n '\\u015E': 'S',\r\n '\\u2C7E': 'S',\r\n '\\uA7A8': 'S',\r\n '\\uA784': 'S',\r\n '\\u24C9': 'T',\r\n '\\uFF34': 'T',\r\n '\\u1E6A': 'T',\r\n '\\u0164': 'T',\r\n '\\u1E6C': 'T',\r\n '\\u021A': 'T',\r\n '\\u0162': 'T',\r\n '\\u1E70': 'T',\r\n '\\u1E6E': 'T',\r\n '\\u0166': 'T',\r\n '\\u01AC': 'T',\r\n '\\u01AE': 'T',\r\n '\\u023E': 'T',\r\n '\\uA786': 'T',\r\n '\\uA728': 'TZ',\r\n '\\u24CA': 'U',\r\n '\\uFF35': 'U',\r\n '\\u00D9': 'U',\r\n '\\u00DA': 'U',\r\n '\\u00DB': 'U',\r\n '\\u0168': 'U',\r\n '\\u1E78': 'U',\r\n '\\u016A': 'U',\r\n '\\u1E7A': 'U',\r\n '\\u016C': 'U',\r\n '\\u00DC': 'U',\r\n '\\u01DB': 'U',\r\n '\\u01D7': 'U',\r\n '\\u01D5': 'U',\r\n '\\u01D9': 'U',\r\n '\\u1EE6': 'U',\r\n '\\u016E': 'U',\r\n '\\u0170': 'U',\r\n '\\u01D3': 'U',\r\n '\\u0214': 'U',\r\n '\\u0216': 'U',\r\n '\\u01AF': 'U',\r\n '\\u1EEA': 'U',\r\n '\\u1EE8': 'U',\r\n '\\u1EEE': 'U',\r\n '\\u1EEC': 'U',\r\n '\\u1EF0': 'U',\r\n '\\u1EE4': 'U',\r\n '\\u1E72': 'U',\r\n '\\u0172': 'U',\r\n '\\u1E76': 'U',\r\n '\\u1E74': 'U',\r\n '\\u0244': 'U',\r\n '\\u24CB': 'V',\r\n '\\uFF36': 'V',\r\n '\\u1E7C': 'V',\r\n '\\u1E7E': 'V',\r\n '\\u01B2': 'V',\r\n '\\uA75E': 'V',\r\n '\\u0245': 'V',\r\n '\\uA760': 'VY',\r\n '\\u24CC': 'W',\r\n '\\uFF37': 'W',\r\n '\\u1E80': 'W',\r\n '\\u1E82': 'W',\r\n '\\u0174': 'W',\r\n '\\u1E86': 'W',\r\n '\\u1E84': 'W',\r\n '\\u1E88': 'W',\r\n '\\u2C72': 'W',\r\n '\\u24CD': 'X',\r\n '\\uFF38': 'X',\r\n '\\u1E8A': 'X',\r\n '\\u1E8C': 'X',\r\n '\\u24CE': 'Y',\r\n '\\uFF39': 'Y',\r\n '\\u1EF2': 'Y',\r\n '\\u00DD': 'Y',\r\n '\\u0176': 'Y',\r\n '\\u1EF8': 'Y',\r\n '\\u0232': 'Y',\r\n '\\u1E8E': 'Y',\r\n '\\u0178': 'Y',\r\n '\\u1EF6': 'Y',\r\n '\\u1EF4': 'Y',\r\n '\\u01B3': 'Y',\r\n '\\u024E': 'Y',\r\n '\\u1EFE': 'Y',\r\n '\\u24CF': 'Z',\r\n '\\uFF3A': 'Z',\r\n '\\u0179': 'Z',\r\n '\\u1E90': 'Z',\r\n '\\u017B': 'Z',\r\n '\\u017D': 'Z',\r\n '\\u1E92': 'Z',\r\n '\\u1E94': 'Z',\r\n '\\u01B5': 'Z',\r\n '\\u0224': 'Z',\r\n '\\u2C7F': 'Z',\r\n '\\u2C6B': 'Z',\r\n '\\uA762': 'Z',\r\n '\\u24D0': 'a',\r\n '\\uFF41': 'a',\r\n '\\u1E9A': 'a',\r\n '\\u00E0': 'a',\r\n '\\u00E1': 'a',\r\n '\\u00E2': 'a',\r\n '\\u1EA7': 'a',\r\n '\\u1EA5': 'a',\r\n '\\u1EAB': 'a',\r\n '\\u1EA9': 'a',\r\n '\\u00E3': 'a',\r\n '\\u0101': 'a',\r\n '\\u0103': 'a',\r\n '\\u1EB1': 'a',\r\n '\\u1EAF': 'a',\r\n '\\u1EB5': 'a',\r\n '\\u1EB3': 'a',\r\n '\\u0227': 'a',\r\n '\\u01E1': 'a',\r\n '\\u00E4': 'a',\r\n '\\u01DF': 'a',\r\n '\\u1EA3': 'a',\r\n '\\u00E5': 'a',\r\n '\\u01FB': 'a',\r\n '\\u01CE': 'a',\r\n '\\u0201': 'a',\r\n '\\u0203': 'a',\r\n '\\u1EA1': 'a',\r\n '\\u1EAD': 'a',\r\n '\\u1EB7': 'a',\r\n '\\u1E01': 'a',\r\n '\\u0105': 'a',\r\n '\\u2C65': 'a',\r\n '\\u0250': 'a',\r\n '\\uA733': 'aa',\r\n '\\u00E6': 'ae',\r\n '\\u01FD': 'ae',\r\n '\\u01E3': 'ae',\r\n '\\uA735': 'ao',\r\n '\\uA737': 'au',\r\n '\\uA739': 'av',\r\n '\\uA73B': 'av',\r\n '\\uA73D': 'ay',\r\n '\\u24D1': 'b',\r\n '\\uFF42': 'b',\r\n '\\u1E03': 'b',\r\n '\\u1E05': 'b',\r\n '\\u1E07': 'b',\r\n '\\u0180': 'b',\r\n '\\u0183': 'b',\r\n '\\u0253': 'b',\r\n '\\u24D2': 'c',\r\n '\\uFF43': 'c',\r\n '\\u0107': 'c',\r\n '\\u0109': 'c',\r\n '\\u010B': 'c',\r\n '\\u010D': 'c',\r\n '\\u00E7': 'c',\r\n '\\u1E09': 'c',\r\n '\\u0188': 'c',\r\n '\\u023C': 'c',\r\n '\\uA73F': 'c',\r\n '\\u2184': 'c',\r\n '\\u24D3': 'd',\r\n '\\uFF44': 'd',\r\n '\\u1E0B': 'd',\r\n '\\u010F': 'd',\r\n '\\u1E0D': 'd',\r\n '\\u1E11': 'd',\r\n '\\u1E13': 'd',\r\n '\\u1E0F': 'd',\r\n '\\u0111': 'd',\r\n '\\u018C': 'd',\r\n '\\u0256': 'd',\r\n '\\u0257': 'd',\r\n '\\uA77A': 'd',\r\n '\\u01F3': 'dz',\r\n '\\u01C6': 'dz',\r\n '\\u24D4': 'e',\r\n '\\uFF45': 'e',\r\n '\\u00E8': 'e',\r\n '\\u00E9': 'e',\r\n '\\u00EA': 'e',\r\n '\\u1EC1': 'e',\r\n '\\u1EBF': 'e',\r\n '\\u1EC5': 'e',\r\n '\\u1EC3': 'e',\r\n '\\u1EBD': 'e',\r\n '\\u0113': 'e',\r\n '\\u1E15': 'e',\r\n '\\u1E17': 'e',\r\n '\\u0115': 'e',\r\n '\\u0117': 'e',\r\n '\\u00EB': 'e',\r\n '\\u1EBB': 'e',\r\n '\\u011B': 'e',\r\n '\\u0205': 'e',\r\n '\\u0207': 'e',\r\n '\\u1EB9': 'e',\r\n '\\u1EC7': 'e',\r\n '\\u0229': 'e',\r\n '\\u1E1D': 'e',\r\n '\\u0119': 'e',\r\n '\\u1E19': 'e',\r\n '\\u1E1B': 'e',\r\n '\\u0247': 'e',\r\n '\\u025B': 'e',\r\n '\\u01DD': 'e',\r\n '\\u24D5': 'f',\r\n '\\uFF46': 'f',\r\n '\\u1E1F': 'f',\r\n '\\u0192': 'f',\r\n '\\uA77C': 'f',\r\n '\\u24D6': 'g',\r\n '\\uFF47': 'g',\r\n '\\u01F5': 'g',\r\n '\\u011D': 'g',\r\n '\\u1E21': 'g',\r\n '\\u011F': 'g',\r\n '\\u0121': 'g',\r\n '\\u01E7': 'g',\r\n '\\u0123': 'g',\r\n '\\u01E5': 'g',\r\n '\\u0260': 'g',\r\n '\\uA7A1': 'g',\r\n '\\u1D79': 'g',\r\n '\\uA77F': 'g',\r\n '\\u24D7': 'h',\r\n '\\uFF48': 'h',\r\n '\\u0125': 'h',\r\n '\\u1E23': 'h',\r\n '\\u1E27': 'h',\r\n '\\u021F': 'h',\r\n '\\u1E25': 'h',\r\n '\\u1E29': 'h',\r\n '\\u1E2B': 'h',\r\n '\\u1E96': 'h',\r\n '\\u0127': 'h',\r\n '\\u2C68': 'h',\r\n '\\u2C76': 'h',\r\n '\\u0265': 'h',\r\n '\\u0195': 'hv',\r\n '\\u24D8': 'i',\r\n '\\uFF49': 'i',\r\n '\\u00EC': 'i',\r\n '\\u00ED': 'i',\r\n '\\u00EE': 'i',\r\n '\\u0129': 'i',\r\n '\\u012B': 'i',\r\n '\\u012D': 'i',\r\n '\\u00EF': 'i',\r\n '\\u1E2F': 'i',\r\n '\\u1EC9': 'i',\r\n '\\u01D0': 'i',\r\n '\\u0209': 'i',\r\n '\\u020B': 'i',\r\n '\\u1ECB': 'i',\r\n '\\u012F': 'i',\r\n '\\u1E2D': 'i',\r\n '\\u0268': 'i',\r\n '\\u0131': 'i',\r\n '\\u24D9': 'j',\r\n '\\uFF4A': 'j',\r\n '\\u0135': 'j',\r\n '\\u01F0': 'j',\r\n '\\u0249': 'j',\r\n '\\u24DA': 'k',\r\n '\\uFF4B': 'k',\r\n '\\u1E31': 'k',\r\n '\\u01E9': 'k',\r\n '\\u1E33': 'k',\r\n '\\u0137': 'k',\r\n '\\u1E35': 'k',\r\n '\\u0199': 'k',\r\n '\\u2C6A': 'k',\r\n '\\uA741': 'k',\r\n '\\uA743': 'k',\r\n '\\uA745': 'k',\r\n '\\uA7A3': 'k',\r\n '\\u24DB': 'l',\r\n '\\uFF4C': 'l',\r\n '\\u0140': 'l',\r\n '\\u013A': 'l',\r\n '\\u013E': 'l',\r\n '\\u1E37': 'l',\r\n '\\u1E39': 'l',\r\n '\\u013C': 'l',\r\n '\\u1E3D': 'l',\r\n '\\u1E3B': 'l',\r\n '\\u017F': 'l',\r\n '\\u0142': 'l',\r\n '\\u019A': 'l',\r\n '\\u026B': 'l',\r\n '\\u2C61': 'l',\r\n '\\uA749': 'l',\r\n '\\uA781': 'l',\r\n '\\uA747': 'l',\r\n '\\u01C9': 'lj',\r\n '\\u24DC': 'm',\r\n '\\uFF4D': 'm',\r\n '\\u1E3F': 'm',\r\n '\\u1E41': 'm',\r\n '\\u1E43': 'm',\r\n '\\u0271': 'm',\r\n '\\u026F': 'm',\r\n '\\u24DD': 'n',\r\n '\\uFF4E': 'n',\r\n '\\u01F9': 'n',\r\n '\\u0144': 'n',\r\n '\\u00F1': 'n',\r\n '\\u1E45': 'n',\r\n '\\u0148': 'n',\r\n '\\u1E47': 'n',\r\n '\\u0146': 'n',\r\n '\\u1E4B': 'n',\r\n '\\u1E49': 'n',\r\n '\\u019E': 'n',\r\n '\\u0272': 'n',\r\n '\\u0149': 'n',\r\n '\\uA791': 'n',\r\n '\\uA7A5': 'n',\r\n '\\u01CC': 'nj',\r\n '\\u24DE': 'o',\r\n '\\uFF4F': 'o',\r\n '\\u00F2': 'o',\r\n '\\u00F3': 'o',\r\n '\\u00F4': 'o',\r\n '\\u1ED3': 'o',\r\n '\\u1ED1': 'o',\r\n '\\u1ED7': 'o',\r\n '\\u1ED5': 'o',\r\n '\\u00F5': 'o',\r\n '\\u1E4D': 'o',\r\n '\\u022D': 'o',\r\n '\\u1E4F': 'o',\r\n '\\u014D': 'o',\r\n '\\u1E51': 'o',\r\n '\\u1E53': 'o',\r\n '\\u014F': 'o',\r\n '\\u022F': 'o',\r\n '\\u0231': 'o',\r\n '\\u00F6': 'o',\r\n '\\u022B': 'o',\r\n '\\u1ECF': 'o',\r\n '\\u0151': 'o',\r\n '\\u01D2': 'o',\r\n '\\u020D': 'o',\r\n '\\u020F': 'o',\r\n '\\u01A1': 'o',\r\n '\\u1EDD': 'o',\r\n '\\u1EDB': 'o',\r\n '\\u1EE1': 'o',\r\n '\\u1EDF': 'o',\r\n '\\u1EE3': 'o',\r\n '\\u1ECD': 'o',\r\n '\\u1ED9': 'o',\r\n '\\u01EB': 'o',\r\n '\\u01ED': 'o',\r\n '\\u00F8': 'o',\r\n '\\u01FF': 'o',\r\n '\\u0254': 'o',\r\n '\\uA74B': 'o',\r\n '\\uA74D': 'o',\r\n '\\u0275': 'o',\r\n '\\u0153': 'oe',\r\n '\\u01A3': 'oi',\r\n '\\u0223': 'ou',\r\n '\\uA74F': 'oo',\r\n '\\u24DF': 'p',\r\n '\\uFF50': 'p',\r\n '\\u1E55': 'p',\r\n '\\u1E57': 'p',\r\n '\\u01A5': 'p',\r\n '\\u1D7D': 'p',\r\n '\\uA751': 'p',\r\n '\\uA753': 'p',\r\n '\\uA755': 'p',\r\n '\\u24E0': 'q',\r\n '\\uFF51': 'q',\r\n '\\u024B': 'q',\r\n '\\uA757': 'q',\r\n '\\uA759': 'q',\r\n '\\u24E1': 'r',\r\n '\\uFF52': 'r',\r\n '\\u0155': 'r',\r\n '\\u1E59': 'r',\r\n '\\u0159': 'r',\r\n '\\u0211': 'r',\r\n '\\u0213': 'r',\r\n '\\u1E5B': 'r',\r\n '\\u1E5D': 'r',\r\n '\\u0157': 'r',\r\n '\\u1E5F': 'r',\r\n '\\u024D': 'r',\r\n '\\u027D': 'r',\r\n '\\uA75B': 'r',\r\n '\\uA7A7': 'r',\r\n '\\uA783': 'r',\r\n '\\u24E2': 's',\r\n '\\uFF53': 's',\r\n '\\u00DF': 's',\r\n '\\u015B': 's',\r\n '\\u1E65': 's',\r\n '\\u015D': 's',\r\n '\\u1E61': 's',\r\n '\\u0161': 's',\r\n '\\u1E67': 's',\r\n '\\u1E63': 's',\r\n '\\u1E69': 's',\r\n '\\u0219': 's',\r\n '\\u015F': 's',\r\n '\\u023F': 's',\r\n '\\uA7A9': 's',\r\n '\\uA785': 's',\r\n '\\u1E9B': 's',\r\n '\\u24E3': 't',\r\n '\\uFF54': 't',\r\n '\\u1E6B': 't',\r\n '\\u1E97': 't',\r\n '\\u0165': 't',\r\n '\\u1E6D': 't',\r\n '\\u021B': 't',\r\n '\\u0163': 't',\r\n '\\u1E71': 't',\r\n '\\u1E6F': 't',\r\n '\\u0167': 't',\r\n '\\u01AD': 't',\r\n '\\u0288': 't',\r\n '\\u2C66': 't',\r\n '\\uA787': 't',\r\n '\\uA729': 'tz',\r\n '\\u24E4': 'u',\r\n '\\uFF55': 'u',\r\n '\\u00F9': 'u',\r\n '\\u00FA': 'u',\r\n '\\u00FB': 'u',\r\n '\\u0169': 'u',\r\n '\\u1E79': 'u',\r\n '\\u016B': 'u',\r\n '\\u1E7B': 'u',\r\n '\\u016D': 'u',\r\n '\\u00FC': 'u',\r\n '\\u01DC': 'u',\r\n '\\u01D8': 'u',\r\n '\\u01D6': 'u',\r\n '\\u01DA': 'u',\r\n '\\u1EE7': 'u',\r\n '\\u016F': 'u',\r\n '\\u0171': 'u',\r\n '\\u01D4': 'u',\r\n '\\u0215': 'u',\r\n '\\u0217': 'u',\r\n '\\u01B0': 'u',\r\n '\\u1EEB': 'u',\r\n '\\u1EE9': 'u',\r\n '\\u1EEF': 'u',\r\n '\\u1EED': 'u',\r\n '\\u1EF1': 'u',\r\n '\\u1EE5': 'u',\r\n '\\u1E73': 'u',\r\n '\\u0173': 'u',\r\n '\\u1E77': 'u',\r\n '\\u1E75': 'u',\r\n '\\u0289': 'u',\r\n '\\u24E5': 'v',\r\n '\\uFF56': 'v',\r\n '\\u1E7D': 'v',\r\n '\\u1E7F': 'v',\r\n '\\u028B': 'v',\r\n '\\uA75F': 'v',\r\n '\\u028C': 'v',\r\n '\\uA761': 'vy',\r\n '\\u24E6': 'w',\r\n '\\uFF57': 'w',\r\n '\\u1E81': 'w',\r\n '\\u1E83': 'w',\r\n '\\u0175': 'w',\r\n '\\u1E87': 'w',\r\n '\\u1E85': 'w',\r\n '\\u1E98': 'w',\r\n '\\u1E89': 'w',\r\n '\\u2C73': 'w',\r\n '\\u24E7': 'x',\r\n '\\uFF58': 'x',\r\n '\\u1E8B': 'x',\r\n '\\u1E8D': 'x',\r\n '\\u24E8': 'y',\r\n '\\uFF59': 'y',\r\n '\\u1EF3': 'y',\r\n '\\u00FD': 'y',\r\n '\\u0177': 'y',\r\n '\\u1EF9': 'y',\r\n '\\u0233': 'y',\r\n '\\u1E8F': 'y',\r\n '\\u00FF': 'y',\r\n '\\u1EF7': 'y',\r\n '\\u1E99': 'y',\r\n '\\u1EF5': 'y',\r\n '\\u01B4': 'y',\r\n '\\u024F': 'y',\r\n '\\u1EFF': 'y',\r\n '\\u24E9': 'z',\r\n '\\uFF5A': 'z',\r\n '\\u017A': 'z',\r\n '\\u1E91': 'z',\r\n '\\u017C': 'z',\r\n '\\u017E': 'z',\r\n '\\u1E93': 'z',\r\n '\\u1E95': 'z',\r\n '\\u01B6': 'z',\r\n '\\u0225': 'z',\r\n '\\u0240': 'z',\r\n '\\u2C6C': 'z',\r\n '\\uA763': 'z',\r\n '\\u0386': '\\u0391',\r\n '\\u0388': '\\u0395',\r\n '\\u0389': '\\u0397',\r\n '\\u038A': '\\u0399',\r\n '\\u03AA': '\\u0399',\r\n '\\u038C': '\\u039F',\r\n '\\u038E': '\\u03A5',\r\n '\\u03AB': '\\u03A5',\r\n '\\u038F': '\\u03A9',\r\n '\\u03AC': '\\u03B1',\r\n '\\u03AD': '\\u03B5',\r\n '\\u03AE': '\\u03B7',\r\n '\\u03AF': '\\u03B9',\r\n '\\u03CA': '\\u03B9',\r\n '\\u0390': '\\u03B9',\r\n '\\u03CC': '\\u03BF',\r\n '\\u03CD': '\\u03C5',\r\n '\\u03CB': '\\u03C5',\r\n '\\u03B0': '\\u03C5',\r\n '\\u03CE': '\\u03C9',\r\n '\\u03C2': '\\u03C3',\r\n '\\u2019': '\\''\r\n };\r\n \r\n return diacritics;\r\n });\r\n \r\n S2.define('select2/data/base',[\r\n '../utils'\r\n ], function (Utils) {\r\n function BaseAdapter ($element, options) {\r\n BaseAdapter.__super__.constructor.call(this);\r\n }\r\n \r\n Utils.Extend(BaseAdapter, Utils.Observable);\r\n \r\n BaseAdapter.prototype.current = function (callback) {\r\n throw new Error('The `current` method must be defined in child classes.');\r\n };\r\n \r\n BaseAdapter.prototype.query = function (params, callback) {\r\n throw new Error('The `query` method must be defined in child classes.');\r\n };\r\n \r\n BaseAdapter.prototype.bind = function (container, $container) {\r\n // Can be implemented in subclasses\r\n };\r\n \r\n BaseAdapter.prototype.destroy = function () {\r\n // Can be implemented in subclasses\r\n };\r\n \r\n BaseAdapter.prototype.generateResultId = function (container, data) {\r\n var id = container.id + '-result-';\r\n \r\n id += Utils.generateChars(4);\r\n \r\n if (data.id != null) {\r\n id += '-' + data.id.toString();\r\n } else {\r\n id += '-' + Utils.generateChars(4);\r\n }\r\n return id;\r\n };\r\n \r\n return BaseAdapter;\r\n });\r\n \r\n S2.define('select2/data/select',[\r\n './base',\r\n '../utils',\r\n 'jquery'\r\n ], function (BaseAdapter, Utils, $) {\r\n function SelectAdapter ($element, options) {\r\n this.$element = $element;\r\n this.options = options;\r\n \r\n SelectAdapter.__super__.constructor.call(this);\r\n }\r\n \r\n Utils.Extend(SelectAdapter, BaseAdapter);\r\n \r\n SelectAdapter.prototype.current = function (callback) {\r\n var self = this;\r\n \r\n var data = Array.prototype.map.call(\r\n this.$element[0].querySelectorAll(':checked'),\r\n function (selectedElement) {\r\n return self.item($(selectedElement));\r\n }\r\n );\r\n \r\n callback(data);\r\n };\r\n \r\n SelectAdapter.prototype.select = function (data) {\r\n var self = this;\r\n \r\n data.selected = true;\r\n \r\n // If data.element is a DOM node, use it instead\r\n if (\r\n data.element != null && data.element.tagName.toLowerCase() === 'option'\r\n ) {\r\n data.element.selected = true;\r\n \r\n this.$element.trigger('input').trigger('change');\r\n \r\n return;\r\n }\r\n \r\n if (this.$element.prop('multiple')) {\r\n this.current(function (currentData) {\r\n var val = [];\r\n \r\n data = [data];\r\n data.push.apply(data, currentData);\r\n \r\n for (var d = 0; d < data.length; d++) {\r\n var id = data[d].id;\r\n \r\n if (val.indexOf(id) === -1) {\r\n val.push(id);\r\n }\r\n }\r\n \r\n self.$element.val(val);\r\n self.$element.trigger('input').trigger('change');\r\n });\r\n } else {\r\n var val = data.id;\r\n \r\n this.$element.val(val);\r\n this.$element.trigger('input').trigger('change');\r\n }\r\n };\r\n \r\n SelectAdapter.prototype.unselect = function (data) {\r\n var self = this;\r\n \r\n if (!this.$element.prop('multiple')) {\r\n return;\r\n }\r\n \r\n data.selected = false;\r\n \r\n if (\r\n data.element != null &&\r\n data.element.tagName.toLowerCase() === 'option'\r\n ) {\r\n data.element.selected = false;\r\n \r\n this.$element.trigger('input').trigger('change');\r\n \r\n return;\r\n }\r\n \r\n this.current(function (currentData) {\r\n var val = [];\r\n \r\n for (var d = 0; d < currentData.length; d++) {\r\n var id = currentData[d].id;\r\n \r\n if (id !== data.id && val.indexOf(id) === -1) {\r\n val.push(id);\r\n }\r\n }\r\n \r\n self.$element.val(val);\r\n \r\n self.$element.trigger('input').trigger('change');\r\n });\r\n };\r\n \r\n SelectAdapter.prototype.bind = function (container, $container) {\r\n var self = this;\r\n \r\n this.container = container;\r\n \r\n container.on('select', function (params) {\r\n self.select(params.data);\r\n });\r\n \r\n container.on('unselect', function (params) {\r\n self.unselect(params.data);\r\n });\r\n };\r\n \r\n SelectAdapter.prototype.destroy = function () {\r\n // Remove anything added to child elements\r\n this.$element.find('*').each(function () {\r\n // Remove any custom data set by Select2\r\n Utils.RemoveData(this);\r\n });\r\n };\r\n \r\n SelectAdapter.prototype.query = function (params, callback) {\r\n var data = [];\r\n var self = this;\r\n \r\n var $options = this.$element.children();\r\n \r\n $options.each(function () {\r\n if (\r\n this.tagName.toLowerCase() !== 'option' &&\r\n this.tagName.toLowerCase() !== 'optgroup'\r\n ) {\r\n return;\r\n }\r\n \r\n var $option = $(this);\r\n \r\n var option = self.item($option);\r\n \r\n var matches = self.matches(params, option);\r\n \r\n if (matches !== null) {\r\n data.push(matches);\r\n }\r\n });\r\n \r\n callback({\r\n results: data\r\n });\r\n };\r\n \r\n SelectAdapter.prototype.addOptions = function ($options) {\r\n this.$element.append($options);\r\n };\r\n \r\n SelectAdapter.prototype.option = function (data) {\r\n var option;\r\n \r\n if (data.children) {\r\n option = document.createElement('optgroup');\r\n option.label = data.text;\r\n } else {\r\n option = document.createElement('option');\r\n \r\n if (option.textContent !== undefined) {\r\n option.textContent = data.text;\r\n } else {\r\n option.innerText = data.text;\r\n }\r\n }\r\n \r\n if (data.id !== undefined) {\r\n option.value = data.id;\r\n }\r\n \r\n if (data.disabled) {\r\n option.disabled = true;\r\n }\r\n \r\n if (data.selected) {\r\n option.selected = true;\r\n }\r\n \r\n if (data.title) {\r\n option.title = data.title;\r\n }\r\n \r\n var normalizedData = this._normalizeItem(data);\r\n normalizedData.element = option;\r\n \r\n // Override the option's data with the combined data\r\n Utils.StoreData(option, 'data', normalizedData);\r\n \r\n return $(option);\r\n };\r\n \r\n SelectAdapter.prototype.item = function ($option) {\r\n var data = {};\r\n \r\n data = Utils.GetData($option[0], 'data');\r\n \r\n if (data != null) {\r\n return data;\r\n }\r\n \r\n var option = $option[0];\r\n \r\n if (option.tagName.toLowerCase() === 'option') {\r\n data = {\r\n id: $option.val(),\r\n text: $option.text(),\r\n disabled: $option.prop('disabled'),\r\n selected: $option.prop('selected'),\r\n title: $option.prop('title')\r\n };\r\n } else if (option.tagName.toLowerCase() === 'optgroup') {\r\n data = {\r\n text: $option.prop('label'),\r\n children: [],\r\n title: $option.prop('title')\r\n };\r\n \r\n var $children = $option.children('option');\r\n var children = [];\r\n \r\n for (var c = 0; c < $children.length; c++) {\r\n var $child = $($children[c]);\r\n \r\n var child = this.item($child);\r\n \r\n children.push(child);\r\n }\r\n \r\n data.children = children;\r\n }\r\n \r\n data = this._normalizeItem(data);\r\n data.element = $option[0];\r\n \r\n Utils.StoreData($option[0], 'data', data);\r\n \r\n return data;\r\n };\r\n \r\n SelectAdapter.prototype._normalizeItem = function (item) {\r\n if (item !== Object(item)) {\r\n item = {\r\n id: item,\r\n text: item\r\n };\r\n }\r\n \r\n item = $.extend({}, {\r\n text: ''\r\n }, item);\r\n \r\n var defaults = {\r\n selected: false,\r\n disabled: false\r\n };\r\n \r\n if (item.id != null) {\r\n item.id = item.id.toString();\r\n }\r\n \r\n if (item.text != null) {\r\n item.text = item.text.toString();\r\n }\r\n \r\n if (item._resultId == null && item.id && this.container != null) {\r\n item._resultId = this.generateResultId(this.container, item);\r\n }\r\n \r\n return $.extend({}, defaults, item);\r\n };\r\n \r\n SelectAdapter.prototype.matches = function (params, data) {\r\n var matcher = this.options.get('matcher');\r\n \r\n return matcher(params, data);\r\n };\r\n \r\n return SelectAdapter;\r\n });\r\n \r\n S2.define('select2/data/array',[\r\n './select',\r\n '../utils',\r\n 'jquery'\r\n ], function (SelectAdapter, Utils, $) {\r\n function ArrayAdapter ($element, options) {\r\n this._dataToConvert = options.get('data') || [];\r\n \r\n ArrayAdapter.__super__.constructor.call(this, $element, options);\r\n }\r\n \r\n Utils.Extend(ArrayAdapter, SelectAdapter);\r\n \r\n ArrayAdapter.prototype.bind = function (container, $container) {\r\n ArrayAdapter.__super__.bind.call(this, container, $container);\r\n \r\n this.addOptions(this.convertToOptions(this._dataToConvert));\r\n };\r\n \r\n ArrayAdapter.prototype.select = function (data) {\r\n var $option = this.$element.find('option').filter(function (i, elm) {\r\n return elm.value == data.id.toString();\r\n });\r\n \r\n if ($option.length === 0) {\r\n $option = this.option(data);\r\n \r\n this.addOptions($option);\r\n }\r\n \r\n ArrayAdapter.__super__.select.call(this, data);\r\n };\r\n \r\n ArrayAdapter.prototype.convertToOptions = function (data) {\r\n var self = this;\r\n \r\n var $existing = this.$element.find('option');\r\n var existingIds = $existing.map(function () {\r\n return self.item($(this)).id;\r\n }).get();\r\n \r\n var $options = [];\r\n \r\n // Filter out all items except for the one passed in the argument\r\n function onlyItem (item) {\r\n return function () {\r\n return $(this).val() == item.id;\r\n };\r\n }\r\n \r\n for (var d = 0; d < data.length; d++) {\r\n var item = this._normalizeItem(data[d]);\r\n \r\n // Skip items which were pre-loaded, only merge the data\r\n if (existingIds.indexOf(item.id) >= 0) {\r\n var $existingOption = $existing.filter(onlyItem(item));\r\n \r\n var existingData = this.item($existingOption);\r\n var newData = $.extend(true, {}, item, existingData);\r\n \r\n var $newOption = this.option(newData);\r\n \r\n $existingOption.replaceWith($newOption);\r\n \r\n continue;\r\n }\r\n \r\n var $option = this.option(item);\r\n \r\n if (item.children) {\r\n var $children = this.convertToOptions(item.children);\r\n \r\n $option.append($children);\r\n }\r\n \r\n $options.push($option);\r\n }\r\n \r\n return $options;\r\n };\r\n \r\n return ArrayAdapter;\r\n });\r\n \r\n S2.define('select2/data/ajax',[\r\n './array',\r\n '../utils',\r\n 'jquery'\r\n ], function (ArrayAdapter, Utils, $) {\r\n function AjaxAdapter ($element, options) {\r\n this.ajaxOptions = this._applyDefaults(options.get('ajax'));\r\n \r\n if (this.ajaxOptions.processResults != null) {\r\n this.processResults = this.ajaxOptions.processResults;\r\n }\r\n \r\n AjaxAdapter.__super__.constructor.call(this, $element, options);\r\n }\r\n \r\n Utils.Extend(AjaxAdapter, ArrayAdapter);\r\n \r\n AjaxAdapter.prototype._applyDefaults = function (options) {\r\n var defaults = {\r\n data: function (params) {\r\n return $.extend({}, params, {\r\n q: params.term\r\n });\r\n },\r\n transport: function (params, success, failure) {\r\n var $request = $.ajax(params);\r\n \r\n $request.then(success);\r\n $request.fail(failure);\r\n \r\n return $request;\r\n }\r\n };\r\n \r\n return $.extend({}, defaults, options, true);\r\n };\r\n \r\n AjaxAdapter.prototype.processResults = function (results) {\r\n return results;\r\n };\r\n \r\n AjaxAdapter.prototype.query = function (params, callback) {\r\n var matches = [];\r\n var self = this;\r\n \r\n if (this._request != null) {\r\n // JSONP requests cannot always be aborted\r\n if (typeof this._request.abort === 'function') {\r\n this._request.abort();\r\n }\r\n \r\n this._request = null;\r\n }\r\n \r\n var options = $.extend({\r\n type: 'GET'\r\n }, this.ajaxOptions);\r\n \r\n if (typeof options.url === 'function') {\r\n options.url = options.url.call(this.$element, params);\r\n }\r\n \r\n if (typeof options.data === 'function') {\r\n options.data = options.data.call(this.$element, params);\r\n }\r\n \r\n function request () {\r\n var $request = options.transport(options, function (data) {\r\n var results = self.processResults(data, params);\r\n \r\n if (self.options.get('debug') && window.console && console.error) {\r\n // Check to make sure that the response included a `results` key.\r\n if (!results || !results.results || !Array.isArray(results.results)) {\r\n console.error(\r\n 'Select2: The AJAX results did not return an array in the ' +\r\n '`results` key of the response.'\r\n );\r\n }\r\n }\r\n \r\n callback(results);\r\n }, function () {\r\n // Attempt to detect if a request was aborted\r\n // Only works if the transport exposes a status property\r\n if ('status' in $request &&\r\n ($request.status === 0 || $request.status === '0')) {\r\n return;\r\n }\r\n \r\n self.trigger('results:message', {\r\n message: 'errorLoading'\r\n });\r\n });\r\n \r\n self._request = $request;\r\n }\r\n \r\n if (this.ajaxOptions.delay && params.term != null) {\r\n if (this._queryTimeout) {\r\n window.clearTimeout(this._queryTimeout);\r\n }\r\n \r\n this._queryTimeout = window.setTimeout(request, this.ajaxOptions.delay);\r\n } else {\r\n request();\r\n }\r\n };\r\n \r\n return AjaxAdapter;\r\n });\r\n \r\n S2.define('select2/data/tags',[\r\n 'jquery'\r\n ], function ($) {\r\n function Tags (decorated, $element, options) {\r\n var tags = options.get('tags');\r\n \r\n var createTag = options.get('createTag');\r\n \r\n if (createTag !== undefined) {\r\n this.createTag = createTag;\r\n }\r\n \r\n var insertTag = options.get('insertTag');\r\n \r\n if (insertTag !== undefined) {\r\n this.insertTag = insertTag;\r\n }\r\n \r\n decorated.call(this, $element, options);\r\n \r\n if (Array.isArray(tags)) {\r\n for (var t = 0; t < tags.length; t++) {\r\n var tag = tags[t];\r\n var item = this._normalizeItem(tag);\r\n \r\n var $option = this.option(item);\r\n \r\n this.$element.append($option);\r\n }\r\n }\r\n }\r\n \r\n Tags.prototype.query = function (decorated, params, callback) {\r\n var self = this;\r\n \r\n this._removeOldTags();\r\n \r\n if (params.term == null || params.page != null) {\r\n decorated.call(this, params, callback);\r\n return;\r\n }\r\n \r\n function wrapper (obj, child) {\r\n var data = obj.results;\r\n \r\n for (var i = 0; i < data.length; i++) {\r\n var option = data[i];\r\n \r\n var checkChildren = (\r\n option.children != null &&\r\n !wrapper({\r\n results: option.children\r\n }, true)\r\n );\r\n \r\n var optionText = (option.text || '').toUpperCase();\r\n var paramsTerm = (params.term || '').toUpperCase();\r\n \r\n var checkText = optionText === paramsTerm;\r\n \r\n if (checkText || checkChildren) {\r\n if (child) {\r\n return false;\r\n }\r\n \r\n obj.data = data;\r\n callback(obj);\r\n \r\n return;\r\n }\r\n }\r\n \r\n if (child) {\r\n return true;\r\n }\r\n \r\n var tag = self.createTag(params);\r\n \r\n if (tag != null) {\r\n var $option = self.option(tag);\r\n $option.attr('data-select2-tag', 'true');\r\n \r\n self.addOptions([$option]);\r\n \r\n self.insertTag(data, tag);\r\n }\r\n \r\n obj.results = data;\r\n \r\n callback(obj);\r\n }\r\n \r\n decorated.call(this, params, wrapper);\r\n };\r\n \r\n Tags.prototype.createTag = function (decorated, params) {\r\n if (params.term == null) {\r\n return null;\r\n }\r\n \r\n var term = params.term.trim();\r\n \r\n if (term === '') {\r\n return null;\r\n }\r\n \r\n return {\r\n id: term,\r\n text: term\r\n };\r\n };\r\n \r\n Tags.prototype.insertTag = function (_, data, tag) {\r\n data.unshift(tag);\r\n };\r\n \r\n Tags.prototype._removeOldTags = function (_) {\r\n var $options = this.$element.find('option[data-select2-tag]');\r\n \r\n $options.each(function () {\r\n if (this.selected) {\r\n return;\r\n }\r\n \r\n $(this).remove();\r\n });\r\n };\r\n \r\n return Tags;\r\n });\r\n \r\n S2.define('select2/data/tokenizer',[\r\n 'jquery'\r\n ], function ($) {\r\n function Tokenizer (decorated, $element, options) {\r\n var tokenizer = options.get('tokenizer');\r\n \r\n if (tokenizer !== undefined) {\r\n this.tokenizer = tokenizer;\r\n }\r\n \r\n decorated.call(this, $element, options);\r\n }\r\n \r\n Tokenizer.prototype.bind = function (decorated, container, $container) {\r\n decorated.call(this, container, $container);\r\n \r\n this.$search = container.dropdown.$search || container.selection.$search ||\r\n $container.find('.select2-search__field');\r\n };\r\n \r\n Tokenizer.prototype.query = function (decorated, params, callback) {\r\n var self = this;\r\n \r\n function createAndSelect (data) {\r\n // Normalize the data object so we can use it for checks\r\n var item = self._normalizeItem(data);\r\n \r\n // Check if the data object already exists as a tag\r\n // Select it if it doesn't\r\n var $existingOptions = self.$element.find('option').filter(function () {\r\n return $(this).val() === item.id;\r\n });\r\n \r\n // If an existing option wasn't found for it, create the option\r\n if (!$existingOptions.length) {\r\n var $option = self.option(item);\r\n $option.attr('data-select2-tag', true);\r\n \r\n self._removeOldTags();\r\n self.addOptions([$option]);\r\n }\r\n \r\n // Select the item, now that we know there is an option for it\r\n select(item);\r\n }\r\n \r\n function select (data) {\r\n self.trigger('select', {\r\n data: data\r\n });\r\n }\r\n \r\n params.term = params.term || '';\r\n \r\n var tokenData = this.tokenizer(params, this.options, createAndSelect);\r\n \r\n if (tokenData.term !== params.term) {\r\n // Replace the search term if we have the search box\r\n if (this.$search.length) {\r\n this.$search.val(tokenData.term);\r\n this.$search.trigger('focus');\r\n }\r\n \r\n params.term = tokenData.term;\r\n }\r\n \r\n decorated.call(this, params, callback);\r\n };\r\n \r\n Tokenizer.prototype.tokenizer = function (_, params, options, callback) {\r\n var separators = options.get('tokenSeparators') || [];\r\n var term = params.term;\r\n var i = 0;\r\n \r\n var createTag = this.createTag || function (params) {\r\n return {\r\n id: params.term,\r\n text: params.term\r\n };\r\n };\r\n \r\n while (i < term.length) {\r\n var termChar = term[i];\r\n \r\n if (separators.indexOf(termChar) === -1) {\r\n i++;\r\n \r\n continue;\r\n }\r\n \r\n var part = term.substr(0, i);\r\n var partParams = $.extend({}, params, {\r\n term: part\r\n });\r\n \r\n var data = createTag(partParams);\r\n \r\n if (data == null) {\r\n i++;\r\n continue;\r\n }\r\n \r\n callback(data);\r\n \r\n // Reset the term to not include the tokenized portion\r\n term = term.substr(i + 1) || '';\r\n i = 0;\r\n }\r\n \r\n return {\r\n term: term\r\n };\r\n };\r\n \r\n return Tokenizer;\r\n });\r\n \r\n S2.define('select2/data/minimumInputLength',[\r\n \r\n ], function () {\r\n function MinimumInputLength (decorated, $e, options) {\r\n this.minimumInputLength = options.get('minimumInputLength');\r\n \r\n decorated.call(this, $e, options);\r\n }\r\n \r\n MinimumInputLength.prototype.query = function (decorated, params, callback) {\r\n params.term = params.term || '';\r\n \r\n if (params.term.length < this.minimumInputLength) {\r\n this.trigger('results:message', {\r\n message: 'inputTooShort',\r\n args: {\r\n minimum: this.minimumInputLength,\r\n input: params.term,\r\n params: params\r\n }\r\n });\r\n \r\n return;\r\n }\r\n \r\n decorated.call(this, params, callback);\r\n };\r\n \r\n return MinimumInputLength;\r\n });\r\n \r\n S2.define('select2/data/maximumInputLength',[\r\n \r\n ], function () {\r\n function MaximumInputLength (decorated, $e, options) {\r\n this.maximumInputLength = options.get('maximumInputLength');\r\n \r\n decorated.call(this, $e, options);\r\n }\r\n \r\n MaximumInputLength.prototype.query = function (decorated, params, callback) {\r\n params.term = params.term || '';\r\n \r\n if (this.maximumInputLength > 0 &&\r\n params.term.length > this.maximumInputLength) {\r\n this.trigger('results:message', {\r\n message: 'inputTooLong',\r\n args: {\r\n maximum: this.maximumInputLength,\r\n input: params.term,\r\n params: params\r\n }\r\n });\r\n \r\n return;\r\n }\r\n \r\n decorated.call(this, params, callback);\r\n };\r\n \r\n return MaximumInputLength;\r\n });\r\n \r\n S2.define('select2/data/maximumSelectionLength',[\r\n \r\n ], function (){\r\n function MaximumSelectionLength (decorated, $e, options) {\r\n this.maximumSelectionLength = options.get('maximumSelectionLength');\r\n \r\n decorated.call(this, $e, options);\r\n }\r\n \r\n MaximumSelectionLength.prototype.bind =\r\n function (decorated, container, $container) {\r\n var self = this;\r\n \r\n decorated.call(this, container, $container);\r\n \r\n container.on('select', function () {\r\n self._checkIfMaximumSelected();\r\n });\r\n };\r\n \r\n MaximumSelectionLength.prototype.query =\r\n function (decorated, params, callback) {\r\n var self = this;\r\n \r\n this._checkIfMaximumSelected(function () {\r\n decorated.call(self, params, callback);\r\n });\r\n };\r\n \r\n MaximumSelectionLength.prototype._checkIfMaximumSelected =\r\n function (_, successCallback) {\r\n var self = this;\r\n \r\n this.current(function (currentData) {\r\n var count = currentData != null ? currentData.length : 0;\r\n if (self.maximumSelectionLength > 0 &&\r\n count >= self.maximumSelectionLength) {\r\n self.trigger('results:message', {\r\n message: 'maximumSelected',\r\n args: {\r\n maximum: self.maximumSelectionLength\r\n }\r\n });\r\n return;\r\n }\r\n \r\n if (successCallback) {\r\n successCallback();\r\n }\r\n });\r\n };\r\n \r\n return MaximumSelectionLength;\r\n });\r\n \r\n S2.define('select2/dropdown',[\r\n 'jquery',\r\n './utils'\r\n ], function ($, Utils) {\r\n function Dropdown ($element, options) {\r\n this.$element = $element;\r\n this.options = options;\r\n \r\n Dropdown.__super__.constructor.call(this);\r\n }\r\n \r\n Utils.Extend(Dropdown, Utils.Observable);\r\n \r\n Dropdown.prototype.render = function () {\r\n var $dropdown = $(\r\n '' +\r\n '' +\r\n ''\r\n );\r\n \r\n $dropdown.attr('dir', this.options.get('dir'));\r\n \r\n this.$dropdown = $dropdown;\r\n \r\n return $dropdown;\r\n };\r\n \r\n Dropdown.prototype.bind = function () {\r\n // Should be implemented in subclasses\r\n };\r\n \r\n Dropdown.prototype.position = function ($dropdown, $container) {\r\n // Should be implemented in subclasses\r\n };\r\n \r\n Dropdown.prototype.destroy = function () {\r\n // Remove the dropdown from the DOM\r\n this.$dropdown.remove();\r\n };\r\n \r\n return Dropdown;\r\n });\r\n \r\n S2.define('select2/dropdown/search',[\r\n 'jquery'\r\n ], function ($) {\r\n function Search () { }\r\n \r\n Search.prototype.render = function (decorated) {\r\n var $rendered = decorated.call(this);\r\n var searchLabel = this.options.get('translations').get('search');\r\n \r\n var $search = $(\r\n '' +\r\n '' +\r\n ''\r\n );\r\n \r\n this.$searchContainer = $search;\r\n this.$search = $search.find('input');\r\n \r\n this.$search.prop('autocomplete', this.options.get('autocomplete'));\r\n this.$search.attr('aria-label', searchLabel());\r\n \r\n $rendered.prepend($search);\r\n \r\n return $rendered;\r\n };\r\n \r\n Search.prototype.bind = function (decorated, container, $container) {\r\n var self = this;\r\n \r\n var resultsId = container.id + '-results';\r\n \r\n decorated.call(this, container, $container);\r\n \r\n this.$search.on('keydown', function (evt) {\r\n self.trigger('keypress', evt);\r\n \r\n self._keyUpPrevented = evt.isDefaultPrevented();\r\n });\r\n \r\n // Workaround for browsers which do not support the `input` event\r\n // This will prevent double-triggering of events for browsers which support\r\n // both the `keyup` and `input` events.\r\n this.$search.on('input', function (evt) {\r\n // Unbind the duplicated `keyup` event\r\n $(this).off('keyup');\r\n });\r\n \r\n this.$search.on('keyup input', function (evt) {\r\n self.handleSearch(evt);\r\n });\r\n \r\n container.on('open', function () {\r\n self.$search.attr('tabindex', 0);\r\n self.$search.attr('aria-controls', resultsId);\r\n \r\n self.$search.trigger('focus');\r\n \r\n window.setTimeout(function () {\r\n self.$search.trigger('focus');\r\n }, 0);\r\n });\r\n \r\n container.on('close', function () {\r\n self.$search.attr('tabindex', -1);\r\n self.$search.removeAttr('aria-controls');\r\n // self.$search.removeAttr('aria-activedescendant'); // Appius removal\r\n \r\n self.$search.val('');\r\n self.$search.trigger('blur');\r\n });\r\n \r\n container.on('focus', function () {\r\n if (!container.isOpen()) {\r\n self.$search.trigger('focus');\r\n }\r\n });\r\n \r\n container.on('results:all', function (params) {\r\n if (params.query.term == null || params.query.term === '') {\r\n var showSearch = self.showSearch(params);\r\n \r\n if (showSearch) {\r\n self.$searchContainer[0].classList.remove('select2-search--hide');\r\n } else {\r\n self.$searchContainer[0].classList.add('select2-search--hide');\r\n }\r\n }\r\n });\r\n \r\n // Appius removal\r\n // container.on('results:focus', function (params) {\r\n // if (params.data._resultId) {\r\n // self.$search.attr('aria-activedescendant', params.data._resultId);\r\n // } else {\r\n // self.$search.removeAttr('aria-activedescendant');\r\n // }\r\n // });\r\n };\r\n \r\n Search.prototype.handleSearch = function (evt) {\r\n if (!this._keyUpPrevented) {\r\n var input = this.$search.val();\r\n \r\n this.trigger('query', {\r\n term: input\r\n });\r\n }\r\n \r\n this._keyUpPrevented = false;\r\n };\r\n \r\n Search.prototype.showSearch = function (_, params) {\r\n return true;\r\n };\r\n \r\n return Search;\r\n });\r\n \r\n S2.define('select2/dropdown/hidePlaceholder',[\r\n \r\n ], function () {\r\n function HidePlaceholder (decorated, $element, options, dataAdapter) {\r\n this.placeholder = this.normalizePlaceholder(options.get('placeholder'));\r\n \r\n decorated.call(this, $element, options, dataAdapter);\r\n }\r\n \r\n HidePlaceholder.prototype.append = function (decorated, data) {\r\n data.results = this.removePlaceholder(data.results);\r\n \r\n decorated.call(this, data);\r\n };\r\n \r\n HidePlaceholder.prototype.normalizePlaceholder = function (_, placeholder) {\r\n if (typeof placeholder === 'string') {\r\n placeholder = {\r\n id: '',\r\n text: placeholder\r\n };\r\n }\r\n \r\n return placeholder;\r\n };\r\n \r\n HidePlaceholder.prototype.removePlaceholder = function (_, data) {\r\n var modifiedData = data.slice(0);\r\n \r\n for (var d = data.length - 1; d >= 0; d--) {\r\n var item = data[d];\r\n \r\n if (this.placeholder.id === item.id) {\r\n modifiedData.splice(d, 1);\r\n }\r\n }\r\n \r\n return modifiedData;\r\n };\r\n \r\n return HidePlaceholder;\r\n });\r\n \r\n S2.define('select2/dropdown/infiniteScroll',[\r\n 'jquery'\r\n ], function ($) {\r\n function InfiniteScroll (decorated, $element, options, dataAdapter) {\r\n this.lastParams = {};\r\n \r\n decorated.call(this, $element, options, dataAdapter);\r\n \r\n this.$loadingMore = this.createLoadingMore();\r\n this.loading = false;\r\n }\r\n \r\n InfiniteScroll.prototype.append = function (decorated, data) {\r\n this.$loadingMore.remove();\r\n this.loading = false;\r\n \r\n decorated.call(this, data);\r\n \r\n if (this.showLoadingMore(data)) {\r\n this.$results.append(this.$loadingMore);\r\n this.loadMoreIfNeeded();\r\n }\r\n };\r\n \r\n InfiniteScroll.prototype.bind = function (decorated, container, $container) {\r\n var self = this;\r\n \r\n decorated.call(this, container, $container);\r\n \r\n container.on('query', function (params) {\r\n self.lastParams = params;\r\n self.loading = true;\r\n });\r\n \r\n container.on('query:append', function (params) {\r\n self.lastParams = params;\r\n self.loading = true;\r\n });\r\n \r\n this.$results.on('scroll', this.loadMoreIfNeeded.bind(this));\r\n };\r\n \r\n InfiniteScroll.prototype.loadMoreIfNeeded = function () {\r\n var isLoadMoreVisible = $.contains(\r\n document.documentElement,\r\n this.$loadingMore[0]\r\n );\r\n \r\n if (this.loading || !isLoadMoreVisible) {\r\n return;\r\n }\r\n \r\n var currentOffset = this.$results.offset().top +\r\n this.$results.outerHeight(false);\r\n var loadingMoreOffset = this.$loadingMore.offset().top +\r\n this.$loadingMore.outerHeight(false);\r\n \r\n if (currentOffset + 50 >= loadingMoreOffset) {\r\n this.loadMore();\r\n }\r\n };\r\n \r\n InfiniteScroll.prototype.loadMore = function () {\r\n this.loading = true;\r\n \r\n var params = $.extend({}, {page: 1}, this.lastParams);\r\n \r\n params.page++;\r\n \r\n this.trigger('query:append', params);\r\n };\r\n \r\n InfiniteScroll.prototype.showLoadingMore = function (_, data) {\r\n return data.pagination && data.pagination.more;\r\n };\r\n \r\n InfiniteScroll.prototype.createLoadingMore = function () {\r\n var $option = $(\r\n '
  • '\r\n );\r\n \r\n var message = this.options.get('translations').get('loadingMore');\r\n \r\n $option.html(message(this.lastParams));\r\n \r\n return $option;\r\n };\r\n \r\n return InfiniteScroll;\r\n });\r\n \r\n S2.define('select2/dropdown/attachBody',[\r\n 'jquery',\r\n '../utils'\r\n ], function ($, Utils) {\r\n function AttachBody (decorated, $element, options) {\r\n this.$dropdownParent = $(options.get('dropdownParent') || document.body);\r\n \r\n decorated.call(this, $element, options);\r\n }\r\n \r\n AttachBody.prototype.bind = function (decorated, container, $container) {\r\n var self = this;\r\n \r\n decorated.call(this, container, $container);\r\n \r\n container.on('open', function () {\r\n self._showDropdown();\r\n self._attachPositioningHandler(container);\r\n \r\n // Must bind after the results handlers to ensure correct sizing\r\n self._bindContainerResultHandlers(container);\r\n });\r\n \r\n container.on('close', function () {\r\n self._hideDropdown();\r\n self._detachPositioningHandler(container);\r\n });\r\n \r\n this.$dropdownContainer.on('mousedown', function (evt) {\r\n evt.stopPropagation();\r\n });\r\n };\r\n \r\n AttachBody.prototype.destroy = function (decorated) {\r\n decorated.call(this);\r\n \r\n this.$dropdownContainer.remove();\r\n };\r\n \r\n AttachBody.prototype.position = function (decorated, $dropdown, $container) {\r\n // Clone all of the container classes\r\n $dropdown.attr('class', $container.attr('class'));\r\n \r\n $dropdown[0].classList.remove('select2');\r\n $dropdown[0].classList.add('select2-container--open');\r\n \r\n $dropdown.css({\r\n position: 'absolute',\r\n top: -999999\r\n });\r\n \r\n this.$container = $container;\r\n };\r\n \r\n AttachBody.prototype.render = function (decorated) {\r\n var $container = $('');\r\n \r\n var $dropdown = decorated.call(this);\r\n $container.append($dropdown);\r\n \r\n this.$dropdownContainer = $container;\r\n \r\n return $container;\r\n };\r\n \r\n AttachBody.prototype._hideDropdown = function (decorated) {\r\n this.$dropdownContainer.detach();\r\n };\r\n \r\n AttachBody.prototype._bindContainerResultHandlers =\r\n function (decorated, container) {\r\n \r\n // These should only be bound once\r\n if (this._containerResultsHandlersBound) {\r\n return;\r\n }\r\n \r\n var self = this;\r\n \r\n container.on('results:all', function () {\r\n self._positionDropdown();\r\n self._resizeDropdown();\r\n });\r\n \r\n container.on('results:append', function () {\r\n self._positionDropdown();\r\n self._resizeDropdown();\r\n });\r\n \r\n container.on('results:message', function () {\r\n self._positionDropdown();\r\n self._resizeDropdown();\r\n });\r\n \r\n container.on('select', function () {\r\n self._positionDropdown();\r\n self._resizeDropdown();\r\n });\r\n \r\n container.on('unselect', function () {\r\n self._positionDropdown();\r\n self._resizeDropdown();\r\n });\r\n \r\n this._containerResultsHandlersBound = true;\r\n };\r\n \r\n AttachBody.prototype._attachPositioningHandler =\r\n function (decorated, container) {\r\n var self = this;\r\n \r\n var scrollEvent = 'scroll.select2.' + container.id;\r\n var resizeEvent = 'resize.select2.' + container.id;\r\n var orientationEvent = 'orientationchange.select2.' + container.id;\r\n \r\n var $watchers = this.$container.parents().filter(Utils.hasScroll);\r\n $watchers.each(function () {\r\n Utils.StoreData(this, 'select2-scroll-position', {\r\n x: $(this).scrollLeft(),\r\n y: $(this).scrollTop()\r\n });\r\n });\r\n \r\n $watchers.on(scrollEvent, function (ev) {\r\n var position = Utils.GetData(this, 'select2-scroll-position');\r\n $(this).scrollTop(position.y);\r\n });\r\n \r\n $(window).on(scrollEvent + ' ' + resizeEvent + ' ' + orientationEvent,\r\n function (e) {\r\n self._positionDropdown();\r\n self._resizeDropdown();\r\n });\r\n };\r\n \r\n AttachBody.prototype._detachPositioningHandler =\r\n function (decorated, container) {\r\n var scrollEvent = 'scroll.select2.' + container.id;\r\n var resizeEvent = 'resize.select2.' + container.id;\r\n var orientationEvent = 'orientationchange.select2.' + container.id;\r\n \r\n var $watchers = this.$container.parents().filter(Utils.hasScroll);\r\n $watchers.off(scrollEvent);\r\n \r\n $(window).off(scrollEvent + ' ' + resizeEvent + ' ' + orientationEvent);\r\n };\r\n \r\n AttachBody.prototype._positionDropdown = function () {\r\n var $window = $(window);\r\n \r\n var isCurrentlyAbove = this.$dropdown[0].classList\r\n .contains('select2-dropdown--above');\r\n var isCurrentlyBelow = this.$dropdown[0].classList\r\n .contains('select2-dropdown--below');\r\n \r\n var newDirection = null;\r\n \r\n var offset = this.$container.offset();\r\n \r\n offset.bottom = offset.top + this.$container.outerHeight(false);\r\n \r\n var container = {\r\n height: this.$container.outerHeight(false)\r\n };\r\n \r\n container.top = offset.top;\r\n container.bottom = offset.top + container.height;\r\n \r\n var dropdown = {\r\n height: this.$dropdown.outerHeight(false)\r\n };\r\n \r\n var viewport = {\r\n top: $window.scrollTop(),\r\n bottom: $window.scrollTop() + $window.height()\r\n };\r\n \r\n var enoughRoomAbove = viewport.top < (offset.top - dropdown.height);\r\n var enoughRoomBelow = viewport.bottom > (offset.bottom + dropdown.height);\r\n \r\n var css = {\r\n left: offset.left,\r\n top: container.bottom\r\n };\r\n \r\n // Determine what the parent element is to use for calculating the offset\r\n var $offsetParent = this.$dropdownParent;\r\n \r\n // For statically positioned elements, we need to get the element\r\n // that is determining the offset\r\n if ($offsetParent.css('position') === 'static') {\r\n $offsetParent = $offsetParent.offsetParent();\r\n }\r\n \r\n var parentOffset = {\r\n top: 0,\r\n left: 0\r\n };\r\n \r\n if (\r\n $.contains(document.body, $offsetParent[0]) ||\r\n $offsetParent[0].isConnected\r\n ) {\r\n parentOffset = $offsetParent.offset();\r\n }\r\n \r\n css.top -= parentOffset.top;\r\n css.left -= parentOffset.left;\r\n \r\n if (!isCurrentlyAbove && !isCurrentlyBelow) {\r\n newDirection = 'below';\r\n }\r\n \r\n if (!enoughRoomBelow && enoughRoomAbove && !isCurrentlyAbove) {\r\n newDirection = 'above';\r\n } else if (!enoughRoomAbove && enoughRoomBelow && isCurrentlyAbove) {\r\n newDirection = 'below';\r\n }\r\n \r\n if (newDirection == 'above' ||\r\n (isCurrentlyAbove && newDirection !== 'below')) {\r\n css.top = container.top - parentOffset.top - dropdown.height;\r\n }\r\n \r\n if (newDirection != null) {\r\n this.$dropdown[0].classList.remove('select2-dropdown--below');\r\n this.$dropdown[0].classList.remove('select2-dropdown--above');\r\n this.$dropdown[0].classList.add('select2-dropdown--' + newDirection);\r\n \r\n this.$container[0].classList.remove('select2-container--below');\r\n this.$container[0].classList.remove('select2-container--above');\r\n this.$container[0].classList.add('select2-container--' + newDirection);\r\n }\r\n \r\n this.$dropdownContainer.css(css);\r\n };\r\n \r\n AttachBody.prototype._resizeDropdown = function () {\r\n var css = {\r\n width: this.$container.outerWidth(false) + 'px'\r\n };\r\n \r\n if (this.options.get('dropdownAutoWidth')) {\r\n css.minWidth = css.width;\r\n css.position = 'relative';\r\n css.width = 'auto';\r\n }\r\n \r\n this.$dropdown.css(css);\r\n };\r\n \r\n AttachBody.prototype._showDropdown = function (decorated) {\r\n this.$dropdownContainer.appendTo(this.$dropdownParent);\r\n \r\n this._positionDropdown();\r\n this._resizeDropdown();\r\n };\r\n \r\n return AttachBody;\r\n });\r\n \r\n S2.define('select2/dropdown/minimumResultsForSearch',[\r\n \r\n ], function () {\r\n function countResults (data) {\r\n var count = 0;\r\n \r\n for (var d = 0; d < data.length; d++) {\r\n var item = data[d];\r\n \r\n if (item.children) {\r\n count += countResults(item.children);\r\n } else {\r\n count++;\r\n }\r\n }\r\n \r\n return count;\r\n }\r\n \r\n function MinimumResultsForSearch (decorated, $element, options, dataAdapter) {\r\n this.minimumResultsForSearch = options.get('minimumResultsForSearch');\r\n \r\n if (this.minimumResultsForSearch < 0) {\r\n this.minimumResultsForSearch = Infinity;\r\n }\r\n \r\n decorated.call(this, $element, options, dataAdapter);\r\n }\r\n \r\n MinimumResultsForSearch.prototype.showSearch = function (decorated, params) {\r\n if (countResults(params.data.results) < this.minimumResultsForSearch) {\r\n return false;\r\n }\r\n \r\n return decorated.call(this, params);\r\n };\r\n \r\n return MinimumResultsForSearch;\r\n });\r\n \r\n S2.define('select2/dropdown/selectOnClose',[\r\n '../utils'\r\n ], function (Utils) {\r\n function SelectOnClose () { }\r\n \r\n SelectOnClose.prototype.bind = function (decorated, container, $container) {\r\n var self = this;\r\n \r\n decorated.call(this, container, $container);\r\n \r\n container.on('close', function (params) {\r\n self._handleSelectOnClose(params);\r\n });\r\n };\r\n \r\n SelectOnClose.prototype._handleSelectOnClose = function (_, params) {\r\n if (params && params.originalSelect2Event != null) {\r\n var event = params.originalSelect2Event;\r\n \r\n // Don't select an item if the close event was triggered from a select or\r\n // unselect event\r\n if (event._type === 'select' || event._type === 'unselect') {\r\n return;\r\n }\r\n }\r\n \r\n var $highlightedResults = this.getHighlightedResults();\r\n \r\n // Only select highlighted results\r\n if ($highlightedResults.length < 1) {\r\n return;\r\n }\r\n \r\n var data = Utils.GetData($highlightedResults[0], 'data');\r\n \r\n // Don't re-select already selected resulte\r\n if (\r\n (data.element != null && data.element.selected) ||\r\n (data.element == null && data.selected)\r\n ) {\r\n return;\r\n }\r\n \r\n this.trigger('select', {\r\n data: data\r\n });\r\n };\r\n \r\n return SelectOnClose;\r\n });\r\n \r\n S2.define('select2/dropdown/closeOnSelect',[\r\n \r\n ], function () {\r\n function CloseOnSelect () { }\r\n \r\n CloseOnSelect.prototype.bind = function (decorated, container, $container) {\r\n var self = this;\r\n \r\n decorated.call(this, container, $container);\r\n \r\n container.on('select', function (evt) {\r\n self._selectTriggered(evt);\r\n });\r\n \r\n container.on('unselect', function (evt) {\r\n self._selectTriggered(evt);\r\n });\r\n };\r\n \r\n CloseOnSelect.prototype._selectTriggered = function (_, evt) {\r\n var originalEvent = evt.originalEvent;\r\n \r\n // Don't close if the control key is being held\r\n if (originalEvent && (originalEvent.ctrlKey || originalEvent.metaKey)) {\r\n return;\r\n }\r\n \r\n this.trigger('close', {\r\n originalEvent: originalEvent,\r\n originalSelect2Event: evt\r\n });\r\n };\r\n \r\n return CloseOnSelect;\r\n });\r\n \r\n S2.define('select2/dropdown/dropdownCss',[\r\n '../utils'\r\n ], function (Utils) {\r\n function DropdownCSS () { }\r\n \r\n DropdownCSS.prototype.render = function (decorated) {\r\n var $dropdown = decorated.call(this);\r\n \r\n var dropdownCssClass = this.options.get('dropdownCssClass') || '';\r\n \r\n if (dropdownCssClass.indexOf(':all:') !== -1) {\r\n dropdownCssClass = dropdownCssClass.replace(':all:', '');\r\n \r\n Utils.copyNonInternalCssClasses($dropdown[0], this.$element[0]);\r\n }\r\n \r\n $dropdown.addClass(dropdownCssClass);\r\n \r\n return $dropdown;\r\n };\r\n \r\n return DropdownCSS;\r\n });\r\n \r\n S2.define('select2/dropdown/tagsSearchHighlight',[\r\n '../utils'\r\n ], function (Utils) {\r\n function TagsSearchHighlight () { }\r\n \r\n TagsSearchHighlight.prototype.highlightFirstItem = function (decorated) {\r\n var $options = this.$results\r\n .find(\r\n '.select2-results__option--selectable' +\r\n ':not(.select2-results__option--selected)'\r\n );\r\n \r\n if ($options.length > 0) {\r\n var $firstOption = $options.first();\r\n var data = Utils.GetData($firstOption[0], 'data');\r\n var firstElement = data.element;\r\n \r\n if (firstElement && firstElement.getAttribute) {\r\n if (firstElement.getAttribute('data-select2-tag') === 'true') {\r\n $firstOption.trigger('mouseenter');\r\n \r\n return;\r\n }\r\n }\r\n }\r\n \r\n decorated.call(this);\r\n };\r\n \r\n return TagsSearchHighlight;\r\n });\r\n \r\n S2.define('select2/i18n/en',[],function () {\r\n // English\r\n return {\r\n errorLoading: function () {\r\n return 'The results could not be loaded.';\r\n },\r\n inputTooLong: function (args) {\r\n var overChars = args.input.length - args.maximum;\r\n \r\n var message = 'Please delete ' + overChars + ' character';\r\n \r\n if (overChars != 1) {\r\n message += 's';\r\n }\r\n \r\n return message;\r\n },\r\n inputTooShort: function (args) {\r\n var remainingChars = args.minimum - args.input.length;\r\n \r\n var message = 'Please enter ' + remainingChars + ' or more characters';\r\n \r\n return message;\r\n },\r\n loadingMore: function () {\r\n return 'Loading more results…';\r\n },\r\n maximumSelected: function (args) {\r\n var message = 'You can only select ' + args.maximum + ' item';\r\n \r\n if (args.maximum != 1) {\r\n message += 's';\r\n }\r\n \r\n return message;\r\n },\r\n noResults: function () {\r\n return 'No results found';\r\n },\r\n searching: function () {\r\n return 'Searching…';\r\n },\r\n removeAllItems: function () {\r\n return 'Remove all items';\r\n },\r\n removeItem: function () {\r\n return 'Remove item';\r\n },\r\n search: function() {\r\n return 'Search';\r\n }\r\n };\r\n });\r\n \r\n S2.define('select2/defaults',[\r\n 'jquery',\r\n \r\n './results',\r\n \r\n './selection/single',\r\n './selection/multiple',\r\n './selection/placeholder',\r\n './selection/allowClear',\r\n './selection/search',\r\n './selection/selectionCss',\r\n './selection/eventRelay',\r\n \r\n './utils',\r\n './translation',\r\n './diacritics',\r\n \r\n './data/select',\r\n './data/array',\r\n './data/ajax',\r\n './data/tags',\r\n './data/tokenizer',\r\n './data/minimumInputLength',\r\n './data/maximumInputLength',\r\n './data/maximumSelectionLength',\r\n \r\n './dropdown',\r\n './dropdown/search',\r\n './dropdown/hidePlaceholder',\r\n './dropdown/infiniteScroll',\r\n './dropdown/attachBody',\r\n './dropdown/minimumResultsForSearch',\r\n './dropdown/selectOnClose',\r\n './dropdown/closeOnSelect',\r\n './dropdown/dropdownCss',\r\n './dropdown/tagsSearchHighlight',\r\n \r\n './i18n/en'\r\n ], function ($,\r\n \r\n ResultsList,\r\n \r\n SingleSelection, MultipleSelection, Placeholder, AllowClear,\r\n SelectionSearch, SelectionCSS, EventRelay,\r\n \r\n Utils, Translation, DIACRITICS,\r\n \r\n SelectData, ArrayData, AjaxData, Tags, Tokenizer,\r\n MinimumInputLength, MaximumInputLength, MaximumSelectionLength,\r\n \r\n Dropdown, DropdownSearch, HidePlaceholder, InfiniteScroll,\r\n AttachBody, MinimumResultsForSearch, SelectOnClose, CloseOnSelect,\r\n DropdownCSS, TagsSearchHighlight,\r\n \r\n EnglishTranslation) {\r\n function Defaults () {\r\n this.reset();\r\n }\r\n \r\n Defaults.prototype.apply = function (options) {\r\n options = $.extend(true, {}, this.defaults, options);\r\n \r\n if (options.dataAdapter == null) {\r\n if (options.ajax != null) {\r\n options.dataAdapter = AjaxData;\r\n } else if (options.data != null) {\r\n options.dataAdapter = ArrayData;\r\n } else {\r\n options.dataAdapter = SelectData;\r\n }\r\n \r\n if (options.minimumInputLength > 0) {\r\n options.dataAdapter = Utils.Decorate(\r\n options.dataAdapter,\r\n MinimumInputLength\r\n );\r\n }\r\n \r\n if (options.maximumInputLength > 0) {\r\n options.dataAdapter = Utils.Decorate(\r\n options.dataAdapter,\r\n MaximumInputLength\r\n );\r\n }\r\n \r\n if (options.maximumSelectionLength > 0) {\r\n options.dataAdapter = Utils.Decorate(\r\n options.dataAdapter,\r\n MaximumSelectionLength\r\n );\r\n }\r\n \r\n if (options.tags) {\r\n options.dataAdapter = Utils.Decorate(options.dataAdapter, Tags);\r\n }\r\n \r\n if (options.tokenSeparators != null || options.tokenizer != null) {\r\n options.dataAdapter = Utils.Decorate(\r\n options.dataAdapter,\r\n Tokenizer\r\n );\r\n }\r\n }\r\n \r\n if (options.resultsAdapter == null) {\r\n options.resultsAdapter = ResultsList;\r\n \r\n if (options.ajax != null) {\r\n options.resultsAdapter = Utils.Decorate(\r\n options.resultsAdapter,\r\n InfiniteScroll\r\n );\r\n }\r\n \r\n if (options.placeholder != null) {\r\n options.resultsAdapter = Utils.Decorate(\r\n options.resultsAdapter,\r\n HidePlaceholder\r\n );\r\n }\r\n \r\n if (options.selectOnClose) {\r\n options.resultsAdapter = Utils.Decorate(\r\n options.resultsAdapter,\r\n SelectOnClose\r\n );\r\n }\r\n \r\n if (options.tags) {\r\n options.resultsAdapter = Utils.Decorate(\r\n options.resultsAdapter,\r\n TagsSearchHighlight\r\n );\r\n }\r\n }\r\n \r\n if (options.dropdownAdapter == null) {\r\n if (options.multiple) {\r\n options.dropdownAdapter = Dropdown;\r\n } else {\r\n var SearchableDropdown = Utils.Decorate(Dropdown, DropdownSearch);\r\n \r\n options.dropdownAdapter = SearchableDropdown;\r\n }\r\n \r\n if (options.minimumResultsForSearch !== 0) {\r\n options.dropdownAdapter = Utils.Decorate(\r\n options.dropdownAdapter,\r\n MinimumResultsForSearch\r\n );\r\n }\r\n \r\n if (options.closeOnSelect) {\r\n options.dropdownAdapter = Utils.Decorate(\r\n options.dropdownAdapter,\r\n CloseOnSelect\r\n );\r\n }\r\n \r\n if (options.dropdownCssClass != null) {\r\n options.dropdownAdapter = Utils.Decorate(\r\n options.dropdownAdapter,\r\n DropdownCSS\r\n );\r\n }\r\n \r\n options.dropdownAdapter = Utils.Decorate(\r\n options.dropdownAdapter,\r\n AttachBody\r\n );\r\n }\r\n \r\n if (options.selectionAdapter == null) {\r\n if (options.multiple) {\r\n options.selectionAdapter = MultipleSelection;\r\n } else {\r\n options.selectionAdapter = SingleSelection;\r\n }\r\n \r\n // Add the placeholder mixin if a placeholder was specified\r\n if (options.placeholder != null) {\r\n options.selectionAdapter = Utils.Decorate(\r\n options.selectionAdapter,\r\n Placeholder\r\n );\r\n }\r\n \r\n if (options.allowClear) {\r\n options.selectionAdapter = Utils.Decorate(\r\n options.selectionAdapter,\r\n AllowClear\r\n );\r\n }\r\n \r\n if (options.multiple) {\r\n options.selectionAdapter = Utils.Decorate(\r\n options.selectionAdapter,\r\n SelectionSearch\r\n );\r\n }\r\n \r\n if (options.selectionCssClass != null) {\r\n options.selectionAdapter = Utils.Decorate(\r\n options.selectionAdapter,\r\n SelectionCSS\r\n );\r\n }\r\n \r\n options.selectionAdapter = Utils.Decorate(\r\n options.selectionAdapter,\r\n EventRelay\r\n );\r\n }\r\n \r\n // If the defaults were not previously applied from an element, it is\r\n // possible for the language option to have not been resolved\r\n options.language = this._resolveLanguage(options.language);\r\n \r\n // Always fall back to English since it will always be complete\r\n options.language.push('en');\r\n \r\n var uniqueLanguages = [];\r\n \r\n for (var l = 0; l < options.language.length; l++) {\r\n var language = options.language[l];\r\n \r\n if (uniqueLanguages.indexOf(language) === -1) {\r\n uniqueLanguages.push(language);\r\n }\r\n }\r\n \r\n options.language = uniqueLanguages;\r\n \r\n options.translations = this._processTranslations(\r\n options.language,\r\n options.debug\r\n );\r\n \r\n return options;\r\n };\r\n \r\n Defaults.prototype.reset = function () {\r\n function stripDiacritics (text) {\r\n // Used 'uni range + named function' from http://jsperf.com/diacritics/18\r\n function match(a) {\r\n return DIACRITICS[a] || a;\r\n }\r\n \r\n return text.replace(/[^\\u0000-\\u007E]/g, match);\r\n }\r\n \r\n function matcher (params, data) {\r\n // Always return the object if there is nothing to compare\r\n if (params.term == null || params.term.trim() === '') {\r\n return data;\r\n }\r\n \r\n // Do a recursive check for options with children\r\n if (data.children && data.children.length > 0) {\r\n // Clone the data object if there are children\r\n // This is required as we modify the object to remove any non-matches\r\n var match = $.extend(true, {}, data);\r\n \r\n // Check each child of the option\r\n for (var c = data.children.length - 1; c >= 0; c--) {\r\n var child = data.children[c];\r\n \r\n var matches = matcher(params, child);\r\n \r\n // If there wasn't a match, remove the object in the array\r\n if (matches == null) {\r\n match.children.splice(c, 1);\r\n }\r\n }\r\n \r\n // If any children matched, return the new object\r\n if (match.children.length > 0) {\r\n return match;\r\n }\r\n \r\n // If there were no matching children, check just the plain object\r\n return matcher(params, match);\r\n }\r\n \r\n var original = stripDiacritics(data.text).toUpperCase();\r\n var term = stripDiacritics(params.term).toUpperCase();\r\n \r\n // Check if the text contains the term\r\n if (original.indexOf(term) > -1) {\r\n return data;\r\n }\r\n \r\n // If it doesn't contain the term, don't return anything\r\n return null;\r\n }\r\n \r\n this.defaults = {\r\n amdLanguageBase: './i18n/',\r\n autocomplete: 'off',\r\n closeOnSelect: true,\r\n debug: false,\r\n dropdownAutoWidth: false,\r\n escapeMarkup: Utils.escapeMarkup,\r\n language: {},\r\n matcher: matcher,\r\n minimumInputLength: 0,\r\n maximumInputLength: 0,\r\n maximumSelectionLength: 0,\r\n minimumResultsForSearch: 0,\r\n selectOnClose: false,\r\n scrollAfterSelect: false,\r\n sorter: function (data) {\r\n return data;\r\n },\r\n templateResult: function (result) {\r\n return result.text;\r\n },\r\n templateSelection: function (selection) {\r\n return selection.text;\r\n },\r\n theme: 'default',\r\n width: 'resolve'\r\n };\r\n };\r\n \r\n Defaults.prototype.applyFromElement = function (options, $element) {\r\n var optionLanguage = options.language;\r\n var defaultLanguage = this.defaults.language;\r\n var elementLanguage = $element.prop('lang');\r\n var parentLanguage = $element.closest('[lang]').prop('lang');\r\n \r\n var languages = Array.prototype.concat.call(\r\n this._resolveLanguage(elementLanguage),\r\n this._resolveLanguage(optionLanguage),\r\n this._resolveLanguage(defaultLanguage),\r\n this._resolveLanguage(parentLanguage)\r\n );\r\n \r\n options.language = languages;\r\n \r\n return options;\r\n };\r\n \r\n Defaults.prototype._resolveLanguage = function (language) {\r\n if (!language) {\r\n return [];\r\n }\r\n \r\n if ($.isEmptyObject(language)) {\r\n return [];\r\n }\r\n \r\n if ($.isPlainObject(language)) {\r\n return [language];\r\n }\r\n \r\n var languages;\r\n \r\n if (!Array.isArray(language)) {\r\n languages = [language];\r\n } else {\r\n languages = language;\r\n }\r\n \r\n var resolvedLanguages = [];\r\n \r\n for (var l = 0; l < languages.length; l++) {\r\n resolvedLanguages.push(languages[l]);\r\n \r\n if (typeof languages[l] === 'string' && languages[l].indexOf('-') > 0) {\r\n // Extract the region information if it is included\r\n var languageParts = languages[l].split('-');\r\n var baseLanguage = languageParts[0];\r\n \r\n resolvedLanguages.push(baseLanguage);\r\n }\r\n }\r\n \r\n return resolvedLanguages;\r\n };\r\n \r\n Defaults.prototype._processTranslations = function (languages, debug) {\r\n var translations = new Translation();\r\n \r\n for (var l = 0; l < languages.length; l++) {\r\n var languageData = new Translation();\r\n \r\n var language = languages[l];\r\n \r\n if (typeof language === 'string') {\r\n try {\r\n // Try to load it with the original name\r\n languageData = Translation.loadPath(language);\r\n } catch (e) {\r\n try {\r\n // If we couldn't load it, check if it wasn't the full path\r\n language = this.defaults.amdLanguageBase + language;\r\n languageData = Translation.loadPath(language);\r\n } catch (ex) {\r\n // The translation could not be loaded at all. Sometimes this is\r\n // because of a configuration problem, other times this can be\r\n // because of how Select2 helps load all possible translation files\r\n if (debug && window.console && console.warn) {\r\n console.warn(\r\n 'Select2: The language file for \"' + language + '\" could ' +\r\n 'not be automatically loaded. A fallback will be used instead.'\r\n );\r\n }\r\n }\r\n }\r\n } else if ($.isPlainObject(language)) {\r\n languageData = new Translation(language);\r\n } else {\r\n languageData = language;\r\n }\r\n \r\n translations.extend(languageData);\r\n }\r\n \r\n return translations;\r\n };\r\n \r\n Defaults.prototype.set = function (key, value) {\r\n var camelKey = $.camelCase(key);\r\n \r\n var data = {};\r\n data[camelKey] = value;\r\n \r\n var convertedData = Utils._convertData(data);\r\n \r\n $.extend(true, this.defaults, convertedData);\r\n };\r\n \r\n var defaults = new Defaults();\r\n \r\n return defaults;\r\n });\r\n \r\n S2.define('select2/options',[\r\n 'jquery',\r\n './defaults',\r\n './utils'\r\n ], function ($, Defaults, Utils) {\r\n function Options (options, $element) {\r\n this.options = options;\r\n \r\n if ($element != null) {\r\n this.fromElement($element);\r\n }\r\n \r\n if ($element != null) {\r\n this.options = Defaults.applyFromElement(this.options, $element);\r\n }\r\n \r\n this.options = Defaults.apply(this.options);\r\n }\r\n \r\n Options.prototype.fromElement = function ($e) {\r\n var excludedData = ['select2'];\r\n \r\n if (this.options.multiple == null) {\r\n this.options.multiple = $e.prop('multiple');\r\n }\r\n \r\n if (this.options.disabled == null) {\r\n this.options.disabled = $e.prop('disabled');\r\n }\r\n \r\n if (this.options.autocomplete == null && $e.prop('autocomplete')) {\r\n this.options.autocomplete = $e.prop('autocomplete');\r\n }\r\n \r\n if (this.options.dir == null) {\r\n if ($e.prop('dir')) {\r\n this.options.dir = $e.prop('dir');\r\n } else if ($e.closest('[dir]').prop('dir')) {\r\n this.options.dir = $e.closest('[dir]').prop('dir');\r\n } else {\r\n this.options.dir = 'ltr';\r\n }\r\n }\r\n \r\n $e.prop('disabled', this.options.disabled);\r\n $e.prop('multiple', this.options.multiple);\r\n \r\n if (Utils.GetData($e[0], 'select2Tags')) {\r\n if (this.options.debug && window.console && console.warn) {\r\n console.warn(\r\n 'Select2: The `data-select2-tags` attribute has been changed to ' +\r\n 'use the `data-data` and `data-tags=\"true\"` attributes and will be ' +\r\n 'removed in future versions of Select2.'\r\n );\r\n }\r\n \r\n Utils.StoreData($e[0], 'data', Utils.GetData($e[0], 'select2Tags'));\r\n Utils.StoreData($e[0], 'tags', true);\r\n }\r\n \r\n if (Utils.GetData($e[0], 'ajaxUrl')) {\r\n if (this.options.debug && window.console && console.warn) {\r\n console.warn(\r\n 'Select2: The `data-ajax-url` attribute has been changed to ' +\r\n '`data-ajax--url` and support for the old attribute will be removed' +\r\n ' in future versions of Select2.'\r\n );\r\n }\r\n \r\n $e.attr('ajax--url', Utils.GetData($e[0], 'ajaxUrl'));\r\n Utils.StoreData($e[0], 'ajax-Url', Utils.GetData($e[0], 'ajaxUrl'));\r\n }\r\n \r\n var dataset = {};\r\n \r\n function upperCaseLetter(_, letter) {\r\n return letter.toUpperCase();\r\n }\r\n \r\n // Pre-load all of the attributes which are prefixed with `data-`\r\n for (var attr = 0; attr < $e[0].attributes.length; attr++) {\r\n var attributeName = $e[0].attributes[attr].name;\r\n var prefix = 'data-';\r\n \r\n if (attributeName.substr(0, prefix.length) == prefix) {\r\n // Get the contents of the attribute after `data-`\r\n var dataName = attributeName.substring(prefix.length);\r\n \r\n // Get the data contents from the consistent source\r\n // This is more than likely the jQuery data helper\r\n var dataValue = Utils.GetData($e[0], dataName);\r\n \r\n // camelCase the attribute name to match the spec\r\n var camelDataName = dataName.replace(/-([a-z])/g, upperCaseLetter);\r\n \r\n // Store the data attribute contents into the dataset since\r\n dataset[camelDataName] = dataValue;\r\n }\r\n }\r\n \r\n // Prefer the element's `dataset` attribute if it exists\r\n // jQuery 1.x does not correctly handle data attributes with multiple dashes\r\n if ($.fn.jquery && $.fn.jquery.substr(0, 2) == '1.' && $e[0].dataset) {\r\n dataset = $.extend(true, {}, $e[0].dataset, dataset);\r\n }\r\n \r\n // Prefer our internal data cache if it exists\r\n var data = $.extend(true, {}, Utils.GetData($e[0]), dataset);\r\n \r\n data = Utils._convertData(data);\r\n \r\n for (var key in data) {\r\n if (excludedData.indexOf(key) > -1) {\r\n continue;\r\n }\r\n \r\n if ($.isPlainObject(this.options[key])) {\r\n $.extend(this.options[key], data[key]);\r\n } else {\r\n this.options[key] = data[key];\r\n }\r\n }\r\n \r\n return this;\r\n };\r\n \r\n Options.prototype.get = function (key) {\r\n return this.options[key];\r\n };\r\n \r\n Options.prototype.set = function (key, val) {\r\n this.options[key] = val;\r\n };\r\n \r\n return Options;\r\n });\r\n \r\n S2.define('select2/core',[\r\n 'jquery',\r\n './options',\r\n './utils',\r\n './keys'\r\n ], function ($, Options, Utils, KEYS) {\r\n var Select2 = function ($element, options) {\r\n if (Utils.GetData($element[0], 'select2') != null) {\r\n Utils.GetData($element[0], 'select2').destroy();\r\n }\r\n \r\n this.$element = $element;\r\n \r\n this.id = this._generateId($element);\r\n \r\n options = options || {};\r\n \r\n this.options = new Options(options, $element);\r\n \r\n Select2.__super__.constructor.call(this);\r\n \r\n // Set up the tabindex\r\n \r\n var tabindex = $element.attr('tabindex') || 0;\r\n Utils.StoreData($element[0], 'old-tabindex', tabindex);\r\n $element.attr('tabindex', '-1');\r\n \r\n // Set up containers and adapters\r\n \r\n var DataAdapter = this.options.get('dataAdapter');\r\n this.dataAdapter = new DataAdapter($element, this.options);\r\n \r\n var $container = this.render();\r\n \r\n this._placeContainer($container);\r\n \r\n var SelectionAdapter = this.options.get('selectionAdapter');\r\n this.selection = new SelectionAdapter($element, this.options);\r\n this.$selection = this.selection.render();\r\n \r\n this.selection.position(this.$selection, $container);\r\n \r\n var DropdownAdapter = this.options.get('dropdownAdapter');\r\n this.dropdown = new DropdownAdapter($element, this.options);\r\n this.$dropdown = this.dropdown.render();\r\n \r\n this.dropdown.position(this.$dropdown, $container);\r\n \r\n var ResultsAdapter = this.options.get('resultsAdapter');\r\n this.results = new ResultsAdapter($element, this.options, this.dataAdapter);\r\n this.$results = this.results.render();\r\n \r\n this.results.position(this.$results, this.$dropdown);\r\n \r\n // Bind events\r\n \r\n var self = this;\r\n \r\n // Bind the container to all of the adapters\r\n this._bindAdapters();\r\n \r\n // Register any DOM event handlers\r\n this._registerDomEvents();\r\n \r\n // Register any internal event handlers\r\n this._registerDataEvents();\r\n this._registerSelectionEvents();\r\n this._registerDropdownEvents();\r\n this._registerResultsEvents();\r\n this._registerEvents();\r\n \r\n // Set the initial state\r\n this.dataAdapter.current(function (initialData) {\r\n self.trigger('selection:update', {\r\n data: initialData\r\n });\r\n });\r\n \r\n // Hide the original select\r\n $element[0].classList.add('select2-hidden-accessible');\r\n $element.attr('aria-hidden', 'true');\r\n \r\n // Synchronize any monitored attributes\r\n this._syncAttributes();\r\n \r\n Utils.StoreData($element[0], 'select2', this);\r\n \r\n // Ensure backwards compatibility with $element.data('select2').\r\n $element.data('select2', this);\r\n };\r\n \r\n Utils.Extend(Select2, Utils.Observable);\r\n \r\n Select2.prototype._generateId = function ($element) {\r\n var id = '';\r\n \r\n if ($element.attr('id') != null) {\r\n id = $element.attr('id');\r\n } else if ($element.attr('name') != null) {\r\n id = $element.attr('name') + '-' + Utils.generateChars(2);\r\n } else {\r\n id = Utils.generateChars(4);\r\n }\r\n \r\n id = id.replace(/(:|\\.|\\[|\\]|,)/g, '');\r\n id = 'select2-' + id;\r\n \r\n return id;\r\n };\r\n \r\n Select2.prototype._placeContainer = function ($container) {\r\n $container.insertAfter(this.$element);\r\n \r\n var width = this._resolveWidth(this.$element, this.options.get('width'));\r\n \r\n if (width != null) {\r\n $container.css('width', width);\r\n }\r\n };\r\n \r\n Select2.prototype._resolveWidth = function ($element, method) {\r\n var WIDTH = /^width:(([-+]?([0-9]*\\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;\r\n \r\n if (method == 'resolve') {\r\n var styleWidth = this._resolveWidth($element, 'style');\r\n \r\n if (styleWidth != null) {\r\n return styleWidth;\r\n }\r\n \r\n return this._resolveWidth($element, 'element');\r\n }\r\n \r\n if (method == 'element') {\r\n var elementWidth = $element.outerWidth(false);\r\n \r\n if (elementWidth <= 0) {\r\n return 'auto';\r\n }\r\n \r\n return elementWidth + 'px';\r\n }\r\n \r\n if (method == 'style') {\r\n var style = $element.attr('style');\r\n \r\n if (typeof(style) !== 'string') {\r\n return null;\r\n }\r\n \r\n var attrs = style.split(';');\r\n \r\n for (var i = 0, l = attrs.length; i < l; i = i + 1) {\r\n var attr = attrs[i].replace(/\\s/g, '');\r\n var matches = attr.match(WIDTH);\r\n \r\n if (matches !== null && matches.length >= 1) {\r\n return matches[1];\r\n }\r\n }\r\n \r\n return null;\r\n }\r\n \r\n if (method == 'computedstyle') {\r\n var computedStyle = window.getComputedStyle($element[0]);\r\n \r\n return computedStyle.width;\r\n }\r\n \r\n return method;\r\n };\r\n \r\n Select2.prototype._bindAdapters = function () {\r\n this.dataAdapter.bind(this, this.$container);\r\n this.selection.bind(this, this.$container);\r\n \r\n this.dropdown.bind(this, this.$container);\r\n this.results.bind(this, this.$container);\r\n };\r\n \r\n Select2.prototype._registerDomEvents = function () {\r\n var self = this;\r\n \r\n this.$element.on('change.select2', function () {\r\n self.dataAdapter.current(function (data) {\r\n self.trigger('selection:update', {\r\n data: data\r\n });\r\n });\r\n });\r\n \r\n this.$element.on('focus.select2', function (evt) {\r\n self.trigger('focus', evt);\r\n });\r\n \r\n this._syncA = Utils.bind(this._syncAttributes, this);\r\n this._syncS = Utils.bind(this._syncSubtree, this);\r\n \r\n this._observer = new window.MutationObserver(function (mutations) {\r\n self._syncA();\r\n self._syncS(mutations);\r\n });\r\n this._observer.observe(this.$element[0], {\r\n attributes: true,\r\n childList: true,\r\n subtree: false\r\n });\r\n };\r\n \r\n Select2.prototype._registerDataEvents = function () {\r\n var self = this;\r\n \r\n this.dataAdapter.on('*', function (name, params) {\r\n self.trigger(name, params);\r\n });\r\n };\r\n \r\n Select2.prototype._registerSelectionEvents = function () {\r\n var self = this;\r\n var nonRelayEvents = ['toggle', 'focus'];\r\n \r\n this.selection.on('toggle', function () {\r\n self.toggleDropdown();\r\n });\r\n \r\n this.selection.on('focus', function (params) {\r\n self.focus(params);\r\n });\r\n \r\n this.selection.on('*', function (name, params) {\r\n if (nonRelayEvents.indexOf(name) !== -1) {\r\n return;\r\n }\r\n \r\n self.trigger(name, params);\r\n });\r\n };\r\n \r\n Select2.prototype._registerDropdownEvents = function () {\r\n var self = this;\r\n \r\n this.dropdown.on('*', function (name, params) {\r\n self.trigger(name, params);\r\n });\r\n };\r\n \r\n Select2.prototype._registerResultsEvents = function () {\r\n var self = this;\r\n \r\n this.results.on('*', function (name, params) {\r\n self.trigger(name, params);\r\n });\r\n };\r\n \r\n Select2.prototype._registerEvents = function () {\r\n var self = this;\r\n \r\n this.on('open', function () {\r\n self.$container[0].classList.add('select2-container--open');\r\n });\r\n \r\n this.on('close', function () {\r\n self.$container[0].classList.remove('select2-container--open');\r\n });\r\n \r\n this.on('enable', function () {\r\n self.$container[0].classList.remove('select2-container--disabled');\r\n });\r\n \r\n this.on('disable', function () {\r\n self.$container[0].classList.add('select2-container--disabled');\r\n });\r\n \r\n this.on('blur', function () {\r\n self.$container[0].classList.remove('select2-container--focus');\r\n });\r\n \r\n this.on('query', function (params) {\r\n if (!self.isOpen()) {\r\n self.trigger('open', {});\r\n }\r\n \r\n this.dataAdapter.query(params, function (data) {\r\n self.trigger('results:all', {\r\n data: data,\r\n query: params\r\n });\r\n });\r\n });\r\n \r\n this.on('query:append', function (params) {\r\n this.dataAdapter.query(params, function (data) {\r\n self.trigger('results:append', {\r\n data: data,\r\n query: params\r\n });\r\n });\r\n });\r\n \r\n this.on('keypress', function (evt) {\r\n var key = evt.which;\r\n \r\n if (self.isOpen()) {\r\n if (key === KEYS.ESC || (key === KEYS.UP && evt.altKey)) {\r\n self.close(evt);\r\n \r\n evt.preventDefault();\r\n } else if (key === KEYS.ENTER || key === KEYS.TAB) {\r\n self.trigger('results:select', {});\r\n \r\n evt.preventDefault();\r\n } else if ((key === KEYS.SPACE && evt.ctrlKey)) {\r\n self.trigger('results:toggle', {});\r\n \r\n evt.preventDefault();\r\n } else if (key === KEYS.UP) {\r\n self.trigger('results:previous', {});\r\n \r\n evt.preventDefault();\r\n } else if (key === KEYS.DOWN) {\r\n self.trigger('results:next', {});\r\n \r\n evt.preventDefault();\r\n }\r\n } else {\r\n if (key === KEYS.ENTER || key === KEYS.SPACE ||\r\n (key === KEYS.DOWN && evt.altKey)) {\r\n self.open();\r\n \r\n evt.preventDefault();\r\n }\r\n }\r\n });\r\n };\r\n \r\n Select2.prototype._syncAttributes = function () {\r\n this.options.set('disabled', this.$element.prop('disabled'));\r\n \r\n if (this.isDisabled()) {\r\n if (this.isOpen()) {\r\n this.close();\r\n }\r\n \r\n this.trigger('disable', {});\r\n } else {\r\n this.trigger('enable', {});\r\n }\r\n };\r\n \r\n Select2.prototype._isChangeMutation = function (mutations) {\r\n var self = this;\r\n \r\n if (mutations.addedNodes && mutations.addedNodes.length > 0) {\r\n for (var n = 0; n < mutations.addedNodes.length; n++) {\r\n var node = mutations.addedNodes[n];\r\n \r\n if (node.selected) {\r\n return true;\r\n }\r\n }\r\n } else if (mutations.removedNodes && mutations.removedNodes.length > 0) {\r\n return true;\r\n } else if (Array.isArray(mutations)) {\r\n return mutations.some(function (mutation) {\r\n return self._isChangeMutation(mutation);\r\n });\r\n }\r\n \r\n return false;\r\n };\r\n \r\n Select2.prototype._syncSubtree = function (mutations) {\r\n var changed = this._isChangeMutation(mutations);\r\n var self = this;\r\n \r\n // Only re-pull the data if we think there is a change\r\n if (changed) {\r\n this.dataAdapter.current(function (currentData) {\r\n self.trigger('selection:update', {\r\n data: currentData\r\n });\r\n });\r\n }\r\n };\r\n \r\n /**\r\n * Override the trigger method to automatically trigger pre-events when\r\n * there are events that can be prevented.\r\n */\r\n Select2.prototype.trigger = function (name, args) {\r\n var actualTrigger = Select2.__super__.trigger;\r\n var preTriggerMap = {\r\n 'open': 'opening',\r\n 'close': 'closing',\r\n 'select': 'selecting',\r\n 'unselect': 'unselecting',\r\n 'clear': 'clearing'\r\n };\r\n \r\n if (args === undefined) {\r\n args = {};\r\n }\r\n \r\n if (name in preTriggerMap) {\r\n var preTriggerName = preTriggerMap[name];\r\n var preTriggerArgs = {\r\n prevented: false,\r\n name: name,\r\n args: args\r\n };\r\n \r\n actualTrigger.call(this, preTriggerName, preTriggerArgs);\r\n \r\n if (preTriggerArgs.prevented) {\r\n args.prevented = true;\r\n \r\n return;\r\n }\r\n }\r\n \r\n actualTrigger.call(this, name, args);\r\n };\r\n \r\n Select2.prototype.toggleDropdown = function () {\r\n if (this.isDisabled()) {\r\n return;\r\n }\r\n \r\n if (this.isOpen()) {\r\n this.close();\r\n } else {\r\n this.open();\r\n }\r\n };\r\n \r\n Select2.prototype.open = function () {\r\n if (this.isOpen()) {\r\n return;\r\n }\r\n \r\n if (this.isDisabled()) {\r\n return;\r\n }\r\n \r\n this.trigger('query', {});\r\n };\r\n \r\n Select2.prototype.close = function (evt) {\r\n if (!this.isOpen()) {\r\n return;\r\n }\r\n \r\n this.trigger('close', { originalEvent : evt });\r\n };\r\n \r\n /**\r\n * Helper method to abstract the \"enabled\" (not \"disabled\") state of this\r\n * object.\r\n *\r\n * @return {true} if the instance is not disabled.\r\n * @return {false} if the instance is disabled.\r\n */\r\n Select2.prototype.isEnabled = function () {\r\n return !this.isDisabled();\r\n };\r\n \r\n /**\r\n * Helper method to abstract the \"disabled\" state of this object.\r\n *\r\n * @return {true} if the disabled option is true.\r\n * @return {false} if the disabled option is false.\r\n */\r\n Select2.prototype.isDisabled = function () {\r\n return this.options.get('disabled');\r\n };\r\n \r\n Select2.prototype.isOpen = function () {\r\n return this.$container[0].classList.contains('select2-container--open');\r\n };\r\n \r\n Select2.prototype.hasFocus = function () {\r\n return this.$container[0].classList.contains('select2-container--focus');\r\n };\r\n \r\n Select2.prototype.focus = function (data) {\r\n // No need to re-trigger focus events if we are already focused\r\n if (this.hasFocus()) {\r\n return;\r\n }\r\n \r\n this.$container[0].classList.add('select2-container--focus');\r\n this.trigger('focus', {});\r\n };\r\n \r\n Select2.prototype.enable = function (args) {\r\n if (this.options.get('debug') && window.console && console.warn) {\r\n console.warn(\r\n 'Select2: The `select2(\"enable\")` method has been deprecated and will' +\r\n ' be removed in later Select2 versions. Use $element.prop(\"disabled\")' +\r\n ' instead.'\r\n );\r\n }\r\n \r\n if (args == null || args.length === 0) {\r\n args = [true];\r\n }\r\n \r\n var disabled = !args[0];\r\n \r\n this.$element.prop('disabled', disabled);\r\n };\r\n \r\n Select2.prototype.data = function () {\r\n if (this.options.get('debug') &&\r\n arguments.length > 0 && window.console && console.warn) {\r\n console.warn(\r\n 'Select2: Data can no longer be set using `select2(\"data\")`. You ' +\r\n 'should consider setting the value instead using `$element.val()`.'\r\n );\r\n }\r\n \r\n var data = [];\r\n \r\n this.dataAdapter.current(function (currentData) {\r\n data = currentData;\r\n });\r\n \r\n return data;\r\n };\r\n \r\n Select2.prototype.val = function (args) {\r\n if (this.options.get('debug') && window.console && console.warn) {\r\n console.warn(\r\n 'Select2: The `select2(\"val\")` method has been deprecated and will be' +\r\n ' removed in later Select2 versions. Use $element.val() instead.'\r\n );\r\n }\r\n \r\n if (args == null || args.length === 0) {\r\n return this.$element.val();\r\n }\r\n \r\n var newVal = args[0];\r\n \r\n if (Array.isArray(newVal)) {\r\n newVal = newVal.map(function (obj) {\r\n return obj.toString();\r\n });\r\n }\r\n \r\n this.$element.val(newVal).trigger('input').trigger('change');\r\n };\r\n \r\n Select2.prototype.destroy = function () {\r\n Utils.RemoveData(this.$container[0]);\r\n this.$container.remove();\r\n \r\n this._observer.disconnect();\r\n this._observer = null;\r\n \r\n this._syncA = null;\r\n this._syncS = null;\r\n \r\n this.$element.off('.select2');\r\n this.$element.attr('tabindex',\r\n Utils.GetData(this.$element[0], 'old-tabindex'));\r\n \r\n this.$element[0].classList.remove('select2-hidden-accessible');\r\n this.$element.attr('aria-hidden', 'false');\r\n Utils.RemoveData(this.$element[0]);\r\n this.$element.removeData('select2');\r\n \r\n this.dataAdapter.destroy();\r\n this.selection.destroy();\r\n this.dropdown.destroy();\r\n this.results.destroy();\r\n \r\n this.dataAdapter = null;\r\n this.selection = null;\r\n this.dropdown = null;\r\n this.results = null;\r\n };\r\n \r\n Select2.prototype.render = function () {\r\n var $container = $(\r\n '' +\r\n '' +\r\n '' +\r\n ''\r\n );\r\n \r\n $container.attr('dir', this.options.get('dir'));\r\n \r\n this.$container = $container;\r\n \r\n this.$container[0].classList\r\n .add('select2-container--' + this.options.get('theme'));\r\n \r\n Utils.StoreData($container[0], 'element', this.$element);\r\n \r\n return $container;\r\n };\r\n \r\n return Select2;\r\n });\r\n \r\n S2.define('jquery-mousewheel',[\r\n 'jquery'\r\n ], function ($) {\r\n // Used to shim jQuery.mousewheel for non-full builds.\r\n return $;\r\n });\r\n \r\n S2.define('jquery.select2',[\r\n 'jquery',\r\n 'jquery-mousewheel',\r\n \r\n './select2/core',\r\n './select2/defaults',\r\n './select2/utils'\r\n ], function ($, _, Select2, Defaults, Utils) {\r\n if ($.fn.select2 == null) {\r\n // All methods that should return the element\r\n var thisMethods = ['open', 'close', 'destroy'];\r\n \r\n $.fn.select2 = function (options) {\r\n options = options || {};\r\n \r\n if (typeof options === 'object') {\r\n this.each(function () {\r\n var instanceOptions = $.extend(true, {}, options);\r\n \r\n var instance = new Select2($(this), instanceOptions);\r\n });\r\n \r\n return this;\r\n } else if (typeof options === 'string') {\r\n var ret;\r\n var args = Array.prototype.slice.call(arguments, 1);\r\n \r\n this.each(function () {\r\n var instance = Utils.GetData(this, 'select2');\r\n \r\n if (instance == null && window.console && console.error) {\r\n console.error(\r\n 'The select2(\\'' + options + '\\') method was called on an ' +\r\n 'element that is not using Select2.'\r\n );\r\n }\r\n \r\n ret = instance[options].apply(instance, args);\r\n });\r\n \r\n // Check if we should be returning `this`\r\n if (thisMethods.indexOf(options) > -1) {\r\n return this;\r\n }\r\n \r\n return ret;\r\n } else {\r\n throw new Error('Invalid arguments for Select2: ' + options);\r\n }\r\n };\r\n }\r\n \r\n if ($.fn.select2.defaults == null) {\r\n $.fn.select2.defaults = Defaults;\r\n }\r\n \r\n return Select2;\r\n });\r\n \r\n // Return the AMD loader configuration so it can be used outside of this file\r\n return {\r\n define: S2.define,\r\n require: S2.require\r\n };\r\n }());\r\n \r\n // Autoload the jQuery bindings\r\n // We know that all of the modules exist above this, so we're safe\r\n var select2 = S2.require('jquery.select2');\r\n \r\n // Hold the AMD module references on the jQuery function that was just loaded\r\n // This allows Select2 to use the internal loader outside of this file, such\r\n // as in the language files.\r\n jQuery.fn.select2.amd = S2;\r\n \r\n // Return the Select2 instance for anyone who is importing it.\r\n return select2;\r\n }));\r\n ","/*!\n * jQuery JavaScript Library v3.6.4\n * https://jquery.com/\n *\n * Includes Sizzle.js\n * https://sizzlejs.com/\n *\n * Copyright OpenJS Foundation and other contributors\n * Released under the MIT license\n * https://jquery.org/license\n *\n * Date: 2023-03-08T15:28Z\n */\n( function( global, factory ) {\n\n\t\"use strict\";\n\n\tif ( typeof module === \"object\" && typeof module.exports === \"object\" ) {\n\n\t\t// For CommonJS and CommonJS-like environments where a proper `window`\n\t\t// is present, execute the factory and get jQuery.\n\t\t// For environments that do not have a `window` with a `document`\n\t\t// (such as Node.js), expose a factory as module.exports.\n\t\t// This accentuates the need for the creation of a real `window`.\n\t\t// e.g. var jQuery = require(\"jquery\")(window);\n\t\t// See ticket trac-14549 for more info.\n\t\tmodule.exports = global.document ?\n\t\t\tfactory( global, true ) :\n\t\t\tfunction( w ) {\n\t\t\t\tif ( !w.document ) {\n\t\t\t\t\tthrow new Error( \"jQuery requires a window with a document\" );\n\t\t\t\t}\n\t\t\t\treturn factory( w );\n\t\t\t};\n\t} else {\n\t\tfactory( global );\n\t}\n\n// Pass this if window is not defined yet\n} )( typeof window !== \"undefined\" ? window : this, function( window, noGlobal ) {\n\n// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1\n// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode\n// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common\n// enough that all such attempts are guarded in a try block.\n\"use strict\";\n\nvar arr = [];\n\nvar getProto = Object.getPrototypeOf;\n\nvar slice = arr.slice;\n\nvar flat = arr.flat ? function( array ) {\n\treturn arr.flat.call( array );\n} : function( array ) {\n\treturn arr.concat.apply( [], array );\n};\n\n\nvar push = arr.push;\n\nvar indexOf = arr.indexOf;\n\nvar class2type = {};\n\nvar toString = class2type.toString;\n\nvar hasOwn = class2type.hasOwnProperty;\n\nvar fnToString = hasOwn.toString;\n\nvar ObjectFunctionString = fnToString.call( Object );\n\nvar support = {};\n\nvar isFunction = function isFunction( obj ) {\n\n\t\t// Support: Chrome <=57, Firefox <=52\n\t\t// In some browsers, typeof returns \"function\" for HTML elements\n\t\t// (i.e., `typeof document.createElement( \"object\" ) === \"function\"`).\n\t\t// We don't want to classify *any* DOM node as a function.\n\t\t// Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5\n\t\t// Plus for old WebKit, typeof returns \"function\" for HTML collections\n\t\t// (e.g., `typeof document.getElementsByTagName(\"div\") === \"function\"`). (gh-4756)\n\t\treturn typeof obj === \"function\" && typeof obj.nodeType !== \"number\" &&\n\t\t\ttypeof obj.item !== \"function\";\n\t};\n\n\nvar isWindow = function isWindow( obj ) {\n\t\treturn obj != null && obj === obj.window;\n\t};\n\n\nvar document = window.document;\n\n\n\n\tvar preservedScriptAttributes = {\n\t\ttype: true,\n\t\tsrc: true,\n\t\tnonce: true,\n\t\tnoModule: true\n\t};\n\n\tfunction DOMEval( code, node, doc ) {\n\t\tdoc = doc || document;\n\n\t\tvar i, val,\n\t\t\tscript = doc.createElement( \"script\" );\n\n\t\tscript.text = code;\n\t\tif ( node ) {\n\t\t\tfor ( i in preservedScriptAttributes ) {\n\n\t\t\t\t// Support: Firefox 64+, Edge 18+\n\t\t\t\t// Some browsers don't support the \"nonce\" property on scripts.\n\t\t\t\t// On the other hand, just using `getAttribute` is not enough as\n\t\t\t\t// the `nonce` attribute is reset to an empty string whenever it\n\t\t\t\t// becomes browsing-context connected.\n\t\t\t\t// See https://github.com/whatwg/html/issues/2369\n\t\t\t\t// See https://html.spec.whatwg.org/#nonce-attributes\n\t\t\t\t// The `node.getAttribute` check was added for the sake of\n\t\t\t\t// `jQuery.globalEval` so that it can fake a nonce-containing node\n\t\t\t\t// via an object.\n\t\t\t\tval = node[ i ] || node.getAttribute && node.getAttribute( i );\n\t\t\t\tif ( val ) {\n\t\t\t\t\tscript.setAttribute( i, val );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tdoc.head.appendChild( script ).parentNode.removeChild( script );\n\t}\n\n\nfunction toType( obj ) {\n\tif ( obj == null ) {\n\t\treturn obj + \"\";\n\t}\n\n\t// Support: Android <=2.3 only (functionish RegExp)\n\treturn typeof obj === \"object\" || typeof obj === \"function\" ?\n\t\tclass2type[ toString.call( obj ) ] || \"object\" :\n\t\ttypeof obj;\n}\n/* global Symbol */\n// Defining this global in .eslintrc.json would create a danger of using the global\n// unguarded in another place, it seems safer to define global only for this module\n\n\n\nvar\n\tversion = \"3.6.4\",\n\n\t// Define a local copy of jQuery\n\tjQuery = function( selector, context ) {\n\n\t\t// The jQuery object is actually just the init constructor 'enhanced'\n\t\t// Need init if jQuery is called (just allow error to be thrown if not included)\n\t\treturn new jQuery.fn.init( selector, context );\n\t};\n\njQuery.fn = jQuery.prototype = {\n\n\t// The current version of jQuery being used\n\tjquery: version,\n\n\tconstructor: jQuery,\n\n\t// The default length of a jQuery object is 0\n\tlength: 0,\n\n\ttoArray: function() {\n\t\treturn slice.call( this );\n\t},\n\n\t// Get the Nth element in the matched element set OR\n\t// Get the whole matched element set as a clean array\n\tget: function( num ) {\n\n\t\t// Return all the elements in a clean array\n\t\tif ( num == null ) {\n\t\t\treturn slice.call( this );\n\t\t}\n\n\t\t// Return just the one element from the set\n\t\treturn num < 0 ? this[ num + this.length ] : this[ num ];\n\t},\n\n\t// Take an array of elements and push it onto the stack\n\t// (returning the new matched element set)\n\tpushStack: function( elems ) {\n\n\t\t// Build a new jQuery matched element set\n\t\tvar ret = jQuery.merge( this.constructor(), elems );\n\n\t\t// Add the old object onto the stack (as a reference)\n\t\tret.prevObject = this;\n\n\t\t// Return the newly-formed element set\n\t\treturn ret;\n\t},\n\n\t// Execute a callback for every element in the matched set.\n\teach: function( callback ) {\n\t\treturn jQuery.each( this, callback );\n\t},\n\n\tmap: function( callback ) {\n\t\treturn this.pushStack( jQuery.map( this, function( elem, i ) {\n\t\t\treturn callback.call( elem, i, elem );\n\t\t} ) );\n\t},\n\n\tslice: function() {\n\t\treturn this.pushStack( slice.apply( this, arguments ) );\n\t},\n\n\tfirst: function() {\n\t\treturn this.eq( 0 );\n\t},\n\n\tlast: function() {\n\t\treturn this.eq( -1 );\n\t},\n\n\teven: function() {\n\t\treturn this.pushStack( jQuery.grep( this, function( _elem, i ) {\n\t\t\treturn ( i + 1 ) % 2;\n\t\t} ) );\n\t},\n\n\todd: function() {\n\t\treturn this.pushStack( jQuery.grep( this, function( _elem, i ) {\n\t\t\treturn i % 2;\n\t\t} ) );\n\t},\n\n\teq: function( i ) {\n\t\tvar len = this.length,\n\t\t\tj = +i + ( i < 0 ? len : 0 );\n\t\treturn this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] );\n\t},\n\n\tend: function() {\n\t\treturn this.prevObject || this.constructor();\n\t},\n\n\t// For internal use only.\n\t// Behaves like an Array's method, not like a jQuery method.\n\tpush: push,\n\tsort: arr.sort,\n\tsplice: arr.splice\n};\n\njQuery.extend = jQuery.fn.extend = function() {\n\tvar options, name, src, copy, copyIsArray, clone,\n\t\ttarget = arguments[ 0 ] || {},\n\t\ti = 1,\n\t\tlength = arguments.length,\n\t\tdeep = false;\n\n\t// Handle a deep copy situation\n\tif ( typeof target === \"boolean\" ) {\n\t\tdeep = target;\n\n\t\t// Skip the boolean and the target\n\t\ttarget = arguments[ i ] || {};\n\t\ti++;\n\t}\n\n\t// Handle case when target is a string or something (possible in deep copy)\n\tif ( typeof target !== \"object\" && !isFunction( target ) ) {\n\t\ttarget = {};\n\t}\n\n\t// Extend jQuery itself if only one argument is passed\n\tif ( i === length ) {\n\t\ttarget = this;\n\t\ti--;\n\t}\n\n\tfor ( ; i < length; i++ ) {\n\n\t\t// Only deal with non-null/undefined values\n\t\tif ( ( options = arguments[ i ] ) != null ) {\n\n\t\t\t// Extend the base object\n\t\t\tfor ( name in options ) {\n\t\t\t\tcopy = options[ name ];\n\n\t\t\t\t// Prevent Object.prototype pollution\n\t\t\t\t// Prevent never-ending loop\n\t\t\t\tif ( name === \"__proto__\" || target === copy ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Recurse if we're merging plain objects or arrays\n\t\t\t\tif ( deep && copy && ( jQuery.isPlainObject( copy ) ||\n\t\t\t\t\t( copyIsArray = Array.isArray( copy ) ) ) ) {\n\t\t\t\t\tsrc = target[ name ];\n\n\t\t\t\t\t// Ensure proper type for the source value\n\t\t\t\t\tif ( copyIsArray && !Array.isArray( src ) ) {\n\t\t\t\t\t\tclone = [];\n\t\t\t\t\t} else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) {\n\t\t\t\t\t\tclone = {};\n\t\t\t\t\t} else {\n\t\t\t\t\t\tclone = src;\n\t\t\t\t\t}\n\t\t\t\t\tcopyIsArray = false;\n\n\t\t\t\t\t// Never move original objects, clone them\n\t\t\t\t\ttarget[ name ] = jQuery.extend( deep, clone, copy );\n\n\t\t\t\t// Don't bring in undefined values\n\t\t\t\t} else if ( copy !== undefined ) {\n\t\t\t\t\ttarget[ name ] = copy;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Return the modified object\n\treturn target;\n};\n\njQuery.extend( {\n\n\t// Unique for each copy of jQuery on the page\n\texpando: \"jQuery\" + ( version + Math.random() ).replace( /\\D/g, \"\" ),\n\n\t// Assume jQuery is ready without the ready module\n\tisReady: true,\n\n\terror: function( msg ) {\n\t\tthrow new Error( msg );\n\t},\n\n\tnoop: function() {},\n\n\tisPlainObject: function( obj ) {\n\t\tvar proto, Ctor;\n\n\t\t// Detect obvious negatives\n\t\t// Use toString instead of jQuery.type to catch host objects\n\t\tif ( !obj || toString.call( obj ) !== \"[object Object]\" ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tproto = getProto( obj );\n\n\t\t// Objects with no prototype (e.g., `Object.create( null )`) are plain\n\t\tif ( !proto ) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// Objects with prototype are plain iff they were constructed by a global Object function\n\t\tCtor = hasOwn.call( proto, \"constructor\" ) && proto.constructor;\n\t\treturn typeof Ctor === \"function\" && fnToString.call( Ctor ) === ObjectFunctionString;\n\t},\n\n\tisEmptyObject: function( obj ) {\n\t\tvar name;\n\n\t\tfor ( name in obj ) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t},\n\n\t// Evaluates a script in a provided context; falls back to the global one\n\t// if not specified.\n\tglobalEval: function( code, options, doc ) {\n\t\tDOMEval( code, { nonce: options && options.nonce }, doc );\n\t},\n\n\teach: function( obj, callback ) {\n\t\tvar length, i = 0;\n\n\t\tif ( isArrayLike( obj ) ) {\n\t\t\tlength = obj.length;\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tif ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tfor ( i in obj ) {\n\t\t\t\tif ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn obj;\n\t},\n\n\t// results is for internal usage only\n\tmakeArray: function( arr, results ) {\n\t\tvar ret = results || [];\n\n\t\tif ( arr != null ) {\n\t\t\tif ( isArrayLike( Object( arr ) ) ) {\n\t\t\t\tjQuery.merge( ret,\n\t\t\t\t\ttypeof arr === \"string\" ?\n\t\t\t\t\t\t[ arr ] : arr\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tpush.call( ret, arr );\n\t\t\t}\n\t\t}\n\n\t\treturn ret;\n\t},\n\n\tinArray: function( elem, arr, i ) {\n\t\treturn arr == null ? -1 : indexOf.call( arr, elem, i );\n\t},\n\n\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t// push.apply(_, arraylike) throws on ancient WebKit\n\tmerge: function( first, second ) {\n\t\tvar len = +second.length,\n\t\t\tj = 0,\n\t\t\ti = first.length;\n\n\t\tfor ( ; j < len; j++ ) {\n\t\t\tfirst[ i++ ] = second[ j ];\n\t\t}\n\n\t\tfirst.length = i;\n\n\t\treturn first;\n\t},\n\n\tgrep: function( elems, callback, invert ) {\n\t\tvar callbackInverse,\n\t\t\tmatches = [],\n\t\t\ti = 0,\n\t\t\tlength = elems.length,\n\t\t\tcallbackExpect = !invert;\n\n\t\t// Go through the array, only saving the items\n\t\t// that pass the validator function\n\t\tfor ( ; i < length; i++ ) {\n\t\t\tcallbackInverse = !callback( elems[ i ], i );\n\t\t\tif ( callbackInverse !== callbackExpect ) {\n\t\t\t\tmatches.push( elems[ i ] );\n\t\t\t}\n\t\t}\n\n\t\treturn matches;\n\t},\n\n\t// arg is for internal usage only\n\tmap: function( elems, callback, arg ) {\n\t\tvar length, value,\n\t\t\ti = 0,\n\t\t\tret = [];\n\n\t\t// Go through the array, translating each of the items to their new values\n\t\tif ( isArrayLike( elems ) ) {\n\t\t\tlength = elems.length;\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Go through every key on the object,\n\t\t} else {\n\t\t\tfor ( i in elems ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Flatten any nested arrays\n\t\treturn flat( ret );\n\t},\n\n\t// A global GUID counter for objects\n\tguid: 1,\n\n\t// jQuery.support is not used in Core but other projects attach their\n\t// properties to it so it needs to exist.\n\tsupport: support\n} );\n\nif ( typeof Symbol === \"function\" ) {\n\tjQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ];\n}\n\n// Populate the class2type map\njQuery.each( \"Boolean Number String Function Array Date RegExp Object Error Symbol\".split( \" \" ),\n\tfunction( _i, name ) {\n\t\tclass2type[ \"[object \" + name + \"]\" ] = name.toLowerCase();\n\t} );\n\nfunction isArrayLike( obj ) {\n\n\t// Support: real iOS 8.2 only (not reproducible in simulator)\n\t// `in` check used to prevent JIT error (gh-2145)\n\t// hasOwn isn't used here due to false negatives\n\t// regarding Nodelist length in IE\n\tvar length = !!obj && \"length\" in obj && obj.length,\n\t\ttype = toType( obj );\n\n\tif ( isFunction( obj ) || isWindow( obj ) ) {\n\t\treturn false;\n\t}\n\n\treturn type === \"array\" || length === 0 ||\n\t\ttypeof length === \"number\" && length > 0 && ( length - 1 ) in obj;\n}\nvar Sizzle =\n/*!\n * Sizzle CSS Selector Engine v2.3.10\n * https://sizzlejs.com/\n *\n * Copyright JS Foundation and other contributors\n * Released under the MIT license\n * https://js.foundation/\n *\n * Date: 2023-02-14\n */\n( function( window ) {\nvar i,\n\tsupport,\n\tExpr,\n\tgetText,\n\tisXML,\n\ttokenize,\n\tcompile,\n\tselect,\n\toutermostContext,\n\tsortInput,\n\thasDuplicate,\n\n\t// Local document vars\n\tsetDocument,\n\tdocument,\n\tdocElem,\n\tdocumentIsHTML,\n\trbuggyQSA,\n\trbuggyMatches,\n\tmatches,\n\tcontains,\n\n\t// Instance-specific data\n\texpando = \"sizzle\" + 1 * new Date(),\n\tpreferredDoc = window.document,\n\tdirruns = 0,\n\tdone = 0,\n\tclassCache = createCache(),\n\ttokenCache = createCache(),\n\tcompilerCache = createCache(),\n\tnonnativeSelectorCache = createCache(),\n\tsortOrder = function( a, b ) {\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t}\n\t\treturn 0;\n\t},\n\n\t// Instance methods\n\thasOwn = ( {} ).hasOwnProperty,\n\tarr = [],\n\tpop = arr.pop,\n\tpushNative = arr.push,\n\tpush = arr.push,\n\tslice = arr.slice,\n\n\t// Use a stripped-down indexOf as it's faster than native\n\t// https://jsperf.com/thor-indexof-vs-for/5\n\tindexOf = function( list, elem ) {\n\t\tvar i = 0,\n\t\t\tlen = list.length;\n\t\tfor ( ; i < len; i++ ) {\n\t\t\tif ( list[ i ] === elem ) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t},\n\n\tbooleans = \"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|\" +\n\t\t\"ismap|loop|multiple|open|readonly|required|scoped\",\n\n\t// Regular expressions\n\n\t// http://www.w3.org/TR/css3-selectors/#whitespace\n\twhitespace = \"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\",\n\n\t// https://www.w3.org/TR/css-syntax-3/#ident-token-diagram\n\tidentifier = \"(?:\\\\\\\\[\\\\da-fA-F]{1,6}\" + whitespace +\n\t\t\"?|\\\\\\\\[^\\\\r\\\\n\\\\f]|[\\\\w-]|[^\\0-\\\\x7f])+\",\n\n\t// Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors\n\tattributes = \"\\\\[\" + whitespace + \"*(\" + identifier + \")(?:\" + whitespace +\n\n\t\t// Operator (capture 2)\n\t\t\"*([*^$|!~]?=)\" + whitespace +\n\n\t\t// \"Attribute values must be CSS identifiers [capture 5]\n\t\t// or strings [capture 3 or capture 4]\"\n\t\t\"*(?:'((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\"|(\" + identifier + \"))|)\" +\n\t\twhitespace + \"*\\\\]\",\n\n\tpseudos = \":(\" + identifier + \")(?:\\\\((\" +\n\n\t\t// To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:\n\t\t// 1. quoted (capture 3; capture 4 or capture 5)\n\t\t\"('((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\")|\" +\n\n\t\t// 2. simple (capture 6)\n\t\t\"((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\" + attributes + \")*)|\" +\n\n\t\t// 3. anything else (capture 2)\n\t\t\".*\" +\n\t\t\")\\\\)|)\",\n\n\t// Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter\n\trwhitespace = new RegExp( whitespace + \"+\", \"g\" ),\n\trtrim = new RegExp( \"^\" + whitespace + \"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\" +\n\t\twhitespace + \"+$\", \"g\" ),\n\n\trcomma = new RegExp( \"^\" + whitespace + \"*,\" + whitespace + \"*\" ),\n\trleadingCombinator = new RegExp( \"^\" + whitespace + \"*([>+~]|\" + whitespace + \")\" + whitespace +\n\t\t\"*\" ),\n\trdescend = new RegExp( whitespace + \"|>\" ),\n\n\trpseudo = new RegExp( pseudos ),\n\tridentifier = new RegExp( \"^\" + identifier + \"$\" ),\n\n\tmatchExpr = {\n\t\t\"ID\": new RegExp( \"^#(\" + identifier + \")\" ),\n\t\t\"CLASS\": new RegExp( \"^\\\\.(\" + identifier + \")\" ),\n\t\t\"TAG\": new RegExp( \"^(\" + identifier + \"|[*])\" ),\n\t\t\"ATTR\": new RegExp( \"^\" + attributes ),\n\t\t\"PSEUDO\": new RegExp( \"^\" + pseudos ),\n\t\t\"CHILD\": new RegExp( \"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\" +\n\t\t\twhitespace + \"*(even|odd|(([+-]|)(\\\\d*)n|)\" + whitespace + \"*(?:([+-]|)\" +\n\t\t\twhitespace + \"*(\\\\d+)|))\" + whitespace + \"*\\\\)|)\", \"i\" ),\n\t\t\"bool\": new RegExp( \"^(?:\" + booleans + \")$\", \"i\" ),\n\n\t\t// For use in libraries implementing .is()\n\t\t// We use this for POS matching in `select`\n\t\t\"needsContext\": new RegExp( \"^\" + whitespace +\n\t\t\t\"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\" + whitespace +\n\t\t\t\"*((?:-\\\\d)?\\\\d*)\" + whitespace + \"*\\\\)|)(?=[^-]|$)\", \"i\" )\n\t},\n\n\trhtml = /HTML$/i,\n\trinputs = /^(?:input|select|textarea|button)$/i,\n\trheader = /^h\\d$/i,\n\n\trnative = /^[^{]+\\{\\s*\\[native \\w/,\n\n\t// Easily-parseable/retrievable ID or TAG or CLASS selectors\n\trquickExpr = /^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,\n\n\trsibling = /[+~]/,\n\n\t// CSS escapes\n\t// http://www.w3.org/TR/CSS21/syndata.html#escaped-characters\n\trunescape = new RegExp( \"\\\\\\\\[\\\\da-fA-F]{1,6}\" + whitespace + \"?|\\\\\\\\([^\\\\r\\\\n\\\\f])\", \"g\" ),\n\tfunescape = function( escape, nonHex ) {\n\t\tvar high = \"0x\" + escape.slice( 1 ) - 0x10000;\n\n\t\treturn nonHex ?\n\n\t\t\t// Strip the backslash prefix from a non-hex escape sequence\n\t\t\tnonHex :\n\n\t\t\t// Replace a hexadecimal escape sequence with the encoded Unicode code point\n\t\t\t// Support: IE <=11+\n\t\t\t// For values outside the Basic Multilingual Plane (BMP), manually construct a\n\t\t\t// surrogate pair\n\t\t\thigh < 0 ?\n\t\t\t\tString.fromCharCode( high + 0x10000 ) :\n\t\t\t\tString.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );\n\t},\n\n\t// CSS string/identifier serialization\n\t// https://drafts.csswg.org/cssom/#common-serializing-idioms\n\trcssescape = /([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]/g,\n\tfcssescape = function( ch, asCodePoint ) {\n\t\tif ( asCodePoint ) {\n\n\t\t\t// U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER\n\t\t\tif ( ch === \"\\0\" ) {\n\t\t\t\treturn \"\\uFFFD\";\n\t\t\t}\n\n\t\t\t// Control characters and (dependent upon position) numbers get escaped as code points\n\t\t\treturn ch.slice( 0, -1 ) + \"\\\\\" +\n\t\t\t\tch.charCodeAt( ch.length - 1 ).toString( 16 ) + \" \";\n\t\t}\n\n\t\t// Other potentially-special ASCII characters get backslash-escaped\n\t\treturn \"\\\\\" + ch;\n\t},\n\n\t// Used for iframes\n\t// See setDocument()\n\t// Removing the function wrapper causes a \"Permission Denied\"\n\t// error in IE\n\tunloadHandler = function() {\n\t\tsetDocument();\n\t},\n\n\tinDisabledFieldset = addCombinator(\n\t\tfunction( elem ) {\n\t\t\treturn elem.disabled === true && elem.nodeName.toLowerCase() === \"fieldset\";\n\t\t},\n\t\t{ dir: \"parentNode\", next: \"legend\" }\n\t);\n\n// Optimize for push.apply( _, NodeList )\ntry {\n\tpush.apply(\n\t\t( arr = slice.call( preferredDoc.childNodes ) ),\n\t\tpreferredDoc.childNodes\n\t);\n\n\t// Support: Android<4.0\n\t// Detect silently failing push.apply\n\t// eslint-disable-next-line no-unused-expressions\n\tarr[ preferredDoc.childNodes.length ].nodeType;\n} catch ( e ) {\n\tpush = { apply: arr.length ?\n\n\t\t// Leverage slice if possible\n\t\tfunction( target, els ) {\n\t\t\tpushNative.apply( target, slice.call( els ) );\n\t\t} :\n\n\t\t// Support: IE<9\n\t\t// Otherwise append directly\n\t\tfunction( target, els ) {\n\t\t\tvar j = target.length,\n\t\t\t\ti = 0;\n\n\t\t\t// Can't trust NodeList.length\n\t\t\twhile ( ( target[ j++ ] = els[ i++ ] ) ) {}\n\t\t\ttarget.length = j - 1;\n\t\t}\n\t};\n}\n\nfunction Sizzle( selector, context, results, seed ) {\n\tvar m, i, elem, nid, match, groups, newSelector,\n\t\tnewContext = context && context.ownerDocument,\n\n\t\t// nodeType defaults to 9, since context defaults to document\n\t\tnodeType = context ? context.nodeType : 9;\n\n\tresults = results || [];\n\n\t// Return early from calls with invalid selector or context\n\tif ( typeof selector !== \"string\" || !selector ||\n\t\tnodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) {\n\n\t\treturn results;\n\t}\n\n\t// Try to shortcut find operations (as opposed to filters) in HTML documents\n\tif ( !seed ) {\n\t\tsetDocument( context );\n\t\tcontext = context || document;\n\n\t\tif ( documentIsHTML ) {\n\n\t\t\t// If the selector is sufficiently simple, try using a \"get*By*\" DOM method\n\t\t\t// (excepting DocumentFragment context, where the methods don't exist)\n\t\t\tif ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) {\n\n\t\t\t\t// ID selector\n\t\t\t\tif ( ( m = match[ 1 ] ) ) {\n\n\t\t\t\t\t// Document context\n\t\t\t\t\tif ( nodeType === 9 ) {\n\t\t\t\t\t\tif ( ( elem = context.getElementById( m ) ) ) {\n\n\t\t\t\t\t\t\t// Support: IE, Opera, Webkit\n\t\t\t\t\t\t\t// TODO: identify versions\n\t\t\t\t\t\t\t// getElementById can match elements by name instead of ID\n\t\t\t\t\t\t\tif ( elem.id === m ) {\n\t\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t// Element context\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\t// Support: IE, Opera, Webkit\n\t\t\t\t\t\t// TODO: identify versions\n\t\t\t\t\t\t// getElementById can match elements by name instead of ID\n\t\t\t\t\t\tif ( newContext && ( elem = newContext.getElementById( m ) ) &&\n\t\t\t\t\t\t\tcontains( context, elem ) &&\n\t\t\t\t\t\t\telem.id === m ) {\n\n\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t// Type selector\n\t\t\t\t} else if ( match[ 2 ] ) {\n\t\t\t\t\tpush.apply( results, context.getElementsByTagName( selector ) );\n\t\t\t\t\treturn results;\n\n\t\t\t\t// Class selector\n\t\t\t\t} else if ( ( m = match[ 3 ] ) && support.getElementsByClassName &&\n\t\t\t\t\tcontext.getElementsByClassName ) {\n\n\t\t\t\t\tpush.apply( results, context.getElementsByClassName( m ) );\n\t\t\t\t\treturn results;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Take advantage of querySelectorAll\n\t\t\tif ( support.qsa &&\n\t\t\t\t!nonnativeSelectorCache[ selector + \" \" ] &&\n\t\t\t\t( !rbuggyQSA || !rbuggyQSA.test( selector ) ) &&\n\n\t\t\t\t// Support: IE 8 only\n\t\t\t\t// Exclude object elements\n\t\t\t\t( nodeType !== 1 || context.nodeName.toLowerCase() !== \"object\" ) ) {\n\n\t\t\t\tnewSelector = selector;\n\t\t\t\tnewContext = context;\n\n\t\t\t\t// qSA considers elements outside a scoping root when evaluating child or\n\t\t\t\t// descendant combinators, which is not what we want.\n\t\t\t\t// In such cases, we work around the behavior by prefixing every selector in the\n\t\t\t\t// list with an ID selector referencing the scope context.\n\t\t\t\t// The technique has to be used as well when a leading combinator is used\n\t\t\t\t// as such selectors are not recognized by querySelectorAll.\n\t\t\t\t// Thanks to Andrew Dupont for this technique.\n\t\t\t\tif ( nodeType === 1 &&\n\t\t\t\t\t( rdescend.test( selector ) || rleadingCombinator.test( selector ) ) ) {\n\n\t\t\t\t\t// Expand context for sibling selectors\n\t\t\t\t\tnewContext = rsibling.test( selector ) && testContext( context.parentNode ) ||\n\t\t\t\t\t\tcontext;\n\n\t\t\t\t\t// We can use :scope instead of the ID hack if the browser\n\t\t\t\t\t// supports it & if we're not changing the context.\n\t\t\t\t\tif ( newContext !== context || !support.scope ) {\n\n\t\t\t\t\t\t// Capture the context ID, setting it first if necessary\n\t\t\t\t\t\tif ( ( nid = context.getAttribute( \"id\" ) ) ) {\n\t\t\t\t\t\t\tnid = nid.replace( rcssescape, fcssescape );\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcontext.setAttribute( \"id\", ( nid = expando ) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prefix every selector in the list\n\t\t\t\t\tgroups = tokenize( selector );\n\t\t\t\t\ti = groups.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tgroups[ i ] = ( nid ? \"#\" + nid : \":scope\" ) + \" \" +\n\t\t\t\t\t\t\ttoSelector( groups[ i ] );\n\t\t\t\t\t}\n\t\t\t\t\tnewSelector = groups.join( \",\" );\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tpush.apply( results,\n\t\t\t\t\t\tnewContext.querySelectorAll( newSelector )\n\t\t\t\t\t);\n\t\t\t\t\treturn results;\n\t\t\t\t} catch ( qsaError ) {\n\t\t\t\t\tnonnativeSelectorCache( selector, true );\n\t\t\t\t} finally {\n\t\t\t\t\tif ( nid === expando ) {\n\t\t\t\t\t\tcontext.removeAttribute( \"id\" );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// All others\n\treturn select( selector.replace( rtrim, \"$1\" ), context, results, seed );\n}\n\n/**\n * Create key-value caches of limited size\n * @returns {function(string, object)} Returns the Object data after storing it on itself with\n *\tproperty name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)\n *\tdeleting the oldest entry\n */\nfunction createCache() {\n\tvar keys = [];\n\n\tfunction cache( key, value ) {\n\n\t\t// Use (key + \" \") to avoid collision with native prototype properties (see Issue #157)\n\t\tif ( keys.push( key + \" \" ) > Expr.cacheLength ) {\n\n\t\t\t// Only keep the most recent entries\n\t\t\tdelete cache[ keys.shift() ];\n\t\t}\n\t\treturn ( cache[ key + \" \" ] = value );\n\t}\n\treturn cache;\n}\n\n/**\n * Mark a function for special use by Sizzle\n * @param {Function} fn The function to mark\n */\nfunction markFunction( fn ) {\n\tfn[ expando ] = true;\n\treturn fn;\n}\n\n/**\n * Support testing using an element\n * @param {Function} fn Passed the created element and returns a boolean result\n */\nfunction assert( fn ) {\n\tvar el = document.createElement( \"fieldset\" );\n\n\ttry {\n\t\treturn !!fn( el );\n\t} catch ( e ) {\n\t\treturn false;\n\t} finally {\n\n\t\t// Remove from its parent by default\n\t\tif ( el.parentNode ) {\n\t\t\tel.parentNode.removeChild( el );\n\t\t}\n\n\t\t// release memory in IE\n\t\tel = null;\n\t}\n}\n\n/**\n * Adds the same handler for all of the specified attrs\n * @param {String} attrs Pipe-separated list of attributes\n * @param {Function} handler The method that will be applied\n */\nfunction addHandle( attrs, handler ) {\n\tvar arr = attrs.split( \"|\" ),\n\t\ti = arr.length;\n\n\twhile ( i-- ) {\n\t\tExpr.attrHandle[ arr[ i ] ] = handler;\n\t}\n}\n\n/**\n * Checks document order of two siblings\n * @param {Element} a\n * @param {Element} b\n * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b\n */\nfunction siblingCheck( a, b ) {\n\tvar cur = b && a,\n\t\tdiff = cur && a.nodeType === 1 && b.nodeType === 1 &&\n\t\t\ta.sourceIndex - b.sourceIndex;\n\n\t// Use IE sourceIndex if available on both nodes\n\tif ( diff ) {\n\t\treturn diff;\n\t}\n\n\t// Check if b follows a\n\tif ( cur ) {\n\t\twhile ( ( cur = cur.nextSibling ) ) {\n\t\t\tif ( cur === b ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t}\n\t}\n\n\treturn a ? 1 : -1;\n}\n\n/**\n * Returns a function to use in pseudos for input types\n * @param {String} type\n */\nfunction createInputPseudo( type ) {\n\treturn function( elem ) {\n\t\tvar name = elem.nodeName.toLowerCase();\n\t\treturn name === \"input\" && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for buttons\n * @param {String} type\n */\nfunction createButtonPseudo( type ) {\n\treturn function( elem ) {\n\t\tvar name = elem.nodeName.toLowerCase();\n\t\treturn ( name === \"input\" || name === \"button\" ) && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for :enabled/:disabled\n * @param {Boolean} disabled true for :disabled; false for :enabled\n */\nfunction createDisabledPseudo( disabled ) {\n\n\t// Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable\n\treturn function( elem ) {\n\n\t\t// Only certain elements can match :enabled or :disabled\n\t\t// https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled\n\t\t// https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled\n\t\tif ( \"form\" in elem ) {\n\n\t\t\t// Check for inherited disabledness on relevant non-disabled elements:\n\t\t\t// * listed form-associated elements in a disabled fieldset\n\t\t\t// https://html.spec.whatwg.org/multipage/forms.html#category-listed\n\t\t\t// https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled\n\t\t\t// * option elements in a disabled optgroup\n\t\t\t// https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled\n\t\t\t// All such elements have a \"form\" property.\n\t\t\tif ( elem.parentNode && elem.disabled === false ) {\n\n\t\t\t\t// Option elements defer to a parent optgroup if present\n\t\t\t\tif ( \"label\" in elem ) {\n\t\t\t\t\tif ( \"label\" in elem.parentNode ) {\n\t\t\t\t\t\treturn elem.parentNode.disabled === disabled;\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn elem.disabled === disabled;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Support: IE 6 - 11\n\t\t\t\t// Use the isDisabled shortcut property to check for disabled fieldset ancestors\n\t\t\t\treturn elem.isDisabled === disabled ||\n\n\t\t\t\t\t// Where there is no isDisabled, check manually\n\t\t\t\t\t/* jshint -W018 */\n\t\t\t\t\telem.isDisabled !== !disabled &&\n\t\t\t\t\tinDisabledFieldset( elem ) === disabled;\n\t\t\t}\n\n\t\t\treturn elem.disabled === disabled;\n\n\t\t// Try to winnow out elements that can't be disabled before trusting the disabled property.\n\t\t// Some victims get caught in our net (label, legend, menu, track), but it shouldn't\n\t\t// even exist on them, let alone have a boolean value.\n\t\t} else if ( \"label\" in elem ) {\n\t\t\treturn elem.disabled === disabled;\n\t\t}\n\n\t\t// Remaining elements are neither :enabled nor :disabled\n\t\treturn false;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for positionals\n * @param {Function} fn\n */\nfunction createPositionalPseudo( fn ) {\n\treturn markFunction( function( argument ) {\n\t\targument = +argument;\n\t\treturn markFunction( function( seed, matches ) {\n\t\t\tvar j,\n\t\t\t\tmatchIndexes = fn( [], seed.length, argument ),\n\t\t\t\ti = matchIndexes.length;\n\n\t\t\t// Match elements found at the specified indexes\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( seed[ ( j = matchIndexes[ i ] ) ] ) {\n\t\t\t\t\tseed[ j ] = !( matches[ j ] = seed[ j ] );\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t} );\n}\n\n/**\n * Checks a node for validity as a Sizzle context\n * @param {Element|Object=} context\n * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value\n */\nfunction testContext( context ) {\n\treturn context && typeof context.getElementsByTagName !== \"undefined\" && context;\n}\n\n// Expose support vars for convenience\nsupport = Sizzle.support = {};\n\n/**\n * Detects XML nodes\n * @param {Element|Object} elem An element or a document\n * @returns {Boolean} True iff elem is a non-HTML XML node\n */\nisXML = Sizzle.isXML = function( elem ) {\n\tvar namespace = elem && elem.namespaceURI,\n\t\tdocElem = elem && ( elem.ownerDocument || elem ).documentElement;\n\n\t// Support: IE <=8\n\t// Assume HTML when documentElement doesn't yet exist, such as inside loading iframes\n\t// https://bugs.jquery.com/ticket/4833\n\treturn !rhtml.test( namespace || docElem && docElem.nodeName || \"HTML\" );\n};\n\n/**\n * Sets document-related variables once based on the current document\n * @param {Element|Object} [doc] An element or document object to use to set the document\n * @returns {Object} Returns the current document\n */\nsetDocument = Sizzle.setDocument = function( node ) {\n\tvar hasCompare, subWindow,\n\t\tdoc = node ? node.ownerDocument || node : preferredDoc;\n\n\t// Return early if doc is invalid or already selected\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) {\n\t\treturn document;\n\t}\n\n\t// Update global variables\n\tdocument = doc;\n\tdocElem = document.documentElement;\n\tdocumentIsHTML = !isXML( document );\n\n\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t// Accessing iframe documents after unload throws \"permission denied\" errors (jQuery #13936)\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( preferredDoc != document &&\n\t\t( subWindow = document.defaultView ) && subWindow.top !== subWindow ) {\n\n\t\t// Support: IE 11, Edge\n\t\tif ( subWindow.addEventListener ) {\n\t\t\tsubWindow.addEventListener( \"unload\", unloadHandler, false );\n\n\t\t// Support: IE 9 - 10 only\n\t\t} else if ( subWindow.attachEvent ) {\n\t\t\tsubWindow.attachEvent( \"onunload\", unloadHandler );\n\t\t}\n\t}\n\n\t// Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only,\n\t// Safari 4 - 5 only, Opera <=11.6 - 12.x only\n\t// IE/Edge & older browsers don't support the :scope pseudo-class.\n\t// Support: Safari 6.0 only\n\t// Safari 6.0 supports :scope but it's an alias of :root there.\n\tsupport.scope = assert( function( el ) {\n\t\tdocElem.appendChild( el ).appendChild( document.createElement( \"div\" ) );\n\t\treturn typeof el.querySelectorAll !== \"undefined\" &&\n\t\t\t!el.querySelectorAll( \":scope fieldset div\" ).length;\n\t} );\n\n\t// Support: Chrome 105 - 110+, Safari 15.4 - 16.3+\n\t// Make sure the the `:has()` argument is parsed unforgivingly.\n\t// We include `*` in the test to detect buggy implementations that are\n\t// _selectively_ forgiving (specifically when the list includes at least\n\t// one valid selector).\n\t// Note that we treat complete lack of support for `:has()` as if it were\n\t// spec-compliant support, which is fine because use of `:has()` in such\n\t// environments will fail in the qSA path and fall back to jQuery traversal\n\t// anyway.\n\tsupport.cssHas = assert( function() {\n\t\ttry {\n\t\t\tdocument.querySelector( \":has(*,:jqfake)\" );\n\t\t\treturn false;\n\t\t} catch ( e ) {\n\t\t\treturn true;\n\t\t}\n\t} );\n\n\t/* Attributes\n\t---------------------------------------------------------------------- */\n\n\t// Support: IE<8\n\t// Verify that getAttribute really returns attributes and not properties\n\t// (excepting IE8 booleans)\n\tsupport.attributes = assert( function( el ) {\n\t\tel.className = \"i\";\n\t\treturn !el.getAttribute( \"className\" );\n\t} );\n\n\t/* getElement(s)By*\n\t---------------------------------------------------------------------- */\n\n\t// Check if getElementsByTagName(\"*\") returns only elements\n\tsupport.getElementsByTagName = assert( function( el ) {\n\t\tel.appendChild( document.createComment( \"\" ) );\n\t\treturn !el.getElementsByTagName( \"*\" ).length;\n\t} );\n\n\t// Support: IE<9\n\tsupport.getElementsByClassName = rnative.test( document.getElementsByClassName );\n\n\t// Support: IE<10\n\t// Check if getElementById returns elements by name\n\t// The broken getElementById methods don't pick up programmatically-set names,\n\t// so use a roundabout getElementsByName test\n\tsupport.getById = assert( function( el ) {\n\t\tdocElem.appendChild( el ).id = expando;\n\t\treturn !document.getElementsByName || !document.getElementsByName( expando ).length;\n\t} );\n\n\t// ID filter and find\n\tif ( support.getById ) {\n\t\tExpr.filter[ \"ID\" ] = function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn elem.getAttribute( \"id\" ) === attrId;\n\t\t\t};\n\t\t};\n\t\tExpr.find[ \"ID\" ] = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar elem = context.getElementById( id );\n\t\t\t\treturn elem ? [ elem ] : [];\n\t\t\t}\n\t\t};\n\t} else {\n\t\tExpr.filter[ \"ID\" ] = function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\tvar node = typeof elem.getAttributeNode !== \"undefined\" &&\n\t\t\t\t\telem.getAttributeNode( \"id\" );\n\t\t\t\treturn node && node.value === attrId;\n\t\t\t};\n\t\t};\n\n\t\t// Support: IE 6 - 7 only\n\t\t// getElementById is not reliable as a find shortcut\n\t\tExpr.find[ \"ID\" ] = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar node, i, elems,\n\t\t\t\t\telem = context.getElementById( id );\n\n\t\t\t\tif ( elem ) {\n\n\t\t\t\t\t// Verify the id attribute\n\t\t\t\t\tnode = elem.getAttributeNode( \"id\" );\n\t\t\t\t\tif ( node && node.value === id ) {\n\t\t\t\t\t\treturn [ elem ];\n\t\t\t\t\t}\n\n\t\t\t\t\t// Fall back on getElementsByName\n\t\t\t\t\telems = context.getElementsByName( id );\n\t\t\t\t\ti = 0;\n\t\t\t\t\twhile ( ( elem = elems[ i++ ] ) ) {\n\t\t\t\t\t\tnode = elem.getAttributeNode( \"id\" );\n\t\t\t\t\t\tif ( node && node.value === id ) {\n\t\t\t\t\t\t\treturn [ elem ];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn [];\n\t\t\t}\n\t\t};\n\t}\n\n\t// Tag\n\tExpr.find[ \"TAG\" ] = support.getElementsByTagName ?\n\t\tfunction( tag, context ) {\n\t\t\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\t\t\treturn context.getElementsByTagName( tag );\n\n\t\t\t// DocumentFragment nodes don't have gEBTN\n\t\t\t} else if ( support.qsa ) {\n\t\t\t\treturn context.querySelectorAll( tag );\n\t\t\t}\n\t\t} :\n\n\t\tfunction( tag, context ) {\n\t\t\tvar elem,\n\t\t\t\ttmp = [],\n\t\t\t\ti = 0,\n\n\t\t\t\t// By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too\n\t\t\t\tresults = context.getElementsByTagName( tag );\n\n\t\t\t// Filter out possible comments\n\t\t\tif ( tag === \"*\" ) {\n\t\t\t\twhile ( ( elem = results[ i++ ] ) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\ttmp.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn tmp;\n\t\t\t}\n\t\t\treturn results;\n\t\t};\n\n\t// Class\n\tExpr.find[ \"CLASS\" ] = support.getElementsByClassName && function( className, context ) {\n\t\tif ( typeof context.getElementsByClassName !== \"undefined\" && documentIsHTML ) {\n\t\t\treturn context.getElementsByClassName( className );\n\t\t}\n\t};\n\n\t/* QSA/matchesSelector\n\t---------------------------------------------------------------------- */\n\n\t// QSA and matchesSelector support\n\n\t// matchesSelector(:active) reports false when true (IE9/Opera 11.5)\n\trbuggyMatches = [];\n\n\t// qSa(:focus) reports false when true (Chrome 21)\n\t// We allow this because of a bug in IE8/9 that throws an error\n\t// whenever `document.activeElement` is accessed on an iframe\n\t// So, we allow :focus to pass through QSA all the time to avoid the IE error\n\t// See https://bugs.jquery.com/ticket/13378\n\trbuggyQSA = [];\n\n\tif ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) {\n\n\t\t// Build QSA regex\n\t\t// Regex strategy adopted from Diego Perini\n\t\tassert( function( el ) {\n\n\t\t\tvar input;\n\n\t\t\t// Select is set to empty string on purpose\n\t\t\t// This is to test IE's treatment of not explicitly\n\t\t\t// setting a boolean content attribute,\n\t\t\t// since its presence should be enough\n\t\t\t// https://bugs.jquery.com/ticket/12359\n\t\t\tdocElem.appendChild( el ).innerHTML = \"\" +\n\t\t\t\t\"\";\n\n\t\t\t// Support: IE8, Opera 11-12.16\n\t\t\t// Nothing should be selected when empty strings follow ^= or $= or *=\n\t\t\t// The test attribute must be unknown in Opera but \"safe\" for WinRT\n\t\t\t// https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section\n\t\t\tif ( el.querySelectorAll( \"[msallowcapture^='']\" ).length ) {\n\t\t\t\trbuggyQSA.push( \"[*^$]=\" + whitespace + \"*(?:''|\\\"\\\")\" );\n\t\t\t}\n\n\t\t\t// Support: IE8\n\t\t\t// Boolean attributes and \"value\" are not treated correctly\n\t\t\tif ( !el.querySelectorAll( \"[selected]\" ).length ) {\n\t\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*(?:value|\" + booleans + \")\" );\n\t\t\t}\n\n\t\t\t// Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+\n\t\t\tif ( !el.querySelectorAll( \"[id~=\" + expando + \"-]\" ).length ) {\n\t\t\t\trbuggyQSA.push( \"~=\" );\n\t\t\t}\n\n\t\t\t// Support: IE 11+, Edge 15 - 18+\n\t\t\t// IE 11/Edge don't find elements on a `[name='']` query in some cases.\n\t\t\t// Adding a temporary attribute to the document before the selection works\n\t\t\t// around the issue.\n\t\t\t// Interestingly, IE 10 & older don't seem to have the issue.\n\t\t\tinput = document.createElement( \"input\" );\n\t\t\tinput.setAttribute( \"name\", \"\" );\n\t\t\tel.appendChild( input );\n\t\t\tif ( !el.querySelectorAll( \"[name='']\" ).length ) {\n\t\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*name\" + whitespace + \"*=\" +\n\t\t\t\t\twhitespace + \"*(?:''|\\\"\\\")\" );\n\t\t\t}\n\n\t\t\t// Webkit/Opera - :checked should return selected option elements\n\t\t\t// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\t// IE8 throws error here and will not see later tests\n\t\t\tif ( !el.querySelectorAll( \":checked\" ).length ) {\n\t\t\t\trbuggyQSA.push( \":checked\" );\n\t\t\t}\n\n\t\t\t// Support: Safari 8+, iOS 8+\n\t\t\t// https://bugs.webkit.org/show_bug.cgi?id=136851\n\t\t\t// In-page `selector#id sibling-combinator selector` fails\n\t\t\tif ( !el.querySelectorAll( \"a#\" + expando + \"+*\" ).length ) {\n\t\t\t\trbuggyQSA.push( \".#.+[+~]\" );\n\t\t\t}\n\n\t\t\t// Support: Firefox <=3.6 - 5 only\n\t\t\t// Old Firefox doesn't throw on a badly-escaped identifier.\n\t\t\tel.querySelectorAll( \"\\\\\\f\" );\n\t\t\trbuggyQSA.push( \"[\\\\r\\\\n\\\\f]\" );\n\t\t} );\n\n\t\tassert( function( el ) {\n\t\t\tel.innerHTML = \"\" +\n\t\t\t\t\"\";\n\n\t\t\t// Support: Windows 8 Native Apps\n\t\t\t// The type and name attributes are restricted during .innerHTML assignment\n\t\t\tvar input = document.createElement( \"input\" );\n\t\t\tinput.setAttribute( \"type\", \"hidden\" );\n\t\t\tel.appendChild( input ).setAttribute( \"name\", \"D\" );\n\n\t\t\t// Support: IE8\n\t\t\t// Enforce case-sensitivity of name attribute\n\t\t\tif ( el.querySelectorAll( \"[name=d]\" ).length ) {\n\t\t\t\trbuggyQSA.push( \"name\" + whitespace + \"*[*^$|!~]?=\" );\n\t\t\t}\n\n\t\t\t// FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)\n\t\t\t// IE8 throws error here and will not see later tests\n\t\t\tif ( el.querySelectorAll( \":enabled\" ).length !== 2 ) {\n\t\t\t\trbuggyQSA.push( \":enabled\", \":disabled\" );\n\t\t\t}\n\n\t\t\t// Support: IE9-11+\n\t\t\t// IE's :disabled selector does not pick up the children of disabled fieldsets\n\t\t\tdocElem.appendChild( el ).disabled = true;\n\t\t\tif ( el.querySelectorAll( \":disabled\" ).length !== 2 ) {\n\t\t\t\trbuggyQSA.push( \":enabled\", \":disabled\" );\n\t\t\t}\n\n\t\t\t// Support: Opera 10 - 11 only\n\t\t\t// Opera 10-11 does not throw on post-comma invalid pseudos\n\t\t\tel.querySelectorAll( \"*,:x\" );\n\t\t\trbuggyQSA.push( \",.*:\" );\n\t\t} );\n\t}\n\n\tif ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches ||\n\t\tdocElem.webkitMatchesSelector ||\n\t\tdocElem.mozMatchesSelector ||\n\t\tdocElem.oMatchesSelector ||\n\t\tdocElem.msMatchesSelector ) ) ) ) {\n\n\t\tassert( function( el ) {\n\n\t\t\t// Check to see if it's possible to do matchesSelector\n\t\t\t// on a disconnected node (IE 9)\n\t\t\tsupport.disconnectedMatch = matches.call( el, \"*\" );\n\n\t\t\t// This should fail with an exception\n\t\t\t// Gecko does not error, returns false instead\n\t\t\tmatches.call( el, \"[s!='']:x\" );\n\t\t\trbuggyMatches.push( \"!=\", pseudos );\n\t\t} );\n\t}\n\n\tif ( !support.cssHas ) {\n\n\t\t// Support: Chrome 105 - 110+, Safari 15.4 - 16.3+\n\t\t// Our regular `try-catch` mechanism fails to detect natively-unsupported\n\t\t// pseudo-classes inside `:has()` (such as `:has(:contains(\"Foo\"))`)\n\t\t// in browsers that parse the `:has()` argument as a forgiving selector list.\n\t\t// https://drafts.csswg.org/selectors/#relational now requires the argument\n\t\t// to be parsed unforgivingly, but browsers have not yet fully adjusted.\n\t\trbuggyQSA.push( \":has\" );\n\t}\n\n\trbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( \"|\" ) );\n\trbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( \"|\" ) );\n\n\t/* Contains\n\t---------------------------------------------------------------------- */\n\thasCompare = rnative.test( docElem.compareDocumentPosition );\n\n\t// Element contains another\n\t// Purposefully self-exclusive\n\t// As in, an element does not contain itself\n\tcontains = hasCompare || rnative.test( docElem.contains ) ?\n\t\tfunction( a, b ) {\n\n\t\t\t// Support: IE <9 only\n\t\t\t// IE doesn't have `contains` on `document` so we need to check for\n\t\t\t// `documentElement` presence.\n\t\t\t// We need to fall back to `a` when `documentElement` is missing\n\t\t\t// as `ownerDocument` of elements within `