@aarhus-university/au-lib-react-components 11.3.1 → 11.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/.eslintrc.js +34 -34
  2. package/.storybook/main.js +20 -20
  3. package/.storybook/preview.js +17 -17
  4. package/README.md +19 -19
  5. package/__tests__/jest/AUButtonComponent.test.tsx +165 -165
  6. package/__tests__/jest/AUErrorComponent.test.tsx +142 -142
  7. package/__tests__/jest/AUModalComponent.test.tsx +186 -186
  8. package/__tests__/jest/AUNotificationComponent.test.tsx +115 -115
  9. package/__tests__/jest/AUSpinnerComponent.test.tsx +57 -57
  10. package/__tests__/jest/AUToolbarComponent.test.tsx +46 -46
  11. package/__tests__/jest/context.test.ts +25 -25
  12. package/__tests__/jest/helpers.test.ts +15 -15
  13. package/__tests__/jest/setupTests.ts +2 -2
  14. package/babel.config.js +8 -8
  15. package/build/umd/all.css +2 -2
  16. package/build/umd/all.js +1 -1
  17. package/build/umd/alphabox.js +1 -1
  18. package/build/umd/databox.js +1 -1
  19. package/build/umd/diagramme.js +1 -1
  20. package/build/umd/flowbox.js +1 -1
  21. package/build/umd/universe.js +1 -1
  22. package/build-storybook.log +367 -367
  23. package/package.json +114 -114
  24. package/src/components/AUAlertComponent.tsx +70 -70
  25. package/src/components/AUAutoSuggestComponent.js +158 -158
  26. package/src/components/AUButtonComponent.tsx +84 -84
  27. package/src/components/AUCalendarComponent.tsx +493 -493
  28. package/src/components/AUContentToggleComponent.tsx +47 -47
  29. package/src/components/AUDatepickerComponent.tsx +121 -121
  30. package/src/components/AUErrorComponent.tsx +78 -78
  31. package/src/components/AUMobilePrefixComponent.tsx +15 -15
  32. package/src/components/AUModalComponent.tsx +68 -68
  33. package/src/components/AUNotificationComponent.tsx +43 -43
  34. package/src/components/AUReceiptComponent.tsx +33 -33
  35. package/src/components/AUSpinnerComponent.tsx +36 -36
  36. package/src/components/AUStepComponent.tsx +47 -41
  37. package/src/components/AUSubNavComponent.tsx +48 -48
  38. package/src/components/AUSubmitButtonContainerComponent.tsx +29 -29
  39. package/src/components/AUTabbedContentComponent.tsx +145 -145
  40. package/src/components/AUTableComponent.tsx +24 -24
  41. package/src/components/AUToastComponent.tsx +104 -104
  42. package/src/components/AUToolbarComponent.tsx +101 -101
  43. package/src/components/AUTruncatorComponent.tsx +129 -129
  44. package/src/components/wrapping/AUEmbedComponent.js +47 -47
  45. package/src/layout-2016/components/alphabox/AlphaBoxComponent.js +143 -143
  46. package/src/layout-2016/components/alphabox/AlphaBoxContentComponent.js +136 -136
  47. package/src/layout-2016/components/common/AUCollapsibleComponent.js +152 -152
  48. package/src/layout-2016/components/common/AUSpinnerComponent.js +103 -103
  49. package/src/layout-2016/components/databox/DataBoxAlphabetComponent.js +144 -144
  50. package/src/layout-2016/components/databox/DataBoxAssociationComponent.js +122 -122
  51. package/src/layout-2016/components/databox/DataBoxButtonComponent.js +157 -157
  52. package/src/layout-2016/components/databox/DataBoxComponent.js +297 -297
  53. package/src/layout-2016/components/databox/DataBoxGroupingComponent.js +64 -64
  54. package/src/layout-2016/components/databox/DataBoxSearchResultComponent.js +36 -36
  55. package/src/layout-2016/components/databox/DataBoxStackedAssociationComponent.js +54 -54
  56. package/src/layout-2016/components/databox/DataBoxSuggestionComponent.js +39 -39
  57. package/src/layout-2016/components/diagramme/AUDiagrammeComponent.js +309 -309
  58. package/src/layout-2016/components/flowbox/FlowBoxComponent.js +126 -126
  59. package/src/layout-2016/components/flowbox/FlowBoxPhoneComponent.js +104 -104
  60. package/src/layout-2016/components/profile/AUProfileAvatar2016Component.js +103 -103
  61. package/src/layout-2016/components/universe/StaffTopComponent.js +363 -363
  62. package/src/layout-2016/components/universe/StudentTopComponent.js +137 -137
  63. package/src/layout-2016/components/universe/UniverseContainerComponent.js +65 -65
  64. package/src/layout-2016/lib/all.js +3 -3
  65. package/src/layout-2016/lib/au-alphabox.js +100 -100
  66. package/src/layout-2016/lib/au-databox.js +400 -400
  67. package/src/layout-2016/lib/au-diagramme.js +85 -85
  68. package/src/layout-2016/lib/au-flowbox.js +93 -93
  69. package/src/layout-2016/lib/universe.js +9 -9
  70. package/src/lib/context.tsx +51 -50
  71. package/src/lib/dates.ts +50 -50
  72. package/src/lib/helpers.ts +208 -208
  73. package/src/lib/hooks.ts +75 -75
  74. package/src/lib/i18n.ts +600 -600
  75. package/src/lib/portals.tsx +119 -103
  76. package/src/lib/tracking.ts +69 -69
  77. package/src/lib/wrapping.ts +21 -21
  78. package/src/styles/_settings.scss +10 -10
  79. package/src/styles/alphabox.scss +222 -222
  80. package/src/styles/app.scss +7 -7
  81. package/src/styles/autosuggest.scss +57 -57
  82. package/src/styles/databox.scss +563 -563
  83. package/src/styles/diagramme.scss +119 -119
  84. package/src/styles/flowbox.scss +72 -72
  85. package/src/styles/maps.scss +395 -395
  86. package/stories/AUButtonComponent.stories.tsx +127 -127
  87. package/stories/AUContentToggleComponent.stories.tsx +63 -63
  88. package/stories/AUErrorComponent.stories.tsx +98 -98
  89. package/stories/AUModalComponent.stories.tsx +83 -83
  90. package/stories/AUNotificationComponent.stories.tsx +116 -116
  91. package/stories/AUSpinnerComponent.stories.tsx +41 -41
  92. package/stories/AUStepComponent.stories.tsx +40 -40
  93. package/stories/AUToolbarComponent.stories.tsx +326 -326
  94. package/stories/lib/helpers.tsx +128 -128
  95. package/tsconfig.json +46 -46
  96. package/webpack.config.js +89 -89
