{"id":970,"date":"2023-07-12T10:24:28","date_gmt":"2023-07-12T10:24:28","guid":{"rendered":"https:\/\/instant.circul8.eu\/?page_id=970"},"modified":"2023-09-21T14:31:17","modified_gmt":"2023-09-21T14:31:17","slug":"970-2","status":"publish","type":"page","link":"https:\/\/test.instant.circul8.eu\/nb\/970-2\/","title":{"rendered":"Shortcut Materials form"},"content":{"rendered":"<script>\nvar gform;gform||(document.addEventListener(\"gform_main_scripts_loaded\",function(){gform.scriptsLoaded=!0}),document.addEventListener(\"gform\/theme\/scripts_loaded\",function(){gform.themeScriptsLoaded=!0}),window.addEventListener(\"DOMContentLoaded\",function(){gform.domLoaded=!0}),gform={domLoaded:!1,scriptsLoaded:!1,themeScriptsLoaded:!1,isFormEditor:()=>\"function\"==typeof InitializeEditor,callIfLoaded:function(o){return!(!gform.domLoaded||!gform.scriptsLoaded||!gform.themeScriptsLoaded&&!gform.isFormEditor()||(gform.isFormEditor()&&console.warn(\"The use of gform.initializeOnLoaded() is deprecated in the form editor context and will be removed in Gravity Forms 3.1.\"),o(),0))},initializeOnLoaded:function(o){gform.callIfLoaded(o)||(document.addEventListener(\"gform_main_scripts_loaded\",()=>{gform.scriptsLoaded=!0,gform.callIfLoaded(o)}),document.addEventListener(\"gform\/theme\/scripts_loaded\",()=>{gform.themeScriptsLoaded=!0,gform.callIfLoaded(o)}),window.addEventListener(\"DOMContentLoaded\",()=>{gform.domLoaded=!0,gform.callIfLoaded(o)}))},hooks:{action:{},filter:{}},addAction:function(o,r,e,t){gform.addHook(\"action\",o,r,e,t)},addFilter:function(o,r,e,t){gform.addHook(\"filter\",o,r,e,t)},doAction:function(o){gform.doHook(\"action\",o,arguments)},applyFilters:function(o){return gform.doHook(\"filter\",o,arguments)},removeAction:function(o,r){gform.removeHook(\"action\",o,r)},removeFilter:function(o,r,e){gform.removeHook(\"filter\",o,r,e)},addHook:function(o,r,e,t,n){null==gform.hooks[o][r]&&(gform.hooks[o][r]=[]);var d=gform.hooks[o][r];null==n&&(n=r+\"_\"+d.length),gform.hooks[o][r].push({tag:n,callable:e,priority:t=null==t?10:t})},doHook:function(r,o,e){var t;if(e=Array.prototype.slice.call(e,1),null!=gform.hooks[r][o]&&((o=gform.hooks[r][o]).sort(function(o,r){return o.priority-r.priority}),o.forEach(function(o){\"function\"!=typeof(t=o.callable)&&(t=window[t]),\"action\"==r?t.apply(null,e):e[0]=t.apply(null,e)})),\"filter\"==r)return e[0]},removeHook:function(o,r,t,n){var e;null!=gform.hooks[o][r]&&(e=(e=gform.hooks[o][r]).filter(function(o,r,e){return!!(null!=n&&n!=o.tag||null!=t&&t!=o.priority)}),gform.hooks[o][r]=e)}});\n<\/script>\n\n                <div class='gf_browser_gecko gform_wrapper gform-theme gform-theme--foundation gform-theme--framework gform-theme--orbital' data-form-theme='orbital' data-form-index='0' id='gform_wrapper_27' style='display:none'><style>#gform_wrapper_27[data-form-index=\"0\"].gform-theme,[data-parent-form=\"27_0\"]{--gf-color-primary: #204ce5;--gf-color-primary-rgb: 32, 76, 229;--gf-color-primary-contrast: #fff;--gf-color-primary-contrast-rgb: 255, 255, 255;--gf-color-primary-darker: #001AB3;--gf-color-primary-lighter: #527EFF;--gf-color-secondary: #fff;--gf-color-secondary-rgb: 255, 255, 255;--gf-color-secondary-contrast: #112337;--gf-color-secondary-contrast-rgb: 17, 35, 55;--gf-color-secondary-darker: #F5F5F5;--gf-color-secondary-lighter: #FFFFFF;--gf-color-out-ctrl-light: rgba(17, 35, 55, 0.1);--gf-color-out-ctrl-light-rgb: 17, 35, 55;--gf-color-out-ctrl-light-darker: rgba(104, 110, 119, 0.35);--gf-color-out-ctrl-light-lighter: #F5F5F5;--gf-color-out-ctrl-dark: #585e6a;--gf-color-out-ctrl-dark-rgb: 88, 94, 106;--gf-color-out-ctrl-dark-darker: #112337;--gf-color-out-ctrl-dark-lighter: rgba(17, 35, 55, 0.65);--gf-color-in-ctrl: #fff;--gf-color-in-ctrl-rgb: 255, 255, 255;--gf-color-in-ctrl-contrast: #112337;--gf-color-in-ctrl-contrast-rgb: 17, 35, 55;--gf-color-in-ctrl-darker: #F5F5F5;--gf-color-in-ctrl-lighter: #FFFFFF;--gf-color-in-ctrl-primary: #204ce5;--gf-color-in-ctrl-primary-rgb: 32, 76, 229;--gf-color-in-ctrl-primary-contrast: #fff;--gf-color-in-ctrl-primary-contrast-rgb: 255, 255, 255;--gf-color-in-ctrl-primary-darker: #001AB3;--gf-color-in-ctrl-primary-lighter: #527EFF;--gf-color-in-ctrl-light: rgba(17, 35, 55, 0.1);--gf-color-in-ctrl-light-rgb: 17, 35, 55;--gf-color-in-ctrl-light-darker: rgba(104, 110, 119, 0.35);--gf-color-in-ctrl-light-lighter: #F5F5F5;--gf-color-in-ctrl-dark: #585e6a;--gf-color-in-ctrl-dark-rgb: 88, 94, 106;--gf-color-in-ctrl-dark-darker: #112337;--gf-color-in-ctrl-dark-lighter: rgba(17, 35, 55, 0.65);--gf-radius: 30px;--gf-font-size-secondary: 14px;--gf-font-size-tertiary: 13px;--gf-icon-ctrl-number: url(\"data:image\/svg+xml,%3Csvg width='8' height='14' viewBox='0 0 8 14' fill='none' xmlns='http:\/\/www.w3.org\/2000\/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 0C4.26522 5.96046e-08 4.51957 0.105357 4.70711 0.292893L7.70711 3.29289C8.09763 3.68342 8.09763 4.31658 7.70711 4.70711C7.31658 5.09763 6.68342 5.09763 6.29289 4.70711L4 2.41421L1.70711 4.70711C1.31658 5.09763 0.683417 5.09763 0.292893 4.70711C-0.0976311 4.31658 -0.097631 3.68342 0.292893 3.29289L3.29289 0.292893C3.48043 0.105357 3.73478 0 4 0ZM0.292893 9.29289C0.683417 8.90237 1.31658 8.90237 1.70711 9.29289L4 11.5858L6.29289 9.29289C6.68342 8.90237 7.31658 8.90237 7.70711 9.29289C8.09763 9.68342 8.09763 10.3166 7.70711 10.7071L4.70711 13.7071C4.31658 14.0976 3.68342 14.0976 3.29289 13.7071L0.292893 10.7071C-0.0976311 10.3166 -0.0976311 9.68342 0.292893 9.29289Z' fill='rgba(17, 35, 55, 0.65)'\/%3E%3C\/svg%3E\");--gf-icon-ctrl-select: url(\"data:image\/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http:\/\/www.w3.org\/2000\/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.292893 0.292893C0.683417 -0.097631 1.31658 -0.097631 1.70711 0.292893L5 3.58579L8.29289 0.292893C8.68342 -0.0976311 9.31658 -0.0976311 9.70711 0.292893C10.0976 0.683417 10.0976 1.31658 9.70711 1.70711L5.70711 5.70711C5.31658 6.09763 4.68342 6.09763 4.29289 5.70711L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683418 0.292893 0.292893Z' fill='rgba(17, 35, 55, 0.65)'\/%3E%3C\/svg%3E\");--gf-icon-ctrl-search: url(\"data:image\/svg+xml,%3Csvg width='640' height='640' xmlns='http:\/\/www.w3.org\/2000\/svg'%3E%3Cpath d='M256 128c-70.692 0-128 57.308-128 128 0 70.691 57.308 128 128 128 70.691 0 128-57.309 128-128 0-70.692-57.309-128-128-128zM64 256c0-106.039 85.961-192 192-192s192 85.961 192 192c0 41.466-13.146 79.863-35.498 111.248l154.125 154.125c12.496 12.496 12.496 32.758 0 45.254s-32.758 12.496-45.254 0L367.248 412.502C335.862 434.854 297.467 448 256 448c-106.039 0-192-85.962-192-192z' fill='rgba(17, 35, 55, 0.65)'\/%3E%3C\/svg%3E\");--gf-label-space-y-secondary: var(--gf-label-space-y-md-secondary);--gf-ctrl-border-color: #686e77;--gf-ctrl-size: var(--gf-ctrl-size-md);--gf-ctrl-label-color-primary: #112337;--gf-ctrl-label-color-secondary: #112337;--gf-ctrl-choice-size: var(--gf-ctrl-choice-size-md);--gf-ctrl-checkbox-check-size: var(--gf-ctrl-checkbox-check-size-md);--gf-ctrl-radio-check-size: var(--gf-ctrl-radio-check-size-md);--gf-ctrl-btn-font-size: var(--gf-ctrl-btn-font-size-md);--gf-ctrl-btn-padding-x: var(--gf-ctrl-btn-padding-x-md);--gf-ctrl-btn-size: var(--gf-ctrl-btn-size-md);--gf-ctrl-btn-border-color-secondary: #686e77;--gf-ctrl-file-btn-bg-color-hover: #EBEBEB;--gf-field-img-choice-size: var(--gf-field-img-choice-size-md);--gf-field-img-choice-card-space: var(--gf-field-img-choice-card-space-md);--gf-field-img-choice-check-ind-size: var(--gf-field-img-choice-check-ind-size-md);--gf-field-img-choice-check-ind-icon-size: var(--gf-field-img-choice-check-ind-icon-size-md);--gf-field-pg-steps-number-color: rgba(17, 35, 55, 0.8);}<\/style>\n                        <div class='gform_heading'>\n                            <h2 class=\"gform_title\">EuReciclo.pt &#8211; Materials (From Google Sheets)<\/h2>\n                            <p class='gform_description'>Nested Form for orders<\/p>\n\t\t\t\t\t\t\t<p class='gform_required_legend'>&quot;<span class=\"gfield_required gfield_required_asterisk\">*<\/span>&quot; obligatorisk felt<\/p>\n                        <\/div><form method='post' enctype='multipart\/form-data'  id='gform_27'  action='\/nb\/wp-json\/wp\/v2\/pages\/970' data-formid='27' novalidate data-trp-original-action=\"\/nb\/wp-json\/wp\/v2\/pages\/970\">\n                        <div class='gform-body gform_body'><div id='gform_fields_27' class='gform_fields top_label form_sublabel_below description_below validation_below'><div id=\"field_27_13\" class=\"gfield gfield--type-html gfield--width-full gfield_html gfield_html_formatted gfield_no_follows_desc field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  ><style>\n.ginput_preview, .gform_drop_instructions, .gfield_description, label, .gform_fileupload_rules, body, div, td, th, ul, li, h1, h2, h3, h4, h5, h6, p, span{\n\tfont-family: \"Roboto\", sans-serif;\n}\n\nh2{\n    color: red;\n}\n\ninput:focus, select:focus, select:active, textarea:focus {\n    outline: none;\n    box-shadow: 0 0 0 2px rgba(#ff0000, 0.4) !important;\n}\n\n\/* NESTED FORM *\/\n\n.gpnf-nested-entries-container button{\n    margin-bottom: 30px;\n}\n\n.gpnf-nested-entries {\n    font-family: \"Roboto\", sans-serif !important;\n    border: 1px solid #dbdbdb !important;\n    border-radius: 30px !important;\n    min-width: min(100%,800px) !important;\n    width: 100% !important;\n}\n\n.gpnf-field[data-heading=\"Additional information\"]{\n    white-space: nowrap;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    max-width: 30ch;\n}\n\n.gpnf-row-actions .delete a, .gpnf-row-actions .delete-button {\n    color: #c00;\n    font-size: 0;\n}\n\n.gpnf-row-actions .delete a, .gpnf-row-actions .delete-button::before {\n\n    background-image: url('https:\/\/test.instant.circul8.eu\/wp-content\/uploads\/2023\/02\/ui-delete@2x.png');\n    background-size: 28px 28px;\n    display: inline-block;\n    width: 28px;\n    height: 28px;\n    content:\"\";\n}\n\n.gpnf-row-actions ul li button{\n    margin-bottom: 0;\n}\n\n.edit-button{\n    font-size: 0 !important;\n\n}\n\n.edit-button::before{\n    background-image: url('https:\/\/test.instant.circul8.eu\/wp-content\/uploads\/2023\/02\/ui-edit@2x.png');\n    background-size: 28px 28px;\n    display: inline-block;\n    width: 28px;\n    height: 28px;\n    content:\"\";\n}\n\nbutton .gpnf-add-entry, .gpnf-add-entry{\n    font-size: 16px;\n    padding: 10px 20px;\n    border-radius: 30px;\n    cursor: pointer;\n    font-family: \"Roboto\", sans-serif;\n    color: #363636;\n    background-color: #dbdbdb;\n    border: none;\n    font-weight: 500;\n    margin-right: 20px;\n}\n\nbutton .gpnf-add-entry:last-child, .gpnf-add-entry:last-child{\n    margin-right: 0;\n}\n\n.gpnf-nested-entries td, .gpnf-nested-entries th {\n    border-bottom: 1px solid #dbdbdb !important;\n    font-size: 14px;\n    line-height: normal !important;\n    word-break: keep-all;\n}\n\n@media only screen and (min-device-width: 1024px){\n    .gpnf-nested-entries td, .gpnf-nested-entries th {\n        padding: 10px 20px !important;\n    }\n}\n\n\n\/* NESTED FORM *\/\n<\/style><\/div><div id=\"field_27_3\" class=\"gfield gfield--type-select gfield--width-half gfield_contains_required field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_27_3'>Stream name<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_container ginput_container_select'><select name='input_3' id='input_27_3' class='large gfield_select'    aria-required=\"true\" aria-invalid=\"false\" ><option value='Cold' selected='selected'>Cold<\/option><option value='TV\/Monitors' >TV\/Monitors<\/option><option value='Lamps' >Lamps<\/option><option value='Large equipment' >Large equipment<\/option><option value='Small equipment' >Small equipment<\/option><option value='IT' >IT<\/option><option value='Batteries' >Batteries<\/option><\/select><\/div><\/div><div id=\"field_27_5\" class=\"gfield gfield--type-select gfield--width-half gfield_contains_required field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_27_5'>Substream<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_container ginput_container_select'><select name='input_5' id='input_27_5' class='large gfield_select'    aria-required=\"true\" aria-invalid=\"false\" ><option value='Refrigerating equipment' selected='selected'>Refrigerating equipment<\/option><option value='Air Conditioning' >Air Conditioning<\/option><\/select><\/div><\/div><div id=\"field_27_8\" class=\"gfield gfield--type-number gfield--width-full gfield_contains_required field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_27_8'>Estimated kg<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_container ginput_container_number'><input name='input_8' id='input_27_8' type='text' step='any'   value='' class='large'     aria-required=\"true\" aria-invalid=\"false\"  \/><\/div><\/div><div id=\"field_27_9\" class=\"gfield gfield--type-number gfield--width-half gfield_contains_required field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_27_9'># of items \/ containers<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_container ginput_container_number'><input name='input_9' id='input_27_9' type='text' step='any'   value='' class='large'     aria-required=\"true\" aria-invalid=\"false\"  \/><\/div><\/div><div id=\"field_27_7\" class=\"gfield gfield--type-select gfield--width-half gfield_contains_required field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_27_7'>Type of Conditioning \/ Unit of Measure<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_container ginput_container_select'><select name='input_7' id='input_27_7' class='large gfield_select'    aria-required=\"true\" aria-invalid=\"false\" ><option value='Unit(s)' selected='selected'>Unit(s)<\/option><option value='Pallet' >Pallet<\/option><\/select><\/div><\/div><fieldset id=\"field_27_18\" class=\"gfield gfield--type-radio gfield--type-choice gfield--width-three-quarter gfield_contains_required field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  ><legend class='gfield_label gform-field-label' >Do you need replacement conditioning or container for future pickup and materials?<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/legend><div class='ginput_container ginput_container_radio'><div class='gfield_radio' id='input_27_18'>\n\t\t\t<div class='gchoice gchoice_27_18_0'>\n\t\t\t\t\t<input class='gfield-choice-input' name='input_18' type='radio' value='No'  id='choice_27_18_0' onchange='gformToggleRadioOther( this )'    \/>\n\t\t\t\t\t<label for='choice_27_18_0' id='label_27_18_0' class='gform-field-label gform-field-label--type-inline'>No<\/label>\n\t\t\t<\/div>\n\t\t\t<div class='gchoice gchoice_27_18_1'>\n\t\t\t\t\t<input class='gfield-choice-input' name='input_18' type='radio' value='Yes'  id='choice_27_18_1' onchange='gformToggleRadioOther( this )'    \/>\n\t\t\t\t\t<label for='choice_27_18_1' id='label_27_18_1' class='gform-field-label gform-field-label--type-inline'>Yes<\/label>\n\t\t\t<\/div><\/div><\/div><\/fieldset><div id=\"field_27_27\" class=\"gfield gfield--type-html gfield--width-quarter gfield_html gfield_html_formatted gfield_no_follows_desc field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  ><div id=\"containerContainer\" style=\"width: 100%; max-width: 250px; border: solid 2px red; border-radius: 26px;\"><img decoding=\"async\" id=\"image-element\" src=\"\/wp-content\/uploads\/2023\/08\/container-traga-pilhas@2x.png\" style=\"width: 100%;\"><\/div><\/div><div id=\"field_27_12\" class=\"gfield gfield--type-textarea gfield--width-full borderRadiusRoundedERP field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_27_12'>Insert any relevant information and comments to this material<\/label><div class='ginput_container ginput_container_textarea'><textarea name='input_12' id='input_27_12' class='textarea small'      aria-invalid=\"false\"   rows='10' cols='50'><\/textarea><\/div><\/div><\/div><\/div>\n        <div class='gform-footer gform_footer top_label'> <input type='submit' id='gform_submit_button_27' class='gform_button button' onclick='gform.submission.handleButtonClick(this);' data-submission-type='submit' value='Submit'  \/> \n            <input type='hidden' class='gform_hidden' name='gform_submission_method' data-js='gform_submission_method_27' value='postback' \/>\n            <input type='hidden' class='gform_hidden' name='gform_theme' data-js='gform_theme_27' id='gform_theme_27' value='orbital' \/>\n            <input type='hidden' class='gform_hidden' name='gform_style_settings' data-js='gform_style_settings_27' id='gform_style_settings_27' value='{&quot;theme&quot;:&quot;orbital&quot;,&quot;inputBorderRadius&quot;:&quot;30&quot;,&quot;inputPrimaryColor&quot;:&quot;#204ce5&quot;}' \/>\n            <input type='hidden' class='gform_hidden' name='is_submit_27' value='1' \/>\n            <input type='hidden' class='gform_hidden' name='gform_submit' value='27' \/>\n            \n            <input type='hidden' class='gform_hidden' name='gform_unique_id' value='' \/>\n            <input type='hidden' class='gform_hidden' name='state_27' value='WyJ7XCIxOFwiOltcIjc5OWE5NTczZWEwMzM5Y2U1NDFlNjJkZWRmMzA3ZTI1XCIsXCI5YjNlYjRlMzZjNmM5MGUxZTAxMDRmMTI4OTM4YjAyOVwiXX0iLCJkNmI1MjUzMDE1MThhZmQyYmMyMzdhMjQzM2U1ODA5ZSJd' \/>\n            <input type='hidden' autocomplete='off' class='gform_hidden' name='gform_target_page_number_27' id='gform_target_page_number_27' value='0' \/>\n            <input type='hidden' autocomplete='off' class='gform_hidden' name='gform_source_page_number_27' id='gform_source_page_number_27' value='1' \/>\n            <input type='hidden' name='gform_field_values' value='' \/>\n            \n        <\/div>\n                        <input type=\"hidden\" name=\"trp-form-language\" value=\"nb\"\/><\/form>\n                        <\/div><script>\ngform.initializeOnLoaded( function() {gformInitSpinner( 27, 'https:\/\/test.instant.circul8.eu\/wp-content\/plugins\/gravityforms\/images\/spinner.svg', false );jQuery('#gform_ajax_frame_27').on('load',function(){var contents = jQuery(this).contents().find('*').html();var is_postback = contents.indexOf('GF_AJAX_POSTBACK') >= 0;if(!is_postback){return;}var form_content = jQuery(this).contents().find('#gform_wrapper_27');var is_confirmation = jQuery(this).contents().find('#gform_confirmation_wrapper_27').length > 0;var is_redirect = contents.indexOf('gformRedirect(){') >= 0;var is_form = form_content.length > 0 && ! is_redirect && ! is_confirmation;var mt = parseInt(jQuery('html').css('margin-top'), 10) + parseInt(jQuery('body').css('margin-top'), 10) + 100;if(is_form){form_content.find('form').css('opacity', 0);jQuery('#gform_wrapper_27').html(form_content.html());if(form_content.hasClass('gform_validation_error')){jQuery('#gform_wrapper_27').addClass('gform_validation_error');} else {jQuery('#gform_wrapper_27').removeClass('gform_validation_error');}setTimeout( function() { \/* delay the scroll by 50 milliseconds to fix a bug in chrome *\/  }, 50 );if(window['gformInitDatepicker']) {gformInitDatepicker();}if(window['gformInitPriceFields']) {gformInitPriceFields();}var current_page = jQuery('#gform_source_page_number_27').val();gformInitSpinner( 27, 'https:\/\/test.instant.circul8.eu\/wp-content\/plugins\/gravityforms\/images\/spinner.svg', false );jQuery(document).trigger('gform_page_loaded', [27, current_page]);window['gf_submitting_27'] = false;}else if(!is_redirect){var confirmation_content = jQuery(this).contents().find('.GF_AJAX_POSTBACK').html();if(!confirmation_content){confirmation_content = contents;}jQuery('#gform_wrapper_27').replaceWith(confirmation_content);jQuery(document).trigger('gform_confirmation_loaded', [27]);window['gf_submitting_27'] = false;wp.a11y.speak(jQuery('#gform_confirmation_message_27').text());}else{jQuery('#gform_27').append(contents);if(window['gformRedirect']) {gformRedirect();}}jQuery(document).trigger(\"gform_pre_post_render\", [{ formId: \"27\", currentPage: \"current_page\", abort: function() { this.preventDefault(); } }]);        if (event && event.defaultPrevented) {                return;        }        const gformWrapperDiv = document.getElementById( \"gform_wrapper_27\" );        if ( gformWrapperDiv ) {            const visibilitySpan = document.createElement( \"span\" );            visibilitySpan.id = \"gform_visibility_test_27\";            gformWrapperDiv.insertAdjacentElement( \"afterend\", visibilitySpan );        }        const visibilityTestDiv = document.getElementById( \"gform_visibility_test_27\" );        let postRenderFired = false;        function triggerPostRender() {            if ( postRenderFired ) {                return;            }            postRenderFired = true;            gform.core.triggerPostRenderEvents( 27, current_page );            if ( visibilityTestDiv ) {                visibilityTestDiv.parentNode.removeChild( visibilityTestDiv );            }        }        function debounce( func, wait, immediate ) {            var timeout;            return function() {                var context = this, args = arguments;                var later = function() {                    timeout = null;                    if ( !immediate ) func.apply( context, args );                };                var callNow = immediate && !timeout;                clearTimeout( timeout );                timeout = setTimeout( later, wait );                if ( callNow ) func.apply( context, args );            };        }        const debouncedTriggerPostRender = debounce( function() {            triggerPostRender();        }, 200 );        if ( visibilityTestDiv && visibilityTestDiv.offsetParent === null ) {            const observer = new MutationObserver( ( mutations ) => {                mutations.forEach( ( mutation ) => {                    if ( mutation.type === 'attributes' && visibilityTestDiv.offsetParent !== null ) {                        debouncedTriggerPostRender();                        observer.disconnect();                    }                });            });            observer.observe( document.body, {                attributes: true,                childList: false,                subtree: true,                attributeFilter: [ 'style', 'class' ],            });        } else {            triggerPostRender();        }    } );} );\n<\/script>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-970","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/test.instant.circul8.eu\/nb\/wp-json\/wp\/v2\/pages\/970","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.instant.circul8.eu\/nb\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/test.instant.circul8.eu\/nb\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/test.instant.circul8.eu\/nb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/test.instant.circul8.eu\/nb\/wp-json\/wp\/v2\/comments?post=970"}],"version-history":[{"count":3,"href":"https:\/\/test.instant.circul8.eu\/nb\/wp-json\/wp\/v2\/pages\/970\/revisions"}],"predecessor-version":[{"id":1117,"href":"https:\/\/test.instant.circul8.eu\/nb\/wp-json\/wp\/v2\/pages\/970\/revisions\/1117"}],"wp:attachment":[{"href":"https:\/\/test.instant.circul8.eu\/nb\/wp-json\/wp\/v2\/media?parent=970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}