1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="e4228e73-6720-4437-8bd8-950b0ee32b84",t._sentryDebugIdIdentifier="sentry-dbid-e4228e73-6720-4437-8bd8-950b0ee32b84")}catch(t){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"6ffbd01cf0691a08705f62d968183afee02bdfcf"},(globalThis.webpackChunktop_webgroup=globalThis.webpackChunktop_webgroup||[]).push([[5561],{55561(t,e,n){"use strict";n.d(e,{initRating:()=>a});n(89067);const a=t=>{t.hasClass("rating-start-empty")&&(t.prepend('<option value="" selected="selected"></option>'),t.find("option").removeAttr("selected"),t.find('option[value=""]').attr("selected","selected"),t.val("")),t.barrating({theme:"css-stars",allowEmpty:!0,emptyValue:"",deselectable:!0,onSelect:()=>{t[0].dispatchEvent(new Event("change",{bubbles:!0}))}})}},89067(t,e,n){var a,i,r;i=[n(95616)],void 0===(r="function"===typeof(a=function(t){var e=function(){function e(){var e=this,n=function(){var n=["br-wrapper"];""!==e.options.theme&&n.push("br-theme-"+e.options.theme),e.$elem.wrap(t("<div />",{class:n.join(" ")}))},a=function(){e.$elem.unwrap()},i=function(n){return t.isNumeric(n)&&(n=Math.floor(n)),t('option[value="'+n+'"]',e.$elem)},r=function(){var n=e.options.initialRating;return n?i(n):t("option:selected",e.$elem)},o=function(){var n=e.$elem.find('option[value="'+e.options.emptyValue+'"]');return!n.length&&e.options.allowEmpty?(n=t("<option />",{value:e.options.emptyValue})).prependTo(e.$elem):n},l=function(t){var n=e.$elem.data("barrating");return"undefined"!==typeof t?n[t]:n},s=function(t,n){null!==n&&"object"===typeof n?e.$elem.data("barrating",n):e.$elem.data("barrating")[t]=n},u=function(){var t=r(),n=o(),a=t.val(),i=t.data("html")?t.data("html"):t.text(),l=null!==e.options.allowEmpty?e.options.allowEmpty:!!n.length,u=n.length?n.val():null,d=n.length?n.text():null;s(null,{userOptions:e.options,ratingValue:a,ratingText:i,originalRatingValue:a,originalRatingText:i,allowEmpty:l,emptyRatingValue:u,emptyRatingText:d,readOnly:e.options.readonly,ratingMade:!1})},d=function(){e.$elem.removeData("barrating")},f=function(){return l("ratingText")},c=function(){return l("ratingValue")},p=function(){var n=t("<div />",{class:"br-widget"});return e.$elem.find("option").each(function(){var a,i,r,o;(a=t(this).val())!==l("emptyRatingValue")&&(i=t(this).text(),(r=t(this).data("html"))&&(i=r),o=t("<a />",{href:"#","data-rating-value":a,"data-rating-text":i,html:e.options.showValues?i:""}),n.append(o))}),e.options.showSelectedRating&&n.append(t("<div />",{text:"",class:"br-current-rating"})),e.options.reverse&&n.addClass("br-reverse"),e.options.readonly&&n.addClass("br-readonly"),n},g=function(){return l("userOptions").reverse?"nextAll":"prevAll"},h=function(t){i(t).prop("selected",!0),e.$elem.change()},b=function(){t("option",e.$elem).prop("selected",function(){return this.defaultSelected}),e.$elem.change()},v=function(t){(t=t||f())==l("emptyRatingText")&&(t=""),e.options.showSelectedRating&&e.$elem.parent().find(".br-current-rating").text(t)},m=function(t){return Math.round(Math.floor(10*t)/10%1*100)},y=function(){e.$widget.find("a").removeClass(function(t,e){return(e.match(/(^|\s)br-\S+/g)||[]).join(" ")})},w=function(){var n,a,i=e.$widget.find('a[data-rating-value="'+c()+'"]'),r=l("userOptions").initialRating,o=t.isNumeric(c())?c():0,s=m(r);if(y(),i.addClass("br-selected br-current")[g()]().addClass("br-selected"),!l("ratingMade")&&t.isNumeric(r)){if(r<=o||!s)return;n=e.$widget.find("a"),(a=i.length?i[l("userOptions").reverse?"prev":"next"]():n[l("userOptions").reverse?"last":"first"]()).addClass("br-fractional"),a.addClass("br-fractional-"+s)}},$=function(t){return!(!l("allowEmpty")||!l("userOptions").deselectable)&&c()==t.attr("data-rating-value")},x=function(n){n.on("click.barrating",function(n){var a,i,r=t(this),o=l("userOptions");return n.preventDefault(),a=r.attr("data-rating-value"),i=r.attr("data-rating-text"),$(r)&&(a=l("emptyRatingValue"),i=l("emptyRatingText")),s("ratingV
1alue",a),s("ratingText",i),s("ratingMade",!0),h(a),v(i),w(),o.onSelect.call(e,c(),f(),n),!1})},R=function(e){e.on("mouseenter.barrating",function(){var e=t(this);y(),e.addClass("br-active")[g()]().addClass("br-active"),v(e.attr("data-rating-text"))})},T=function(t){e.$widget.on("mouseleave.barrating blur.barrating",function(){v(),w()})},C=function(e){e.on("touchstart.barrating",function(e){e.preventDefault(),e.stopPropagation(),t(this).click()})},V=function(t){t.on("click.barrating",function(t){t.preventDefault()})},E=function(t){x(t),e.options.hoverState&&(R(t),T(t))},O=function(t){t.off(".barrating")},S=function(t){var n=e.$widget.find("a");C&&C(n),t?(O(n),V(n)):E(n)};this.show=function(){l()||(n(),u(),e.$widget=p(),e.$widget.insertAfter(e.$elem),w(),v(),S(e.options.readonly),e.$elem.hide())},this.readonly=function(t){"boolean"===typeof t&&l("readOnly")!=t&&(S(t),s("readOnly",t),e.$widget.toggleClass("br-readonly"))},this.set=function(t){var n=l("userOptions");0!==e.$elem.find('option[value="'+t+'"]').length&&(s("ratingValue",t),s("ratingText",e.$elem.find('option[value="'+t+'"]').text()),s("ratingMade",!0),h(c()),v(f()),w(),n.silent||n.onSelect.call(this,c(),f()))},this.clear=function(){var t=l("userOptions");
1s("ratingValue",l("originalRatingValue")),s("ratingText",l("originalRatingText")),s("ratingMade",!1),b(),v(f()),w(),t.onClear.call(this,c(),f())},this.destroy=function(){var t=c(),n=f(),i=l("userOptions");O(e.$widget.find("a")),e.$widget.remove(),d(),a(),e.$elem.show(),i.onDestroy.call(this,t,n)}}return e.prototype.init=function(e,n){return this.$elem=t(n),this.options=t.extend({},t.fn.barrating.defaults,e),this.options},e}();t.fn.barrating=function(n,a){return this.each(function(){var i=new e;if(t(this).is("select")||t.error("Sorry, this plugin only works with select fields."),i.hasOwnProperty(n)){if(i.init(a,this),"show"===n)return i.show(a);if(i.$elem.data("barrating"))return i.$widget=t(this).next(".br-widget"),i[n](a)}else{if("object"===typeof n||!n)return a=n,i.init(a,this),i.show();t.error("Method "+n+" does not exist on jQuery.barrating")}})},t.fn.barrating.defaults={theme:"",initialRating:null,allowEmpty:null,emptyValue:"",showValues:!1,showSelectedRating:!0,deselectable:!0,reverse:!1,readonly:!1,fastClicks:!0,hoverState:!0,silent:!1,onSelect:function(t,e,n){},onClear:function(t,e){},onDestroy:function(t,e){}},t.fn.barrating.BarRating=e})?a.apply(e,i):a)||(t.exports=r)}}]); 2//# sourceMappingURL=5561-2992306ed9f321130e35.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.