package/build/umd/all.css CHANGED
@@ -1,3 +1,3 @@
1
- .au_alphabox{overflow:visible;margin-bottom:1rem;position:relative}.au_alphabox>.au_alphabox{margin-bottom:0}.dropdown-pane .au_alphabox{margin-bottom:0}.au_alphabox>div:not(.au_alphabox_content):not(.au_alphabox){padding:1rem 1rem 0 1rem;overflow:auto}.au_alphabox p.no-results{background-color:#fff;color:#555;padding:1rem}.au_alphabox li.no-results a{font-weight:bold}.au_alphabox ul.letters{display:flex;justify-content:flex-start;flex-flow:row wrap;font-size:1.1rem;margin-top:.15rem;margin-bottom:.75rem;margin-left:0;padding-bottom:.75rem}.au_alphabox ul.letters li{padding:0;margin:2px 2px;background-color:#aaa;text-align:center;font-size:1.2rem}.au_alphabox ul.letters li.available button{cursor:pointer;color:#fff}.au_alphabox ul.letters li.active{font-weight:bold}.au_alphabox ul.letters li:before{content:""}.au_alphabox ul.letters li button{font-family:"AUPassataRegular";color:#ccc;text-transform:uppercase;width:20px;line-height:inherit}.au_alphabox ul.items{padding:1rem;margin:0;position:relative}.student .au_alphabox{background:#2a4a0f}.student .au_alphabox .listNav .ln-letters a{background-color:#8bad3f}.student .au_alphabox .listNav .ln-letters a.ln-selected{color:#2a4a0f !important}.student .au_alphabox .listNav .ln-letters a.ln-disabled{background-color:#8bad3f}.student .au_alphabox .alphabox_list_container{border:2px solid #2a4a0f}.student .au_alphabox .alphabox_list_container h3{color:#8bad3f;border-bottom:2px solid #8bad3f}.student .au_alphabox .alphabox_list_container ul li:before{color:#8bad3f}.student .au_alphabox ul.quicklinks a{background:#447400}.au_alphabox h2{color:#fff;margin:0;border:0}.au_alphabox h2 a{color:#fff !important;border:none !important}.au_alphabox h2 a:hover{text-decoration:underline !important}.au_alphabox h3{color:#fff;margin:0 0 1rem 0 !important;padding-top:1rem;font-size:1.25rem;border-top:1px solid #fff}.au_alphabox input[type=text]{background:#afc3ce url("https://cdn.au.dk/2016/assets/img/databox/find.png") no-repeat right center;border:0;float:none;width:100%;margin-bottom:1.45455rem !important}.au_alphabox input[type=text].active{background-color:#afc3ce}.au_alphabox ::-webkit-input-placeholder{color:#333}.au_alphabox ::-moz-placeholder{color:#333;opacity:1}.au_alphabox :-ms-input-placeholder{color:#333}.au_alphabox .listNav{margin:0 0 calc(.5rem - 2px) 0;font-family:"AUPassataBold"}.au_alphabox .listNav .ln-letters{margin:1rem 0}.au_alphabox .listNav .ln-letters a{background-color:#006ca4;border:none !important;margin:0 2px 2px 0;color:#fff;padding:2px;font-size:1.25rem}.au_alphabox .listNav .ln-letters a.ln-selected{background-color:#fff;color:#006ca4 !important}.au_alphabox .listNav .ln-letters a.ln-disabled{background-color:#006ca4;color:#7c98a8 !important}.au_alphabox .listNav .ln-letters .all{display:none}.au_alphabox .alphabox_list_container{background:#fff;border:2px solid #006ca4;padding:0 1rem 0 1rem;display:none;overflow-y:scroll;-webkit-overflow-scrolling:touch}.au_alphabox .alphabox_list_container h3{color:#009ee0;border-bottom:2px solid #379fcb}.au_alphabox .alphabox_list_container>ul{max-height:200px;overflow:initial !important;margin-bottom:2em;position:relative}.au_alphabox .alphabox_list_container>ul li a{color:#003e5c;border-bottom:1px dotted}.au_alphabox ul.quicklinks{display:flex;flex-wrap:wrap;justify-content:space-between;margin-left:0}.au_alphabox ul.quicklinks li{font:1.25rem "AUPassataRegular";text-transform:uppercase;width:48.9%;padding:0;line-height:1;margin-bottom:6px}.au_alphabox ul.quicklinks li:nth-child(odd){margin-right:.5em}.au_alphabox ul.quicklinks li a{display:block;background:#006ca4;color:#fff;border:none !important;padding:.5em}@media(max-width: 400px){.au_alphabox ul.quicklinks li{width:100%;margin-right:0 !important;font-size:1.72727rem}}.au_alphabox .au_alphabox_content{margin-top:1rem;margin-bottom:1rem;clear:both}.au_alphabox .au_alphabox_content>div{background:#fff;max-height:300px;overflow-y:scroll}.react-autosuggest__container{cursor:pointer}.react-autosuggest__container input[type=text]{margin-bottom:0}.page__content__block .react-autosuggest__container{position:relative;width:100%}.page__content__block .react-autosuggest__suggestions-list{margin-top:0}.react-autosuggest__suggestions-container{border-left:1px solid #ccc;border-right:1px solid #ccc;position:absolute;left:0;right:0;background-color:#fff;margin:0;z-index:1;color:#333 !important;font-size:1.2727272727rem;line-height:1;max-height:430px;overflow:auto}.react-autosuggest__suggestions-container li,.react-autosuggest__suggestions-container li:before{list-style-type:none !important;background-image:none !important;margin:0;padding:0;content:"" !important;line-height:1 !important;background:none}li.react-autosuggest__suggestion{border-bottom:1px solid #ccc;padding:1.2727272727rem 1rem}.react-autosuggest__suggestion--highlighted{background-color:#f0f0f0 !important}.react-autosuggest__suggestions-list{margin-bottom:0;margin-left:0}.au_databox{margin-bottom:2em;position:relative}.au_databox .button-wrapper{position:relative}.au_databox .button-wrapper>div{width:100%;position:absolute;bottom:0}@media(max-width: 640px){.au_databox .button-wrapper{background-image:none !important;height:auto !important;position:static;overflow:auto}.au_databox .button-wrapper>div{position:static}.au_databox .button-wrapper .db-button{float:none;width:100% !important}.au_databox .button-wrapper .db-button>span{border-left:0 !important;height:51px}.au_databox .button-wrapper .db-button>input[type=text]{left:70px;top:11px}.au_databox .button-wrapper .buttons-5.first-line-full .button-wrapper{height:auto}.au_databox .button-wrapper .buttons-6 .button-wrapper{height:auto}}.au_databox .button-wrapper .au_focus{margin-bottom:0;padding-left:1rem}.au_databox .content{width:100%;background:#f0f0f0;padding:1rem 0;overflow:auto}.au_databox .content>div{padding:0 1rem;position:relative}.au_databox .content>div .expandall{position:absolute;right:10px;top:0;text-decoration:underline;cursor:pointer}.au_databox .content ul{margin-top:0;margin-left:0}.au_databox .content ul ul{margin-top:.65rem}.au_databox .content ul li a{text-decoration:none}.au_databox .content ul li a:hover{text-decoration:underline}.au_databox .content ul.letters{display:flex;justify-content:flex-start;flex-flow:row wrap;font-size:1.1rem;margin-top:.15rem;margin-bottom:.75rem;margin-left:0;padding-bottom:.75rem;border-bottom:1px solid #ccc}.au_databox .content ul.letters li{padding:0;margin:2px 2px;background-color:#aaa;text-align:center;font-size:1.2rem}.au_databox .content ul.letters li.available button{cursor:pointer;color:#fff}.au_databox .content ul.letters li.active{font-weight:bold}.au_databox .content ul.letters li:before{content:""}.au_databox .content ul.letters li button{font-family:"AUPassataRegular";color:#ccc;text-transform:uppercase;width:20px;line-height:inherit}.au_databox .content .au_collapsible{margin-bottom:0;padding:.6rem 0}.au_databox .content .au_collapsible>.csc-header{margin-bottom:1rem}.au_databox .content .au_collapsible>.csc-header:after{font-size:24px}.au_databox .content .au_collapsible>.csc-header h3{margin:0}.au_databox .content .au_collapsible.au_collapsed>.csc-header{margin-bottom:0}.au_databox .au_focus{margin-left:24px;position:absolute;margin-bottom:0}.au_databox .au_focus.before{position:static;padding:1.5em 0 1.5em 14px;margin-left:0}.au_databox .clear{clear:both}.au_databox.width-full{width:100%}.au_databox .db-button{float:left;text-indent:1rem;color:#fff;position:relative;text-align:left;padding:0;margin:0;border:0;font:1.7272727273rem "AUPassataRegular"}.au_databox .db-button:not(.db-search),.au_databox .db-button.search-filter{cursor:pointer}.au_databox .db-button>span{display:block;border-top:1px solid #fff;padding:16px 0px;line-height:1}.au_databox .db-button>span a{color:#fff;text-decoration:none}.au_databox .db-button>span a:hover{text-decoration:underline}.au_databox .db-button input[type=text]{font-size:1.25rem;position:absolute;top:11px;left:65px;background:#fff url("https://cdn.au.dk/2016/assets/img/databox/find.png") no-repeat right center;background:rgba(255,255,255,.75) url("https://cdn.au.dk/2016/assets/img/databox/find.png") no-repeat right center;border:0;width:calc(100% - 65px - 1rem);padding:0;margin:0;height:32px;text-indent:10px}.au_databox .db-button input[type=text].active{background:#fff;background:rgba(255,255,255,.75)}.au_databox .db-button.overlay{background:#ccc;background:rgba(204,204,204,.25)}.au_databox .db-button.active{background:#f0f0f0;color:#000}.au_databox .db-button.active a{color:#000}.au_databox.collapse .db-button:after{color:#fff;opacity:.8;font-family:"au_icons";content:"+";float:right;font-size:32px;position:absolute;top:10px;right:0;margin-right:.3em}.au_databox.collapse .db-button.active:after{color:#000;opacity:1;content:"-"}.au_databox.collapse .db-button.db-search:after{content:""}.au_databox.stacked .button-wrapper{background-image:none !important;height:auto !important;position:static}.au_databox.stacked .button-wrapper>div{position:static}.au_databox.stacked .button-wrapper .db-button{float:none;width:100% !important}.au_databox.stacked .button-wrapper .db-button>span{border-left:0 !important;height:51px}.au_databox.stacked .button-wrapper .db-button>input[type=text]{left:70px;top:11px}.au_databox.stacked .button-wrapper .buttons-5.first-line-full .button-wrapper{height:auto}.au_databox.stacked .button-wrapper .buttons-6 .button-wrapper{height:auto}.au_databox.stacked .content{padding-top:0}.au_databox.buttons-1 .au_focus{bottom:75px}.au_databox.buttons-1 .button-wrapper{height:51px}.au_databox.buttons-1 .db-button{width:100%}.au_databox.buttons-1 .db-button>span{text-indent:-9999px}.au_databox.buttons-1 .db-button>input[type=text]{left:14px}.au_databox.buttons-2 .button-wrapper{height:51px}.au_databox.buttons-2 .au_focus{bottom:75px}.au_databox.buttons-2 .db-button{width:50%}.au_databox.buttons-2 .db-button:nth-child(2) span{border-left:1px solid #fff}.au_databox.buttons-3 .button-wrapper{height:51px}.au_databox.buttons-3 .au_focus{bottom:75px}.au_databox.buttons-3.first-line-full .button-wrapper{height:102px}.au_databox.buttons-3.first-line-full .au_focus{bottom:126px}.au_databox.buttons-3.first-line-full .button-1{width:100%}.au_databox.buttons-3.first-line-full .button-2,.au_databox.buttons-3.first-line-full .button-3{width:50%}.au_databox.buttons-3.first-line-full .button-2 span{border-left:0}.au_databox.buttons-3.first-line-full .button-3 span{border-left:1px solid #fff}.au_databox.buttons-3 .button-1,.au_databox.buttons-3 .button-3{width:33%}.au_databox.buttons-3 .button-2{width:34%}.au_databox.buttons-3 .button-2 span,.au_databox.buttons-3 .button-3 span{border-left:1px solid #fff}.au_databox.buttons-4 .button-wrapper{height:102px}.au_databox.buttons-4 .au_focus{bottom:126px}.au_databox.buttons-4.first-line-full .button-1{width:100%}.au_databox.buttons-4.first-line-full .button-2 span{border-left:0}.au_databox.buttons-4.first-line-full .button-2,.au_databox.buttons-4.first-line-full .button-4{width:33%}.au_databox.buttons-4.first-line-full .button-3{width:34%}.au_databox.buttons-4.first-line-full .button-3 span,.au_databox.buttons-4.first-line-full .button-4 span{border-left:1px solid #fff}.au_databox.buttons-4 .db-button{width:50%}.au_databox.buttons-4 .button-2 span,.au_databox.buttons-4 .button-4 span{border-left:1px solid #fff}.au_databox.buttons-5 .button-wrapper{height:153px}.au_databox.buttons-5 .au_focus{bottom:177px}.au_databox.buttons-5.first-line-full .button-wrapper{height:102px}.au_databox.buttons-5.first-line-full .au_focus{bottom:126px}.au_databox.buttons-5.first-line-full .button-1{width:100%}.au_databox.buttons-5.first-line-full .button-2,.au_databox.buttons-5.first-line-full .button-3,.au_databox.buttons-5.first-line-full .button-4,.au_databox.buttons-5.first-line-full .button-5{width:25%}.au_databox.buttons-5.first-line-full .button-3 span,.au_databox.buttons-5.first-line-full .button-4 span,.au_databox.buttons-5.first-line-full .button-5 span{border-left:1px solid #fff}.au_databox.buttons-5 .button-1{width:100%}.au_databox.buttons-5 .button-2,.au_databox.buttons-5 .button-3,.au_databox.buttons-5 .button-4,.au_databox.buttons-5 .button-5{width:50%}.au_databox.buttons-5 .button-3 span,.au_databox.buttons-5 .button-5 span{border-left:1px solid #fff}.au_databox.buttons-6.first-line-full .button-wrapper{height:102px}.au_databox.buttons-6.first-line-full .au_focus{bottom:126px}.au_databox.buttons-6.first-line-full .button-1{width:100%}.au_databox.buttons-6.first-line-full .db-button.button-2 span{border-left:none}.au_databox.buttons-6.first-line-full .button-2,.au_databox.buttons-6.first-line-full .button-3,.au_databox.buttons-6.first-line-full .button-4,.au_databox.buttons-6.first-line-full .button-5,.au_databox.buttons-6.first-line-full .button-6{width:20%}.au_databox.buttons-6.first-line-full .button-3 span,.au_databox.buttons-6.first-line-full .button-4 span,.au_databox.buttons-6.first-line-full .button-5 span,.au_databox.buttons-6.first-line-full .button-6 span{border-left:1px solid #fff}.au_databox.buttons-6 .button-wrapper{height:153px}.au_databox.buttons-6 .au_focus{bottom:177px}.au_databox.buttons-6 .db-button{width:50%}.au_databox.buttons-6 .db-button:nth-child(even) span{border-left:1px solid #fff}.au_databox.buttons-7 .button-wrapper{height:153px}.au_databox.buttons-7 .au_focus{bottom:177px}.au_databox.buttons-7.first-line-full .button-wrapper{height:102px}.au_databox.buttons-7.first-line-full .au_focus{bottom:126px}.au_databox.buttons-7.first-line-full .button-1{width:100%}.au_databox.buttons-7.first-line-full .button-2,.au_databox.buttons-7.first-line-full .button-3,.au_databox.buttons-7.first-line-full .button-4,.au_databox.buttons-7.first-line-full .button-5,.au_databox.buttons-7.first-line-full .button-6,.au_databox.buttons-7.first-line-full .button-7{width:16.66667%}.au_databox.buttons-7.first-line-full .button-3 span,.au_databox.buttons-7.first-line-full .button-4 span,.au_databox.buttons-7.first-line-full .button-5 span,.au_databox.buttons-7.first-line-full .button-6 span,.au_databox.buttons-7.first-line-full .button-7 span{border-left:1px solid #fff}.au_databox.buttons-7 .button-1{width:100%}.au_databox.buttons-7 .button-2,.au_databox.buttons-7 .button-4,.au_databox.buttons-7 .button-5,.au_databox.buttons-7 .button-7{width:33%}.au_databox.buttons-7 .button-3,.au_databox.buttons-7 .button-6{width:34%}.au_databox.buttons-7 .button-3 span,.au_databox.buttons-7 .button-4 span,.au_databox.buttons-7 .button-6 span,.au_databox.buttons-7 .button-7 span{border-left:1px solid #fff}.utility-links .au_databox.stacked{margin-bottom:0}.utility-links .au_databox.stacked .content{max-height:200px;overflow:auto}.au_edutable_eddi_container .print{display:inline-block;margin-bottom:1rem}.study-diagramme{padding:1rem;margin-bottom:2rem;font-family:"AUPassataRegular";background-color:#e4e4e4}.study-diagramme.list p{padding:.6rem 1rem;contain:content}.study-diagramme.list p a{text-decoration:none}.study-diagramme.list p span:last-child{float:right}.study-diagramme table{table-layout:fixed;width:100%;border-collapse:collapse}.study-diagramme table,.study-diagramme thead,.study-diagramme tbody{background-color:rgba(0,0,0,0) !important}.study-diagramme tr{background-color:rgba(0,0,0,0) !important}.study-diagramme th{font-family:"AUPassataBold";font-weight:normal}.study-diagramme th,.study-diagramme td{border:4px solid #fefefe}.study-diagramme td{padding:0}.study-diagramme td:hover{background-color:#656565}.study-diagramme td:hover.sf a{color:#cfe1e7}.study-diagramme td:hover.obl a{color:#f2e4d4}.study-diagramme td:hover.val a{color:#d1e1d6}.study-diagramme td:hover.tlv a{color:#e9ccda}.study-diagramme td:hover.ogr a{color:#f2e4d4}.study-diagramme td a{padding:2rem 1rem;display:block;text-decoration:none;border-bottom:none !important;font-size:12px;word-break:break-word;hyphens:auto}.study-diagramme td[rowspan="1"] a{min-height:130px}.study-diagramme td[rowspan="2"] a{min-height:260px}.study-diagramme td[rowspan="3"] a{min-height:390px}.study-diagramme td[rowspan="4"] a{min-height:520px}.study-diagramme td[rowspan="5"] a{min-height:650px}.study-diagramme td[rowspan="6"] a{min-height:780px}.study-diagramme .sf{background-color:#cfe1e7}.study-diagramme .obl{background-color:#f2e4d4}.study-diagramme .val{background-color:#d1e1d6}.study-diagramme .tlv{background-color:#e9ccda}.study-diagramme .ogr{background-color:#f2e4d4}@media print{.study-diagramme.show-for-small-only{display:none}}.au_flowbox{background:#f0efef;padding:2rem;margin-bottom:1rem}.au_flowbox button{text-align:left;font-family:"AUPassataRegular";text-decoration:underline;cursor:pointer}.au_flowbox>div>h2{margin:0 0 1rem 0 !important;text-transform:uppercase;border:none !important;padding:0 !important}.au_flowbox .vcard{padding:1rem;background-color:rgba(255,255,255,.95);border:0 none;margin:0 0 1rem 0}.au_flowbox .vcard .fn{font-weight:bold;font-size:1.3636363636rem}.au_flowbox .vcard p{font-family:inherit;font-size:1.2rem;font-weight:normal;line-height:1.6;margin-bottom:1.8181818182rem;text-rendering:optimizeLegibility}.au_flowbox.partner{background:#379fcb}.au_flowbox.partner>div>h2{color:#fff}.au_flowbox.partner>div>p{color:#fff}.au_flowbox.partner>div>p a{color:#fff !important;border-bottom:none !important;text-decoration:underline !important}.au_flowbox.partner>div>ul li{padding-left:0}.au_flowbox.partner>div>ul li::before{display:none}.au_flowbox_data{display:none}.au_staffcontactbox{color:#fff;padding:1.3636364rem;background-color:#379fcb;margin-bottom:1em}.au_staffcontactbox>h2{color:#fff;text-transform:uppercase;margin:0 0 1em 0 !important}@font-face{font-family:"font-awesome";src:url("https://fonts.au.dk/fonts/fa-pro-regular-400.otf");font-weight:400;font-style:normal}.layout13 .au-map,.layout14 .au-map,.layout15 .au-map,.layout16 .au-map,.layout17 .au-map{margin-bottom:1.363636364rem}.layout13 .au-map .react-autosuggest__container,.layout14 .au-map .react-autosuggest__container,.layout15 .au-map .react-autosuggest__container,.layout16 .au-map .react-autosuggest__container,.layout17 .au-map .react-autosuggest__container{margin-bottom:1rem;position:relative}.layout13 .au-map .react-autosuggest__suggestions-container,.layout14 .au-map .react-autosuggest__suggestions-container,.layout15 .au-map .react-autosuggest__suggestions-container,.layout16 .au-map .react-autosuggest__suggestions-container,.layout17 .au-map .react-autosuggest__suggestions-container{max-height:none;overflow:visible}.layout13 .au-map .react-autosuggest__suggestions-container li:nth-child(n+21),.layout14 .au-map .react-autosuggest__suggestions-container li:nth-child(n+21),.layout15 .au-map .react-autosuggest__suggestions-container li:nth-child(n+21),.layout16 .au-map .react-autosuggest__suggestions-container li:nth-child(n+21),.layout17 .au-map .react-autosuggest__suggestions-container li:nth-child(n+21){display:none}.layout13 .au-map .gm-style-iw .au_collapsible,.layout13 .au-map .gm-style-iw hr,.layout14 .au-map .gm-style-iw .au_collapsible,.layout14 .au-map .gm-style-iw hr,.layout15 .au-map .gm-style-iw .au_collapsible,.layout15 .au-map .gm-style-iw hr,.layout16 .au-map .gm-style-iw .au_collapsible,.layout16 .au-map .gm-style-iw hr,.layout17 .au-map .gm-style-iw .au_collapsible,.layout17 .au-map .gm-style-iw hr{display:none}.layout13 .au-map__search,.layout14 .au-map__search,.layout15 .au-map__search,.layout16 .au-map__search,.layout17 .au-map__search{display:flex}.layout13 .au-map__search>div,.layout14 .au-map__search>div,.layout15 .au-map__search>div,.layout16 .au-map__search>div,.layout17 .au-map__search>div{flex-basis:85%}@media(max-width: 640px){.layout13 .au-map__search>div,.layout14 .au-map__search>div,.layout15 .au-map__search>div,.layout16 .au-map__search>div,.layout17 .au-map__search>div{flex-basis:76%}}.layout13 .au-map__search button,.layout14 .au-map__search button,.layout15 .au-map__search button,.layout16 .au-map__search button,.layout17 .au-map__search button{flex-basis:15%;font-family:"AUPassataRegular";border-top:1px solid #ccc;border-right:1px solid #ccc;border-bottom:1px solid #ccc;height:3.5454545464rem;cursor:pointer;background:none;color:#000;padding:0}.layout13 .au-map__search button:hover,.layout14 .au-map__search button:hover,.layout15 .au-map__search button:hover,.layout16 .au-map__search button:hover,.layout17 .au-map__search button:hover{background:none;color:inherit}.layout13 .au-map__search button span::before,.layout14 .au-map__search button span::before,.layout15 .au-map__search button span::before,.layout16 .au-map__search button span::before,.layout17 .au-map__search button span::before{font-family:"font-awesome";content:"";display:inline-block;margin-right:1rem}@media(max-width: 640px){.layout13 .au-map__search button,.layout14 .au-map__search button,.layout15 .au-map__search button,.layout16 .au-map__search button,.layout17 .au-map__search button{flex-basis:24%}}.layout13 .au-map__overlay-buttons,.layout14 .au-map__overlay-buttons,.layout15 .au-map__overlay-buttons,.layout16 .au-map__overlay-buttons,.layout17 .au-map__overlay-buttons{display:flex;flex-wrap:wrap}.layout13 .au-map__overlay-buttons button,.layout14 .au-map__overlay-buttons button,.layout15 .au-map__overlay-buttons button,.layout16 .au-map__overlay-buttons button,.layout17 .au-map__overlay-buttons button{margin-right:1rem}.layout13 .au-map__person-suggestion>div:first-child,.layout14 .au-map__person-suggestion>div:first-child,.layout15 .au-map__person-suggestion>div:first-child,.layout16 .au-map__person-suggestion>div:first-child,.layout17 .au-map__person-suggestion>div:first-child{padding-left:1.363636364rem;width:15%}.layout13 .au-map__person-suggestion>div:last-child,.layout14 .au-map__person-suggestion>div:last-child,.layout15 .au-map__person-suggestion>div:last-child,.layout16 .au-map__person-suggestion>div:last-child,.layout17 .au-map__person-suggestion>div:last-child{padding-left:1.363636364rem;width:85%}.layout13 .au-map__person-suggestion h4,.layout13 .au-map__person-suggestion p,.layout14 .au-map__person-suggestion h4,.layout14 .au-map__person-suggestion p,.layout15 .au-map__person-suggestion h4,.layout15 .au-map__person-suggestion p,.layout16 .au-map__person-suggestion h4,.layout16 .au-map__person-suggestion p,.layout17 .au-map__person-suggestion h4,.layout17 .au-map__person-suggestion p{margin:0}.layout13 .au-map__person-suggestion img,.layout14 .au-map__person-suggestion img,.layout15 .au-map__person-suggestion img,.layout16 .au-map__person-suggestion img,.layout17 .au-map__person-suggestion img{max-width:100px}.layout13 .au-map .vcard>h2,.layout13 .au-map .bld-card>h2,.layout13 .au-map .overlay-card>h2,.layout13 .au-map .top-search>h2,.layout14 .au-map .vcard>h2,.layout14 .au-map .bld-card>h2,.layout14 .au-map .overlay-card>h2,.layout14 .au-map .top-search>h2,.layout15 .au-map .vcard>h2,.layout15 .au-map .bld-card>h2,.layout15 .au-map .overlay-card>h2,.layout15 .au-map .top-search>h2,.layout16 .au-map .vcard>h2,.layout16 .au-map .bld-card>h2,.layout16 .au-map .overlay-card>h2,.layout16 .au-map .top-search>h2,.layout17 .au-map .vcard>h2,.layout17 .au-map .bld-card>h2,.layout17 .au-map .overlay-card>h2,.layout17 .au-map .top-search>h2{margin-top:0}.layout13 .au-map .vcard button,.layout13 .au-map .bld-card button,.layout13 .au-map .overlay-card button,.layout13 .au-map .top-search button,.layout14 .au-map .vcard button,.layout14 .au-map .bld-card button,.layout14 .au-map .overlay-card button,.layout14 .au-map .top-search button,.layout15 .au-map .vcard button,.layout15 .au-map .bld-card button,.layout15 .au-map .overlay-card button,.layout15 .au-map .top-search button,.layout16 .au-map .vcard button,.layout16 .au-map .bld-card button,.layout16 .au-map .overlay-card button,.layout16 .au-map .top-search button,.layout17 .au-map .vcard button,.layout17 .au-map .bld-card button,.layout17 .au-map .overlay-card button,.layout17 .au-map .top-search button{cursor:pointer;text-decoration:underline;font-family:inherit;text-align:left}.layout13 .au-map .vcard strong button,.layout13 .au-map .bld-card strong button,.layout13 .au-map .overlay-card strong button,.layout13 .au-map .top-search strong button,.layout14 .au-map .vcard strong button,.layout14 .au-map .bld-card strong button,.layout14 .au-map .overlay-card strong button,.layout14 .au-map .top-search strong button,.layout15 .au-map .vcard strong button,.layout15 .au-map .bld-card strong button,.layout15 .au-map .overlay-card strong button,.layout15 .au-map .top-search strong button,.layout16 .au-map .vcard strong button,.layout16 .au-map .bld-card strong button,.layout16 .au-map .overlay-card strong button,.layout16 .au-map .top-search strong button,.layout17 .au-map .vcard strong button,.layout17 .au-map .bld-card strong button,.layout17 .au-map .overlay-card strong button,.layout17 .au-map .top-search strong button{font-weight:bold}@media(max-width: 640px){.layout13 .au-map .vcard,.layout13 .au-map .bld-card,.layout13 .au-map .overlay-card,.layout13 .au-map .top-search,.layout14 .au-map .vcard,.layout14 .au-map .bld-card,.layout14 .au-map .overlay-card,.layout14 .au-map .top-search,.layout15 .au-map .vcard,.layout15 .au-map .bld-card,.layout15 .au-map .overlay-card,.layout15 .au-map .top-search,.layout16 .au-map .vcard,.layout16 .au-map .bld-card,.layout16 .au-map .overlay-card,.layout16 .au-map .top-search,.layout17 .au-map .vcard,.layout17 .au-map .bld-card,.layout17 .au-map .overlay-card,.layout17 .au-map .top-search{padding:1.363636364rem 0}}.layout13 .au-map .vcard img,.layout14 .au-map .vcard img,.layout15 .au-map .vcard img,.layout16 .au-map .vcard img,.layout17 .au-map .vcard img{float:right;margin-left:1.363636364rem;margin-bottom:1.363636364rem;max-width:120px}.layout13 .au-map .vcard::after,.layout14 .au-map .vcard::after,.layout15 .au-map .vcard::after,.layout16 .au-map .vcard::after,.layout17 .au-map .vcard::after{display:block;content:"";clear:both}.layout13 .au-map__route,.layout14 .au-map__route,.layout15 .au-map__route,.layout16 .au-map__route,.layout17 .au-map__route{margin-bottom:1.363636364rem}.layout13 .au-map .show-on-map,.layout14 .au-map .show-on-map,.layout15 .au-map .show-on-map,.layout16 .au-map .show-on-map,.layout17 .au-map .show-on-map{display:none}.layout13 .au-map .au_collapsible .csc-header+*,.layout14 .au-map .au_collapsible .csc-header+*,.layout15 .au-map .au_collapsible .csc-header+*,.layout16 .au-map .au_collapsible .csc-header+*,.layout17 .au-map .au_collapsible .csc-header+*{position:relative;max-height:350px;overflow-y:auto}.layout13 .au-map__directions-panel,.layout14 .au-map__directions-panel,.layout15 .au-map__directions-panel,.layout16 .au-map__directions-panel,.layout17 .au-map__directions-panel{display:flex;flex-wrap:wrap;padding:1rem 0 1rem 1rem;margin-bottom:1rem;border:1px solid #cacaca}.layout13 .au-map__directions-panel__modes-of-transportation,.layout14 .au-map__directions-panel__modes-of-transportation,.layout15 .au-map__directions-panel__modes-of-transportation,.layout16 .au-map__directions-panel__modes-of-transportation,.layout17 .au-map__directions-panel__modes-of-transportation{flex-basis:100%;display:flex}.layout13 .au-map__directions-panel__from-to,.layout14 .au-map__directions-panel__from-to,.layout15 .au-map__directions-panel__from-to,.layout16 .au-map__directions-panel__from-to,.layout17 .au-map__directions-panel__from-to{flex-basis:85%}.layout13 .au-map__directions-panel__swap,.layout14 .au-map__directions-panel__swap,.layout15 .au-map__directions-panel__swap,.layout16 .au-map__directions-panel__swap,.layout17 .au-map__directions-panel__swap{flex-basis:15%;display:flex;align-items:center;justify-content:center}.layout13 .au-map__directions-panel .button-route,.layout14 .au-map__directions-panel .button-route,.layout15 .au-map__directions-panel .button-route,.layout16 .au-map__directions-panel .button-route,.layout17 .au-map__directions-panel .button-route{background-color:rgba(0,0,0,0);color:#878787;height:3rem;overflow:hidden;padding:0;margin-right:1rem;display:inline-flex;border:none}.layout13 .au-map__directions-panel .button-route--selected,.layout14 .au-map__directions-panel .button-route--selected,.layout15 .au-map__directions-panel .button-route--selected,.layout16 .au-map__directions-panel .button-route--selected,.layout17 .au-map__directions-panel .button-route--selected{border-bottom:2px solid #000}.layout13 .au-map__directions-panel .button-route::before,.layout14 .au-map__directions-panel .button-route::before,.layout15 .au-map__directions-panel .button-route::before,.layout16 .au-map__directions-panel .button-route::before,.layout17 .au-map__directions-panel .button-route::before{font-family:"font-awesome";font-size:2rem;display:inline-block}.layout13 .au-map__directions-panel .button-route--car,.layout14 .au-map__directions-panel .button-route--car,.layout15 .au-map__directions-panel .button-route--car,.layout16 .au-map__directions-panel .button-route--car,.layout17 .au-map__directions-panel .button-route--car{width:22px}.layout13 .au-map__directions-panel .button-route--car::before,.layout14 .au-map__directions-panel .button-route--car::before,.layout15 .au-map__directions-panel .button-route--car::before,.layout16 .au-map__directions-panel .button-route--car::before,.layout17 .au-map__directions-panel .button-route--car::before{content:""}.layout13 .au-map__directions-panel .button-route--walk,.layout14 .au-map__directions-panel .button-route--walk,.layout15 .au-map__directions-panel .button-route--walk,.layout16 .au-map__directions-panel .button-route--walk,.layout17 .au-map__directions-panel .button-route--walk{width:13px}.layout13 .au-map__directions-panel .button-route--walk::before,.layout14 .au-map__directions-panel .button-route--walk::before,.layout15 .au-map__directions-panel .button-route--walk::before,.layout16 .au-map__directions-panel .button-route--walk::before,.layout17 .au-map__directions-panel .button-route--walk::before{content:""}.layout13 .au-map__directions-panel .button-route--bicycle,.layout14 .au-map__directions-panel .button-route--bicycle,.layout15 .au-map__directions-panel .button-route--bicycle,.layout16 .au-map__directions-panel .button-route--bicycle,.layout17 .au-map__directions-panel .button-route--bicycle{width:27px}.layout13 .au-map__directions-panel .button-route--bicycle::before,.layout14 .au-map__directions-panel .button-route--bicycle::before,.layout15 .au-map__directions-panel .button-route--bicycle::before,.layout16 .au-map__directions-panel .button-route--bicycle::before,.layout17 .au-map__directions-panel .button-route--bicycle::before{content:""}.layout13 .au-map__directions-panel .button-route--public,.layout14 .au-map__directions-panel .button-route--public,.layout15 .au-map__directions-panel .button-route--public,.layout16 .au-map__directions-panel .button-route--public,.layout17 .au-map__directions-panel .button-route--public{width:22px;padding-top:4px}.layout13 .au-map__directions-panel .button-route--public::before,.layout14 .au-map__directions-panel .button-route--public::before,.layout15 .au-map__directions-panel .button-route--public::before,.layout16 .au-map__directions-panel .button-route--public::before,.layout17 .au-map__directions-panel .button-route--public::before{content:""}.layout13 .au-map__directions-panel .button-route--close,.layout14 .au-map__directions-panel .button-route--close,.layout15 .au-map__directions-panel .button-route--close,.layout16 .au-map__directions-panel .button-route--close,.layout17 .au-map__directions-panel .button-route--close{margin-left:auto;width:14px}.layout13 .au-map__directions-panel .button-route--close::before,.layout14 .au-map__directions-panel .button-route--close::before,.layout15 .au-map__directions-panel .button-route--close::before,.layout16 .au-map__directions-panel .button-route--close::before,.layout17 .au-map__directions-panel .button-route--close::before{content:""}.layout13 .au-map__directions-panel .button-route--swap,.layout14 .au-map__directions-panel .button-route--swap,.layout15 .au-map__directions-panel .button-route--swap,.layout16 .au-map__directions-panel .button-route--swap,.layout17 .au-map__directions-panel .button-route--swap{margin:0 0 1.45455rem 0;width:24px}.layout13 .au-map__directions-panel .button-route--swap::before,.layout14 .au-map__directions-panel .button-route--swap::before,.layout15 .au-map__directions-panel .button-route--swap::before,.layout16 .au-map__directions-panel .button-route--swap::before,.layout17 .au-map__directions-panel .button-route--swap::before{font-size:3rem;content:""}.layout13 .au-map__suggestion,.layout14 .au-map__suggestion,.layout15 .au-map__suggestion,.layout16 .au-map__suggestion,.layout17 .au-map__suggestion{display:inline-block}.layout13 .au-map__suggestion::before,.layout14 .au-map__suggestion::before,.layout15 .au-map__suggestion::before,.layout16 .au-map__suggestion::before,.layout17 .au-map__suggestion::before{font-family:"font-awesome";display:inline-block;margin-right:.5rem}.layout13 .au-map__suggestion__building::before,.layout14 .au-map__suggestion__building::before,.layout15 .au-map__suggestion__building::before,.layout16 .au-map__suggestion__building::before,.layout17 .au-map__suggestion__building::before{content:""}.layout13 .au-map__suggestion__department::before,.layout14 .au-map__suggestion__department::before,.layout15 .au-map__suggestion__department::before,.layout16 .au-map__suggestion__department::before,.layout17 .au-map__suggestion__department::before{content:""}.layout13 .au-map__suggestion__denmark::before,.layout14 .au-map__suggestion__denmark::before,.layout15 .au-map__suggestion__denmark::before,.layout16 .au-map__suggestion__denmark::before,.layout17 .au-map__suggestion__denmark::before{content:""}.layout13 .au-map__suggestion__denmark::before,.layout14 .au-map__suggestion__denmark::before,.layout15 .au-map__suggestion__denmark::before,.layout16 .au-map__suggestion__denmark::before,.layout17 .au-map__suggestion__denmark::before{content:""}.layout13 .au-map__suggestion__lecture-hall::before,.layout14 .au-map__suggestion__lecture-hall::before,.layout15 .au-map__suggestion__lecture-hall::before,.layout16 .au-map__suggestion__lecture-hall::before,.layout17 .au-map__suggestion__lecture-hall::before{content:""}.layout13 .au-map__suggestion__library::before,.layout14 .au-map__suggestion__library::before,.layout15 .au-map__suggestion__library::before,.layout16 .au-map__suggestion__library::before,.layout17 .au-map__suggestion__library::before{content:""}.layout13 .au-map__suggestion__friday-bar::before,.layout14 .au-map__suggestion__friday-bar::before,.layout15 .au-map__suggestion__friday-bar::before,.layout16 .au-map__suggestion__friday-bar::before,.layout17 .au-map__suggestion__friday-bar::before{content:""}.layout13 .au-map__suggestion__study-place::before,.layout14 .au-map__suggestion__study-place::before,.layout15 .au-map__suggestion__study-place::before,.layout16 .au-map__suggestion__study-place::before,.layout17 .au-map__suggestion__study-place::before{content:""}.layout13 .au-map__suggestion__canteen::before,.layout14 .au-map__suggestion__canteen::before,.layout15 .au-map__suggestion__canteen::before,.layout16 .au-map__suggestion__canteen::before,.layout17 .au-map__suggestion__canteen::before{content:""}.layout13 .au-map__suggestion__counselling::before,.layout14 .au-map__suggestion__counselling::before,.layout15 .au-map__suggestion__counselling::before,.layout16 .au-map__suggestion__counselling::before,.layout17 .au-map__suggestion__counselling::before{content:""}.layout13 .au-map__suggestion__it-support::before,.layout14 .au-map__suggestion__it-support::before,.layout15 .au-map__suggestion__it-support::before,.layout16 .au-map__suggestion__it-support::before,.layout17 .au-map__suggestion__it-support::before{content:""}.layout13 .au-map__suggestion__myprint::before,.layout14 .au-map__suggestion__myprint::before,.layout15 .au-map__suggestion__myprint::before,.layout16 .au-map__suggestion__myprint::before,.layout17 .au-map__suggestion__myprint::before{content:""}.layout13 .au-map.find-container>.row>.column,.layout13 .dropdown-pane .find-container>.row>.column,.layout14 .au-map.find-container>.row>.column,.layout14 .dropdown-pane .find-container>.row>.column,.layout15 .au-map.find-container>.row>.column,.layout15 .dropdown-pane .find-container>.row>.column,.layout16 .au-map.find-container>.row>.column,.layout16 .dropdown-pane .find-container>.row>.column,.layout17 .au-map.find-container>.row>.column,.layout17 .dropdown-pane .find-container>.row>.column{position:relative}.layout13 .au-map.find-container h3,.layout13 .dropdown-pane .find-container h3,.layout14 .au-map.find-container h3,.layout14 .dropdown-pane .find-container h3,.layout15 .au-map.find-container h3,.layout15 .dropdown-pane .find-container h3,.layout16 .au-map.find-container h3,.layout16 .dropdown-pane .find-container h3,.layout17 .au-map.find-container h3,.layout17 .dropdown-pane .find-container h3{margin-top:0}.layout13 .au-map.find-container .au-map__person-suggestion img,.layout13 .dropdown-pane .find-container .au-map__person-suggestion img,.layout14 .au-map.find-container .au-map__person-suggestion img,.layout14 .dropdown-pane .find-container .au-map__person-suggestion img,.layout15 .au-map.find-container .au-map__person-suggestion img,.layout15 .dropdown-pane .find-container .au-map__person-suggestion img,.layout16 .au-map.find-container .au-map__person-suggestion img,.layout16 .dropdown-pane .find-container .au-map__person-suggestion img,.layout17 .au-map.find-container .au-map__person-suggestion img,.layout17 .dropdown-pane .find-container .au-map__person-suggestion img{max-width:30px}.layout13 .au-map.find-container .react-autosuggest__suggestions-container li,.layout13 .dropdown-pane .find-container .react-autosuggest__suggestions-container li,.layout14 .au-map.find-container .react-autosuggest__suggestions-container li,.layout14 .dropdown-pane .find-container .react-autosuggest__suggestions-container li,.layout15 .au-map.find-container .react-autosuggest__suggestions-container li,.layout15 .dropdown-pane .find-container .react-autosuggest__suggestions-container li,.layout16 .au-map.find-container .react-autosuggest__suggestions-container li,.layout16 .dropdown-pane .find-container .react-autosuggest__suggestions-container li,.layout17 .au-map.find-container .react-autosuggest__suggestions-container li,.layout17 .dropdown-pane .find-container .react-autosuggest__suggestions-container li{margin-bottom:0}.layout13 .au-map.find-container .vcard,.layout13 .au-map.find-container .bld-card,.layout13 .dropdown-pane .find-container .vcard,.layout13 .dropdown-pane .find-container .bld-card,.layout14 .au-map.find-container .vcard,.layout14 .au-map.find-container .bld-card,.layout14 .dropdown-pane .find-container .vcard,.layout14 .dropdown-pane .find-container .bld-card,.layout15 .au-map.find-container .vcard,.layout15 .au-map.find-container .bld-card,.layout15 .dropdown-pane .find-container .vcard,.layout15 .dropdown-pane .find-container .bld-card,.layout16 .au-map.find-container .vcard,.layout16 .au-map.find-container .bld-card,.layout16 .dropdown-pane .find-container .vcard,.layout16 .dropdown-pane .find-container .bld-card,.layout17 .au-map.find-container .vcard,.layout17 .au-map.find-container .bld-card,.layout17 .dropdown-pane .find-container .vcard,.layout17 .dropdown-pane .find-container .bld-card{margin-top:1.363636364rem;padding:1rem;background:#fff;color:#333;font-size:1.25rem;font-family:Georgia,"Times New Roman",Times,serif}.layout13 .au-map.find-container .vcard hr,.layout13 .au-map.find-container .bld-card hr,.layout13 .dropdown-pane .find-container .vcard hr,.layout13 .dropdown-pane .find-container .bld-card hr,.layout14 .au-map.find-container .vcard hr,.layout14 .au-map.find-container .bld-card hr,.layout14 .dropdown-pane .find-container .vcard hr,.layout14 .dropdown-pane .find-container .bld-card hr,.layout15 .au-map.find-container .vcard hr,.layout15 .au-map.find-container .bld-card hr,.layout15 .dropdown-pane .find-container .vcard hr,.layout15 .dropdown-pane .find-container .bld-card hr,.layout16 .au-map.find-container .vcard hr,.layout16 .au-map.find-container .bld-card hr,.layout16 .dropdown-pane .find-container .vcard hr,.layout16 .dropdown-pane .find-container .bld-card hr,.layout17 .au-map.find-container .vcard hr,.layout17 .au-map.find-container .bld-card hr,.layout17 .dropdown-pane .find-container .vcard hr,.layout17 .dropdown-pane .find-container .bld-card hr{display:none}.layout13 .au-map.find-container .vcard img,.layout13 .au-map.find-container .bld-card img,.layout13 .dropdown-pane .find-container .vcard img,.layout13 .dropdown-pane .find-container .bld-card img,.layout14 .au-map.find-container .vcard img,.layout14 .au-map.find-container .bld-card img,.layout14 .dropdown-pane .find-container .vcard img,.layout14 .dropdown-pane .find-container .bld-card img,.layout15 .au-map.find-container .vcard img,.layout15 .au-map.find-container .bld-card img,.layout15 .dropdown-pane .find-container .vcard img,.layout15 .dropdown-pane .find-container .bld-card img,.layout16 .au-map.find-container .vcard img,.layout16 .au-map.find-container .bld-card img,.layout16 .dropdown-pane .find-container .vcard img,.layout16 .dropdown-pane .find-container .bld-card img,.layout17 .au-map.find-container .vcard img,.layout17 .au-map.find-container .bld-card img,.layout17 .dropdown-pane .find-container .vcard img,.layout17 .dropdown-pane .find-container .bld-card img{width:70px;float:right;margin-left:1rem}.layout13 .au-map.find-container .vcard a,.layout13 .au-map.find-container .bld-card a,.layout13 .dropdown-pane .find-container .vcard a,.layout13 .dropdown-pane .find-container .bld-card a,.layout14 .au-map.find-container .vcard a,.layout14 .au-map.find-container .bld-card a,.layout14 .dropdown-pane .find-container .vcard a,.layout14 .dropdown-pane .find-container .bld-card a,.layout15 .au-map.find-container .vcard a,.layout15 .au-map.find-container .bld-card a,.layout15 .dropdown-pane .find-container .vcard a,.layout15 .dropdown-pane .find-container .bld-card a,.layout16 .au-map.find-container .vcard a,.layout16 .au-map.find-container .bld-card a,.layout16 .dropdown-pane .find-container .vcard a,.layout16 .dropdown-pane .find-container .bld-card a,.layout17 .au-map.find-container .vcard a,.layout17 .au-map.find-container .bld-card a,.layout17 .dropdown-pane .find-container .vcard a,.layout17 .dropdown-pane .find-container .bld-card a{color:#000 !important;text-decoration:underline}
2
-
1
+ .au_alphabox{overflow:visible;margin-bottom:1rem;position:relative}.au_alphabox>.au_alphabox{margin-bottom:0}.dropdown-pane .au_alphabox{margin-bottom:0}.au_alphabox>div:not(.au_alphabox_content):not(.au_alphabox){padding:1rem 1rem 0 1rem;overflow:auto}.au_alphabox p.no-results{background-color:#fff;color:#555;padding:1rem}.au_alphabox li.no-results a{font-weight:bold}.au_alphabox ul.letters{display:flex;justify-content:flex-start;flex-flow:row wrap;font-size:1.1rem;margin-top:.15rem;margin-bottom:.75rem;margin-left:0;padding-bottom:.75rem}.au_alphabox ul.letters li{padding:0;margin:2px 2px;background-color:#aaa;text-align:center;font-size:1.2rem}.au_alphabox ul.letters li.available button{cursor:pointer;color:#fff}.au_alphabox ul.letters li.active{font-weight:bold}.au_alphabox ul.letters li:before{content:""}.au_alphabox ul.letters li button{font-family:"AUPassataRegular";color:#ccc;text-transform:uppercase;width:20px;line-height:inherit}.au_alphabox ul.items{padding:1rem;margin:0;position:relative}.student .au_alphabox{background:#2a4a0f}.student .au_alphabox .listNav .ln-letters a{background-color:#8bad3f}.student .au_alphabox .listNav .ln-letters a.ln-selected{color:#2a4a0f !important}.student .au_alphabox .listNav .ln-letters a.ln-disabled{background-color:#8bad3f}.student .au_alphabox .alphabox_list_container{border:2px solid #2a4a0f}.student .au_alphabox .alphabox_list_container h3{color:#8bad3f;border-bottom:2px solid #8bad3f}.student .au_alphabox .alphabox_list_container ul li:before{color:#8bad3f}.student .au_alphabox ul.quicklinks a{background:#447400}.au_alphabox h2{color:#fff;margin:0;border:0}.au_alphabox h2 a{color:#fff !important;border:none !important}.au_alphabox h2 a:hover{text-decoration:underline !important}.au_alphabox h3{color:#fff;margin:0 0 1rem 0 !important;padding-top:1rem;font-size:1.25rem;border-top:1px solid #fff}.au_alphabox input[type=text]{background:#afc3ce url("https://cdn.au.dk/2016/assets/img/databox/find.png") no-repeat right center;border:0;float:none;width:100%;margin-bottom:1.45455rem !important}.au_alphabox input[type=text].active{background-color:#afc3ce}.au_alphabox ::-webkit-input-placeholder{color:#333}.au_alphabox ::-moz-placeholder{color:#333;opacity:1}.au_alphabox :-ms-input-placeholder{color:#333}.au_alphabox .listNav{margin:0 0 calc(.5rem - 2px) 0;font-family:"AUPassataBold"}.au_alphabox .listNav .ln-letters{margin:1rem 0}.au_alphabox .listNav .ln-letters a{background-color:#006ca4;border:none !important;margin:0 2px 2px 0;color:#fff;padding:2px;font-size:1.25rem}.au_alphabox .listNav .ln-letters a.ln-selected{background-color:#fff;color:#006ca4 !important}.au_alphabox .listNav .ln-letters a.ln-disabled{background-color:#006ca4;color:#7c98a8 !important}.au_alphabox .listNav .ln-letters .all{display:none}.au_alphabox .alphabox_list_container{background:#fff;border:2px solid #006ca4;padding:0 1rem 0 1rem;display:none;overflow-y:scroll;-webkit-overflow-scrolling:touch}.au_alphabox .alphabox_list_container h3{color:#009ee0;border-bottom:2px solid #379fcb}.au_alphabox .alphabox_list_container>ul{max-height:200px;overflow:initial !important;margin-bottom:2em;position:relative}.au_alphabox .alphabox_list_container>ul li a{color:#003e5c;border-bottom:1px dotted}.au_alphabox ul.quicklinks{display:flex;flex-wrap:wrap;justify-content:space-between;margin-left:0}.au_alphabox ul.quicklinks li{font:1.25rem "AUPassataRegular";text-transform:uppercase;width:48.9%;padding:0;line-height:1;margin-bottom:6px}.au_alphabox ul.quicklinks li:nth-child(odd){margin-right:.5em}.au_alphabox ul.quicklinks li a{display:block;background:#006ca4;color:#fff;border:none !important;padding:.5em}@media(max-width: 400px){.au_alphabox ul.quicklinks li{width:100%;margin-right:0 !important;font-size:1.72727rem}}.au_alphabox .au_alphabox_content{margin-top:1rem;margin-bottom:1rem;clear:both}.au_alphabox .au_alphabox_content>div{background:#fff;max-height:300px;overflow-y:scroll}.react-autosuggest__container{cursor:pointer}.react-autosuggest__container input[type=text]{margin-bottom:0}.page__content__block .react-autosuggest__container{position:relative;width:100%}.page__content__block .react-autosuggest__suggestions-list{margin-top:0}.react-autosuggest__suggestions-container{border-left:1px solid #ccc;border-right:1px solid #ccc;position:absolute;left:0;right:0;background-color:#fff;margin:0;z-index:1;color:#333 !important;font-size:1.2727272727rem;line-height:1;max-height:430px;overflow:auto}.react-autosuggest__suggestions-container li,.react-autosuggest__suggestions-container li:before{list-style-type:none !important;background-image:none !important;margin:0;padding:0;content:"" !important;line-height:1 !important;background:none}li.react-autosuggest__suggestion{border-bottom:1px solid #ccc;padding:1.2727272727rem 1rem}.react-autosuggest__suggestion--highlighted{background-color:#f0f0f0 !important}.react-autosuggest__suggestions-list{margin-bottom:0;margin-left:0}.au_databox{margin-bottom:2em;position:relative}.au_databox .button-wrapper{position:relative}.au_databox .button-wrapper>div{width:100%;position:absolute;bottom:0}@media(max-width: 640px){.au_databox .button-wrapper{background-image:none !important;height:auto !important;position:static;overflow:auto}.au_databox .button-wrapper>div{position:static}.au_databox .button-wrapper .db-button{float:none;width:100% !important}.au_databox .button-wrapper .db-button>span{border-left:0 !important;height:51px}.au_databox .button-wrapper .db-button>input[type=text]{left:70px;top:11px}.au_databox .button-wrapper .buttons-5.first-line-full .button-wrapper{height:auto}.au_databox .button-wrapper .buttons-6 .button-wrapper{height:auto}}.au_databox .button-wrapper .au_focus{margin-bottom:0;padding-left:1rem}.au_databox .content{width:100%;background:#f0f0f0;padding:1rem 0;overflow:auto}.au_databox .content>div{padding:0 1rem;position:relative}.au_databox .content>div .expandall{position:absolute;right:10px;top:0;text-decoration:underline;cursor:pointer}.au_databox .content ul{margin-top:0;margin-left:0}.au_databox .content ul ul{margin-top:.65rem}.au_databox .content ul li a{text-decoration:none}.au_databox .content ul li a:hover{text-decoration:underline}.au_databox .content ul.letters{display:flex;justify-content:flex-start;flex-flow:row wrap;font-size:1.1rem;margin-top:.15rem;margin-bottom:.75rem;margin-left:0;padding-bottom:.75rem;border-bottom:1px solid #ccc}.au_databox .content ul.letters li{padding:0;margin:2px 2px;background-color:#aaa;text-align:center;font-size:1.2rem}.au_databox .content ul.letters li.available button{cursor:pointer;color:#fff}.au_databox .content ul.letters li.active{font-weight:bold}.au_databox .content ul.letters li:before{content:""}.au_databox .content ul.letters li button{font-family:"AUPassataRegular";color:#ccc;text-transform:uppercase;width:20px;line-height:inherit}.au_databox .content .au_collapsible{margin-bottom:0;padding:.6rem 0}.au_databox .content .au_collapsible>.csc-header{margin-bottom:1rem}.au_databox .content .au_collapsible>.csc-header:after{font-size:24px}.au_databox .content .au_collapsible>.csc-header h3{margin:0}.au_databox .content .au_collapsible.au_collapsed>.csc-header{margin-bottom:0}.au_databox .au_focus{margin-left:24px;position:absolute;margin-bottom:0}.au_databox .au_focus.before{position:static;padding:1.5em 0 1.5em 14px;margin-left:0}.au_databox .clear{clear:both}.au_databox.width-full{width:100%}.au_databox .db-button{float:left;text-indent:1rem;color:#fff;position:relative;text-align:left;padding:0;margin:0;border:0;font:1.7272727273rem "AUPassataRegular"}.au_databox .db-button:not(.db-search),.au_databox .db-button.search-filter{cursor:pointer}.au_databox .db-button>span{display:block;border-top:1px solid #fff;padding:16px 0px;line-height:1}.au_databox .db-button>span a{color:#fff;text-decoration:none}.au_databox .db-button>span a:hover{text-decoration:underline}.au_databox .db-button input[type=text]{font-size:1.25rem;position:absolute;top:11px;left:65px;background:#fff url("https://cdn.au.dk/2016/assets/img/databox/find.png") no-repeat right center;background:rgba(255,255,255,.75) url("https://cdn.au.dk/2016/assets/img/databox/find.png") no-repeat right center;border:0;width:calc(100% - 65px - 1rem);padding:0;margin:0;height:32px;text-indent:10px}.au_databox .db-button input[type=text].active{background:#fff;background:rgba(255,255,255,.75)}.au_databox .db-button.overlay{background:#ccc;background:rgba(204,204,204,.25)}.au_databox .db-button.active{background:#f0f0f0;color:#000}.au_databox .db-button.active a{color:#000}.au_databox.collapse .db-button:after{color:#fff;opacity:.8;font-family:"au_icons";content:"+";float:right;font-size:32px;position:absolute;top:10px;right:0;margin-right:.3em}.au_databox.collapse .db-button.active:after{color:#000;opacity:1;content:"-"}.au_databox.collapse .db-button.db-search:after{content:""}.au_databox.stacked .button-wrapper{background-image:none !important;height:auto !important;position:static}.au_databox.stacked .button-wrapper>div{position:static}.au_databox.stacked .button-wrapper .db-button{float:none;width:100% !important}.au_databox.stacked .button-wrapper .db-button>span{border-left:0 !important;height:51px}.au_databox.stacked .button-wrapper .db-button>input[type=text]{left:70px;top:11px}.au_databox.stacked .button-wrapper .buttons-5.first-line-full .button-wrapper{height:auto}.au_databox.stacked .button-wrapper .buttons-6 .button-wrapper{height:auto}.au_databox.stacked .content{padding-top:0}.au_databox.buttons-1 .au_focus{bottom:75px}.au_databox.buttons-1 .button-wrapper{height:51px}.au_databox.buttons-1 .db-button{width:100%}.au_databox.buttons-1 .db-button>span{text-indent:-9999px}.au_databox.buttons-1 .db-button>input[type=text]{left:14px}.au_databox.buttons-2 .button-wrapper{height:51px}.au_databox.buttons-2 .au_focus{bottom:75px}.au_databox.buttons-2 .db-button{width:50%}.au_databox.buttons-2 .db-button:nth-child(2) span{border-left:1px solid #fff}.au_databox.buttons-3 .button-wrapper{height:51px}.au_databox.buttons-3 .au_focus{bottom:75px}.au_databox.buttons-3.first-line-full .button-wrapper{height:102px}.au_databox.buttons-3.first-line-full .au_focus{bottom:126px}.au_databox.buttons-3.first-line-full .button-1{width:100%}.au_databox.buttons-3.first-line-full .button-2,.au_databox.buttons-3.first-line-full .button-3{width:50%}.au_databox.buttons-3.first-line-full .button-2 span{border-left:0}.au_databox.buttons-3.first-line-full .button-3 span{border-left:1px solid #fff}.au_databox.buttons-3 .button-1,.au_databox.buttons-3 .button-3{width:33%}.au_databox.buttons-3 .button-2{width:34%}.au_databox.buttons-3 .button-2 span,.au_databox.buttons-3 .button-3 span{border-left:1px solid #fff}.au_databox.buttons-4 .button-wrapper{height:102px}.au_databox.buttons-4 .au_focus{bottom:126px}.au_databox.buttons-4.first-line-full .button-1{width:100%}.au_databox.buttons-4.first-line-full .button-2 span{border-left:0}.au_databox.buttons-4.first-line-full .button-2,.au_databox.buttons-4.first-line-full .button-4{width:33%}.au_databox.buttons-4.first-line-full .button-3{width:34%}.au_databox.buttons-4.first-line-full .button-3 span,.au_databox.buttons-4.first-line-full .button-4 span{border-left:1px solid #fff}.au_databox.buttons-4 .db-button{width:50%}.au_databox.buttons-4 .button-2 span,.au_databox.buttons-4 .button-4 span{border-left:1px solid #fff}.au_databox.buttons-5 .button-wrapper{height:153px}.au_databox.buttons-5 .au_focus{bottom:177px}.au_databox.buttons-5.first-line-full .button-wrapper{height:102px}.au_databox.buttons-5.first-line-full .au_focus{bottom:126px}.au_databox.buttons-5.first-line-full .button-1{width:100%}.au_databox.buttons-5.first-line-full .button-2,.au_databox.buttons-5.first-line-full .button-3,.au_databox.buttons-5.first-line-full .button-4,.au_databox.buttons-5.first-line-full .button-5{width:25%}.au_databox.buttons-5.first-line-full .button-3 span,.au_databox.buttons-5.first-line-full .button-4 span,.au_databox.buttons-5.first-line-full .button-5 span{border-left:1px solid #fff}.au_databox.buttons-5 .button-1{width:100%}.au_databox.buttons-5 .button-2,.au_databox.buttons-5 .button-3,.au_databox.buttons-5 .button-4,.au_databox.buttons-5 .button-5{width:50%}.au_databox.buttons-5 .button-3 span,.au_databox.buttons-5 .button-5 span{border-left:1px solid #fff}.au_databox.buttons-6.first-line-full .button-wrapper{height:102px}.au_databox.buttons-6.first-line-full .au_focus{bottom:126px}.au_databox.buttons-6.first-line-full .button-1{width:100%}.au_databox.buttons-6.first-line-full .db-button.button-2 span{border-left:none}.au_databox.buttons-6.first-line-full .button-2,.au_databox.buttons-6.first-line-full .button-3,.au_databox.buttons-6.first-line-full .button-4,.au_databox.buttons-6.first-line-full .button-5,.au_databox.buttons-6.first-line-full .button-6{width:20%}.au_databox.buttons-6.first-line-full .button-3 span,.au_databox.buttons-6.first-line-full .button-4 span,.au_databox.buttons-6.first-line-full .button-5 span,.au_databox.buttons-6.first-line-full .button-6 span{border-left:1px solid #fff}.au_databox.buttons-6 .button-wrapper{height:153px}.au_databox.buttons-6 .au_focus{bottom:177px}.au_databox.buttons-6 .db-button{width:50%}.au_databox.buttons-6 .db-button:nth-child(even) span{border-left:1px solid #fff}.au_databox.buttons-7 .button-wrapper{height:153px}.au_databox.buttons-7 .au_focus{bottom:177px}.au_databox.buttons-7.first-line-full .button-wrapper{height:102px}.au_databox.buttons-7.first-line-full .au_focus{bottom:126px}.au_databox.buttons-7.first-line-full .button-1{width:100%}.au_databox.buttons-7.first-line-full .button-2,.au_databox.buttons-7.first-line-full .button-3,.au_databox.buttons-7.first-line-full .button-4,.au_databox.buttons-7.first-line-full .button-5,.au_databox.buttons-7.first-line-full .button-6,.au_databox.buttons-7.first-line-full .button-7{width:16.66667%}.au_databox.buttons-7.first-line-full .button-3 span,.au_databox.buttons-7.first-line-full .button-4 span,.au_databox.buttons-7.first-line-full .button-5 span,.au_databox.buttons-7.first-line-full .button-6 span,.au_databox.buttons-7.first-line-full .button-7 span{border-left:1px solid #fff}.au_databox.buttons-7 .button-1{width:100%}.au_databox.buttons-7 .button-2,.au_databox.buttons-7 .button-4,.au_databox.buttons-7 .button-5,.au_databox.buttons-7 .button-7{width:33%}.au_databox.buttons-7 .button-3,.au_databox.buttons-7 .button-6{width:34%}.au_databox.buttons-7 .button-3 span,.au_databox.buttons-7 .button-4 span,.au_databox.buttons-7 .button-6 span,.au_databox.buttons-7 .button-7 span{border-left:1px solid #fff}.utility-links .au_databox.stacked{margin-bottom:0}.utility-links .au_databox.stacked .content{max-height:200px;overflow:auto}.au_edutable_eddi_container .print{display:inline-block;margin-bottom:1rem}.study-diagramme{padding:1rem;margin-bottom:2rem;font-family:"AUPassataRegular";background-color:#e4e4e4}.study-diagramme.list p{padding:.6rem 1rem;contain:content}.study-diagramme.list p a{text-decoration:none}.study-diagramme.list p span:last-child{float:right}.study-diagramme table{table-layout:fixed;width:100%;border-collapse:collapse}.study-diagramme table,.study-diagramme thead,.study-diagramme tbody{background-color:rgba(0,0,0,0) !important}.study-diagramme tr{background-color:rgba(0,0,0,0) !important}.study-diagramme th{font-family:"AUPassataBold";font-weight:normal}.study-diagramme th,.study-diagramme td{border:4px solid #fefefe}.study-diagramme td{padding:0}.study-diagramme td:hover{background-color:#656565}.study-diagramme td:hover.sf a{color:#cfe1e7}.study-diagramme td:hover.obl a{color:#f2e4d4}.study-diagramme td:hover.val a{color:#d1e1d6}.study-diagramme td:hover.tlv a{color:#e9ccda}.study-diagramme td:hover.ogr a{color:#f2e4d4}.study-diagramme td a{padding:2rem 1rem;display:block;text-decoration:none;border-bottom:none !important;font-size:12px;word-break:break-word;hyphens:auto}.study-diagramme td[rowspan="1"] a{min-height:130px}.study-diagramme td[rowspan="2"] a{min-height:260px}.study-diagramme td[rowspan="3"] a{min-height:390px}.study-diagramme td[rowspan="4"] a{min-height:520px}.study-diagramme td[rowspan="5"] a{min-height:650px}.study-diagramme td[rowspan="6"] a{min-height:780px}.study-diagramme .sf{background-color:#cfe1e7}.study-diagramme .obl{background-color:#f2e4d4}.study-diagramme .val{background-color:#d1e1d6}.study-diagramme .tlv{background-color:#e9ccda}.study-diagramme .ogr{background-color:#f2e4d4}@media print{.study-diagramme.show-for-small-only{display:none}}.au_flowbox{background:#f0efef;padding:2rem;margin-bottom:1rem}.au_flowbox button{text-align:left;font-family:"AUPassataRegular";text-decoration:underline;cursor:pointer}.au_flowbox>div>h2{margin:0 0 1rem 0 !important;text-transform:uppercase;border:none !important;padding:0 !important}.au_flowbox .vcard{padding:1rem;background-color:rgba(255,255,255,.95);border:0 none;margin:0 0 1rem 0}.au_flowbox .vcard .fn{font-weight:bold;font-size:1.3636363636rem}.au_flowbox .vcard p{font-family:inherit;font-size:1.2rem;font-weight:normal;line-height:1.6;margin-bottom:1.8181818182rem;text-rendering:optimizeLegibility}.au_flowbox.partner{background:#379fcb}.au_flowbox.partner>div>h2{color:#fff}.au_flowbox.partner>div>p{color:#fff}.au_flowbox.partner>div>p a{color:#fff !important;border-bottom:none !important;text-decoration:underline !important}.au_flowbox.partner>div>ul li{padding-left:0}.au_flowbox.partner>div>ul li::before{display:none}.au_flowbox_data{display:none}.au_staffcontactbox{color:#fff;padding:1.3636364rem;background-color:#379fcb;margin-bottom:1em}.au_staffcontactbox>h2{color:#fff;text-transform:uppercase;margin:0 0 1em 0 !important}@font-face{font-family:"font-awesome";src:url("https://fonts.au.dk/fonts/fa-pro-regular-400.otf");font-weight:400;font-style:normal}.layout13 .au-map,.layout14 .au-map,.layout15 .au-map,.layout16 .au-map,.layout17 .au-map{margin-bottom:1.363636364rem}.layout13 .au-map .react-autosuggest__container,.layout14 .au-map .react-autosuggest__container,.layout15 .au-map .react-autosuggest__container,.layout16 .au-map .react-autosuggest__container,.layout17 .au-map .react-autosuggest__container{margin-bottom:1rem;position:relative}.layout13 .au-map .react-autosuggest__suggestions-container,.layout14 .au-map .react-autosuggest__suggestions-container,.layout15 .au-map .react-autosuggest__suggestions-container,.layout16 .au-map .react-autosuggest__suggestions-container,.layout17 .au-map .react-autosuggest__suggestions-container{max-height:none;overflow:visible}.layout13 .au-map .react-autosuggest__suggestions-container li:nth-child(n+21),.layout14 .au-map .react-autosuggest__suggestions-container li:nth-child(n+21),.layout15 .au-map .react-autosuggest__suggestions-container li:nth-child(n+21),.layout16 .au-map .react-autosuggest__suggestions-container li:nth-child(n+21),.layout17 .au-map .react-autosuggest__suggestions-container li:nth-child(n+21){display:none}.layout13 .au-map .gm-style-iw .au_collapsible,.layout13 .au-map .gm-style-iw hr,.layout14 .au-map .gm-style-iw .au_collapsible,.layout14 .au-map .gm-style-iw hr,.layout15 .au-map .gm-style-iw .au_collapsible,.layout15 .au-map .gm-style-iw hr,.layout16 .au-map .gm-style-iw .au_collapsible,.layout16 .au-map .gm-style-iw hr,.layout17 .au-map .gm-style-iw .au_collapsible,.layout17 .au-map .gm-style-iw hr{display:none}.layout13 .au-map__search,.layout14 .au-map__search,.layout15 .au-map__search,.layout16 .au-map__search,.layout17 .au-map__search{display:flex}.layout13 .au-map__search>div,.layout14 .au-map__search>div,.layout15 .au-map__search>div,.layout16 .au-map__search>div,.layout17 .au-map__search>div{flex-basis:85%}@media(max-width: 640px){.layout13 .au-map__search>div,.layout14 .au-map__search>div,.layout15 .au-map__search>div,.layout16 .au-map__search>div,.layout17 .au-map__search>div{flex-basis:76%}}.layout13 .au-map__search button,.layout14 .au-map__search button,.layout15 .au-map__search button,.layout16 .au-map__search button,.layout17 .au-map__search button{flex-basis:15%;font-family:"AUPassataRegular";border-top:1px solid #ccc;border-right:1px solid #ccc;border-bottom:1px solid #ccc;height:3.5454545464rem;cursor:pointer;background:none;color:#000;padding:0}.layout13 .au-map__search button:hover,.layout14 .au-map__search button:hover,.layout15 .au-map__search button:hover,.layout16 .au-map__search button:hover,.layout17 .au-map__search button:hover{background:none;color:inherit}.layout13 .au-map__search button span::before,.layout14 .au-map__search button span::before,.layout15 .au-map__search button span::before,.layout16 .au-map__search button span::before,.layout17 .au-map__search button span::before{font-family:"font-awesome";content:"";display:inline-block;margin-right:1rem}@media(max-width: 640px){.layout13 .au-map__search button,.layout14 .au-map__search button,.layout15 .au-map__search button,.layout16 .au-map__search button,.layout17 .au-map__search button{flex-basis:24%}}.layout13 .au-map__overlay-buttons,.layout14 .au-map__overlay-buttons,.layout15 .au-map__overlay-buttons,.layout16 .au-map__overlay-buttons,.layout17 .au-map__overlay-buttons{display:flex;flex-wrap:wrap}.layout13 .au-map__overlay-buttons button,.layout14 .au-map__overlay-buttons button,.layout15 .au-map__overlay-buttons button,.layout16 .au-map__overlay-buttons button,.layout17 .au-map__overlay-buttons button{margin-right:1rem}.layout13 .au-map__person-suggestion>div:first-child,.layout14 .au-map__person-suggestion>div:first-child,.layout15 .au-map__person-suggestion>div:first-child,.layout16 .au-map__person-suggestion>div:first-child,.layout17 .au-map__person-suggestion>div:first-child{padding-left:1.363636364rem;width:15%}.layout13 .au-map__person-suggestion>div:last-child,.layout14 .au-map__person-suggestion>div:last-child,.layout15 .au-map__person-suggestion>div:last-child,.layout16 .au-map__person-suggestion>div:last-child,.layout17 .au-map__person-suggestion>div:last-child{padding-left:1.363636364rem;width:85%}.layout13 .au-map__person-suggestion h4,.layout13 .au-map__person-suggestion p,.layout14 .au-map__person-suggestion h4,.layout14 .au-map__person-suggestion p,.layout15 .au-map__person-suggestion h4,.layout15 .au-map__person-suggestion p,.layout16 .au-map__person-suggestion h4,.layout16 .au-map__person-suggestion p,.layout17 .au-map__person-suggestion h4,.layout17 .au-map__person-suggestion p{margin:0}.layout13 .au-map__person-suggestion img,.layout14 .au-map__person-suggestion img,.layout15 .au-map__person-suggestion img,.layout16 .au-map__person-suggestion img,.layout17 .au-map__person-suggestion img{max-width:100px}.layout13 .au-map .vcard>h2,.layout13 .au-map .bld-card>h2,.layout13 .au-map .overlay-card>h2,.layout13 .au-map .top-search>h2,.layout14 .au-map .vcard>h2,.layout14 .au-map .bld-card>h2,.layout14 .au-map .overlay-card>h2,.layout14 .au-map .top-search>h2,.layout15 .au-map .vcard>h2,.layout15 .au-map .bld-card>h2,.layout15 .au-map .overlay-card>h2,.layout15 .au-map .top-search>h2,.layout16 .au-map .vcard>h2,.layout16 .au-map .bld-card>h2,.layout16 .au-map .overlay-card>h2,.layout16 .au-map .top-search>h2,.layout17 .au-map .vcard>h2,.layout17 .au-map .bld-card>h2,.layout17 .au-map .overlay-card>h2,.layout17 .au-map .top-search>h2{margin-top:0}.layout13 .au-map .vcard button,.layout13 .au-map .bld-card button,.layout13 .au-map .overlay-card button,.layout13 .au-map .top-search button,.layout14 .au-map .vcard button,.layout14 .au-map .bld-card button,.layout14 .au-map .overlay-card button,.layout14 .au-map .top-search button,.layout15 .au-map .vcard button,.layout15 .au-map .bld-card button,.layout15 .au-map .overlay-card button,.layout15 .au-map .top-search button,.layout16 .au-map .vcard button,.layout16 .au-map .bld-card button,.layout16 .au-map .overlay-card button,.layout16 .au-map .top-search button,.layout17 .au-map .vcard button,.layout17 .au-map .bld-card button,.layout17 .au-map .overlay-card button,.layout17 .au-map .top-search button{cursor:pointer;text-decoration:underline;font-family:inherit;text-align:left}.layout13 .au-map .vcard strong button,.layout13 .au-map .bld-card strong button,.layout13 .au-map .overlay-card strong button,.layout13 .au-map .top-search strong button,.layout14 .au-map .vcard strong button,.layout14 .au-map .bld-card strong button,.layout14 .au-map .overlay-card strong button,.layout14 .au-map .top-search strong button,.layout15 .au-map .vcard strong button,.layout15 .au-map .bld-card strong button,.layout15 .au-map .overlay-card strong button,.layout15 .au-map .top-search strong button,.layout16 .au-map .vcard strong button,.layout16 .au-map .bld-card strong button,.layout16 .au-map .overlay-card strong button,.layout16 .au-map .top-search strong button,.layout17 .au-map .vcard strong button,.layout17 .au-map .bld-card strong button,.layout17 .au-map .overlay-card strong button,.layout17 .au-map .top-search strong button{font-weight:bold}@media(max-width: 640px){.layout13 .au-map .vcard,.layout13 .au-map .bld-card,.layout13 .au-map .overlay-card,.layout13 .au-map .top-search,.layout14 .au-map .vcard,.layout14 .au-map .bld-card,.layout14 .au-map .overlay-card,.layout14 .au-map .top-search,.layout15 .au-map .vcard,.layout15 .au-map .bld-card,.layout15 .au-map .overlay-card,.layout15 .au-map .top-search,.layout16 .au-map .vcard,.layout16 .au-map .bld-card,.layout16 .au-map .overlay-card,.layout16 .au-map .top-search,.layout17 .au-map .vcard,.layout17 .au-map .bld-card,.layout17 .au-map .overlay-card,.layout17 .au-map .top-search{padding:1.363636364rem 0}}.layout13 .au-map .vcard img,.layout14 .au-map .vcard img,.layout15 .au-map .vcard img,.layout16 .au-map .vcard img,.layout17 .au-map .vcard img{float:right;margin-left:1.363636364rem;margin-bottom:1.363636364rem;max-width:120px}.layout13 .au-map .vcard::after,.layout14 .au-map .vcard::after,.layout15 .au-map .vcard::after,.layout16 .au-map .vcard::after,.layout17 .au-map .vcard::after{display:block;content:"";clear:both}.layout13 .au-map__route,.layout14 .au-map__route,.layout15 .au-map__route,.layout16 .au-map__route,.layout17 .au-map__route{margin-bottom:1.363636364rem}.layout13 .au-map .show-on-map,.layout14 .au-map .show-on-map,.layout15 .au-map .show-on-map,.layout16 .au-map .show-on-map,.layout17 .au-map .show-on-map{display:none}.layout13 .au-map .au_collapsible .csc-header+*,.layout14 .au-map .au_collapsible .csc-header+*,.layout15 .au-map .au_collapsible .csc-header+*,.layout16 .au-map .au_collapsible .csc-header+*,.layout17 .au-map .au_collapsible .csc-header+*{position:relative;max-height:350px;overflow-y:auto}.layout13 .au-map__directions-panel,.layout14 .au-map__directions-panel,.layout15 .au-map__directions-panel,.layout16 .au-map__directions-panel,.layout17 .au-map__directions-panel{display:flex;flex-wrap:wrap;padding:1rem 0 1rem 1rem;margin-bottom:1rem;border:1px solid #cacaca}.layout13 .au-map__directions-panel__modes-of-transportation,.layout14 .au-map__directions-panel__modes-of-transportation,.layout15 .au-map__directions-panel__modes-of-transportation,.layout16 .au-map__directions-panel__modes-of-transportation,.layout17 .au-map__directions-panel__modes-of-transportation{flex-basis:100%;display:flex}.layout13 .au-map__directions-panel__from-to,.layout14 .au-map__directions-panel__from-to,.layout15 .au-map__directions-panel__from-to,.layout16 .au-map__directions-panel__from-to,.layout17 .au-map__directions-panel__from-to{flex-basis:85%}.layout13 .au-map__directions-panel__swap,.layout14 .au-map__directions-panel__swap,.layout15 .au-map__directions-panel__swap,.layout16 .au-map__directions-panel__swap,.layout17 .au-map__directions-panel__swap{flex-basis:15%;display:flex;align-items:center;justify-content:center}.layout13 .au-map__directions-panel .button-route,.layout14 .au-map__directions-panel .button-route,.layout15 .au-map__directions-panel .button-route,.layout16 .au-map__directions-panel .button-route,.layout17 .au-map__directions-panel .button-route{background-color:rgba(0,0,0,0);color:#878787;height:3rem;overflow:hidden;padding:0;margin-right:1rem;display:inline-flex;border:none}.layout13 .au-map__directions-panel .button-route--selected,.layout14 .au-map__directions-panel .button-route--selected,.layout15 .au-map__directions-panel .button-route--selected,.layout16 .au-map__directions-panel .button-route--selected,.layout17 .au-map__directions-panel .button-route--selected{border-bottom:2px solid #000}.layout13 .au-map__directions-panel .button-route::before,.layout14 .au-map__directions-panel .button-route::before,.layout15 .au-map__directions-panel .button-route::before,.layout16 .au-map__directions-panel .button-route::before,.layout17 .au-map__directions-panel .button-route::before{font-family:"font-awesome";font-size:2rem;display:inline-block}.layout13 .au-map__directions-panel .button-route--car,.layout14 .au-map__directions-panel .button-route--car,.layout15 .au-map__directions-panel .button-route--car,.layout16 .au-map__directions-panel .button-route--car,.layout17 .au-map__directions-panel .button-route--car{width:22px}.layout13 .au-map__directions-panel .button-route--car::before,.layout14 .au-map__directions-panel .button-route--car::before,.layout15 .au-map__directions-panel .button-route--car::before,.layout16 .au-map__directions-panel .button-route--car::before,.layout17 .au-map__directions-panel .button-route--car::before{content:""}.layout13 .au-map__directions-panel .button-route--walk,.layout14 .au-map__directions-panel .button-route--walk,.layout15 .au-map__directions-panel .button-route--walk,.layout16 .au-map__directions-panel .button-route--walk,.layout17 .au-map__directions-panel .button-route--walk{width:13px}.layout13 .au-map__directions-panel .button-route--walk::before,.layout14 .au-map__directions-panel .button-route--walk::before,.layout15 .au-map__directions-panel .button-route--walk::before,.layout16 .au-map__directions-panel .button-route--walk::before,.layout17 .au-map__directions-panel .button-route--walk::before{content:""}.layout13 .au-map__directions-panel .button-route--bicycle,.layout14 .au-map__directions-panel .button-route--bicycle,.layout15 .au-map__directions-panel .button-route--bicycle,.layout16 .au-map__directions-panel .button-route--bicycle,.layout17 .au-map__directions-panel .button-route--bicycle{width:27px}.layout13 .au-map__directions-panel .button-route--bicycle::before,.layout14 .au-map__directions-panel .button-route--bicycle::before,.layout15 .au-map__directions-panel .button-route--bicycle::before,.layout16 .au-map__directions-panel .button-route--bicycle::before,.layout17 .au-map__directions-panel .button-route--bicycle::before{content:""}.layout13 .au-map__directions-panel .button-route--public,.layout14 .au-map__directions-panel .button-route--public,.layout15 .au-map__directions-panel .button-route--public,.layout16 .au-map__directions-panel .button-route--public,.layout17 .au-map__directions-panel .button-route--public{width:22px;padding-top:4px}.layout13 .au-map__directions-panel .button-route--public::before,.layout14 .au-map__directions-panel .button-route--public::before,.layout15 .au-map__directions-panel .button-route--public::before,.layout16 .au-map__directions-panel .button-route--public::before,.layout17 .au-map__directions-panel .button-route--public::before{content:""}.layout13 .au-map__directions-panel .button-route--close,.layout14 .au-map__directions-panel .button-route--close,.layout15 .au-map__directions-panel .button-route--close,.layout16 .au-map__directions-panel .button-route--close,.layout17 .au-map__directions-panel .button-route--close{margin-left:auto;width:14px}.layout13 .au-map__directions-panel .button-route--close::before,.layout14 .au-map__directions-panel .button-route--close::before,.layout15 .au-map__directions-panel .button-route--close::before,.layout16 .au-map__directions-panel .button-route--close::before,.layout17 .au-map__directions-panel .button-route--close::before{content:""}.layout13 .au-map__directions-panel .button-route--swap,.layout14 .au-map__directions-panel .button-route--swap,.layout15 .au-map__directions-panel .button-route--swap,.layout16 .au-map__directions-panel .button-route--swap,.layout17 .au-map__directions-panel .button-route--swap{margin:0 0 1.45455rem 0;width:24px}.layout13 .au-map__directions-panel .button-route--swap::before,.layout14 .au-map__directions-panel .button-route--swap::before,.layout15 .au-map__directions-panel .button-route--swap::before,.layout16 .au-map__directions-panel .button-route--swap::before,.layout17 .au-map__directions-panel .button-route--swap::before{font-size:3rem;content:""}.layout13 .au-map__suggestion,.layout14 .au-map__suggestion,.layout15 .au-map__suggestion,.layout16 .au-map__suggestion,.layout17 .au-map__suggestion{display:inline-block}.layout13 .au-map__suggestion::before,.layout14 .au-map__suggestion::before,.layout15 .au-map__suggestion::before,.layout16 .au-map__suggestion::before,.layout17 .au-map__suggestion::before{font-family:"font-awesome";display:inline-block;margin-right:.5rem}.layout13 .au-map__suggestion__building::before,.layout14 .au-map__suggestion__building::before,.layout15 .au-map__suggestion__building::before,.layout16 .au-map__suggestion__building::before,.layout17 .au-map__suggestion__building::before{content:""}.layout13 .au-map__suggestion__department::before,.layout14 .au-map__suggestion__department::before,.layout15 .au-map__suggestion__department::before,.layout16 .au-map__suggestion__department::before,.layout17 .au-map__suggestion__department::before{content:""}.layout13 .au-map__suggestion__denmark::before,.layout14 .au-map__suggestion__denmark::before,.layout15 .au-map__suggestion__denmark::before,.layout16 .au-map__suggestion__denmark::before,.layout17 .au-map__suggestion__denmark::before{content:""}.layout13 .au-map__suggestion__denmark::before,.layout14 .au-map__suggestion__denmark::before,.layout15 .au-map__suggestion__denmark::before,.layout16 .au-map__suggestion__denmark::before,.layout17 .au-map__suggestion__denmark::before{content:""}.layout13 .au-map__suggestion__lecture-hall::before,.layout14 .au-map__suggestion__lecture-hall::before,.layout15 .au-map__suggestion__lecture-hall::before,.layout16 .au-map__suggestion__lecture-hall::before,.layout17 .au-map__suggestion__lecture-hall::before{content:""}.layout13 .au-map__suggestion__library::before,.layout14 .au-map__suggestion__library::before,.layout15 .au-map__suggestion__library::before,.layout16 .au-map__suggestion__library::before,.layout17 .au-map__suggestion__library::before{content:""}.layout13 .au-map__suggestion__friday-bar::before,.layout14 .au-map__suggestion__friday-bar::before,.layout15 .au-map__suggestion__friday-bar::before,.layout16 .au-map__suggestion__friday-bar::before,.layout17 .au-map__suggestion__friday-bar::before{content:""}.layout13 .au-map__suggestion__study-place::before,.layout14 .au-map__suggestion__study-place::before,.layout15 .au-map__suggestion__study-place::before,.layout16 .au-map__suggestion__study-place::before,.layout17 .au-map__suggestion__study-place::before{content:""}.layout13 .au-map__suggestion__canteen::before,.layout14 .au-map__suggestion__canteen::before,.layout15 .au-map__suggestion__canteen::before,.layout16 .au-map__suggestion__canteen::before,.layout17 .au-map__suggestion__canteen::before{content:""}.layout13 .au-map__suggestion__counselling::before,.layout14 .au-map__suggestion__counselling::before,.layout15 .au-map__suggestion__counselling::before,.layout16 .au-map__suggestion__counselling::before,.layout17 .au-map__suggestion__counselling::before{content:""}.layout13 .au-map__suggestion__it-support::before,.layout14 .au-map__suggestion__it-support::before,.layout15 .au-map__suggestion__it-support::before,.layout16 .au-map__suggestion__it-support::before,.layout17 .au-map__suggestion__it-support::before{content:""}.layout13 .au-map__suggestion__myprint::before,.layout14 .au-map__suggestion__myprint::before,.layout15 .au-map__suggestion__myprint::before,.layout16 .au-map__suggestion__myprint::before,.layout17 .au-map__suggestion__myprint::before{content:""}.layout13 .au-map.find-container>.row>.column,.layout13 .dropdown-pane .find-container>.row>.column,.layout14 .au-map.find-container>.row>.column,.layout14 .dropdown-pane .find-container>.row>.column,.layout15 .au-map.find-container>.row>.column,.layout15 .dropdown-pane .find-container>.row>.column,.layout16 .au-map.find-container>.row>.column,.layout16 .dropdown-pane .find-container>.row>.column,.layout17 .au-map.find-container>.row>.column,.layout17 .dropdown-pane .find-container>.row>.column{position:relative}.layout13 .au-map.find-container h3,.layout13 .dropdown-pane .find-container h3,.layout14 .au-map.find-container h3,.layout14 .dropdown-pane .find-container h3,.layout15 .au-map.find-container h3,.layout15 .dropdown-pane .find-container h3,.layout16 .au-map.find-container h3,.layout16 .dropdown-pane .find-container h3,.layout17 .au-map.find-container h3,.layout17 .dropdown-pane .find-container h3{margin-top:0}.layout13 .au-map.find-container .au-map__person-suggestion img,.layout13 .dropdown-pane .find-container .au-map__person-suggestion img,.layout14 .au-map.find-container .au-map__person-suggestion img,.layout14 .dropdown-pane .find-container .au-map__person-suggestion img,.layout15 .au-map.find-container .au-map__person-suggestion img,.layout15 .dropdown-pane .find-container .au-map__person-suggestion img,.layout16 .au-map.find-container .au-map__person-suggestion img,.layout16 .dropdown-pane .find-container .au-map__person-suggestion img,.layout17 .au-map.find-container .au-map__person-suggestion img,.layout17 .dropdown-pane .find-container .au-map__person-suggestion img{max-width:30px}.layout13 .au-map.find-container .react-autosuggest__suggestions-container li,.layout13 .dropdown-pane .find-container .react-autosuggest__suggestions-container li,.layout14 .au-map.find-container .react-autosuggest__suggestions-container li,.layout14 .dropdown-pane .find-container .react-autosuggest__suggestions-container li,.layout15 .au-map.find-container .react-autosuggest__suggestions-container li,.layout15 .dropdown-pane .find-container .react-autosuggest__suggestions-container li,.layout16 .au-map.find-container .react-autosuggest__suggestions-container li,.layout16 .dropdown-pane .find-container .react-autosuggest__suggestions-container li,.layout17 .au-map.find-container .react-autosuggest__suggestions-container li,.layout17 .dropdown-pane .find-container .react-autosuggest__suggestions-container li{margin-bottom:0}.layout13 .au-map.find-container .vcard,.layout13 .au-map.find-container .bld-card,.layout13 .dropdown-pane .find-container .vcard,.layout13 .dropdown-pane .find-container .bld-card,.layout14 .au-map.find-container .vcard,.layout14 .au-map.find-container .bld-card,.layout14 .dropdown-pane .find-container .vcard,.layout14 .dropdown-pane .find-container .bld-card,.layout15 .au-map.find-container .vcard,.layout15 .au-map.find-container .bld-card,.layout15 .dropdown-pane .find-container .vcard,.layout15 .dropdown-pane .find-container .bld-card,.layout16 .au-map.find-container .vcard,.layout16 .au-map.find-container .bld-card,.layout16 .dropdown-pane .find-container .vcard,.layout16 .dropdown-pane .find-container .bld-card,.layout17 .au-map.find-container .vcard,.layout17 .au-map.find-container .bld-card,.layout17 .dropdown-pane .find-container .vcard,.layout17 .dropdown-pane .find-container .bld-card{margin-top:1.363636364rem;padding:1rem;background:#fff;color:#333;font-size:1.25rem;font-family:Georgia,"Times New Roman",Times,serif}.layout13 .au-map.find-container .vcard hr,.layout13 .au-map.find-container .bld-card hr,.layout13 .dropdown-pane .find-container .vcard hr,.layout13 .dropdown-pane .find-container .bld-card hr,.layout14 .au-map.find-container .vcard hr,.layout14 .au-map.find-container .bld-card hr,.layout14 .dropdown-pane .find-container .vcard hr,.layout14 .dropdown-pane .find-container .bld-card hr,.layout15 .au-map.find-container .vcard hr,.layout15 .au-map.find-container .bld-card hr,.layout15 .dropdown-pane .find-container .vcard hr,.layout15 .dropdown-pane .find-container .bld-card hr,.layout16 .au-map.find-container .vcard hr,.layout16 .au-map.find-container .bld-card hr,.layout16 .dropdown-pane .find-container .vcard hr,.layout16 .dropdown-pane .find-container .bld-card hr,.layout17 .au-map.find-container .vcard hr,.layout17 .au-map.find-container .bld-card hr,.layout17 .dropdown-pane .find-container .vcard hr,.layout17 .dropdown-pane .find-container .bld-card hr{display:none}.layout13 .au-map.find-container .vcard img,.layout13 .au-map.find-container .bld-card img,.layout13 .dropdown-pane .find-container .vcard img,.layout13 .dropdown-pane .find-container .bld-card img,.layout14 .au-map.find-container .vcard img,.layout14 .au-map.find-container .bld-card img,.layout14 .dropdown-pane .find-container .vcard img,.layout14 .dropdown-pane .find-container .bld-card img,.layout15 .au-map.find-container .vcard img,.layout15 .au-map.find-container .bld-card img,.layout15 .dropdown-pane .find-container .vcard img,.layout15 .dropdown-pane .find-container .bld-card img,.layout16 .au-map.find-container .vcard img,.layout16 .au-map.find-container .bld-card img,.layout16 .dropdown-pane .find-container .vcard img,.layout16 .dropdown-pane .find-container .bld-card img,.layout17 .au-map.find-container .vcard img,.layout17 .au-map.find-container .bld-card img,.layout17 .dropdown-pane .find-container .vcard img,.layout17 .dropdown-pane .find-container .bld-card img{width:70px;float:right;margin-left:1rem}.layout13 .au-map.find-container .vcard a,.layout13 .au-map.find-container .bld-card a,.layout13 .dropdown-pane .find-container .vcard a,.layout13 .dropdown-pane .find-container .bld-card a,.layout14 .au-map.find-container .vcard a,.layout14 .au-map.find-container .bld-card a,.layout14 .dropdown-pane .find-container .vcard a,.layout14 .dropdown-pane .find-container .bld-card a,.layout15 .au-map.find-container .vcard a,.layout15 .au-map.find-container .bld-card a,.layout15 .dropdown-pane .find-container .vcard a,.layout15 .dropdown-pane .find-container .bld-card a,.layout16 .au-map.find-container .vcard a,.layout16 .au-map.find-container .bld-card a,.layout16 .dropdown-pane .find-container .vcard a,.layout16 .dropdown-pane .find-container .bld-card a,.layout17 .au-map.find-container .vcard a,.layout17 .au-map.find-container .bld-card a,.layout17 .dropdown-pane .find-container .vcard a,.layout17 .dropdown-pane .find-container .bld-card a{color:#000 !important;text-decoration:underline}
2
+
3
3
  /*# sourceMappingURL=all.css.map*/
package/build/umd/all.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o();else if("function"==typeof define&&define.amd)define([],o);else{var t=o();for(var f in t)("object"==typeof exports?exports:e)[f]=t[f]}}(self,(()=>(()=>{"use strict";var e={};return(e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})})(e),e})()));
1
+ !function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o();else if("function"==typeof define&&define.amd)define([],o);else{var t=o();for(var f in t)("object"==typeof exports?exports:e)[f]=t[f]}}(self,(()=>(()=>{"use strict";var e={};return(e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})})(e),e})()));
2
2
  //# sourceMappingURL=all.js.map
