[{"command":"settings","settings":{"pluralDelimiter":"\u0003","suppressDeprecationErrors":true,"ajaxPageState":{"libraries":"core\/drupal.dialog.ajax,core\/internal.jquery.form,cpl_product_reviews\/cpl_product_reviews_library","theme":"bmpm","theme_token":"ipvHaVIhRZSQxrqBgZ_BA-SrVl0jB3VqfCSTqH8VUNU"},"ajaxTrustedUrl":{"form_action_p_pvdeGsVG5zNF_XLGPTvYSKCf43t8qZYSwcfZl2uzM":true,"\/create-product-review?product_id=3346\u0026vid=441572\u0026ajax_form=1":true},"ajax":{"edit-send":{"callback":[{},"submitModalFormAjax"],"event":"click","url":"\/create-product-review?product_id=3346\u0026vid=441572\u0026ajax_form=1","dialogType":"ajax","submit":{"_triggering_element_name":"op","_triggering_element_value":"Submit review"}}},"user":{"uid":0,"permissionsHash":"a9d181695dec60a1ac39fc97464ea948e04176dd67ad8bbafadbce672697c437"}},"merge":true},{"command":"add_css","data":"\u003Clink rel=\u0022stylesheet\u0022 media=\u0022all\u0022 href=\u0022\/core\/assets\/vendor\/jquery.ui\/themes\/base\/core.css?sossl2\u0022 \/\u003E\n\u003Clink rel=\u0022stylesheet\u0022 media=\u0022all\u0022 href=\u0022\/core\/assets\/vendor\/jquery.ui\/themes\/base\/controlgroup.css?sossl2\u0022 \/\u003E\n\u003Clink rel=\u0022stylesheet\u0022 media=\u0022all\u0022 href=\u0022\/core\/assets\/vendor\/jquery.ui\/themes\/base\/checkboxradio.css?sossl2\u0022 \/\u003E\n\u003Clink rel=\u0022stylesheet\u0022 media=\u0022all\u0022 href=\u0022\/core\/assets\/vendor\/jquery.ui\/themes\/base\/resizable.css?sossl2\u0022 \/\u003E\n\u003Clink rel=\u0022stylesheet\u0022 media=\u0022all\u0022 href=\u0022\/core\/assets\/vendor\/jquery.ui\/themes\/base\/button.css?sossl2\u0022 \/\u003E\n\u003Clink rel=\u0022stylesheet\u0022 media=\u0022all\u0022 href=\u0022\/core\/assets\/vendor\/jquery.ui\/themes\/base\/dialog.css?sossl2\u0022 \/\u003E\n\u003Clink rel=\u0022stylesheet\u0022 media=\u0022all\u0022 href=\u0022\/core\/modules\/ckeditor5\/css\/ckeditor5.dialog.fix.css?sossl2\u0022 \/\u003E\n\u003Clink rel=\u0022stylesheet\u0022 media=\u0022all\u0022 href=\u0022\/core\/assets\/vendor\/jquery.ui\/themes\/base\/theme.css?sossl2\u0022 \/\u003E\n\u003Clink rel=\u0022stylesheet\u0022 media=\u0022all\u0022 href=\u0022\/modules\/custom\/cpl_product_reviews\/css\/cpl_product_reviews.css?sossl2\u0022 \/\u003E\n"},{"command":"add_js","selector":"body","data":[{"src":"\/core\/assets\/vendor\/jquery\/jquery.min.js?v=3.6.3"},{"src":"\/core\/misc\/polyfills\/nodelist.foreach.js?v=9.5.11"},{"src":"\/core\/misc\/polyfills\/element.matches.js?v=9.5.11"},{"src":"\/core\/misc\/polyfills\/object.assign.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/css-escape\/css.escape.js?v=1.5.1"},{"src":"\/core\/assets\/vendor\/es6-promise\/es6-promise.auto.min.js?v=4.2.8"},{"src":"\/core\/assets\/vendor\/once\/once.min.js?v=1.0.1"},{"src":"\/core\/assets\/vendor\/jquery-once\/jquery.once.min.js?v=9.5.11"},{"src":"\/core\/misc\/drupalSettingsLoader.js?v=9.5.11"},{"src":"\/core\/misc\/drupal.js?v=9.5.11"},{"src":"\/core\/misc\/drupal.init.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/version-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/data-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/disable-selection-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/form-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/jquery-patch-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/scroll-parent-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/unique-id-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/focusable-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/ie-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/keycode-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/plugin-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/safe-active-element-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/safe-blur-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/widget-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/widgets\/controlgroup-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/form-reset-mixin-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/labels-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/widgets\/mouse-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/widgets\/checkboxradio-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/widgets\/draggable-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/widgets\/resizable-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/widgets\/button-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/jquery.ui\/ui\/widgets\/dialog-min.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/tabbable\/index.umd.min.js?v=5.3.3"},{"src":"\/core\/misc\/progress.js?v=9.5.11"},{"src":"\/core\/misc\/jquery.once.bc.js?v=9.5.11"},{"src":"\/core\/assets\/vendor\/loadjs\/loadjs.min.js?v=4.2.0"},{"src":"\/core\/modules\/responsive_image\/js\/responsive_image.ajax.js?v=9.5.11"},{"src":"\/core\/misc\/ajax.js?v=9.5.11"},{"src":"\/core\/themes\/stable\/js\/ajax.js?v=9.5.11"},{"src":"\/core\/misc\/debounce.js?v=9.5.11"},{"src":"\/core\/misc\/displace.js?v=9.5.11"},{"src":"\/core\/misc\/jquery.tabbable.shim.js?v=9.5.11"},{"src":"\/core\/misc\/position.js?v=9.5.11"},{"src":"\/core\/misc\/dialog\/dialog.js?v=9.5.11"},{"src":"\/core\/misc\/dialog\/dialog.position.js?v=9.5.11"},{"src":"\/core\/misc\/dialog\/dialog.jquery-ui.js?v=9.5.11"},{"src":"\/core\/modules\/ckeditor5\/js\/ckeditor5.dialog.fix.js?v=9.5.11"},{"src":"\/core\/misc\/dialog\/dialog.ajax.js?v=9.5.11"},{"src":"\/modules\/custom\/cpl_product_reviews\/js\/cpl_product_reviews.js?v=1.x"},{"src":"\/core\/assets\/vendor\/jquery-form\/jquery.form.min.js?v=4.3.0"}]},{"command":"openDialog","selector":"#drupal-modal","settings":null,"data":"\u003Cdiv id=\u0022cpl_add_review_form\u0022\u003E\u003Cform class=\u0022cpl-add-review-form\u0022 data-drupal-selector=\u0022cpl-add-review-form\u0022 action=\u0022\/create-product-review?product_id=3346\u0026amp;vid=441572\u0022 method=\u0022post\u0022 id=\u0022cpl-add-review-form\u0022 accept-charset=\u0022UTF-8\u0022\u003E\n \u003Cdiv class=\u0022cpl-review-name\u0022\u003E\u003Cdiv class=\u0022js-form-item form-item js-form-type-textfield form-item-your-name js-form-item-your-name\u0022\u003E\n \u003Clabel for=\u0022edit-your-name\u0022 class=\u0022js-form-required form-required\u0022\u003EYour name \/ nickname\u003C\/label\u003E\n \u003Cinput data-drupal-selector=\u0022edit-your-name\u0022 aria-describedby=\u0022edit-your-name--description\u0022 type=\u0022text\u0022 id=\u0022edit-your-name\u0022 name=\u0022your_name\u0022 value=\u0022\u0022 size=\u002260\u0022 maxlength=\u0022128\u0022 class=\u0022form-text required\u0022 required=\u0022required\u0022 aria-required=\u0022true\u0022 \/\u003E\n\n \u003Cdiv id=\u0022edit-your-name--description\u0022 class=\u0022description\u0022\u003E\n as you would like displayed on our website\n \u003C\/div\u003E\n \u003C\/div\u003E\n\u003C\/div\u003E\u003Cdiv class=\u0022cpl-review-title\u0022\u003E\u003Cdiv class=\u0022js-form-item form-item js-form-type-textfield form-item-review-title js-form-item-review-title\u0022\u003E\n \u003Clabel for=\u0022edit-review-title\u0022 class=\u0022js-form-required form-required\u0022\u003EA title for your review\u003C\/label\u003E\n \u003Cinput data-drupal-selector=\u0022edit-review-title\u0022 type=\u0022text\u0022 id=\u0022edit-review-title\u0022 name=\u0022review_title\u0022 value=\u0022\u0022 size=\u002260\u0022 maxlength=\u0022128\u0022 class=\u0022form-text required\u0022 required=\u0022required\u0022 aria-required=\u0022true\u0022 \/\u003E\n\n \u003C\/div\u003E\n\u003C\/div\u003E\u003Cdiv class=\u0022cpl-review-review\u0022\u003E\u003Cdiv class=\u0022js-form-item form-item js-form-type-textarea form-item-your-review js-form-item-your-review\u0022\u003E\n \u003Clabel for=\u0022edit-your-review\u0022\u003EYour review\u003C\/label\u003E\n \u003Cdiv\u003E\n \u003Ctextarea data-drupal-selector=\u0022edit-your-review\u0022 id=\u0022edit-your-review\u0022 name=\u0022your_review\u0022 rows=\u00225\u0022 cols=\u002260\u0022 class=\u0022form-textarea\u0022\u003E\u003C\/textarea\u003E\n\u003C\/div\u003E\n\n \u003C\/div\u003E\n\u003C\/div\u003E\u003Cdiv class=\u0022cpl-review-rating\u0022\u003E\u003Cfieldset data-drupal-selector=\u0022edit-your-rating\u0022 aria-describedby=\u0022edit-your-rating--wrapper--description\u0022 id=\u0022edit-your-rating--wrapper\u0022 class=\u0022fieldgroup form-composite js-form-item form-item js-form-wrapper form-wrapper\u0022\u003E\n \u003Clegend\u003E\n \u003Cspan class=\u0022fieldset-legend\u0022\u003ERating out of 5\u003C\/span\u003E\n \u003C\/legend\u003E\n \u003Cdiv class=\u0022fieldset-wrapper\u0022\u003E\n \u003Cdiv id=\u0022edit-your-rating\u0022\u003E\u003Cdiv class=\u0022js-form-item form-item js-form-type-radio form-item-your-rating js-form-item-your-rating\u0022\u003E\n \u003Cinput data-drupal-selector=\u0022edit-your-rating-1\u0022 aria-describedby=\u0022edit-your-rating--description\u0022 type=\u0022radio\u0022 id=\u0022edit-your-rating-1\u0022 name=\u0022your_rating\u0022 value=\u00221\u0022 class=\u0022form-radio\u0022 \/\u003E\n\n \u003Clabel for=\u0022edit-your-rating-1\u0022 class=\u0022option\u0022\u003E\u003Ci class=\u0022fas fa-star\u0022\u003E\u003C\/i\u003E\u003Ci class=\u0022far fa-star\u0022\u003E\u003C\/i\u003E\u003C\/label\u003E\n \u003C\/div\u003E\n\u003Cdiv class=\u0022js-form-item form-item js-form-type-radio form-item-your-rating js-form-item-your-rating\u0022\u003E\n \u003Cinput data-drupal-selector=\u0022edit-your-rating-2\u0022 aria-describedby=\u0022edit-your-rating--description\u0022 type=\u0022radio\u0022 id=\u0022edit-your-rating-2\u0022 name=\u0022your_rating\u0022 value=\u00222\u0022 class=\u0022form-radio\u0022 \/\u003E\n\n \u003Clabel for=\u0022edit-your-rating-2\u0022 class=\u0022option\u0022\u003E\u003Ci class=\u0022fas fa-star\u0022\u003E\u003C\/i\u003E\u003Ci class=\u0022far fa-star\u0022\u003E\u003C\/i\u003E\u003C\/label\u003E\n \u003C\/div\u003E\n\u003Cdiv class=\u0022js-form-item form-item js-form-type-radio form-item-your-rating js-form-item-your-rating\u0022\u003E\n \u003Cinput data-drupal-selector=\u0022edit-your-rating-3\u0022 aria-describedby=\u0022edit-your-rating--description\u0022 type=\u0022radio\u0022 id=\u0022edit-your-rating-3\u0022 name=\u0022your_rating\u0022 value=\u00223\u0022 class=\u0022form-radio\u0022 \/\u003E\n\n \u003Clabel for=\u0022edit-your-rating-3\u0022 class=\u0022option\u0022\u003E\u003Ci class=\u0022fas fa-star\u0022\u003E\u003C\/i\u003E\u003Ci class=\u0022far fa-star\u0022\u003E\u003C\/i\u003E\u003C\/label\u003E\n \u003C\/div\u003E\n\u003Cdiv class=\u0022js-form-item form-item js-form-type-radio form-item-your-rating js-form-item-your-rating\u0022\u003E\n \u003Cinput data-drupal-selector=\u0022edit-your-rating-4\u0022 aria-describedby=\u0022edit-your-rating--description\u0022 type=\u0022radio\u0022 id=\u0022edit-your-rating-4\u0022 name=\u0022your_rating\u0022 value=\u00224\u0022 class=\u0022form-radio\u0022 \/\u003E\n\n \u003Clabel for=\u0022edit-your-rating-4\u0022 class=\u0022option\u0022\u003E\u003Ci class=\u0022fas fa-star\u0022\u003E\u003C\/i\u003E\u003Ci class=\u0022far fa-star\u0022\u003E\u003C\/i\u003E\u003C\/label\u003E\n \u003C\/div\u003E\n\u003Cdiv class=\u0022js-form-item form-item js-form-type-radio form-item-your-rating js-form-item-your-rating\u0022\u003E\n \u003Cinput data-drupal-selector=\u0022edit-your-rating-5\u0022 aria-describedby=\u0022edit-your-rating--description\u0022 type=\u0022radio\u0022 id=\u0022edit-your-rating-5\u0022 name=\u0022your_rating\u0022 value=\u00225\u0022 checked=\u0022checked\u0022 class=\u0022form-radio\u0022 \/\u003E\n\n \u003Clabel for=\u0022edit-your-rating-5\u0022 class=\u0022option\u0022\u003E\u003Ci class=\u0022fas fa-star\u0022\u003E\u003C\/i\u003E\u003Ci class=\u0022far fa-star\u0022\u003E\u003C\/i\u003E\u003C\/label\u003E\n \u003C\/div\u003E\n\u003C\/div\u003E\n\n \u003Cdiv id=\u0022edit-your-rating--wrapper--description\u0022 data-drupal-field-elements=\u0022description\u0022 class=\u0022description\u0022\u003Ewhere 5 is best and 1 is poor\u003C\/div\u003E\n \u003C\/div\u003E\n\u003C\/fieldset\u003E\n\u003C\/div\u003E\u003Cinput data-drupal-selector=\u0022edit-product-id\u0022 type=\u0022hidden\u0022 name=\u0022product_id\u0022 value=\u00223346\u0022 \/\u003E\n\u003Cinput data-drupal-selector=\u0022edit-vid\u0022 type=\u0022hidden\u0022 name=\u0022vid\u0022 value=\u0022441572\u0022 \/\u003E\n\u003Cinput autocomplete=\u0022off\u0022 data-drupal-selector=\u0022form-p-pnawobtorl2micsesmas-ibwhycu2h7tofhnuodq\u0022 type=\u0022hidden\u0022 name=\u0022form_build_id\u0022 value=\u0022form-p__PNAwobTORL2MiCsesmAS-IbwHycu2H7tOFhnuodQ\u0022 \/\u003E\n\u003Cinput data-drupal-selector=\u0022edit-cpl-add-review-form\u0022 type=\u0022hidden\u0022 name=\u0022form_id\u0022 value=\u0022cpl_add_review_form\u0022 \/\u003E\n\n\t\t\u003Cdiv class=\u0022cpl-review-submit\u0022\u003E\u003Cinput class=\u0022use-ajax button js-form-submit form-submit\u0022 data-drupal-selector=\u0022edit-send\u0022 type=\u0022submit\u0022 id=\u0022edit-send\u0022 name=\u0022op\u0022 value=\u0022Submit review\u0022 \/\u003E\n\u003C\/div\u003E\n\n\u003C\/form\u003E\n\u003C\/div\u003E","dialogOptions":{"width":400,"height":600,"modal":true,"title":"Add your review"}}]