ibp-max 1.2.2 → 1.2.4
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.
- package/areamap.css +2 -2
- package/areamap.js +2 -2
- package/fileupload.css +2 -0
- package/fileupload.js +2 -0
- package/index.css +2 -4
- package/index.html +1 -1
- package/index.js +2 -3
- package/lib.js +2 -0
- package/onesearch.js +2 -2
- package/package.json +1 -1
- package/privacypolicy.js +2 -0
- package/translator.js +2 -0
- package/0c3174a883da84b248b3.gif +0 -0
- package/1d4377e337a155cd6700.svg +0 -238
- package/1d876c9791c9e53553de.svg +0 -9
- package/3306427311f302ee74ab.svg +0 -15
- package/41a2c5da51f5543663a7.woff +0 -0
- package/4ba5d1c33635b0e73093.ttf +0 -0
- package/6aa0c52f188dc4b825d0.gif +0 -0
- package/749973ba090f02a3c9bb.png +0 -0
- package/78b0cd31d094f5d28568.eot +0 -0
- package/7f01b07148f205f6e825.png +0 -0
- package/agorafont.css +0 -2
- package/agorafont.css.map +0 -1
- package/agorafont.js +0 -2
- package/agorafont.js.map +0 -1
- package/areamap.css.map +0 -1
- package/areamap.js.map +0 -1
- package/b231b62df6ad72b806a6.png +0 -0
- package/homeflash.css +0 -2
- package/homeflash.css.map +0 -1
- package/homeflash.js +0 -3
- package/homeflash.js.LICENSE.txt +0 -14
- package/homeflash.js.map +0 -1
- package/index.css.map +0 -1
- package/index.js.LICENSE.txt +0 -16
- package/index.js.map +0 -1
- package/onesearch.js.map +0 -1
- package/owlcarousel.css +0 -2
- package/owlcarousel.css.map +0 -1
- package/owlcarousel.js +0 -2
- package/owlcarousel.js.map +0 -1
- package/royalslider.css +0 -2
- package/royalslider.css.map +0 -1
- package/royalslider.js +0 -2
- package/royalslider.js.map +0 -1
- package/webbuilder.css +0 -2
- package/webbuilder.css.map +0 -1
- package/webbuilder.js +0 -2
- package/webbuilder.js.map +0 -1
package/onesearch.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version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I,EAAIiI,YAAYzB,GAAG2B,OAAOrC,GAC7D9F,EAAIiI,YAAYzB,GAAG2B,OAAOrC,GAI7C,OAAO,KAOX,SAASN,EAAiB4C,EAAKC,GAG3B,OAAOD,EAAIlI,QAAQ,IAAI4G,OAAO,IAPlC,SAAoBsB,GAChB,OAAQA,EAAM,IAAIlI,QAAQ,8CAA+C,QAMrCoI,CAAWD,GAAW,IAAK,MAAO,6BCvsB1EE,EAA2B,GAG/B,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBvD,IAAjBwD,EACH,OAAOA,EAAaC,QAGrB,IAAIC,EAASL,EAAyBE,GAAY,CAGjDE,QAAS,IAOV,OAHAE,EAAoBJ,GAAUG,EAAQA,EAAOD,QAASH,GAG/CI,EAAOD,Q,4CCrBf,Q","sources":["webpack:///../../Agora 4.0/IdcGlobal.Agora.JavaScript.PlugIn/OneSearch.js","webpack:///webpack/bootstrap","webpack:///./OneSearch.ts"],"sourcesContent":["(function ($) {\r\n\r\n //Attach this new method to jQuery\r\n $.fn.extend({\r\n\r\n //This is where you write your plugin's name\r\n OneSearch: function (options) {\r\n\r\n //Set the default values, use comma to separate the settings, example:\r\n var _defaults = {\r\n ServiceUrl: '',\r\n OneSearchName: '',\r\n OneSearchDS: null,\r\n MinCharLimit: 3,\r\n EnableCurrentLocation: false,\r\n EnablePreList: false,\r\n AutoSelectFirstItem: false,\r\n ResultLimit: 10,\r\n EnableTouch: false,\r\n DataSource: null,\r\n DataSourceControl: null,\r\n ContainerCss: '',\r\n ItemCss: '',\r\n HighlightItemCss: '',\r\n Region: 'US',\r\n Locale: 'NONE',\r\n HelpText: '',\r\n AnimatePlaceholderText: false,\r\n MultiSelect: false,\r\n MultiSelectBoxId: '',\r\n MultiSelectShowHelpText: true,\r\n MultiKeywordDelimiter: '',\r\n LoadingImageUrl: '',\r\n ParentContainer: '',\r\n BeforeCall: null,\r\n AfterCall: null,\r\n OnSuccess: null,\r\n OnError: null,\r\n OnSelect: null,\r\n OnTextChange: null,\r\n OnSearch: null,\r\n OnIncrementalSearch: null,\r\n OnMultiSelectRemove: null,\r\n SearchMode: 'Database', // Cache, Database, Smart\r\n TestMode: false,\r\n StickyMode: false,\r\n EnableCategoryView: false\r\n }\r\n\r\n var _options = $.extend(_defaults, options);\r\n var _targetControl = null;\r\n var _targetAutoControl = null;\r\n var _oneSearchBox = null;\r\n var _MultiSelectBox = null;\r\n\r\n var _lastKeyword = '';\r\n var _lastSearchword = '';\r\n\r\n var _request = null;\r\n var _resposeCache = null;\r\n var _itemTeplateCache = [];\r\n var _highlightIdx = 0;\r\n\r\n var _isOnArrowSelection = false;\r\n var _isLocationSerachEnabled = false;\r\n\r\n //Iterate over the current set of matched elements\r\n return this.each(function () {\r\n Init($(this));\r\n });\r\n\r\n function Init(obj) {\r\n if (_options.StickyMode && !_options.TestMode) _options.TestMode = true;\r\n\r\n _targetControl = obj;\r\n\r\n if (_options.AutoSelectFirstItem) {\r\n _targetAutoControl = $('input[id=\"' + $(_targetControl).attr('id') + '_AUTO_ITEM\"]')\r\n }\r\n\r\n // disable browser autocomplete on input\r\n // https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion\r\n $(_targetControl).attr('autocomplete', 'nope');\r\n $(_targetControl).attr('name', $(_targetControl).attr('id').replace(/\\$/gi, '_') + (new Date()).valueOf());\r\n window.onpopstate = function (event) {\r\n $(_targetControl).attr('name', $(_targetControl).attr('id').replace(/\\$/gi, '_') + (new Date()).valueOf());\r\n };\r\n _oneSearchBox = $('<div>')\r\n .attr('id', $(_targetControl).attr('id') + '_OneSearch')\r\n .css('position', (_options.EnableTouch ? 'relative' : 'absolute'))\r\n .css('top', getTotalHeightOfControl($(_targetControl)))\r\n .css('width', getTotalWidthOfControl($(_targetControl)))\r\n .css('display', 'none')\r\n .addClass(_options.ContainerCss)\r\n .html(_options.HelpText);\r\n\r\n if (_options.ParentContainer != '') {\r\n $('#' + _options.ParentContainer).append(_oneSearchBox);\r\n } else {\r\n _oneSearchBox.insertAfter($(_targetControl));\r\n }\r\n\r\n $(_targetControl).closest('div').click(function (e) {\r\n if ($(_targetControl).css('display') == 'block' && $(_targetControl).html() != '') return;\r\n if (e.target.className == 'CloseArea') return;\r\n setTimeout(function () {\r\n $(_targetControl).focus();\r\n }, 500);\r\n });\r\n\r\n if (_options.MultiSelect) {\r\n if (_options.MultiSelectBoxId != '') {\r\n _MultiSelectBox = $('#' + _options.MultiSelectBoxId)\r\n }\r\n if (_MultiSelectBox != null && _options.MultiSelectBoxCss != '') {\r\n _MultiSelectBox.addClass(_options.MultiSelectBoxCss);\r\n }\r\n\r\n reloadMultiSelectOnLoad();\r\n }\r\n\r\n //check is location search enabled\r\n if (_options.EnableCurrentLocation) {\r\n var lat = $('input[type=\"hidden\"][id=\"' + $(_targetControl).attr('id') + '_GPS_RLAT\"]').val();\r\n var lng = $('input[type=\"hidden\"][id=\"' + $(_targetControl).attr('id') + '_GPS_RLONG\"]').val();\r\n var rds = $('input[type=\"hidden\"][id=\"' + $(_targetControl).attr('id') + '_GPS_RDS\"]').val();\r\n if (typeof (lat) != 'undefined' && typeof (lng) != 'undefined' && typeof (rds) != 'undefined' && lat != '' && lng != '' && rds != '') {\r\n _isLocationSerachEnabled = true;\r\n }\r\n }\r\n $(_targetControl).keydown(function (e) {\r\n switch (e.keyCode) {\r\n case 9 /* tab */:\r\n case 13 /* enter */:\r\n if (_options.AutoSelectFirstItem && $(_targetControl).val().length > 0) {\r\n if (_highlightIdx > 0) selectHighlightedItem(); else {\r\n selectItem(0, false, true);\r\n }\r\n _isOnArrowSelection = false;\r\n } else {\r\n selectHighlightedItem();\r\n _isOnArrowSelection = false;\r\n }\r\n break;\r\n //case 37 /* left */:\r\n\r\n // break;\r\n case 38 /* up */:\r\n highlightItem(-1);\r\n break;\r\n case 39 /* right */:\r\n if (_options.AutoSelectFirstItem) {\r\n selectItem(0, false, true);\r\n $(_oneSearchBox).hide();\r\n $(_targetAutoControl).val('');\r\n }\r\n break;\r\n case 40 /* down */:\r\n highlightItem(1);\r\n break;\r\n case 27 /* escape */:\r\n $(_oneSearchBox).hide();\r\n _resposeCache = null;\r\n _itemTeplateCache = [];\r\n _highlightIdx = 0;\r\n break;\r\n default:\r\n break;\r\n }\r\n });\r\n\r\n $(_targetControl).keypress(function (e) {\r\n if (parseInt(_oneSearchBox.css('width')) != getTotalWidthOfControl($(_targetControl))) {\r\n _oneSearchBox.css('width', getTotalWidthOfControl($(_targetControl)));\r\n }\r\n if (parseInt(_oneSearchBox.css('top')) != getTotalHeightOfControl($(_targetControl))) {\r\n _oneSearchBox.css('top', getTotalHeightOfControl($(_targetControl)));\r\n }\r\n\r\n if (e.keyCode == 13) e.preventDefault();\r\n });\r\n\r\n $(_targetControl).keyup(function (e) {\r\n if (e.keyCode == 27) return;\r\n\r\n if ((e.keyCode == 8 || e.keyCode == 46 || e.keyCode == 88 || e.keyCode == 86) && $(_targetControl).val().length == 0) {\r\n bindAssociateControl(null, null);\r\n if (_options.AutoSelectFirstItem) _targetAutoControl.val('');\r\n }\r\n\r\n //if (e.keyCode == 13 && $(_targetControl).val().length > 0 && $(_oneSearchBox).css('display') == 'none') {\r\n // if (_options.OnSearch) _options.OnSearch();\r\n //}\r\n if (e.keyCode == 13 && $(_targetControl).val().length > 0 && !_isOnArrowSelection) {\r\n if (_options.OnSearch) _options.OnSearch();\r\n } else if (e.keyCode == 13 && $(_targetControl).val().length > 0 && _options.AutoSelectFirstItem) {\r\n if (_highlightIdx > 0) selectHighlightedItem(); else {\r\n selectItem(0, false, true);\r\n }\r\n } else if (_options.OnIncrementalSearch) {\r\n _options.OnIncrementalSearch();\r\n }\r\n\r\n if ($(_targetControl).val().length >= _options.MinCharLimit || _options.EnablePreList || _options.EnableCurrentLocation) $(_oneSearchBox).show(); else $(_oneSearchBox).hide();\r\n\r\n if (e.keyCode == 13) $(_oneSearchBox).hide();\r\n\r\n if ($(_targetControl).val().indexOf(_lastKeyword) < 0) {\r\n $(_oneSearchBox).html('');\r\n }\r\n\r\n if (e.keyCode == 8 || e.keyCode == 46) {\r\n _lastKeyword = '';\r\n _lastSearchword = '';\r\n }\r\n\r\n // If there is no change the last and current value in the keyword, then no need to continue\r\n if (_lastKeyword == $(_targetControl).val()) return;\r\n\r\n if (_options.OnTextChange) _options.OnTextChange($(_targetControl).val());\r\n\r\n // Clear associated controls since the keyword has been changed\r\n bindAssociateControl(null, null);\r\n\r\n // set current value of the text boox as last value/keyword\r\n _lastKeyword = $(_targetControl).val();\r\n\r\n // if the suggestion box is hidden then no need to continue\r\n if ($(_oneSearchBox).css('display') == 'none') return;\r\n\r\n if (_options.LoadingImageUrl != '' && $(_targetControl).val().length >= _options.MinCharLimit) {\r\n $(_oneSearchBox).html('<img src=\"' + _options.LoadingImageUrl + '\" />');\r\n }\r\n\r\n setTimeout(function () {\r\n searchKeyword();\r\n }, 500);\r\n });\r\n\r\n $(_targetControl).focus(function () {\r\n\r\n if (parseInt(_oneSearchBox.css('width')) != getTotalWidthOfControl($(_targetControl))) {\r\n _oneSearchBox.css('width', getTotalWidthOfControl($(_targetControl)));\r\n }\r\n if (parseInt(_oneSearchBox.css('top')) != getTotalHeightOfControl($(_targetControl))) {\r\n _oneSearchBox.css('top', getTotalHeightOfControl($(_targetControl)));\r\n }\r\n\r\n\r\n if (_options.MultiSelect) {\r\n if (_MultiSelectBox.find('a.agora-onesearch-multi-sel-item-close').length > 0) {\r\n var _tempContMult = $('<div>')\r\n .html($(_MultiSelectBox.html()));\r\n $(_tempContMult).find('a.agora-onesearch-multi-sel-item-close').each(function () {\r\n $(this).attr('onclick', 'javascript:$(\\'#' + options.MultiSelectBoxId + ' #' + $(this).attr('id') + '\\').trigger(\\'click\\')')\r\n })\r\n\r\n if (_options.MultiSelectShowHelpText) _options.HelpText = '<div style=\"padding:7px\"><font style=\"color:red\">You have already selected</font>' + ((_options.StickyMode) ? '<a class=\"CloseArea\" href=\"javascript:void(0);\" title=\"Click here to hide selected filters.\" onclick=\"$(\\'#' + $(_targetControl).attr('id') + '_OneSearch' + '\\').hide();\">Close</a>' : '') + '<hr style=\"margin:0px 0px 7px 0px\" />' + _tempContMult.html() + '</div>';\r\n else {\r\n if (_options.EnableCurrentLocation) {\r\n $(_tempContMult).append(getCurrentLocationObject());\r\n }\r\n }\r\n } else {\r\n _options.HelpText = '';\r\n if (_options.EnableCurrentLocation) {\r\n if ($(_oneSearchBox).find('[data-location-search]').length == 0)\r\n $(_oneSearchBox).append(getCurrentLocationObject());\r\n $(_oneSearchBox).show();\r\n }\r\n }\r\n }\r\n\r\n if (_options.EnablePreList) {\r\n searchKeyword();\r\n $(_oneSearchBox).show();\r\n } else if (!_options.MultiSelect && _options.EnableCurrentLocation) {\r\n if ($(_oneSearchBox).find('[data-location-search]').length == 0)\r\n $(_oneSearchBox).append(getCurrentLocationObject());\r\n console.log(getCurrentLocationObject());\r\n $(_oneSearchBox).show();\r\n } else if (_options.HelpText != '' && $(_targetControl).val() == '') {\r\n $(_oneSearchBox).html(_options.HelpText);\r\n\r\n if (parseInt(_oneSearchBox.css('width')) != getTotalWidthOfControl($(_targetControl))) {\r\n _oneSearchBox.css('width', getTotalWidthOfControl($(_targetControl)));\r\n }\r\n if (parseInt(_oneSearchBox.css('top')) != getTotalHeightOfControl($(_targetControl))) {\r\n _oneSearchBox.css('top', getTotalHeightOfControl($(_targetControl)));\r\n }\r\n\r\n $(_oneSearchBox).show();\r\n }\r\n });\r\n\r\n $(_targetControl).blur(function () {\r\n if (_options.AutoSelectFirstItem && $(_targetControl).val().length > 0 && !_options.MultiSelect) {\r\n setTimeout(function () {\r\n var isManualSelect = $(_targetControl).data('is-manual-select');\r\n if (typeof (isManualSelect) == 'undefined' || isManualSelect == false)\r\n selectItem(0, true, true);\r\n $(_targetControl).data('is-manual-select', false);\r\n }, 50);\r\n }\r\n setTimeout(function () {\r\n if (!_options.TestMode) {\r\n $(_oneSearchBox).html('');\r\n $(_oneSearchBox).hide();\r\n if ($(_targetControl).val().length == 0) {\r\n $(_oneSearchBox).parent().removeClass('is-dirty');\r\n }\r\n\r\n }\r\n else if ($(_oneSearchBox).find('[data-location-search]').length > 0 && _options.TestMode) {\r\n $(_oneSearchBox).html('');\r\n $(_oneSearchBox).hide();\r\n $(_oneSearchBox).parent().removeClass('is-dirty');\r\n }\r\n else if (_options.StickyMode && $(_oneSearchBox).find('div.agora-onesearch-multi-sel-item-cont').length == 0) {\r\n $(_oneSearchBox).html('');\r\n $(_oneSearchBox).hide();\r\n $(_oneSearchBox).parent().removeClass('is-dirty');\r\n }\r\n }, 200);\r\n });\r\n\r\n searchKeyword();\r\n\r\n if (_options.AnimatePlaceholderText == true && $(_targetControl).val() == '') {\r\n AnimatePlaceholderText($(_targetControl), '', 0);\r\n }\r\n }\r\n\r\n function getCurrentLocationObject() {\r\n if (_options.EnableCurrentLocation && (document.location.protocol.toLowerCase().indexOf('https') > -1 || document.location.hostname.indexOf('localhost') > -1)) {\r\n return $('<a>')\r\n .html('<i class=\"material-icons notranslate\">location_on</i>' + $(_targetControl).attr('EnableCurrentLocationLabel'))\r\n .css('display', 'block')\r\n .css('width', '100%')\r\n .css('padding', '3px')\r\n .css('color', 'red')\r\n .attr('idx', -1)\r\n .addClass('get-my-direction')\r\n .attr('data-location-search', '')\r\n .mouseover(function () { $(this).css('background-color:red'); $(this).addClass(_options.HighlightItemCss); })\r\n .click(function () { searchNearby($(this).attr('idx')); })\r\n .on('tap', function () { searchNearby($(this).attr('idx')); })\r\n .mouseout(function () { $(this).removeClass(_options.HighlightItemCss); });\r\n }\r\n return null;\r\n }\r\n\r\n function clearNearby() {\r\n if (_isLocationSerachEnabled) {\r\n $('input[type=\"hidden\"][id=\"' + $(_targetControl).attr('id') + '_GPS_RLAT\"]').val('');\r\n $('input[type=\"hidden\"][id=\"' + $(_targetControl).attr('id') + '_GPS_RLONG\"]').val('');\r\n $('input[type=\"hidden\"][id=\"' + $(_targetControl).attr('id') + '_GPS_RDS\"]').val('');\r\n $('#draw_search').click();\r\n }\r\n }\r\n\r\n function searchNearby(idx) {\r\n if (navigator.geolocation) {\r\n navigator.geolocation.getCurrentPosition(function (position) {\r\n $('input[type=\"hidden\"][id=\"' + $(_targetControl).attr('id') + '_GPS_RLAT\"]').val(position.coords.latitude);\r\n $('input[type=\"hidden\"][id=\"' + $(_targetControl).attr('id') + '_GPS_RLONG\"]').val(position.coords.longitude);\r\n $('input[type=\"hidden\"][id=\"' + $(_targetControl).attr('id') + '_GPS_RDS\"]').val(($(_targetControl).attr('DefaultSearchRadius') != null && $(_targetControl).attr('DefaultSearchRadius') != '0') ? $(_targetControl).attr('DefaultSearchRadius') : '5');\r\n _isLocationSerachEnabled = true;\r\n if (_options.OnSelect) _options.OnSelect({ \"k\": position.coords.latitude + '|' + position.coords.longitude, \"n\": \"IDCLATITUDE|IDCLONGITUDE\", \"rt\": \"LOCATION\" });\r\n if (_options.OnSuccess) _options.OnSuccess();\r\n })\r\n }\r\n selectItem(idx);\r\n }\r\n\r\n function searchKeyword() {\r\n if (_lastSearchword == $(_targetControl).val() && !_options.EnablePreList) return;\r\n\r\n // If there already a request not yet completed then that need to stop/abort before staarting new one\r\n if (_request != null) _request.abort();\r\n\r\n if ($(_targetControl).val().length < _options.MinCharLimit) _lastKeyword = ''; else _lastSearchword = $(_targetControl).val();\r\n\r\n if (!_options.EnablePreList && $(_targetControl).val().length < _options.MinCharLimit) return;\r\n\r\n if (_options.AutoSelectFirstItem) {\r\n $(_targetAutoControl).val('');\r\n $(_targetControl).data('is-manual-select', false);\r\n }\r\n\r\n _request = $.ajax({\r\n type: 'POST',\r\n url: _options.ServiceUrl + \"?Keyword=\" + (($(_targetControl).val().length < _options.MinCharLimit) ? '' : $(_targetControl).val().replace(/#/g, '%23')) + '&t=' + new Date().getTime(),\r\n data: ({ \"Keyword\": (($(_targetControl).val().length < _options.MinCharLimit) ? '' : $(_targetControl).val()), \"SearchMode\": _options.SearchMode, \"OneSearchName\": _options.OneSearchName, \"Region\": _options.Region, \"Locale\": _options.Locale, \"AdditionalWhere\": $(_targetControl).attr('AdditionalWhere') }),\r\n dataType: 'json',\r\n success: function (data) {\r\n _resposeCache = data;\r\n _highlightIdx = 0;\r\n $(_oneSearchBox).html('');\r\n if (data == undefined || data.length == 0) {\r\n $(_oneSearchBox).hide();\r\n return;\r\n }\r\n\r\n var _itemData = '';\r\n var _field = '';\r\n var _item = null;\r\n var _categoryitem = '';\r\n var _cateogoryname = '';\r\n \r\n\r\n for (i = 0; i < data.length; i++) {\r\n _itemData = highlightKeyword(data[i].l, $(_targetControl).val());\r\n _field = getFieldJson(_options.OneSearchDS, data[i].rt, data[i].n);\r\n\r\n if (_field != null && _field.ItemTemplate != null && _field.ItemTemplate != '') {\r\n _itemData = _field.ItemTemplate.replace('{$l}', highlightKeyword(data[i].l, $(_targetControl).val()));\r\n _itemData = _itemData.replace('{$d}', data[i].d);\r\n } else if (_field != null && _field.ItemTemplates.length > 0) {\r\n for (j = 0; j < _field.ItemTemplates.length; j++) {\r\n if (_field.ItemTemplates[j].Locale == _options.Locale) {\r\n _itemData = _field.ItemTemplates[j].Template.replace('{$l}', highlightKeyword(data[i].l, $(_targetControl).val()));\r\n _itemData = _itemData.Template.replace('{$d}', data[i].d);\r\n }\r\n }\r\n }\r\n\r\n _item = $('<a>')\r\n .html(_itemData)\r\n .css('display', 'block')\r\n .css('width', '100%')\r\n .css('padding', '3px')\r\n .css('text-decoration', 'none')\r\n .css('color', 'black')\r\n .attr('idx', i)\r\n .mouseover(function () { $(this).addClass(_options.HighlightItemCss); })\r\n .mousedown(function () { $(_targetControl).data('is-manual-select', true); })\r\n .click(function () { selectItem($(this).attr('idx')); })\r\n .on('tap', function () { $(_targetControl).data('is-manual-select', true); selectItem($(this).attr('idx')); })\r\n .mouseout(function () { $(this).removeClass(_options.HighlightItemCss); });\r\n\r\n if (i == 0 && _options.AutoSelectFirstItem) {\r\n autoSelectItem(i, false, true);\r\n }\r\n if (_options.EnableCategoryView) {\r\n if (_cateogoryname != data[i].g) {\r\n _categoryitem = $('<div>').addClass('OneSearchBox-category-'+ data[i].g);\r\n _categoryitem.append ($('<span>').html(data[i].g));\r\n _cateogoryname = data[i].g;\r\n }\r\n _categoryitem.append(_item);\r\n $(_oneSearchBox).append(_categoryitem);\r\n if (i == 0 && $(_oneSearchBox)[i].className.includes('OneSearchBox-'))\r\n $(_oneSearchBox)[i].className = $(_oneSearchBox)[i].className.replace(/\\bOneSearchBox-[A-Za-z]*\\b/g, '');\r\n $(_oneSearchBox).addClass('OneSearchBox-' + data[i].g);\r\n }\r\n else {\r\n $(_oneSearchBox).append(_item);\r\n }\r\n }\r\n },\r\n statusCode: {\r\n 404: function () {\r\n console.log('Service (agoraOneSearch) not found!');\r\n }\r\n }\r\n });\r\n }\r\n\r\n function selectHighlightedItem() {\r\n if (_resposeCache == null || _resposeCache.length < (_highlightIdx - 1) || _highlightIdx <= 0) return;\r\n\r\n var _label = '';\r\n var _selectedValue = '';\r\n var _field = getFieldJson(_options.OneSearchDS, _resposeCache[_highlightIdx - 1].rt, _resposeCache[_highlightIdx - 1].n);\r\n if (_field != null && _field.ItemTemplate != '') {\r\n if (_field.Selector != undefined && _field.Selector != null && _field.Selector == 'k')\r\n _selectedValue = _resposeCache[_highlightIdx - 1].k;\r\n else\r\n _selectedValue = _resposeCache[_highlightIdx - 1].l;\r\n }\r\n _label = _resposeCache[_highlightIdx - 1].l;\r\n\r\n if (!_options.MultiSelect) {\r\n $(_targetControl).val(_label);\r\n } else {\r\n $(_targetControl).val('');\r\n }\r\n\r\n\r\n _lastKeyword = $(_targetControl).val();\r\n bindAssociateControl(_resposeCache[_highlightIdx - 1], _selectedValue);\r\n if (_options.AutoSelectFirstItem) autoSelectItem((_highlightIdx - 1));\r\n if (_options.OnSelect) _options.OnSelect(_resposeCache[_highlightIdx - 1]);\r\n _highlightIdx = 0;\r\n if (!_options.TestMode) $(_oneSearchBox).html('');\r\n }\r\n\r\n function selectItem(idx, noclear, autoSelect) {\r\n var _label = '';\r\n var _selectedValue = '';\r\n if (noclear == undefined || noclear == null) noclear = false;\r\n if (autoSelect == undefined || autoSelect == null) autoSelect = false;\r\n\r\n if (typeof (_resposeCache) == 'undefined' || _resposeCache == null || _resposeCache.length == 0) return;\r\n\r\n var _field = getFieldJson(_options.OneSearchDS, _resposeCache[idx].rt, _resposeCache[idx].n);\r\n if (_field != null && _field.ItemTemplate != '') {\r\n if (_field.Selector != undefined && _field.Selector != null && _field.Selector == 'k')\r\n _selectedValue = _resposeCache[idx].k;\r\n else\r\n _selectedValue = _resposeCache[idx].l;\r\n }\r\n _label = _resposeCache[idx].l;\r\n\r\n if (autoSelect == true && !_label.toLowerCase().startsWith($(_targetControl).val().toLowerCase())) {\r\n $(_targetAutoControl).val('');\r\n return;\r\n }\r\n\r\n if (!_options.MultiSelect) {\r\n if (_field != null &&_field.SkipSelect != true) $(_targetControl).val(_label); else $(_targetControl).val('');\r\n if (_options.AutoSelectFirstItem) $(_targetAutoControl).val('');\r\n } else {\r\n $(_targetControl).val('');\r\n if (_options.AutoSelectFirstItem) $(_targetAutoControl).val('');\r\n }\r\n\r\n _lastKeyword = $(_targetControl).val();\r\n if (idx >= 0) clearNearby();\r\n if (_field != null &&_field.SkipSelect != true) bindAssociateControl(_resposeCache[idx], _selectedValue);\r\n if (_options.OnSelect) _options.OnSelect(_resposeCache[idx]);\r\n if (!_options.TestMode && !noclear) $(_oneSearchBox).html('');\r\n\r\n if (_options.MultiSelect) {\r\n setTimeout(function () { $(_targetControl).focus(); }, 200);\r\n }\r\n }\r\n\r\n function autoSelectItem(idx) {\r\n var _label = '';\r\n var _selectedValue = '';\r\n if (typeof (_resposeCache) == 'undefined' || _resposeCache == null || _resposeCache.length == 0) return;\r\n var _field = getFieldJson(_options.OneSearchDS, _resposeCache[idx].rt, _resposeCache[idx].n);\r\n if (_field != null && _field.ItemTemplate != '') {\r\n if (_field.Selector != undefined && _field.Selector != null && _field.Selector == 'k')\r\n _selectedValue = _resposeCache[idx].k;\r\n else\r\n _selectedValue = _resposeCache[idx].l;\r\n }\r\n _label = _resposeCache[idx].l;\r\n\r\n if (!_label.toLowerCase().replace(/\\,/g, '').startsWith($(_targetControl).val().toLowerCase().replace(/\\,/g, ''))) {\r\n $(_targetAutoControl).val('');\r\n return;\r\n }\r\n var regEx = new RegExp($(_targetControl).val(), \"ig\");\r\n $(_targetAutoControl).val(_label.replace(regEx, $(_targetControl).val()));\r\n\r\n _lastKeyword = $(_targetControl).val();\r\n }\r\n\r\n function reloadMultiSelectOnLoad() {\r\n if (!_options.MultiSelect) return;\r\n\r\n $('input[type=\"hidden\"][id^=\"' + $(_targetControl).attr('id') + '\"]').each(function () {\r\n if ($(this).val() != '') {\r\n var _item = {}; //[{ \"k\": \"Charlotte\", \"l\": \"Charlotte, NC\", \"n\": \"CITY\", \"rt\": \"CMNCMN\" }]\r\n var _itemValue = $(this).attr('id').split('_');\r\n _item.rt = _itemValue[_itemValue.length - 2];\r\n _item.n = _itemValue[_itemValue.length - 1];\r\n bindAssociateControl(_item, $(this).val(), true);\r\n }\r\n });\r\n }\r\n\r\n function bindAssociateControl(item, value, initialLoad) {\r\n if (!_options.MultiSelect) {\r\n $('input[type=\"hidden\"][id^=\"' + $(_targetControl).attr('id') + '\"]').each(function () {\r\n $(this).val('');\r\n });\r\n if (item == null) return;\r\n $('#' + $(_targetControl).attr('id') + '_' + item.rt + '_' + item.n).val(value);\r\n } else {\r\n if (item == null) return;\r\n var _ctrlMultiField = $('#' + $(_targetControl).attr('id') + '_' + item.rt + '_' + item.n);\r\n\r\n var _valueItems = value.split(\";\");\r\n var _field = getFieldJson(_options.OneSearchDS, item.rt, item.n);\r\n\r\n for (i = 0; i < _valueItems.length && _field != null; i++) {\r\n if (_valueItems[i].length < 2) continue;\r\n if ((';' + _ctrlMultiField.val().toLowerCase() + ';').indexOf(';' + _valueItems[i].toLowerCase() + ';') == -1 || initialLoad) {\r\n if (!initialLoad) _ctrlMultiField.val(_ctrlMultiField.val() + ';' + _valueItems[i]);\r\n\r\n var _multiSelectItem = $('<div>')\r\n .addClass('agora-onesearch-multi-sel-item-cont')\r\n .attr('id', 'multiitem' + $(_targetControl).attr('id') + '_' + item.rt + '_' + item.n + _valueItems[i].replace(/\\ /g, '_').replace(/\\-/g, '_').replace(/[^A-z0-9]/g, '_'))\r\n .append($('<a>')\r\n .addClass('agora-onesearch-multi-sel-item-close')\r\n .attr('title', 'Click here to hide this area filter.')\r\n .attr('id', 'multiitem_close_' + $(_targetControl).attr('id') + '_' + item.rt + '_' + item.n + _valueItems[i].replace(/\\ /g, '_').replace(/\\-/g, '_').replace(/[^A-z0-9]/g, '_'))\r\n .attr('val', _valueItems[i])\r\n .html('<i class=\"fa fa-times-circle\"></i>')\r\n .click(function () {\r\n removeFromMultiSelect($(this), item, $(this).attr('val'));\r\n })\r\n )\r\n .append($('<a>')\r\n .html(_field.MultiItemTemplate.replace('{$l}', _valueItems[i]))\r\n )\r\n\r\n _MultiSelectBox.append(_multiSelectItem);\r\n }\r\n }\r\n\r\n if (!initialLoad && _options.OnMultiSelectRemove) _options.OnMultiSelectRemove();\r\n }\r\n }\r\n\r\n function hasMultiSelectedItems() {\r\n return (_options.MultiSelect && _MultiSelectBox.find('a.agora-onesearch-multi-sel-item-close').length > 0);\r\n }\r\n\r\n function removeFromMultiSelect(me, item, value) {\r\n var _ctrlMultiField = $('#' + $(_targetControl).attr('id') + '_' + item.rt + '_' + item.n);\r\n if (_ctrlMultiField.val().indexOf(';') != 0) _ctrlMultiField.val(';' + _ctrlMultiField.val());\r\n _ctrlMultiField.val(_ctrlMultiField.val().replace(';' + value, ''));\r\n\r\n //$('#multiitem' + $(_targetControl).attr('id') + '_' + item.rt + '_' + item.n + value.replace(/\\ /g, '_').replace(/\\-/g, '_')).remove();\r\n $(me).parent().remove();\r\n\r\n if (_ctrlMultiField.val() == \"\" || $(_oneSearchBox).find('div.agora-onesearch-multi-sel-item-cont').length == 0) {\r\n $(_oneSearchBox).html('');\r\n $(_oneSearchBox).hide();\r\n }\r\n\r\n if (_options.OnMultiSelectRemove) _options.OnMultiSelectRemove();\r\n }\r\n\r\n\r\n function highlightItem(direction) {\r\n _isOnArrowSelection = true;\r\n\r\n if (direction > 0) /*down*/ {\r\n if (_highlightIdx < $(_oneSearchBox).find('a').length) _highlightIdx++;\r\n }\r\n else /*up*/ {\r\n if (_highlightIdx > 1) _highlightIdx--;\r\n }\r\n $(_oneSearchBox).find('a').each(function () { $(this).removeClass(_options.HighlightItemCss); });\r\n $(_oneSearchBox).find((_options.EnableCategoryView) ? 'a[idx=' + _highlightIdx + ']' : 'a:nth-child(' + _highlightIdx + ')').addClass(_options.HighlightItemCss);\r\n }\r\n\r\n function getTotalWidthOfControl(object) {\r\n\r\n if (object == null || object.length == 0) {\r\n return 0;\r\n }\r\n\r\n var value = object.width();\r\n value += parseInt(object.css(\"padding-left\"), 10) + parseInt(object.css(\"padding-right\"), 10); //Total Padding Width\r\n //value += parseInt(object.css(\"margin-left\"), 10) + parseInt(object.css(\"margin-right\"), 10); //Total Margin Width\r\n value += parseInt(object.css(\"borderLeftWidth\"), 10) + parseInt(object.css(\"borderRightWidth\"), 10); //Total Border Width\r\n\r\n if (_options.ParentContainer != '') {\r\n value += object.offset().left;\r\n }\r\n\r\n return value;\r\n }\r\n\r\n function getTotalHeightOfControl(object) {\r\n\r\n if (object == null || object.length == 0) {\r\n return 0;\r\n }\r\n\r\n var value = object.height();\r\n value += parseInt(object.css(\"padding-top\"), 10) + parseInt(object.css(\"padding-bottom\"), 10); //Total Padding Width\r\n //value += parseInt(object.css(\"margin-top\"), 10) + parseInt(object.css(\"margin-bottom\"), 10); //Total Margin Width\r\n value += parseInt(object.css(\"borderTopWidth\"), 10) + parseInt(object.css(\"borderBottomWidth\"), 10); //Total Border Width\r\n value += object.position().top;\r\n\r\n if (_options.ParentContainer != '') {\r\n value += object.offset().top;\r\n }\r\n\r\n return value;\r\n }\r\n\r\n function getFieldJson(obj, rt, fieldName) {\r\n if (_itemTeplateCache[rt + '_' + fieldName] != null) return _itemTeplateCache[rt + '_' + fieldName];\r\n\r\n for (k = 0; k < obj.RecordTypes.length; k++) {\r\n for (j = 0; obj.RecordTypes[k].Name == rt && j < obj.RecordTypes[k].Fields.length; j++) {\r\n if (obj.RecordTypes[k].Fields[j].Name == fieldName) {\r\n _itemTeplateCache[rt + '_' + fieldName] = obj.RecordTypes[k].Fields[j];\r\n return obj.RecordTypes[k].Fields[j];\r\n }\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n function preg_quote(str) {\r\n return (str + '').replace(/([\\\\\\.\\+\\*\\?\\[\\^\\]\\$\\(\\)\\{\\}\\=\\!\\<\\>\\|\\:])/g, \"\\\\$1\");\r\n }\r\n\r\n function highlightKeyword(str, keyword) {\r\n //return str.replace(new RegExp(preg_quote(to), 'gi'), by);\r\n\r\n return str.replace(new RegExp(\"(\" + preg_quote(keyword) + \")\", 'gi'), \"<strong>$1</strong>\");\r\n }\r\n}\r\n});\r\n})(jQuery);\r\n\r\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","import '../../Agora 4.0/IdcGlobal.Agora.JavaScript.PlugIn/OneSearch.js'"],"names":["$","jQuery","fn","extend","OneSearch","options","_options","ServiceUrl","OneSearchName","OneSearchDS","MinCharLimit","EnableCurrentLocation","EnablePreList","AutoSelectFirstItem","ResultLimit","EnableTouch","DataSource","DataSourceControl","ContainerCss","ItemCss","HighlightItemCss","Region","Locale","HelpText","AnimatePlaceholderText","MultiSelect","MultiSelectBoxId","MultiSelectShowHelpText","MultiKeywordDelimiter","LoadingImageUrl","ParentContainer","BeforeCall","AfterCall","OnSuccess","OnError","OnSelect","OnTextChange","OnSearch","OnIncrementalSearch","OnMultiSelectRemove","SearchMode","TestMode","StickyMode","EnableCategoryView","_targetControl","_targetAutoControl","_oneSearchBox","_MultiSelectBox","_lastKeyword","_lastSearchword","_request","_resposeCache","_itemTeplateCache","_highlightIdx","_isOnArrowSelection","_isLocationSerachEnabled","this","each","obj","attr","replace","Date","valueOf","window","onpopstate","event","css","getTotalHeightOfControl","getTotalWidthOfControl","addClass","html","append","insertAfter","closest","click","e","target","className","setTimeout","focus","MultiSelectBoxCss","val","_item","_itemValue","split","rt","length","n","bindAssociateControl","lat","lng","rds","keydown","keyCode","selectHighlightedItem","selectItem","highlightItem","hide","keypress","parseInt","preventDefault","keyup","show","indexOf","searchKeyword","find","_tempContMult","getCurrentLocationObject","console","log","blur","isManualSelect","data","parent","removeClass","Init","document","location","protocol","toLowerCase","hostname","mouseover","searchNearby","on","mouseout","idx","navigator","geolocation","getCurrentPosition","position","coords","latitude","longitude","abort","ajax","type","url","getTime","dataType","success","undefined","_itemData","_field","_categoryitem","_cateogoryname","i","highlightKeyword","l","getFieldJson","ItemTemplate","d","ItemTemplates","j","Template","mousedown","autoSelectItem","g","includes","statusCode","_label","_selectedValue","Selector","k","noclear","autoSelect","startsWith","SkipSelect","regEx","RegExp","item","value","initialLoad","_ctrlMultiField","_valueItems","_multiSelectItem","removeFromMultiSelect","MultiItemTemplate","me","remove","direction","object","width","offset","left","height","top","fieldName","RecordTypes","Name","Fields","str","keyword","preg_quote","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","module","__webpack_modules__"],"sourceRoot":""}
|
package/owlcarousel.css
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
.owl-carousel,.owl-carousel .owl-item{-webkit-tap-highlight-color:transparent;position:relative}.owl-carousel{display:none;width:100%;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y}.owl-carousel .owl-stage:after{clear:both;content:".";display:block;height:0;line-height:0;visibility:hidden}.owl-carousel .owl-stage-outer{overflow:hidden;position:relative;-webkit-transform:translateZ(0)}.owl-carousel .owl-item{-webkit-touch-callout:none;-webkit-backface-visibility:hidden;float:left;min-height:1px}.owl-carousel .owl-item img{display:block;-webkit-transform-style:preserve-3d;width:100%}.owl-carousel .owl-dots.disabled,.owl-carousel .owl-nav.disabled{display:none}.no-js .owl-carousel,.owl-carousel.owl-loaded{display:block}.no-js .owl-carousel .item:not(:first-child){display:none!important}.no-js .owl-carousel .item:first-child{opacity:0}.owl-carousel .owl-dot,.owl-carousel .owl-nav .owl-next,.owl-carousel .owl-nav .owl-prev{cursor:pointer;cursor:hand;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-loading{display:block;opacity:0}.owl-carousel.owl-hidden{opacity:0}.owl-carousel.owl-refresh .owl-item{visibility:hidden}.owl-carousel.owl-drag .owl-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-grab{cursor:move;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.owl-carousel .animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.owl-height{transition:height .5s ease-in-out}.owl-carousel .owl-item .owl-lazy{opacity:0;transition:opacity .4s ease}.owl-carousel .owl-item img.owl-lazy{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{background:#000;height:100%;position:relative}.owl-carousel .owl-video-play-icon{-webkit-backface-visibility:hidden;background:url(7f01b07148f205f6e825.png) no-repeat;cursor:pointer;height:80px;left:50%;margin-left:-40px;margin-top:-40px;position:absolute;top:50%;transition:-webkit-transform .1s ease;transition:transform .1s ease;width:80px;z-index:1}.owl-carousel .owl-video-play-icon:hover{-webkit-transform:scale(1.3);-ms-transform:scale(1.3);transform:scale(1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{background-position:50%;background-repeat:no-repeat;background-size:contain;height:100%;opacity:0;transition:opacity .4s ease}.owl-carousel .owl-video-frame{height:100%;position:relative;width:100%;z-index:1}.owl-theme .owl-dots,.owl-theme .owl-nav{-webkit-tap-highlight-color:transparent;text-align:center}.owl-theme .owl-nav{margin-top:10px}.owl-theme .owl-nav [class*=owl-]{background:#d6d6d6;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:14px;margin:5px;padding:4px 7px}.owl-theme .owl-nav [class*=owl-]:hover{background:#869791;color:#fff;text-decoration:none}.owl-theme .owl-nav .disabled{cursor:default;opacity:.5}.owl-theme .owl-nav.disabled+.owl-dots{margin-top:10px}.owl-theme .owl-dots .owl-dot{zoom:1;display:inline-block}.owl-theme .owl-dots .owl-dot span{-webkit-backface-visibility:visible;background:#d6d6d6;border-radius:30px;display:block;height:10px;margin:5px 7px;transition:opacity .2s ease;width:10px}.owl-theme .owl-dots .owl-dot.active span,.owl-theme .owl-dots .owl-dot:hover span{background:#869791}
|
|
2
|
-
/*# sourceMappingURL=owlcarousel.css.map*/
|
package/owlcarousel.css.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"owlcarousel.css","mappings":"AAKA,sCAAsC,uCAAuC,CAAC,iBAAiB,CAAC,cAAc,YAAY,CAAC,UAAU,CAAC,SAAS,CAAC,yBAAyB,iBAAiB,CAAC,sBAAsB,CAAC,+BAAyD,UAAU,CAApC,WAAW,CAAC,aAAa,CAA4C,QAAO,CAArB,aAAa,CA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ApF,WAAU,CAAtC,UAAgH,2BAAwB,gCAA6E,WAAU,CAA3D,iBAA+B,CAA4B,UAAW,CAAvC,SAAwC,CCAr5F,yCAA2D,uCAAsC,CAAxD,iBAAyD,CAAC,oBAAoB,eAAe,CAAC,kCAAuF,kBAAkB,CAAqC,iBAAgB,CAA5H,UAAU,CAAmF,cAAc,CAAnC,oBAAoB,CAAjF,cAAc,CAAC,UAAU,CAAC,eAAwF,CAAC,wCAAwC,kBAAkB,CAAC,UAAU,CAAC,oBAAoB,CAAC,8BAAyC,cAAa,CAAxB,UAAyB,CAAC,uCAAuC,eAAe,CAAC,8BAAmD,MAAK,CAA1B,oBAA2B,CAAC,mCAA0G,mCAAmC,CAApE,kBAAkB,CAA+E,kBAAiB,CAA/F,aAAa,CAA3D,WAAW,CAAC,cAAc,CAAsE,2BAA2B,CAAtI,UAAyJ,CAAC,mFAAmF,kBAAkB","sources":["webpack:///../IdcGlobal.IBP.Web/theme/US/site_1/css/owl.carousel.min.css","webpack:///../IdcGlobal.IBP.Web/theme/US/site_1/css/owl.theme.default.min.css"],"sourcesContent":["/**\n * Owl Carousel v2.2.0\n * Copyright 2013-2016 David Deutsch\n * Licensed under MIT (https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE)\n */\n.owl-carousel,.owl-carousel .owl-item{-webkit-tap-highlight-color:transparent;position:relative}.owl-carousel{display:none;width:100%;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y}.owl-carousel .owl-stage:after{content:\".\";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0,0,0)}.owl-carousel .owl-item{min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-touch-callout:none}.owl-carousel .owl-item img{display:block;width:100%;-webkit-transform-style:preserve-3d}.owl-carousel .owl-dots.disabled,.owl-carousel .owl-nav.disabled{display:none}.no-js .owl-carousel,.owl-carousel.owl-loaded{display:block}.no-js .owl-carousel .item:not(:first-child) {display: none!important;}.no-js .owl-carousel .item:first-child {opacity:0;}.owl-carousel .owl-dot,.owl-carousel .owl-nav .owl-next,.owl-carousel .owl-nav .owl-prev{cursor:pointer;cursor:hand;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel.owl-refresh .owl-item{visibility:hidden}.owl-carousel.owl-drag .owl-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-grab{cursor:move;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.owl-carousel .animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.owl-height{transition:height .5s ease-in-out}.owl-carousel .owl-item .owl-lazy{opacity:0;transition:opacity .4s ease}.owl-carousel .owl-item img.owl-lazy{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;transition:-webkit-transform .1s ease;transition:transform .1s ease}.owl-carousel .owl-video-play-icon:hover{-webkit-transform:scale(1.3,1.3);-ms-transform:scale(1.3,1.3);transform:scale(1.3,1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;background-size:contain;transition:opacity .4s ease}.owl-carousel .owl-video-frame{position:relative;z-index:1;height:100%;width:100%}","/**\n * Owl Carousel v2.2.0\n * Copyright 2013-2016 David Deutsch\n * Licensed under MIT (https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE)\n */\n.owl-theme .owl-dots,.owl-theme .owl-nav{text-align:center;-webkit-tap-highlight-color:transparent}.owl-theme .owl-nav{margin-top:10px}.owl-theme .owl-nav [class*=owl-]{color:#FFF;font-size:14px;margin:5px;padding:4px 7px;background:#D6D6D6;display:inline-block;cursor:pointer;border-radius:3px}.owl-theme .owl-nav [class*=owl-]:hover{background:#869791;color:#FFF;text-decoration:none}.owl-theme .owl-nav .disabled{opacity:.5;cursor:default}.owl-theme .owl-nav.disabled+.owl-dots{margin-top:10px}.owl-theme .owl-dots .owl-dot{display:inline-block;zoom:1}.owl-theme .owl-dots .owl-dot span{width:10px;height:10px;margin:5px 7px;background:#D6D6D6;display:block;-webkit-backface-visibility:visible;transition:opacity .2s ease;border-radius:30px}.owl-theme .owl-dots .owl-dot.active span,.owl-theme .owl-dots .owl-dot:hover span{background:#869791}"],"names":[],"sourceRoot":""}
|
package/owlcarousel.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(()=>{var t={271:(t,e,i)=>{"use strict";i.r(e)},7:(t,e,i)=>{"use strict";i.r(e)},243:()=>{var t,e;!function(t,e,i,s){function n(e,i){this.settings=null,this.options=t.extend({},n.Defaults,i),this.$element=t(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},t.each(["onResize","onThrottledResize"],t.proxy((function(e,i){this._handlers[i]=t.proxy(this[i],this)}),this)),t.each(n.Plugins,t.proxy((function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)}),this)),t.each(n.Workers,t.proxy((function(e,i){this._pipe.push({filter:i.filter,run:t.proxy(i.run,this)})}),this)),this.setup(),this.initialize()}n.Defaults={items:3,loop:!1,center:!1,rewind:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},n.Width={Default:"default",Inner:"inner",Outer:"outer"},n.Type={Event:"event",State:"state"},n.Plugins={},n.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,s=this.settings.rtl,n={width:"auto","margin-left":s?e:"","margin-right":s?"":e};!i&&this.$stage.children().css(n),t.css=n}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,s=this._items.length,n=!this.settings.autoWidth,o=[];for(t.items={merge:!1,width:e};s--;)i=this._mergers[s],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=i>1||t.items.merge,o[s]=n?e*i:this._items[s].width();this._widths=o}},{filter:["items","settings"],run:function(){var e=[],i=this._items,s=this.settings,n=Math.max(2*s.items,4),o=2*Math.ceil(i.length/2),r=s.loop&&i.length?s.rewind?n:Math.max(n,o):0,a="",h="";for(r/=2;r--;)e.push(this.normalize(e.length/2,!0)),a+=i[e[e.length-1]][0].outerHTML,e.push(this.normalize(i.length-1-(e.length-1)/2,!0)),h=i[e[e.length-1]][0].outerHTML+h;this._clones=e,t(a).addClass("cloned").appendTo(this.$stage),t(h).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,i=-1,s=0,n=0,o=[];++i<e;)s=o[i-1]||0,n=this._widths[this.relative(i)]+this.settings.margin,o.push(s+n*t);this._coordinates=o}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,i={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(i)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,i=!this.settings.autoWidth,s=this.$stage.children();if(i&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],s.eq(e).css(t.css);else i&&(t.css.width=t.items.width,s.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var t,e,i,s,n=this.settings.rtl?1:-1,o=2*this.settings.stagePadding,r=this.coordinates(this.current())+o,a=r+this.width()*n,h=[];for(i=0,s=this._coordinates.length;i<s;i++)t=this._coordinates[i-1]||0,e=Math.abs(this._coordinates[i])+o*n,(this.op(t,"<=",r)&&this.op(t,">",a)||this.op(e,"<",r)&&this.op(e,">",a))&&h.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+h.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],n.prototype.initialize=function(){var e,i,n;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(e=this.$element.find("img"),i=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:s,n=this.$element.children(i).width(),e.length&&n<=0&&this.preloadAutoWidthImages(e));this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('<div class="'+this.settings.stageOuterClass+'"/>'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},n.prototype.setup=function(){var e=this.viewport(),i=this.options.responsive,s=-1,n=null;i?(t.each(i,(function(t){t<=e&&t>s&&(s=Number(t))})),"function"==typeof(n=t.extend({},this.options,i[s])).stagePadding&&(n.stagePadding=n.stagePadding()),delete n.responsive,n.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+s))):n=t.extend({},this.options),this.trigger("change",{property:{name:"settings",value:n}}),this._breakpoint=s,this.settings=n,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},n.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},n.prototype.prepare=function(e){var i=this.trigger("prepare",{content:e});return i.data||(i.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:i.data}),i.data},n.prototype.update=function(){for(var e=0,i=this._pipe.length,s=t.proxy((function(t){return this[t]}),this._invalidated),n={};e<i;)(this._invalidated.all||t.grep(this._pipe[e].filter,s).length>0)&&this._pipe[e].run(n),e++;this._invalidated={},!this.is("valid")&&this.enter("valid")},n.prototype.width=function(t){switch(t=t||n.Width.Default){case n.Width.Inner:case n.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},n.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},n.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},n.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.$element.is(":visible")&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},n.prototype.registerEventHandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(e,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",(function(){return!1}))),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.onDragEnd,this)))},n.prototype.onDragStart=function(e){var s=null;3!==e.which&&(t.support.transform?s={x:(s=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===s.length?12:4],y:s[16===s.length?13:5]}:(s=this.$stage.position(),s={x:this.settings.rtl?s.left+this.$stage.width()-this.width()+this.settings.margin:s.left,y:s.top}),this.is("animating")&&(t.support.transform?this.animate(s.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=t(e.target),this._drag.stage.start=s,this._drag.stage.current=s,this._drag.pointer=this.pointer(e),t(i).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(i).one("mousemove.owl.core touchmove.owl.core",t.proxy((function(e){var s=this.difference(this._drag.pointer,this.pointer(e));t(i).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),Math.abs(s.x)<Math.abs(s.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))}),this)))},n.prototype.onDragMove=function(t){var e=null,i=null,s=null,n=this.difference(this._drag.pointer,this.pointer(t)),o=this.difference(this._drag.stage.start,n);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-e,o.x=((o.x-e)%i+i)%i+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),s=this.settings.pullDrag?-1*n.x/5:0,o.x=Math.max(Math.min(o.x,e+s),i+s)),this._drag.stage.current=o,this.animate(o.x))},n.prototype.onDragEnd=function(e){var s=this.difference(this._drag.pointer,this.pointer(e)),n=this._drag.stage.current,o=s.x>0^this.settings.rtl?"left":"right";t(i).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==s.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(n.x,0!==s.x?o:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=o,(Math.abs(s.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",(function(){return!1}))),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},n.prototype.closest=function(e,i){var s=-1,n=this.width(),o=this.coordinates();return this.settings.freeDrag||t.each(o,t.proxy((function(t,r){return"left"===i&&e>r-30&&e<r+30?s=t:"right"===i&&e>r-n-30&&e<r-n+30?s=t+1:this.op(e,"<",r)&&this.op(e,">",o[t+1]||r-n)&&(s="left"===i?t+1:t),-1===s}),this)),this.settings.loop||(this.op(e,">",o[this.minimum()])?s=e=this.minimum():this.op(e,"<",o[this.maximum()])&&(s=e=this.maximum())),s},n.prototype.animate=function(e){var i=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),i&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"}):i?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},n.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0},n.prototype.current=function(t){if(t===s)return this._current;if(0===this._items.length)return s;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==s&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},n.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,(function(t,e){return e}))},n.prototype.reset=function(t){(t=this.normalize(t))!==s&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},n.prototype.normalize=function(t,e){var i=this._items.length,n=e?0:this._clones.length;return!this.isNumeric(t)||i<1?t=s:(t<0||t>=i+n)&&(t=((t-n/2)%i+i)%i+n/2),t},n.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},n.prototype.maximum=function(t){var e,i,s,n=this.settings,o=this._coordinates.length;if(n.loop)o=this._clones.length/2+this._items.length-1;else if(n.autoWidth||n.merge){for(e=this._items.length,i=this._items[--e].width(),s=this.$element.width();e--&&!((i+=this._items[e].width()+this.settings.margin)>s););o=e+1}else o=n.center?this._items.length-1:this._items.length-n.items;return t&&(o-=this._clones.length/2),Math.max(o,0)},n.prototype.minimum=function(t){return t?0:this._clones.length/2},n.prototype.items=function(t){return t===s?this._items.slice():(t=this.normalize(t,!0),this._items[t])},n.prototype.mergers=function(t){return t===s?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},n.prototype.clones=function(e){var i=this._clones.length/2,n=i+this._items.length,o=function(t){return t%2==0?n+t/2:i-(t+1)/2};return e===s?t.map(this._clones,(function(t,e){return o(e)})):t.map(this._clones,(function(t,i){return t===e?o(i):null}))},n.prototype.speed=function(t){return t!==s&&(this._speed=t),this._speed},n.prototype.coordinates=function(e){var i,n=1,o=e-1;return e===s?t.map(this._coordinates,t.proxy((function(t,e){return this.coordinates(e)}),this)):(this.settings.center?(this.settings.rtl&&(n=-1,o=e+1),i=this._coordinates[e],i+=(this.width()-i+(this._coordinates[o]||0))/2*n):i=this._coordinates[o]||0,i=Math.ceil(i))},n.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},n.prototype.to=function(t,e){var i=this.current(),s=null,n=t-this.relative(i),o=(n>0)-(n<0),r=this._items.length,a=this.minimum(),h=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(n)>r/2&&(n+=-1*o*r),(s=(((t=i+n)-a)%r+r)%r+a)!==t&&s-n<=h&&s-n>0&&(i=s-n,t=s,this.reset(i))):t=this.settings.rewind?(t%(h+=1)+h)%h:Math.max(a,Math.min(h,t)),this.speed(this.duration(i,t,e)),this.current(t),this.$element.is(":visible")&&this.update()},n.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},n.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},n.prototype.onTransitionEnd=function(t){if(t!==s&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},n.prototype.viewport=function(){var s;if(this.options.responsiveBaseElement!==e)s=t(this.options.responsiveBaseElement).width();else if(e.innerWidth)s=e.innerWidth;else{if(!i.documentElement||!i.documentElement.clientWidth)throw"Can not detect viewport width.";s=i.documentElement.clientWidth}return s},n.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof jQuery?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter((function(){return 1===this.nodeType})).each(t.proxy((function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)}),this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},n.prototype.add=function(e,i){var n=this.relative(this._current);i=i===s?this._items.length:this.normalize(i,!0),e=e instanceof jQuery?e:t(e),this.trigger("add",{content:e,position:i}),e=this.prepare(e),0===this._items.length||i===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[i-1].after(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[i].before(e),this._items.splice(i,0,e),this._mergers.splice(i,0,1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[n]&&this.reset(this._items[n].index()),this.invalidate("items"),this.trigger("added",{content:e,position:i})},n.prototype.remove=function(t){(t=this.normalize(t,!0))!==s&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},n.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy((function(e,i){this.enter("pre-loading"),i=t(i),t(new Image).one("load",t.proxy((function(t){i.attr("src",t.target.src),i.css("opacity",1),this.leave("pre-loading"),this.refresh()}),this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"))}),this))},n.prototype.destroy=function(){for(var s in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(i).off(".owl.core"),!1!==this.settings.responsive&&(e.clearTimeout(this.resizeTimer),this.off(e,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[s].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},n.prototype.op=function(t,e,i){var s=this.settings.rtl;switch(e){case"<":return s?t>i:t<i;case">":return s?t<i:t>i;case">=":return s?t<=i:t>=i;case"<=":return s?t>=i:t<=i}},n.prototype.on=function(t,e,i,s){t.addEventListener?t.addEventListener(e,i,s):t.attachEvent&&t.attachEvent("on"+e,i)},n.prototype.off=function(t,e,i,s){t.removeEventListener?t.removeEventListener(e,i,s):t.detachEvent&&t.detachEvent("on"+e,i)},n.prototype.trigger=function(e,i,s,o,r){var a={item:{count:this._items.length,index:this.current()}},h=t.camelCase(t.grep(["on",e,s],(function(t){return t})).join("-").toLowerCase()),l=t.Event([e,"owl",s||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},a,i));return this._supress[e]||(t.each(this._plugins,(function(t,e){e.onTrigger&&e.onTrigger(l)})),this.register({type:n.Type.Event,name:e}),this.$element.trigger(l),this.settings&&"function"==typeof this.settings[h]&&this.settings[h].call(this,l)),l},n.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy((function(t,e){this._states.current[e]===s&&(this._states.current[e]=0),this._states.current[e]++}),this))},n.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy((function(t,e){this._states.current[e]--}),this))},n.prototype.register=function(e){if(e.type===n.Type.Event){if(t.event.special[e.name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var i=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!i||!i.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&t.namespace.indexOf("owl")>-1:i.apply(this,arguments)},t.event.special[e.name].owl=!0}}else e.type===n.Type.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy((function(i,s){return t.inArray(i,this._states.tags[e.name])===s}),this)))},n.prototype.suppress=function(e){t.each(e,t.proxy((function(t,e){this._supress[e]=!0}),this))},n.prototype.release=function(e){t.each(e,t.proxy((function(t,e){delete this._supress[e]}),this))},n.prototype.pointer=function(t){var i={x:null,y:null};return(t=(t=t.originalEvent||t||e.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(i.x=t.pageX,i.y=t.pageY):(i.x=t.clientX,i.y=t.clientY),i},n.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},n.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.owlCarousel=function(e){var i=Array.prototype.slice.call(arguments,1);return this.each((function(){var s=t(this),o=s.data("owl.carousel");o||(o=new n(this,"object"==typeof e&&e),s.data("owl.carousel",o),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],(function(e,i){o.register({type:n.Type.Event,name:i}),o.$element.on(i+".owl.carousel.core",t.proxy((function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([i]),o[i].apply(this,[].slice.call(arguments,1)),this.release([i]))}),o))}))),"string"==typeof e&&"_"!==e.charAt(0)&&o[e].apply(o,i)}))},t.fn.owlCarousel.Constructor=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={autoRefresh:!0,autoRefreshInterval:500},n.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},n.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},n.prototype.destroy=function(){var t,i;for(t in e.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":t.proxy((function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type))for(var i=this._core.settings,s=i.center&&Math.ceil(i.items/2)||i.items,n=i.center&&-1*s||0,o=(e.property&&undefined!==e.property.value?e.property.value:this._core.current())+n,r=this._core.clones().length,a=t.proxy((function(t,e){this.load(e)}),this);n++<s;)this.load(r/2+this._core.relative(o)),r&&t.each(this._core.clones(this._core.relative(o)),a),o++}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={lazyLoad:!1},n.prototype.load=function(i){var s=this._core.$stage.children().eq(i),n=s&&s.find(".owl-lazy");!n||t.inArray(s.get(0),this._loaded)>-1||(n.each(t.proxy((function(i,s){var n,o=t(s),r=e.devicePixelRatio>1&&o.attr("data-src-retina")||o.attr("data-src");this._core.trigger("load",{element:o,url:r},"lazy"),o.is("img")?o.one("load.owl.lazy",t.proxy((function(){o.css("opacity",1),this._core.trigger("loaded",{element:o,url:r},"lazy")}),this)).attr("src",r):((n=new Image).onload=t.proxy((function(){o.css({"background-image":"url("+r+")",opacity:"1"}),this._core.trigger("loaded",{element:o,url:r},"lazy")}),this),n.src=r)}),this)),this._loaded.push(s.get(0)))},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Lazy=n}(window.Zepto||window.jQuery,window,document),t=window.Zepto||window.jQuery,window,document,(e=function(i){this._core=i,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&this.update()}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&"position"==t.property.name&&this.update()}),this),"loaded.owl.lazy":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()}),this)},this._core.options=t.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)}).Defaults={autoHeight:!1,autoHeightClass:"owl-height"},e.prototype.update=function(){var e,i=this._core._current,s=i+this._core.settings.items,n=this._core.$stage.children().toArray().slice(i,s),o=[];t.each(n,(function(e,i){o.push(t(i).height())})),e=Math.max.apply(null,o),this._core.$stage.parent().height(e).addClass(this._core.settings.autoHeightClass)},e.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoHeight=e,function(t,e,i,s){var n=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})}),this),"resize.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()}),this),"refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()}),this),"prepared.owl.carousel":t.proxy((function(e){if(e.namespace){var i=t(e.content).find(".owl-video");i.length&&(i.css("display","none"),this.fetch(i,t(e.content)))}}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",t.proxy((function(t){this.play(t)}),this))};n.Defaults={video:!1,videoHeight:!1,videoWidth:!1},n.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",s=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),n=t.attr("data-width")||this._core.settings.videoWidth,o=t.attr("data-height")||this._core.settings.videoHeight,r=t.attr("href");if(!r)throw new Error("Missing video URL.");if((s=r.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)i="youtube";else if(s[3].indexOf("vimeo")>-1)i="vimeo";else{if(!(s[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");i="vzaar"}s=s[6],this._videos[r]={type:i,id:s,width:n,height:o},e.attr("data-video",r),this.thumbnail(t,this._videos[r])},n.prototype.thumbnail=function(e,i){var s,n,o=i.width&&i.height?'style="width:'+i.width+"px;height:"+i.height+'px;"':"",r=e.find("img"),a="src",h="",l=this._core.settings,c=function(t){'<div class="owl-video-play-icon"></div>',s=l.lazyLoad?'<div class="owl-video-tn '+h+'" '+a+'="'+t+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+t+')"></div>',e.after(s),e.after('<div class="owl-video-play-icon"></div>')};if(e.wrap('<div class="owl-video-wrapper"'+o+"></div>"),this._core.settings.lazyLoad&&(a="data-src",h="owl-lazy"),r.length)return c(r.attr(a)),r.remove(),!1;"youtube"===i.type?(n="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",c(n)):"vimeo"===i.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t[0].thumbnail_large,c(n)}}):"vzaar"===i.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t.framegrab_url,c(n)}})},n.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},n.prototype.play=function(e){var i,s=t(e.target).closest("."+this._core.settings.itemClass),n=this._videos[s.attr("data-video")],o=n.width||"100%",r=n.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),s=this._core.items(this._core.relative(s.index())),this._core.reset(s.index()),"youtube"===n.type?i='<iframe width="'+o+'" height="'+r+'" src="//www.youtube.com/embed/'+n.id+"?autoplay=1&v="+n.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===n.type?i='<iframe src="//player.vimeo.com/video/'+n.id+'?autoplay=1" width="'+o+'" height="'+r+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>':"vzaar"===n.type&&(i='<iframe frameborder="0"height="'+r+'"width="'+o+'" allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/'+n.id+'/player?autoplay=true"></iframe>'),t('<div class="owl-video-frame">'+i+"</div>").insertAfter(s.find(".owl-video")),this._playing=s.addClass("owl-video-playing"))},n.prototype.isInFullScreen=function(){var e=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return e&&t(e).parent().hasClass("owl-video-frame")},n.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Video=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this.core=e,this.core.options=t.extend({},n.Defaults,this.core.options),this.swapping=!0,this.previous=s,this.next=s,this.handlers={"change.owl.carousel":t.proxy((function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)}),this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy((function(t){t.namespace&&(this.swapping="translated"==t.type)}),this),"translate.owl.carousel":t.proxy((function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()}),this)},this.core.$element.on(this.handlers)};n.Defaults={animateOut:!1,animateIn:!1},n.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,i=t.proxy(this.clear,this),s=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,r=this.core.settings.animateOut;this.core.current()!==this.previous&&(r&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),s.one(t.support.animation.end,i).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(r)),o&&n.one(t.support.animation.end,i).addClass("animated owl-animated-in").addClass(o))}},n.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Animate=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":t.proxy((function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()}),this),"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoplay&&this.play()}),this),"play.owl.autoplay":t.proxy((function(t,e,i){t.namespace&&this.play(e,i)}),this),"stop.owl.autoplay":t.proxy((function(t){t.namespace&&this.stop()}),this),"mouseover.owl.autoplay":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"mouseleave.owl.autoplay":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()}),this),"touchstart.owl.core":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"touchend.owl.core":t.proxy((function(){this._core.settings.autoplayHoverPause&&this.play()}),this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},n.Defaults,this._core.options)};n.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},n.prototype.play=function(t,e){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},n.prototype._getNextTimeout=function(s,n){return this._timeout&&e.clearTimeout(this._timeout),e.setTimeout(t.proxy((function(){this._paused||this._core.is("busy")||this._core.is("interacting")||i.hidden||this._core.next(n||this._core.settings.autoplaySpeed)}),this),s||this._core.settings.autoplayTimeout)},n.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},n.prototype.stop=function(){this._core.is("rotating")&&(e.clearTimeout(this._timeout),this._core.leave("rotating"))},n.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},n.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.autoplay=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){"use strict";var n=function(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":t.proxy((function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")}),this),"added.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())}),this),"remove.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&"position"==t.property.name&&this.draw()}),this),"initialized.owl.carousel":t.proxy((function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))}),this),"refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers)};n.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},n.prototype.initialize=function(){var e,i=this._core.settings;for(e in this._controls.$relative=(i.navContainer?t(i.navContainer):t("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy((function(t){this.prev(i.navSpeed)}),this)),this._controls.$next=t("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy((function(t){this.next(i.navSpeed)}),this)),i.dotsData||(this._templates=[t("<div>").addClass(i.dotClass).append(t("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?t(i.dotsContainer):t("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",t.proxy((function(e){var s=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(s,i.dotsSpeed)}),this)),this._overrides)this._core[e]=t.proxy(this[e],this)},n.prototype.destroy=function(){var t,e,i,s;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)this._controls[e].remove();for(s in this.overides)this._core[s]=this._overrides[s];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},n.prototype.update=function(){var t,e,i=this._core.clones().length/2,s=i+this._core.items().length,n=this._core.maximum(!0),o=this._core.settings,r=o.center||o.autoWidth||o.dotsData?1:o.dotsEach||o.items;if("page"!==o.slideBy&&(o.slideBy=Math.min(o.slideBy,o.items)),o.dots||"page"==o.slideBy)for(this._pages=[],t=i,e=0,0;t<s;t++){if(e>=r||0===e){if(this._pages.push({start:Math.min(n,t-i),end:t-i+r-1}),Math.min(n,t-i)===n)break;e=0}e+=this._core.mergers(this._core.relative(t))}},n.prototype.draw=function(){var e,i=this._core.settings,s=this._core.items().length<=i.items,n=this._core.relative(this._core.current()),o=i.loop||i.rewind;this._controls.$relative.toggleClass("disabled",!i.nav||s),i.nav&&(this._controls.$previous.toggleClass("disabled",!o&&n<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!o&&n>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!i.dots||s),i.dots&&(e=this._pages.length-this._controls.$absolute.children().length,i.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},n.prototype.onTrigger=function(e){var i=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items)}},n.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy((function(t,i){return t.start<=e&&t.end>=e}),this)).pop()},n.prototype.getPosition=function(e){var i,s,n=this._core.settings;return"page"==n.slideBy?(i=t.inArray(this.current(),this._pages),s=this._pages.length,e?++i:--i,i=this._pages[(i%s+s)%s].start):(i=this._core.relative(this._core.current()),s=this._core.items().length,e?i+=n.slideBy:i-=n.slideBy),i},n.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},n.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},n.prototype.to=function(e,i,s){var n;!s&&this._pages.length?(n=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%n+n)%n].start,i)):t.proxy(this._overrides.to,this._core)(e,i)},t.fn.owlCarousel.Constructor.Plugins.Navigation=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){"use strict";var n=function(i){this._core=i,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy((function(i){i.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")}),this),"prepared.owl.carousel":t.proxy((function(e){if(e.namespace){var i=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=e.content}}),this),"changed.owl.carousel":t.proxy((function(i){if(i.namespace&&"position"===i.property.name){var s=this._core.items(this._core.relative(this._core.current())),n=t.map(this._hashes,(function(t,e){return t===s?e:null})).join();if(!n||e.location.hash.slice(1)===n)return;e.location.hash=n}}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy((function(t){var i=e.location.hash.substring(1),s=this._core.$stage.children(),n=this._hashes[i]&&s.index(this._hashes[i]);undefined!==n&&n!==this._core.current()&&this._core.to(this._core.relative(n),!1,!0)}),this))};n.Defaults={URLhashListener:!1},n.prototype.destroy=function(){var i,s;for(i in t(e).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(i,this._handlers[i]);for(s in Object.getOwnPropertyNames(this))"function"!=typeof this[s]&&(this[s]=null)},t.fn.owlCarousel.Constructor.Plugins.Hash=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=t("<support>").get(0).style,o="Webkit Moz O ms".split(" "),r={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},a=function(){return!!c("transform")},h=function(){return!!c("perspective")},l=function(){return!!c("animation")};function c(e,i){var s=!1,r=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+o.join(r+" ")+r).split(" "),(function(t,e){if(undefined!==n[e])return s=!i||e,!1})),s}function p(t){return c(t,!0)}(function(){return!!c("transition")})()&&(t.support.transition=new String(p("transition")),t.support.transition.end=r.transition.end[t.support.transition]),l()&&(t.support.animation=new String(p("animation")),t.support.animation.end=r.animation.end[t.support.animation]),a()&&(t.support.transform=new String(p("transform")),t.support.transform3d=h())}(window.Zepto||window.jQuery,window,document)}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var o=e[s]={exports:{}};return t[s](o,o.exports,i),o.exports}i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";s.__esModule=!0,i(271),i(7),i(243)})();var n=exports;for(var o in s)n[o]=s[o];s.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
|
|
2
|
-
//# sourceMappingURL=owlcarousel.js.map
|