{"version":3,"file":"highfields-detail.js","names":["angular","module","controller","$interval","$timeout","ctrl","this","detailPopup","mapPopup","fpHampton","fpEldridge","fpCrawford","hamptonImages","Full","Thumb","crawfordImages","eldridgeImages","ux","popupUrl","mapOpen","setSlideIndex","largeSlideIndex","showPopup","url","global","showDomPopup","callerWindow","window","domID","closePopup","close","showMap","closeMap","slideNavigate","$event","index","showImage","item","navigate","code","location","href","urls","PropertyDetail","init"],"sources":["jscript-pages/highfields-detail.js"],"mappings":"AACIA,QAAQC,OAAO,SAASC,WAAW,8BAA+B,CAAE,YAAa,WAC7E,SAAmCC,EAAWC,GAC1C,IAAIC,EAAOC,KAEPC,EAAc,KACdC,EAAW,KAEfH,EAAKI,UAAY,kCACjBJ,EAAKK,WAAa,mCAClBL,EAAKM,WAAa,mCAElBN,EAAKO,cAAgB,CAAC,CAAEC,KAAM,4CAA6CC,MAAO,oDAAsD,CAAED,KAAM,oCAAqCC,MAAO,4CAA8C,CAAED,KAAM,oCAAqCC,MAAO,4CAA8C,CAAED,KAAM,oCAAqCC,MAAO,4CAA8C,CAAED,KAAM,oCAAqCC,MAAO,4CAA8C,CAAED,KAAM,oCAAqCC,MAAO,4CAA8C,CAAED,KAAM,oCAAqCC,MAAO,4CAA8C,CAAED,KAAM,oCAAqCC,MAAO,4CAA8C,CAAED,KAAM,oCAAqCC,MAAO,4CAA8C,CAAED,KAAM,oCAAqCC,MAAO,4CAA8C,CAAED,KAAM,qCAAsCC,MAAO,6CAA+C,CAAED,KAAM,qCAAsCC,MAAO,6CAA+C,CAAED,KAAM,qCAAsCC,MAAO,6CAA+C,CAAED,KAAM,qCAAsCC,MAAO,6CAA+C,CAAED,KAAM,qCAAsCC,MAAO,6CAA+C,CAAED,KAAM,qCAAsCC,MAAO,6CAA+C,CAAED,KAAM,qCAAsCC,MAAO,6CAA+C,CAAED,KAAM,qCAAsCC,MAAO,6CAA+C,CAAED,KAAM,qCAAsCC,MAAO,6CAA+C,CAAED,KAAM,qCAAsCC,MAA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a,SAASC,KAAOC,KAAKC,eAAiBJ,CACjD,EAEAlC,EAAKuC,KAAO,WAAa,EAGzBvC,EAAKuC,MACT","sourcesContent":["(function () {\r\n angular.module('agweb').controller('HighfieldsDetailsController', [ '$interval', '$timeout',\r\n function PropertyDetailsController($interval, $timeout) {\r\n var ctrl = this;\r\n\r\n var detailPopup = null; \r\n var mapPopup = null;\r\n\r\n ctrl.fpHampton = 'images-gh/FloorPlan_Hampton.jpg';\r\n ctrl.fpEldridge = 'images-gh/FloorPlan_Eldridge.jpg';\r\n ctrl.fpCrawford = 'images-gh/FloorPlan_Crawford.jpg';\r\n \r\n ctrl.hamptonImages = [{ Full: 'images-gh/thehampton/theHampton_large.png', Thumb: 'images-gh/thehampton/thumbs/theHampton_large.jpg' }, { Full: 'images-gh/thehampton/hampton1.jpg', Thumb: 'images-gh/thehampton/thumbs/hampton1.jpg' }, { Full: 'images-gh/thehampton/hampton2.jpg', Thumb: 'images-gh/thehampton/thumbs/hampton2.jpg' }, { Full: 'images-gh/thehampton/hampton3.jpg', Thumb: 'images-gh/thehampton/thumbs/hampton3.jpg' }, { Full: 'images-gh/thehampton/hampton4.jpg', Thumb: 'images-gh/thehampton/thumbs/hampton4.jpg' }, { Full: 'images-gh/thehampton/hampton5.jpg', Thumb: 'images-gh/thehampton/thumbs/hampton5.jpg' }, { Full: 'images-gh/thehampton/hampton6.jpg', Thumb: 'images-gh/thehampton/thumbs/hampton6.jpg' }, { Full: 'images-gh/thehampton/hampton7.jpg', Thumb: 'images-gh/thehampton/thumbs/hampton7.jpg' }, { Full: 'images-gh/thehampton/hampton8.jpg', Thumb: 'images-gh/thehampton/thumbs/hampton8.jpg' }, { Full: 'images-gh/thehampton/hampton9.jpg', Thumb: 'images-gh/thehampton/thumbs/hampton9.jpg' }, { Full: 'images-gh/thehampton/hampton10.jpg', Thumb: 'images-gh/thehampton/thumbs/hampton10.jpg' }, { Full: 'images-gh/thehampton/hampton11.jpg', Thumb: 'images-gh/thehampton/thumbs/hampton11.jpg' }, { Full: 'images-gh/thehampton/hampton12.jpg', Thumb: 'images-gh/thehampton/thumbs/hampton12.jpg' }, { Full: 'images-gh/thehampton/hampton13.jpg', Thumb: 'images-gh/thehampton/thumbs/hampton13.jpg' }, { Full: 'images-gh/thehampton/hampton14.jpg', Thumb: 'images-gh/thehampton/thumbs/hampton14.jpg' }, { Full: 'images-gh/thehampton/hampton15.jpg', Thumb: 'images-gh/thehampton/thumbs/hampton15.jpg' }, { Full: 'images-gh/thehampton/hampton16.jpg', Thumb: 'images-gh/thehampton/thumbs/hampton16.jpg' }, { Full: 'images-gh/thehampton/hampton17.jpg', Thumb: 'images-gh/thehampton/thumbs/hampton17.jpg' }, { Full: 'images-gh/thehampton/hampton18.jpg', Thumb: 'images-gh/thehampton/thumbs/hampton18.jpg' }, { Full: 'images-gh/thehampton/hampton19.jpg', Thumb: 'images-gh/thehampton/thumbs/hampton19.jpg' }, { Full: 'images-gh/thehampton/hampton20.jpg', Thumb: 'images-gh/thehampton/thumbs/hampton20.jpg' }, { Full: 'images-gh/thehampton/hampton21.jpg', Thumb: 'images-gh/thehampton/thumbs/hampton21.jpg' }];\r\n\r\n ctrl.crawfordImages = [{ Full: 'images-gh/thecrawford/theCrawford_large.jpg', Thumb: 'images-gh/thecrawford/thumbs/theCrawford_large.jpg' }, { Full: 'images-gh/thecrawford/crawford1.jpg', Thumb: 'images-gh/thecrawford/thumbs/crawford1.jpg' }, { Full: 'images-gh/thecrawford/crawford2.jpg', Thumb: 'images-gh/thecrawford/thumbs/crawford2.jpg' }, { Full: 'images-gh/thecrawford/crawford3.jpg', Thumb: 'images-gh/thecrawford/thumbs/crawford3.jpg' }, { Full: 'images-gh/thecrawford/crawford4.jpg', Thumb: 'images-gh/thecrawford/thumbs/crawford4.jpg' }, { Full: 'images-gh/thecrawford/crawford5.jpg', Thumb: 'images-gh/thecrawford/thumbs/crawford5.jpg' }];\r\n\r\n ctrl.eldridgeImages = [{ Full: 'images-gh/theeldridge/theEldridge_large.jpg', Thumb: 'images-gh/theeldridge/thumbs/theEldridge_large.jpg' }, { Full: 'images-gh/theeldridge/eldridge1.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge1.jpg' }, { Full: 'images-gh/theeldridge/eldridge2.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge2.jpg' }, { Full: 'images-gh/theeldridge/eldridge3.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge3.jpg' }, { Full: 'images-gh/theeldridge/eldridge4.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge4.jpg' }, { Full: 'images-gh/theeldridge/eldridge5.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge5.jpg' }, { Full: 'images-gh/theeldridge/eldridge6.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge6.jpg' }, { Full: 'images-gh/theeldridge/eldridge7.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge7.jpg' }, { Full: 'images-gh/theeldridge/eldridge8.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge8.jpg' }, { Full: 'images-gh/theeldridge/eldridge9.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge9.jpg' }, { Full: 'images-gh/theeldridge/eldridge10.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge10.jpg' }, { Full: 'images-gh/theeldridge/eldridge11.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge11.jpg' }, { Full: 'images-gh/theeldridge/eldridge12.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge12.jpg' }, { Full: 'images-gh/theeldridge/eldridge13.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge13.jpg' }, { Full: 'images-gh/theeldridge/eldridge14.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge14.jpg' }, { Full: 'images-gh/theeldridge/eldridge15.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge15.jpg' }, { Full: 'images-gh/theeldridge/eldridge16.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge16.jpg' }, { Full: 'images-gh/theeldridge/eldridge17.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge17.jpg' }, { Full: 'images-gh/theeldridge/eldridge18.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge18.jpg' }, { Full: 'images-gh/theeldridge/eldridge19.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge19.jpg' }, { Full: 'images-gh/theeldridge/eldridge20.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge20.jpg' }, { Full: 'images-gh/theeldridge/eldridge21.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge21.jpg' }, { Full: 'images-gh/theeldridge/eldridge22.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge22.jpg' }, { Full: 'images-gh/theeldridge/eldridge23.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge23.jpg' }, { Full: 'images-gh/theeldridge/eldridge24.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge24.jpg' }, { Full: 'images-gh/theeldridge/eldridge25.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge25.jpg' }, { Full: 'images-gh/theeldridge/eldridge26.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge26.jpg' }, { Full: 'images-gh/theeldridge/eldridge27.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge27.jpg' }, { Full: 'images-gh/theeldridge/eldridge28.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge28.jpg' }, { Full: 'images-gh/theeldridge/eldridge29.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge29.jpg' }, { Full: 'images-gh/theeldridge/eldridge30.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge30.jpg' }, { Full: 'images-gh/theeldridge/eldridge31.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge31.jpg' }, { Full: 'images-gh/theeldridge/eldridge32.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge32.jpg' }, { Full: 'images-gh/theeldridge/eldridge33.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge33.jpg' }, { Full: 'images-gh/theeldridge/eldridge34.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge34.jpg' }, { Full: 'images-gh/theeldridge/eldridge35.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge35.jpg' }, { Full: 'images-gh/theeldridge/eldridge36.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge36.jpg' }, { Full: 'images-gh/theeldridge/eldridge37.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge37.jpg' }, { Full: 'images-gh/theeldridge/eldridge38.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge38.jpg' }, { Full: 'images-gh/theeldridge/eldridge39.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge39.jpg' }, { Full: 'images-gh/theeldridge/eldridge40.jpg', Thumb: 'images-gh/theeldridge/thumbs/eldridge40.jpg' }];\r\n\r\n ctrl.ux = {\r\n popupUrl: null,\r\n mapOpen: false,\r\n };\r\n ctrl.setSlideIndex = 0;\r\n ctrl.largeSlideIndex = 0;\r\n\r\n //-\r\n ctrl.showPopup = function (url) {\r\n ctrl.ux.popupUrl = url;\r\n\r\n detailPopup = global.showDomPopup({\r\n callerWindow: window,\r\n domID: 'detail-popup',\r\n });\r\n };\r\n\r\n ctrl.closePopup = function () {\r\n detailPopup.close();\r\n };\r\n\r\n ctrl.showMap = function () {\r\n ctrl.ux.mapOpen = true;\r\n mapPopup = global.showDomPopup({\r\n callerWindow: window,\r\n domID: 'map-popup'\r\n })\r\n };\r\n\r\n ctrl.closeMap = function () {\r\n ctrl.ux.mapOpen = false;\r\n mapPopup.close();\r\n };\r\n\r\n ctrl.slideNavigate = function ($event) {\r\n // Set the slide index when large image is navigated,\r\n // so the small gallery can sync with it.\r\n ctrl.largeSlideIndex = $event.index;\r\n };\r\n\r\n // Make the large slide set to the index of the image clicked in the gallery\r\n ctrl.showImage = function ($event) {\r\n if ($event.item) {\r\n ctrl.setSlideIndex = $event.index;\r\n }\r\n };\r\n\r\n ctrl.navigate = function (code) {\r\n window.location.href = urls.PropertyDetail + code;\r\n };\r\n \r\n ctrl.init = function () {};\r\n //-i\r\n\r\n ctrl.init();\r\n }\r\n ]);\r\n})();"]}