@@ -1,2 +1,2 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("react"),require("react-dom"));else if("function"==typeof define&&define.amd)define(["react","react-dom"],t);else{var n="object"==typeof exports?t(require("react"),require("react-dom")):t(e.React,e.ReactDOM);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(self,((e,t)=>(()=>{var n={296:(e,t,n)=>{var r=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,u=/^0o[0-7]+$/i,s=parseInt,a="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,l=a||c||Function("return this")(),f=Object.prototype.toString,g=Math.max,p=Math.min,d=function(){return l.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==f.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=i.test(e);return n||u.test(e)?s(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,i,u,s,a,c=0,l=!1,f=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=r,i=o;return r=o=void 0,c=t,u=e.apply(i,n)}function v(e){return c=e,s=setTimeout(O,t),l?b(e):u}function S(e){var n=e-a;return void 0===a||n>=t||n<0||f&&e-c>=i}function O(){var e=d();if(S(e))return w(e);s=setTimeout(O,function(e){var n=t-(e-a);return f?p(n,i-(e-c)):n}(e))}function w(e){return s=void 0,m&&r?b(e):(r=o=void 0,u)}function j(){var e=d(),n=S(e);if(r=arguments,o=this,a=e,n){if(void 0===s)return v(a);if(f)return s=setTimeout(O,t),b(a)}return void 0===s&&(s=setTimeout(O,t)),u}return t=y(t)||0,h(n)&&(l=!!n.leading,i=(f="maxWait"in n)?g(y(n.maxWait)||0,t):i,m="trailing"in n?!!n.trailing:m),j.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=a=o=s=void 0},j.flush=function(){return void 0===s?u:w(d())},j}},703:(e,t,n)=>{"use strict";var r=n(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,u){if(u!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},697:(e,t,n)=>{e.exports=n(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},394:(e,t,n)=>{"use strict";t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(244)),o=a(n(697)),i=a(n(444)),u=a(n(402)),s=n(581);function a(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S=function(){return!0},O="suggestions-revealed",w="input-focused",j="input-changed",P="escape-pressed",I=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(c,e);var t,n,o,a=(t=c,function(){var e,n=m(t);if(y()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return d(this,e)});function c(e){var t,n=e.alwaysRenderSuggestions;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),v(h(t=a.call(this)),"onDocumentMouseDown",(function(e){t.justClickedOnSuggestionsContainer=!1;for(var n=e.detail&&e.detail.target||e.target;null!==n&&n!==document;){if(n.getAttribute&&null!==n.getAttribute("data-suggestion-index"))return;if(n===t.suggestionsContainer)return void(t.justClickedOnSuggestionsContainer=!0);n=n.parentNode}})),v(h(t),"storeAutowhateverRef",(function(e){null!==e&&(t.autowhatever=e)})),v(h(t),"onSuggestionMouseEnter",(function(e,n){var r=n.sectionIndex,o=n.itemIndex;t.updateHighlightedSuggestion(r,o),e.target===t.pressedSuggestion&&(t.justSelectedSuggestion=!0),t.justMouseEntered=!0,setTimeout((function(){t.justMouseEntered=!1}))})),v(h(t),"highlightFirstSuggestion",(function(){t.updateHighlightedSuggestion(t.props.multiSection?0:null,0)})),v(h(t),"onDocumentMouseUp",(function(){t.pressedSuggestion&&!t.justSelectedSuggestion&&t.input.focus(),t.pressedSuggestion=null})),v(h(t),"onSuggestionMouseDown",(function(e){t.justSelectedSuggestion||(t.justSelectedSuggestion=!0,t.pressedSuggestion=e.target)})),v(h(t),"onSuggestionsClearRequested",(function(){var e=t.props.onSuggestionsClearRequested;e&&e()})),v(h(t),"onSuggestionSelected",(function(e,n){var r=t.props,o=r.alwaysRenderSuggestions,i=r.onSuggestionSelected,u=r.onSuggestionsFetchRequested;i&&i(e,n);var s=t.props.shouldKeepSuggestionsOnSelect(n.suggestion);o||s?u({value:n.suggestionValue,reason:"suggestion-selected"}):t.onSuggestionsClearRequested(),t.resetHighlightedSuggestion()})),v(h(t),"onSuggestionClick",(function(e){var n=t.props,r=n.alwaysRenderSuggestions,o=n.focusInputOnSuggestionClick,i=t.getSuggestionIndices(t.findSuggestionElement(e.target)),u=i.sectionIndex,s=i.suggestionIndex,a=t.getSuggestion(u,s),c=t.props.getSuggestionValue(a);t.maybeCallOnChange(e,c,"click"),t.onSuggestionSelected(e,{suggestion:a,suggestionValue:c,suggestionIndex:s,sectionIndex:u,method:"click"});var l=t.props.shouldKeepSuggestionsOnSelect(a);r||l||t.closeSuggestions(),!0===o?t.input.focus():t.onBlur(),setTimeout((function(){t.justSelectedSuggestion=!1}))})),v(h(t),"onBlur",(function(){var e=t.props,n=e.inputProps,r=e.shouldRenderSuggestions,o=n.value,i=n.onBlur,u=t.getHighlightedSuggestion(),s=r(o,"input-blurred");t.setState({isFocused:!1,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!s}),i&&i(t.blurEvent,{highlightedSuggestion:u})})),v(h(t),"onSuggestionMouseLeave",(function(e){t.resetHighlightedSuggestion(!1),t.justSelectedSuggestion&&e.target===t.pressedSuggestion&&(t.justSelectedSuggestion=!1)})),v(h(t),"onSuggestionTouchStart",(function(){t.justSelectedSuggestion=!0})),v(h(t),"onSuggestionTouchMove",(function(){t.justSelectedSuggestion=!1,t.pressedSuggestion=null,t.input.focus()})),v(h(t),"itemProps",(function(e){return{"data-section-index":e.sectionIndex,"data-suggestion-index":e.itemIndex,onMouseEnter:t.onSuggestionMouseEnter,onMouseLeave:t.onSuggestionMouseLeave,onMouseDown:t.onSuggestionMouseDown,onTouchStart:t.onSuggestionTouchStart,onTouchMove:t.onSuggestionTouchMove,onClick:t.onSuggestionClick}})),v(h(t),"renderSuggestionsContainer",(function(e){var n=e.containerProps,r=e.children;return(0,t.props.renderSuggestionsContainer)({containerProps:n,children:r,query:t.getQuery()})})),t.state={isFocused:!1,isCollapsed:!n,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null},t.justPressedUpDown=!1,t.justMouseEntered=!1,t.pressedSuggestion=null,t}return n=c,o=[{key:"componentDidMount",value:function(){document.addEventListener("mousedown",this.onDocumentMouseDown),document.addEventListener("mouseup",this.onDocumentMouseUp),this.input=this.autowhatever.input,this.suggestionsContainer=this.autowhatever.itemsContainer}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=0===this.state.highlightedSuggestionIndex&&this.props.highlightFirstSuggestion&&!e.highlightFirstSuggestion;(0,i.default)(e.suggestions,this.props.suggestions)?e.highlightFirstSuggestion&&e.suggestions.length>0&&!1===this.justPressedUpDown&&!1===this.justMouseEntered?this.highlightFirstSuggestion():t&&this.resetHighlightedSuggestion():this.willRenderSuggestions(e,"suggestions-updated")?(this.state.isCollapsed&&!this.justSelectedSuggestion&&this.revealSuggestions(),t&&this.resetHighlightedSuggestion()):this.resetHighlightedSuggestion()}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.suggestions,o=n.onSuggestionHighlighted,u=n.highlightFirstSuggestion;if(!(0,i.default)(r,e.suggestions)&&r.length>0&&u)this.highlightFirstSuggestion();else if(o){var s=this.getHighlightedSuggestion();s!=t.highlightedSuggestion&&o({suggestion:s})}}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.onDocumentMouseDown),document.removeEventListener("mouseup",this.onDocumentMouseUp)}},{key:"updateHighlightedSuggestion",value:function(e,t,n){var r=this;this.setState((function(o){var i=o.valueBeforeUpDown;return null===t?i=null:null===i&&void 0!==n&&(i=n),{highlightedSectionIndex:e,highlightedSuggestionIndex:t,highlightedSuggestion:null===t?null:r.getSuggestion(e,t),valueBeforeUpDown:i}}))}},{key:"resetHighlightedSuggestion",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.setState((function(t){var n=t.valueBeforeUpDown;return{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:e?null:n}}))}},{key:"revealSuggestions",value:function(){this.setState({isCollapsed:!1})}},{key:"closeSuggestions",value:function(){this.setState({highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!0})}},{key:"getSuggestion",value:function(e,t){var n=this.props,r=n.suggestions,o=n.multiSection,i=n.getSectionSuggestions;return o?i(r[e])[t]:r[t]}},{key:"getHighlightedSuggestion",value:function(){var e=this.state,t=e.highlightedSectionIndex,n=e.highlightedSuggestionIndex;return null===n?null:this.getSuggestion(t,n)}},{key:"getSuggestionValueByIndex",value:function(e,t){return(0,this.props.getSuggestionValue)(this.getSuggestion(e,t))}},{key:"getSuggestionIndices",value:function(e){var t=e.getAttribute("data-section-index"),n=e.getAttribute("data-suggestion-index");return{sectionIndex:"string"==typeof t?parseInt(t,10):null,suggestionIndex:parseInt(n,10)}}},{key:"findSuggestionElement",value:function(e){var t=e;do{if(t.getAttribute&&null!==t.getAttribute("data-suggestion-index"))return t;t=t.parentNode}while(null!==t);throw console.error("Clicked element:",e),new Error("Couldn't find suggestion element")}},{key:"maybeCallOnChange",value:function(e,t,n){var r=this.props.inputProps,o=r.value,i=r.onChange;t!==o&&i(e,{newValue:t,method:n})}},{key:"willRenderSuggestions",value:function(e,t){var n=e.suggestions,r=e.inputProps,o=e.shouldRenderSuggestions,i=r.value;return n.length>0&&o(i,t)}},{key:"getQuery",value:function(){var e=this.props.inputProps.value,t=this.state.valueBeforeUpDown;return(null===t?e:t).trim()}},{key:"render",value:function(){var e=this,t=this.props,n=t.suggestions,o=t.renderInputComponent,i=t.onSuggestionsFetchRequested,a=t.renderSuggestion,c=t.inputProps,l=t.multiSection,f=t.renderSectionTitle,p=t.id,d=t.getSectionSuggestions,h=t.theme,y=t.getSuggestionValue,m=t.alwaysRenderSuggestions,b=t.highlightFirstSuggestion,v=t.containerProps,I=this.state,_=I.isFocused,R=I.isCollapsed,x=I.highlightedSectionIndex,C=I.highlightedSuggestionIndex,k=I.valueBeforeUpDown,E=m?S:this.props.shouldRenderSuggestions,T=c.value,D=c.onFocus,q=c.onKeyDown,M=this.willRenderSuggestions(this.props,"render"),F=m||_&&!R&&M,H=F?n:[],A=g({},c,{onFocus:function(t){if(!e.justSelectedSuggestion&&!e.justClickedOnSuggestionsContainer){var n=E(T,w);e.setState({isFocused:!0,isCollapsed:!n}),D&&D(t),n&&i({value:T,reason:w})}},onBlur:function(t){e.justClickedOnSuggestionsContainer?e.input.focus():(e.blurEvent=t,e.justSelectedSuggestion||(e.onBlur(),e.onSuggestionsClearRequested()))},onChange:function(t){var n=t.target.value,r=E(n,j);e.maybeCallOnChange(t,n,"type"),e.suggestionsContainer&&(e.suggestionsContainer.scrollTop=0),e.setState(g({},b?{}:{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null},{valueBeforeUpDown:null,isCollapsed:!r})),r?i({value:n,reason:j}):e.onSuggestionsClearRequested()},onKeyDown:function(t,r){var o=t.keyCode;switch(o){case 40:case 38:if(R)E(T,O)&&(i({value:T,reason:O}),e.revealSuggestions(),t.preventDefault());else if(n.length>0){var u,s=r.newHighlightedSectionIndex,a=r.newHighlightedItemIndex;u=null===a?null===k?T:k:e.getSuggestionValueByIndex(s,a),e.updateHighlightedSuggestion(s,a,T),e.maybeCallOnChange(t,u,40===o?"down":"up"),t.preventDefault()}e.justPressedUpDown=!0,setTimeout((function(){e.justPressedUpDown=!1}));break;case 13:if(229===t.keyCode)break;var c=e.getHighlightedSuggestion();if(F&&!m&&e.closeSuggestions(),null!=c){t.preventDefault();var l=y(c);e.maybeCallOnChange(t,l,"enter"),e.onSuggestionSelected(t,{suggestion:c,suggestionValue:l,suggestionIndex:C,sectionIndex:x,method:"enter"}),e.justSelectedSuggestion=!0,setTimeout((function(){e.justSelectedSuggestion=!1}))}break;case 27:F&&t.preventDefault();var f=F&&!m;null===k?f||(e.maybeCallOnChange(t,"","escape"),E("",P)?i({value:"",reason:P}):e.onSuggestionsClearRequested()):e.maybeCallOnChange(t,k,"escape"),f?(e.onSuggestionsClearRequested(),e.closeSuggestions()):e.resetHighlightedSuggestion()}q&&q(t)}}),L={query:this.getQuery()};return r.default.createElement(u.default,{multiSection:l,items:H,renderInputComponent:o,renderItemsContainer:this.renderSuggestionsContainer,renderItem:a,renderItemData:L,renderSectionTitle:f,getSectionItems:d,highlightedSectionIndex:x,highlightedItemIndex:C,containerProps:v,inputProps:A,itemProps:this.itemProps,theme:(0,s.mapToAutowhateverTheme)(h),id:p,ref:this.storeAutowhateverRef})}}],o&&p(n.prototype,o),c}(r.Component);t.default=I,v(I,"propTypes",{suggestions:o.default.array.isRequired,onSuggestionsFetchRequested:function(e,t){if("function"!=typeof e[t])throw new Error("'onSuggestionsFetchRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsFetchRequestedProp")},onSuggestionsClearRequested:function(e,t){var n=e[t];if(!1===e.alwaysRenderSuggestions&&"function"!=typeof n)throw new Error("'onSuggestionsClearRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsClearRequestedProp")},shouldKeepSuggestionsOnSelect:o.default.func,onSuggestionSelected:o.default.func,onSuggestionHighlighted:o.default.func,renderInputComponent:o.default.func,renderSuggestionsContainer:o.default.func,getSuggestionValue:o.default.func.isRequired,renderSuggestion:o.default.func.isRequired,inputProps:function(e,t){var n=e[t];if(!n)throw new Error("'inputProps' must be passed.");if(!Object.prototype.hasOwnProperty.call(n,"value"))throw new Error("'inputProps' must have 'value'.");if(!Object.prototype.hasOwnProperty.call(n,"onChange"))throw new Error("'inputProps' must have 'onChange'.")},shouldRenderSuggestions:o.default.func,alwaysRenderSuggestions:o.default.bool,multiSection:o.default.bool,renderSectionTitle:function(e,t){var n=e[t];if(!0===e.multiSection&&"function"!=typeof n)throw new Error("'renderSectionTitle' must be implemented. See: https://github.com/moroshko/react-autosuggest#renderSectionTitleProp")},getSectionSuggestions:function(e,t){var n=e[t];if(!0===e.multiSection&&"function"!=typeof n)throw new Error("'getSectionSuggestions' must be implemented. See: https://github.com/moroshko/react-autosuggest#getSectionSuggestionsProp")},focusInputOnSuggestionClick:o.default.bool,highlightFirstSuggestion:o.default.bool,theme:o.default.object,id:o.default.string,containerProps:o.default.object}),v(I,"defaultProps",{renderSuggestionsContainer:function(e){var t=e.containerProps,n=e.children;return r.default.createElement("div",t,n)},shouldRenderSuggestions:function(e){return e.trim().length>0},alwaysRenderSuggestions:!1,multiSection:!1,shouldKeepSuggestionsOnSelect:function(){return!1},focusInputOnSuggestionClick:!0,highlightFirstSuggestion:!1,theme:s.defaultTheme,id:"1",containerProps:{}})},402:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==d(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(244)),o=c(n(697)),i=c(n(383)),u=c(n(379)),s=c(n(752)),a=c(n(210));function c(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){O(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function S(e,t){return S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},S(e,t)}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w={},j=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S(e,t)}(l,e);var t,n,o,c=(t=l,function(){var e,n=v(t);if(b()){var r=v(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),O(m(t=c.call(this,e)),"storeInputReference",(function(e){null!==e&&(t.input=e);var n=t.props.inputProps.ref;n&&("function"==typeof n?n(e):"object"===d(n)&&Object.prototype.hasOwnProperty.call(n,"current")&&(n.current=e))})),O(m(t),"storeItemsContainerReference",(function(e){null!==e&&(t.itemsContainer=e)})),O(m(t),"onHighlightedItemChange",(function(e){t.highlightedItem=e})),O(m(t),"getItemId",(function(e,n){if(null===n)return null;var r=t.props.id,o=null===e?"":"section-".concat(e);return"react-autowhatever-".concat(r,"-").concat(o,"-item-").concat(n)})),O(m(t),"onFocus",(function(e){var n=t.props.inputProps;t.setState({isInputFocused:!0}),n.onFocus&&n.onFocus(e)})),O(m(t),"onBlur",(function(e){var n=t.props.inputProps;t.setState({isInputFocused:!1}),n.onBlur&&n.onBlur(e)})),O(m(t),"onKeyDown",(function(e){var n,r,o=t.props,i=o.inputProps,u=o.highlightedSectionIndex,s=o.highlightedItemIndex,a=e.keyCode;switch(a){case 40:case 38:var c=40===a?"next":"prev",l=(n=t.sectionIterator[c]([u,s]),r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var u,s=e[Symbol.iterator]();!(r=(u=s.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(n,r)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),f=l[0],g=l[1];i.onKeyDown(e,{newHighlightedSectionIndex:f,newHighlightedItemIndex:g});break;default:i.onKeyDown(e,{highlightedSectionIndex:u,highlightedItemIndex:s})}})),t.highlightedItem=null,t.state={isInputFocused:!1},t.setSectionsItems(e),t.setSectionIterator(e),t.setTheme(e),t}return n=l,(o=[{key:"componentDidMount",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.items!==this.props.items&&this.setSectionsItems(e),e.items===this.props.items&&e.multiSection===this.props.multiSection||this.setSectionIterator(e),e.theme!==this.props.theme&&this.setTheme(e)}},{key:"componentDidUpdate",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"setSectionsItems",value:function(e){e.multiSection&&(this.sectionsItems=e.items.map((function(t){return e.getSectionItems(t)})),this.sectionsLengths=this.sectionsItems.map((function(e){return e.length})),this.allSectionsAreEmpty=this.sectionsLengths.every((function(e){return 0===e})))}},{key:"setSectionIterator",value:function(e){this.sectionIterator=(0,i.default)({multiSection:e.multiSection,data:e.multiSection?this.sectionsLengths:e.items.length})}},{key:"setTheme",value:function(e){this.theme=(0,u.default)(e.theme)}},{key:"renderSections",value:function(){var e=this;if(this.allSectionsAreEmpty)return null;var t=this.theme,n=this.props,o=n.id,i=n.items,u=n.renderItem,c=n.renderItemData,l=n.renderSectionTitle,f=n.highlightedSectionIndex,g=n.highlightedItemIndex,p=n.itemProps;return i.map((function(n,i){var d="react-autowhatever-".concat(o,"-"),h="".concat(d,"section-").concat(i,"-"),y=0===i;return r.default.createElement("div",t("".concat(h,"container"),"sectionContainer",y&&"sectionContainerFirst"),r.default.createElement(s.default,{section:n,renderSectionTitle:l,theme:t,sectionKeyPrefix:h}),r.default.createElement(a.default,{items:e.sectionsItems[i],itemProps:p,renderItem:u,renderItemData:c,sectionIndex:i,highlightedItemIndex:f===i?g:null,onHighlightedItemChange:e.onHighlightedItemChange,getItemId:e.getItemId,theme:t,keyPrefix:d,ref:e.storeItemsListReference}))}))}},{key:"renderItems",value:function(){var e=this.props.items;if(0===e.length)return null;var t=this.theme,n=this.props,o=n.id,i=n.renderItem,u=n.renderItemData,s=n.highlightedSectionIndex,c=n.highlightedItemIndex,l=n.itemProps;return r.default.createElement(a.default,{items:e,itemProps:l,renderItem:i,renderItemData:u,highlightedItemIndex:null===s?c:null,onHighlightedItemChange:this.onHighlightedItemChange,getItemId:this.getItemId,theme:t,keyPrefix:"react-autowhatever-".concat(o,"-")})}},{key:"ensureHighlightedItemIsVisible",value:function(){var e=this.highlightedItem;if(e){var t=this.itemsContainer,n=e.offsetParent===t?e.offsetTop:e.offsetTop-t.offsetTop,r=t.scrollTop;n<r?r=n:n+e.offsetHeight>r+t.offsetHeight&&(r=n+e.offsetHeight-t.offsetHeight),r!==t.scrollTop&&(t.scrollTop=r)}}},{key:"render",value:function(){var e=this.theme,t=this.props,n=t.id,o=t.multiSection,i=t.renderInputComponent,u=t.renderItemsContainer,s=t.highlightedSectionIndex,a=t.highlightedItemIndex,c=this.state.isInputFocused,l=o?this.renderSections():this.renderItems(),f=null!==l,p=this.getItemId(s,a),d="react-autowhatever-".concat(n),h=g({role:"combobox","aria-haspopup":"listbox","aria-owns":d,"aria-expanded":f},e("react-autowhatever-".concat(n,"-container"),"container",f&&"containerOpen"),{},this.props.containerProps),y=i(g({type:"text",value:"",autoComplete:"off","aria-autocomplete":"list","aria-controls":d,"aria-activedescendant":p},e("react-autowhatever-".concat(n,"-input"),"input",f&&"inputOpen",c&&"inputFocused"),{},this.props.inputProps,{onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.props.inputProps.onKeyDown&&this.onKeyDown,ref:this.storeInputReference})),m=u({containerProps:g({id:d,role:"listbox"},e("react-autowhatever-".concat(n,"-items-container"),"itemsContainer",f&&"itemsContainerOpen"),{ref:this.storeItemsContainerReference}),children:l});return r.default.createElement("div",h,y,m)}}])&&h(n.prototype,o),l}(r.Component);t.default=j,O(j,"propTypes",{id:o.default.string,multiSection:o.default.bool,renderInputComponent:o.default.func,renderItemsContainer:o.default.func,items:o.default.array.isRequired,renderItem:o.default.func,renderItemData:o.default.object,renderSectionTitle:o.default.func,getSectionItems:o.default.func,containerProps:o.default.object,inputProps:o.default.object,itemProps:o.default.oneOfType([o.default.object,o.default.func]),highlightedSectionIndex:o.default.number,highlightedItemIndex:o.default.number,theme:o.default.oneOfType([o.default.object,o.default.array])}),O(j,"defaultProps",{id:"1",multiSection:!1,renderInputComponent:function(e){return r.default.createElement("input",e)},renderItemsContainer:function(e){var t=e.containerProps,n=e.children;return r.default.createElement("div",t,n)},renderItem:function(){throw new Error("`renderItem` must be provided")},renderItemData:w,renderSectionTitle:function(){throw new Error("`renderSectionTitle` must be provided")},getSectionItems:function(){throw new Error("`getSectionItems` must be provided")},containerProps:w,inputProps:w,itemProps:w,highlightedSectionIndex:null,highlightedItemIndex:null,theme:{container:"react-autowhatever__container",containerOpen:"react-autowhatever__container--open",input:"react-autowhatever__input",inputOpen:"react-autowhatever__input--open",inputFocused:"react-autowhatever__input--focused",itemsContainer:"react-autowhatever__items-container",itemsContainerOpen:"react-autowhatever__items-container--open",itemsList:"react-autowhatever__items-list",item:"react-autowhatever__item",itemFirst:"react-autowhatever__item--first",itemHighlighted:"react-autowhatever__item--highlighted",sectionContainer:"react-autowhatever__section-container",sectionContainerFirst:"react-autowhatever__section-container--first",sectionTitle:"react-autowhatever__section-title"}})},314:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(244)),o=u(n(697)),i=u(n(770));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(s,e);var t,n,o,u=(t=s,function(){var e,n=y(t);if(h()){var r=y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function s(){var e;f(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return b(d(e=u.call.apply(u,[this].concat(n))),"storeItemReference",(function(t){null!==t&&(e.item=t)})),b(d(e),"onMouseEnter",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onMouseEnter(t,{sectionIndex:r,itemIndex:o})})),b(d(e),"onMouseLeave",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onMouseLeave(t,{sectionIndex:r,itemIndex:o})})),b(d(e),"onMouseDown",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onMouseDown(t,{sectionIndex:r,itemIndex:o})})),b(d(e),"onClick",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onClick(t,{sectionIndex:r,itemIndex:o})})),e}return n=s,o=[{key:"shouldComponentUpdate",value:function(e){return(0,i.default)(e,this.props,["renderItemData"])}},{key:"render",value:function(){var e=this.props,t=e.isHighlighted,n=e.item,o=e.renderItem,i=e.renderItemData,u=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["isHighlighted","item","renderItem","renderItemData"]);return delete u.sectionIndex,delete u.itemIndex,"function"==typeof u.onMouseEnter&&(u.onMouseEnter=this.onMouseEnter),"function"==typeof u.onMouseLeave&&(u.onMouseLeave=this.onMouseLeave),"function"==typeof u.onMouseDown&&(u.onMouseDown=this.onMouseDown),"function"==typeof u.onClick&&(u.onClick=this.onClick),r.default.createElement("li",c({role:"option"},u,{ref:this.storeItemReference}),o(n,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({isHighlighted:t},i)))}}],o&&g(n.prototype,o),s}(r.Component);t.default=v,b(v,"propTypes",{sectionIndex:o.default.number,isHighlighted:o.default.bool.isRequired,itemIndex:o.default.number.isRequired,item:o.default.any.isRequired,renderItem:o.default.func.isRequired,renderItemData:o.default.object.isRequired,onMouseEnter:o.default.func,onMouseLeave:o.default.func,onMouseDown:o.default.func,onClick:o.default.func})},210:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(244)),o=s(n(697)),i=s(n(314)),u=s(n(770));function s(e){return e&&e.__esModule?e:{default:e}}function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(a,e);var t,n,o,s=(t=a,function(){var e,n=m(t);if(y()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return d(this,e)});function a(){var e;g(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(h(e=s.call.apply(s,[this].concat(n))),"storeHighlightedItemReference",(function(t){e.props.onHighlightedItemChange(null===t?null:t.item)})),e}return n=a,o=[{key:"shouldComponentUpdate",value:function(e){return(0,u.default)(e,this.props,["itemProps"])}},{key:"render",value:function(){var e=this,t=this.props,n=t.items,o=t.itemProps,u=t.renderItem,s=t.renderItemData,a=t.sectionIndex,c=t.highlightedItemIndex,g=t.getItemId,p=t.theme,d=t.keyPrefix,h=null===a?d:"".concat(d,"section-").concat(a,"-"),y="function"==typeof o;return r.default.createElement("ul",l({role:"listbox"},p("".concat(h,"items-list"),"itemsList")),n.map((function(t,n){var d=0===n,m=n===c,b="".concat(h,"item-").concat(n),S=y?o({sectionIndex:a,itemIndex:n}):o,O=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({id:g(a,n),"aria-selected":m},p(b,"item",d&&"itemFirst",m&&"itemHighlighted"),{},S);return m&&(O.ref=e.storeHighlightedItemReference),r.default.createElement(i.default,l({},O,{sectionIndex:a,isHighlighted:m,itemIndex:n,item:t,renderItem:u,renderItemData:s}))})))}}],o&&p(n.prototype,o),a}(r.Component);t.default=S,v(S,"propTypes",{items:o.default.array.isRequired,itemProps:o.default.oneOfType([o.default.object,o.default.func]),renderItem:o.default.func.isRequired,renderItemData:o.default.object.isRequired,sectionIndex:o.default.number,highlightedItemIndex:o.default.number,onHighlightedItemChange:o.default.func.isRequired,getItemId:o.default.func.isRequired,theme:o.default.func.isRequired,keyPrefix:o.default.string.isRequired}),v(S,"defaultProps",{sectionIndex:null})},752:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(244)),o=u(n(697)),i=u(n(770));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}var h,y,m,b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(s,e);var t,n,o,u=(t=s,function(){var e,n=p(t);if(g()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return f(this,e)});function s(){return c(this,s),u.apply(this,arguments)}return n=s,(o=[{key:"shouldComponentUpdate",value:function(e){return(0,i.default)(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.section,n=e.renderSectionTitle,o=e.theme,i=e.sectionKeyPrefix,u=n(t);return u?r.default.createElement("div",o("".concat(i,"title"),"sectionTitle"),u):null}}])&&l(n.prototype,o),s}(r.Component);t.default=b,h=b,y="propTypes",m={section:o.default.any.isRequired,renderSectionTitle:o.default.func.isRequired,theme:o.default.func.isRequired,sectionKeyPrefix:o.default.string.isRequired},y in h?Object.defineProperty(h,y,{value:m,enumerable:!0,configurable:!0,writable:!0}):h[y]=m},770:(e,t)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(e===t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!0;var u,s,a={};for(u=0,s=r.length;u<s;u++)a[r[u]]=!0;for(u=0,s=o.length;u<s;u++){var c=o[u],l=e[c],f=t[c];if(l!==f){if(!a[c]||null===l||null===f||"object"!==n(l)||"object"!==n(f))return!0;var g=Object.keys(l),p=Object.keys(f);if(g.length!==p.length)return!0;for(var d=0,h=g.length;d<h;d++){var y=g[d];if(l[y]!==f[y])return!0}}}return!1}},808:(e,t,n)=>{"use strict";e.exports=n(394).default},581:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapToAutowhateverTheme=t.defaultTheme=void 0,t.defaultTheme={container:"react-autosuggest__container",containerOpen:"react-autosuggest__container--open",input:"react-autosuggest__input",inputOpen:"react-autosuggest__input--open",inputFocused:"react-autosuggest__input--focused",suggestionsContainer:"react-autosuggest__suggestions-container",suggestionsContainerOpen:"react-autosuggest__suggestions-container--open",suggestionsList:"react-autosuggest__suggestions-list",suggestion:"react-autosuggest__suggestion",suggestionFirst:"react-autosuggest__suggestion--first",suggestionHighlighted:"react-autosuggest__suggestion--highlighted",sectionContainer:"react-autosuggest__section-container",sectionContainerFirst:"react-autosuggest__section-container--first",sectionTitle:"react-autosuggest__section-title"},t.mapToAutowhateverTheme=function(e){var t={};for(var n in e)switch(n){case"suggestionsContainer":t.itemsContainer=e[n];break;case"suggestionsContainerOpen":t.itemsContainerOpen=e[n];break;case"suggestion":t.item=e[n];break;case"suggestionFirst":t.itemFirst=e[n];break;case"suggestionHighlighted":t.itemHighlighted=e[n];break;case"suggestionsList":t.itemsList=e[n];break;default:t[n]=e[n]}return t}},379:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var o,i=(o=n(894))&&o.__esModule?o:{default:o},u=function(e){return e};t.default=function(e){var t=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var u,s=e[Symbol.iterator]();!(r=(u=s.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(Array.isArray(e)&&2===e.length?e:[e,null],2),n=t[0],o=t[1];return function(e){for(var t=arguments.length,s=Array(t>1?t-1:0),a=1;a<t;a++)s[a-1]=arguments[a];var c=s.map((function(e){return n[e]})).filter(u);return"string"==typeof c[0]||"function"==typeof o?{key:e,className:o?o.apply(void 0,r(c)):c.join(" ")}:{key:e,style:i.default.apply(void 0,[{}].concat(r(c)))}}},e.exports=t.default},894:e=>{"use strict";var t=Object.prototype.propertyIsEnumerable;function n(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(e){var n=Object.getOwnPropertyNames(e);return Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(e))),n.filter((function(n){return t.call(e,n)}))}e.exports=Object.assign||function(e,t){for(var o,i,u=n(e),s=1;s<arguments.length;s++){o=arguments[s],i=r(Object(o));for(var a=0;a<i.length;a++)u[i[a]]=o[i[a]]}return u}},383:e=>{"use strict";var t=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var u,s=e[Symbol.iterator]();!(r=(u=s.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};e.exports=function(e){var n=e.data,r=e.multiSection;function o(e){var o=t(e,2),i=o[0],u=o[1];return r?null===u||u===n[i]-1?null===(i=function(e){for(null===e?e=0:e++;e<n.length&&0===n[e];)e++;return e===n.length?null:e}(i))?[null,null]:[i,0]:[i,u+1]:0===n||u===n-1?[null,null]:null===u?[null,0]:[null,u+1]}return{next:o,prev:function(e){var o=t(e,2),i=o[0],u=o[1];return r?null===u||0===u?null===(i=function(e){for(null===e?e=n.length-1:e--;e>=0&&0===n[e];)e--;return-1===e?null:e}(i))?[null,null]:[i,n[i]-1]:[i,u-1]:0===n||0===u?[null,null]:null===u?[null,n-1]:[null,u-1]},isLast:function(e){return null===o(e)[1]}}}},444:e=>{"use strict";e.exports=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=e.length;if(t.length!==n)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}},244:t=>{"use strict";t.exports=e},741:e=>{"use strict";e.exports=t}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return n[e](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.r(i);var e=o(244),t=o.n(e),n=o(741),r=o.n(n),u=o(697),s=o.n(u),a=function(e,t){return void 0!==e.name&&void 0!==t.name?e.name.toLowerCase().localeCompare(t.name.toLowerCase(),"da",{ignorePunctuation:!0}):0};function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function g(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(s,e);var n,r,o,i,u=(o=s,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=p(o);if(i){var n=p(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=u.call(this,e)).letters=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","æ","ø","å"],t.state={letterIndex:-1},t}return n=s,(r=[{key:"render",value:function(){var e=this,n=this.state.letterIndex,r=this.props,o=r.items,i=r.linkColor,u=r.noResultsText,s=r.noResultsUri,c=this.letters.map((function(r,u){var s=o.filter((function(e){return 0===e.name.toLowerCase().indexOf(r)})).length>0,a="";s&&(a+="available"),u===n&&(a+=" active");var c={};return s&&(c=n===u?{backgroundColor:"#fff",color:i}:{backgroundColor:i}),t().createElement("li",{key:r,className:a},t().createElement("button",{type:"button",style:c,onClick:function(){s&&e.setState({letterIndex:u})}},r))})),l=[];n>-1&&(l=o.filter((function(t){return 0===t.name.toLowerCase().indexOf(e.letters[n])})));var f=l.sort(a).map((function(e,n){var r=n,o=e.children.map((function(e){return t().createElement("li",{key:e.name},t().createElement("a",{href:e.url},e.name))}));return e.children.length>0?t().createElement("li",{key:r},t().createElement("a",{href:e.url},e.name),t().createElement("ul",null,o)):t().createElement("li",{key:r},t().createElement("a",{href:e.url},e.name))}));return t().createElement("div",{className:"au_alphabox_content"},t().createElement("ul",{className:"letters"},c),n>-1&&t().createElement("div",null,t().createElement("ul",{className:"items"},f,u&&s&&t().createElement("li",{className:"no-results"},t().createElement("a",{href:s},u)))))}}])&&l(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),s}(t().Component);d.defaultProps={noResultsText:"",noResultsUri:""},d.propTypes={linkColor:s().string.isRequired,items:s().arrayOf(s().shape({name:s().string.isRequired,url:s().string.isRequired})).isRequired,noResultsText:s().string,noResultsUri:s().string},d.displayName="AlphaBoxContentComponent";const h=d;var y=o(808),m=o.n(y),b=o(296),v=o.n(b);function S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e,t){return w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},w(e,t)}function j(e,t){if(t&&("object"===S(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return P(e)}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(e){return I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},I(e)}var _=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&w(e,t)}(s,e);var n,r,o,i,u=(o=s,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=I(o);if(i){var n=I(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return j(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=u.call(this,e)).state={value:"",suggestions:[],noSuggestions:!1},t.onChange=t.onChange.bind(P(t)),t.onEnter=t.onEnter.bind(P(t)),t.onSuggestionsFetchRequested=v()(t.onSuggestionsFetchRequested.bind(P(t)),400),t.onSuggestionsClearRequested=t.onSuggestionsClearRequested.bind(P(t)),t.onSuggestionSelected=t.onSuggestionSelected.bind(P(t)),t}return n=s,(r=[{key:"onChange",value:function(e,t){var n=t.newValue,r=this.props.setQuery;this.setState({value:n},(function(){r(n)}))}},{key:"onEnter",value:function(e){var t=this.state.suggestions,n=this.props.setResults;"Enter"===e.key&&n(t)}},{key:"onSuggestionsFetchRequested",value:function(e){var t=this,n=e.value,r=this.props,o=r.getSuggestions,i=r.collection;o(n,i,(function(e){t.setState({suggestions:e,noSuggestions:0===e.length&&""!==n.trim()&&n.trim().length>1})}))}},{key:"onSuggestionsClearRequested",value:function(){this.setState({suggestions:[]})}},{key:"onSuggestionSelected",value:function(e,t){var n=t.suggestion,r=this.props,o=r.setResults,i=r.clearInput;o([n]),i&&this.setState({value:""})}},{key:"render",value:function(){var e=this.state,n=e.value,r=e.suggestions,o=e.noSuggestions,i=this.props,u=i.placeholder,s=i.getSuggestionValue,a=i.renderSuggestion,c=i.id,l=i.theme,f=i.type,g=i.initialValue,p=i.disabled,d=i.noResultsText,h={placeholder:u,value:g||n,id:c,type:f,disabled:p,"aria-label":u,onChange:this.onChange,onKeyDown:this.onEnter};return t().createElement(t().Fragment,null,t().createElement(m(),{suggestions:r,onSuggestionsFetchRequested:this.onSuggestionsFetchRequested,onSuggestionsClearRequested:this.onSuggestionsClearRequested,onSuggestionSelected:this.onSuggestionSelected,getSuggestionValue:s,renderSuggestion:a,inputProps:h,theme:l}),o&&d&&t().createElement("p",{className:"no-results"},t().createElement("em",null,d)))}}])&&O(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),s}(t().Component);_.displayName="AUAutoSuggestComponent",_.defaultProps={id:"autosuggest1",theme:{container:"react-autosuggest__container",containerOpen:"react-autosuggest__container--open",input:"react-autosuggest__input",inputOpen:"react-autosuggest__input--open",inputFocused:"react-autosuggest__input--focused",suggestionsContainer:"react-autosuggest__suggestions-container",suggestionsContainerOpen:"react-autosuggest__suggestions-container--open",suggestionsList:"react-autosuggest__suggestions-list",suggestion:"react-autosuggest__suggestion",suggestionFirst:"react-autosuggest__suggestion--first",suggestionHighlighted:"react-autosuggest__suggestion--highlighted",sectionContainer:"react-autosuggest__section-container",sectionContainerFirst:"react-autosuggest__section-container--first",sectionTitle:"react-autosuggest__section-title"},clearInput:!1,type:"text",initialValue:"",disabled:!1,setQuery:function(){},noResultsText:""},_.propTypes={setQuery:s().func,getSuggestions:s().func.isRequired,getSuggestionValue:s().func.isRequired,renderSuggestion:s().func.isRequired,setResults:s().func.isRequired,collection:s().arrayOf(s().shape({})).isRequired,placeholder:s().string.isRequired,id:s().string,theme:s().shape({}),clearInput:s().bool,type:s().string,initialValue:s().string,disabled:s().bool,noResultsText:s().string};const R=_;function x(e){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x(e)}function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t){return k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},k(e,t)}function E(e,t){if(t&&("object"===x(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function T(e){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},T(e)}var D=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&k(e,t)}(a,e);var n,r,o,i,u,s=(i=a,u=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=T(i);if(u){var n=T(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return E(this,e)});function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=s.call(this,e)).state={item:e.item},t}return n=a,o=[{key:"getDerivedStateFromProps",value:function(e,t){return e.item.id!==t.item.id?{item:e.item}:null}}],(r=[{key:"render",value:function(){var e=this.state.item;return t().createElement("span",null,e.name)}}])&&C(n.prototype,r),o&&C(n,o),Object.defineProperty(n,"prototype",{writable:!1}),a}(t().Component);D.propTypes={item:s().shape({id:s().number.isRequired}).isRequired},D.displayName="DataBoxSuggestionComponent";const q=D;function M(e){return M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},M(e)}function F(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function H(e,t){return H=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},H(e,t)}function A(e,t){if(t&&("object"===M(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return L(e)}function L(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U(e){return U=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},U(e)}var B=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&H(e,t)}(s,e);var n,r,o,i,u=(o=s,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=U(o);if(i){var n=U(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return A(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=u.call(this,e)).state={items:[]},t.getSuggestions=t.getSuggestions.bind(L(t)),t}return n=s,(r=[{key:"componentDidMount",value:function(){var e=this,t=this.props.box.data;"json"===t.mode&&""!==t.source&&(t.itemsOnly&&(t.source+="?itemsOnly=true"),fetch(t.source).then((function(e){return e.json()})).then((function(t){e.setState({items:t.items})})))}},{key:"getSuggestions",value:function(e,t,n){var r=this.state.items,o=e.trim().toLowerCase();n(o.length<2?[]:r.filter((function(e){return e.name.toLowerCase().indexOf(o)>-1||e.name.replace(/-/gi," ").toLowerCase().indexOf(o)>-1||e.name.replace(/ /gi,"-").toLowerCase().indexOf(o)>-1})).sort((function(e,t){return e.name.toLowerCase().localeCompare(t.name.toLowerCase(),"da",{ignorePunctuation:!0})})))}},{key:"render",value:function(){var e=this.props.box,n=this.state.items,r=e.config,o=r.links.map((function(n){return t().createElement("li",{key:n.title},t().createElement("a",{href:n.url,onClick:function(){"function"==typeof n.onClick&&n.onClick()},style:{backgroundColor:e.background.linkColor}},n.title))}));return t().createElement("div",{className:"au_alphabox",style:{backgroundColor:e.background.color}},t().createElement("div",null,t().createElement("h2",null,t().createElement("a",{href:r.url},r.title)),t().createElement(h,{items:n,linkColor:e.background.linkColor,noResultsText:r.noResultsAlphabet,noResultsUri:r.noResultsUri}),t().createElement(R,{placeholder:e.search.placeHolder,setResults:function(e){e.length>=1&&e[0].url&&(window.location.href=e[0].url)},collection:[],getSuggestions:this.getSuggestions,getSuggestionValue:function(e){return e.name},renderSuggestion:function(e){return t().createElement(q,{item:e})},noResultsText:r.noResultsSearch}),""!==r.description&&t().createElement("h3",null,r.description),r.links.length>0&&t().createElement("ul",{className:"quicklinks resetlist"},o)))}}])&&F(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),s}(t().Component);B.propTypes={box:s().shape({id:s().number.isRequired,data:s().shape({itemsOnly:s().bool.isRequired,mode:s().string.isRequired,source:s().string.isRequired}),config:s().shape({name:s().string.isRequired,url:s().string.isRequired,description:s().string.isRequired,container:s().string.isRequired,tracking:s().string.isRequired,links:s().arrayOf(s().shape({title:s().string.isRequired,url:s().string.isRequired})).isRequired,title:s().string.isRequired,noResultsAlphabet:s().string.isRequired,noResultsSearch:s().string.isRequired,noResultsUri:s().string.isRequired}).isRequired,background:s().shape({color:s().string.isRequired,linkColor:s().string.isRequired}).isRequired,search:s().shape({placeHolder:s().string.isRequired,minLength:s().number.isRequired}).isRequired}).isRequired},B.displayName="AlphaBoxComponent";const N=B;function V(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var W={config:{title:"",url:"",description:"",container:".au_alphabox",tracking:"/virtual/alphabox/",links:[{title:"Link 1",url:"http://www.au.dk"},{title:"Link 2",url:"http://www.au.dk"}]},search:{minLength:1,placeHolder:""},background:{color:"#003e5c",linkColor:"#379fcb"},data:{mode:"json",itemsOnly:!1}},K=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.boxes=t}var n,o,i;return n=e,i=[{key:"mergeOptions",value:function(e){var t=e;for(var n in t.hasOwnProperty("config")||(t.config={}),W.config)t.config.hasOwnProperty(n)||(t.config[n]=W.config[n]);for(var r in t.hasOwnProperty("background")||(t.background={}),W.background)t.background.hasOwnProperty(r)||(t.background[r]=W.background[r]);for(var o in t.hasOwnProperty("search")||(t.search={}),W.search)t.search.hasOwnProperty(o)||(t.search[o]=W.search[o]);for(var i in t.hasOwnProperty("data")||(t.data={}),W.data)t.data.hasOwnProperty(i)||(t.data[i]=W.data[i])}}],(o=[{key:"init",value:function(){for(var n=0;n<this.boxes.length;n+=1){var o=this.boxes[n];if(!o.loaded){o.id=n,e.mergeOptions(o);var i=document.querySelector(o.config.container);i&&"hidden"!==getComputedStyle(i).visibility&&(r().render(t().createElement(N,{box:o}),i),o.loaded=!0)}}}}])&&V(n.prototype,o),i&&V(n,i),Object.defineProperty(n,"prototype",{writable:!1}),e}();window.AUAlphabox=K})(),i})()));
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("react"),require("react-dom"));else if("function"==typeof define&&define.amd)define(["react","react-dom"],t);else{var n="object"==typeof exports?t(require("react"),require("react-dom")):t(e.React,e.ReactDOM);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(self,((e,t)=>(()=>{var n={296:(e,t,n)=>{var r=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,u=/^0o[0-7]+$/i,s=parseInt,a="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,l=a||c||Function("return this")(),f=Object.prototype.toString,g=Math.max,p=Math.min,d=function(){return l.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==f.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=i.test(e);return n||u.test(e)?s(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,i,u,s,a,c=0,l=!1,f=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=r,i=o;return r=o=void 0,c=t,u=e.apply(i,n)}function v(e){return c=e,s=setTimeout(O,t),l?b(e):u}function S(e){var n=e-a;return void 0===a||n>=t||n<0||f&&e-c>=i}function O(){var e=d();if(S(e))return w(e);s=setTimeout(O,function(e){var n=t-(e-a);return f?p(n,i-(e-c)):n}(e))}function w(e){return s=void 0,m&&r?b(e):(r=o=void 0,u)}function j(){var e=d(),n=S(e);if(r=arguments,o=this,a=e,n){if(void 0===s)return v(a);if(f)return s=setTimeout(O,t),b(a)}return void 0===s&&(s=setTimeout(O,t)),u}return t=y(t)||0,h(n)&&(l=!!n.leading,i=(f="maxWait"in n)?g(y(n.maxWait)||0,t):i,m="trailing"in n?!!n.trailing:m),j.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=a=o=s=void 0},j.flush=function(){return void 0===s?u:w(d())},j}},703:(e,t,n)=>{"use strict";var r=n(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,u){if(u!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},697:(e,t,n)=>{e.exports=n(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},394:(e,t,n)=>{"use strict";t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(244)),o=a(n(697)),i=a(n(444)),u=a(n(402)),s=n(581);function a(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S=function(){return!0},O="suggestions-revealed",w="input-focused",j="input-changed",P="escape-pressed",I=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(c,e);var t,n,o,a=(t=c,function(){var e,n=m(t);if(y()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return d(this,e)});function c(e){var t,n=e.alwaysRenderSuggestions;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),v(h(t=a.call(this)),"onDocumentMouseDown",(function(e){t.justClickedOnSuggestionsContainer=!1;for(var n=e.detail&&e.detail.target||e.target;null!==n&&n!==document;){if(n.getAttribute&&null!==n.getAttribute("data-suggestion-index"))return;if(n===t.suggestionsContainer)return void(t.justClickedOnSuggestionsContainer=!0);n=n.parentNode}})),v(h(t),"storeAutowhateverRef",(function(e){null!==e&&(t.autowhatever=e)})),v(h(t),"onSuggestionMouseEnter",(function(e,n){var r=n.sectionIndex,o=n.itemIndex;t.updateHighlightedSuggestion(r,o),e.target===t.pressedSuggestion&&(t.justSelectedSuggestion=!0),t.justMouseEntered=!0,setTimeout((function(){t.justMouseEntered=!1}))})),v(h(t),"highlightFirstSuggestion",(function(){t.updateHighlightedSuggestion(t.props.multiSection?0:null,0)})),v(h(t),"onDocumentMouseUp",(function(){t.pressedSuggestion&&!t.justSelectedSuggestion&&t.input.focus(),t.pressedSuggestion=null})),v(h(t),"onSuggestionMouseDown",(function(e){t.justSelectedSuggestion||(t.justSelectedSuggestion=!0,t.pressedSuggestion=e.target)})),v(h(t),"onSuggestionsClearRequested",(function(){var e=t.props.onSuggestionsClearRequested;e&&e()})),v(h(t),"onSuggestionSelected",(function(e,n){var r=t.props,o=r.alwaysRenderSuggestions,i=r.onSuggestionSelected,u=r.onSuggestionsFetchRequested;i&&i(e,n);var s=t.props.shouldKeepSuggestionsOnSelect(n.suggestion);o||s?u({value:n.suggestionValue,reason:"suggestion-selected"}):t.onSuggestionsClearRequested(),t.resetHighlightedSuggestion()})),v(h(t),"onSuggestionClick",(function(e){var n=t.props,r=n.alwaysRenderSuggestions,o=n.focusInputOnSuggestionClick,i=t.getSuggestionIndices(t.findSuggestionElement(e.target)),u=i.sectionIndex,s=i.suggestionIndex,a=t.getSuggestion(u,s),c=t.props.getSuggestionValue(a);t.maybeCallOnChange(e,c,"click"),t.onSuggestionSelected(e,{suggestion:a,suggestionValue:c,suggestionIndex:s,sectionIndex:u,method:"click"});var l=t.props.shouldKeepSuggestionsOnSelect(a);r||l||t.closeSuggestions(),!0===o?t.input.focus():t.onBlur(),setTimeout((function(){t.justSelectedSuggestion=!1}))})),v(h(t),"onBlur",(function(){var e=t.props,n=e.inputProps,r=e.shouldRenderSuggestions,o=n.value,i=n.onBlur,u=t.getHighlightedSuggestion(),s=r(o,"input-blurred");t.setState({isFocused:!1,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!s}),i&&i(t.blurEvent,{highlightedSuggestion:u})})),v(h(t),"onSuggestionMouseLeave",(function(e){t.resetHighlightedSuggestion(!1),t.justSelectedSuggestion&&e.target===t.pressedSuggestion&&(t.justSelectedSuggestion=!1)})),v(h(t),"onSuggestionTouchStart",(function(){t.justSelectedSuggestion=!0})),v(h(t),"onSuggestionTouchMove",(function(){t.justSelectedSuggestion=!1,t.pressedSuggestion=null,t.input.focus()})),v(h(t),"itemProps",(function(e){return{"data-section-index":e.sectionIndex,"data-suggestion-index":e.itemIndex,onMouseEnter:t.onSuggestionMouseEnter,onMouseLeave:t.onSuggestionMouseLeave,onMouseDown:t.onSuggestionMouseDown,onTouchStart:t.onSuggestionTouchStart,onTouchMove:t.onSuggestionTouchMove,onClick:t.onSuggestionClick}})),v(h(t),"renderSuggestionsContainer",(function(e){var n=e.containerProps,r=e.children;return(0,t.props.renderSuggestionsContainer)({containerProps:n,children:r,query:t.getQuery()})})),t.state={isFocused:!1,isCollapsed:!n,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null},t.justPressedUpDown=!1,t.justMouseEntered=!1,t.pressedSuggestion=null,t}return n=c,o=[{key:"componentDidMount",value:function(){document.addEventListener("mousedown",this.onDocumentMouseDown),document.addEventListener("mouseup",this.onDocumentMouseUp),this.input=this.autowhatever.input,this.suggestionsContainer=this.autowhatever.itemsContainer}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=0===this.state.highlightedSuggestionIndex&&this.props.highlightFirstSuggestion&&!e.highlightFirstSuggestion;(0,i.default)(e.suggestions,this.props.suggestions)?e.highlightFirstSuggestion&&e.suggestions.length>0&&!1===this.justPressedUpDown&&!1===this.justMouseEntered?this.highlightFirstSuggestion():t&&this.resetHighlightedSuggestion():this.willRenderSuggestions(e,"suggestions-updated")?(this.state.isCollapsed&&!this.justSelectedSuggestion&&this.revealSuggestions(),t&&this.resetHighlightedSuggestion()):this.resetHighlightedSuggestion()}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.suggestions,o=n.onSuggestionHighlighted,u=n.highlightFirstSuggestion;if(!(0,i.default)(r,e.suggestions)&&r.length>0&&u)this.highlightFirstSuggestion();else if(o){var s=this.getHighlightedSuggestion();s!=t.highlightedSuggestion&&o({suggestion:s})}}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.onDocumentMouseDown),document.removeEventListener("mouseup",this.onDocumentMouseUp)}},{key:"updateHighlightedSuggestion",value:function(e,t,n){var r=this;this.setState((function(o){var i=o.valueBeforeUpDown;return null===t?i=null:null===i&&void 0!==n&&(i=n),{highlightedSectionIndex:e,highlightedSuggestionIndex:t,highlightedSuggestion:null===t?null:r.getSuggestion(e,t),valueBeforeUpDown:i}}))}},{key:"resetHighlightedSuggestion",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.setState((function(t){var n=t.valueBeforeUpDown;return{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:e?null:n}}))}},{key:"revealSuggestions",value:function(){this.setState({isCollapsed:!1})}},{key:"closeSuggestions",value:function(){this.setState({highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!0})}},{key:"getSuggestion",value:function(e,t){var n=this.props,r=n.suggestions,o=n.multiSection,i=n.getSectionSuggestions;return o?i(r[e])[t]:r[t]}},{key:"getHighlightedSuggestion",value:function(){var e=this.state,t=e.highlightedSectionIndex,n=e.highlightedSuggestionIndex;return null===n?null:this.getSuggestion(t,n)}},{key:"getSuggestionValueByIndex",value:function(e,t){return(0,this.props.getSuggestionValue)(this.getSuggestion(e,t))}},{key:"getSuggestionIndices",value:function(e){var t=e.getAttribute("data-section-index"),n=e.getAttribute("data-suggestion-index");return{sectionIndex:"string"==typeof t?parseInt(t,10):null,suggestionIndex:parseInt(n,10)}}},{key:"findSuggestionElement",value:function(e){var t=e;do{if(t.getAttribute&&null!==t.getAttribute("data-suggestion-index"))return t;t=t.parentNode}while(null!==t);throw console.error("Clicked element:",e),new Error("Couldn't find suggestion element")}},{key:"maybeCallOnChange",value:function(e,t,n){var r=this.props.inputProps,o=r.value,i=r.onChange;t!==o&&i(e,{newValue:t,method:n})}},{key:"willRenderSuggestions",value:function(e,t){var n=e.suggestions,r=e.inputProps,o=e.shouldRenderSuggestions,i=r.value;return n.length>0&&o(i,t)}},{key:"getQuery",value:function(){var e=this.props.inputProps.value,t=this.state.valueBeforeUpDown;return(null===t?e:t).trim()}},{key:"render",value:function(){var e=this,t=this.props,n=t.suggestions,o=t.renderInputComponent,i=t.onSuggestionsFetchRequested,a=t.renderSuggestion,c=t.inputProps,l=t.multiSection,f=t.renderSectionTitle,p=t.id,d=t.getSectionSuggestions,h=t.theme,y=t.getSuggestionValue,m=t.alwaysRenderSuggestions,b=t.highlightFirstSuggestion,v=t.containerProps,I=this.state,_=I.isFocused,R=I.isCollapsed,x=I.highlightedSectionIndex,C=I.highlightedSuggestionIndex,k=I.valueBeforeUpDown,E=m?S:this.props.shouldRenderSuggestions,T=c.value,D=c.onFocus,q=c.onKeyDown,M=this.willRenderSuggestions(this.props,"render"),F=m||_&&!R&&M,H=F?n:[],A=g({},c,{onFocus:function(t){if(!e.justSelectedSuggestion&&!e.justClickedOnSuggestionsContainer){var n=E(T,w);e.setState({isFocused:!0,isCollapsed:!n}),D&&D(t),n&&i({value:T,reason:w})}},onBlur:function(t){e.justClickedOnSuggestionsContainer?e.input.focus():(e.blurEvent=t,e.justSelectedSuggestion||(e.onBlur(),e.onSuggestionsClearRequested()))},onChange:function(t){var n=t.target.value,r=E(n,j);e.maybeCallOnChange(t,n,"type"),e.suggestionsContainer&&(e.suggestionsContainer.scrollTop=0),e.setState(g({},b?{}:{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null},{valueBeforeUpDown:null,isCollapsed:!r})),r?i({value:n,reason:j}):e.onSuggestionsClearRequested()},onKeyDown:function(t,r){var o=t.keyCode;switch(o){case 40:case 38:if(R)E(T,O)&&(i({value:T,reason:O}),e.revealSuggestions(),t.preventDefault());else if(n.length>0){var u,s=r.newHighlightedSectionIndex,a=r.newHighlightedItemIndex;u=null===a?null===k?T:k:e.getSuggestionValueByIndex(s,a),e.updateHighlightedSuggestion(s,a,T),e.maybeCallOnChange(t,u,40===o?"down":"up"),t.preventDefault()}e.justPressedUpDown=!0,setTimeout((function(){e.justPressedUpDown=!1}));break;case 13:if(229===t.keyCode)break;var c=e.getHighlightedSuggestion();if(F&&!m&&e.closeSuggestions(),null!=c){t.preventDefault();var l=y(c);e.maybeCallOnChange(t,l,"enter"),e.onSuggestionSelected(t,{suggestion:c,suggestionValue:l,suggestionIndex:C,sectionIndex:x,method:"enter"}),e.justSelectedSuggestion=!0,setTimeout((function(){e.justSelectedSuggestion=!1}))}break;case 27:F&&t.preventDefault();var f=F&&!m;null===k?f||(e.maybeCallOnChange(t,"","escape"),E("",P)?i({value:"",reason:P}):e.onSuggestionsClearRequested()):e.maybeCallOnChange(t,k,"escape"),f?(e.onSuggestionsClearRequested(),e.closeSuggestions()):e.resetHighlightedSuggestion()}q&&q(t)}}),L={query:this.getQuery()};return r.default.createElement(u.default,{multiSection:l,items:H,renderInputComponent:o,renderItemsContainer:this.renderSuggestionsContainer,renderItem:a,renderItemData:L,renderSectionTitle:f,getSectionItems:d,highlightedSectionIndex:x,highlightedItemIndex:C,containerProps:v,inputProps:A,itemProps:this.itemProps,theme:(0,s.mapToAutowhateverTheme)(h),id:p,ref:this.storeAutowhateverRef})}}],o&&p(n.prototype,o),c}(r.Component);t.default=I,v(I,"propTypes",{suggestions:o.default.array.isRequired,onSuggestionsFetchRequested:function(e,t){if("function"!=typeof e[t])throw new Error("'onSuggestionsFetchRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsFetchRequestedProp")},onSuggestionsClearRequested:function(e,t){var n=e[t];if(!1===e.alwaysRenderSuggestions&&"function"!=typeof n)throw new Error("'onSuggestionsClearRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsClearRequestedProp")},shouldKeepSuggestionsOnSelect:o.default.func,onSuggestionSelected:o.default.func,onSuggestionHighlighted:o.default.func,renderInputComponent:o.default.func,renderSuggestionsContainer:o.default.func,getSuggestionValue:o.default.func.isRequired,renderSuggestion:o.default.func.isRequired,inputProps:function(e,t){var n=e[t];if(!n)throw new Error("'inputProps' must be passed.");if(!Object.prototype.hasOwnProperty.call(n,"value"))throw new Error("'inputProps' must have 'value'.");if(!Object.prototype.hasOwnProperty.call(n,"onChange"))throw new Error("'inputProps' must have 'onChange'.")},shouldRenderSuggestions:o.default.func,alwaysRenderSuggestions:o.default.bool,multiSection:o.default.bool,renderSectionTitle:function(e,t){var n=e[t];if(!0===e.multiSection&&"function"!=typeof n)throw new Error("'renderSectionTitle' must be implemented. See: https://github.com/moroshko/react-autosuggest#renderSectionTitleProp")},getSectionSuggestions:function(e,t){var n=e[t];if(!0===e.multiSection&&"function"!=typeof n)throw new Error("'getSectionSuggestions' must be implemented. See: https://github.com/moroshko/react-autosuggest#getSectionSuggestionsProp")},focusInputOnSuggestionClick:o.default.bool,highlightFirstSuggestion:o.default.bool,theme:o.default.object,id:o.default.string,containerProps:o.default.object}),v(I,"defaultProps",{renderSuggestionsContainer:function(e){var t=e.containerProps,n=e.children;return r.default.createElement("div",t,n)},shouldRenderSuggestions:function(e){return e.trim().length>0},alwaysRenderSuggestions:!1,multiSection:!1,shouldKeepSuggestionsOnSelect:function(){return!1},focusInputOnSuggestionClick:!0,highlightFirstSuggestion:!1,theme:s.defaultTheme,id:"1",containerProps:{}})},402:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==d(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(244)),o=c(n(697)),i=c(n(383)),u=c(n(379)),s=c(n(752)),a=c(n(210));function c(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){O(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function S(e,t){return S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},S(e,t)}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w={},j=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S(e,t)}(l,e);var t,n,o,c=(t=l,function(){var e,n=v(t);if(b()){var r=v(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),O(m(t=c.call(this,e)),"storeInputReference",(function(e){null!==e&&(t.input=e);var n=t.props.inputProps.ref;n&&("function"==typeof n?n(e):"object"===d(n)&&Object.prototype.hasOwnProperty.call(n,"current")&&(n.current=e))})),O(m(t),"storeItemsContainerReference",(function(e){null!==e&&(t.itemsContainer=e)})),O(m(t),"onHighlightedItemChange",(function(e){t.highlightedItem=e})),O(m(t),"getItemId",(function(e,n){if(null===n)return null;var r=t.props.id,o=null===e?"":"section-".concat(e);return"react-autowhatever-".concat(r,"-").concat(o,"-item-").concat(n)})),O(m(t),"onFocus",(function(e){var n=t.props.inputProps;t.setState({isInputFocused:!0}),n.onFocus&&n.onFocus(e)})),O(m(t),"onBlur",(function(e){var n=t.props.inputProps;t.setState({isInputFocused:!1}),n.onBlur&&n.onBlur(e)})),O(m(t),"onKeyDown",(function(e){var n,r,o=t.props,i=o.inputProps,u=o.highlightedSectionIndex,s=o.highlightedItemIndex,a=e.keyCode;switch(a){case 40:case 38:var c=40===a?"next":"prev",l=(n=t.sectionIterator[c]([u,s]),r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var u,s=e[Symbol.iterator]();!(r=(u=s.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(n,r)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),f=l[0],g=l[1];i.onKeyDown(e,{newHighlightedSectionIndex:f,newHighlightedItemIndex:g});break;default:i.onKeyDown(e,{highlightedSectionIndex:u,highlightedItemIndex:s})}})),t.highlightedItem=null,t.state={isInputFocused:!1},t.setSectionsItems(e),t.setSectionIterator(e),t.setTheme(e),t}return n=l,(o=[{key:"componentDidMount",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.items!==this.props.items&&this.setSectionsItems(e),e.items===this.props.items&&e.multiSection===this.props.multiSection||this.setSectionIterator(e),e.theme!==this.props.theme&&this.setTheme(e)}},{key:"componentDidUpdate",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"setSectionsItems",value:function(e){e.multiSection&&(this.sectionsItems=e.items.map((function(t){return e.getSectionItems(t)})),this.sectionsLengths=this.sectionsItems.map((function(e){return e.length})),this.allSectionsAreEmpty=this.sectionsLengths.every((function(e){return 0===e})))}},{key:"setSectionIterator",value:function(e){this.sectionIterator=(0,i.default)({multiSection:e.multiSection,data:e.multiSection?this.sectionsLengths:e.items.length})}},{key:"setTheme",value:function(e){this.theme=(0,u.default)(e.theme)}},{key:"renderSections",value:function(){var e=this;if(this.allSectionsAreEmpty)return null;var t=this.theme,n=this.props,o=n.id,i=n.items,u=n.renderItem,c=n.renderItemData,l=n.renderSectionTitle,f=n.highlightedSectionIndex,g=n.highlightedItemIndex,p=n.itemProps;return i.map((function(n,i){var d="react-autowhatever-".concat(o,"-"),h="".concat(d,"section-").concat(i,"-"),y=0===i;return r.default.createElement("div",t("".concat(h,"container"),"sectionContainer",y&&"sectionContainerFirst"),r.default.createElement(s.default,{section:n,renderSectionTitle:l,theme:t,sectionKeyPrefix:h}),r.default.createElement(a.default,{items:e.sectionsItems[i],itemProps:p,renderItem:u,renderItemData:c,sectionIndex:i,highlightedItemIndex:f===i?g:null,onHighlightedItemChange:e.onHighlightedItemChange,getItemId:e.getItemId,theme:t,keyPrefix:d,ref:e.storeItemsListReference}))}))}},{key:"renderItems",value:function(){var e=this.props.items;if(0===e.length)return null;var t=this.theme,n=this.props,o=n.id,i=n.renderItem,u=n.renderItemData,s=n.highlightedSectionIndex,c=n.highlightedItemIndex,l=n.itemProps;return r.default.createElement(a.default,{items:e,itemProps:l,renderItem:i,renderItemData:u,highlightedItemIndex:null===s?c:null,onHighlightedItemChange:this.onHighlightedItemChange,getItemId:this.getItemId,theme:t,keyPrefix:"react-autowhatever-".concat(o,"-")})}},{key:"ensureHighlightedItemIsVisible",value:function(){var e=this.highlightedItem;if(e){var t=this.itemsContainer,n=e.offsetParent===t?e.offsetTop:e.offsetTop-t.offsetTop,r=t.scrollTop;n<r?r=n:n+e.offsetHeight>r+t.offsetHeight&&(r=n+e.offsetHeight-t.offsetHeight),r!==t.scrollTop&&(t.scrollTop=r)}}},{key:"render",value:function(){var e=this.theme,t=this.props,n=t.id,o=t.multiSection,i=t.renderInputComponent,u=t.renderItemsContainer,s=t.highlightedSectionIndex,a=t.highlightedItemIndex,c=this.state.isInputFocused,l=o?this.renderSections():this.renderItems(),f=null!==l,p=this.getItemId(s,a),d="react-autowhatever-".concat(n),h=g({role:"combobox","aria-haspopup":"listbox","aria-owns":d,"aria-expanded":f},e("react-autowhatever-".concat(n,"-container"),"container",f&&"containerOpen"),{},this.props.containerProps),y=i(g({type:"text",value:"",autoComplete:"off","aria-autocomplete":"list","aria-controls":d,"aria-activedescendant":p},e("react-autowhatever-".concat(n,"-input"),"input",f&&"inputOpen",c&&"inputFocused"),{},this.props.inputProps,{onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.props.inputProps.onKeyDown&&this.onKeyDown,ref:this.storeInputReference})),m=u({containerProps:g({id:d,role:"listbox"},e("react-autowhatever-".concat(n,"-items-container"),"itemsContainer",f&&"itemsContainerOpen"),{ref:this.storeItemsContainerReference}),children:l});return r.default.createElement("div",h,y,m)}}])&&h(n.prototype,o),l}(r.Component);t.default=j,O(j,"propTypes",{id:o.default.string,multiSection:o.default.bool,renderInputComponent:o.default.func,renderItemsContainer:o.default.func,items:o.default.array.isRequired,renderItem:o.default.func,renderItemData:o.default.object,renderSectionTitle:o.default.func,getSectionItems:o.default.func,containerProps:o.default.object,inputProps:o.default.object,itemProps:o.default.oneOfType([o.default.object,o.default.func]),highlightedSectionIndex:o.default.number,highlightedItemIndex:o.default.number,theme:o.default.oneOfType([o.default.object,o.default.array])}),O(j,"defaultProps",{id:"1",multiSection:!1,renderInputComponent:function(e){return r.default.createElement("input",e)},renderItemsContainer:function(e){var t=e.containerProps,n=e.children;return r.default.createElement("div",t,n)},renderItem:function(){throw new Error("`renderItem` must be provided")},renderItemData:w,renderSectionTitle:function(){throw new Error("`renderSectionTitle` must be provided")},getSectionItems:function(){throw new Error("`getSectionItems` must be provided")},containerProps:w,inputProps:w,itemProps:w,highlightedSectionIndex:null,highlightedItemIndex:null,theme:{container:"react-autowhatever__container",containerOpen:"react-autowhatever__container--open",input:"react-autowhatever__input",inputOpen:"react-autowhatever__input--open",inputFocused:"react-autowhatever__input--focused",itemsContainer:"react-autowhatever__items-container",itemsContainerOpen:"react-autowhatever__items-container--open",itemsList:"react-autowhatever__items-list",item:"react-autowhatever__item",itemFirst:"react-autowhatever__item--first",itemHighlighted:"react-autowhatever__item--highlighted",sectionContainer:"react-autowhatever__section-container",sectionContainerFirst:"react-autowhatever__section-container--first",sectionTitle:"react-autowhatever__section-title"}})},314:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(244)),o=u(n(697)),i=u(n(770));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(s,e);var t,n,o,u=(t=s,function(){var e,n=y(t);if(h()){var r=y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function s(){var e;f(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return b(d(e=u.call.apply(u,[this].concat(n))),"storeItemReference",(function(t){null!==t&&(e.item=t)})),b(d(e),"onMouseEnter",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onMouseEnter(t,{sectionIndex:r,itemIndex:o})})),b(d(e),"onMouseLeave",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onMouseLeave(t,{sectionIndex:r,itemIndex:o})})),b(d(e),"onMouseDown",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onMouseDown(t,{sectionIndex:r,itemIndex:o})})),b(d(e),"onClick",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onClick(t,{sectionIndex:r,itemIndex:o})})),e}return n=s,o=[{key:"shouldComponentUpdate",value:function(e){return(0,i.default)(e,this.props,["renderItemData"])}},{key:"render",value:function(){var e=this.props,t=e.isHighlighted,n=e.item,o=e.renderItem,i=e.renderItemData,u=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["isHighlighted","item","renderItem","renderItemData"]);return delete u.sectionIndex,delete u.itemIndex,"function"==typeof u.onMouseEnter&&(u.onMouseEnter=this.onMouseEnter),"function"==typeof u.onMouseLeave&&(u.onMouseLeave=this.onMouseLeave),"function"==typeof u.onMouseDown&&(u.onMouseDown=this.onMouseDown),"function"==typeof u.onClick&&(u.onClick=this.onClick),r.default.createElement("li",c({role:"option"},u,{ref:this.storeItemReference}),o(n,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({isHighlighted:t},i)))}}],o&&g(n.prototype,o),s}(r.Component);t.default=v,b(v,"propTypes",{sectionIndex:o.default.number,isHighlighted:o.default.bool.isRequired,itemIndex:o.default.number.isRequired,item:o.default.any.isRequired,renderItem:o.default.func.isRequired,renderItemData:o.default.object.isRequired,onMouseEnter:o.default.func,onMouseLeave:o.default.func,onMouseDown:o.default.func,onClick:o.default.func})},210:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(244)),o=s(n(697)),i=s(n(314)),u=s(n(770));function s(e){return e&&e.__esModule?e:{default:e}}function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(a,e);var t,n,o,s=(t=a,function(){var e,n=m(t);if(y()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return d(this,e)});function a(){var e;g(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(h(e=s.call.apply(s,[this].concat(n))),"storeHighlightedItemReference",(function(t){e.props.onHighlightedItemChange(null===t?null:t.item)})),e}return n=a,o=[{key:"shouldComponentUpdate",value:function(e){return(0,u.default)(e,this.props,["itemProps"])}},{key:"render",value:function(){var e=this,t=this.props,n=t.items,o=t.itemProps,u=t.renderItem,s=t.renderItemData,a=t.sectionIndex,c=t.highlightedItemIndex,g=t.getItemId,p=t.theme,d=t.keyPrefix,h=null===a?d:"".concat(d,"section-").concat(a,"-"),y="function"==typeof o;return r.default.createElement("ul",l({role:"listbox"},p("".concat(h,"items-list"),"itemsList")),n.map((function(t,n){var d=0===n,m=n===c,b="".concat(h,"item-").concat(n),S=y?o({sectionIndex:a,itemIndex:n}):o,O=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({id:g(a,n),"aria-selected":m},p(b,"item",d&&"itemFirst",m&&"itemHighlighted"),{},S);return m&&(O.ref=e.storeHighlightedItemReference),r.default.createElement(i.default,l({},O,{sectionIndex:a,isHighlighted:m,itemIndex:n,item:t,renderItem:u,renderItemData:s}))})))}}],o&&p(n.prototype,o),a}(r.Component);t.default=S,v(S,"propTypes",{items:o.default.array.isRequired,itemProps:o.default.oneOfType([o.default.object,o.default.func]),renderItem:o.default.func.isRequired,renderItemData:o.default.object.isRequired,sectionIndex:o.default.number,highlightedItemIndex:o.default.number,onHighlightedItemChange:o.default.func.isRequired,getItemId:o.default.func.isRequired,theme:o.default.func.isRequired,keyPrefix:o.default.string.isRequired}),v(S,"defaultProps",{sectionIndex:null})},752:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(244)),o=u(n(697)),i=u(n(770));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}var h,y,m,b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(s,e);var t,n,o,u=(t=s,function(){var e,n=p(t);if(g()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return f(this,e)});function s(){return c(this,s),u.apply(this,arguments)}return n=s,(o=[{key:"shouldComponentUpdate",value:function(e){return(0,i.default)(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.section,n=e.renderSectionTitle,o=e.theme,i=e.sectionKeyPrefix,u=n(t);return u?r.default.createElement("div",o("".concat(i,"title"),"sectionTitle"),u):null}}])&&l(n.prototype,o),s}(r.Component);t.default=b,h=b,y="propTypes",m={section:o.default.any.isRequired,renderSectionTitle:o.default.func.isRequired,theme:o.default.func.isRequired,sectionKeyPrefix:o.default.string.isRequired},y in h?Object.defineProperty(h,y,{value:m,enumerable:!0,configurable:!0,writable:!0}):h[y]=m},770:(e,t)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(e===t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!0;var u,s,a={};for(u=0,s=r.length;u<s;u++)a[r[u]]=!0;for(u=0,s=o.length;u<s;u++){var c=o[u],l=e[c],f=t[c];if(l!==f){if(!a[c]||null===l||null===f||"object"!==n(l)||"object"!==n(f))return!0;var g=Object.keys(l),p=Object.keys(f);if(g.length!==p.length)return!0;for(var d=0,h=g.length;d<h;d++){var y=g[d];if(l[y]!==f[y])return!0}}}return!1}},808:(e,t,n)=>{"use strict";e.exports=n(394).default},581:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapToAutowhateverTheme=t.defaultTheme=void 0,t.defaultTheme={container:"react-autosuggest__container",containerOpen:"react-autosuggest__container--open",input:"react-autosuggest__input",inputOpen:"react-autosuggest__input--open",inputFocused:"react-autosuggest__input--focused",suggestionsContainer:"react-autosuggest__suggestions-container",suggestionsContainerOpen:"react-autosuggest__suggestions-container--open",suggestionsList:"react-autosuggest__suggestions-list",suggestion:"react-autosuggest__suggestion",suggestionFirst:"react-autosuggest__suggestion--first",suggestionHighlighted:"react-autosuggest__suggestion--highlighted",sectionContainer:"react-autosuggest__section-container",sectionContainerFirst:"react-autosuggest__section-container--first",sectionTitle:"react-autosuggest__section-title"},t.mapToAutowhateverTheme=function(e){var t={};for(var n in e)switch(n){case"suggestionsContainer":t.itemsContainer=e[n];break;case"suggestionsContainerOpen":t.itemsContainerOpen=e[n];break;case"suggestion":t.item=e[n];break;case"suggestionFirst":t.itemFirst=e[n];break;case"suggestionHighlighted":t.itemHighlighted=e[n];break;case"suggestionsList":t.itemsList=e[n];break;default:t[n]=e[n]}return t}},379:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var o,i=(o=n(894))&&o.__esModule?o:{default:o},u=function(e){return e};t.default=function(e){var t=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var u,s=e[Symbol.iterator]();!(r=(u=s.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(Array.isArray(e)&&2===e.length?e:[e,null],2),n=t[0],o=t[1];return function(e){for(var t=arguments.length,s=Array(t>1?t-1:0),a=1;a<t;a++)s[a-1]=arguments[a];var c=s.map((function(e){return n[e]})).filter(u);return"string"==typeof c[0]||"function"==typeof o?{key:e,className:o?o.apply(void 0,r(c)):c.join(" ")}:{key:e,style:i.default.apply(void 0,[{}].concat(r(c)))}}},e.exports=t.default},894:e=>{"use strict";var t=Object.prototype.propertyIsEnumerable;function n(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(e){var n=Object.getOwnPropertyNames(e);return Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(e))),n.filter((function(n){return t.call(e,n)}))}e.exports=Object.assign||function(e,t){for(var o,i,u=n(e),s=1;s<arguments.length;s++){o=arguments[s],i=r(Object(o));for(var a=0;a<i.length;a++)u[i[a]]=o[i[a]]}return u}},383:e=>{"use strict";var t=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var u,s=e[Symbol.iterator]();!(r=(u=s.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};e.exports=function(e){var n=e.data,r=e.multiSection;function o(e){var o=t(e,2),i=o[0],u=o[1];return r?null===u||u===n[i]-1?null===(i=function(e){for(null===e?e=0:e++;e<n.length&&0===n[e];)e++;return e===n.length?null:e}(i))?[null,null]:[i,0]:[i,u+1]:0===n||u===n-1?[null,null]:null===u?[null,0]:[null,u+1]}return{next:o,prev:function(e){var o=t(e,2),i=o[0],u=o[1];return r?null===u||0===u?null===(i=function(e){for(null===e?e=n.length-1:e--;e>=0&&0===n[e];)e--;return-1===e?null:e}(i))?[null,null]:[i,n[i]-1]:[i,u-1]:0===n||0===u?[null,null]:null===u?[null,n-1]:[null,u-1]},isLast:function(e){return null===o(e)[1]}}}},444:e=>{"use strict";e.exports=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=e.length;if(t.length!==n)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}},244:t=>{"use strict";t.exports=e},741:e=>{"use strict";e.exports=t}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return n[e](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.r(i);var e=o(244),t=o.n(e),n=o(741),r=o.n(n),u=o(697),s=o.n(u),a=function(e,t){return void 0!==e.name&&void 0!==t.name?e.name.toLowerCase().localeCompare(t.name.toLowerCase(),"da",{ignorePunctuation:!0}):0};function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function g(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(s,e);var n,r,o,i,u=(o=s,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=p(o);if(i){var n=p(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=u.call(this,e)).letters=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","æ","ø","å"],t.state={letterIndex:-1},t}return n=s,(r=[{key:"render",value:function(){var e=this,n=this.state.letterIndex,r=this.props,o=r.items,i=r.linkColor,u=r.noResultsText,s=r.noResultsUri,c=this.letters.map((function(r,u){var s=o.filter((function(e){return 0===e.name.toLowerCase().indexOf(r)})).length>0,a="";s&&(a+="available"),u===n&&(a+=" active");var c={};return s&&(c=n===u?{backgroundColor:"#fff",color:i}:{backgroundColor:i}),t().createElement("li",{key:r,className:a},t().createElement("button",{type:"button",style:c,onClick:function(){s&&e.setState({letterIndex:u})}},r))})),l=[];n>-1&&(l=o.filter((function(t){return 0===t.name.toLowerCase().indexOf(e.letters[n])})));var f=l.sort(a).map((function(e,n){var r=n,o=e.children.map((function(e){return t().createElement("li",{key:e.name},t().createElement("a",{href:e.url},e.name))}));return e.children.length>0?t().createElement("li",{key:r},t().createElement("a",{href:e.url},e.name),t().createElement("ul",null,o)):t().createElement("li",{key:r},t().createElement("a",{href:e.url},e.name))}));return t().createElement("div",{className:"au_alphabox_content"},t().createElement("ul",{className:"letters"},c),n>-1&&t().createElement("div",null,t().createElement("ul",{className:"items"},f,u&&s&&t().createElement("li",{className:"no-results"},t().createElement("a",{href:s},u)))))}}])&&l(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),s}(t().Component);d.defaultProps={noResultsText:"",noResultsUri:""},d.propTypes={linkColor:s().string.isRequired,items:s().arrayOf(s().shape({name:s().string.isRequired,url:s().string.isRequired})).isRequired,noResultsText:s().string,noResultsUri:s().string},d.displayName="AlphaBoxContentComponent";const h=d;var y=o(808),m=o.n(y),b=o(296),v=o.n(b);function S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e,t){return w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},w(e,t)}function j(e,t){if(t&&("object"===S(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return P(e)}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(e){return I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},I(e)}var _=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&w(e,t)}(s,e);var n,r,o,i,u=(o=s,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=I(o);if(i){var n=I(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return j(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=u.call(this,e)).state={value:"",suggestions:[],noSuggestions:!1},t.onChange=t.onChange.bind(P(t)),t.onEnter=t.onEnter.bind(P(t)),t.onSuggestionsFetchRequested=v()(t.onSuggestionsFetchRequested.bind(P(t)),400),t.onSuggestionsClearRequested=t.onSuggestionsClearRequested.bind(P(t)),t.onSuggestionSelected=t.onSuggestionSelected.bind(P(t)),t}return n=s,(r=[{key:"onChange",value:function(e,t){var n=t.newValue,r=this.props.setQuery;this.setState({value:n},(function(){r(n)}))}},{key:"onEnter",value:function(e){var t=this.state.suggestions,n=this.props.setResults;"Enter"===e.key&&n(t)}},{key:"onSuggestionsFetchRequested",value:function(e){var t=this,n=e.value,r=this.props,o=r.getSuggestions,i=r.collection;o(n,i,(function(e){t.setState({suggestions:e,noSuggestions:0===e.length&&""!==n.trim()&&n.trim().length>1})}))}},{key:"onSuggestionsClearRequested",value:function(){this.setState({suggestions:[]})}},{key:"onSuggestionSelected",value:function(e,t){var n=t.suggestion,r=this.props,o=r.setResults,i=r.clearInput;o([n]),i&&this.setState({value:""})}},{key:"render",value:function(){var e=this.state,n=e.value,r=e.suggestions,o=e.noSuggestions,i=this.props,u=i.placeholder,s=i.getSuggestionValue,a=i.renderSuggestion,c=i.id,l=i.theme,f=i.type,g=i.initialValue,p=i.disabled,d=i.noResultsText,h={placeholder:u,value:g||n,id:c,type:f,disabled:p,"aria-label":u,onChange:this.onChange,onKeyDown:this.onEnter};return t().createElement(t().Fragment,null,t().createElement(m(),{suggestions:r,onSuggestionsFetchRequested:this.onSuggestionsFetchRequested,onSuggestionsClearRequested:this.onSuggestionsClearRequested,onSuggestionSelected:this.onSuggestionSelected,getSuggestionValue:s,renderSuggestion:a,inputProps:h,theme:l}),o&&d&&t().createElement("p",{className:"no-results"},t().createElement("em",null,d)))}}])&&O(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),s}(t().Component);_.displayName="AUAutoSuggestComponent",_.defaultProps={id:"autosuggest1",theme:{container:"react-autosuggest__container",containerOpen:"react-autosuggest__container--open",input:"react-autosuggest__input",inputOpen:"react-autosuggest__input--open",inputFocused:"react-autosuggest__input--focused",suggestionsContainer:"react-autosuggest__suggestions-container",suggestionsContainerOpen:"react-autosuggest__suggestions-container--open",suggestionsList:"react-autosuggest__suggestions-list",suggestion:"react-autosuggest__suggestion",suggestionFirst:"react-autosuggest__suggestion--first",suggestionHighlighted:"react-autosuggest__suggestion--highlighted",sectionContainer:"react-autosuggest__section-container",sectionContainerFirst:"react-autosuggest__section-container--first",sectionTitle:"react-autosuggest__section-title"},clearInput:!1,type:"text",initialValue:"",disabled:!1,setQuery:function(){},noResultsText:""},_.propTypes={setQuery:s().func,getSuggestions:s().func.isRequired,getSuggestionValue:s().func.isRequired,renderSuggestion:s().func.isRequired,setResults:s().func.isRequired,collection:s().arrayOf(s().shape({})).isRequired,placeholder:s().string.isRequired,id:s().string,theme:s().shape({}),clearInput:s().bool,type:s().string,initialValue:s().string,disabled:s().bool,noResultsText:s().string};const R=_;function x(e){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x(e)}function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t){return k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},k(e,t)}function E(e,t){if(t&&("object"===x(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function T(e){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},T(e)}var D=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&k(e,t)}(a,e);var n,r,o,i,u,s=(i=a,u=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=T(i);if(u){var n=T(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return E(this,e)});function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=s.call(this,e)).state={item:e.item},t}return n=a,o=[{key:"getDerivedStateFromProps",value:function(e,t){return e.item.id!==t.item.id?{item:e.item}:null}}],(r=[{key:"render",value:function(){var e=this.state.item;return t().createElement("span",null,e.name)}}])&&C(n.prototype,r),o&&C(n,o),Object.defineProperty(n,"prototype",{writable:!1}),a}(t().Component);D.propTypes={item:s().shape({id:s().number.isRequired}).isRequired},D.displayName="DataBoxSuggestionComponent";const q=D;function M(e){return M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},M(e)}function F(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function H(e,t){return H=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},H(e,t)}function A(e,t){if(t&&("object"===M(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return L(e)}function L(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U(e){return U=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},U(e)}var B=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&H(e,t)}(s,e);var n,r,o,i,u=(o=s,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=U(o);if(i){var n=U(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return A(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=u.call(this,e)).state={items:[]},t.getSuggestions=t.getSuggestions.bind(L(t)),t}return n=s,(r=[{key:"componentDidMount",value:function(){var e=this,t=this.props.box.data;"json"===t.mode&&""!==t.source&&(t.itemsOnly&&(t.source+="?itemsOnly=true"),fetch(t.source).then((function(e){return e.json()})).then((function(t){e.setState({items:t.items})})))}},{key:"getSuggestions",value:function(e,t,n){var r=this.state.items,o=e.trim().toLowerCase();n(o.length<2?[]:r.filter((function(e){return e.name.toLowerCase().indexOf(o)>-1||e.name.replace(/-/gi," ").toLowerCase().indexOf(o)>-1||e.name.replace(/ /gi,"-").toLowerCase().indexOf(o)>-1})).sort((function(e,t){return e.name.toLowerCase().localeCompare(t.name.toLowerCase(),"da",{ignorePunctuation:!0})})))}},{key:"render",value:function(){var e=this.props.box,n=this.state.items,r=e.config,o=r.links.map((function(n){return t().createElement("li",{key:n.title},t().createElement("a",{href:n.url,onClick:function(){"function"==typeof n.onClick&&n.onClick()},style:{backgroundColor:e.background.linkColor}},n.title))}));return t().createElement("div",{className:"au_alphabox",style:{backgroundColor:e.background.color}},t().createElement("div",null,t().createElement("h2",null,t().createElement("a",{href:r.url},r.title)),t().createElement(h,{items:n,linkColor:e.background.linkColor,noResultsText:r.noResultsAlphabet,noResultsUri:r.noResultsUri}),t().createElement(R,{placeholder:e.search.placeHolder,setResults:function(e){e.length>=1&&e[0].url&&(window.location.href=e[0].url)},collection:[],getSuggestions:this.getSuggestions,getSuggestionValue:function(e){return e.name},renderSuggestion:function(e){return t().createElement(q,{item:e})},noResultsText:r.noResultsSearch}),""!==r.description&&t().createElement("h3",null,r.description),r.links.length>0&&t().createElement("ul",{className:"quicklinks resetlist"},o)))}}])&&F(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),s}(t().Component);B.propTypes={box:s().shape({id:s().number.isRequired,data:s().shape({itemsOnly:s().bool.isRequired,mode:s().string.isRequired,source:s().string.isRequired}),config:s().shape({name:s().string.isRequired,url:s().string.isRequired,description:s().string.isRequired,container:s().string.isRequired,tracking:s().string.isRequired,links:s().arrayOf(s().shape({title:s().string.isRequired,url:s().string.isRequired})).isRequired,title:s().string.isRequired,noResultsAlphabet:s().string.isRequired,noResultsSearch:s().string.isRequired,noResultsUri:s().string.isRequired}).isRequired,background:s().shape({color:s().string.isRequired,linkColor:s().string.isRequired}).isRequired,search:s().shape({placeHolder:s().string.isRequired,minLength:s().number.isRequired}).isRequired}).isRequired},B.displayName="AlphaBoxComponent";const N=B;function V(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var W={config:{title:"",url:"",description:"",container:".au_alphabox",tracking:"/virtual/alphabox/",links:[{title:"Link 1",url:"http://www.au.dk"},{title:"Link 2",url:"http://www.au.dk"}]},search:{minLength:1,placeHolder:""},background:{color:"#003e5c",linkColor:"#379fcb"},data:{mode:"json",itemsOnly:!1}},K=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.boxes=t}var n,o,i;return n=e,i=[{key:"mergeOptions",value:function(e){var t=e;for(var n in t.hasOwnProperty("config")||(t.config={}),W.config)t.config.hasOwnProperty(n)||(t.config[n]=W.config[n]);for(var r in t.hasOwnProperty("background")||(t.background={}),W.background)t.background.hasOwnProperty(r)||(t.background[r]=W.background[r]);for(var o in t.hasOwnProperty("search")||(t.search={}),W.search)t.search.hasOwnProperty(o)||(t.search[o]=W.search[o]);for(var i in t.hasOwnProperty("data")||(t.data={}),W.data)t.data.hasOwnProperty(i)||(t.data[i]=W.data[i])}}],(o=[{key:"init",value:function(){for(var n=0;n<this.boxes.length;n+=1){var o=this.boxes[n];if(!o.loaded){o.id=n,e.mergeOptions(o);var i=document.querySelector(o.config.container);i&&"hidden"!==getComputedStyle(i).visibility&&(r().render(t().createElement(N,{box:o}),i),o.loaded=!0)}}}}])&&V(n.prototype,o),i&&V(n,i),Object.defineProperty(n,"prototype",{writable:!1}),e}();window.AUAlphabox=K})(),i})()));
2
2
  //# sourceMappingURL=alphabox.js.map