<commit_before><template>
    <div class='slds-card slds-card_extension'
         if:false={isAccessible}>
        <div class='slds-p-top_x-large'>
            <c-util-illustration title={CUSTOM_LABELS.geErrorPageLevelAdvancedMappingHeader}
                                 message={CUSTOM_LABELS.geErrorPageLevelAdvancedMappingBody}
                                 size='large'
                                 variant='lake-mountain'>
            </c-util-illustration>
        </div>
    </div>

    <template if:true={isAccessible}>
        <lightning-layout multiple-rows='true'
                          class='ge-form-container slds-p-bottom_medium'>
            <template if:true={isSingleGiftEntry}>
                <lightning-layout-item size='12'>
                    <c-util-page-header pretext={CUSTOM_LABELS.geHeaderSingleGiftEntry}
                                        title={title}
                                        icon-name='standard:contract'
                                        icon-size='medium'>
                    </c-util-page-header>
                </lightning-layout-item>
            </template>

            <template if:true={hasPendingDonations}>
                <lightning-layout-item size='12'>
                    <c-ge-review-donations ontogglemodal={toggleModal}
                                           onchangeselecteddonation={handleChangeSelectedDonation}
                                           opportunities={opportunities}
                                           donor-id={selectedDonorId}>
                    </c-ge-review-donations>
                </lightning-layout-item>
            </template>

            <lightning-layout-item size='12'
                                   class='slds-card slds-p-around_small'>
                <template if:true={hasPageLevelError}>
                    <c-util-page-level-message variant='error'>
                        <ul slot='body'
                            class='slds-list_dotted slds-text-color_error'>
                            <template for:each={pageLevelErrorMessageList}
                                      for:item='errorMessageWrapper'>
                                <li key={errorMessageWrapper.index}>
                                    {errorMessageWrapper.errorMessage}
                                </li>
                            </template>
                        </ul>
                    </c-util-page-level-message>
                </template>
                <template if:true={isPermissionError}>
                    <div class="illustrationContainer">
                        <c-util-illustration title={permissionErrorTitle}
                                            message={permissionErrorMessage}
                                            size='large'
                                            variant='lake-mountain'>
                        </c-util-illustration>
                    </div>
                </template>
                <template if:false={isPermissionError}
                          for:each={sections}
                          for:item='section'>
                    <c-ge-form-section key={section.id}
                                       section={section}
                                       onchangelookup={handleChangeLookup}
                                       onchangepicklist={handleChangePicklist}
                                       widget-data={widgetData}>
                    </c-ge-form-section>
                </template>

                <article class='slds-align_absolute-center slds-p-vertical_small'>
                    <lightning-button label={cancelButtonText}
                                      title={cancelButtonText}
                                      onclick={handleCancel}
                                      class='slds-m-left_x-small'>
                    </lightning-button>
                    <lightning-button variant='brand'
                                      label={saveButtonText}
                                      title={saveButtonText}
                                      onclick={handleSave}
                                      class='slds-m-left_x-small'
                                      disabled={isUpdateActionDisabled}>
                    </lightning-button>
                </article>
            </lightning-layout-item><commit_msg>hide buttons is permission error<commit_after><template>
    <div class='slds-card slds-card_extension'
         if:false={isAccessible}>
        <div class='slds-p-top_x-large'>
            <c-util-illustration title={CUSTOM_LABELS.geErrorPageLevelAdvancedMappingHeader}
                                 message={CUSTOM_LABELS.geErrorPageLevelAdvancedMappingBody}
                                 size='large'
                                 variant='lake-mountain'>
            </c-util-illustration>
        </div>
    </div>

    <template if:true={isAccessible}>
        <lightning-layout multiple-rows='true'
                          class='ge-form-container slds-p-bottom_medium'>
            <template if:true={isSingleGiftEntry}>
                <lightning-layout-item size='12'>
                    <c-util-page-header pretext={CUSTOM_LABELS.geHeaderSingleGiftEntry}
                                        title={title}
                                        icon-name='standard:contract'
                                        icon-size='medium'>
                    </c-util-page-header>
                </lightning-layout-item>
            </template>

            <template if:true={hasPendingDonations}>
                <lightning-layout-item size='12'>
                    <c-ge-review-donations ontogglemodal={toggleModal}
                                           onchangeselecteddonation={handleChangeSelectedDonation}
                                           opportunities={opportunities}
                                           donor-id={selectedDonorId}>
                    </c-ge-review-donations>
                </lightning-layout-item>
            </template>

            <lightning-layout-item size='12'
                                   class='slds-card slds-p-around_small'>
                <template if:true={hasPageLevelError}>
                    <c-util-page-level-message variant='error'>
                        <ul slot='body'
                            class='slds-list_dotted slds-text-color_error'>
                            <template for:each={pageLevelErrorMessageList}
                                      for:item='errorMessageWrapper'>
                                <li key={errorMessageWrapper.index}>
                                    {errorMessageWrapper.errorMessage}
                                </li>
                            </template>
                        </ul>
                    </c-util-page-level-message>
                </template>
                <template if:true={isPermissionError}>
                    <div class="illustrationContainer">
                        <c-util-illustration title={permissionErrorTitle}
                                            message={permissionErrorMessage}
                                            size='large'
                                            variant='lake-mountain'>
                        </c-util-illustration>
                    </div>
                </template>
                <template if:false={isPermissionError}
                          for:each={sections}
                          for:item='section'>
                    <c-ge-form-section key={section.id}
                                       section={section}
                                       onchangelookup={handleChangeLookup}
                                       onchangepicklist={handleChangePicklist}
                                       widget-data={widgetData}>
                    </c-ge-form-section>
                </template>

                <article if:false={isPermissionError} class='slds-align_absolute-center slds-p-vertical_small'>
                    <lightning-button label={cancelButtonText}
                                      title={cancelButtonText}
                                      onclick={handleCancel}
                                      class='slds-m-left_x-small'>
                    </lightning-button>
                    <lightning-button variant='brand'
                                      label={saveButtonText}
                                      title={saveButtonText}
                                      onclick={handleSave}
                                      class='slds-m-left_x-small'
                                      disabled={isUpdateActionDisabled}>
                    </lightning-button>
                </article>
            </lightning-layout-item>
{'fraction_non_alphanumeric': 0.08979868807961999, 'fraction_numerical': 0.0013571590137977834, 'mean_word_length': 0.9979665612291008, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 101, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 68, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1073014', 'n_tokens_mistral': 1974, 'n_tokens_neox': 1851, 'n_words': 226}